Commit Graph

14 Commits

Author SHA1 Message Date
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
efortuna@google.com 55d7ab1fac Revert r12819 to look at IE fix offline.
Review URL: https://codereview.chromium.org//10986013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12823 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 00:13:02 +00:00
efortuna@google.com c9ea6ff843 Remove Webkit prefix for RequestAnimationFrame.
Review URL: https://codereview.chromium.org//10965044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12819 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 23:24:16 +00:00
efortuna@google.com 3f3417c68d Revert r12808.
Review URL: https://codereview.chromium.org//10981005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12810 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 21:43:42 +00:00
efortuna@google.com 42a03cb5a3 Reapply 12799.
Review URL: https://codereview.chromium.org//10957066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12808 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 21:23:36 +00:00
efortuna@google.com 23a4b72d67 Revert 12799.
Review URL: https://codereview.chromium.org//10957064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12802 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 19:54:37 +00:00
efortuna@google.com a41389ac03 Don't generate FooList if it behaves like List<Foo> exactly.
Review URL: https://codereview.chromium.org//10941047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12799 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 19:42:16 +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
antonm@google.com 61e9c9f2a8 Correct handling of return types for callbacks.
Actually, all WebKit cares about is if callback threw an exception or not.
So return type of callbacks should be actually ignored.
As of now it is always bool for WebKit IDLs, but sometimes it gets overridden
to void by supplemental IDLs.

R=podivilov@chromium.org
BUG=3016

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12440 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 16:03:30 +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
antonm@google.com 5d81898a10 Support sequence<T> as native bindings arguments.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12381 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 12:36:21 +00:00
antonm@google.com de54aa8289 Migrate scripts to new getter syntax.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10907171

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12173 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 10:06:59 +00:00
antonm@google.com d8c1c3a830 Rework overloads/optionals dispatch to use new ?a syntax.
Also remove all the ugly hacks we used to have.

R=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10913167

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12118 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 14:58:55 +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