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
antonm@google.com
5661fd2288
Also require v8 scope for ScriptValue.
...
For now only for any, will get added for others too.
TBR=podivilov@chromium.org
Review URL: https://codereview.chromium.org//10914261
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12325 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 13:06:37 +00:00
antonm@google.com
708d060ab8
Map any to ScriptValue.
...
At least that's the way IDB in WebKit does it.
TBR=podivilov@chromium.org
Review URL: https://codereview.chromium.org//10933071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12324 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 12:58:19 +00:00
antonm@google.com
b7379326e6
Add another event name.
...
TBR=podivilov@chromium.org
Review URL: https://chromiumcodereview.appspot.com//10910220
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12248 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-12 09:30:17 +00:00
blois@google.com
1643d0b306
Revert "Fixing up setting styles to invalidate on IE9."
...
This reverts commit 3bf7c99df82d8343efbcd757e5fb1acd6d2aa611.
BUG=
Review URL: https://chromiumcodereview.appspot.com//10905219
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12219 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 20:29:40 +00:00
blois@google.com
06499a594c
Fixing up setting styles to invalidate on IE9.
...
BUG=2772
Review URL: https://chromiumcodereview.appspot.com//10917148
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12217 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 20:19:05 +00:00
antonm@google.com
e675b8581c
Migrate templates to new getter syntax.
...
Still there are a couple of occurences of get foo native 'JS' problem,
they are left as is.
TBR=podivilov@chromium.org
Review URL: https://chromiumcodereview.appspot.com//10913191
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12186 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 11:47:41 +00:00
antonm@google.com
6370617856
Revert some more cases.
...
TBR=podivilov@chromium.org
Review URL: https://chromiumcodereview.appspot.com//10928104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12178 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 10:37:20 +00:00
antonm@google.com
c4fe26a105
Return to old getter syntax for get foo native 'JS body' case.
...
TBR=podivilov@chromium.org
Review URL: https://chromiumcodereview.appspot.com//10918167
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12177 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 10:30:18 +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
lrn@google.com
f52c24b62f
Rename NoSuchMethodException to NoSuchMethodError.
...
Moved NoSuchMethodError to errors.dart.
No changes in co19 tests, but test status updated.
Review URL: https://chromiumcodereview.appspot.com//10909166
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12172 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 09:52:25 +00:00
vsm@google.com
7e57d748df
Roll WebKit IDL to multivm@858
...
Automatic output of: ./idlsync.py && ./fremontcutbuilder.py && ./dartdomgenerator.py
Review URL: https://chromiumcodereview.appspot.com//10911186
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12139 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 17:58:35 +00:00
antonm@google.com
31e338ba7b
Some more .gitignores.
...
TBR=efortuna@google.com
Review URL: https://chromiumcodereview.appspot.com//10912179
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12136 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 17:37:24 +00:00
antonm@google.com
a1770a8bbd
Sync .gitignore with the corresponding svn properties.
...
R=ahe@google.com
Review URL: https://chromiumcodereview.appspot.com//10914176
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12122 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 15:44:25 +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
antonm@google.com
f41e803c91
Render rest of arguments optional once met first optional argument.
...
Plus refactorings to signature generation.
R=podivilov@chromium.org
Review URL: https://chromiumcodereview.appspot.com//10909127
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12112 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 13:38:00 +00:00
podivilov@google.com
7b9755fbef
Fix AudioContext factory constructor.
...
TBR=antonm@google.com
Review URL: https://chromiumcodereview.appspot.com//10914175
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12110 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 12:08:10 +00:00
vsm@google.com
6df87ecbae
Restore systemdart2js.py script.
...
systemhtml.py is dependent on it. I believe it was inadvertently
working until now because the compiled .pyc file was picked instead.
TBR=efortuna@google.com
Review URL: https://chromiumcodereview.appspot.com//10917155
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12089 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-08 23:24:42 +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
antonm@google.com
8e24c438e7
Revert "Partially migrate from old getter syntax to new one."
...
This reverts commit 7f8adf4f1f466202f251efdcd65616aa18a6ee2e.
R=podivilov@chromium.org ,vsm@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10916177
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12059 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 20:02:34 +00:00
antonm@google.com
0c6f7f6224
Partially migrate from old getter syntax to new one.
...
There are still places for improvement, let's leave them for next CLs.
TBR=podivilov@chromium.org ,vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10928060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12058 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 19:56:31 +00:00
blois@google.com
6d68de486a
Adding parens back in to generated getters/setters. This is only until we get the generators to correctly omit them. I've opened bug #4992 to track fixing up the generators.
...
This CL just represents the results of re-generating the HTML lib, nothing else.
BUG=
Review URL: https://chromiumcodereview.appspot.com//10911154
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12051 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 18:25:20 +00:00
podivilov@google.com
136809aeda
Remove stale files from lib/html/src.
...
R=antonm@google.com
Review URL: https://chromiumcodereview.appspot.com//10910129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12032 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 13:13:52 +00:00
kasperl@google.com
9beb871852
Get rid of a lot of () for getters.
...
R=bak@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10919146
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12017 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 11:50:07 +00:00
blois@google.com
286b118a18
Implementing window.createObjectURL*
...
This is a resubmit of my original CL, but disabling the test on IE.
createObjectURL is supported on IE10, but not on IE9.
BUG=4231
Review URL: https://chromiumcodereview.appspot.com//10915128
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12003 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 00:14:18 +00:00
blois@google.com
ddf11946d8
Removing SelectElement.add method and adding a constructor.
...
BUG=2583,3947
Review URL: https://chromiumcodereview.appspot.com//10919136
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12002 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 00:09:26 +00:00
vsm@google.com
37b7e470e4
Remove proxying support from dart:html
...
I'm moving this functionality to a user-level library.
Review URL: https://chromiumcodereview.appspot.com//10914129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11997 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 22:27:45 +00:00