lrn@google.com
f3608405a3
Reduce usage of IterableMixinWorkaround.
...
Review URL: https://codereview.chromium.org//13685004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20969 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:01:19 +00:00
antonm@google.com
bba9c614fd
Remove pseudo-shared Timer implementation.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//13515004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20962 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 12:33:02 +00:00
blois@google.com
8d97ac7099
Resubmit of:
...
Flipping the direction of WheelEvent.deltaX/Y to follow standards
We're trying to follow the W3C spec for WheelEvent, but the standard has the direction in the opposite direction from what we have it now.
BUG=6215
BUG=
Review URL: https://codereview.chromium.org//13571003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20946 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 00:44:02 +00:00
blois@google.com
94e75dfda4
Renaming WebGLVertexArrayObject
...
This one is special cased and skips the bulk prefix removal.
BUG=
Review URL: https://codereview.chromium.org//13467020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20920 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 16:00:11 +00:00
blois@google.com
70b83973b9
Fixing conversion of null event targets.
...
BUG=8659
Review URL: https://codereview.chromium.org//13471016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20888 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 19:59:57 +00:00
blois@google.com
7a46dae8b9
Revert "Flipping the direction of WheelEvent.deltaX/Y to follow standards"
...
This reverts commit ottp://code.google.com/p/dart/source/detail?r=20879.
Broke Dartium & FF, will follow up with fix shortly.
BUG=
Review URL: https://codereview.chromium.org//13567002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20880 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 18:12:09 +00:00
blois@google.com
2d63fad211
Flipping the direction of WheelEvent.deltaX/Y to follow standards
...
We're trying to follow the W3C spec for WheelEvent, but the standard has the direction in the opposite direction from what we have it now.
BUG=6215
Review URL: https://codereview.chromium.org//13465021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20879 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 17:52:15 +00:00
amouravski@google.com
7aa05bdb4a
Fixed an issue with subprocess.call.
...
Also, the exit code was wrong.
Review URL: https://codereview.chromium.org//13464023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20874 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 16:32:11 +00:00
lrn@google.com
3b13f62170
Remove addLast from List.
...
The List.addLast method has been deprecated for quite a while.
A recent change removed it from the interface, but left the
implementation in place (which caused some errors from the analyzer).
This removes it completely.
Review URL: https://codereview.chromium.org//13528004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20857 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 12:52:19 +00:00
lrn@google.com
33c565ac1b
Make stream subscription more lax wrt. calling methods on it after it's completed.
...
Don't throw if calling pause, resume or cancel after unsubscribing.
Review URL: https://codereview.chromium.org//12545056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20850 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 12:10:32 +00:00
blois@google.com
93f3ca932f
Fixing some dart2js annotation issues in web_gl lib.
...
BUG=
Review URL: https://codereview.chromium.org//13492002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20835 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 00:59:28 +00:00
blois@google.com
50e1cf4927
Adding web_gl library.
...
BUG=
Review URL: https://codereview.chromium.org//12851013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20833 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 00:45:20 +00:00
amouravski@google.com
40f57a819d
Put in a teardown for the docs test, fixed dom.py to actually run it correctly.
...
This also adds a PRESUBMIT.py, which will run on a commit and warn the
committer if the docs need to be regenerated. This only runs if
the html_dart2js, et. al. files have been modified.
Review URL: https://codereview.chromium.org//13251005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20820 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 21:14:09 +00:00
antonm@google.com
6b1c599f8b
Pass proper number of arguments.
...
TBR=vsm@google.com
Review URL: https://codereview.chromium.org//13430012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20802 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 17:04:15 +00:00
antonm@google.com
4bcca7342b
Only use special method to send messages to helper isolate.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//13430008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20791 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 16:34:36 +00:00
antonm@google.com
00d846b241
Implement spawnDomUri.
...
Also fix some bugs in the test.
R=podivilov@chromium.org ,vsm@google.com
Review URL: https://codereview.chromium.org//13144014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20776 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 12:48:34 +00:00
antonm@google.com
adedf4a31a
Add a test for timers in child isolates.
...
And fix some subtle problems.
R=podivilov@chromium.org ,vsm@google.com
Review URL: https://codereview.chromium.org//13308002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20773 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 12:29:34 +00:00
blois@google.com
92be3ab22e
Revert "Optimizing createElement_html"
...
This reverts commit http://code.google.com/p/dart/source/detail?r=20732
TBR
BUG=
Review URL: https://codereview.chromium.org//13393008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20733 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 16:56:05 +00:00
blois@google.com
ac244aa9c0
Optimizing createElement_html
...
BUG=8518
Review URL: https://codereview.chromium.org//12886043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20732 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 16:21:58 +00:00
antonm@google.com
6227900a5f
Reapply print redirection.
...
TBR=podivilov@chromium.org ,vsm@google.com
Review URL: https://codereview.chromium.org//13251009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20725 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 09:50:19 +00:00
gram@google.com
bb22c8d376
Revert r20668.
...
Review URL: https://codereview.chromium.org//13350002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20694 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 21:21:16 +00:00
antonm@google.com
e7476adc62
Quiclk fix: it is a future.
...
TBR=vsm@google.com
Review URL: https://codereview.chromium.org//13328002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20674 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 17:33:06 +00:00
antonm@google.com
36519f4f30
Redirect pure isolate print to helper isolate.
...
R=podivilov@chromium.org ,vsm@google.com
BUG=4686
Review URL: https://codereview.chromium.org//13185006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20668 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 16:45:21 +00:00
antonm@google.com
55b39086a5
Support nullable attributes and return types in Dartium.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//13201004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20660 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 15:13:00 +00:00
nweiz@google.com
c590e8ae0c
Switch pkg packages, pub, and dartdoc to use package: imports.
...
This also changes the SDK layout by replacing the "pkg" directory, which
contained the full source of all the packages needed by pub and dartdoc, with a
"packages" directory that contains only their lib directories. This directory is
used as the package root for pub and dartdoc when run from the SDK.
BUG=6745
Review URL: https://codereview.chromium.org//12782016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20640 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 20:27:28 +00:00
amouravski@google.com
4f78a435db
Added tests for docs.dart
...
Review URL: https://codereview.chromium.org//13000005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20630 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 18:25:23 +00:00
kevmoo@j832.com
9d00ff1f0f
dom: more final more of the time
...
Review URL: https://codereview.chromium.org//13044010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20625 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 17:49:16 +00:00
antonm@google.com
6eb7f1eb90
Save all version control dirs.
...
TBR=ager@google.com
Review URL: https://codereview.chromium.org//13162002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20614 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 13:56:21 +00:00
antonm@google.com
e7e640f15a
Quick fix.
...
TBR=vsm@google.com
Review URL: https://codereview.chromium.org//13148003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20611 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 12:32:02 +00:00
antonm@google.com
7a50271d5b
Support pure isolate timers.
...
R=vsm@google.com
BUG=4997
Review URL: https://codereview.chromium.org//12594027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20608 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 12:15:33 +00:00
antonm@google.com
d87a742ed3
Helper to support getContext options map analysis.
...
R=vsm@google.com
BUG=9424
Review URL: https://codereview.chromium.org//13119007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20607 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 11:58:03 +00:00
amouravski@google.com
ac5ad0afce
Fix docs.dart, which has been sad and neglected.
...
Review URL: https://codereview.chromium.org//13116021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20587 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 21:47:06 +00:00
kevmoo@j832.com
dd0ef399c1
KeyboardEventStream: lock it down
...
Use superclass
remove unused _callbacks field
Make most fields final
use static, const, final where applicable
Review URL: https://codereview.chromium.org//12907019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20568 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 17:41:15 +00:00
antonm@google.com
7aea1042f0
Chrome roll 188678->190564.
...
TBR=ager@google.com ,podivilov@chromium.org ,vsm@google.com
Review URL: https://codereview.chromium.org//12681018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20557 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 14:19:13 +00:00
antonm@google.com
12d188af43
Support asynchronuous spawnDomFunction.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//12887009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20554 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 08:50:49 +00:00
efortuna@google.com
031127b815
Incorporate Pete's comments on KeyboardEventStream.
...
BUG=
Review URL: https://codereview.chromium.org//12670017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20551 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 00:27:12 +00:00
efortuna@google.com
135b47cfc6
Add change to dartium source file in addition to the dart2js file.
...
BUG=
Review URL: https://codereview.chromium.org//13006009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20484 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 20:34:10 +00:00
efortuna@google.com
5ecbac23c1
Modern-ify KeyEvent handling.
...
BUG=
Review URL: https://codereview.chromium.org//12419011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20481 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 20:16:55 +00:00
efortuna@google.com
804fcbe9f6
Revert the revert.
...
BUG=
Review URL: https://codereview.chromium.org//12707003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20416 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 21:04:29 +00:00
efortuna@google.com
ad7c3f9561
"Reverting 20336"
...
BUG=
Review URL: https://codereview.chromium.org//12827032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20409 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 19:38:28 +00:00
ager@google.com
2c3d35ec54
Bring in new IDL files and generated code. Update the script that syncs the idl files to deal with the new third_party setup.
...
R=antonm@google.com
BUG=
Review URL: https://codereview.chromium.org//12676013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20378 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 13:22:29 +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
amouravski@google.com
46a4ecdae1
Unrevert https://codereview.chromium.org/12722009/
...
Review URL: https://codereview.chromium.org//12941008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20354 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 21:22:49 +00:00
blois@google.com
139b774130
Narrowing attribute maps to only accept strings.
...
Previously they could accept any value and would convert to a string, but it's not incredibly useful and potentially confusing.
BUG=8191
Review URL: https://codereview.chromium.org//12549025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20352 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 21:07:56 +00:00
blois@google.com
8e5fc0091b
Undeprecating some Element position APIs.
...
BUG=
Review URL: https://codereview.chromium.org//12747009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20347 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 20:54:23 +00:00
blois@google.com
8652d54682
Reverting "Fix drawImage on Firefox and update html.status."
...
TBR
BUG=
Review URL: https://codereview.chromium.org//12648011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20340 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 18:49:30 +00:00
blois@google.com
575ee1430c
Adding CORS support to HttpRequest
...
It's a fairly complicated polyfill to support IE9 CORS with 1 star and not something that jquery does out of the box.
BUG=6016
Review URL: https://codereview.chromium.org//12845008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20336 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:54:55 +00:00
amouravski@google.com
4eeb17ebe9
Fix drawImage on Firefox and update html.status.
...
Added some sample videos, as well as spruced up test suite.
Review URL: https://codereview.chromium.org//12942007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20334 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:45:41 +00:00
ager@google.com
f2f57e04ae
Fix Dartium Mac build. Add declaration of the declared info field.
...
R=antonm@google.com
BUG=
Review URL: https://codereview.chromium.org//12596014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20331 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:14:50 +00:00
blois@google.com
b5f7c44836
Fixing documentation for HttpRequest
...
The sample code wasn't updated from Future conversion.
BUG=8461
Review URL: https://codereview.chromium.org//12834005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20330 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:04:15 +00:00