Sami Vaarala
ad0e684b00
Release note update
11 years ago
Sami Vaarala
8ce769ede9
Add JSON __proto__ reviver corner case test (now fails)
Add more testcases for parsing __proto__ in JSON. The current implementation
fails when a reviver is really clever and deletes the own property '__proto__'
when called for another property (prior to __proto__). This is very much a
corner case.
11 years ago
Sami Vaarala
e6a929e1f7
Document JSON reviver corner cases
11 years ago
Sami Vaarala
98c70bc1fb
Improve misleading error message from duk cmdline
11 years ago
Sami Vaarala
6516d0d3a5
Use def_prop instead of put_prop in JSON.parse()
With put_prop variant Duktape would incorrectly parse a JSON object
containing a '__proto__' named property. Such a property must be
parsed as a plain property and must not affect the object's prototype
(ES6 inherited __proto__ property).
11 years ago
Sami Vaarala
d25e3ea2ba
Disable incorrect assert in numconv
11 years ago
Sami Vaarala
05a9abd658
Testcases for test262 triggered bugs
11 years ago
Sami Vaarala
d4e2912cb2
Ditz issue update
11 years ago
Sami Vaarala
413b75ecd6
Fix API entry heading vertical alignment
Styling changes necessary to make the API entry headings (such as
'Prototype' etc) to align vertically when browser window is wide.
Getting the alignment to work requires awkward margin hacks.
Also reimplement CSS styling for stacks to be more simple.
11 years ago
Sami Vaarala
53b6f85979
layout prototype for api sections with wide window
11 years ago
Sami Vaarala
28ad6f392c
restore headings to markup for better text browser compatibility, but add classes for them so that css hacks can be used for layout tweaks
11 years ago
Sami Vaarala
513b204d80
first cut at reducing the boilerplate in api doc entries: Prototype, Stack, and Summary are pretty self-evident; Example and See also are still left as headings
11 years ago
Sami Vaarala
19ccf8aa71
Merge branch 'defprop-wec-macro'
11 years ago
Sami Vaarala
b14964986d
Add macros for defining properties with WEC attrs
Also change call sites to use these macros. For now, the macros just
call the existing def_prop_xxx() functions, but because there are
relatively many call sites, these can be footprint optimized later.
11 years ago
Sami Vaarala
86b80251f5
Ditz issue update
11 years ago
Sami Vaarala
e67ace5256
Merge branch 'win-crt-fixes'
Improves Windows build by disabling secure CRT warnings. This is especially
useful for Windows store applications. Also provides a few typing fixes but
does not resolve all /Wp64 warnings.
11 years ago
Sami Vaarala
636f23f2b3
when building dist-src, also make variants with git describe in the filename for easier identification of snapshots
11 years ago
Sami Vaarala
cfc1ec4fad
fix a few coercion warnings which appear on 64-bit windows compile
11 years ago
Sami Vaarala
e3e2f4f3eb
fix a 'naked' use of int64_t (not duk_int64_t) in numconv, and similar ones in debug size dumps
11 years ago
Sami Vaarala
24fbe42a01
use _vsnprintf() in older MSVC versions
11 years ago
Sami Vaarala
baaf0fd028
authors update
11 years ago
Sami Vaarala
1f3b2aba82
relocate msvc secure crt tweak
11 years ago
Sami Vaarala
4fd329760c
release note update (tentative)
11 years ago
Sami Vaarala
81e8b1c3d3
add a few notes on MSVC defines, _MSVC_FULL_VER
11 years ago
Sami Vaarala
5530e63fae
unary minus fixes reported by MSVC, one cast fix in regexp compiler
11 years ago
Sami Vaarala
d095ecb5ea
define _CRT_SECURE_NO_WARNINGS as initial fix for compiling more cleanly for windows store apps
11 years ago
Sami Vaarala
e7548c4631
ditz issue update
11 years ago
Sami Vaarala
66550fdd30
Merge branch 'api-int-typing'
11 years ago
Sami Vaarala
2f988a07cc
api doc for duk_require_uint()
11 years ago
Sami Vaarala
cf4659f4a2
release note update
11 years ago
Sami Vaarala
d88e6571c0
trivial test case fixes related to int coercion return type changes
11 years ago
Sami Vaarala
469e4e18a3
api doc updates
11 years ago
Sami Vaarala
fd415938f7
add duk_to_uint(), some improvements to other integer coercion calls (duk_to_uint32() etc)
11 years ago
Sami Vaarala
fc2c612a12
api testcase fixes related to int typing changes
11 years ago
Sami Vaarala
ef5790d628
typing changes for public api integer to/get/require calls
11 years ago
Sami Vaarala
22457e710c
ditz issue update
11 years ago
Sami Vaarala
6dda6eb9a4
Merge branch 'api-push-uint'
11 years ago
Sami Vaarala
d68679d32d
release note update
11 years ago
Sami Vaarala
dcbf71c668
api doc for duk_push_uint()
11 years ago
Sami Vaarala
82c8232cea
move duk_push_u32() internal call to duk_push_uint() external call (to match duk_push_int()); add internl macro duk_push_u32() in case there's a new helper for it later
11 years ago
Sami Vaarala
e87aebca46
ditz issue update
11 years ago
Sami Vaarala
2336c406c1
Merge branch 'pc2line-refactor'
11 years ago
Sami Vaarala
847cd3e087
change interface to duk_hobject_pc2line_query() to suit call sites better; shaves off some code footprint and makes call sites prettier
11 years ago
Sami Vaarala
02f8beab81
ditz issue update
11 years ago
Sami Vaarala
698ec42bdb
Merge branch 'bytecode-limit-checks'
11 years ago
Sami Vaarala
e30daa14cf
release note update
11 years ago
Sami Vaarala
3dfc0b0ca1
add safety checks for bytecode byte size and (maximum) line number used; these limits ensure that there are no overflows / clipped conversions in e.g. pc2line format which only supports 32 bits right now
11 years ago
Sami Vaarala
bfd7285309
some tests for __proto__ from web
11 years ago
Sami Vaarala
8d589fb4b2
ditz issue update
11 years ago
Sami Vaarala
7b4c09f892
Merge branch 'remove-duktape-line'
11 years ago