[njs] Fixed editline detection.

2019-04-02 Thread Igor Sysoev
details: https://hg.nginx.org/njs/rev/61f2616e21c7 branches: changeset: 863:61f2616e21c7 user: Igor Sysoev date: Tue Apr 02 17:17:49 2019 +0300 description: Fixed editline detection. This simplifies building on modern macOS. diffstat: auto/editline | 37

Re: NGX error logging - Race condition possible?

2018-09-03 Thread Igor Sysoev
ard to your answer. It should be guaranteed by CreateFile options: FILE_APPEND_DATA | SYNCHRONIZE. -- Igor Sysoev http://nginx.com ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

[njs] Refactored trap infrastructure.

2018-07-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/69300ba58603 branches: changeset: 570:69300ba58603 user: Igor Sysoev date: Tue Jul 24 19:50:02 2018 +0300 description: Refactored trap infrastructure. This change allows to introduce virtually unlimited number of traps. diffstat: njs

[njs] Removed artifacts left after changeset 25bd2742a18b.

2018-07-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/8960cef1cd5f branches: changeset: 569:8960cef1cd5f user: Igor Sysoev date: Tue Jul 24 19:50:02 2018 +0300 description: Removed artifacts left after changeset 25bd2742a18b. diffstat: njs/njs_vm.c | 17 + 1 files changed, 5

[njs] Fixed addition operator applied to an object.

2018-07-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/766fcec15744 branches: changeset: 571:766fcec15744 user: Igor Sysoev date: Tue Jul 24 19:50:02 2018 +0300 description: Fixed addition operator applied to an object. This fixes #36 issue on Github. diffstat: njs/njs_vm.c | 190

[njs] Style fixes.

2018-07-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/c1f9fe4022bc branches: changeset: 553:c1f9fe4022bc user: Igor Sysoev date: Tue Jul 03 15:48:04 2018 +0300 description: Style fixes. diffstat: njs/njs_error.h | 3 ++- njs/njs_fs.c | 4 ++-- njs/njs_object.c | 3 ++- njs/njs_string.c

[njs] Added information about illegal token in number parsing.

2018-07-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/3aef480987d6 branches: changeset: 552:3aef480987d6 user: Igor Sysoev date: Tue Jul 03 15:48:03 2018 +0300 description: Added information about illegal token in number parsing. diffstat: njs/njs_lexer.c | 61

[njs] Using correct code size addition.

2018-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5fd1cb826b96 branches: changeset: 492:5fd1cb826b96 user: Igor Sysoev <i...@sysoev.ru> date: Wed Apr 04 16:21:09 2018 +0300 description: Using correct code size addition. Found by Clang Static Analyzer. diffstat: njs/njs_parser_expres

[njs] Exact values for default switch case expressions.

2018-04-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/641b3189d658 branches: changeset: 490:641b3189d658 user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 03 17:55:56 2018 +0300 description: Exact values for default switch case expressions. diffstat: njs/njs_lexer.c | 3 ++- njs/njs_st

[njs] Style fixes.

2018-04-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/39374a5d6cda branches: changeset: 489:39374a5d6cda user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 03 17:55:23 2018 +0300 description: Style fixes. diffstat: njs/njs_parser.h| 4 ++-- njs/njs_parser_expression.c

[njs] The typeof operation did not work in functions.

2018-04-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/671d9dd1ffeb branches: changeset: 487:671d9dd1ffeb user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 03 17:55:04 2018 +0300 description: The typeof operation did not work in functions. diffstat: njs/njs_parser.c

[njs] Small optimizations.

2018-04-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/addefc71957b branches: changeset: 488:addefc71957b user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 03 17:55:08 2018 +0300 description: Small optimizations. diffstat: njs/njs_parser_expression.c | 25 +++-- 1 files c

[njs] Code simplification.

2018-03-14 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/895355fde02c branches: changeset: 458:895355fde02c user: Igor Sysoev <i...@sysoev.ru> date: Wed Mar 14 14:32:24 2018 +0300 description: Code simplification. A dead assignment left after the changeset 6738ff52a2cb was found by Clang

[njs] Removed unused null proto hash.

2018-03-13 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6738ff52a2cb branches: changeset: 456:6738ff52a2cb user: Igor Sysoev <i...@sysoev.ru> date: Tue Mar 13 19:51:25 2018 +0300 description: Removed unused null proto hash. diffstat: njs/njs_builtin.c | 12 njs/njs_object.c

[njs] Fixed String.prototype.toUTF8() function.

2018-02-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/ab1f67b69707 branches: changeset: 453:ab1f67b69707 user: Igor Sysoev <i...@sysoev.ru> date: Wed Feb 28 16:20:11 2018 +0300 description: Fixed String.prototype.toUTF8() function. A byte string returned by String.prototype.toUTF8() had length

[njs] Added tag 0.1.13 for changeset d548b78eb881

2017-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/2a8aa9783fe9 branches: changeset: 405:2a8aa9783fe9 user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 31 20:50:25 2017 +0300 description: Added tag 0.1.13 for changeset d548b78eb881 diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Version 0.1.13.

2017-08-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/d548b78eb881 branches: changeset: 404:d548b78eb881 user: Igor Sysoev <i...@sysoev.ru> date: Thu Aug 31 20:48:52 2017 +0300 description: Version 0.1.13. diffstat: CHANGES | 13 + Makefile | 2 +- 2 files changed, 14 inse

[njs] Added tag 0.1.12 for changeset c07b060396be

2017-08-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f47b1eed6ed8 branches: changeset: 396:f47b1eed6ed8 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 08 18:06:53 2017 +0300 description: Added tag 0.1.12 for changeset c07b060396be diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Version 0.1.12.

2017-08-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/c07b060396be branches: changeset: 395:c07b060396be user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 08 18:05:14 2017 +0300 description: Version 0.1.12. diffstat: CHANGES | 6 ++ Makefile | 2 +- 2 files changed, 7 insertions

[njs] Removed unused field.

2017-08-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/bc306c37d037 branches: changeset: 392:bc306c37d037 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 08 17:47:55 2017 +0300 description: Removed unused field. diffstat: njs/njs_parser.c| 12 njs/njs_pa

[njs] Style fix in Unicode header files and Perl scripts which

2017-08-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/49a8c7cfb121 branches: changeset: 393:49a8c7cfb121 user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 08 17:47:56 2017 +0300 description: Style fix in Unicode header files and Perl scripts which generate the files. diffstat:

[njs] Disabled njs_object_prop_alloc() inlining.

2017-08-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/bd7e5e51b6be branches: changeset: 394:bd7e5e51b6be user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 08 18:05:11 2017 +0300 description: Disabled njs_object_prop_alloc() inlining. diffstat: njs/njs_object.c | 2 +- 1 files changed, 1 inse

[njs] Style fixes.

2017-08-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/e2baf506be4c branches: changeset: 391:e2baf506be4c user: Igor Sysoev <i...@sysoev.ru> date: Tue Aug 08 17:47:53 2017 +0300 description: Style fixes. diffstat: njs/njs_generator.c | 5 + njs/njs_variable.c | 3 --- 2 files chan

[njs] Trailer content after script is optional.

2017-07-17 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/bef6842774f6 branches: changeset: 386:bef6842774f6 user: Igor Sysoev <i...@sysoev.ru> date: Mon Jul 17 14:46:35 2017 +0300 description: Trailer content after script is optional. diffstat: njs/njs_parser.c | 16 ---

[njs] Version 0.1.11.

2017-06-27 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/fc5df33f4e6b branches: changeset: 379:fc5df33f4e6b user: Igor Sysoev <i...@sysoev.ru> date: Tue Jun 27 14:17:12 2017 +0300 description: Version 0.1.11. diffstat: CHANGES | 22 ++ Makefile | 2 +- 2 files chang

[njs] Style fixes and small miscellaneous changes.

2017-06-27 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/30cc8990272a branches: changeset: 378:30cc8990272a user: Igor Sysoev <i...@sysoev.ru> date: Tue Jun 27 11:17:54 2017 +0300 description: Style fixes and small miscellaneous changes. diffstat: nginx/ngx_http_js_module.c | 2 +- njs/njs_

[njs] Added tag 0.1.11 for changeset fc5df33f4e6b

2017-06-27 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/a0285736926b branches: changeset: 380:a0285736926b user: Igor Sysoev <i...@sysoev.ru> date: Tue Jun 27 14:19:20 2017 +0300 description: Added tag 0.1.11 for changeset fc5df33f4e6b diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Time zone name has been removed from unit tests.

2017-06-23 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/d882561d50e8 branches: changeset: 377:d882561d50e8 user: Igor Sysoev <i...@sysoev.ru> date: Fri Jun 23 15:49:09 2017 +0300 description: Time zone name has been removed from unit tests. diffstat: njs/test/njs_unit_test.c | 13 ++

[njs] Fixed processing of large array indexes.

2017-06-23 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/e33bea39c650 branches: changeset: 376:e33bea39c650 user: Igor Sysoev <i...@sysoev.ru> date: Fri Jun 23 15:27:28 2017 +0300 description: Fixed processing of large array indexes. diffstat: njs/njs_vm.c | 13 +++-- nj

[njs] A fix of bug introduced in changeset 7f1f3dcb278f.

2017-05-29 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/4e2da602c2a3 branches: changeset: 346:4e2da602c2a3 user: Igor Sysoev <i...@sysoev.ru> date: Mon May 29 22:13:21 2017 +0300 description: A fix of bug introduced in changeset 7f1f3dcb278f. diffstat: njs/njs_parser.c | 2 +- 1 files chan

[njs] A small rbtree delete fixup optimization.

2017-05-29 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/c0bdd23e740e branches: changeset: 345:c0bdd23e740e user: Igor Sysoev <i...@sysoev.ru> date: Mon May 29 10:17:36 2017 +0300 description: A small rbtree delete fixup optimization. Setting node color to black is not required here b

[njs] Unicode code point parsing optimization.

2017-05-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/7f1f3dcb278f branches: changeset: 344:7f1f3dcb278f user: Igor Sysoev <i...@sysoev.ru> date: Sat May 27 18:02:09 2017 +0300 description: Unicode code point parsing optimization. diffstat: njs/njs_parser.c

[njs] parseInt() did not test invalid values.

2017-05-26 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/be8d68d4b8b5 branches: changeset: 342:be8d68d4b8b5 user: Igor Sysoev <i...@sysoev.ru> date: Fri May 26 20:07:24 2017 +0300 description: parseInt() did not test invalid values. diffstat: njs/njs_number.c | 22 -

[njs] A small rbtree insert fixup optimization.

2017-05-26 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/7156ba123eae branches: changeset: 343:7156ba123eae user: Igor Sysoev <i...@sysoev.ru> date: Fri May 26 20:10:22 2017 +0300 description: A small rbtree insert fixup optimization. Thanks to ??? (Hong Zhi Dao). diffstat: nxt/nxt_rbtree.c

Re: [njs] Lexer support for hexadecimal literal values.

2017-05-25 Thread Igor Sysoev
Thank you for your patch. We are currently working on comprehensive hexadecimal support. -- Igor Sysoev http://nginx.com On 21 May 2017, at 20:52, Paulo Pacheco <fooi...@gmail.com> wrote: > # HG changeset patch > # User Paulo Pacheco <fooi...@gmail.com> > # Date 14953882

[nginx] Core: signal sender pid logging.

2017-04-20 Thread Igor Sysoev
details: http://hg.nginx.org/nginx/rev/23ecffd5bcfe branches: changeset: 6985:23ecffd5bcfe user: Igor Sysoev <i...@sysoev.ru> date: Thu Apr 20 13:58:16 2017 +0300 description: Core: signal sender pid logging. diffstat: src/os/unix/ngx_process.c

[njs] Version 0.1.10.

2017-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/b1456ef3e002 branches: changeset: 338:b1456ef3e002 user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 04 13:23:11 2017 +0300 description: Version 0.1.10. diffstat: CHANGES | 9 + Makefile | 2 +- 2 files changed, 10 insertions

[njs] Added tag 0.1.10 for changeset b1456ef3e002

2017-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5a5b70cbbde9 branches: changeset: 339:5a5b70cbbde9 user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 04 13:24:09 2017 +0300 description: Added tag 0.1.10 for changeset b1456ef3e002 diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Moving njs_array_prototype_fill() to appropriate place.

2017-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f62632793238 branches: changeset: 336:f62632793238 user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 04 11:00:49 2017 +0300 description: Moving njs_array_prototype_fill() to appropriate place. diffstat: njs/njs_array.c

[njs] Style fixes and small miscellaneous changes.

2017-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/7e6460db39ad branches: changeset: 337:7e6460db39ad user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 04 13:23:10 2017 +0300 description: Style fixes and small miscellaneous changes. diffstat: njs/njs_array.c| 2 +- njs/njs_function.

[njs] Array.prototype.findIndex() method.

2017-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/26e0ebd97454 branches: changeset: 331:26e0ebd97454 user: Andrey Zelenkov date: Tue Apr 04 06:16:49 2017 +0300 description: Array.prototype.findIndex() method. diffstat: njs/njs_array.c | 58

[njs] Moving common code to njs_array_iterator_args().

2017-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/a4e6f27ce598 branches: changeset: 335:a4e6f27ce598 user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 04 10:56:33 2017 +0300 description: Moving common code to njs_array_iterator_args(). diffstat: njs/njs_array.c | 5 + 1 files chan

[njs] Global variables may be accessed incorrectly by nested functions.

2017-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/251aa4b128ea branches: changeset: 333:251aa4b128ea user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 04 10:47:02 2017 +0300 description: Global variables may be accessed incorrectly by nested functions. diffstat: njs/njs_variable.c

[njs] Array.prototype.find() method.

2017-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/52d53653ac52 branches: changeset: 330:52d53653ac52 user: Andrey Zelenkov date: Tue Apr 04 06:10:10 2017 +0300 description: Array.prototype.find() method. Also introduced njs_array_iterator_sparse_apply() function. diffstat:

[njs] Function declaration should return "undefined".

2017-04-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/ada17c8bdd5a branches: changeset: 332:ada17c8bdd5a user: Igor Sysoev <i...@sysoev.ru> date: Tue Apr 04 10:47:12 2017 +0300 description: Function declaration should return "undefined". diffstat: njs/njs_generator.c | 7 +

[njs] Variables may be accessed incorrectly by nested functions.

2017-04-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/c46da90ca064 branches: changeset: 329:c46da90ca064 user: Igor Sysoev <i...@sysoev.ru> date: Sun Apr 02 12:36:05 2017 +0300 description: Variables may be accessed incorrectly by nested functions. diffstat: njs/njs_parser.c

[njs] Large indexes processing has been fixed in

2017-04-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/8f59eeb8ee2d branches: changeset: 327:8f59eeb8ee2d user: Igor Sysoev <i...@sysoev.ru> date: Sat Apr 01 15:32:04 2017 +0300 description: Large indexes processing has been fixed in Array.prototype.reduceRight(). diffstat: njs/njs_array.

[njs] Array iterators optimizations.

2017-04-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/cee288760080 branches: changeset: 328:cee288760080 user: Igor Sysoev <i...@sysoev.ru> date: Sun Apr 02 12:35:11 2017 +0300 description: Array iterators optimizations. diffstat: njs/njs_array.c

[njs] Style fixes.

2017-03-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/dc8af19bf47d branches: changeset: 326:dc8af19bf47d user: Andrey Zelenkov date: Fri Mar 31 14:05:44 2017 +0300 description: Style fixes. diffstat: njs/njs_regexp.c | 2 +- njs/njs_string.c | 2 +- njs/njs_vm.c | 6

[njs] Fixed Number.prototype.toString() method.

2017-03-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/8e20f235b71e branches: changeset: 325:8e20f235b71e user: Andrey Zelenkov date: Fri Mar 31 14:02:38 2017 +0300 description: Fixed Number.prototype.toString() method. Found with afl-fuzz. diffstat: njs/njs_number.c |

[njs] Large indexes processing has been fixed in array iterator

2017-03-29 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/8cdbd57379e8 branches: changeset: 322:8cdbd57379e8 user: Igor Sysoev <i...@sysoev.ru> date: Wed Mar 29 15:54:33 2017 +0300 description: Large indexes processing has been fixed in array iterator functions. diffstat: njs/njs_a

[njs] A small Array.prototype.sort() optimization.

2017-03-29 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/90743d1bb614 branches: changeset: 323:90743d1bb614 user: Igor Sysoev <i...@sysoev.ru> date: Wed Mar 29 15:54:37 2017 +0300 description: A small Array.prototype.sort() optimization. diffstat: njs/njs_array.c

[njs] Closures support.

2017-03-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/a095dc0cd361 branches: changeset: 321:a095dc0cd361 user: Igor Sysoev <i...@sysoev.ru> date: Tue Mar 28 07:50:05 2017 +0300 description: Closures support. diffstat: njs/njs_array.c |2 +- njs/njs_boolean.c|2 +

[njs] The "typeof" operation changes.

2017-03-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/0bde7f156477 branches: changeset: 320:0bde7f156477 user: Igor Sysoev <i...@sysoev.ru> date: Sat Mar 25 13:42:40 2017 +0300 description: The "typeof" operation changes. diffstat: njs/njs_variable.c | 19 +++--

[njs] Miscellaneous changes.

2017-03-21 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6887b2d46f87 branches: changeset: 317:6887b2d46f87 user: Igor Sysoev <i...@sysoev.ru> date: Tue Mar 21 16:14:16 2017 +0300 description: Miscellaneous changes. diffstat: njs/njs_array.c | 6 +++--- nxt/test/rbtree_unit_test.

[njs] Fixed building on modern Linux.

2017-03-21 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/9ee2a6eb381c branches: changeset: 315:9ee2a6eb381c user: Igor Sysoev <i...@sysoev.ru> date: Tue Mar 21 16:02:03 2017 +0300 description: Fixed building on modern Linux. diffstat: nxt/nxt_random.c | 2 +- 1 files changed, 1 insertions

[njs] Miscellaneous non-functional changes in nxt_mem_cache_pool.

2017-03-13 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/243c9c96511a branches: changeset: 313:243c9c96511a user: Igor Sysoev <i...@sysoev.ru> date: Mon Mar 13 16:32:40 2017 +0300 description: Miscellaneous non-functional changes in nxt_mem_cache_pool. diffstat: nxt/nxt_mem_cache_pool.c

[njs] Using nxt_rbtree_destroy_next() iterator for nxt_mem_cache_pool

2017-03-13 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6bda82d5bd54 branches: changeset: 312:6bda82d5bd54 user: Igor Sysoev <i...@sysoev.ru> date: Sun Mar 12 22:40:13 2017 +0300 description: Using nxt_rbtree_destroy_next() iterator for nxt_mem_cache_pool destruction without rbtree rebal

[njs] Version 0.1.9.

2017-02-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5bd283398822 branches: changeset: 310:5bd283398822 user: Igor Sysoev <i...@sysoev.ru> date: Wed Feb 01 11:29:47 2017 +0300 description: Version 0.1.9. diffstat: CHANGES | 38 ++ Makefile | 2 +- 2

[njs] 2017 year.

2017-02-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/c9308fed683e branches: changeset: 309:c9308fed683e user: Igor Sysoev <i...@sysoev.ru> date: Wed Feb 01 10:06:28 2017 +0300 description: 2017 year. diffstat: LICENSE | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (12

[njs] Added tag 0.1.9 for changeset 5bd283398822

2017-02-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/214afa2466a0 branches: changeset: 311:214afa2466a0 user: Igor Sysoev <i...@sysoev.ru> date: Wed Feb 01 11:33:05 2017 +0300 description: Added tag 0.1.9 for changeset 5bd283398822 diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Version 0.1.8.

2017-01-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/a29f29d48112 branches: changeset: 304:a29f29d48112 user: Igor Sysoev <i...@sysoev.ru> date: Tue Jan 24 14:38:48 2017 +0300 description: Version 0.1.8. diffstat: Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (10

[njs] Added tag 0.1.8 for changeset a29f29d48112

2017-01-24 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f136239eebff branches: changeset: 305:f136239eebff user: Igor Sysoev <i...@sysoev.ru> date: Tue Jan 24 14:38:59 2017 +0300 description: Added tag 0.1.8 for changeset a29f29d48112 diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] A small rbtree insert fixup optimization.

2017-01-20 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/8401ae77cf40 branches: changeset: 303:8401ae77cf40 user: Igor Sysoev <i...@sysoev.ru> date: Fri Jan 20 16:10:48 2017 +0300 description: A small rbtree insert fixup optimization. Thanks to ??? (Hong Zhi Dao). diffstat: nxt/nxt_rbtree.c

[njs] A scope has been added to literal nodes.

2017-01-16 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5db6d7af16b4 branches: changeset: 302:5db6d7af16b4 user: Igor Sysoev <i...@sysoev.ru> date: Mon Jan 16 18:14:01 2017 +0300 description: A scope has been added to literal nodes. Found with afl-fuzz. diffstat: njs/njs_parser.c | 1 + 1

[njs] Comprehensive test of "return" statement location.

2017-01-16 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6cc16ad934a4 branches: changeset: 301:6cc16ad934a4 user: Igor Sysoev <i...@sysoev.ru> date: Mon Jan 16 17:32:10 2017 +0300 description: Comprehensive test of "return" statement location. Found with afl-fuzz. diffstat:

[njs] Fixed parsing semicolons.

2017-01-16 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/07dc20c1206d branches: changeset: 300:07dc20c1206d user: Igor Sysoev <i...@sysoev.ru> date: Mon Jan 16 14:51:29 2017 +0300 description: Fixed parsing semicolons. Found with AddressSanitizer. diffstat: njs/njs_parser.c

[njs] Removed unused things.

2017-01-05 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/e4f695e81689 branches: changeset: 299:e4f695e81689 user: Igor Sysoev <i...@sysoev.ru> date: Thu Jan 05 15:55:52 2017 +0300 description: Removed unused things. diffstat: njs/njs_parser.c | 20 njs/njs_parser.h | 2 -

[njs] Logical "or" and "and" operations should store result in a

2017-01-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/fe8027493a08 branches: changeset: 297:fe8027493a08 user: Igor Sysoev <i...@sysoev.ru> date: Tue Jan 03 19:38:17 2017 +0300 description: Logical "or" and "and" operations should store result in a temporary destination

[njs] For-in loop does not discard the last value of property variable.

2017-01-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/8e1de8ab59e6 branches: changeset: 295:8e1de8ab59e6 user: Igor Sysoev <i...@sysoev.ru> date: Mon Jan 02 22:59:31 2017 +0300 description: For-in loop does not discard the last value of property variable. diffstat: njs/njs_generator.c

[njs] Fixed code generation for "in" operation with side effect.

2017-01-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/9672a3c3aaae branches: changeset: 296:9672a3c3aaae user: Igor Sysoev <i...@sysoev.ru> date: Mon Jan 02 22:59:33 2017 +0300 description: Fixed code generation for "in" operation with side effect. diffstat: njs/njs_genera

[njs] Version 0.1.7.

2016-12-26 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/15dc54100400 branches: changeset: 290:15dc54100400 user: Igor Sysoev <i...@sysoev.ru> date: Tue Dec 27 10:39:53 2016 +0300 description: Version 0.1.7. diffstat: Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (10

[njs] Added tag 0.1.7 for changeset 15dc54100400

2016-12-26 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/1944eaa4b2cf branches: changeset: 291:1944eaa4b2cf user: Igor Sysoev <i...@sysoev.ru> date: Tue Dec 27 10:40:08 2016 +0300 description: Added tag 0.1.7 for changeset 15dc54100400 diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Added tag 0.1.6 for changeset 44b524f7e313

2016-12-13 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/43582218defe branches: changeset: 283:43582218defe user: Igor Sysoev <i...@sysoev.ru> date: Tue Dec 13 14:18:40 2016 +0300 description: Added tag 0.1.6 for changeset 44b524f7e313 diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Version 0.1.6.

2016-12-13 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/44b524f7e313 branches: changeset: 282:44b524f7e313 user: Igor Sysoev <i...@sysoev.ru> date: Tue Dec 13 14:18:11 2016 +0300 description: Version 0.1.6. diffstat: Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (10

[njs] Fixed building with CFLAGS=-DNXT_DEBUG_MEMORY=1 by some compilers.

2016-12-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/6a60530c7b6b branches: changeset: 279:6a60530c7b6b user: Igor Sysoev <i...@sysoev.ru> date: Thu Dec 08 19:50:03 2016 +0300 description: Fixed building with CFLAGS=-DNXT_DEBUG_MEMORY=1 by some compilers. diffstat: nxt/nxt_mem_cache_pool.c

[njs] Array and object literals did not support assignment expressions.

2016-12-08 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/0315d62a78c2 branches: changeset: 277:0315d62a78c2 user: Igor Sysoev <i...@sysoev.ru> date: Thu Dec 08 17:15:54 2016 +0300 description: Array and object literals did not support assignment expressions. Thanks to ??? (Hong Zhi Dao). di

[njs] A user defined object method called as constructor did not

2016-12-07 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/2380d725ec7b branches: changeset: 276:2380d725ec7b user: Igor Sysoev <i...@sysoev.ru> date: Wed Dec 07 19:34:48 2016 +0300 description: A user defined object method called as constructor did not create correct prototype links in created o

[njs] Fixed "return" usage in a true branch of an "if" statement.

2016-12-07 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/56d6fc12dc31 branches: changeset: 275:56d6fc12dc31 user: Igor Sysoev <i...@sysoev.ru> date: Wed Dec 07 15:02:00 2016 +0300 description: Fixed "return" usage in a true branch of an "if" statement. diffstat: njs/

nginScript documentation

2016-12-05 Thread Igor Sysoev
Hi! We have made recently documentation for nginScript: http://nginx.org/en/docs/http/ngx_http_js_module.html http://nginx.org/en/docs/stream/ngx_stream_js_module.html http://nginx.org/en/docs/njs_about.html -- Igor Sysoev http://nginx.com

[njs] RegExp.prototype.toString() should be applied only to RegExp.

2016-12-05 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/709ac03a4bfd branches: changeset: 274:709ac03a4bfd user: Igor Sysoev <i...@sysoev.ru> date: Mon Dec 05 17:47:00 2016 +0300 description: RegExp.prototype.toString() should be applied only to RegExp. diffstat: njs/njs_regexp.c

[njs] Native methods called by iterators should run via continuation

2016-12-05 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/eba4f3a30bb4 branches: changeset: 272:eba4f3a30bb4 user: Igor Sysoev <i...@sysoev.ru> date: Mon Dec 05 17:35:33 2016 +0300 description: Native methods called by iterators should run via continuation to normilize arguments. diffstat:

[njs] Native methods called with Function.prototype.call() and

2016-12-05 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/15ec6a09cece branches: changeset: 273:15ec6a09cece user: Igor Sysoev <i...@sysoev.ru> date: Mon Dec 05 17:45:02 2016 +0300 description: Native methods called with Function.prototype.call() and Functon.prototype.apply() should run via contin

[njs] Using short string values where they are enough.

2016-12-01 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f8f20b27724e branches: changeset: 270:f8f20b27724e user: Igor Sysoev <i...@sysoev.ru> date: Thu Dec 01 19:45:19 2016 +0300 description: Using short string values where they are enough. diffstat: njs/njs_date.c

[njs] Added more dependencies on nxt_auto_config.h.

2016-11-30 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/86c35adbd3f9 branches: changeset: 268:86c35adbd3f9 user: Igor Sysoev <i...@sysoev.ru> date: Wed Nov 30 14:53:15 2016 +0300 description: Added more dependencies on nxt_auto_config.h. diffstat: Makefile | 14 +++--

[njs] Fixed nginx modules building introduced in 9b37882ad552.

2016-11-30 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/adfb758ad872 branches: changeset: 267:adfb758ad872 user: Igor Sysoev <i...@sysoev.ru> date: Wed Nov 30 14:10:49 2016 +0300 description: Fixed nginx modules building introduced in 9b37882ad552. Removed old third party module addition

[njs] Version 0.1.5.

2016-11-15 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/9c813c2bb2ac branches: changeset: 255:9c813c2bb2ac user: Igor Sysoev <i...@sysoev.ru> date: Tue Nov 15 18:28:18 2016 +0300 description: Version 0.1.5. diffstat: Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (10

[njs] Added tag 0.1.5 for changeset 9c813c2bb2ac

2016-11-15 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/9b9f46b55de2 branches: changeset: 256:9b9f46b55de2 user: Igor Sysoev <i...@sysoev.ru> date: Tue Nov 15 18:28:35 2016 +0300 description: Added tag 0.1.5 for changeset 9c813c2bb2ac diffstat: .hgtags | 1 + 1 files changed, 1 insertions

[njs] Native methods and non-constructor functions must throw

2016-11-15 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/d2ab98ea87ad branches: changeset: 254:d2ab98ea87ad user: Igor Sysoev <i...@sysoev.ru> date: Tue Nov 15 17:43:05 2016 +0300 description: Native methods and non-constructor functions must throw TypeError exception if they are called as const

[njs] Removed irrelevant overhead in clone/destroy benchmark.

2016-11-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/91640c0405f4 branches: changeset: 253:91640c0405f4 user: Igor Sysoev <i...@sysoev.ru> date: Fri Nov 11 18:12:13 2016 +0300 description: Removed irrelevant overhead in clone/destroy benchmark. diffstat: njs/test/njs_unit_test.c | 4 +

[njs] Now the empty regexp pattern is created on compile stage only.

2016-11-11 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/9f66db825663 branches: changeset: 252:9f66db825663 user: Igor Sysoev <i...@sysoev.ru> date: Fri Nov 11 17:28:47 2016 +0300 description: Now the empty regexp pattern is created on compile stage only. This speeds up njs_vm_clone() operation

[njs] Style and small miscellaneous fixes.

2016-11-09 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/7a42d1e83ae2 branches: changeset: 245:7a42d1e83ae2 user: Igor Sysoev <i...@sysoev.ru> date: Wed Nov 09 15:04:40 2016 +0300 description: Style and small miscellaneous fixes. diffstat: njs/njs_disassembler.c | 2 +- njs/njs_st

[njs] Function expressions did not have prototypes.

2016-11-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/53d2024f6ca3 branches: changeset: 239:53d2024f6ca3 user: Igor Sysoev <i...@sysoev.ru> date: Fri Nov 04 23:45:35 2016 +0300 description: Function expressions did not have prototypes. diffstat: njs/njs_vm.c | 1 + nj

[njs] String.prototype.repeat() did not check the count parameter

2016-11-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/e16086a85f0b branches: changeset: 235:e16086a85f0b user: Igor Sysoev <i...@sysoev.ru> date: Fri Nov 04 16:22:56 2016 +0300 description: String.prototype.repeat() did not check the count parameter for single character strings. The count par

[njs] A possible memory leak has been fixed.

2016-10-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/f0ac27f59e58 branches: changeset: 230:f0ac27f59e58 user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 31 15:51:12 2016 +0300 description: A possible memory leak has been fixed. Thanks to ??? (Hong Zhi Dao). diffstat: nxt/nxt_mem_cache_

[njs] A surplus check has been removed.

2016-10-31 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/b0b46036d54e branches: changeset: 231:b0b46036d54e user: Igor Sysoev <i...@sysoev.ru> date: Mon Oct 31 15:56:49 2016 +0300 description: A surplus check has been removed. Found by Coverity Scan. diffstat: njs/njscript.c | 2 +- 1 files c

[njs] Fixed building on modern Linux kernels.

2016-10-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/a1cd4104df67 branches: changeset: 229:a1cd4104df67 user: Igor Sysoev <i...@sysoev.ru> date: Sat Oct 29 00:04:29 2016 +0300 description: Fixed building on modern Linux kernels. diffstat: nxt/nxt_random.c | 2 +- 1 files changed, 1 inse

[njs] String.prototype.trim() method.

2016-10-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5de122a4031a branches: changeset: 226:5de122a4031a user: Igor Sysoev <i...@sysoev.ru> date: Fri Oct 28 13:32:33 2016 +0300 description: String.prototype.trim() method. In collaboration with Valentin Bartenev. diffstat: njs/njs_st

[njs] String.prototype.lastIndexOf() method fix.

2016-10-27 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/d84e34c2dbde branches: changeset: 225:d84e34c2dbde user: Igor Sysoev <i...@sysoev.ru> date: Thu Oct 27 16:38:05 2016 +0300 description: String.prototype.lastIndexOf() method fix. In collaboration with Valentin Bartenev. diffstat:

[njs] String.prototype.lastIndexOf() method fixes and optimizati...

2016-10-27 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/da63e61ecef4 branches: changeset: 223:da63e61ecef4 user: Igor Sysoev <i...@sysoev.ru> date: Thu Oct 27 10:56:54 2016 +0300 description: String.prototype.lastIndexOf() method fixes and optimizations. In collaboration with Valentin Ba

  1   2   3   >