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
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
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
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
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
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
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
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
dgrove@google.com
7d558789d6
Rename client/{dom,html} to lib/{dom,html} .
...
Review URL: http://codereview.chromium.org//9845043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5840 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 16:29:54 +00:00