summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-08-17Upgrade fbs to latest.Ryan Dahl
Reduces numbers of warnings.
2018-08-17Command line flag parsing (#524)Ryan Dahl
In particular this allow -D for logging debug output.
2018-08-16Remove dead code: src/flatbuffer_builder.ccRyan Dahl
2018-08-16Implement deno_handle_msg_from_js in RustRyan Dahl
Fixes #419, #414.
2018-08-16Upgrade Rust FlatbuffersRyan Dahl
2018-08-11Rename mock_runtime_test to libdeno_testRyan Dahl
Fixes #465
2018-08-10Fix stacktraces in deno_nsKitson Kelly
2018-08-09Change Deno::new to return an owned BoxRobby Madruga
2018-08-09Add readFileSyncRyan Dahl
2018-08-09Add fs::read_file_sync_stringRyan Dahl
2018-08-09First pass at setTimeout with Tokio (#434)Ryan Dahl
2018-08-08Organize libdeno functions.Ryan Dahl
2018-08-08Fix rust logger.Ryan Dahl
2018-08-08Hacky error handling for Url::from_file_path.Ryan Dahl
2018-08-03Implement os.exitRyan Dahl
2018-08-02Update repo links to denoland.Ryan Dahl
2018-08-02Source map support (#429)Ryan Dahl
This change increases size: out/debug/obj/libdeno/from_snapshot.o 19M -> 34M out/release/deno 32M -> 47M
2018-08-01Optimize compile time by using asm.Ryan Dahl
Switches to using asm incbin to embed the V8 snapshot instead of outputing C code and then compiling it. Compile time for from_snapshot.o goes from 44s to 1s.
2018-08-01Better handling of exceptions during snapshot creation.Ryan Dahl
2018-08-01build: use compiled_action for create_snapshot.Ryan Dahl
Switch the order of the snapshot_creator args, in order to allow for optional source map arg.
2018-07-29Implement CodeCacheRyan Dahl
2018-07-29Add sha1 and tempfile crates.Ryan Dahl
2018-07-29Add from_c() to get a Deno object from ptr.Ryan Dahl
This is a utility function for CodeCache and other handlers.
2018-07-29Implement a logger so we can get logging output.Ryan Dahl
2018-07-26Fix clang warning.Ryan Dahl
warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare]
2018-07-25Add --v8-options flag (#405)robbym
2018-07-24Remove handlers crate target.Ryan Dahl
- Add build scripts for Rust flatbuffers. - Rewrites some reply.cc methods in Rust. - Changes some struct elements to table in msg.fbs (rust flatbuffers lacks support currently) - Renames handlers_test to test_rs. - This reorg is needed to make progress on the code cache handler.
2018-07-24Allow deno_buf with null alloc_ptr to be memcpy'dRyan Dahl
This is a temporary hack to allow for easier restructuring of the serialization code as we move Flatbuffer stuff from C++ to Rust.
2018-07-24Add mock_runtime_test for deno_last_exception.Ryan Dahl
2018-07-24Change copyrights to be 'Deno authors'.Ryan Dahl
2018-07-22Fix resolve_module() when module_specifier is an absolute file pathBert Belder
2018-07-21Add tools/test.py test runner. (#384)Ryan Dahl
2018-07-20Use 2 space indent.Ryan Dahl
Apologies for the churn, but my screen is small. rustfmt assumes big monitors.
2018-07-20Wrap rust at 80 columns.Ryan Dahl
2018-07-19Make test_resolve_module pass on windowsBert Belder
2018-07-19cleanup: Move C extern code to src/binding.rsRyan Dahl
2018-07-18Rename deno_nosnapshot to deno_ns.Ryan Dahl
2018-07-18Better exception output.Ryan Dahl
2018-07-18Execute JS for the first time in Rust rewrite.Ryan Dahl
Implements code_fetch handler in Rust. Add ability to embed string assets (for typescript declaration files) Remove deno_cc and deno_cc_nosnapshot targets.
2018-07-18Add deno::Basename and deno::BinaryContentAsC utilies.Ryan Dahl
These are prep for code sharing with the asset code soon to land.
2018-07-18Fix warnings in mock_runtime_test.ccRyan Dahl
2018-07-13Run tools/format.pyRyan Dahl
2018-07-13Move C++ test main function to its own file.Ryan Dahl
2018-07-12Move buffers between V8 and nativeBert Belder
* send()/recv() now operate on TypedArrays rather than ArrayBuffers. * Remove a copy (through ArrayBuffer.slice()) from the send path. * Remove a copy (through v8::ArrayBuffer::New()) from the return path. * After moving a buffer from JS to native, the ArrayBuffer object and it's views are made inaccessible ('neutered'). * `struct deno_buf` now holds two [ptr, length] tuples, one for the actual memory allocation, and one for the logical data contained therein. This is necessary because flatbuffers fills it's buffer bottom-up, so the serialized blob doesn't start at beginning of the buffer, but somewhere in the middle.
2018-07-12Remove channel argument from Rust message callbackBert Belder
This makes `deno` not crash any more.
2018-07-12Add nosnapshot executables for faster incremental builds (#359)Faris Amali Alis
Fixes #311.
2018-07-10Add rust url crate. (#355)Ryan Dahl
2018-07-08Add 'command id' field to messagesBert Belder
This allows for correlating response messages to the command message that caused them.
2018-07-07Add rust_test to gn build, with working example.Ryan Dahl
2018-07-06Remove channel parameter from deno_send/recv.Ryan Dahl