From: Dmitry Volyntsev Date: Thu, 31 May 2018 13:34:36 +0000 (+0300) Subject: Renaming remnants of "nJScript" and "njscript" to "njs". X-Git-Tag: 0.2.1~1 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=4f2978a459d6def247eb46641a675463b5d03a58;p=njs.git Renaming remnants of "nJScript" and "njscript" to "njs". --- diff --git a/CHANGES b/CHANGES index 107bdfcd..644e814b 100644 --- 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. diff --git a/njs/njs_shell.c b/njs/njs_shell.c index 2b64c6b1..40dede61 100644 --- a/njs/njs_shell.c +++ b/njs/njs_shell.c @@ -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. -> the properties and prototype methods of v.\n"); printf("type console.help() for more information\n\n"); diff --git a/njs/test/njs_expect_test.exp b/njs/test/njs_expect_test.exp index ce61f379..9f91f147 100644 --- a/njs/test/njs_expect_test.exp +++ b/njs/test/njs_expect_test.exp @@ -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. -> the properties and prototype methods of v.\r type console.help() for more information\r \r diff --git a/njs/test/njs_unit_test.c b/njs/test/njs_unit_test.c index 2f241bd5..41f82c17 100644 --- a/njs/test/njs_unit_test.c +++ b/njs/test/njs_unit_test.c @@ -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") },