antonm@google.com
7291f59cdc
Some more cleanups.
...
R=ager@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//14367047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22026 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 12:14:26 +00:00
antonm@google.com
12d5e65894
Chrome roll.
...
TBR=ager@google.com , podivilov@chromium.org
Review URL: https://codereview.chromium.org//14211014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21967 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 18:02:30 +00:00
ager@google.com
ee0f44baff
Update code generator for dartium dart:html with typeddata.
...
R=antonm@google.com , vsm@google.com
BUG=
Review URL: https://codereview.chromium.org//13811054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21790 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:24:41 +00:00
ager@google.com
7f79491c06
Move to new dart:typeddata types
...
Mads: if you land this, please rerun go.sh from tools/dom/scripts to regenerate html_dart2js.dart. I didn't include it here to make this patchable.
Stephen: I still need to run the perf tests we talked about to sanity check.
Review URL: https://codereview.chromium.org//14367012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21789 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:22:51 +00:00
blois@google.com
639cab021b
Changing the IDL DartName= annotation to only operate on a per-member basis, allowing overloaded methods to be renamed independently.
...
This also includes a change to rename one overload of CanvasRenderingContext2D.createImageData as a test case.
The remaining changes are to address differences between old semantics of DartName and new semantics, as well as some ordering differences of generated code.
BUG=
Review URL: https://codereview.chromium.org//12964003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20355 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 21:50:15 +00:00
antonm@google.com
0eba171ced
Make Float{32,64}Array implement List<double>.
...
R=ager@google.com ,blois@google.com ,vsm@google.com
BUG=9282
Review URL: https://codereview.chromium.org//12886032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20232 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 18:45:18 +00:00
efortuna@google.com
c4437b9274
Reapply the expanded names with the correct form of requestFileSystem on the
...
test.
BUG=
Review URL: https://codereview.chromium.org//12663017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20136 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-16 01:02:25 +00:00
efortuna@google.com
26c5c48fe2
Revert 20127
...
TBR
BUG=
Review URL: https://codereview.chromium.org//12474007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20133 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-16 00:14:27 +00:00
efortuna@google.com
66b399a31e
Fix list syntax in python script.
...
BUG=
Review URL: https://codereview.chromium.org//12457026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20130 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-16 00:06:37 +00:00
efortuna@google.com
3e1f5ce451
Expanded map options to named parameters.
...
BUG=
Review URL: https://codereview.chromium.org//12531013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20127 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 23:46:13 +00:00
antonm@google.com
f438ac1d31
Maintain proper signature_index.
...
R=ager@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12660007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19851 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 11:38:30 +00:00
antonm@google.com
72dd746b39
Ensure proper order of overload checks.
...
As dart:typeddata's class can implement both counterpart
of ArrayBufferView and of ArrayBuffer, always favour
treatment of an argument as an ArrayBufferView.
R=ager@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12518013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19842 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 09:04:38 +00:00
antonm@google.com
598ddebb91
Allow more objects to be treated as ArrayBuffer and ArrayBufferView.
...
Temporary ugly hack. Eventually we'll just remap ArrayBuffer and
ArrayBufferView to the proper dart:typeddata types.
R=ager@google.com ,blois@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12543021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19794 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 14:36:00 +00:00
efortuna@google.com
58b10f811e
Reapply Futureification.
...
BUG=
Review URL: https://codereview.chromium.org//12543014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19590 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 00:13:57 +00:00
efortuna@google.com
60a5ed7215
"Reverting 19586"
...
BUG=
Review URL: https://codereview.chromium.org//12463028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19587 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:43:47 +00:00
efortuna@google.com
18f08c3a4c
Future-ify All the methods!
...
(with a few exceptions we've planned).
Also added some tests to test these apis.
BUG=
Review URL: https://codereview.chromium.org//12380046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19586 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:32:54 +00:00
efortuna@google.com
ce74c20fdb
Add supported checks to the SVG library, and library cleanup.
...
BUG=
Review URL: https://codereview.chromium.org//12082122
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17994 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:09:11 +00:00
amouravski@google.com
956d645a0f
Can now correctly add documentation to constructors.
...
Review URL: https://codereview.chromium.org//12087112
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17954 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:11:31 +00:00
efortuna@google.com
473bbc0487
"Reverting 17940"
...
BUG=
Review URL: https://codereview.chromium.org//12095088
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17941 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 19:48:36 +00:00
efortuna@google.com
cab5d4cc51
SVG Library cleanups and adding supported tag.
...
BUG=
Review URL: https://codereview.chromium.org//12038036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17940 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 19:38:00 +00:00
antonm@google.com
5d50a592a3
Support overloaded constructors.
...
R=blois@google.com ,efortuna@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12052076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17754 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 12:18:28 +00:00
amouravski@google.com
7d244f8eba
Fixed some bugs in dom docs and recovered documentation of Canvas stuff.
...
Review URL: https://codereview.chromium.org//12087003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17665 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 22:59:26 +00:00
blois@google.com
d2aa044d2b
Deprecating old DOM event APIs.
...
This also exposes EventTarget.dispatchEvent. We had discussed naming this as 'dispatch', but it seems a bit safer to use 'dispatchEvent' to avoid potential name conflicts.
BUG=
Review URL: https://codereview.chromium.org//12047054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17595 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:42:02 +00:00
antonm@google.com
abb2499b5a
Some more refactorings of overload dispatcher generation.
...
R=blois@google.com ,efortuna@google.com ,podivilov@chromium.org ,sra@google.com
Review URL: https://codereview.chromium.org//11896038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17522 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 07:51:18 +00:00
blois@google.com
764b68db02
Removing redundant event streams.
...
Basically removing the event stream providers from Document and Window for events which are also declared on Element. The streams themselves are still exposed, just that a single provider is now on Element.
Also removed MediaElement events from Window, as they are duplicative and should be accessed via the MediaElement provider.
I was also hoping that this would have some JS size benefits, but I'm not seeing any.
BUG=7860
Review URL: https://codereview.chromium.org//11956021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17229 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 18:29:00 +00:00
amouravski@google.com
9da44d6aed
Change /// @docsEditable to @DocsEditable annotation.
...
Review URL: https://codereview.chromium.org//11970019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17171 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:51:43 +00:00
amouravski@google.com
038af964dc
Changed @domName annotation in comment to full fledge @DomName annotation.
...
Review URL: https://codereview.chromium.org//11887006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17154 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 19:01:07 +00:00
blois@google.com
1ebf1939d8
Changing htmlrenamer to use DOM names rather than Dart names.
...
A number of issues-
- Changed entries to be keyed off of DOM names (like the rest of our lists)
- Fixed up incorrectly named entries (a couple of typos in member names)
- Added support for the Class.* catch-all. Cases were using it, but it wasn't actually supported.
- Fixed up static const members not being suppressed
- Removed entries which are no longer occurring (after validating that they are correct).
- Added logging to help keep the lists up to date.
BUG=
Review URL: https://codereview.chromium.org//11875028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17093 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 21:04:10 +00:00
blois@google.com
e28e124ef0
Adding supported checks and flags to window.performance.
...
BUG=
Review URL: https://codereview.chromium.org//11874003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16986 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 21:30:23 +00:00
antonm@google.com
8a23b874b7
Next step in overload dispatcher refactoring.
...
R=blois@google.com ,podivilov@chromium.org ,sra@google.com
Review URL: https://codereview.chromium.org//11720002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 12:18:21 +00:00
antonm@google.com
dae2d52af7
Nuke custom factory providers.
...
R=blois@google.com ,podivilov@chromium.org ,sra@google.com
Review URL: https://codereview.chromium.org//11719003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16917 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 12:11:59 +00:00
antonm@google.com
91cc0fb62e
Start unification of overload dispatcher generation.
...
Refactor checks generation and share it across backends.
R=blois@google.com ,podivilov@chromium.org ,sra@google.com
Review URL: https://codereview.chromium.org//11688005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16570 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-29 12:03:02 +00:00
antonm@google.com
2537279745
Generate static factories with optional arguments.
...
R=blois@google.com ,podivilov@chromium.org ,sra@google.com
Review URL: https://codereview.chromium.org//11697007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16568 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-29 09:42:48 +00:00
efortuna@google.com
01fb2bbc86
Moved most of html lib generating scripts into tools.
...
BUG=
Review URL: https://codereview.chromium.org//11691009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16557 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 22:26:48 +00:00