1. 15 8月, 2019 1 次提交
  2. 08 8月, 2019 1 次提交
    • R
      Add op_id throughout op API (#2734) · e438ac2c
      Ryan Dahl 提交于
      Removes the magic number hack to switch between flatbuffers and the
      minimal dispatcher.
      
      Adds machinery to pass the op_id through the shared_queue.
      e438ac2c
  3. 18 6月, 2019 1 次提交
  4. 15 6月, 2019 1 次提交
  5. 14 6月, 2019 1 次提交
  6. 09 6月, 2019 1 次提交
  7. 03 5月, 2019 1 次提交
  8. 08 4月, 2019 1 次提交
  9. 31 3月, 2019 1 次提交
    • R
      Move //libdeno to //core/libdeno (#2015) · c9614d86
      Ryan Dahl 提交于
      Fixes some sed errors introduced in c43cfe.
      
      Unfortunately moving libdeno required splitting build.rs into two parts,
      one for cli and one for core.
      
      I've also removed the arm64 build - it's complicating things at this
      re-org and we're not even testing it. I need to swing back to it and get
      tools/test.py running for it.
      c9614d86
  10. 26 3月, 2019 1 次提交
  11. 19 3月, 2019 1 次提交
    • R
      Integrate //core into existing code base · 44773c9b
      Ryan Dahl 提交于
      This disables a few tests which are broken still:
      - tests/error_004_missing_module.test
      - tests/error_005_missing_dynamic_import.test
      - tests/error_006_import_ext_failure.test
      - repl_test test_set_timeout
      - repl_test test_async_op
      - repl_test test_set_timeout_interlaced
      - all of permission_prompt_test
      44773c9b
  12. 13 3月, 2019 1 次提交
  13. 10 3月, 2019 1 次提交
  14. 27 2月, 2019 1 次提交
    • R
      deno_core (#1827) · b8a537d0
      Ryan Dahl 提交于
      A new low-level crate with focus on speed. 
      This doesn't yet hook into the existing code base.
      b8a537d0
  15. 22 1月, 2019 1 次提交
  16. 27 10月, 2018 1 次提交
  17. 18 10月, 2018 1 次提交
  18. 04 10月, 2018 3 次提交
  19. 28 9月, 2018 1 次提交
    • R
      Support zero-copy data in libdeno.send(). (#838) · d38ccfc6
      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.
      d38ccfc6
  20. 22 9月, 2018 1 次提交
  21. 10 9月, 2018 3 次提交
    • R
      fbs_util.ts -> dispatch.ts · 3afc0b84
      Ryan Dahl 提交于
      And send() -> sendSync()
      3afc0b84
    • R
      Remove namespace from src/msg.fbs · a4f1b367
      Ryan Dahl 提交于
      a4f1b367
    • R
      Map promises onto futures. · 0d03fafb
      Ryan Dahl 提交于
      Refactors handlers.rs
      
      The idea is that all Deno "ops" (aka bindings) should map onto
      a Rust Future. By setting the "sync" flag in the Base message
      users can determine if the future is executed immediately or put
      on the event loop.
      
      In the case of async futures, a promise is automatically created.
      Errors are automatically forwarded and raised.
      
      TODO:
      
      - The file system ops in src/handler.rs are not using the thread pool
        yet. This will be done in the future using tokio_threadpool::blocking.
        That is, if you try to call them asynchronously, you will get a promise
        and it will act asynchronous, but currently it will be blocking.
      - Handlers in src/handler.rs returned boxed futures. This was to make
        it easy while developing. We should try to remove this allocation.
      0d03fafb
  22. 05 9月, 2018 1 次提交
  23. 31 8月, 2018 1 次提交