]> granicus.if.org Git - php/commitdiff
In english, no horizontal space before “!”.
authorIvan Enderlin <ivan.enderlin@hoa-project.net>
Wed, 18 Dec 2013 10:53:30 +0000 (11:53 +0100)
committerIvan Enderlin <ivan.enderlin@hoa-project.net>
Wed, 18 Dec 2013 10:53:30 +0000 (11:53 +0100)
13 files changed:
README.md
phpdbg_break.c
phpdbg_cmd.c
phpdbg_help.c
phpdbg_info.c
phpdbg_prompt.c
phpdbg_set.c
test.php
tests/run-tests.php
tutorials/intro.md
tutorials/java/src/phpdbg/ui/JConsole.form
tutorials/java/src/phpdbg/ui/JConsole.java
tutorials/simples.md

index 57178fc5c9b7ed93fe5df5ea1ad60e75568d05c6..fdc1fa1f3950e3abc2e3f8acc17dc27a3d56be15 100644 (file)
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Features
  - Userland API
  - SAPI Agnostic - Easily Integrated
  - PHP Configuration File Support
- - JIT Super Globals - Set Your Own !!
+ - JIT Super Globals - Set Your Own!!
  - Optional readline Support - Comfortable Terminal Operation
  - Remote Debugging Support - Bundled Java GUI
  - Easy Operation - See Help :)
index 358318ea1ba447219865864e91c7b4b0792142e7..1423b960e66e3afcf4ea6f2be74dde36e10cb284 100644 (file)
@@ -105,7 +105,7 @@ PHPDBG_BREAK(lineno) /* {{{ */
                        if (PHPDBG_G(exec)) {
                                phpdbg_set_breakpoint_file(phpdbg_current_file(TSRMLS_C), param->num TSRMLS_CC);
                        } else {
-                               phpdbg_error("Execution context not set !");
+                               phpdbg_error("Execution context not set!");
                        }
                } break;
 
index 15fb33ffd35011ef97618809eeca9a33673713d8..9f052d6f6f38529e2b04b3b675122f193e54efa6 100644 (file)
@@ -472,7 +472,7 @@ PHPDBG_API phpdbg_input_t *phpdbg_read_input(char *buffered TSRMLS_DC) /* {{{ */
                        if ((!(PHPDBG_G(flags) & PHPDBG_IS_REMOTE) && !phpdbg_write(phpdbg_get_prompt(TSRMLS_C))) ||
                                !fgets(buf, PHPDBG_MAX_CMD, PHPDBG_G(io)[PHPDBG_STDIN])) {
                                /* the user has gone away */
-                               phpdbg_error("Failed to read console !");
+                               phpdbg_error("Failed to read console!");
                                PHPDBG_G(flags) |= (PHPDBG_IS_QUITTING|PHPDBG_IS_DISCONNECTED);
                                zend_bailout();
                                return NULL;
@@ -489,7 +489,7 @@ PHPDBG_API phpdbg_input_t *phpdbg_read_input(char *buffered TSRMLS_DC) /* {{{ */
 
                        if (!cmd) {
                                /* the user has gone away */
-                               phpdbg_error("Failed to read console !");
+                               phpdbg_error("Failed to read console!");
                                PHPDBG_G(flags) |= (PHPDBG_IS_QUITTING|PHPDBG_IS_DISCONNECTED);
                                zend_bailout();
                                return NULL;
@@ -646,7 +646,7 @@ PHPDBG_API int phpdbg_do_cmd(const phpdbg_command_t *command, phpdbg_input_t *in
 
                                rc = command->handler(&param, input TSRMLS_CC);
 
-                               /* only set last command when it is worth it ! */
+                               /* only set last command when it is worth it! */
                                if ((rc != FAILURE) &&
                                        !(PHPDBG_G(flags) & PHPDBG_IS_INITIALIZING)) {
                                        PHPDBG_G(lcmd) = (phpdbg_command_t*) command;
@@ -661,7 +661,7 @@ PHPDBG_API int phpdbg_do_cmd(const phpdbg_command_t *command, phpdbg_input_t *in
        } else {
                /* this should NEVER happen */
                phpdbg_error(
-                       "No function executed !!");
+                       "No function executed!!");
        }
 
        return rc;
index fb2e9b71f35e93cd6f84632c65c932cdd2991abe..b61ad9942bcc9e592f9c0be1c364b602403e8d92 100644 (file)
@@ -201,7 +201,7 @@ PHPDBG_HELP(run) /* {{{ */
 PHPDBG_HELP(eval) /* {{{ */
 {
        phpdbg_help_header();
-       phpdbg_writeln("Access to eval() allows you to change the environment during execution, careful though !!");
+       phpdbg_writeln("Access to eval() allows you to change the environment during execution, careful though!!");
        phpdbg_writeln(EMPTY);
        phpdbg_notice("Examples");
        phpdbg_writeln("\t%seval $variable", phpdbg_get_prompt(TSRMLS_C));
@@ -293,7 +293,7 @@ PHPDBG_HELP(break) /* {{{ */
                        ++break_command;
                }
        }
-       phpdbg_writeln("Note: Conditional breaks are costly, use them sparingly !");
+       phpdbg_writeln("Note: Conditional breaks are costly, use them sparingly!");
        phpdbg_help_footer();
        return SUCCESS;
 } /* }}} */
@@ -415,7 +415,7 @@ PHPDBG_HELP(list) /* {{{ */
        phpdbg_writeln("\t%sl c myClass", phpdbg_get_prompt(TSRMLS_C));
        phpdbg_writeln("\tWill print the source of \"myClass\"");
        phpdbg_writeln(EMPTY);
-       phpdbg_writeln("Note: before listing functions you must have a populated function table, try compile !!");
+       phpdbg_writeln("Note: before listing functions you must have a populated function table, try compile!!");
        phpdbg_writeln(EMPTY);
        phpdbg_notice("The parameters enclosed by [] are usually optional, but help avoid ambigious commands");
        phpdbg_writeln(EMPTY);
@@ -561,7 +561,7 @@ PHPDBG_HELP(shell) /* {{{ */
        phpdbg_writeln("\t%s- ls /usr/src/php-src", phpdbg_get_prompt(TSRMLS_C));
        phpdbg_writeln("\tWill execute ls /usr/src/php-src, displaying the output in the console");
        phpdbg_writeln(EMPTY);
-       phpdbg_writeln("Note: read only commands please !");
+       phpdbg_writeln("Note: read only commands please!");
        phpdbg_help_footer();
        return SUCCESS;
 } /* }}} */
@@ -583,8 +583,8 @@ PHPDBG_HELP(options) /* {{{ */
        phpdbg_writeln(" -I\tN/A\t\t\tIgnore default .phpdbginit");
        phpdbg_writeln(" -O\t-Omy.oplog\t\tSets oplog output file");
        phpdbg_writeln(" -r\tN/A\t\t\tRun execution context");
-       phpdbg_writeln(" -E\tN/A\t\t\tEnable step through eval, careful !");
-       phpdbg_writeln(" -S\t-Scli\t\t\tOverride SAPI name, careful !");
+       phpdbg_writeln(" -E\tN/A\t\t\tEnable step through eval, careful!");
+       phpdbg_writeln(" -S\t-Scli\t\t\tOverride SAPI name, careful!");
 #ifndef _WIN32
        phpdbg_writeln(" -l\t-l4000\t\t\tSetup remote console ports");
        phpdbg_writeln(" -a\t-a192.168.0.3\t\tSetup remote console bind address");
index 25909deca507837f53577270044ca40852fdd425..1744f59215b4da042642b4ca993660247f32471e 100644 (file)
@@ -223,7 +223,7 @@ PHPDBG_INFO(literal) /* {{{ */
                        literal++;
                }
        } else {
-               phpdbg_error("Not executing !");
+               phpdbg_error("Not executing!");
        }
 
        return SUCCESS;
@@ -244,7 +244,7 @@ PHPDBG_INFO(memory) /* {{{ */
                phpdbg_writeln("|-------> Real:\t%.3f kB", 
                        (float) (zend_memory_peak_usage(1 TSRMLS_CC)/1024));
        } else {
-               phpdbg_error("Memory Manager Disabled !");
+               phpdbg_error("Memory Manager Disabled!");
        }
        return SUCCESS;
 } /* }}} */
index c42b8d1efb1bdd8fda6c9e9fa082ffcf0881037e..f2f482b7eceff5e1e7791fa9b1fd7c70b92f37aa 100644 (file)
@@ -508,7 +508,7 @@ static inline void phpdbg_handle_exception(TSRMLS_D) /* }}} */
        EG(exception) = NULL;
 
        phpdbg_error(
-               "Uncaught %s !",
+               "Uncaught %s!",
                Z_OBJCE(exception)->name);
 
        /* call __toString */
@@ -716,7 +716,7 @@ PHPDBG_COMMAND(print) /* {{{ */
 PHPDBG_COMMAND(info) /* {{{ */
 {
        phpdbg_error(
-               "No information command selected !");
+               "No information command selected!");
 
        return SUCCESS;
 } /* }}} */
@@ -724,7 +724,7 @@ PHPDBG_COMMAND(info) /* {{{ */
 PHPDBG_COMMAND(set) /* {{{ */
 {
        phpdbg_error(
-               "No information command selected !");
+               "No information command selected!");
 
        return SUCCESS;
 } /* }}} */
@@ -744,7 +744,7 @@ PHPDBG_COMMAND(break) /* {{{ */
                        if (PHPDBG_G(exec)) {
                                phpdbg_set_breakpoint_file(phpdbg_current_file(TSRMLS_C), param->num TSRMLS_CC);
                        } else {
-                               phpdbg_error("Execution context not set !");
+                               phpdbg_error("Execution context not set!");
                        }
                        break;
                case METHOD_PARAM:
index e6c332112e652f60f1957bf9fa120464a5086bf1..2472e1868c0a291a6792cd71fdf77ea13909ba0b 100644 (file)
@@ -178,7 +178,7 @@ PHPDBG_SET(oplog) /* {{{ */
                                        fclose(
                                                PHPDBG_G(oplog));
                                } else {
-                                       phpdbg_error("Oplog is not enabled !");
+                                       phpdbg_error("Oplog is not enabled!");
                                }
                        } break;
                } break;
index 744ed79865083c40bfe51578f7b4c738d0c509fd..faea3c2fab83a0c442cdb233c063d3b03c6ce9e1 100644 (file)
--- a/test.php
+++ b/test.php
@@ -30,7 +30,7 @@ function test($x, $y = 0) {
 $dbg = new phpdbg();
 
 var_dump(
-    $dbg->isGreat("PHP Rocks !!"));
+    $dbg->isGreat("PHP Rocks!!"));
 
 foreach (test(1,2) as $gen)
        continue;
index 99edba01b4c6c827a62ad721e099f823ed5c9035..1fb6fa12242fa150e5c9f4822d08c71eb3f856cf 100644 (file)
@@ -421,7 +421,7 @@ namespace phpdbg\testing {
                }
                
                /**
-               * Obvious !! 
+               * Obvious!! 
                * 
                */
                public function getResult() {
index 0442413499cba4d112a7caa99c7a91b28cdd180b..34ec1b20ba18f293aa7dbfb9425078656e9aae07 100644 (file)
@@ -80,7 +80,7 @@ class phpdbg {
 
 $dbg = new phpdbg();
 
-var_dump($dbg->isGreat("PHP Rocks !!"));
+var_dump($dbg->isGreat("PHP Rocks!!"));
 ?>
 ```
 
index 2db69b086d419d29ce024b77d52f06440f0be341..d2808942db32242598a114dd5a7c9271abeccf8b 100644 (file)
     </Component>
     <Component class="javax.swing.JTextField" name="input">
       <Properties>
-        <Property name="toolTipText" type="java.lang.String" value="Enter phpdbg commands here !"/>
+        <Property name="toolTipText" type="java.lang.String" value="Enter phpdbg commands here!"/>
         <Property name="enabled" type="boolean" value="false"/>
       </Properties>
       <Events>
index 383e225a85f90148005107336d8a5a1a2568c199..6c8cfb364b7be5df9a6f10874702f3088bd5293e 100644 (file)
@@ -121,7 +121,7 @@ public class JConsole extends javax.swing.JDialog {
 
         hostnameLabel.setText("Hostname:");
 
-        input.setToolTipText("Enter phpdbg commands here !");
+        input.setToolTipText("Enter phpdbg commands here!");
         input.setEnabled(false);
         input.addKeyListener(new java.awt.event.KeyAdapter() {
             public void keyReleased(java.awt.event.KeyEvent evt) {
@@ -344,7 +344,7 @@ public class JConsole extends javax.swing.JDialog {
         if (address != null && address.length() > 0) {
             return address;
         } else {
-            messageBox("Invalid hostname provided !", MessageType.WARN);
+            messageBox("Invalid hostname provided!", MessageType.WARN);
         }
         
         return null;
@@ -354,7 +354,7 @@ public class JConsole extends javax.swing.JDialog {
         try {
             return Integer.parseInt(stdinPort.getText()); 
         } catch (NumberFormatException ex) {
-            messageBox("Invalid stdin port provided !", MessageType.WARN);
+            messageBox("Invalid stdin port provided!", MessageType.WARN);
         }
         return 0;
     }
@@ -363,7 +363,7 @@ public class JConsole extends javax.swing.JDialog {
         try {
             return Integer.parseInt(stdoutPort.getText()); 
         } catch (NumberFormatException ex) {
-            messageBox("Invalid stdout port provided !", MessageType.WARN);
+            messageBox("Invalid stdout port provided!", MessageType.WARN);
         }
         return 0;
     }
index d8b53d6979daefff5d42a81dfdcbae7c23348dc7..18d0a01bb7cb734d13ab6c4c32e3efd689f1728d 100644 (file)
@@ -42,7 +42,7 @@ phpdbg> print class myClassName
 Introspection doesn't only provide you with names, but the addresses of every opcode in every statement, which you may use to specify with as much precision as 
 is possible where to break execution.
 
-**There is a print command for particular methods, useful if a class is very large and your screen is not !**
+**There is a print command for particular methods, useful if a class is very large and your screen is not!**
 
 At this point, break points are set; the next thing to do is issue the run command: