Commit graph

13601 commits

Author SHA1 Message Date
ahe@google.com
649f3fa360 Redirect tput stderr to /dev/null.
Review URL: https://codereview.chromium.org//13794003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21070 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:56:43 +00:00
ahe@google.com
da25a12caf Only build apidoc in release mode.
Review URL: https://codereview.chromium.org//13784002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21068 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:43:25 +00:00
ahe@google.com
2fec283320 Shorten "progress" information, and make sure it never extend 80 columns.
Review URL: https://codereview.chromium.org//13724018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21067 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:37:41 +00:00
ajohnsen@google.com
62f1397d66 Remove typo templated type.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21066 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:26:52 +00:00
ahe@google.com
22a82af86d Restore incremental output.
Review URL: https://codereview.chromium.org//13601019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21065 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:26:22 +00:00
sgjesse@google.com
e1911937c8 Update status file
The test standalone/io/raw_socket_test has not failed on Windows for a
long time and does not reproduce under heavi load.

BUG=https://code.google.com/p/dart/issues/detail?id=8901

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21064 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:25:46 +00:00
ajohnsen@google.com
140409a05a Wrap stdout/stderr/stdin to only expose the relevant methods.
BUG=https://code.google.com/p/dart/issues/detail?id=9439,https://code.google.com/p/dart/issues/detail?id=9593

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21063 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:13:03 +00:00
ajohnsen@google.com
1bae12223b Fix recursive directory-deletion of top-level files/links.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21060 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 11:30:33 +00:00
johnniwinther@google.com
a2e74e771f Status updated.
Review URL: https://codereview.chromium.org//13783002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21059 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 11:14:44 +00:00
ahe@google.com
0f111680af Fix dependencies of apidoc.
Review URL: https://codereview.chromium.org//13722007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21058 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:49:04 +00:00
karlklose@google.com
b2d5c2bb62 Make sure required type arguments are given when using factories.
When a factory is used to create an instance using type arguments and these instances needed the type arguments, we did not track that requirement, because we only knew about the constructor call to the factory.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21057 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:38:18 +00:00
johnniwinther@google.com
517337da22 Implement subtype for type variables.
This implementation handles cyclicity in subtyping on type variables.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21056 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:30:19 +00:00
johnniwinther@google.com
abfb263792 Check for cyclic type variable bounds.
This CL uses the post-processing queue introduced in CL https://codereview.chromium.org/13261008/.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21055 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:22:07 +00:00
sgjesse@google.com
eb76cd907a Add more tests and argument check to Process.sleep
R=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21054 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:04:45 +00:00
kustermann@google.com
f168de9c51 language/execute_finally{8,9}_test are passing now on safari
Review URL: https://codereview.chromium.org//13777004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21053 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:44:59 +00:00
ajohnsen@google.com
4a2f6c1ce7 Add missing method to link.dart.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21052 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:28:16 +00:00
kustermann@google.com
66455f6e2a Removed the temporary "packages" dependency of create_sdk and switched to "default" target in build.py
Review URL: https://codereview.chromium.org//13754002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21051 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:11:35 +00:00
sgjesse@google.com
065ac395f0 Fix a few dartdoc comments
TBR=ager@google.com

BUG=https://code.google.com/p/dart/issues/detail?id=9684

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21050 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:09:15 +00:00
lrn@google.com
24e3c0bbb0 Reapply "Reduce usage of IterableMixinWorkaround"
Fix bug and recommit

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21049 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:07:39 +00:00
ajohnsen@google.com
9ecd75408a Add missing external declaration of _File._deleteLink.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21048 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:07:17 +00:00
ajohnsen@google.com
9a3e62e09a Report same error-code on windows for all not-found cases.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21047 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 07:58:46 +00:00
ajohnsen@google.com
d9acfd62ee Add _File._deleteLink to dart2js dart:io patch.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21046 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 07:51:01 +00:00
ajohnsen@google.com
e75df511a6 Change how File/Directory/Link .delete works.
Now:
- File.delete works iff path is File or Link.
- Directory.delete works iff path is Directory or Link.
- Link.delete works iff path Link.

This now matches .exists.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21045 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 07:44:18 +00:00
erikcorry@google.com
8809ce7e07 Disable failing test completely bug=9687
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21025 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 15:48:08 +00:00
erikcorry@google.com
b1d62d2c3e Remove accidentally committed debug statement
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21022 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 11:44:08 +00:00
erikcorry@google.com
5e605b0546 dart2js: Use js('source') instead of js['source'] to invoke JS mini-parser
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21021 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 10:52:23 +00:00
blois@google.com
de3717f58c Fixing HtmlDocument overloads
This had a bunch of unnecessary/problematic redirections to the global document.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21018 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:57:20 +00:00
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