Commit Graph

2509 Commits

Author SHA1 Message Date
efortuna@google.com 742e1ffcbe Rename XMLHttpRequest to HttpRequest.
Review URL: https://chromiumcodereview.appspot.com//10823352

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11070 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 16:39:35 +00:00
vsm@google.com 9259b263fd Support general serializing of functions between JS and Dart
Anton: This expands on your earlier CL.  Do you mind taking a look?

Review URL: https://chromiumcodereview.appspot.com//10834426

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11066 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 15:59:54 +00:00
antonm@google.com d9d9057fd3 Remove now unnecessary suppressions.
TBR=ahe@google.com,smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10829455

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11064 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 15:44:26 +00:00
ahe@google.com d5e43d38db Update test to work with lazy compilation
Review URL: https://chromiumcodereview.appspot.com//10840004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11061 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 15:37:42 +00:00
smok@google.com d182624b92 Make ClassNode visit type parameters in visitChildren
Review URL: https://chromiumcodereview.appspot.com//10831406

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11057 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 15:18:28 +00:00
antonm@google.com 8d83a49879 Enable somehow disabled test.
R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10855264

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11055 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 15:11:19 +00:00
antonm@google.com 1b4e931081 Properly rename type variables.
R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10861029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11054 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 14:46:53 +00:00
antonm@google.com 9b3e109809 Test started to pass.
R=ahe@google.com,kasperl@google.com

Review URL: https://chromiumcodereview.appspot.com//10860065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11049 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 14:18:18 +00:00
ngeoffray@google.com a13af7eb1f When replacing an instruction with another in GVN-like optimizations, try to find a better user of it, that knows more about the type.
Review URL: https://chromiumcodereview.appspot.com//10831404

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11039 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 13:19:10 +00:00
antonm@google.com a9b8ec430e Rename elements after sorting.
That makes renaming more stable.

R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10834416

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11038 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 13:18:06 +00:00
lrn@google.com d0145b687f Make patching of classes lazy.
Review URL: https://chromiumcodereview.appspot.com//10855262

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11036 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 12:53:53 +00:00
ahe@google.com da3dfb92a0 Update dart2js_foreign startus files.
Review URL: https://chromiumcodereview.appspot.com//10831405

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11035 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 11:57:53 +00:00
smok@google.com d49ad937bb dart2dart Fix factory for interfaces renames
Review URL: https://chromiumcodereview.appspot.com//10828390

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11033 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 11:33:39 +00:00
ager@google.com 000b295a00 Make sure that libraries loaded from dart:core gets dart:core implicitly loaded.
This is in preparation for deprecating the corelib Math object
in favor of the dart:math library.

R=ahe@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10836355

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11032 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 11:24:23 +00:00
kasperl@google.com 34ec097692 Get rid of the name in HInvokeDynamic (just use the selector instead).
This fixes issue 2620.

R=ngeoffray@google.com,karlklose@google.com
BUG=http://dartbug.com/2620

Review URL: https://chromiumcodereview.appspot.com//10836339

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11030 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 10:56:02 +00:00
ahe@google.com a6b6565123 Parse metadata, but ignore it.
Review URL: https://chromiumcodereview.appspot.com//10836351

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11029 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 10:55:54 +00:00
antonm@google.com 7c21f2cdb8 Unify private names treatment.
This change actually revealed a couple of problems we had. I am planning to
switch to even more unified treatment of privates and force renames at
visitIdentifier level.

R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10837343

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11027 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 10:26:12 +00:00
ahe@google.com 62e962bfbc Change dart2js_foreign suite to use metadata.
Review URL: https://chromiumcodereview.appspot.com//10823423

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11026 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 10:16:24 +00:00
johnniwinther@google.com 647498e74c Full typedef support in dartdoc.
Review URL: https://chromiumcodereview.appspot.com//10823390

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11024 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 09:31:18 +00:00
antonm@google.com 21702e9066 Do not create placeholders for elements that won't be later renamed.
R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10827424

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11023 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 09:18:55 +00:00
ahe@google.com d1af3e7465 Copy all frog/native tests to dart2js_foreign.
Review URL: https://chromiumcodereview.appspot.com//10855248

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11020 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 08:56:36 +00:00
ngeoffray@google.com 9571909fa6 Update status for flaky test js_interop_1_test.
Review URL: https://chromiumcodereview.appspot.com//10860061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11018 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 08:25:54 +00:00
ngeoffray@google.com 5e0a986566 If an instruction is known to already by a number, the integer check will try to make it an integer.
Review URL: https://chromiumcodereview.appspot.com//10831392

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11014 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 07:39:00 +00:00
rnystrom@google.com 1e14772bb0 Don't traverse through junctions when recursively deleting on Windows.
Review URL: https://chromiumcodereview.appspot.com//10825413

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11005 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 23:25:13 +00:00
antonm@google.com a269efc993 Split collecting and traversing.
R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10837289

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10985 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 16:20:49 +00:00
antonm@google.com 1ce7786738 Cleanup and comment suppressions.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10825453

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10979 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 15:22:51 +00:00
antonm@google.com bd073dfba3 Remove now passing tests.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10854222

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10976 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 15:13:13 +00:00
antonm@google.com c9ef98f9c4 Fix the test to follow new getter syntax.
R=ahe@google.com,smok@google.com
BUG=4604

Review URL: https://chromiumcodereview.appspot.com//10860042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10975 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 15:10:48 +00:00
ahe@google.com bf0aa4aa2e Update co19 status for dart2js.
Review URL: https://chromiumcodereview.appspot.com//10823412

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10972 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 15:01:13 +00:00
ahe@google.com 4487046f34 Update co19 status file for dart2js.
Review URL: https://chromiumcodereview.appspot.com//10825451

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10968 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 14:26:22 +00:00
smok@google.com 8a001293f1 dart2dart Collect type placeholder for default class.
Review URL: https://chromiumcodereview.appspot.com//10854218

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10967 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 14:12:21 +00:00
ahe@google.com d0fb08d838 Update status file.
Review URL: https://chromiumcodereview.appspot.com//10834407

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10965 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 14:10:09 +00:00
antonm@google.com ecdf663c72 Remove suppression as the problem has been fixed.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10829423

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10964 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 14:06:33 +00:00
ahe@google.com 8f33632d6b Update status file for dart2dart.
Review URL: https://chromiumcodereview.appspot.com//10829422

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10962 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 14:00:51 +00:00
antonm@google.com ec48ba6065 Suppress a test.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10834406

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10960 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 13:40:21 +00:00
antonm@google.com 39dacd1f90 Fix fileapi_test.dart.
Now options are named options, not flags.

R=podivilov@chromium.org,sra@google.com

Review URL: https://chromiumcodereview.appspot.com//10824374

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10958 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 13:35:34 +00:00
ngeoffray@google.com 2e1e48a4ed Add an optional parameter to the dominatedUsers function in case we want to analyze the whole block, and not only from an instruction. Fixes bug 4069.
Review URL: https://chromiumcodereview.appspot.com//10824371

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10957 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 13:32:50 +00:00
ahe@google.com 19851497ff Support new getter syntax.
Review URL: https://chromiumcodereview.appspot.com//10831332

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10956 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 13:26:38 +00:00
antonm@google.com 214cd4b8c6 Suppress a test.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10831390

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10955 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 13:25:35 +00:00
ahe@google.com bda1a6981d Produce error when duplicate field initializers are found
Committing on behalf of Alexander Aprelev <aprelev@gmail.com>.

BUG=http://dartbug.com/1035

Review URL: https://chromiumcodereview.appspot.com//10860039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10947 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 12:40:03 +00:00
ahe@google.com 9902fcfbbb Update status file to make build bot happy.
Review URL: https://chromiumcodereview.appspot.com//10829418

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10945 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 12:13:10 +00:00
ahe@google.com 528e8f5a4c Update dart2dart status after updating getter syntax in tests.
Review URL: https://chromiumcodereview.appspot.com//10825446

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10944 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 11:41:47 +00:00
ahe@google.com 10f43e1304 Update language tests to new getter syntax.
Review URL: https://chromiumcodereview.appspot.com//10829416

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10943 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 11:31:45 +00:00
smok@google.com 42c5cae4b1 dart2dart Fix renaming of top-level setters.
Review URL: https://chromiumcodereview.appspot.com//10825445

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10942 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 11:15:39 +00:00
ahe@google.com b3118b0d36 Update test to work with on-demand compilation.
Review URL: https://chromiumcodereview.appspot.com//10824370

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10939 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 09:04:22 +00:00
ngeoffray@google.com cd00d770ca Update status file to point to the right bug.
Review URL: https://chromiumcodereview.appspot.com//10855241

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10938 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 07:49:41 +00:00
asiva@google.com 07aacbe99d Fix buildbot, remove failure status for import_core_no_prefix_test under runtime == chrome
Review URL: https://chromiumcodereview.appspot.com//10828379

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10930 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 23:32:49 +00:00
hausner@google.com e771745ef6 Exclude failing tests in Dartium
Can only guess what the sections in language.status are...
Fingers crossed.
Review URL: https://chromiumcodereview.appspot.com//10855232

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10927 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 21:52:11 +00:00
hausner@google.com 6b3267083a Remove meaningless test
prefix_core_test has become meaningless with the new
library and import scoping rules. It was also wrong
since print is defined in library built-in, not core.
Review URL: https://chromiumcodereview.appspot.com//10828375

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10925 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 21:28:02 +00:00
srdjan@google.com 031eab4ab9 Fix null-equality comparison for unoptimized branch code. Issue 2506.
Review URL: https://chromiumcodereview.appspot.com//10860018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10924 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 21:18:26 +00:00