Skip to content

Instantly share code, notes, and snippets.

View lexborisov's full-sized avatar

Alexander lexborisov

View GitHub Profile
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1554459514 -10800
# Fri Apr 05 13:18:34 2019 +0300
# Node ID 9728332c666c3ee2c425579cb69747a83c3ec1a7
# Parent d1cedbc86bc223167e6f2b95a34acdc692e343d3
Added support array-like objects for Function.prototype.apply().
This closes #51 issue on Github.
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1554724440 -10800
# Mon Apr 08 14:54:00 2019 +0300
# Node ID 09bdcce827b438029c612c87d2e663fee6ad5797
# Parent 7dba758fda64edab90d80a7b44f4a29fc3ce5f91
Added walk of prototypes chain during iteration over an object.
This closes #33 issue on Github.
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1554739316 -10800
# Mon Apr 08 19:01:56 2019 +0300
# Node ID 7e69673975b0aa7d3ea3555211f8ff85f626d044
# Parent 84cb61f23b7e3075dd21ff0ead228157bc0dd0e9
Saving hash key to result for each() function in level hash.
diff -r 84cb61f23b7e -r 7e69673975b0 nxt/nxt_lvlhsh.c
--- a/nxt/nxt_lvlhsh.c Sun Apr 07 00:09:09 2019 +0800
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1554739316 -10800
# Mon Apr 08 19:01:56 2019 +0300
# Node ID 58845872f31f680583ec9d4ccace6ec0a9a6b5ee
# Parent a88bf03264b43e939888db5eb5c75d903f3a9f65
Saving hash key to result for each() function in level hash.
diff -r a88bf03264b4 -r 58845872f31f nxt/nxt_lvlhsh.c
--- a/nxt/nxt_lvlhsh.c Tue Apr 16 18:34:57 2019 +0300
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1555684207 -10800
# Fri Apr 19 17:30:07 2019 +0300
# Node ID 07b46eb0f25a9ece2f6ad79b834377b72c8f7baf
# Parent a6c82ddff460a0d19dd24f6189ce8252954ec41b
Added check unsigned int overflow for njs_array_alloc function.
diff -r a6c82ddff460 -r 07b46eb0f25a njs/njs_array.c
--- a/njs/njs_array.c Fri Apr 19 20:03:49 2019 +0800
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1555939407 -10800
# Mon Apr 22 16:23:27 2019 +0300
# Node ID 8585f3f8959538a8b8602166a8c5c3f1193d2822
# Parent 3869b6e1f29672571cfdf6f4e8a7f63f58cb7621
Added allocation size check for njs_string_alloc() function.
diff -r 3869b6e1f296 -r 8585f3f89595 njs/njs_string.c
--- a/njs/njs_string.c Sun Apr 21 17:36:25 2019 +0800
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1557324305 -10800
# Wed May 08 17:05:05 2019 +0300
# Node ID 31caf5d422b907ccc38f471ff98872cc5363a713
# Parent 96c78f35a8092d1f2d7f439230623051bffcb5a2
Added processing asterisk quantifier for String.prototype.replace.
diff -r 96c78f35a809 -r 31caf5d422b9 njs/njs_string.c
--- a/njs/njs_string.c Mon May 06 21:24:31 2019 +0300
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1557327873 -10800
# Wed May 08 18:04:33 2019 +0300
# Node ID 71ef7906935642e6323cbf03fbf9e225f46884e1
# Parent 31caf5d422b907ccc38f471ff98872cc5363a713
Fixed segfault in String.prototype.replace() with special chars.
Special chars in replace string, like a 'o'.replace('o\0').
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1558542019 -10800
# Wed May 22 19:20:19 2019 +0300
# Node ID 6e7a925ef027e85d64d6a707842bcd81b83c8e4a
# Parent d49d270ea377c515f45b5af1eb783c737db82a3e
Added njs_value_property_set() function.
diff -r d49d270ea377 -r 6e7a925ef027 njs/njs_object.h
--- a/njs/njs_object.h Wed May 22 15:19:22 2019 +0300
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1575040496 -10800
# Fri Nov 29 18:14:56 2019 +0300
# Node ID c06acccab6a1765544a7c243c9cb23ddd7e296d3
# Parent 01c7375c9b5ca47e0eda9a7bddf6aacbefbebaff
[mq]: Great_Promise
diff -r 01c7375c9b5c -r c06acccab6a1 auto/sources
--- a/auto/sources Fri Nov 29 12:53:33 2019 +0300