andy finch
75fe80d5a4
use-snapshots
build option for cross compile support. (#1852 )
2019-03-04 18:09:35 -05:00
Ryan Dahl
b8a537d020
deno_core ( #1827 )
...
A new low-level crate with focus on speed.
This doesn't yet hook into the existing code base.
2019-02-26 17:36:05 -05:00
Ryan Dahl
8d1567fafb
Upgrade V8 to 7.4.158 ( #1767 )
...
This is to have access to this fix:
https://bugs.chromium.org/p/v8/issues/detail?id=8838
necessary for v8_postmortem_support.
2019-02-13 14:23:17 -05:00
Kevin (Kun) "Kassimo" Qian
1d36eb47eb
Support scoped variables, unblock REPL async op, and REPL error colors ( #1721 )
2019-02-09 16:55:40 -05:00
Ryan Dahl
79b95341d9
Upgrade V8 to 7.4.98 (kKeep fix) ( #1640 )
...
* Upgrade V8 to 7.4.98 (kKeep fix)
https://github.com/denoland/deno/issues/814
https://bugs.chromium.org/p/v8/issues/detail?id=8761
* fix tests
2019-02-06 23:43:31 -05:00
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
Ryan Dahl
06c0e29118
Fix cpplint
2019-01-30 15:53:23 -05:00
Yoshiya Hinosawa
77114fbda4
chore: update license lines ( #1557 )
2019-01-21 13:03:30 -06:00
Kevin (Kun) "Kassimo" Qian
c870cf4082
Add --prefetch flag for deps prefetch without running ( #1475 )
2019-01-15 12:19:58 -05: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
9909e8a759
Upgrade V8 to 7.2.502.16 ( #1403 )
2018-12-23 17:08:08 -05:00
Ryan Dahl
f986eb25c5
Merge deno_new_snapshotter behavior into deno_new ( #1318 )
2018-12-13 16:25:42 -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
f25220b2cf
Fix test_cc memory leaks.
...
These were discovered using the LSAN.
http://dev.chromium.org/developers/testing/leaksanitizer
2018-12-03 15:31:06 -08:00
Ryan Dahl
570269b73d
Don't use snapshot for src/isolate.rs tests.
2018-11-27 11:33:23 -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
Ryan Dahl
6afe94b3c8
libdeno: clean up
...
- Use a proper class for DenoIsolate.
- Move extern C stuff to api.cc
2018-10-24 14:52:38 -07:00