blois@google.com
21ce609108
Fixing up a number of go.sh warnings
...
Tables have been falling out of date with IDL changes.
BUG=
Review URL: https://codereview.chromium.org//13725029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21016 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:39:27 +00:00
blois@google.com
e9fecb6927
Fixing html/worker_test on IE9
...
Workers aren't supported on IE9, test should be skipped.
BUG=
Review URL: https://codereview.chromium.org//13687005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21015 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:38:07 +00:00
kevmoo@j832.com
78c2deeca3
skipping IE test which is now timing out instead of failing
...
May still be related to https://code.google.com/p/dart/issues/detail?id=8983
Review URL: https://codereview.chromium.org//13741002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21014 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:36:39 +00:00
blois@google.com
3f82bebebe
Fixing dartdoc generation.
...
Went out of date with my last CL.
BUG=
Review URL: https://codereview.chromium.org//13730018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21013 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:24:43 +00:00
floitsch@google.com
e0979d9e7f
Add dart2dart_bot rule.
...
Review URL: https://codereview.chromium.org//13722025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21012 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:09:07 +00:00
blois@google.com
ef7bf8964d
Removing all Worker-related APIs
...
Need to revisit these once WebWorkers and Isolates are worked out.
BUG=8932
Review URL: https://codereview.chromium.org//13444007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21011 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:05:05 +00:00
efortuna@google.com
a46b113afd
Make html lists print a nice toString method.
...
BUG=
Review URL: https://codereview.chromium.org//13704017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21010 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 23:53:35 +00:00
hausner@google.com
ee69789e07
Add line table command to debugger
...
New command returns token information of a script. This will enable
the editor/debugger to translate token offsets to line numbers.
Review URL: https://codereview.chromium.org//13533016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21009 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 23:45:14 +00:00
srdjan@google.com
cbe8bd9a3a
Restore r20998 with a bug fix: add field to guarded_fields_ when it contains relevant cid. Was missing most cases and did not check for unique adds.
...
Review URL: https://codereview.chromium.org//13726023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21008 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 23:26:53 +00:00
efortuna@google.com
ae82b45193
Rename context2d to context2D.
...
BUG=
Review URL: https://codereview.chromium.org//13726010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21006 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 23:16:48 +00:00
kevmoo@j832.com
f2059edd6e
pub/validator/lib_test: use group instead of integration
...
All tests are now registered before the test system starts.
Review URL: https://codereview.chromium.org//13694002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21005 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 22:56:40 +00:00
floitsch@google.com
a813a57b5a
Remove unnecessary expect-package line.
...
BUG= http://dartbug.com/9703
Review URL: https://codereview.chromium.org//13454030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21004 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 22:35:54 +00:00
blois@google.com
4456d77285
Allowing Window.onBeforeUnload event to work properly.
...
There are a couple of issues here, fixing some of them, but not quite all.
Background- the beforeunload event is used to present a dialog to the user after they have clicked a window/tab close button, usually to indicate unsaved changes. This is effectively the only mechanism available to preempt the close action.
In WebKit, the user must return a string value from the beforeunload event and that string will be displayed in an alert dialog prompting the user if they are sure they want to leave the page.
In FireFox, IE & the W3C spec, the beforeunload event is of type BeforeUnloadEvent. The string used to prompt the user is specified by the 'returnValue' field. Furthermore, WebKit exposes 'returnValue' as a bool on Event, where the spec does not have it on Event at all.
With this change, a user can utilize the beforeunload event on all platforms:
window.onBeforeUnload.listen((e) {
e.returnValue = "foo!";
});
BUG=2350
Review URL: https://codereview.chromium.org//12218111
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21003 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 22:30:31 +00:00
srdjan@google.com
e7f1ae5383
Revert r20998.
...
Review URL: https://codereview.chromium.org//13739002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21001 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 21:44:17 +00:00
tball@google.com
73be577b9d
Disabled debugger test, as the expect.dart apparently isn't available.
...
Review URL: https://codereview.chromium.org//13722011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20999 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 21:05:04 +00:00
srdjan@google.com
44938de19c
Fix guarded_cid handling: add field to list of guarded_field at LoadField creation time.
...
Review URL: https://codereview.chromium.org//13529021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20998 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 21:01:30 +00:00
tball@google.com
b3cae06ace
Synced basic_debugger_test start on new "debugger initialized" message.
...
Review URL: https://codereview.chromium.org//13597004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20997 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 20:55:10 +00:00
floitsch@google.com
8fd6d0aafd
Remove Expect from core library.
...
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756
Review URL: https://codereview.chromium.org//12212016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
devoncarew@google.com
c5c15b0881
Rename the name of the new analyzer jar file from new_analyzer.jar to
...
dartanalyzer.jar (which I think will be the preferred name for it in
the SDK).
Update the test framework for these renames.
Review URL: https://codereview.chromium.org//12618010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20994 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:33:23 +00:00
kevmoo@j832.com
755c71f1fc
pkg/intl test cleanup
...
pkg/unittest has evolved a lot. Helping intl use some of the new features and
avoid some problems. I think I fixed some issues in the process
BUG=https://code.google.com/p/dart/issues/detail?id=9342
Review URL: https://codereview.chromium.org//13684003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20993 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 18:24:14 +00:00
ahe@google.com
76f2ff3197
Catch CalledProcessError which is throw if the command has non-zero exit code.
...
Review URL: https://codereview.chromium.org//13674014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20992 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 18:15:39 +00:00
ahe@google.com
6d1d524511
Only emit "interactive" output if stdout supports colors.
...
Review URL: https://codereview.chromium.org//13726008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20991 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 18:02:21 +00:00
floitsch@google.com
fa76e67a52
Update status file.
...
Review URL: https://codereview.chromium.org//13715003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20989 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:35:45 +00:00
floitsch@google.com
c93132625d
Fix for pub.
...
Review URL: https://codereview.chromium.org//13598017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20987 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:16:54 +00:00
antonm@google.com
13056c1db3
Roll IDLs forward.
...
TBR=ager@google.com ,blois@google.com,podivilov@chromium.org,vsm@google.com
Review URL: https://codereview.chromium.org//13734002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20986 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:08:10 +00:00
antonm@google.com
115ff4b40b
Map enums to strings.
...
R=blois@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//13704011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20984 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:00:25 +00:00
regis@google.com
46a5dbeb26
Support UseDartApi vm test on ARM.
...
Review URL: https://codereview.chromium.org//13671004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20981 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:46:53 +00:00
floitsch@google.com
e72250e49b
StreamConsumer has an addStream and a close functions.
...
The 'consume' function will be removed.
Review URL: https://codereview.chromium.org//13680002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20979 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:22:11 +00:00
floitsch@google.com
bef8ebb5f6
Add Iterable.fold (and Stream.fold) which replace reduce
.
...
For now this is just a copy. In a next step we will change the behavior of
`reduce`.
BUG= http://dartbug.com/9536
Review URL: https://codereview.chromium.org//13548002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20978 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:12:40 +00:00
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
5ccb89c49f
Another test affected by V8 bug.
...
Review URL: https://codereview.chromium.org//13601013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20976 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:48:19 +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
ahe@google.com
89d13b3c0a
Make sure that all tests affected by V8 bug are flaky.
...
Review URL: https://codereview.chromium.org//13723008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20974 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:38:27 +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
erikcorry@google.com
08e09ad2f2
Fix buildbot VM breakage caused by incorrect test
...
R=ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//13646007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20970 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:02:39 +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
mdakin@google.com
282eaa342a
Remove documentation for non existing usePadding parameter.
...
BUG=
Review URL: https://codereview.chromium.org//13725005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20968 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 13:30:06 +00:00
kasperl@google.com
eb757d2b95
Don't bother storing 0 into the hash table if it's already there.
...
R=erikcorry@google.com
BUG=
Review URL: https://codereview.chromium.org//13725009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20967 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 13:28:29 +00:00
johnniwinther@google.com
843dfb2008
Handle private fields from mixins.
...
BUG=http://dartbug.com/9602
Review URL: https://codereview.chromium.org//13521008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20966 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 13:20:11 +00:00
erikcorry@google.com
cc6db230be
dart2js: Fix SSA corner case with always breaking loop and failing assert
...
R=johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//13723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20965 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 13:06:04 +00:00
sgjesse@google.com
e10bc2d3e0
Reapply "Add a sleep function to dart:io"
...
This reapplies r20952, r20953, r20954 together with hiding sleep from
dart:io in a number of tests.
R=ager@google.com
Review URL: https://codereview.chromium.org//13704003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20964 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 13:04:26 +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
ahe@google.com
9a3b8bb633
Remove dart:io import from ssa/tracer.dart.
...
Committed: https://code.google.com/p/dart/source/detail?r=20917
Review URL: https://codereview.chromium.org//13466011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20961 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 11:52:42 +00:00
sgjesse@google.com
e40ce105af
Fix a number of issues with determining the type of stdio
...
* Fix checked mode exception when _getSocketType returns an OSError
* Treat any character device as terminal (this includes /dev/null)
* Fix detecting of file redirection af file
* Don't turn an unkonwn device type into an OSError (wth value for an unknown was -1)
Expanded an existing test to catch some of this.
R=ager@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=9637
Review URL: https://codereview.chromium.org//13636003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20960 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 11:13:24 +00:00
kasperl@google.com
64b13959b7
Fix broken test.
...
R=erikcorry@google.com
BUG=
Review URL: https://codereview.chromium.org//13601006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20959 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 11:04:35 +00:00
kasperl@google.com
caa4456595
Add a dart2js specific HashSet implementation that follows the HashMap implementation fairly closely.
...
I'd like to wait a bit with refactoring this more aggressively until
the linked variants have landed.
R=erikcorry@google.com
BUG=
Review URL: https://codereview.chromium.org//13715002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20958 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 10:23:37 +00:00
kustermann@google.com
b974a2013f
Marked isolate/nested_spawn_stream2_test as flaky again.
...
Review URL: https://codereview.chromium.org//13575011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20957 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 10:16:41 +00:00
sgjesse@google.com
22a06ceeea
Revert r20952, r20953, r20954
...
Too many failures due to conflicting top level sleep methods.
TBR=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//13565005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20955 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 10:06:56 +00:00
sgjesse@google.com
43efc42bc5
Fix analyze api test failure
...
TBR=ager@google.com
Review URL: https://codereview.chromium.org//13568004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20954 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 09:52:30 +00:00