mirror of https://github.com/svaarala/duktape.git
Tree:
2a4bf6fe3f
add-comment-stripped-dist-source
add-config-profiles
add-function-source-property
add-getownpropertydescriptor-proxy-trap
add-memory-commit-test
add-nonbmp-helpers
api-create-heap-reorder
api-fileline-blame-control
api-get-refcount
api-multi-get
api-new-list-inits
api-push-bufobj-accept-bufobj
api-recheck-builtins
api-set-prototype-accept-null
buffer-index-no-inherit
builtin-construct-only
cpp-exception-improvements
cyclic-jx-gh331
debugger-rework-resume-command
document-snprintf-portability
duk-push-boolean-retval-1
external-bytecode-buffer-initial
footprint-equals-helper
global-object-hash-index
hack-outofmemory-envrec-close
hack-refzero-finalizer-postpone
hide-internal-properties
improve-summarization
lose-const-via-union
master
mingw-setjmp-longjmp-improvement
operator-overloading-minimal
osx-dist-improve-docs
perf-func-self-ref
profile-optimization-training-set
property-caching
proxy-chain-support
remove-extended-utf8-support
remove-unused-object-layout
revert-841-fix-node-loader
runtest-improvements
string-intern-copy-remove
switch-x86-x64-align-default
user-stack-check-macro
v1-maintenance
v1.0-maintenance
v1.1-maintenance
v1.2-maintenance
v1.3-maintenance
v1.4-maintenance
v1.5-maintenance
v1.6-maintenance
v1.7-maintenance
v1.8-maintenance
v2-maintenance
v2.0-maintenance
v2.1-maintenance
v2.2-maintenance
v2.3-maintenance
v2.4-maintenance
v2.5-maintenance
v2.6-maintenance
virtual-prototype-property
weak-references
website-benchmarks-page
add-rom-builtin-support-20160125i
convert-makedist-to-python-20160113
debugger-heap-walking-support-20160303a
fix-debugger-reattach-reentry-20160219a
hstring-size-optimization-20160302b
rom-user-builtins-20160203b
v0.1.0
v0.10.0
v0.11.0
v0.12.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0
v1.0.0
v1.0.1
v1.0.2
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.3.0
v1.3.1
v1.3.2
v1.3.3
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.5.1
v1.5.2
v1.6.0
v1.6.1
v1.7.0
v1.8.0
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.1.0
v2.1.1
v2.1.2
v2.2.0
v2.2.1
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v2.7.0
${ noResults }
3 Commits (2a4bf6fe3fb3c0361da12227f2c04ac6622f64ae)
Author | SHA1 | Message | Date |
---|---|---|---|
Sami Vaarala | be88ba143c |
Use helper for FP comparisons, use -Wfloat-equal
Direct comparison may have portability concerns because a constant may have more precision than its counterpart. Even a direct cast before a comparison may not work (e.g. Math.atan2() assert with gcc -m32 still fails even when both sides have an explicit double cast). So use an internal always-inline helper for float/double comparisons, which also allows -Wfloat-equal warning to be suppressed in a single helper; add a clang pragma option so that both gcc and clang suppress the warning. Other changes: * Add -Wfloat-equal warning back to the Makefile. * Fix all internal float comparison call sites to use the helper. * Add code policy check for probable floating point comparison (not very important with -Wfloat-equal enabled). |
5 years ago |
Sami Vaarala | 98a5be265c |
Changes to compile CBOR extra as built-in
* Add minimal CBOR config options. * Add 'CBOR' built-in YAML metadata. * Add a public C API for CBOR. * Remove examples/cmdline support for extras/cbor, use built-in CBOR instead. * Makefile, dist/tools changes. * Rewrite CBOR extra to use Duktape internal helpers, also some related refactoring. |
5 years ago |
Sami Vaarala | 76f1bdf71b |
Fix -fsanitize=undefined warnings
Add internal helpers to deal with undefined behavior cases explicitly. When DUK_USE_ALLOW_UNDEFINED_BEHAVIOR is set, skip the (almost always unnecessary) explicit checks to improve footprint and performance. Also split duk_util_misc.c into a few better scoped files. |
7 years ago |