summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-12perf: Increase copy() buffer to 32kRyan Dahl
This will improve the threshold benchmark. Using 32k because that's what Go uses, but we should explore the value in the future. https://github.com/golang/go/blob/a0d6420d8be2ae7164797051ec74fa2a2df466a1/src/io/io.go#L391
2018-10-11Add support for --typesKitson Kelly
2018-10-11Replace globals.d.ts with lib.deno_runtime.d.tsKitson Kelly
2018-10-11Use node v8 on Travis.Ryan Dahl
Apparently OSX defaults to v6 and Linux to v8. v6 does not properly run //js/testing due to async usage.
2018-10-11Fix metrics() race condition. (#965)Ryan Dahl
2018-10-11Improve tools/unit_tests.py (#958)Ryan Dahl
Checks the output more carefully. The first line of output from js/unit_tests.ts should be something like "running 96 tests" And the last line should be something like "test result: ok. 96 passed; 0 failed; 0 ignored; 0 measured; 36 filtered out" This parses those strings and make sure they align. This will catch silent death bugs.
2018-10-11Add throughput benchmark (#961)Ryan Dahl
2018-10-11Add deno.metrics()Bartek IwaƄczuk
2018-10-11timers: align unit tests with othersLi Hao
2018-10-11Add links of issues in Roadmap.mdAmos Lim
2018-10-10src/http.rs -> src/http_util.rsRyan Dahl
So as not to conflict with http crate.
2018-10-10Rename fd to ridJ2P
2018-10-10Rename BadFileDescriptorJ2P
2018-10-10Upgrade hyper-rustlsRyan Dahl
This removes tokio-core, which was deprecated.
2018-10-10Clean up Isolate::event_loop with utility function.Ryan Dahl
2018-10-10Add counts for ignored , measured, filteredztplz
2018-10-09Add redirect follow feature (#934)Kevin (Kun) "Kassimo" Qian
2018-10-09Re-enable test_fetch_sync_stringRyan Dahl
2018-10-08timers: add test for clearTimer bug #942Bert Belder
2018-10-08timers: fix clearTimer bugLi Hao
2018-10-08Remove deno_get_data()Bert Belder
Instead, pass the isolate data to the dispatch callback directly.
2018-10-08Abide by the rules when passing Isolate between c and rustBert Belder
Ensure that at most one mutable Isolate reference exists at a time. `deno_execute()` and `deno_respond()` now borrow a reference to the rust-side isolate from the caller. When we need a reference to the isolate while one of these functions is on the stack, `deno_get_data()` can be used to borrow back that reference.
2018-10-08Remove ntasks aliasing workaroundBert Belder
2018-10-08Rename Deno.data to Deno.user_dataBert Belder
Also use the correct rust type for it.
2018-10-08Rename Isolate.ptr to Isolate.libdeno_isolateBert Belder
2018-10-08FormatBert Belder
2018-10-08Check thrown type, print String(...) if not instance of error (#939)Kevin (Kun) "Kassimo" Qian
Fixes #935
2018-10-07Updates to js to clean up default libraryKitson Kelly
2018-10-06refactor: stop hard coding some of benchmark namesYoshiya Hinosawa
2018-10-06docs: fix urls in commentsYoshiya Hinosawa
2018-10-06Export missing io types from denons
2018-10-06Make ntasks an atomic counter.Ryan Dahl
Fixes #919.
2018-10-06Add failing test for #919.Kevin (Kun) "Kassimo" Qian
2018-10-06Temporarily disable shutdown tests.Ryan Dahl
The fix for these wasn't immediately obvious - they seem to have been broken already but were skipped as reported in #919.
2018-10-06Fix symlink error messageKevin (Kun) "Kassimo" Qian
2018-10-06Fix unused variable warning in release mode.Ryan Dahl
2018-10-05Replace panic with error on windows for symlinkKevin (Kun) "Kassimo" Qian
2018-10-05tslint warning supress using tsconfigcedric05
2018-10-05Remove race condition from netCloseReadSuccess testKevin (Kun) "Kassimo" Qian
2018-10-05Upgrade FlatbuffersRyan Dahl
2018-10-05readme: fix formatting errorBert Belder
2018-10-05Clean up helpers in src/errors.rsRyan Dahl
* Add errors::bad_resource() * Move permission_denied() to errors.rs * Make op_symlink's not_implemented() into a runtime panic.
2018-10-05Print test name before it fails.Ryan Dahl
2018-10-05Always die on panic.Ryan Dahl
2018-10-05FormatRyan Dahl
2018-10-05Implement closeRead/closeWrite using TcpStream::shutdown (#903)Kevin (Kun) "Kassimo" Qian
2018-10-05Hide compiler module (#909)Kitson Kelly
Fixes #876
2018-10-05Changed tools/lint.py to lint the entire js and tests directories. (#900)Chris Bystrek
* Changed tools/lint.py to lint the entire js and tests directorys and sub directories, currently it was pointing at tsconfig and would only lint files that were part of js/main.ts or node_modules/typescript/lib/lib.esnext.d.ts and their dependencies * Broke the typescript linting out into separate steps for the main typescript programing and tests. * Fixed linting issues in ts tests.
2018-10-04Move Platform from types to platformKitson Kelly
2018-10-04v0.1.7Ryan Dahl
- Improve fetch headers (#853) - Add deno.truncate (#805) - Add copyFile/copyFileSync (#863) - Limit depth of output in console.log for nested objects, and add console.dir (#826) - Guess extensions on extension not provided (#859) - Renames: deno.platform -> deno.platform.os deno.arch -> deno.platform.arch - Upgrade TS to 3.0.3 - Add readDirSync(), readDir() - Add support for TCP servers and clients. (#884) Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.