Masashi Hirano
e2d76278bf
Replace macros to check nullptr ( #1674 )
...
This replaces CHECK_EQ/CHECK_NE with CHECK_NULL/CHECK_NOT_NULL to check nullptr.
These macros are implemented in V8.
Refs: https://github.com/denoland/deno_third_party/blob/master/v8/src/base/logging.h#L312
2019-02-04 11:53:40 -05:00
Ryan Dahl
1770a77bca
Clean up return value of deno_execute
...
and deno_respond
2019-02-02 16:46:31 -05:00
Ryan Dahl
00597ffde1
Refactor libdeno ES module interface. ( #1624 )
...
Allows for future asynchronous module loading.
Add support for import.meta.url
Fixes #1496
2019-01-30 17:21:31 -05:00
JaePil Jung
dc09c3a65d
Minor code cleanups ( #1613 )
2019-01-29 10:37:27 -05:00
Yoshiya Hinosawa
77114fbda4
chore: update license lines ( #1557 )
2019-01-21 13:03:30 -06:00
Ryan Dahl
bba0ed3185
Add ESM support to libdeno
...
Introduces deno_execute_mod() for executing ES modules.
2019-01-03 09:45:40 -05:00
Ryan Dahl
f986eb25c5
Merge deno_new_snapshotter behavior into deno_new ( #1318 )
2018-12-13 16:25:42 -05:00
Ryan Dahl
f230734623
build: snapshot doesn't need source_map
...
Continuation of the work done in c113df.
2018-12-11 15:06:21 -05:00
Ryan Dahl
c113df1bb8
Process source maps in Rust instead of JS ( #1280 )
...
- Improves speed and binary size significantly.
- Makes deno_last_exception() output a JSON structure.
- Isolate::execute and Isolate::event_loop now return
structured, mapped JSError objects on errors.
- Removes libdeno functions:
libdeno.setGlobalErrorHandler()
libdeno.setPromiseRejectHandler()
libdeno.setPromiseErrorExaminer()
In collaboration with Ryan Dahl.
2018-12-06 23:05:36 -05:00
Ryan Dahl
d70b04c6d7
Add deno_config struct for isolate creation. ( #1277 )
...
In preperation for adding other callbacks to libdeno.
2018-12-04 15:06:20 -08:00
Ryan Dahl
0bec0fa594
Remove leaks from snapshot_creator
2018-12-03 19:34:01 -08:00
Ryan Dahl
0501330607
Add libdeno.shared global shared ArrayBuffer.
2018-10-24 14:52:38 -07:00
Ryan Dahl
61cda72881
libdeno: Expose snapshot creation.
2018-10-24 14:52:38 -07:00
Yoshiya Hinosawa
aaabc853e8
chore: move libdeno files to //libdeno/
2018-08-19 11:27:47 -04:00