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
jmesserly@google.com
b935f8f03e
"Reverting 12887"
...
R=efortuna@google.com
Review URL: https://codereview.chromium.org//10979030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12892 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 01:28:35 +00:00
blois@google.com
bf978d4873
Adding constructor to ContentElement.
...
This is the same CL as http://code.google.com/p/dart/source/detail?r=12852 , but changing the test status to pass/fail on Chrome since the test works on very new builds, but fails on the version on the bots.
BUG=3870
Review URL: https://codereview.chromium.org//10977017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12888 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 00:56:55 +00:00
efortuna@google.com
f54390cbb6
Reapply webkitRequestAimationFrame->requestAnimationFrame with fix for dartium
...
and IE.
Review URL: https://codereview.chromium.org//10990013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12887 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 00:52:57 +00:00
vsm@google.com
014c75b1db
Regen html_dartium.dart
...
TBR=antonm
Review URL: https://codereview.chromium.org//10996011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12886 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 23:49:18 +00:00
blois@google.com
b7db16a902
Changing CSSClassSet from isFrozen to frozen for API consistency.
...
BUG=5443
Review URL: https://codereview.chromium.org//10993006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12882 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 21:57:09 +00:00
vsm@google.com
565633eaae
Regenerate dart:html files
...
Forgot to do this properly on my earlier commit.
TBR=blois
Review URL: https://codereview.chromium.org//10991024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12876 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 19:57:37 +00:00
blois@google.com
b0ac844bc2
Temporarily exposing createObjectUrl on Window.
...
TBR=antonm, sra1, podivilov
Review URL: https://codereview.chromium.org//10981028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12875 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 19:50:17 +00:00
blois@google.com
b44e38c513
Revert "Temporarily expose createObjectUrl/revokeObjectUrl on window."
...
This reverts commit 12871.
TBR=antonm
BUG=
Review URL: https://codereview.chromium.org//10984026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12873 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 19:32:45 +00:00
antonm@google.com
5d53ea6166
Temporarily expose createObjectUrl/revokeObjectUrl on window.
...
TBR=blois@google.com ,podivilov@chromium.org ,sra@google.com
Review URL: https://codereview.chromium.org//10989022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12871 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 19:07:47 +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
blois@google.com
ce6d3bd587
Hiding getElement* methods on ShadowRoot.
...
BUG=3831
Review URL: https://codereview.chromium.org//10974015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12858 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 17:39:59 +00:00
vsm@google.com
5031069f74
Fix SendPortSync dispatch for FF
...
TextEvent (used previously) does not work on FireFox
Review URL: https://codereview.chromium.org//10960062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12857 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 17:33:34 +00:00
blois@google.com
8b9d9b7990
Revert "Adding constructor to ContentElement."
...
This reverts commit 12851. The test is failing on Chrome Win7 dart2js for some reason.
TBR=vsm
BUG=
Review URL: https://codereview.chromium.org//10989021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12852 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 17:10:35 +00:00
blois@google.com
d270006100
Adding constructor to ContentElement.
...
BUG=3870
Review URL: https://codereview.chromium.org//10967028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12851 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 16:48:38 +00:00
blois@google.com
f1afe99cd9
Fixing creating SVG elements with trailing newlines.
...
BUG=3846
Review URL: https://codereview.chromium.org//10982002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12846 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 16:30:26 +00:00
lrn@google.com
a1faa6f135
Change IllegalArgumentException to ArgumentError.
...
Review URL: https://codereview.chromium.org//10989013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12841 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 12:27:52 +00:00
antonm@google.com
9480a93fc4
Refresh generated files after new roll.
...
TBR=podivilov@chromium.org
Review URL: https://codereview.chromium.org//10989015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12835 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 11:05:46 +00:00
antonm@google.com
f527595489
Roll Chrome forward.
...
TBR=podivilov@chromium.org
Review URL: https://codereview.chromium.org//10993003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12833 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 10:18:16 +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
7c00742634
Change raw string indicator from @ to r.
...
BUG=
Review URL: https://codereview.chromium.org//10991003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12822 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 23:59:09 +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
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
blois@google.com
3ebafe7947
Fixing up measurement test.
...
The test was trying to validate that postMessage is called back before setTimeout(0), but there is no guarantee of this by the browsers and the behavior is inconsistent (even within the context of a single browser).
BUG=1940
Review URL: https://codereview.chromium.org//10951016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12723 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 16:59:39 +00:00
jacobr@google.com
5f65b518bc
Enable document.implementation as it is useful when implementing a web components polyfill among other things.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10964027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12668 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:21:08 +00:00
blois@google.com
46c4f39719
Fixing up Table.createTBody et al.
...
BUG=4342
Review URL: https://codereview.chromium.org//10942017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12662 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 22:53:57 +00:00
blois@google.com
c145433018
Fixing samples/swarm test.
...
This was a bug from my CL to remove interfaces, these methods which forward to static factory methods need to handle the defaults properly.
BUG=5297
Review URL: https://codereview.chromium.org//10957003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12610 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 22:28:55 +00:00
efortuna@google.com
12c3bcdd4d
Take three of FooList to List<Foo> again.
...
Review URL: https://codereview.chromium.org//10947040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12596 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 19:49:11 +00:00
efortuna@google.com
1bc6009f30
Revert r12581.
...
TBR
Review URL: https://codereview.chromium.org//10952032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12590 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 19:03:59 +00:00
efortuna@google.com
7638353d5c
Take two of making FooList List<Foo>.
...
Review URL: https://codereview.chromium.org//10952008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12581 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 17:50:47 +00:00
blois@google.com
e5caa173b5
Removing interfaces.
...
This converts all interfaces in dart:html to abstract classes and changes the factory providers from factory methods to static methods.
This CL represents the minimal initial change to remove interfaces, but there's quite a bit of further cleanup which can be done after this (eliminating the factory providers in favor of redirecting factory constructors).
Also I'll be splitting the dartdoc changes out to a separate CL since that's a fairly large change in itself.
BUG=4525
Review URL: https://chromiumcodereview.appspot.com//10915245
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12580 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 17:30:49 +00:00
blois@google.com
9b250cab27
Revert "Changing return value of request animation frame."
...
This reverts commit 0df59d6575544308571b7c9c57d8e6f30aa3078b.
BUG=
Review URL: https://codereview.chromium.org//10950012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12509 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 20:09:50 +00:00
blois@google.com
de6e3ca8e8
Changing return value of request animation frame.
...
This should now be working after http://code.google.com/p/dart/source/detail?r=12440
BUG=3469
Review URL: https://codereview.chromium.org//10910291
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12508 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 19:55:55 +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
blois@google.com
03166989b9
Fixing up setting styles to invalidate on IE9.
...
This CL fixes a bug with the original CL where setProperty was defined twice for dartium.
BUG=2772
Review URL: https://codereview.chromium.org//10908269
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12454 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 19:51:21 +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
a742f0476e
Add _Merged suffix to merged dartium implementation files.
...
TBR=antonm@google.com
Review URL: https://codereview.chromium.org//10910305
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12429 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 10:59:27 +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
2f5f36c87c
Revert 12414.
...
Review URL: https://codereview.chromium.org//10910301
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12416 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-16 00:27:43 +00:00
efortuna@google.com
2c6d3d823d
Part one of Converting DOMList types like FooList to List<Foo>.
...
This makes the immutable list types actually inherit from list, but to actually make the
FooList types invisible to the user is going to take a lot more work.
Additionally "lists" with extra methods will need to be unified for consistency.
Review URL: https://codereview.chromium.org//10914293
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12414 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-15 22:15:41 +00:00
blois@google.com
819b948770
Revert "Flushing out requestAnimationFrame polyfill further."
...
This reverts commit 97206fb4caccdde006e4ce8676757bf298d4912d.
BUG=
Review URL: https://codereview.chromium.org//10907244
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12406 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 21:28:03 +00:00
blois@google.com
fcf2482d19
Flushing out requestAnimationFrame polyfill further.
...
Changing return value of request animation frame.
BUG=3469,3016
Review URL: https://chromiumcodereview.appspot.com//10919156
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12405 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 21:17:23 +00:00
antonm@google.com
1ce3d9003a
Support sequence<T> as return type.
...
R=podivilov@chromium.org
Review URL: https://codereview.chromium.org//10911307
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12389 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 15:30:31 +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
48876ada8d
Support proper parsing of sequence<T>.
...
And minor refactoring.
R=podivilov@chromium.org
Review URL: https://codereview.chromium.org//10916286
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12337 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 16:18:56 +00:00