Sami Vaarala
3e7cec9cb1
Merge pull request #1393 from svaarala/releases-windows-tzoffset-simplify
Releases: simplify Windows tzoffset (nodst)
8 years ago
Sami Vaarala
b91ee63773
Releases: simplify Windows tzoffset (nodst)
8 years ago
Sami Vaarala
0217f0f01e
Merge pull request #1389 from beevik/simplify-tzoffset
Simplify calculation in duk_bi_date_get_local_tzoffset_windows_no_dst
8 years ago
Sami Vaarala
ce82738e7e
Merge pull request #1392 from svaarala/apidoc-push-heapptr-finalizer-note
Clarify duk_push_heapptr() and finalizer calls
8 years ago
Sami Vaarala
f4f39b32c8
Clarify duk_push_heapptr() and finalizer calls
8 years ago
Sami Vaarala
cefa38fabd
Merge pull request #1390 from svaarala/fix-missing-prototype-warning
Fix duk_error_raw() warning with -Wmissing-prototypes
8 years ago
Sami Vaarala
eef2678280
Releases: duk_error_raw() -Wmissing-prototypes
8 years ago
Sami Vaarala
be480a5ae9
Add -Wmissing-prototypes
Gives warnings when a function is defined before a declaration -- even when
no calls happen before the definition/declaration. This is technically fine
but maybe best avoided.
8 years ago
Sami Vaarala
ef5d8af90e
Example fixes for -Wmissing-prototypes
8 years ago
Sami Vaarala
6b1c78930b
Define duk_error_raw() without variadic macros too
duk_error_raw() is used in internals (in one place) to allow an error throw
to be omitted from the stack trace.
8 years ago
Brett Vickers
9e2f4a1d9a
Simplify calculation in duk_bi_date_get_local_tzoffset_windows_no_dst
The previous version was using the current time, but that's
unnecessary when daylight saving time isn't being taken into
account.
8 years ago
Sami Vaarala
96d5677c63
Merge pull request #1387 from svaarala/durango-trivia
Durango portability trivia
8 years ago
Sami Vaarala
343583d3a6
Releases: Durango portability improvements
8 years ago
Sami Vaarala
941e5755d4
Comment trivia
8 years ago
Sami Vaarala
3c491a63a3
More descriptive platform name for Durango
8 years ago
Sami Vaarala
02ab98361c
Merge pull request #1386 from arenanet/add-durango-platform
Add the Durango platform.
8 years ago
Brett Vickers
6bf983567e
Add the Durango platform.
The Durango platform is used by the Xbox One.
This platform currently differs from the Windows platform only in that
it does not support the SystemTimeToTzSpecificLocalTime API.
8 years ago
Sami Vaarala
a2c80b7992
Merge pull request #1383 from svaarala/runtest-massif-parsing-etc
Runtest.py massif/memcheck parsing support
8 years ago
Sami Vaarala
2f97e4ebda
Runtest.py massif/memcheck parsing support
8 years ago
Sami Vaarala
42e00d89ec
Merge pull request #1312 from svaarala/symbol-check-unlikely
Make symbol checks unlikely
8 years ago
Sami Vaarala
f0b07107fd
Releases: symbol likely/unlikely
8 years ago
Sami Vaarala
a08c85753e
Make symbol checks unlikely
Usually symbol checks are in code paths expecting a string; make these
unlikely. For code paths where a symbol is expected, make the check
likely.
8 years ago
Sami Vaarala
a6a58a49c2
Merge pull request #1372 from svaarala/add-explicit-curr-act-pointer
Add explicit current activation pointer
8 years ago
Sami Vaarala
1720ce3ba8
Releases: explicit thr->callstack_curr
8 years ago
Sami Vaarala
e472b6d4d2
Add thr->callstack_curr
Makes common idiom of act = thr->callstack + thr->callstack_top - 1 shorter,
footprint impact is about -0.5kB.
8 years ago
Sami Vaarala
0fe848a52e
Merge pull request #1377 from svaarala/fix-debugger-throw-empty-callstack
Fix debugger Throw notify handling of empty callstack
8 years ago
Sami Vaarala
5227b1c29e
Releases: debugger Throw empty callstack
8 years ago
Sami Vaarala
97cbdea504
Fix debugger Throw notify empty callstack
Throw notify might be thrown from an empty callstack e.g. if duk_throw()
is called by C code outside of any call. If the throw argument is not an
error instance, the code would attempt to access the topmost activation
even if one didn't exist.
8 years ago
Sami Vaarala
f3c887fbf5
Merge pull request #1376 from svaarala/fix-is-constructor-empty-callstack
Fix incorrect handling of duk_is_constructor_call() on empty callstack
8 years ago
Sami Vaarala
4c67e52446
Releases: duk_is_constructor_call() empty callstk
8 years ago
Sami Vaarala
3529f401c3
Fix duk_is_constructor_call() empty callstack
8 years ago
Sami Vaarala
104fb833ae
Test for duk_is_constructor_call() empty callstack
8 years ago
Sami Vaarala
4b53a9d462
Merge pull request #1373 from svaarala/stale-act-fixes
Fix a few more sites where activation pointer may be stale
8 years ago
Sami Vaarala
083a2b2214
Releases: stale 'act' handling
8 years ago
Sami Vaarala
0a6bbe28dc
Stale 'act' fixes
8 years ago
Sami Vaarala
4c2e05cfd3
Merge pull request #1371 from svaarala/fix-incdec-stale-act
Fix stale activation pointer in pre/post inc/dec handling
8 years ago
Sami Vaarala
e009eb392d
Releases: stale 'act'
8 years ago
Sami Vaarala
2a62b1766e
Relookup 'act' in pre/post inc/dec handling
A potentially stale activation pointer was used in pre/post inc/dec handling.
If the callstack got resized, the 'act' could be a stale pointer leading to
memory unsafe behavior.
8 years ago
Sami Vaarala
2952ad4346
Bug test for GH-1370
8 years ago
Sami Vaarala
38672154ef
Merge pull request #1356 from svaarala/solarix-hpux-aix-portability-improvements
Portability improvements for Solaris, HPUX, AIX
8 years ago
Sami Vaarala
6ae3df4634
Releases: portability; Solaris, HPUX, AIX
8 years ago
Sami Vaarala
f118ce254e
Portability improvements for Solaris, AIX, HPUX
8 years ago
Sami Vaarala
10566faa9e
Remove unused types.h.in header snippet
8 years ago
Sami Vaarala
d149087e13
Merge pull request #1362 from svaarala/refzero-running-flag-int
Use an integer flag for refzero_free_running
8 years ago
Sami Vaarala
16181f4f6b
Releases: refzero_free_running
8 years ago
Sami Vaarala
fcf8ce714d
Integer field for refzero_free_running
This is a hot flag so it's better as an integer field rather than a flag
in a heap bitfield.
8 years ago
Sami Vaarala
6cedb9244f
Merge pull request #1339 from svaarala/explicit-scope-object-cleanups
Minor cleanups for explicit scope objects
8 years ago
Sami Vaarala
d5c646a2fe
Releases: explicit scope object cleanup
8 years ago
Sami Vaarala
12f3d51db5
Minor cleanups for explicit scope objects
* Rework 'with' statement object environment setup.
* Checked allocation.
8 years ago
Sami Vaarala
738b04a802
Merge pull request #1358 from svaarala/fix-charlen-compile-warnings
Fix compile warnings for lazy charlen
8 years ago