1. 04 1月, 2017 1 次提交
  2. 13 8月, 2016 3 次提交
  3. 12 8月, 2016 1 次提交
    • A
      Simplify Dart application startup (#2910) · cee7fef7
      Adam Barth 提交于
      There are now three ways to start Dart applications:
      
      1) From a precompiled snapshot
      2) From a snapshot
      3) From source
      
      When loading from source, we no longer use the complex data pipe /
      dependency catcher mechanism. Instead, we just load the source
      synchronously from the file system. This is appropriate because running
      from source is used only during development and not during production.
      
      The previous design was built assuming we would want to run from source
      over the network, which meant we needed to be able to load source
      asynchronously over a high latency channel.
      cee7fef7
  4. 10 8月, 2016 2 次提交
  5. 08 8月, 2016 4 次提交
  6. 06 8月, 2016 2 次提交
  7. 04 8月, 2016 2 次提交
  8. 30 6月, 2016 1 次提交
  9. 15 6月, 2016 1 次提交
  10. 11 6月, 2016 2 次提交
  11. 05 3月, 2016 1 次提交
  12. 11 2月, 2016 3 次提交
  13. 19 1月, 2016 2 次提交
    • A
      Remove integration between tonic and WTFString · 0140555b
      Adam Barth 提交于
      We used to share memory between Dart strings and WTF::String objects by
      way of the Dart externalized strings. That used to be important when the
      DOM shared many strings between C++ and Dart. However, now that we don't
      retain strings in C++ much anymore, we don't need this complexity.
      
      This patch removes DartStringCache and the integration. It also unwinds
      several cases where we were converting back and forth between
      WTF::String and std::string for no reason. Now we use std::string more
      consistently.
      
      For the case of ParagraphBuilder::addText, we now take a raw const
      char*, which more closely matches the API the DartVM exposes. That means
      we do a single copy out of the VM and into the render tree at that
      point.
      0140555b
    • A
      Move microtask queue into tonic · 1f4416f8
      Adam Barth 提交于
      Moving the microtask queue into tonic solves three problems:
      
      1) Removes three levels of indirection when invoking microtask
      callbacks.
      2) Removes the sky/engine/dom directory entirely.
      3) Removes the last client of the (inefficient) DartValue class.
      1f4416f8
  14. 07 1月, 2016 1 次提交
    • A
      Add direct wrappers to tonic · 72c87f27
      Adam Barth 提交于
      Instead of using a C++ object as a peer to the Dart wrapper, these wrapper hold
      arbitrary data in the internal field of the Dart wrapper.
      72c87f27
  15. 24 12月, 2015 1 次提交
  16. 30 10月, 2015 1 次提交
  17. 25 10月, 2015 1 次提交
  18. 23 10月, 2015 1 次提交
    • A
      Make NewTextPainter actually work · eb594bff
      Adam Barth 提交于
      The NewTextPainter is still disabled by default. A future patch will flip the
      flag to enable it.
      
      This patch uses a new approach to writing bindings by encoding data into array
      buffers. This approach is more efficient than the existing IDL based approach.
      If this works out well, we should convert our other performance-sensitive
      interfaces to this approach in future patches.
      eb594bff
  19. 02 10月, 2015 2 次提交
  20. 26 8月, 2015 1 次提交
  21. 17 7月, 2015 1 次提交
  22. 25 6月, 2015 1 次提交
    • A
      Factor DartLibraryProvider out of DartLoader · fa627b4b
      Adam Barth 提交于
      This CL factors the network interactions out of DartLoader into a
      DartLibraryProvider interface, paving the way for other library providers
      (e.g., offline).
      
      As part of this CL, I've renamed DartLoader to DartLibraryLoader and moved the
      class into tonic, where it can't have any direct network dependencies.
      
      R=eseidel@chromium.org
      
      Review URL: https://codereview.chromium.org/1202283004.
      fa627b4b
  23. 05 6月, 2015 1 次提交
  24. 28 5月, 2015 2 次提交
  25. 25 2月, 2015 1 次提交
  26. 24 2月, 2015 1 次提交