Skip to content

Instantly share code, notes, and snippets.

View xeioex's full-sized avatar

Dmitry Volyntsev xeioex

View GitHub Profile
# HG changeset patch
# User Dmitry Volyntsev <[email protected]>
# Date 1550168391 -10800
# Thu Feb 14 21:19:51 2019 +0300
# Node ID 518e6a7b270d8221ab7f1768f1410c419cac0078
# Parent dde9a253361e8d76639f492d7c5d81bcb9521f18
Fixed String.prototype.split() for unicode strings.
This closes #95 issue on Github.
# HG changeset patch
# User Dmitry Volyntsev <[email protected]>
# Date 1550583722 -10800
# Tue Feb 19 16:42:02 2019 +0300
# Node ID 11a891d23ce599c8248ac3078587d515c2310239
# Parent bb8b8d00b96910dc55e958687d7258d312e05912
Introduced nxt_basename().
diff --git a/njs/njs_shell.c b/njs/njs_shell.c
--- a/njs/njs_shell.c
# HG changeset patch
# User Dmitry Volyntsev <[email protected]>
# Date 1550599519 -10800
# Tue Feb 19 21:05:19 2019 +0300
# Node ID 175bc9cc32830302cc65d589cd428d26d1bbe07d
# Parent bb8b8d00b96910dc55e958687d7258d312e05912
Introduced nxt_file_basename() and nxt_file_dirname().
diff --git a/njs/njs_shell.c b/njs/njs_shell.c
--- a/njs/njs_shell.c
# HG changeset patch
# User Dmitry Volyntsev <[email protected]>
# Date 1550668590 -10800
# Wed Feb 20 16:16:30 2019 +0300
# Node ID 8250061df72a46278714165f835adc52f432056a
# Parent 8c422e42448e23eeacf85cad5f559941fd64a0ca
Introduced nxt_file_basename() and nxt_file_dirname().
diff --git a/njs/njs_shell.c b/njs/njs_shell.c
--- a/njs/njs_shell.c
# HG changeset patch
# User Dmitry Volyntsev <[email protected]>
# Date 1550668590 -10800
# Wed Feb 20 16:16:30 2019 +0300
# Node ID 8250061df72a46278714165f835adc52f432056a
# Parent 8c422e42448e23eeacf85cad5f559941fd64a0ca
Introduced nxt_file_basename() and nxt_file_dirname().
diff --git a/njs/njs_shell.c b/njs/njs_shell.c
--- a/njs/njs_shell.c
# HG changeset patch
# User Dmitry Volyntsev <[email protected]>
# Date 1551275635 -10800
# Wed Feb 27 16:53:55 2019 +0300
# Node ID d9354fe610cbb0e5d38f4286a655d1e480716ee1
# Parent fc69d402ec6deb2efdd7152d78875c93f7c8a606
Modules: returing undefined value for absent values.
Instead of empty string.
# HG changeset patch
# User hongzhidao <[email protected]>
# Date 1551147113 -28800
# Tue Feb 26 10:11:53 2019 +0800
# Node ID d62d0d255b15fc42203c7f6447d009f22ebe528f
# Parent fc69d402ec6deb2efdd7152d78875c93f7c8a606
Improved parser syntax error.
diff --git a/njs/njs_parser.c b/njs/njs_parser.c
--- a/njs/njs_parser.c
# HG changeset patch
# User Dmitry Volyntsev <[email protected]>
# Date 1551362098 -10800
# Thu Feb 28 16:54:58 2019 +0300
# Node ID e78f10a666cc3cff690f6dcd046bfb7393344dee
# Parent 21925caaa3c5f7e019a9ce4b6c48048006522e84
Fixed lexer referencing in runtime.
diff --git a/njs/njs.c b/njs/njs.c
--- a/njs/njs.c
=== language/module-code/eval-gtbndng-indirect-update-dflt failed in strict mode ===
--- errors ---
AddressSanitizer:DEADLYSIGNAL
=================================================================
==21257==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000005bd0cf bp 0x7ffdb0321ea0 sp 0x7ffdb0321c00 T0)
==21257==The signal is caused by a READ memory access.
==21257==Hint: address points to the zero page.
# HG changeset patch
# User hongzhidao <[email protected]>
# Date 1551362279 -28800
# Thu Feb 28 21:57:59 2019 +0800
# Node ID 28019254dad6a30d0282525edbf2d043817a0188
# Parent 195158f4a6a791bae680bd26842494a174b8940a
Added initial modules support.
diff --git a/njs/njs.c b/njs/njs.c
--- a/njs/njs.c