summaryrefslogtreecommitdiff
path: root/js
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-11Add deno.metrics()Bartek Iwańczuk
2018-10-11timers: align unit tests with othersLi Hao
2018-10-10Rename fd to ridJ2P
2018-10-10Add counts for ignored , measured, filteredztplz
2018-10-08timers: add test for clearTimer bug #942Bert Belder
2018-10-08timers: fix clearTimer bugLi Hao
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-06Export missing io types from denons
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-05Remove race condition from netCloseReadSuccess testKevin (Kun) "Kassimo" Qian
2018-10-05Print test name before it fails.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-04formatBert Belder
2018-10-04Better color output in JS unit tests.Ryan Dahl
2018-10-04Use underscores in filenames.Ryan Dahl
2018-10-04Rename fbs to msg.Ryan Dahl
2018-10-04Rename flatbuffer base.msg to base.innerRyan Dahl
This better disambiguates with the msg_generated.ts module, which in JS we call "fbs", but would be better called "msg".
2018-10-03First pass at support for TCP servers and clients. (#884)Ryan Dahl
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.
2018-10-03Reenable copyFile testsKevin (Kun) "Kassimo" Qian
2018-10-03Update timer test to use #497 test caseAndy Hayden
This behavior was fixed by #885.
2018-10-03Implemented readDirSync, readDirJ2P
2018-10-03Clean up deno.platformRyan Dahl
Renames: deno.platform -> deno.platform.os deno.arch -> deno.platform.arch Removes unsupported operating systems and CPU architectures from the types. Uses the string "win" instead of "win32".
2018-10-03Rename tsconfig.generated.json to tsconfig.declarations.jsonRyan Dahl
2018-10-03test: disable incorrect testsBert Belder
These tests weren't running because with the old timer implementation time-outs were sometimes lost, and the test harness uses setTimeout to throw errors after a test has failed.
2018-10-03timers: add some more unit testsLi Hao
Closes #682.
2018-10-03timers: implement timers in javascriptBert Belder
2018-10-01Rename FdTable to ResourceTable.Ryan Dahl
Add docs to src/resources.rs.
2018-10-01Format.Ryan Dahl
2018-10-01Bind `this` to console methods (#873)Kevin (Kun) "Kassimo" Qian
Fixes #872
2018-09-30Limit depth of output in console.log for nested objects, and add console.dir ↵Yingbo (Max) Wang
(#826)
2018-09-30Add copyFile/copyFileSync (#863)Kevin (Kun) "Kassimo" Qian
2018-09-30FormatRyan Dahl
2018-09-30Add deno.truncate (#805)ztplz
2018-09-30Improve fetch headers (#853)ztplz
2018-09-28Adds basic File I/O and FD table.Ryan Dahl
Adds deno.stdin, deno.stdout, deno.stderr, deno.open(), deno.write(), deno.read(), deno.Reader, deno.Writer, deno.copy(). Fixes #721. tests/cat.ts works.
2018-09-27Print 'Compiling' when compiling TS.Ryan Dahl
2018-09-27Support zero-copy data in libdeno.send(). (#838)Ryan Dahl
This is a large API refactor of deno.h which replaces deno_send() and deno_set_response() with deno_respond(). It also adds a req_id parameter to the deno_recv_cb. Make writeFile/writeFileSync use it.
2018-09-26Error pretty print (print stack)Kevin (Kun) "Kassimo" Qian
2018-09-25Add SetGlobalTimeout().Ryan Dahl
To be used for a timers implementation soon.
2018-09-25Make Deno multithreaded.Ryan Dahl
By using the tokio default runtime. This patch makes all of the ops thread safe. Adds libdeno to JS globals to make for easier testing. Preliminary work for #733.
2018-09-25formatRyan Dahl