details: http://hg.nginx.org/njs/rev/769173883f87 branches: changeset: 189:769173883f87 user: Igor Sysoev <igor@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 | 5 +++++ njs/test/njs_unit_test.c | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/1261cc58591e branches: changeset: 188:1261cc58591e user: Igor Sysoev <igor@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 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diffs (15 lines): diff -r 8c2cea409034 -r 1261cc58by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/8c2cea409034 branches: changeset: 187:8c2cea409034 user: Igor Sysoev <igor@sysoev.ru> date: Fri Sep 30 22:07:07 2016 +0300 description: Inclusive "new" operators and "new" operator calls without parenthesis are supported. diffstat: njs/njs_parser_expression.c | 135 +++++++++++++++++++++++++++++++++++-------- njs/testby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/b3e83fa52345 branches: changeset: 186:b3e83fa52345 user: Igor Sysoev <igor@sysoev.ru> date: Fri Sep 30 14:11:27 2016 +0300 description: A "var" statement termination has been fixed. diffstat: njs/njs_parser.c | 19 +++- njs/njs_parser_expression.c | 1 - njs/test/njs_unit_test.c | 251 ++++++++++++++++++++++--by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/fec0d8dfa38c branches: changeset: 183:fec0d8dfa38c user: Igor Sysoev <igor@sysoev.ru> date: Mon Sep 26 14:01:45 2016 +0300 description: String processing unification using njs_string_length(), njs_utf8_t, and njs_regexp_utf8_t. diffstat: njs/njs_regexp.c | 62 ++++++++++++++----------------------- njs/njs_string.c | 92 ++++++++++++++++-by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/cfa17c3e25da branches: changeset: 184:cfa17c3e25da user: Igor Sysoev <igor@sysoev.ru> date: Mon Sep 26 18:41:57 2016 +0300 description: A function stored in array could not be called. diffstat: njs/njs_vm.c | 116 ++++++++++++++++++++++++++-------------------- njs/test/njs_unit_test.c | 3 + 2 files changed, 68 insertions(by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/eed097d72d5e branches: changeset: 182:eed097d72d5e user: Igor Sysoev <igor@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 attribute has been correctly disabled on this platform. diffstat: nxt/auto/clang | 150 ++++++++++++++++by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/5ef1091ecfaf branches: changeset: 181:5ef1091ecfaf user: Igor Sysoev <igor@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: nxt/nxt_array.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (21 lines): diff -r 6a98by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/6a983847db14 branches: changeset: 180:6a983847db14 user: Igor Sysoev <igor@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 | 155 ++++++++++++++++++++++++++++++------------------------- nxt/nxt_clang.h | 6 -- 2 files changed, 84 insertby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/6c65289c3696 branches: changeset: 179:6c65289c3696 user: Igor Sysoev <igor@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 enabled and the aligment attribute has been disabled instead for Linux/PPC64. diffstat: nxt/auto/claby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/9d09f9a522d6 branches: changeset: 178:9d09f9a522d6 user: Igor Sysoev <igor@sysoev.ru> date: Fri Sep 23 11:59:56 2016 +0300 description: Style and small miscellaneous fixes. diffstat: njs/njs_builtin.c | 18 +++++++++--------- njs/njs_function.h | 8 ++++++++ njs/njs_regexp.c | 1 - njs/njs_regexp_patternby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/04aee54864c3 branches: changeset: 177:04aee54864c3 user: Igor Sysoev <igor@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 | 4 +- njs/njs_regexp_pattern.h | 6 + njs/njs_string.c | 739 ++++++++++++++++++++++++++++by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/28bc6acceb0e branches: changeset: 176:28bc6acceb0e user: Igor Sysoev <igor@sysoev.ru> date: Thu Sep 15 18:00:55 2016 +0300 description: Returning an intptr_t result by rbtree comparison function decreases overhead required to implement correct addresses comparison without result truncation. diffstat: nxt/nxt_mem_cache_pool.c | 4 ++--by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/70e3b2fc7a8d branches: changeset: 175:70e3b2fc7a8d user: Igor Sysoev <igor@sysoev.ru> date: Thu Sep 15 17:37:52 2016 +0300 description: A fix of use-after-free memory bug. diffstat: njs/njs_vm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (19 lines): diff -r 16cc1aaf4e47 -r 70e3b2fc7a8d njs/njs_vm.c --- a/njs/njs_vm.by Igor Sysoev - Nginx Development
On 14 Sep 2016, at 05:35, George <nginx-forum@forum.nginx.org> wrote: > and examples in wiki for nginxScript for js_run > https://www.nginx.com/resources/wiki/nginScript/#section-1-overview The examples are obsolete, we will update them soon. -- Igor Sysoev http://nginx.com _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.orgby Igor Sysoev - Nginx Mailing List - English
On 14 Sep 2016, at 05:32, George <nginx-forum@forum.nginx.org> wrote: > even > > > location /njs { > js_run " > var res; > res = $r.response; > res.status = 200; > res.send('Hello World!'); > res.finish(); > "; > } > > gives an error > > nginx -t > nginx: unknown directive "js_ruby Igor Sysoev - Nginx Mailing List - English
details: http://hg.nginx.org/njs/rev/5b066b4db54c branches: changeset: 171:5b066b4db54c user: Igor Sysoev <igor@sysoev.ru> date: Tue Sep 13 16:59:09 2016 +0300 description: Version 0.1.2. diffstat: Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (10 lines): diff -r 79e04e43f569 -r 5b066b4db54c Makefile --- a/Makefile Tue Sep 13 16:53:24 2016 +0300by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/efd2f95aaeb4 branches: changeset: 172:efd2f95aaeb4 user: Igor Sysoev <igor@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(+), 0 deletions(-) diffs (7 lines): diff -r 5b066b4db54c -r efd2f95aaeb4 .hgtags --- a/.hgtags Tue Sepby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/79e04e43f569 branches: changeset: 170:79e04e43f569 user: Igor Sysoev <igor@sysoev.ru> date: Tue Sep 13 16:53:24 2016 +0300 description: Fixed building by GCC 4. diffstat: njs/njs_builtin.c | 21 +++++++++++++-------- 1 files changed, 13 insertions(+), 8 deletions(-) diffs (43 lines): diff -r cb414901cccc -r 79e04e43f569 njs/njs_builtinby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/cb414901cccc branches: changeset: 169:cb414901cccc user: Igor Sysoev <igor@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 | 3 +- njs/njs_array.h | 9 -- njs/njs_builtin.c | 49 ++++++++++++-- njs/njsby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/19758fdcd554 branches: changeset: 168:19758fdcd554 user: Igor Sysoev <igor@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 | 305 ++++++++++++++++++++++++++++++++-------------- njs/test/njs_unit_test.c | 39 ++++++ 2 files changed,by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/715b147cbfe0 branches: changeset: 166:715b147cbfe0 user: Igor Sysoev <igor@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 files changed, 3 insertions(+), 3 deletions(-) diffs (23 lines): diff -r 584114a51b51 -r 715b147cbfe0 nby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/584114a51b51 branches: changeset: 165:584114a51b51 user: Igor Sysoev <igor@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(+), 2 deletions(-) diffs (23 lines): diff -r 76f16f0ef6c5 -r 584114a51b51 njs/njs_string.c --- a/njs/by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/76f16f0ef6c5 branches: changeset: 164:76f16f0ef6c5 user: Igor Sysoev <igor@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 changed, 1 insertions(+), 0 deletions(-) diffs (11 lines): diff -r c0aa3ecd2e83 -r 76f16f0ef6c5 njs/njby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/c0aa3ecd2e83 branches: changeset: 163:c0aa3ecd2e83 user: Igor Sysoev <igor@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/test/njs_unit_test.c | 3 +++ 2 files changed, 9 insertions(+), 4 deletions(-) diffs (47 lines):by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/323f00dc9879 branches: changeset: 161:323f00dc9879 user: Igor Sysoev <igor@sysoev.ru> date: Tue Aug 30 12:05:46 2016 +0300 description: decodeURI() and decodeURIComponent() functions. diffstat: njs/njs_builtin.c | 4 + njs/njs_generator.c | 2 + njs/njs_lexer_keyword.c | 2 + njs/njs_parser.c | 2 + njs/njby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/47f4830c3d22 branches: changeset: 162:47f4830c3d22 user: Igor Sysoev <igor@sysoev.ru> date: Tue Aug 30 12:11:24 2016 +0300 description: C language features have been enabled. diffstat: nxt/auto/clang | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 86 insertions(+), 0 deletions(-) diffs (93 lines): diffby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/d63ecb57f164 branches: changeset: 160:d63ecb57f164 user: Igor Sysoev <igor@sysoev.ru> date: Tue Aug 30 12:02:31 2016 +0300 description: encodeURI() and encodeURIComponent() functions. diffstat: njs/njs_builtin.c | 16 +++-- njs/njs_generator.c | 2 + njs/njs_lexer_keyword.c | 2 + njs/njs_parser.c | 2 + njby Igor Sysoev - Nginx Development
On 28 Aug 2016, at 11:48, Alexander Moskalenko <alexander.moskalenko@gmail.com> wrote: > В spec для 1.10.1 RPM прописано -add-dynamic-module=njs-1c50334fbea6/nginx Это версия как раз перед добавлением toLowerCase: changeset: 100:b7442865d9fa user: Igor Sysoev <igor@sysoev.ru> date: Fri Apr 15 18:01:19 2016 +0300 summary:by Igor Sysoev - Nginx Mailing List - Russian
On 27 Aug 2016, at 21:04, Alexander Moskalenko <alexander.moskalenko@gmail.com> wrote: > Приветствую! > > Есть локейшн задача которого делать редирект с приведением uri к нижнему регистру. > В данный момент используется LUA, который хотелось бы заменby Igor Sysoev - Nginx Mailing List - Russian