Ryan Dahl
bdf2d26ba1
v1.1.1
2020-06-19 14:48:14 -04:00
Ryan Dahl
cddaacc955
upgrade crates ( #6378 )
2020-06-19 13:44:28 -04:00
Ryan Dahl
5c8ce06c92
upgrade: v8 to 8.5.104, rusty_v8 0.5.1 ( #6377 )
2020-06-19 06:58:13 -04:00
Bartek Iwańczuk
7d41bacfba
v1.1.0
2020-06-12 18:43:09 +02:00
Andy Finch
1b6a8051b9
feat(core): add unregister op ( #6214 )
2020-06-09 18:14:13 -04:00
Ryan Dahl
79d9cf52d0
fix(core): ES module snapshots ( #6111 )
...
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-06-05 18:36:54 -04:00
Ryan Dahl
515d19d901
v1.0.5
2020-06-03 12:52:01 -04:00
Ryan Dahl
aa39dfc62f
upgrade: rusty_v8 0.5.0 ( #6070 )
2020-06-03 12:19:21 -04:00
Ryan Dahl
a90d9fbd34
fix: dynamic import BorrowMutError ( #6065 )
2020-06-03 12:18:29 -04:00
Ryan Dahl
041ccb6a0d
Remove dead code ( #6066 )
2020-06-03 16:06:34 +02:00
Ryan Dahl
23dc9c13db
Fix REPL BorrowMutError panic ( #6055 )
2020-06-02 16:37:52 -04:00
Bartek Iwańczuk
9c59a4b18c
v1.0.4
2020-06-02 15:48:17 +02:00
Valentin Anger
becbb56b19
feat(core): Ops can take several zero copy buffers ( #4788 )
2020-06-01 14:20:47 -04:00
Ryan Dahl
dad551a3a7
upgrade: Rust crates ( #5959 )
2020-05-30 11:35:44 +02:00
Ryan Dahl
d4b05dd89e
refactor: Split isolate and state using safe get_slot() ( #5929 )
2020-05-29 17:41:39 -04:00
Bartek Iwańczuk
106b001738
v1.0.3
2020-05-29 18:48:48 +02:00
Ryan Dahl
2610ceac20
tidy up deno_core modules ( #5923 )
2020-05-28 13:36:43 -04:00
Bartek Iwańczuk
526c9196e2
v1.0.2
2020-05-22 20:00:28 +02:00
Ryan Dahl
49dda23f6b
v1.0.1
2020-05-20 12:40:26 -04:00
Bert Belder
36fde75d77
Miscellaneous documentation and spelling improvements ( #5527 )
...
* Extended/updated documentation on code editor setup and plugins.
* Moved documentation to the right file.
* Fixed spelling errors in documentation and code.
* Updated broken links.
Co-authored-by: 迷渡 <justjavac@gmail.com>
Co-authored-by: AlfieriChou <alfierichou@gmail.com>
Co-authored-by: Anil Seervi <anil13112000@gmail.com
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de>
Co-authored-by: Tommy May <tommymay37@gmail.com>
Co-authored-by: Turbinya <wownucleos@gmail.com>
Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17 19:24:39 +02:00
扩散性百万甜面包
2c71780cfb
Simplify fmt::Display for ModuleResolutionError ( #5550 )
2020-05-17 11:33:44 -04:00
Akash Vishwakarma
6257684da6
Fix spelling: "--alow-write" => "--allow-write" ( #5486 )
2020-05-16 20:36:13 +02:00
Yiyu Lin
0b9942da84
fix some unwrap() in Rust ( #5485 )
2020-05-16 09:41:32 -04:00
Dante Calderón
c3a205bae8
Fix typos across the repo ( #5295 )
...
Corrections made:
* cli/js/tests/README.md:44:7: corrected "discoveres" to "discovers"
* cli/js/tests/chown_test.ts:111:37: corrected "priviledge" to "privilege"
* cli/worker.rs:231:56: corrected "decendants" to "descendants"
* deno_typescript/lib.rs:136:50: corrected "emmited" to "emitted"
* core/es_isolate.rs:492:67: corrected "registerd" to "registered"
* core/isolate.rs:103:28: corrected "initalize" to "initialize"
* docs/runtime.md:29:14: corrected "ect" to "etc"
* docs/tools/debugger.md:122:16: corrected "implementes" to "implements"
* std/encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere"
* std/encoding/csv.ts:37:43: corrected "referal" to "referral"
* std/fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable"
* std/fmt/README.md:21:40: corrected "Alternativly" to "Alternatively"
* std/fmt/README.md:35:68: corrected "seperated" to "separated"
* std/fmt/README.md:179:59: corrected "provded" to "provided"
* std/mime/multipart.ts:581:46: corrected "writen" to "written"
* std/path/_globrex.ts:19:52: corrected "equivelant" to "equivalent"
* std/node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous"
* tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance"
* std/node/module.ts:1003:18: corrected "existend" to "existed"
2020-05-14 06:38:42 +02:00
Bartek Iwańczuk
55d2c6bd10
v1.0.0
2020-05-13 18:07:15 -04:00
Ryan Dahl
593c3aa857
Clean up core/shared_queue.js ( #5237 )
2020-05-12 11:09:28 -04:00
Bartek Iwańczuk
35e8bc8de6
v1.0.0-rc3
2020-05-12 08:33:18 -04:00
Bartek Iwańczuk
d062ffc1ba
fix: source maps in inspector ( #5223 )
...
This commit fixes problems with source maps in Chrome Devtools
by substituting source map URL generated by TS compiler with
actual file URL pointing to DENO_DIR.
Dummy value of "source_map_url" has been removed from
"ScriptOrigin".
Also fixes lock file which used compiled source code to generate
lock hash; it now uses source code of the file that is
being compiled.
2020-05-11 23:48:36 +02:00
Bert Belder
3cccadcf0f
Change plugin interface to prevent segfaults when unloading plugin ( #5210 )
...
Fixes: #3473
Closes: #5193
2020-05-11 22:39:13 +02:00
Marcus Weiner
f6b617784f
Allow starting isolate from snapshot bytes on the heap ( #5187 )
2020-05-10 03:00:40 +02:00
Bartek Iwańczuk
d8f5b37218
1.0.0-rc2
2020-05-09 15:37:22 -04:00
Bert Belder
7e00b2471d
Upgrade to rusty_v8 0.4.2 / V8 8.4.300 ( #5113 )
2020-05-06 22:35:24 +02:00
Ryan Dahl
2b15e53d5a
Upgrade crates ( #5104 )
2020-05-06 10:10:51 -04:00
Ryan Dahl
5f67a202ff
v1.0.0-rc1
2020-05-04 15:46:39 -04:00
Fenzland
25b765c123
fix misaligned error reporting on tab char ( #5032 )
2020-05-01 13:03:54 -04:00
Bartek Iwańczuk
46bfcbbaa8
refactor(core): add "prepare_load" hook to ModuleLoader trait ( #4866 )
...
This PR adds prepare_load hook method to ModuleLoader trait. It allows implementors to perform preparation work before starting actual module loading into isolate. It's meant to be used in CLI; where "transpilation" step will be explicitly performed during prepare_load instead of doing it adhoc for each module if needed.
2020-04-30 14:37:06 +02:00
Thiago Veronezi
4bc9c18fe9
adding missing test cases for <unknown> base ( #4988 )
2020-04-30 03:10:28 -04:00
Bartek Iwańczuk
f92bb9cf4d
v0.42.0
2020-04-29 17:04:05 -04:00
Bartek Iwańczuk
7a94ea08e9
fix(core): fix top-level-await error handling ( #4911 )
2020-04-27 17:25:26 +02:00
Bartek Iwańczuk
f7d1f82796
core: add id field to RecursiveModuleLoad ( #4905 )
...
This commit unifies handling of ids for main module/dynamic
import loads in EsIsolate.
2020-04-26 19:00:10 +02:00
Ryan Dahl
d8711155ca
Rename deno_core::Isolate to deno_core::CoreIsolate ( #4851 )
2020-04-23 11:51:07 +02:00
Bert Belder
10a174834e
Upgrade to rusty_v8 v0.4.0 ( #4856 )
2020-04-23 03:35:52 +02:00
Ryan Dahl
cc1720132a
Move resource_table from deno::State to deno_core::Isolate ( #4834 )
2020-04-21 09:48:44 -04:00
Nayeem Rahman
ef6ee25e09
refactor(cli/fmt_errors): Improve source line formatting ( #4832 )
2020-04-20 15:39:02 -04:00
Ryan Dahl
6e5f3453f8
Remove core/plugin.rs ( #4824 )
...
This simplifies the plugin interface in order to deliver op crates with a similar API
2020-04-20 10:27:15 -04:00
Ryan Dahl
c1ec042a00
Modify op dispatcher to include &mut Isolate argument ( #4821 )
...
- Removes unnecessary RwLock and Rc around the op registry table
- Preparation to move resource_table to deno_core::Isolate.
- Towards #3453 , #4222
2020-04-19 23:54:46 -04:00
Nayeem Rahman
4e3532fe7b
fix(core/js_errors): Get error's name and message from JS fields ( #4808 )
2020-04-19 15:17:22 +02:00
Ryan Dahl
4d2b9cd37a
Fix Op definitions ( #4814 )
2020-04-18 20:05:13 -04:00
EnokMan
47617e60d5
feat: startTLS ( #4773 )
2020-04-18 11:21:20 -04:00
Bartek Iwańczuk
00fa4858b0
v0.41.0
2020-04-16 10:47:12 -04:00
Ryan Dahl
5f250bb148
Properly propagate error when deno_core::Isolate gets syntax error ( #4770 )
...
Co-authored-by: Filipe Schenkel de Souza <filipe.schenkel@azion.com>
Co-authored-by: Douglas Caetano dos Santos <douglas.santos@azion.com>
Co-authored-by: João Avelino Bellomo Filho <joao.avelino@azion.com>
2020-04-16 12:58:17 +02:00
Ryan Dahl
fab0204cbf
Make writeSync, readSync, seekSync, openSync, isatty proper synchronous syscalls ( #4762 )
2020-04-15 20:43:19 -04:00
Ryan Dahl
cb5dd69dda
upgrade: rust crates ( #4742 )
2020-04-14 09:31:29 -04:00
Nayeem Rahman
0ea6eb83a9
refactor(core/js_error): Align JSStackFrame with CallSite ( #4715 )
...
Renames and adds missing fields to JSStackFrame from CallSite. Fixes #4705 .
Cleans up base changes for line and column numbers.
2020-04-13 10:54:16 -04:00
Nayeem Rahman
2b362bef85
refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() ( #4706 )
2020-04-11 02:08:11 -04:00
Nayeem Rahman
8b4508338b
fix(core/js_error): Get frame data from prepareStackTrace() ( #4690 )
...
Fixes: #2703
Fixes: #2710
Closes: #4153
Closes: #4232
Co-authored-by: Kevin (Kun) Kassimo Qian <kevinkassimo@gmail.com>
2020-04-10 18:26:52 +02:00
Ryan Dahl
0cf4ac91e6
v0.40.0
2020-04-08 14:59:06 -04:00
Ryan Dahl
b7e673ba93
upgrade: rust crates ( #4679 )
2020-04-08 14:29:42 -04:00
Kitson Kelly
f527407287
clippy ( #4618 )
2020-04-03 22:41:16 -04:00
Ryan Dahl
cb0acfe305
v0.39.0
2020-04-03 14:38:56 -04:00
Andy Finch
d8f32c7eff
remove Send
trait requirement from the Resource
trait ( #4585 )
2020-04-03 10:35:28 -04:00
Ryan Dahl
ff0b32f81d
upgrade: rusty_v8 v0.3.10 ( #4576 )
2020-04-02 09:24:29 -04:00
Michał Sabiniarz
30fdf6dc83
console: print promise details ( #4524 )
2020-03-30 19:01:19 -04:00
Ryan Dahl
d6cb3892d4
v0.38.0
2020-03-28 15:26:58 -04:00
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields ( #4498 )
2020-03-28 13:03:49 -04:00
Ryan Dahl
5837ce464c
upgrade: rusty_v8 to v0.3.9 ( #4505 )
2020-03-28 10:00:14 -04:00
Ryan Dahl
2874664e91
feat: Support Inspector / Chrome Devtools ( #4484 )
...
This is a first pass implementation which is still missing several important
features:
- support for --inspect-brk (#4503 )
- support for source maps (#4501 )
- support for piping console.log to devtools console (#4502 )
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Matt Harrison <mt.harrison86@gmail.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-03-27 16:09:51 -04:00
Ryan Dahl
b924e5ab7e
v0.37.1
2020-03-23 17:14:34 -04:00
Ryan Dahl
d143fe61bc
v0.37.0
2020-03-23 12:28:27 -04:00
Ryan Dahl
0adc86f105
Remove DENO_BUILD_MODE and DENO_BUILD_PATH ( #4431 )
...
* Remove DENO_BUILD_MODE and DENO_BUILD_PATH
Also remove outdated docs related to ninja/gn.
* fix
* remove parameter to build_mode()
* remove arg parsing from benchmark.py
2020-03-20 21:48:34 -04:00
Samrith Shankar
798904b0f2
Add require-await lint rule ( #4401 )
2020-03-20 09:38:34 -04:00
Bartek Iwańczuk
87d2ba42bf
perf: Optimize TextEncoder and TextDecoder ( #4430 )
...
* add tests for "Deno.core.encode" and "Deno.core.decode" for empty inputs
* use "Deno.core.encode" in "TextEncoder"
* use "Deno.core.decode" in "TextDecoder"
* remove "core_decode" and "core_encode" benchmarks
2020-03-19 21:31:56 +01:00
Kevin (Kun) "Kassimo" Qian
2f3de4b425
Simplify timer with macrotask callback ( #4385 )
2020-03-19 10:45:28 -04:00
Nikolai Vavilov
8c1c929034
fix: stack traces for modules imported via std/node's require ( #4035 )
2020-03-19 10:42:07 -04:00
Bert Belder
a2b2851582
Upgrade rust crates ( #4412 )
2020-03-17 17:42:22 -07:00
Bartek Iwańczuk
1edb20b399
refactor: add no-return-await lint rule ( #4384 )
2020-03-16 10:22:16 +01:00
Bartek Iwańczuk
dc6e0c3591
feat: Deno.core.{encode,decode}; standalone UTF-8 encoding/decoding ( #4349 )
...
This commits add two new methods to "Deno.core" namespace: "encode" and "decode".
Those methods are bound in Rust to provide a) fast b) generally available of encoding and decoding UTF-8 strings.
Both methods are now used in "cli/js/dispatch_json.ts".
2020-03-15 15:31:55 +01:00
Bert Belder
0df9823cba
Upgrade to rusty_v8 0.3.5 / v8 8.2.308 ( #4364 )
2020-03-14 15:26:56 -07:00
Ryan Dahl
3ed6ccc905
v0.36.0
2020-03-11 19:13:01 -04:00
Ryan Dahl
18076db8f0
upgrade rust dependencies ( #4270 )
2020-03-07 15:51:23 -05:00
Bert Belder
eafd40feab
Do not convert exceptions to JSON and back ( #4214 )
2020-03-02 14:20:16 -08:00
Bert Belder
3fcbf8789e
Don't reset exception handle after calling ErrWithV8Handle::get_handle() ( #4214 )
2020-03-02 13:18:57 -08:00
Bartek Iwańczuk
cfe4369ded
refactor: rename structures related to Modules ( #4217 )
...
* rename structures related to ES Modules; add "Modules" prefix
* remove unneeded Unpin trait requirement for "ModuleLoader"
2020-03-02 19:12:49 +01:00
Ryan Dahl
ad21210edd
perf: use subarray instead of slice in dispatch minimal ( #4180 )
2020-03-01 17:17:59 -05:00
Bert Belder
ba0991ad2b
Refactor exception handling, remove message listener callback ( #4198 )
2020-02-29 16:27:19 -08:00
ecyrbe
199fb195f3
test: add ResourceTable tests ( #4185 )
2020-02-29 12:35:45 -05:00
Ryan Dahl
a29343c7d6
v0.35.0
2020-02-28 23:49:49 -05:00
Ryan Dahl
ab2798874f
upgrade: rusty_v8 0.3.4 ( #4179 )
2020-02-28 20:29:47 -05:00
Bert Belder
bc7dbfafff
Exit HandleScope before snapshotting ( #4168 )
...
The V8 documentation explicitly states that SnapshotCreator::CreateBlob()
should not be called from within a HandleScope.
Additionally, this patch removes some non-functional error handling code
from the deno_core::Isolate::snapshot() method.
2020-02-28 09:04:28 -08:00
Bert Belder
1cb1ab6c00
Merge mod_evaluate() and mod_evaluate_dyn_import() methods ( #4167 )
2020-02-27 16:30:18 -08:00
Bert Belder
397deb4e29
Fix typo in assert!() invocation ( #4167 )
2020-02-27 16:30:13 -08:00
Ryan Dahl
fb1075da6e
Remove impl Send for Isolate and EsIsolate ( #4151 )
2020-02-26 16:10:41 -05:00
Bert Belder
1a8ef36b71
Upgrade to rusty_v8 v0.3.3 ( #4119 )
2020-02-26 11:44:33 -08:00
Kevin (Kun) "Kassimo" Qian
5946808f66
tty: Deno.setRaw(rid, mode) to turn on/off raw mode ( #3958 )
2020-02-26 01:01:24 -05:00
Ryan Dahl
91b606aaae
Clean up how we use opIds ( #4118 )
2020-02-25 09:14:27 -05:00
Ryan Dahl
a0d3b4ebc5
v0.34.0
2020-02-20 10:57:42 -05:00
Bartek Iwańczuk
302debebb3
refactor: cleanup cli/lib.rs ( #4006 )
...
* rename methods on Worker related to module loading
* reorganize cli/lib.rs
* remove cli/progress.rs and cli/shell.rs
2020-02-18 10:08:18 -05:00
Bartek Iwańczuk
a0f015b1a3
refactor: replace Arc<Box<..>> with Rc<..> ( #3996 )
2020-02-15 01:18:36 +01:00
Ryan Dahl
87c329c45a
v0.33.0
2020-02-13 17:45:22 -05:00
Bartek Iwańczuk
79b3bc05d6
workers: basic event loop ( #3828 )
...
* establish basic event loop for workers
* make "self.close()" inside worker
* remove "runWorkerMessageLoop() - instead manually call global function
in Rust when message arrives. This is done in preparation for structured clone
* refactor "WorkerChannel" and use distinct structs for internal
and external channels; "WorkerChannelsInternal" and "WorkerHandle"
* move "State.worker_channels_internal" to "Worker.internal_channels"
* add "WorkerEvent" enum for child->host communication;
currently "Message(Buf)" and "Error(ErrBox)" variants are supported
* add tests for nested workers
* add tests for worker throwing error on startup
2020-02-11 10:04:59 +01:00
Andy Finch
1abd408770
No longer require aligned buffer for shared queue ( #3935 )
...
Fixes: #3925
2020-02-09 10:54:16 -08:00
Bartek Iwańczuk
cdba5ab6fc
refactor: rename ThreadSafeState, use RefCell for mutable state ( #3931 )
...
* rename ThreadSafeState to State
* State stores InnerState wrapped in Rc and RefCell
2020-02-08 20:34:31 +01:00
Bert Belder
f650c3edb3
Refactor deno_core_http_bench and make it single-threaded ( #3903 )
2020-02-07 18:17:03 -08:00
Bert Belder
25467aa7c7
Add blanket impl for the 'Resource' trait ( #3903 )
2020-02-07 17:18:28 -08:00
Ryan Dahl
161cf7cdfd
refactor: Use Tokio's single-threaded runtime ( #3844 )
...
This change simplifies how we execute V8. Previously V8 Isolates jumped
around threads every time they were woken up. This was overly complex and
potentially hurting performance in a myriad ways. Now isolates run on
their own dedicated thread and never move.
- blocking_json spawns a thread and does not use a thread pool
- op_host_poll_worker and op_host_resume_worker are non-operational
- removes Worker::get_message and Worker::post_message
- ThreadSafeState::workers table contains WorkerChannel entries instead
of actual Worker instances.
- MainWorker and CompilerWorker are no longer Futures.
- The multi-threaded version of deno_core_http_bench was removed.
- AyncOps no longer need to be Send + Sync
This PR is very large and several tests were disabled to speed
integration:
- installer_test_local_module_run
- installer_test_remote_module_run
- _015_duplicate_parallel_import
- _026_workers
2020-02-03 18:08:44 -05:00
Bartek Iwańczuk
f4cc08c4fc
v0.32.0
2020-02-03 16:36:07 +01:00
Luka Hartwig
f168597b7a
Remove //tests symlink ( #3849 )
2020-02-02 16:55:22 -05:00
Andy Finch
4f8a5c0239
feat: support crate imports in deno_typescript ( #3814 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-02-01 12:02:23 +01:00
Ryan Dahl
d14864c57c
Upgrade rusty_v8 ( #3816 )
2020-01-29 13:03:42 +01:00
Bartek Iwańczuk
c824eb5817
refactor: Modules and Loader trait ( #3791 )
...
* move is_dyn_import argument from Loader::resolve to Loader::load - it was always kind of strange that resolve() checks permissions.
* change argument type from &str to &ModuleSpecifier where applicable
2020-01-25 18:53:16 +01:00
Bert Belder
37a7b01d5c
Refactor error tracking and scope juggling in deno_core ( #3783 )
2020-01-25 14:31:42 +01:00
Ryan Dahl
5e32c5ea44
s/PinnedBuf/ZeroCopyBuf ( #3782 )
2020-01-24 15:10:49 -05:00
Ryan Dahl
8bc639a23e
v0.31.0
2020-01-24 11:07:53 -05:00
Bert Belder
a6a7253df9
Fix: take control buffer offset/length into account again ( #3769 )
2020-01-24 05:34:55 +01:00
Ryan Dahl
9f1e4237a5
Upgrade rusty_v8 to 0.2.0 ( #3764 )
2020-01-23 20:22:05 -05:00
Ryan Dahl
74e6eb14dd
update readmes ( #3765 )
2020-01-23 22:32:52 +01:00
Bartek Iwańczuk
5a658a2ff7
refactor: remove Isolate.shared_response_buf optimization ( #3759 )
...
Op return values are no zero copied from Rust to JS.
2020-01-23 10:49:46 -05:00
Bartek Iwańczuk
bd9561f4de
Reland "Create an old program to be used in snapshot." ( #3747 )
...
* read CLI assets from disk during snapshotting
2020-01-22 20:18:01 +01:00
Bert Belder
8c3cd634a8
Upgrade to rusty_v8 v0.1.1 ( #3741 )
2020-01-21 21:31:52 +01:00
Ry Dahl
fa7f34eb8c
Revert "Create an old program to be used in snapshot. ( #3644 )"
...
Ref #3712 . This change allowed the deno_typescript crate to reference
cli/js/lib.deno_runtime.d.ts which breaks "cargo package". We intend to
reintroduce a revised version of this patch later once "cargo
package" is working and tested.
This reverts commit 737ab94ea1
.
2020-01-21 14:57:56 -05:00
Ryan Dahl
7fd50065a7
v0.30.1
...
This patch release is being done only to test crate publishing, hence
lack of release notes or published binaries.
2020-01-21 12:44:05 -05:00
Yoshiya Hinosawa
9de8178c9b
feat: add AsyncUnref ops ( #3721 )
...
This is in order to support features like signal handlers, which
shouldn't prevent the program from exiting.
2020-01-21 12:01:10 -05:00
Bartek Iwańczuk
7966bf14c0
refactor: split worker and worker host logic ( #3722 )
...
* split ops/worker.rs into ops/worker_host.rs and ops/web_worker.rs
* refactor js/workers.ts and factor out js/worker_main.ts - entry point for WebWorker runtime
* BREAKING CHANGE: remove support for blob: URL in Worker
* BREAKING CHANGE: remove Deno namespace support and noDenoNamespace option in Worker constructor
* introduce WebWorker struct which is a stripped down version of cli::Worker
2020-01-21 09:49:47 +01:00
Ryan Dahl
b2f01dcb50
v0.30.0
2020-01-18 07:58:49 -05:00
Bartek Iwańczuk
5fa056e53b
workers: minimal error handling and async module loading ( #3665 )
2020-01-17 18:43:53 -05:00
Bartek Iwańczuk
d776ca8f2e
fix deno_core_http_bench ( #3698 )
2020-01-17 15:26:51 +01:00
Andy Finch
fe5662058e
feat: support individual async handler for each op ( #3690 )
2020-01-17 08:26:11 -05:00
Bert Belder
d8ad81d3fb
Upgrade to rusty_v8 v0.1.0 ( #3691 )
2020-01-17 02:26:40 +01:00
Kitson Kelly
737ab94ea1
Create an old program to be used in snapshot. ( #3644 )
2020-01-12 12:20:33 +01:00
Bartek Iwańczuk
0d0ad360d3
refactor: remove Isolate.current_send_cb_info and DenoBuf, port Isolate.shared_response_buf ( #3643 )
...
* remove Isolate.current_send_cb_info
* remove DenoBuf
* remove Isolate.shared_ab
* port Isolate.shared_response_buf (last bit not ported from libdeno)
* add some docs for Isolate and EsIsolate
2020-01-11 10:49:16 +01:00
Bert Belder
c4e8ed3c44
Upgrade to rusty_v8 v0.0.25 ( #3645 )
2020-01-10 12:57:36 +01:00
Ryan Dahl
525784e564
v0.29.0
2020-01-09 11:42:24 -07:00
Ry Dahl
7d2d442a77
Upgrade rusty_v8 to 0.0.24 [V8 8.1.108] ( #3623 )
2020-01-08 10:17:09 -05:00
Bartek Iwańczuk
cbdf9c5009
refactor: module loading in EsIsolate ( #3615 )
...
* refactored RecursiveLoad - it was renamed to RecursiveModuleLoad, it does not take ownership of isolate anymore - a struct implementing Stream that yields SourceCodeInfo
* untangled module loading logic between RecursiveLoad and isolate - that logic is encapsulated in EsIsolate and RecursiveModuleLoad, where isolate just consumes modules as they become available - does not require to pass Arc<Mutex<Isolate>> around anymore
* removed EsIsolate.mods_ in favor of Modules and moved them inside EsIsolate
* EsIsolate now requires "loader" argument during construction - struct that implements Loader trait
* rewrite first methods on isolate as async
2020-01-08 15:06:04 +01:00
Bartek Iwańczuk
ad9fd589d4
core: factor out EsIsolate from Isolate ( #3613 )
2020-01-07 12:45:44 +01:00
Bartek Iwańczuk
8bf383710f
refactor: remove core/libdeno.rs ( #3611 )
2020-01-06 20:07:35 +01:00
Ry Dahl
29df272133
error on warnings ( #3612 )
2020-01-06 11:38:56 -05:00
Bartek Iwańczuk
870622d3cc
merge libdeno::DenoIsolate into core::Isolate ( #3605 )
2020-01-06 16:24:44 +01:00
Bert Belder
52a0f3a5ef
Upgrade rust crates and modernize hyper_hello ( #3606 )
2020-01-05 23:12:35 +01:00
Bartek Iwańczuk
a29eeaf326
libdeno: don't pass pointers between core::Isolate and libdeno ( #3602 )
2020-01-05 20:52:03 +01:00
Bartek Iwańczuk
c1d99ebeb9
remove libdeno::UserDataScope ( #3601 )
2020-01-05 18:22:38 +01:00
Ry Dahl
76e44ddfd0
Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' ( #3600 )
2020-01-05 11:56:18 -05:00
Ry Dahl
5f1df038fb
Replace libdeno with rusty_v8 ( #3556 )
2020-01-05 09:19:29 -05:00
Ryan Dahl
a61966a243
v0.28.1
2020-01-03 09:04:04 -05:00
Waldir Pimenta
2a36879e30
Add missing year ranges to copyright notices ( #3582 )
2020-01-02 18:41:59 -05:00
Ry Dahl
bfab4ed0df
Happy new year! ( #3578 )
2020-01-02 15:13:47 -05:00
Ry Dahl
328fef9cd6
v0.28.0
2020-01-02 08:41:25 -05:00
EnokMan
d4f2fda623
fix typos ( #3573 )
2020-01-02 07:48:46 -05:00
Bartek Iwańczuk
46d76a7562
upgrade: Tokio 0.2 ( #3418 )
2019-12-30 14:57:17 +01:00
Axetroy
3bb15ceaea
Upgrades rust to 1.40.0 ( #3542 )
2019-12-23 09:59:44 -05:00