Sami Vaarala
bc9a2748c5
Better missing PyYAML warning for configure.py
4 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
3c959b3415
Configure/dist changes for new files
6 years ago
Akos Kiss
0d8e26f782
Allow function-like macros to be defined via configure.py
Fixes #2013
6 years ago
Sami Vaarala
d423024d25
Minor fixes to dump_bytecode.py and duk_debug.js
* Add script path relative resolution for duk_opcodes.py so that
one can run tools/dump_bytecode.py from repo root.
* Use os.path.join() rather than hardcoded separators.
* Use wider opcode name (12 chars) in duk_debug.js.
* Use matching format for opcodes, arguments, and comments in
dump_bytecode.py.
6 years ago
nonick
38d464ec30
Support dumping instruments.
6 years ago
nonick
80bfa3cd28
Support dumping instruments
6 years ago
Steve Fan
1bb6d98485
Update genbuiltins.py
6 years ago
Sami Vaarala
9749d46ed9
Don't warn about missing fatal handler with C++
7 years ago
Sami Vaarala
228525c2cd
Use 'ECMAScript' spelling in misc places
7 years ago
Sami Vaarala
843dd5a096
Include <exception> conditionally
7 years ago
Sami Vaarala
abb069b8eb
Genconfig improvements for symbols
* Better handling of well-known symbol stridx values and their defines.
* Add explicit property attributes for function properties when they
differ from defaults.
7 years ago
Sami Vaarala
c53d78775f
Add duk_api_random.c to dist/configure files
7 years ago
Sami Vaarala
fe5e4acf76
Mark ROM strings always pinned
7 years ago
Sami Vaarala
d650a7fb48
Dist/configure changes for source splits
7 years ago
Sami Vaarala
87ebe78b4c
Bytecode dump tool fixes
* Fix dumping of previously changed _Formals length.
* Fix bytecode header check and dump.
7 years ago
Sami Vaarala
09dd0e32d7
Update genbuiltins.py for 0x82 prefix
7 years ago
Sami Vaarala
ad067f7bf5
Add duk_bi_promise.c to dist/configure
7 years ago
Sami Vaarala
17886714da
Prune some unnecessary bidx: true objects
7 years ago
Sami Vaarala
5bcf9fd493
Mark internal prototype in genbuiltins pruning
7 years ago
Sami Vaarala
f2a7e77cfc
Add duk_bi_performance.c to configure/dist
7 years ago
Sami Vaarala
12ee75d7c6
Configure.py canon_bitmap support
7 years ago
Sami Vaarala
8d096b15ba
Unicode tool canonicalization bitmap support
7 years ago
Sami Vaarala
ab740c0053
Genbuiltins CALLABLE flag support
7 years ago
Sami Vaarala
9ad07cd4cc
Genbuiltins support for special_call flag
8 years ago
Sami Vaarala
dd5028889d
Handle accessor .length in genbuiltins
8 years ago
Sami Vaarala
84947740d1
Add duk_hboundfunc.h to combine/dist
8 years ago
Sami Vaarala
7243aef72b
Set REACHABLE for ROM objects and strings
8 years ago
Sami Vaarala
6e31419fb6
Add duk_hproxy.h to dist/configure
8 years ago
Sami Vaarala
eebc8918b0
Tools/util changes for duk_api_public.h.in
8 years ago
Sami Vaarala
d73c9e98b4
Dist/config changes for source files
8 years ago
Sami Vaarala
dfe7a29558
Complain if configure.py is given plain arguments
This avoids some confusing cases; for example, if one gave "-DFOO bar"
instead of "-DFOO=bar", the 'bar' part would be a plain argument and
get ignored.
8 years ago
Sami Vaarala
810e0c69ab
ROM built-in fix for h_assert_refcount
8 years ago
Sami Vaarala
cc88be86a4
Fix out-of-sync genbuiltins.py class number
8 years ago
Sami Vaarala
e256c33773
Add duk_{hdecenv,hobjenv} to dist/configure
8 years ago
Sami Vaarala
267d5a7ce8
Genbuiltins.py ROM duk_hobjenv changes
8 years ago
Sami Vaarala
f40dc3a6af
Genbuiltins support for a ROM string hash lookup
8 years ago
Sami Vaarala
b3cc695c0f
Dist/configure fix, hashprime removal
8 years ago
Sami Vaarala
0c4330c15f
Genconfig, commented out removed cfg opt check
8 years ago
Sami Vaarala
a5c1131ef6
Genbuiltins fixes for string chaining
8 years ago
Sami Vaarala
f7a4858b0d
Fix sources metadata comment field
8 years ago
Sami Vaarala
f622f8b623
Update license / SPDX year range
8 years ago
Sami Vaarala
d688f7ede2
Downgrade unused option info to debug for now
8 years ago
Sami Vaarala
5020200af2
Genbuiltins ES6 -> ES2015 renames
8 years ago
Sami Vaarala
6993c80b7d
Dist/build changes for symbol support
8 years ago
Sami Vaarala
ce54c2a311
Genbuiltins support for Symbol keys and values
Allow internal keys / symbols to be specified in a structured manner so that
the YAML metadata doesn't need to know the exact internal encoding for them.
8 years ago
Sami Vaarala
82b2e34364
Genbuiltins fixes for property attributes
8 years ago
Sami Vaarala
1db6d4a952
Genbuiltins changes for .name and .length attrs
8 years ago
Sami Vaarala
b769dfccb0
Tools and util fixes for #if(n)def
8 years ago
Sami Vaarala
614e4ca4a3
Dist/tool changes for duk_api_inspect.c
8 years ago