Commit Graph

6631 Commits

Author SHA1 Message Date
antonm@google.com 613746189b Allow empty strings as enum values.
R=blois@google.com,podivilov@chromium.org

Review URL: https://codereview.chromium.org//13454005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20977 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:00:21 +00:00
ahe@google.com 33c724ab95 Parse output from xcodebuild to make it easier to spot problems with non-incremental builds.
Review URL: https://codereview.chromium.org//13470019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20975 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:46:36 +00:00
erikcorry@google.com 4e0db7cede Revert 20969: Reduce usage of IterableMixinWorkaround
R=ahe@google.com
BUG=

Review URL: https://codereview.chromium.org//13598015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20972 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:18:13 +00:00
ahe@google.com 7ccd8ad5ef Wrapping files without library tags is neither necessary nor correct anymore.
Review URL: https://codereview.chromium.org//13674004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20971 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:11:40 +00:00
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
kustermann@google.com 1c1590da22 Remove \r in command stdout/stderr when building failure a failure output.
BUG=http://dartbug.com/8704

Review URL: https://codereview.chromium.org//13521002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20860 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 13:20:51 +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
kustermann@google.com 78ac77e8c9 Fixed test_progress to print the failure summary even if no stepname was given
Review URL: https://codereview.chromium.org//13432003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20846 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 11:32:44 +00:00
ahe@google.com 01fc0fc9d1 Update to co19 r515.
Review URL: https://codereview.chromium.org//13464007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20841 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 07:22:37 +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
blois@google.com 6fad216eb7 Expanding WebSocket test
BUG=

Review URL: https://codereview.chromium.org//12465018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20797 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 16:45:09 +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
ahe@google.com e86ae89c64 Revert "Workaround issue 8080:"
This reverts r20486.

Review URL: https://codereview.chromium.org//13463003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20778 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 14:10:01 +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
asiva@google.com b038bb085d Remove scalarlist creation step from sdk.
Review URL: https://codereview.chromium.org//13322007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20683 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 18:42:11 +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
efortuna@google.com 1f47bfa1bb Fixed regexp in test.
BUG=

Review URL: https://codereview.chromium.org//13229003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20644 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 21:06:44 +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
efortuna@google.com fac7fba1da Re-enable throwing if we try to set the unit test configuration twice.
BUG=

Review URL: https://codereview.chromium.org//13195004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20624 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 17:49:04 +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
kevmoo@j832.com 06befdfeb5 better warning in tools/testing/dart/test_options
Less helpful: Warning: combination of none and firefox is invalid.
More helpful: Warning: combination of compiler 'none' and runtime 'firefox' is invalid.

Review URL: https://codereview.chromium.org//13079005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20512 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 13:20:41 +00:00
kustermann@google.com ca08052687 Do not close stdout/stderr in CompactProgressIndicator
BUG=http://dartbug.com/9419

Review URL: https://codereview.chromium.org//13052004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20497 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 22:29:25 +00:00