]> git.kaiwu.me - njs.git/commitdiff
Renaming remnants of "nJScript" and "njscript" to "njs".
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 31 May 2018 13:34:36 +0000 (16:34 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 31 May 2018 13:34:36 +0000 (16:34 +0300)
CHANGES
njs/njs_shell.c
njs/test/njs_expect_test.exp
njs/test/njs_unit_test.c

diff --git a/CHANGES b/CHANGES
index 107bdfcd9ccad89cc833d8c1601dfaf100040815..644e814b701bf45c374a35cfa3f795a2c016b4d1 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,5 @@
 
-Changes with nJScript 0.2.0                                      3 Apr 2018
+Changes with njs 0.2.0                                           3 Apr 2018
 
     *) Feature: reporting njs version by CLI.
 
@@ -20,7 +20,7 @@ Changes with nJScript 0.2.0                                      3 Apr 2018
     *) Bugfix: miscellaneous bugs have been fixed in the core and
        interactive shell.
 
-Changes with nJScript 0.1.15                                     20 Nov 2017
+Changes with njs 0.1.15                                          20 Nov 2017
 
     *) Feature: Error, EvalError, InternalError, RangeError,
        ReferenceError, SyntaxError, TypeError, URIError objects.
@@ -35,7 +35,7 @@ Changes with nJScript 0.1.15                                     20 Nov 2017
 
     *) Bugfix: miscellaneous bugs have been fixed.
 
-Changes with nJScript 0.1.14                                     09 Oct 2017
+Changes with njs 0.1.14                                          09 Oct 2017
 
     *) Feature: JSON object.
 
@@ -46,7 +46,7 @@ Changes with nJScript 0.1.14                                     09 Oct 2017
     *) Bugfix: miscellaneous bugs have been fixed in the core and
        interactive shell.
 
-Changes with nJScript 0.1.13                                     31 Aug 2017
+Changes with njs 0.1.13                                          31 Aug 2017
 
     *) Feature: console.log() and console.help() methods in interactive
        shell.
@@ -59,13 +59,13 @@ Changes with nJScript 0.1.13                                     31 Aug 2017
 
     *) Bugfix: improved editline detection.
 
-Changes with nJScript 0.1.12                                     08 Aug 2017
+Changes with njs 0.1.12                                          08 Aug 2017
 
     *) Feature: Interactive shell.
 
     *) Bugfix: in Object.isSealed().
 
-Changes with nJScript 0.1.11                                     27 Jun 2017
+Changes with njs 0.1.11                                          27 Jun 2017
 
     *) Feature: Object.keys(), Object.prototype.hasOwnProperty() methods.
 
@@ -87,7 +87,7 @@ Changes with nJScript 0.1.11                                     27 Jun 2017
 
     *) Bugfix: in parseInt() and Date.parse().
 
-Changes with nJScript 0.1.10                                     04 Apr 2017
+Changes with njs 0.1.10                                          04 Apr 2017
 
     *) Feature: nested functions and function closures.
 
@@ -96,12 +96,12 @@ Changes with nJScript 0.1.10                                     04 Apr 2017
 
     *) Bugfix: miscellaneous bugs and segmentation faults have been fixed.
 
-Changes with nJScript 0.1.9                                      01 Feb 2017
+Changes with njs 0.1.9                                           01 Feb 2017
 
-    *) Bugfix: global variables were not initialized when nJScript was used
+    *) Bugfix: global variables were not initialized when njs was used
        in nginx.
 
-Changes with nJScript 0.1.8                                      24 Jan 2017
+Changes with njs 0.1.8                                           24 Jan 2017
 
     *) Change: the "strict" mode is enforced, variables must be explicitly
        declared.
@@ -115,7 +115,7 @@ Changes with nJScript 0.1.8                                      24 Jan 2017
 
     *) Bugfix: miscellaneous bugs and segmentation faults have been fixed.
 
-Changes with nJScript 0.1.7                                      27 Dec 2016
+Changes with njs 0.1.7                                           27 Dec 2016
 
     *) Change: the "js_include" directive has been disabled at server and
        location levels.
@@ -124,7 +124,7 @@ Changes with nJScript 0.1.7                                      27 Dec 2016
 
     *) Bugfix: miscellaneous bugs and segmentation faults have been fixed.
 
-Changes with nJScript 0.1.6                                      13 Dec 2016
+Changes with njs 0.1.6                                           13 Dec 2016
 
     *) Change: the "js_set" directive has been disabled at server and
        location levels.
index 2b64c6b1fe83c1ba61f834409a9b4996e7196d68..40dede617d628e83679bca661cb8ca1c6a71eb3d 100644 (file)
@@ -247,7 +247,7 @@ njs_interactive_shell(njs_opts_t *opts, njs_vm_opt_t *vm_options)
         return NXT_ERROR;
     }
 
-    printf("interactive njscript %s\n\n", NJS_VERSION);
+    printf("interactive njs %s\n\n", NJS_VERSION);
 
     printf("v.<Tab> -> the properties and prototype methods of v.\n");
     printf("type console.help() for more information\n\n");
index ce61f3799acdb9b27991ccd9fcff7694840e1350..9f91f147be1bc229ba04ff2e5d93f960c13f6a8e 100644 (file)
@@ -5,7 +5,7 @@
 
 proc njs_test {body} {
     spawn  -nottycopy njs
-    expect -re "interactive njscript \\d+\.\\d+\.\\d+\r\n\r"
+    expect -re "interactive njs \\d+\.\\d+\.\\d+\r\n\r"
     expect "v.<Tab> -> the properties and prototype methods of v.\r
 type console.help() for more information\r
 \r
index 2f241bd5702e4c6d73f1bc6603411c2be34287a7..41f82c172d0550a3a962e7a7123f20a1aaf11e0c 100644 (file)
@@ -287,8 +287,8 @@ static njs_unit_test_t  njs_test[] =
     { nxt_string("0xffff.toString(16)"),
       nxt_string("ffff") },
 
-    { nxt_string("1845449130881..toString(36)"),
-      nxt_string("njscript") },
+    { nxt_string("30520..toString(36)"),
+      nxt_string("njs") },
 
     { nxt_string("Infinity.toString()"),
       nxt_string("Infinity") },