Results 76 issues of Sami Vaarala

Codepoints in [U+E000,U+FFFF] were incorrectly handled by the surrogate pair code path. Example of behavior before the fix: ``` duk> CBOR.encode('\ue000') = |64f0908080| duk> CBOR.decode(CBOR.encode('\ue000')) = "\ud800\udc00" duk> CBOR.decode(CBOR.encode('\uffff')) =...

- [x] DJGPP support #2472 #2473 - [x] https://github.com/svaarala/duktape/pull/2480

Ecmascript semantics differentiate between the current value and the initial value of certain built-ins. For example for [Array constructor](http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.2.1): > The [[Prototype]] internal property of the newly constructed object is...

sandboxing
api

Current implementation is xoroshiro128+ with seed derived from `Date.now()` and `duk_heap` pointer, premixed using SplitMix64. The main shortcoming of this setup is that the seed is very similar when creating...

- [ ] Rate limit the callbacks based on Date-provided timestamp check (avoid checking too often as it may be expensive to get current time) - [ ] Add timeout...

enhancement
sandboxing
api

There's an internal interrupt mechanism which is integrated into the bytecode executor, and is used for execution timeout and debugger integration. It can be extended to the public API but...

enhancement
api

BigInts are useful to represent 64-bit values and also for some algorithms where 53-bit precision is not enough. There's a stage 3 proposal, implemented by e.g. NodeJS, here: https://github.com/tc39/proposal-bigint. http://thecodebarbarian.com/an-overview-of-bigint-in-node-js.html....

Discussion re: possible changes to the allocator API, see #2290. Some possible changes: - Signal "recovering from out-of-memory" to the allocator somehow. This would allow an application to release memory...

api

Now "ppc64" is used for both big and little endian.

WebAssembly is now stable enough to be implemented: https://lists.w3.org/Archives/Public/public-webassembly/2017Feb/0002.html. There are several options for Duktape to interact with WebAssembly; two main approaches are: - Least coupled approach is to make...

webasm