[njs] String.prototype.indexOf() method fixes.

2016-10-27 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/74785cebd8df branches: changeset: 222:74785cebd8df user: Igor Sysoev <i...@sysoev.ru> date: Thu Oct 27 10:47:48 2016 +0300 description: String.prototype.indexOf() method fixes. diffstat: njs/njs_string.c

[njs] Incomplete non-recursive parser has been removed.

2016-10-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/12a38e4e030b branches: changeset: 219:12a38e4e030b user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 24 18:27:31 2016 +0300 description: Incomplete non-recursive parser has been removed. diffstat: Makefile |16

[njs] A build with -Werror=return-type has been fixed.

2016-10-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/eef409d1d4be branches: changeset: 217:eef409d1d4be user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 24 17:23:00 2016 +0300 description: A build with -Werror=return-type has been fixed. Patch by Piotr Sikora. diffstat: nxt/auto/clang |

[njs] Style unification of configure feature tests.

2016-10-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/0fe25989e0a6 branches: changeset: 218:0fe25989e0a6 user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 24 17:29:27 2016 +0300 description: Style unification of configure feature tests. diffstat: nxt/auto/clang | 10 +- nx

[njs] A build with -Werror=old-style-definition has been fixed.

2016-10-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f87eefdd2c3d branches: changeset: 216:f87eefdd2c3d user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 24 17:16:10 2016 +0300 description: A build with -Werror=old-style-definition has been fixed. Patch by Piotr Sikora. diffstat: nxt/auto

[njs] Version 0.1.4.

2016-10-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/508689c1fb94 branches: changeset: 214:508689c1fb94 user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 24 15:04:50 2016 +0300 description: Version 0.1.4. diffstat: Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (10

[njs] A fix in decodeURI() and decodeURIComponent() functions.

2016-10-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/cec366d97854 branches: changeset: 211:cec366d97854 user: Igor Sysoev <i...@sysoev.ru> date: Sat Oct 22 20:24:32 2016 +0300 description: A fix in decodeURI() and decodeURIComponent() functions. Found with afl-fuzz. diffstat: njs/njs_st

[njs] njs_array_realloc() has been changed to njs_array_expand().

2016-10-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/50555ae1d978 branches: changeset: 213:50555ae1d978 user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 24 14:56:28 2016 +0300 description: njs_array_realloc() has been changed to njs_array_expand(). diffstat: njs/njs_array.c

[njs] Array creation and reallocation optimizations.

2016-10-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/bf848210269c branches: changeset: 212:bf848210269c user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 24 14:12:12 2016 +0300 description: Array creation and reallocation optimizations. diffstat: njs/njs_array.c

[njs] A fix in Array.prototype.splice() function.

2016-10-21 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/7685bf403554 branches: changeset: 210:7685bf403554 user: Igor Sysoev <i...@sysoev.ru> date: Fri Oct 21 23:03:02 2016 +0300 description: A fix in Array.prototype.splice() function. Found with afl-fuzz. diffstat: njs/njs_array.c

[njs] Array.indexOf() and Array.lastIndexOf() have been fixed.

2016-10-18 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/fa9ced8246e5 branches: changeset: 208:fa9ced8246e5 user: Igor Sysoev <i...@sysoev.ru> date: Tue Oct 18 17:44:01 2016 +0300 description: Array.indexOf() and Array.lastIndexOf() have been fixed. diffstat: njs/njs_array.c | 2 +

[njs] Fixes in generating "continue" and "break" statements.

2016-10-18 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/462f7d2113f9 branches: changeset: 205:462f7d2113f9 user: Igor Sysoev <i...@sysoev.ru> date: Tue Oct 18 15:48:13 2016 +0300 description: Fixes in generating "continue" and "break" statements. diffstat: njs/njs_generator

[njs] A fix of function name usage.

2016-10-18 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/b2a23cf748f8 branches: changeset: 206:b2a23cf748f8 user: Igor Sysoev <i...@sysoev.ru> date: Tue Oct 18 15:48:19 2016 +0300 description: A fix of function name usage. diffstat: njs/njs_generator.c | 9 ++--- njs/njs_parser.c| 1

[njs] Style fixes.

2016-10-17 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6fc0e6b7f797 branches: changeset: 203:6fc0e6b7f797 user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 17 17:03:22 2016 +0300 description: Style fixes. diffstat: njs/njs_array.c | 2 ++ njs/njs_string.c

[njs] Fixes in various String methods which return part of string.

2016-10-17 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/938d49b0f420 branches: changeset: 202:938d49b0f420 user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 17 16:42:31 2016 +0300 description: Fixes in various String methods which return part of string. diffstat: njs/njs_array.c

[njs] A fix of var declaration.

2016-10-17 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5d08fa7106b8 branches: changeset: 200:5d08fa7106b8 user: Igor Sysoev <i...@sysoev.ru> date: Fri Oct 14 18:12:36 2016 +0300 description: A fix of var declaration. diffstat: njs/njs_parser.c | 1 + njs/test/njs_unit_test.c | 6 +++

Re: [PATCH] Remove duplicate implementation of njs_parser_token()

2016-10-17 Thread Igor Sysoev
On 17 Oct 2016, at 11:25, 洪志道 <hongzhi...@gmail.com> wrote: > Hello! > > It seems the file njs/njs_nonrecursive_parser.c is unused. Yes, I’m going to remove it. -- Igor Sysoev http://nginx.com ___ nginx-devel mailing list nginx-

[njs] A fix in Array.slice() function.

2016-10-12 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/8046b999aaaf branches: changeset: 198:8046b999aaaf user: Igor Sysoev <i...@sysoev.ru> date: Wed Oct 12 19:08:57 2016 +0300 description: A fix in Array.slice() function. diffstat: njs/njs_array.c

[njs] Accessing the global this object caused segfault.

2016-10-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/a3588250473b branches: changeset: 196:a3588250473b user: Igor Sysoev <i...@sysoev.ru> date: Tue Oct 11 17:44:05 2016 +0300 description: Accessing the global this object caused segfault. diffstat: njs/njs_builtin.c

[njs] Segfaults in Date have been fixed.

2016-10-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/40a753cefac1 branches: changeset: 193:40a753cefac1 user: Igor Sysoev <i...@sysoev.ru> date: Tue Oct 11 13:01:41 2016 +0300 description: Segfaults in Date have been fixed. diffstat: njs/njs_date.c | 2 ++ njs/test/njs_unit_test.

[njs] Added tag 0.1.3 for changeset 360449773d51

2016-10-10 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/aa8137bb7838 branches: changeset: 192:aa8137bb7838 user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 10 17:22:26 2016 +0300 description: Added tag 0.1.3 for changeset 360449773d51 diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Version 0.1.3.

2016-10-10 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/360449773d51 branches: changeset: 191:360449773d51 user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 10 17:21:53 2016 +0300 description: Version 0.1.3. diffstat: Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (10

[njs] Now njs_vm_compile() returns all global functions via the ...

2016-10-10 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/03d12ab0961e branches: changeset: 190:03d12ab0961e user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 10 16:33:56 2016 +0300 description: Now njs_vm_compile() returns all global functions via the export array. diffstat: nginx/ngx_http_js_mo

[njs] Now setting property of primitive type returns TypeError e...

2016-10-10 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/769173883f87 branches: changeset: 189:769173883f87 user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 10 13:08:40 2016 +0300 description: Now setting property of primitive type returns TypeError exception. diffstat: njs/njs_vm.c

[njs] A dead code found by Coverity Scan has been removed.

2016-10-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/1261cc58591e branches: changeset: 188:1261cc58591e user: Igor Sysoev <i...@sysoev.ru> date: Tue Oct 04 11:28:29 2016 +0300 description: A dead code found by Coverity Scan has been removed. diffstat: njs/njs_parser_expression.c | 5 --

[njs] A "var" statement termination has been fixed.

2016-10-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/b3e83fa52345 branches: changeset: 186:b3e83fa52345 user: Igor Sysoev <i...@sysoev.ru> date: Fri Sep 30 14:11:27 2016 +0300 description: A "var" statement termination has been fixed. diffstat: njs/njs_parser.c

[njs] The cause of linker hanging on Linux/PPC64 has been

2016-09-26 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/eed097d72d5e branches: changeset: 182:eed097d72d5e user: Igor Sysoev <i...@sysoev.ru> date: Mon Sep 26 14:01:39 2016 +0300 description: The cause of linker hanging on Linux/PPC64 has been finally tracked down and thus only the aligment att

[njs] All C feature attributes have been disabled for Linux/PPC64.

2016-09-25 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6a983847db14 branches: changeset: 180:6a983847db14 user: Igor Sysoev <i...@sysoev.ru> date: Sat Sep 24 22:13:31 2016 +0300 description: All C feature attributes have been disabled for Linux/PPC64. diffstat: nxt/auto/clang

[njs] A fix of possible sign extension overflow,

2016-09-25 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5ef1091ecfaf branches: changeset: 181:5ef1091ecfaf user: Igor Sysoev <i...@sysoev.ru> date: Sun Sep 25 10:54:51 2016 +0300 description: A fix of possible sign extension overflow, the issue has been found by Coverity Scan. diffstat:

[njs] The visibility attribute disabling in the commit af6c17324584

2016-09-23 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6c65289c3696 branches: changeset: 179:6c65289c3696 user: Igor Sysoev <i...@sysoev.ru> date: Fri Sep 23 11:59:58 2016 +0300 description: The visibility attribute disabling in the commit af6c17324584 had not resovled the issue. So now it is e

[njs] String.replace() function.

2016-09-23 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/04aee54864c3 branches: changeset: 177:04aee54864c3 user: Igor Sysoev <i...@sysoev.ru> date: Fri Sep 23 11:59:48 2016 +0300 description: String.replace() function. diffstat: njs/njs_function.h | 11 +- njs/njs_regexp.c

[njs] Added tag 0.1.2 for changeset 5b066b4db54c

2016-09-13 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/efd2f95aaeb4 branches: changeset: 172:efd2f95aaeb4 user: Igor Sysoev <i...@sysoev.ru> date: Tue Sep 13 16:59:27 2016 +0300 description: Added tag 0.1.2 for changeset 5b066b4db54c diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Constructor function prototypes now have correct types and...

2016-09-13 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/cb414901 branches: changeset: 169:cb414901 user: Igor Sysoev <i...@sysoev.ru> date: Tue Sep 13 16:19:26 2016 +0300 description: Constructor function prototypes now have correct types and values. diffstat: njs/njs_array.c

[njs] Now Date.parse() and Date() accept shortcut date strings.

2016-09-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/19758fdcd554 branches: changeset: 168:19758fdcd554 user: Igor Sysoev <i...@sysoev.ru> date: Thu Sep 01 16:12:31 2016 +0300 description: Now Date.parse() and Date() accept shortcut date strings. diffstat: njs/njs_date.c

[njs] A fix in decodeURI() and decodeURIComponent() functions.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/715b147cbfe0 branches: changeset: 166:715b147cbfe0 user: Igor Sysoev <i...@sysoev.ru> date: Wed Aug 31 19:28:08 2016 +0300 description: A fix in decodeURI() and decodeURIComponent() functions. diffstat: njs/njs_string.c | 6 +++--- 1

[njs] A fix in decodeURI() function.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/584114a51b51 branches: changeset: 165:584114a51b51 user: Igor Sysoev <i...@sysoev.ru> date: Wed Aug 31 19:18:47 2016 +0300 description: A fix in decodeURI() function. diffstat: njs/njs_string.c | 6 -- 1 files changed, 4 insertions

[njs] A fix in decodeURI() and decodeURIComponent() functions.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/76f16f0ef6c5 branches: changeset: 164:76f16f0ef6c5 user: Igor Sysoev <i...@sysoev.ru> date: Wed Aug 31 17:51:54 2016 +0300 description: A fix in decodeURI() and decodeURIComponent() functions. diffstat: njs/njs_string.c | 1 + 1 files c

[njs] An invalid value of Date object has been fixed.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/c0aa3ecd2e83 branches: changeset: 163:c0aa3ecd2e83 user: Igor Sysoev <i...@sysoev.ru> date: Wed Aug 31 15:53:13 2016 +0300 description: An invalid value of Date object has been fixed. diffstat: njs/njs_date.c | 10 ++---

[njs] C language features have been enabled.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/47f4830c3d22 branches: changeset: 162:47f4830c3d22 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 30 12:11:24 2016 +0300 description: C language features have been enabled. diffstat: nxt/auto/clang

[njs] decodeURI() and decodeURIComponent() functions.

2016-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/323f00dc9879 branches: changeset: 161:323f00dc9879 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 30 12:05:46 2016 +0300 description: decodeURI() and decodeURIComponent() functions. diffstat: njs/njs_builtin.c|4

[njs] Added tag 0.1.1 for changeset 0039a747d25a

2016-08-16 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/7cce82b6b40b branches: changeset: 159:7cce82b6b40b user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 16 19:13:41 2016 +0300 description: Added tag 0.1.1 for changeset 0039a747d25a diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] A return statement has been disabled outside of function.

2016-08-16 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/e6e192a55774 branches: changeset: 155:e6e192a55774 user: Igor Sysoev <i...@sysoev.ru> date: Mon Aug 15 11:33:37 2016 +0300 description: A return statement has been disabled outside of function. diffstat: njs/njs_parser.c

[njs] Style fixes.

2016-08-16 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/dcd8a105b5e7 branches: changeset: 156:dcd8a105b5e7 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 16 18:09:35 2016 +0300 description: Style fixes. diffstat: njs/njs_array.c | 84 +++---

[njs] String.match() fixes.

2016-08-16 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5d9e4adf25c2 branches: changeset: 157:5d9e4adf25c2 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 16 18:58:30 2016 +0300 description: String.match() fixes. diffstat: njs/njs_regexp.c | 69 +-- njs/njs_re

[njs] Array iterator functions optimizations.

2016-08-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/0c9a771b7664 branches: changeset: 154:0c9a771b7664 user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 11 13:57:36 2016 +0300 description: Array iterator functions optimizations. diffstat: njs/njs_array.c

[njs] Array.join() now treats "null" and "undefined" as empty va...

2016-08-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/87df6b787943 branches: changeset: 153:87df6b787943 user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 11 13:21:46 2016 +0300 description: Array.join() now treats "null" and "undefined" as empty values. diffstat: njs/

[njs] Array.splice() function.

2016-08-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/3dc4385c805c branches: changeset: 151:3dc4385c805c user: Igor Sysoev <i...@sysoev.ru> date: Wed Aug 10 18:03:54 2016 +0300 description: Array.splice() function. diffstat: njs/njs_array.c

[njs] Array.map() function.

2016-08-09 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/43b3a67ee1f1 branches: changeset: 146:43b3a67ee1f1 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 09 14:10:31 2016 +0300 description: Array.map() function. diffstat: njs/njs_array.c

[njs] Array.reduce() function.

2016-08-09 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5bd9c6bea8a6 branches: changeset: 147:5bd9c6bea8a6 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 09 14:10:32 2016 +0300 description: Array.reduce() function. diffstat: njs/njs_array.c

[njs] Array.filter() function.

2016-08-09 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6e212d387b88 branches: changeset: 145:6e212d387b88 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 09 14:10:29 2016 +0300 description: Array.filter() function. diffstat: njs/njs_array.c

[njs] Array.reduceRight() function.

2016-08-09 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f23c723cf833 branches: changeset: 148:f23c723cf833 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 09 14:10:33 2016 +0300 description: Array.reduceRight() function. diffstat: njs/njs_array.c

[njs] Array iterator functions update.

2016-08-09 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/2f40b153a7c1 branches: changeset: 144:2f40b153a7c1 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 09 14:10:21 2016 +0300 description: Array iterator functions update. diffstat: njs/njs_array.c

[njs] nxt_trace.o has been added to the libnjs.

2016-08-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/73b0fd4c2ea6 branches: changeset: 143:73b0fd4c2ea6 user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 04 16:59:15 2016 +0300 description: nxt_trace.o has been added to the libnjs. diffstat: Makefile | 3 ++- 1 files changed, 2 insertions

[njs] nxt_trace files have been missed in the previous commit.

2016-08-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/b33ba39a1108 branches: changeset: 141:b33ba39a1108 user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 04 16:27:38 2016 +0300 description: nxt_trace files have been missed in the previous commit. diffstat: nxt/nxt_trace.c

[njs] The lvlhsh unit test has been updated after nxt_str_t chan...

2016-08-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/19175c06b532 branches: changeset: 142:19175c06b532 user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 04 16:31:48 2016 +0300 description: The lvlhsh unit test has been updated after nxt_str_t changes. diffstat: nxt/test/lvlhsh_unit_test.c

[njs] njs_parser_is_lvalue().

2016-08-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f171ddad457e branches: changeset: 138:f171ddad457e user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 04 14:43:20 2016 +0300 description: njs_parser_is_lvalue(). diffstat: njs/njs_parser.h| 7 ++- njs/njs_parser_expres

[njs] nxt_str_t changes.

2016-08-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/016339472304 branches: changeset: 139:016339472304 user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 04 14:45:27 2016 +0300 description: nxt_str_t changes. diffstat: nginx/ngx_http_js_module.c

[njs] nxt_trace interface. nxt_regex, RegExp, and parser use it ...

2016-08-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/23598cfcfd15 branches: changeset: 140:23598cfcfd15 user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 04 16:05:38 2016 +0300 description: nxt_trace interface. nxt_regex, RegExp, and parser use it now. diffstat: Makefile

[njs] A dist target in Makefile.

2016-07-26 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/44e1a8aaa04e branches: changeset: 136:44e1a8aaa04e user: Igor Sysoev <i...@sysoev.ru> date: Tue Jul 26 15:09:07 2016 +0300 description: A dist target in Makefile. diffstat: Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 del

[njs] Segfaults have been fixed when incorrect operands were used

2016-07-26 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/e4f1fda52fe8 branches: changeset: 137:e4f1fda52fe8 user: Igor Sysoev <i...@sysoev.ru> date: Tue Jul 26 16:25:58 2016 +0300 description: Segfaults have been fixed when incorrect operands were used in left-hand side expressions. diffstat:

[njs] Removed tag help from .hgtags

2016-07-25 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/1792ce945acf branches: changeset: 135:1792ce945acf user: Igor Sysoev <i...@sysoev.ru> date: Mon Jul 25 15:34:53 2016 +0300 description: Removed tag help from .hgtags diffstat: .hgtags | 3 --- 1 files changed, 0 insertions(+), 3 del

[njs] Removed tag help

2016-07-25 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/be657808a12b branches: changeset: 134:be657808a12b user: Igor Sysoev <i...@sysoev.ru> date: Mon Jul 25 15:17:51 2016 +0300 description: Removed tag help diffstat: .hgtags | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diffs (8

[njs] Added tag 0.1.0 for changeset cdb8d20935ee

2016-07-22 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/37373519f505 branches: changeset: 133:37373519f505 user: Igor Sysoev <i...@sysoev.ru> date: Fri Jul 22 17:00:05 2016 +0300 description: Added tag 0.1.0 for changeset cdb8d20935ee diffstat: .hgtags | 2 ++ 1 files changed, 2 insertions

[njs] A fix of code generation of logical operations.

2016-07-22 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/41689f60372a branches: changeset: 129:41689f60372a user: Igor Sysoev <i...@sysoev.ru> date: Thu Jul 21 21:37:46 2016 +0300 description: A fix of code generation of logical operations. diffstat: njs/njs_generator.c | 5 - nj

[njs] A line number in error messages was incorrect if a script

2016-07-22 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/eae6c48ff5c1 branches: changeset: 130:eae6c48ff5c1 user: Igor Sysoev <i...@sysoev.ru> date: Thu Jul 21 21:42:58 2016 +0300 description: A line number in error messages was incorrect if a script has comments. diffstat: njs/njs_l

[njs] Now a make command does not fail for obscure reason at

2016-07-22 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f0c94dd2bdb3 branches: changeset: 131:f0c94dd2bdb3 user: Igor Sysoev <i...@sysoev.ru> date: Fri Jul 22 14:15:54 2016 +0300 description: Now a make command does not fail for obscure reason at the very start or after "make cle

[njs] Duplicate function names are disabled.

2016-07-22 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/cdb8d20935ee branches: changeset: 132:cdb8d20935ee user: Igor Sysoev <i...@sysoev.ru> date: Fri Jul 22 14:38:06 2016 +0300 description: Duplicate function names are disabled. diffstat: njs/njs_parser.c | 4 ++-- njs/njs_pa

[njs] njs_vm_function() must return only function.

2016-07-22 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f59ab0fccecb branches: changeset: 128:f59ab0fccecb user: Igor Sysoev <i...@sysoev.ru> date: Thu Jul 21 20:51:22 2016 +0300 description: njs_vm_function() must return only function. diffstat: njs/njs_variable.c | 6 +- 1 files chan

[njs] njs_vm_function() and njs_vm_external() functions name and

2016-07-15 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/a3e7ebdf9fa7 branches: changeset: 122:a3e7ebdf9fa7 user: Igor Sysoev <i...@sysoev.ru> date: Fri Jul 15 15:50:13 2016 +0300 description: njs_vm_function() and njs_vm_external() functions name and behavior unification. The function can b

[njs] njs_vm_function() interface to get a function by name.

2016-07-14 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/74246210aa9d branches: changeset: 121:74246210aa9d user: Igor Sysoev <i...@sysoev.ru> date: Thu Jul 14 19:24:51 2016 +0300 description: njs_vm_function() interface to get a function by name. diffstat: njs/njs_variable.c

[njs] Syntax error messages are more verbose and have line number.

2016-07-13 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/07d2be75a7db branches: changeset: 120:07d2be75a7db user: Igor Sysoev <i...@sysoev.ru> date: Wed Jul 13 13:56:12 2016 +0300 description: Syntax error messages are more verbose and have line number. diffstat: njs/njs_builtin.c

[njs] Fixed building by modern GCC versions.

2016-07-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5e7e498eb90d branches: changeset: 119:5e7e498eb90d user: Igor Sysoev <i...@sysoev.ru> date: Mon Jul 11 15:24:29 2016 +0300 description: Fixed building by modern GCC versions. diffstat: njs/njs_string.c | 6 +++--- 1 files changed, 3 inse

[njs] Needless argument checkers for String.toLowerCase()

2016-07-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/e4a0f80610b2 branches: changeset: 118:e4a0f80610b2 user: Igor Sysoev <i...@sysoev.ru> date: Fri Jul 08 18:13:00 2016 +0300 description: Needless argument checkers for String.toLowerCase() and String.toUpperCase() have been removed. di

[njs] Now ASCII strings use UTF8 variant of PCRE code.

2016-07-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6888c62477a0 branches: changeset: 117:6888c62477a0 user: Igor Sysoev <i...@sysoev.ru> date: Fri Jul 08 18:07:57 2016 +0300 description: Now ASCII strings use UTF8 variant of PCRE code. diffstat: njs/njs_regexp.c | 5 - njs/njs_st

[njs] Byte string processing was fixed in String.split(),

2016-07-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/73dc069a08c0 branches: changeset: 116:73dc069a08c0 user: Igor Sysoev <i...@sysoev.ru> date: Thu Jul 07 20:49:57 2016 +0300 description: Byte string processing was fixed in String.split(), the issue has been found by Coverity Scan. diffstat:

[njs] Array.reverse() method.

2016-07-05 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/ef2b708510b1 branches: changeset: 115:ef2b708510b1 user: Igor Sysoev <i...@sysoev.ru> date: Wed Jun 29 13:38:20 2016 +0300 description: Array.reverse() method. diffstat: njs/njs_array.c

[njs] String.split() method.

2016-07-05 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/41404eee5063 branches: changeset: 114:41404eee5063 user: Igor Sysoev <i...@sysoev.ru> date: Tue Jun 28 19:28:00 2016 +0300 description: String.split() method. diffstat: njs/njs_array.c | 62 + njs/njs_a

[njs] Using nxt_regex interface in nJSVM.

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/c72fd0d1fabc branches: changeset: 113:c72fd0d1fabc user: Igor Sysoev <i...@sysoev.ru> date: Wed Jun 01 15:31:34 2016 +0300 description: Using nxt_regex interface in nJSVM. diffstat: Makefile |2 + njs/njs_disassem

[njs] PCRE code is available via nxt_regex interface.

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/b8084a72d667 branches: changeset: 112:b8084a72d667 user: Igor Sysoev <i...@sysoev.ru> date: Wed Jun 01 15:30:50 2016 +0300 description: PCRE code is available via nxt_regex interface. diffstat: nxt/Makefile| 35 +-- nxt/nxt_

[njs] parseInt() function.

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/ffe9a5658450 branches: changeset: 109:ffe9a5658450 user: Igor Sysoev <i...@sysoev.ru> date: Mon Apr 25 17:28:34 2016 +0300 description: parseInt() function. diffstat: njs/njs_builtin.c| 3 + njs/njs_generator.c | 1

[njs] Fix in String.indexOf() and String.lastIndexOf() functions.

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/1c96b24bcdd2 branches: changeset: 111:1c96b24bcdd2 user: Igor Sysoev <i...@sysoev.ru> date: Fri Apr 29 17:02:52 2016 +0300 description: Fix in String.indexOf() and String.lastIndexOf() functions. diffstat: njs/njs_string.c

[njs] parseFloat() function.

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/169958fd3f70 branches: changeset: 110:169958fd3f70 user: Igor Sysoev <i...@sysoev.ru> date: Mon Apr 25 19:30:27 2016 +0300 description: parseFloat() function. diffstat: njs/njs_builtin.c| 2 ++ njs/njs_generator.c | 1

[njs] isNaN() function.

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/a61f70d8874a branches: changeset: 107:a61f70d8874a user: Igor Sysoev <i...@sysoev.ru> date: Thu Apr 21 18:23:12 2016 +0300 description: isNaN() function. diffstat: njs/njs_builtin.c| 2 ++ njs/njs_generator.c | 1

[njs] isFinite() function.

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/fd72dd7112c2 branches: changeset: 108:fd72dd7112c2 user: Igor Sysoev <i...@sysoev.ru> date: Thu Apr 21 18:23:16 2016 +0300 description: isFinite() function. diffstat: njs/njs_builtin.c| 2 ++ njs/njs_generator.c | 1

[njs] eval() placeholder has been moved from the constructor table

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/3f2480c38f8e branches: changeset: 104:3f2480c38f8e user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 19 16:08:32 2016 +0300 description: eval() placeholder has been moved from the constructor table to the shared function table. diffstat:

[njs] njs_string_new().

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f720a6378a2f branches: changeset: 103:f720a6378a2f user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 19 16:07:33 2016 +0300 description: njs_string_new(). diffstat: njs/njs_date.c | 30 +++--- njs/njs_number.c

[njs] String.toUpperCase().

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/e411e0cbd20d branches: changeset: 101:e411e0cbd20d user: Igor Sysoev <i...@sysoev.ru> date: Fri Apr 15 18:01:40 2016 +0300 description: String.toUpperCase(). diffstat: njs/njs_string.c |59 ++ njs/test/njs_unit_

[njs] String.toLowerCase().

2016-06-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/b7442865d9fa branches: changeset: 100:b7442865d9fa user: Igor Sysoev <i...@sysoev.ru> date: Fri Apr 15 18:01:19 2016 +0300 description: String.toLowerCase(). diffstat: njs/njs_string.c |59 ++ njs/test/njs_unit_

Re: [nginx] dso

2016-04-27 Thread Igor Sysoev
unload modules. -- Igor Sysoev http://nginx.com > 2016-04-28 0:08 GMT+08:00 Igor Sysoev <i...@sysoev.ru>: > On 27 Apr 2016, at 18:51, 洪志道 <hongzhi...@gmail.com> wrote: > >> Thanks for your reply. >> >> Is it the only way to solve the problem? &

Re: [nginx] dso

2016-04-27 Thread Igor Sysoev
kill -USR2 `cat nginx.pid`; sleep 2; kill -QUIT `cat nginx.pid.oldbin` -- Igor Sysoev http://nginx.com ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

[njs] "new Date()" incorrectly returned always Jan 1, 1970.

2016-04-15 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/1c50334fbea6 branches: changeset: 99:1c50334fbea6 user: Igor Sysoev <i...@sysoev.ru> date: Thu Apr 14 18:23:09 2016 +0300 description: "new Date()" incorrectly returned always Jan 1, 1970. diffstat: njs/njs_date.c |

[njs] String.fromCharCode() and String.fromCodePoint().

2016-04-15 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/51009da8e3d0 branches: changeset: 98:51009da8e3d0 user: Igor Sysoev <i...@sysoev.ru> date: Mon Apr 11 14:39:59 2016 +0300 description: String.fromCharCode() and String.fromCodePoint(). diffstat: njs/njs_string.c

[njs] Old array data are freed after array relocation.

2016-04-09 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/24544f647802 branches: changeset: 97:24544f647802 user: Igor Sysoev <i...@sysoev.ru> date: Sat Apr 09 12:21:31 2016 +0300 description: Old array data are freed after array relocation. diffstat: njs/njs_array.c | 7 +++ 1 files chan

[njs] Forgotten nxt/nxt_time.h file has been added.

2016-04-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/0e62188391a1 branches: changeset: 95:0e62188391a1 user: Igor Sysoev <i...@sysoev.ru> date: Fri Apr 08 18:59:06 2016 +0300 description: Forgotten nxt/nxt_time.h file has been added. diffstat: nxt/nxt_time.h | 24 +

[njs] Date() function.

2016-04-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/39557c1b3088 branches: changeset: 94:39557c1b3088 user: Igor Sysoev <i...@sysoev.ru> date: Fri Apr 08 18:19:43 2016 +0300 description: Date() function. diffstat: Makefile |16 + njs/njs_builtin.c| 9

[njs] A fast exit from argument normalization loop.

2016-03-29 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/91543c86f412 branches: changeset: 93:91543c86f412 user: Igor Sysoev <i...@sysoev.ru> date: Tue Mar 29 13:38:18 2016 +0300 description: A fast exit from argument normalization loop. This also fixes an issue when SunC 5.9 does not set omitted

[njs] Fixed building on Solaris by SunC.

2016-03-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f674bd8a8b76 branches: changeset: 92:f674bd8a8b76 user: Igor Sysoev <i...@sysoev.ru> date: Mon Mar 28 17:34:42 2016 +0300 description: Fixed building on Solaris by SunC. diffstat: njs/njs_math.c | 2 +- 1 files changed, 1 insertions

[njs] User defined function prototype.

2016-03-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6e70fe1e0a47 branches: changeset: 88:6e70fe1e0a47 user: Igor Sysoev <i...@sysoev.ru> date: Wed Mar 23 15:49:49 2016 +0300 description: User defined function prototype. diffstat: njs/njs_builtin.c| 18 ++-- njs/njs_func

[njs] Math object.

2016-03-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/e3bc4f6f3480 branches: changeset: 86:e3bc4f6f3480 user: Igor Sysoev <i...@sysoev.ru> date: Wed Mar 23 15:27:14 2016 +0300 description: Math object. diffstat: Makefile | 14 + njs/njs_array.c |1

[njs] Issues found by Coverity Scan in Regex have been fixed.

2016-03-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/027e0e8e7f61 branches: changeset: 90:027e0e8e7f61 user: Igor Sysoev <i...@sysoev.ru> date: Thu Mar 24 14:22:08 2016 +0300 description: Issues found by Coverity Scan in Regex have been fixed. diffstat: njs/njs_regexp.c

<    1   2   3   >