Commit Graph

10 Commits

Author SHA1 Message Date
podivilov@google.com 315a0f88c0 Get rid of System class.
R=antonm@google.com

Review URL: https://codereview.chromium.org//11018012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13106 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 10:11:47 +00:00
vsm@google.com 79beeec1d4 Speed up fremontcut/dartdomgenerator
- Parse IDL in parallel
- Support calling fremontcut from dartdomgenerator to avoid reading database

This speeds up the whole go.sh by about 4x on my machine.  Looks like the remaining bottleneck is in the emitter.

Review URL: https://codereview.chromium.org//10987042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13038 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 19:30:16 +00:00
podivilov@google.com b001a58bca Get rid of System classes for backend generators.
They introduce unnecessary level of indirection with no added value.

R=antonm@google.com,vsm@google.com

Review URL: https://codereview.chromium.org//10986048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12946 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 10:25:08 +00:00
podivilov@google.com 21cb9f8668 Refactor file paths handling in generator.
Introduce DartLibraryGenerator and CPPLibraryGenerator classes
that are responsible for creating per-interface files and importing
them into single library file at the end.

System and BaseGenerator implementations don't have to deal with file paths anymore.

R=antonm@google.com,vsm@google.com

Review URL: https://codereview.chromium.org//10987019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12898 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 10:22:54 +00:00
antonm@google.com 6717e8b430 Emit static IDL members.
R=blois@google.com,podivilov@chromium.org,sra@google.com

Review URL: https://codereview.chromium.org//10980015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12859 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 17:46:46 +00:00
antonm@google.com 3b1061c5e4 Revert "Emit static IDL members."
TBR=blois@google.com,podivilov@chromium.org,sra@google.com

Review URL: https://codereview.chromium.org//10973017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12797 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 18:51:18 +00:00
antonm@google.com 5bec20abdc Emit static IDL members.
R=blois@google.com,podivilov@chromium.org,sra@google.com

Review URL: https://codereview.chromium.org//10963057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12795 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 18:36:12 +00:00
podivilov@google.com 54071750b6 Fix generating html_dart2js.dart and html_dartium.dart files.
R=efortuna@google.com,vsm@google.com

Review URL: https://codereview.chromium.org//10950007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12506 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 17:18:41 +00:00
podivilov@google.com f1b4f7ed25 Fix dart:html generated directory structure and unify file names between backends.
New structure looks like this:
generated
├── dart2js
│   ├── dart
│   │   └── (interfaces, implementations, factory providers)
│   └── html_dart2js.dart
└── dartium
    ├── cpp
    │   └── (native bindings)
    ├── dart
    │   └── (interfaces, implementations, factory providers)
    ├── DartDerivedSources.cpp
    ├── DartResolver.cpp
    └── html_dartium.dart

R=antonm@google.com,vsm@google.com

Review URL: https://codereview.chromium.org//10917264

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12426 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 09:35:45 +00:00
efortuna@google.com 880f4d814a Remove lib/dom directory!
Review URL: https://chromiumcodereview.appspot.com//10913125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12082 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 23:52:00 +00:00