Commit Graph

1458 Commits

Author SHA1 Message Date
rnystrom@google.com f9b1655f8b Pass in DART_SDK from batch file on Windows.
Review URL: https://codereview.chromium.org//11027049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13269 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 23:29:59 +00:00
johnniwinther@google.com 7cb95a6fc7 Members and comments inherited in dartdoc.
BUG=1488,3830,1156,5081

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13225 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 12:46:45 +00:00
rnystrom@google.com 3baa35cb36 Don't warn on the absence of "lib" in the root package.
Review URL: https://codereview.chromium.org//11043026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13193 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 20:04:19 +00:00
johnniwinther@google.com 699c54c68d Make Mirror.simpleName unique.
Review URL: https://codereview.chromium.org//11014022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13167 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 09:36:58 +00:00
gram@google.com 2eff2baa75 New testrunner that runs the test pipleine in an isolate.
Review URL: https://codereview.chromium.org//10977069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13155 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 00:02:04 +00:00
rnystrom@google.com 9486bb1c4e Revert "Tentatively enable pub hosted tests on Windows."
This reverts commit c078ff25b48d5904eea0358f322fc87799fc90ed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13125 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 16:29:24 +00:00
rnystrom@google.com da067c50b1 Tentatively enable pub hosted tests on Windows.
Review URL: https://codereview.chromium.org//11031020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13123 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 16:16:58 +00:00
rnystrom@google.com 1b52caacc5 Extract archives by writing .tar.gz to temp file on Windows.
Review URL: https://codereview.chromium.org//11031015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13096 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 01:34:30 +00:00
dgrove@google.com 9f1afef68c Update the way that pub determines DART_SDK on macos/linux.
Review URL: https://codereview.chromium.org//10977083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13037 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 18:21:28 +00:00
dgrove@google.com 71a2d4d913 Second attempt to fix issue 3402. It turns out that we can't use
$_, because that contains the original script name (in the case
test.py, $_ contains .../test.py when this script is executed.

Using $0 will work fine, as pwd -P will give the absolute
physical path of the dart script.
Review URL: https://codereview.chromium.org//10981070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13030 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 17:18:40 +00:00
dgrove@google.com c2d8dd6e68 revert change 13025.
Review URL: https://codereview.chromium.org//10990112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13027 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 16:26:53 +00:00
dgrove@google.com ba55e7aa71 Fix issue 3402 . The initial suggestion of using readlink doesn't
work on MacOS, so I went this slightly more obtuse solution, which
does work on MacOS and Linux.
Review URL: https://codereview.chromium.org//10985068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13025 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 16:18:33 +00:00
dgrove@google.com 5418ac38e6 Pass DART_SDK into pub for Linux/MacOS.
Review URL: https://codereview.chromium.org//10977063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12985 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 22:28:52 +00:00
lrn@google.com 37197c2553 Stop using the Hashable interface.
All objects have a hashCode method, so there is no need for a Hashable
interface.
The interface itself is retained for at least two weeks, to give time for
code to remove uses of it.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12955 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 13:07:54 +00:00
ager@google.com 7977b42215 Update all occurrences of raw strings.
R=hausner@google.com,kasperl@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12893 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 06:01:23 +00:00
rnystrom@google.com def86f3256 Convert raw strings in pub (and apidoc) to new syntax.
Review URL: https://codereview.chromium.org//10981031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12890 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 01:23:18 +00:00
sra@google.com ec120ee230 Update peg parser tests to r'' strings
Review URL: https://codereview.chromium.org//10991031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12889 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 01:02:21 +00:00
lrn@google.com a1faa6f135 Change IllegalArgumentException to ArgumentError.
Review URL: https://codereview.chromium.org//10989013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12841 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 12:27:52 +00:00
nweiz@google.com 85b348a987 Allow circular dependencies on the root source in Pub.
BUG=5300

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12817 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 22:55:42 +00:00
rnystrom@google.com 88e331a795 Support dependencies in SDK packages.
Review URL: https://codereview.chromium.org//10947050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12816 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 22:49:05 +00:00
rnystrom@google.com e8fe8a636c Beat on hosted repo support on Windows a bit more.
The hosted tests are passing locally, and I've done pub install
from pub.dartlang.org successfully, but there are still some
intermittent errors, so I'm not enabling the hosted tests on the
bots just yet.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12677 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 01:14:49 +00:00
gram@google.com d4c7f79ef7 Added support for running an HTTP server during the test and being able to serve up static files. Later this will be extended to being able to write tests on both ends of the connection, but this is a first step.
Review URL: https://codereview.chromium.org//10966020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12674 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:46:01 +00:00
dgrove@google.com 18a5503698 A variety of cleanups to bring our samples up-to-date.
Delete web components sample - there are new samples out
on the web components github project.
Review URL: https://codereview.chromium.org//10964030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12671 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:40:14 +00:00
gram@google.com eeef25322f Support for pixel layout tests.
Review URL: https://codereview.chromium.org//10909240

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12655 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 20:08:35 +00:00
johnniwinther@google.com 770f7eb2d6 Dartdoc supports package directory.
BUG=4634,5218

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12623 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 08:56:48 +00:00
ager@google.com e86e1cec03 Fix API misuse bug I introduced when fixing another API misuse bug. :-)
R=nweiz@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12615 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 06:20:45 +00:00
rnystrom@google.com 395cbc5de5 Create a sensible package cache directory on Windows.
BUG=5236

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12612 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 00:34:07 +00:00
rnystrom@google.com 4610c4d6ed Remove "pub list" command.
Review URL: https://codereview.chromium.org//10941049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12607 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 21:35:55 +00:00
nweiz@google.com 5096506fe0 Add packages/ directories for dart files in web/.
BUG=5196

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12587 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 18:54:01 +00:00
nweiz@google.com d9e0a8f277 Use more semantic exit codes so we can detect HTTP errors.
Review URL: https://codereview.chromium.org//10944035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12586 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 18:35:27 +00:00
nweiz@google.com 9f569161f7 Delete the packages/ directory before installing new packages to it.
BUG=5123

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12585 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 18:16:58 +00:00
ricow@google.com fff3024962 Make copy of flags before passing it to TestCompiler
We are adding to the flags in the TestCompiler function and are duplicating flags since we might call it again.
Review URL: https://codereview.chromium.org//10944034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12579 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 17:27:39 +00:00
rnystrom@google.com df6862afb7 Fix git on non-Windows. Fix create_sdk on machines using svn.
Review URL: https://codereview.chromium.org//10942032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12575 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:48:25 +00:00
rnystrom@google.com 9c970fa558 First pass at getting git and tar.gz working on Windows.
Review URL: https://codereview.chromium.org//10937019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12573 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:32:24 +00:00
ager@google.com e2d772de96 Fix use of Process API in pub.
This is subtle, but you have to wait for the process to be started
before you can write to its stdin stream. You can register event
handlers on the output streams if you want but you have to wait with
writing to stdin.

R=sgjesse@google.com,nweiz@google.com,rnystrom@google.com
BUG=dartbug.com/5065

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12559 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 13:34:24 +00:00
lrn@google.com c8e6d1c0d5 Remove uses of String.operator+.
BUG=4369

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12554 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 12:21:39 +00:00
ricow@google.com a16b96fdec Run checked mode tests on the slow IE bot
Review URL: https://codereview.chromium.org//10946022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12544 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 09:19:59 +00:00
antonm@google.com 1834e21180 Reapply change which was reverted by mistake.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12543 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 09:15:20 +00:00
antonm@google.com 13de87215b Triaging dart2dart co19 tests.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12537 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 08:24:46 +00:00
ricow@google.com 81aafa62d9 Refactor utils/compiler/buildbot.py (partly to fix IE bots, partly because it needs it)
This change will:
Disallow bots starting with web-

Support the new naming schema for the ie bots (I explicitly set this
to html|all, but we can change it to a generic identifier if you like)

Introduces a new BuildInfo class that we return from GetBuildInfo
instead of a huge tupple; I want to start passing this around instead
of explicitly giving all the arguments to e.g., TestCompiler, but
currently I don't do it due to our special cases.

Removes the ie sharding todos since we now have an explicit way of passing allong which tests we want based on the name (I am not stating that this is a good solution, but until we have more bots to shard across I think this is better than what we had)
Review URL: https://codereview.chromium.org//10937024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12535 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 08:06:02 +00:00
ricow@google.com e4d7741572 Fix sharding index extraction for in browser testing.
Review URL: https://codereview.chromium.org//10942021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12531 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 05:10:31 +00:00
ricow@google.com 89a6921836 Change utils/compiler/buildbot.py to use our new naming schema.
Additionally, some cleanup and update of comments regarding return tupples and parameters. 
Review URL: https://codereview.chromium.org//10944010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12530 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 05:03:54 +00:00
nweiz@google.com b162605f23 Add tests for updating a git repo to a bad/different pubspec.
BUG=5241

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12520 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 22:30:43 +00:00
nweiz@google.com bb468499d4 Don't extract the name of a package from its description.
Instead, the pubspec is considered to be the canonical name. This has the side
effect of requiring that all dependencies have a pubspec with a name field.

BUG=5205

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12517 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 22:09:37 +00:00
nweiz@google.com a46ca5f049 Re-mark pub_(install|update)_hosted_test as flaky.
BUG=5065

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12516 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 22:09:01 +00:00
nweiz@google.com 665f07f786 Mark pub_(install|update)_hosted_test as unflaky.
Issue 4974 purports to have fixed the error that was causing this flakiness. If
these tests continue to be flaky, issue 4974 should be re-opened.

BUG=5065

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12514 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 21:41:45 +00:00
ager@google.com 1159462fc6 Switch from interfaces to abstract classes in dart:io.
Add a bunch of default argument values to the abstract classes
so they are picked up by dartdoc.

R=sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12484 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 10:54:37 +00:00
lrn@google.com 99749ca619 This reapplies the change to remove "dynamic" from Object.
TBR=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12449 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 19:14:49 +00:00
lrn@google.com 54d6cbda76 Revert "Remove Object.dynamic."
Some test expectations were missing.

TBR=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12433 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 12:10:29 +00:00
lrn@google.com 9cc07e2f3f Remove Object.dynamic.
Review URL: https://codereview.chromium.org//10914286

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12432 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 12:00:44 +00:00