- Add DUK_USE_STRHASH_SKIP_SHIFT option for the "fast" skipping hash.
- Add DUK_USE_STRHASH_DENSE option (default false) to revert back to
the Duktape 1.3.0 string hash algorithm.
The new Date provider snippet location is after duk_custom.h and other
overrides, so that e.g. user custom header can define
DUK_USE_DATE_NOW_GETTIMEOFDAY even if the platform detection does not.
Otherwise there are build errors with e.g. gcc -std=c89. Because the inline
macros are now in duk_config.h, the user can fix these manually anyway if
necessary.
- Disable JSON.stringify() fastpath by default
- Rework to use DUK_USE_ALIGN_BY config option
- Replace previous DUK_USE_ALIGN_4 and DUK_USE_ALIGN_8 with a cleaner
DUK_USE_ALIGN_BY config option (allowed values 1, 4, 8)
- Add fastpath tag in anticipation of automatic fastpath suggestions
or warnings
- Emit defaults for options not covered by manual header snippets
- Add forced option support for autodetect header
- Add __OVERRIDE_DEFINES__ section to autodetect header
- Add fixup header line option
- Add -D/--define and -U/--undefine options (more familiar to users)
- Add option for emitting (non-standard) #warning directives
- Fix comment stripping to keep 'redefine'
- Minor fixes and cleanups
- Rename commands to shorter names (e.g. generate-autodetect-header
to autodetect-header)
- Rename options to shorter names (e.g. --force-option-file to
--option-file)