kasperl@google.com
3eec57a270
Move frog/tests/{leg,leg_only,frog_native} to tests/compiler/.
...
This may not be the final resting place for these tests, but I want
to get them out of the frog directory because they really are very
valuable as tests for dart2js.
Review URL: https://chromiumcodereview.appspot.com//10536169
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8646 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 11:28:50 +00:00
scheglov@google.com
c88461077a
Issue 3528. Additional checks for 'case expressions'
...
http://code.google.com/p/dart/issues/detail?id=3528
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10540114
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8573 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 20:21:34 +00:00
ahe@google.com
91e2b7794c
Resolution based tree-shaking.
...
Review URL: https://chromiumcodereview.appspot.com//10542073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8543 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 12:35:34 +00:00
vsm@google.com
e042b19b96
Modify apidoc to prefer handwritten HTML5 docs over those in MDN or generated code.
...
Review URL: https://chromiumcodereview.appspot.com//10540085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8516 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 20:51:12 +00:00
rnystrom@google.com
9636d43bf4
"pubspec" -> "pubspec.yaml".
...
Review URL: https://chromiumcodereview.appspot.com//10544041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8405 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 18:32:16 +00:00
ngeoffray@google.com
bb2b3bca56
Fixes for checked mode and change buildbot script to run dart2js tests in checked mode also.
...
Review URL: https://chromiumcodereview.appspot.com//10543027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8382 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 09:03:16 +00:00
rnystrom@google.com
c7c597108e
Update pub to new expect API.
...
Review URL: https://chromiumcodereview.appspot.com//10541039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8367 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 22:41:58 +00:00
rnystrom@google.com
76b5e0ab98
Skip lock file pub tests on all but the VM.
...
Review URL: https://chromiumcodereview.appspot.com//10536038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8364 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 21:13:24 +00:00
rnystrom@google.com
8a87698968
Start adding support for lock files.
...
Lock files can be parsed (from strings) with tests.
Review URL: https://chromiumcodereview.appspot.com//10542015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8362 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 20:48:41 +00:00
kasperl@google.com
e4b4574863
Fix apidoc after r8231.
...
R=johnniwinther@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10516002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8232 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 06:57:16 +00:00
ahe@google.com
d5bcfd7249
Update dependencies for apidoc.
...
Review URL: https://chromiumcodereview.appspot.com//10454090
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8189 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-01 10:54:26 +00:00
kasperl@google.com
ac5e45d8c7
Fix "typo".
...
Update the buildbot name patterns (for generalized sharding on web bots).
R=ricow@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10448073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8094 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 10:31:04 +00:00
kasperl@google.com
99a82e6444
Update the buildbot name patterns (for generalized sharding on web bots).
...
R=ricow@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10444085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8093 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 10:26:56 +00:00
ngeoffray@google.com
2f1bfc25ba
Update status files now that issue 2615 is fixed.
...
Review URL: https://chromiumcodereview.appspot.com//10440085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8090 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 09:02:13 +00:00
ngeoffray@google.com
895ee59084
Use drt instead of chrome in dart2js/chrome/linux.
...
Review URL: https://chromiumcodereview.appspot.com//10446060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8059 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 14:11:02 +00:00
kasperl@google.com
3e42d60c80
Simplify TestCompiler and avoid running dart2js_unit in too
...
many configurations.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10446059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8055 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:11:51 +00:00
ahe@google.com
857a7108d9
Improve annotated steps output:
...
* Make sure a step is started before anything is printed (this removes the "preamble" section).
* Create a "failures" step before printing the failures again. This makes it easier to find the failures (especially, from a mobile browser).
Review URL: https://chromiumcodereview.appspot.com//10443057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8054 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:01:22 +00:00
kasperl@google.com
141a55b1c3
Use -j1 when testing IE and use the general sharding mechanism to shard the tests across web-ie-win7 and web-ie-win7-2.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10446058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8052 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 12:20:06 +00:00
ngeoffray@google.com
00441ed147
Get firefox green.
...
Review URL: https://chromiumcodereview.appspot.com//10440070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8047 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 10:31:16 +00:00
ngeoffray@google.com
a574d1e7b9
Get opera green.
...
Review URL: https://chromiumcodereview.appspot.com//10454052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8040 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:15:16 +00:00
kasperl@google.com
83c00cb725
We're building the SDK -- not frog.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10453050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8034 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 07:29:29 +00:00
kasperl@google.com
925b8a1d65
Update the script that we run on the buildbot to test dart2js rather than frog across the different browsers.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10446055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8032 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 07:13:56 +00:00
kasperl@google.com
61cb3e6ad5
Use utils/compiler/buildbot.py instead of the script in frog/scripts.
...
R=ngeoffray@google.com ,ahe@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10448046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8031 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 06:33:52 +00:00
rnystrom@google.com
e4ce65ae8f
Get rid of #source in pub.
...
Review URL: https://chromiumcodereview.appspot.com//10442023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7967 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 23:29:18 +00:00
nweiz@google.com
d56327e507
Re-enable Yaml tests on dart2js and dartc.
...
Also fix a couple warnings in dart2js.
Review URL: https://chromiumcodereview.appspot.com//10444016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7966 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 22:58:45 +00:00
rnystrom@google.com
2fa24c5a67
Get rid of the html<->dom correspondence comments.
...
Now that dart:dom is gone, they aren't being used, so the code is dead.
This also removes uses of "+" on strings, which fixes #3115 .
Review URL: https://chromiumcodereview.appspot.com//10441035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7965 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 22:43:38 +00:00
rnystrom@google.com
b0885dcd7a
Make pub handle missing git more gracefully.
...
- Put in place the basics for reporting errors to the user.
- If you try to install a git package without git installed, you will get
a nice error.
- Don't run git-related pub tests locally if the user doesn't have git
installed.
Review URL: https://chromiumcodereview.appspot.com//10421026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7959 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 18:33:13 +00:00
iposva@google.com
47cb0e5ea5
- Fix comments in math.dart
...
- Create ApiDoc for dart:math.
Review URL: https://chromiumcodereview.appspot.com//10383300
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7915 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 16:43:30 +00:00
iposva@google.com
ac48b04674
- Do not depend on git being installed on a machine.
...
Review URL: https://chromiumcodereview.appspot.com//10383273
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7829 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 22:44:17 +00:00
nweiz@google.com
faf738c5ed
Don't make a void arrow function.
...
Review URL: https://chromiumcodereview.appspot.com//10414015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7821 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 20:30:48 +00:00
sigmund@google.com
5cf6739b6e
fix apidoc - we see errors when building it using build.py
...
Review URL: https://chromiumcodereview.appspot.com//10409055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7809 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 17:42:57 +00:00
ahe@google.com
aece33ecf0
Purge String operator+ from dart2js.
...
Review URL: https://chromiumcodereview.appspot.com//10407064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7798 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 13:41:33 +00:00
rnystrom@google.com
ded047e15e
Disable all pub tests on non-VM configs.
...
Review URL: https://chromiumcodereview.appspot.com//10409041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7781 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 23:57:57 +00:00
efortuna@google.com
114c3836e0
Add unittest to apidoc and fix readme.
...
Review URL: https://chromiumcodereview.appspot.com//10389223
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7779 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 23:31:08 +00:00
rnystrom@google.com
20c48b237f
Get codebase ready for actually supporting versioning.
...
Review URL: https://chromiumcodereview.appspot.com//10399076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7776 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 23:14:18 +00:00
nweiz@google.com
16f047132d
Support a much larger subset of YAML.
...
With this change, the only parts of the syntax we don't parse are directives,
tags, and anchors.
Review URL: https://chromiumcodereview.appspot.com//10377186
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7771 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 21:56:15 +00:00
rnystrom@google.com
3f50f7621f
Add base Version class to start support versioning in pub.
...
Review URL: https://chromiumcodereview.appspot.com//10383203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7701 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-16 21:39:01 +00:00
terry@google.com
7fc566edea
Fixed breakage in template utility now that statics aren't inherited.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10399010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7632 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 22:43:06 +00:00
nweiz@google.com
a8038715b0
Add a Pub source that checks packages out from Git.
...
This was submitted as r7623, but was then reverted due to test failures. The new
version doesn't depend on Git's output.
Review URL: https://chromiumcodereview.appspot.com//10392089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7629 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 21:36:55 +00:00
nweiz@google.com
cd3261497d
Reverting 7623
...
TBR
Review URL: https://chromiumcodereview.appspot.com//10388123
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7626 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 20:29:38 +00:00
nweiz@google.com
5dfb6baea5
Add a Pub source that checks packages out from Git.
...
Review URL: https://chromiumcodereview.appspot.com//10386021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7623 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 19:53:49 +00:00
ager@google.com
b6e35655cf
Make the crypto library an official dart:crypto library.
...
The library now works on dart2js and on the VM.
Add the library to the API docs and to the sdk.
R=iposva@google.com ,dgrove@google.com ,kasperl@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10332109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7604 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 11:20:56 +00:00
vsm@google.com
9be4ac00ed
Move dart:dom to dart:dom_deprecated
...
Brian: Can you please look at the editor / dartc changes?
Bob: Can you look at the apidoc changes?
Stephen/Pavel: Can you guys look at the rest?
Pavel: I will update, test, and land your Dartium CL along with this change.
Review URL: https://chromiumcodereview.appspot.com//10389097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7587 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-13 04:10:43 +00:00
nweiz@google.com
fe0d59f7bc
Refactor the pub tests.
...
The goal of this refactoring is to make it easier to flexibly set up the
filesystem before Pub runs and validate it afterwards. To do so, the pub tests
are made more modular by moving creation and validation out of the monolithic
testPub method. The declarative philosophy of testPub is maintained.
This CL also includes several changes to the unit test library. Most notably, it
causes stack traces to be displayed for errors that are thrown during tests.
This was first submitted as r7566. That was rolled back due to a test error that
is fixed in this CL.
Review URL: https://chromiumcodereview.appspot.com//10382137
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7573 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 23:10:49 +00:00
nweiz@google.com
53aee9dc2b
Reverting 7566, which is causing build breakage.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//10356133
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7567 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 20:08:47 +00:00
nweiz@google.com
f5a8afe0db
Refactor the pub tests.
...
The goal of this refactoring is to make it easier to flexibly set up the
filesystem before Pub runs and validate it afterwards. To do so, the pub tests
are made more modular by moving creation and validation out of the monolithic
testPub method. The declarative philosophy of testPub is maintained.
This CL also includes several changes to the unit test library. Most notably, it
causes stack traces to be displayed for errors that are thrown during tests.
Review URL: https://chromiumcodereview.appspot.com//10382094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7566 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 19:34:17 +00:00
sethladd@google.com
e255a2d015
remove dart dom from docs
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10383129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7552 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 15:01:59 +00:00
ager@google.com
5fb75d3952
Change dart:io to use Future for one-shot operations.
...
This appears to be what a lot of our users are doing and it is the
style used in our other libraries.
Noteworthy changes:
- File and Directory objects are now immutable.
- Directory.list returns an active lister object.
- Write operations on files return futures and the
onNoPendingWrites handler is gone. The same
functionality is there by using 'then' on the
future returned from the last write operation.
- Process starting is now done with static methods:
-- Process.start yields an InteractiveProcess.
-- Process.run yields a Future<ProcessResult>
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10392023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7529 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 06:09:42 +00:00
sethladd@google.com
18476ae8ff
turn off app cache, print generation date at bottom
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10388050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7466 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-09 16:24:37 +00:00
nweiz@google.com
7a92bade41
Rely on dart:io to deal with symlinks in pub.
...
Now that issue 2516 is solved, we don't need these hacks.
Review URL: https://chromiumcodereview.appspot.com//10378044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7428 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 18:43:33 +00:00