Commit Graph

438 Commits

Author SHA1 Message Date
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
efortuna@google.com 9163dfe93c revert 1204. Will investigate when I get a chance.
TBR=rnystrom
Review URL: https://codereview.chromium.org//10928216

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12413 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-15 01:21:41 +00:00
rnystrom@google.com 383488ec4f Update unittest to new package layout.
Review URL: https://codereview.chromium.org//10917275

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12404 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 21:12:17 +00:00
rnystrom@google.com 659a57df3e Revert "Make unittest follow the new package layout."
This reverts commit 38f7d16f373832a7bf889192af7845cb602aec01.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12400 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 19:43:10 +00:00
rnystrom@google.com 2ba81033a6 Make unittest follow the new package layout.
Review URL: https://codereview.chromium.org//10918240

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12396 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 18:22:24 +00:00
ahe@google.com a6f34e5738 Hack to accept, but not use, colors option
BUG=http://dartbug.com/4996

Committed on behalf of Matthew Butler <butler.matthew@gmail.com>.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12384 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 13:34:02 +00:00
rnystrom@google.com 05dadf490e Reorganize dartdoc to new package layout.
Review URL: https://codereview.chromium.org//10919260

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12338 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 16:49:48 +00:00
johnniwinther@google.com 16f8dd92e9 Changed final to const in apidoc.
Review URL: https://codereview.chromium.org//10914255

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12311 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 10:51:15 +00:00
ahe@google.com 722e7ce28d Add --step_name option to test.dart.
Review URL: https://chromiumcodereview.appspot.com//10905208

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12296 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 04:19:11 +00:00
rnystrom@google.com e11b3b82fe Make args package follow new layout.
Review URL: https://codereview.chromium.org//10919249

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12284 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-12 21:31:42 +00:00
bak@google.com 26a215b25a Changed interfaces to abstract classes in utils.
Review URL: https://chromiumcodereview.appspot.com//10915231

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12263 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-12 13:30:26 +00:00
iposva@google.com bcb6bcc85a - Simplify pub.status file.
- Mark pub_update_hosted_test as flaky.
Review URL: https://chromiumcodereview.appspot.com//10933041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12246 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-12 08:58:41 +00:00
rnystrom@google.com 3317817025 Support both new and old style package layouts.
Update the tests to all use the new layout.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12224 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 21:55:47 +00:00
nweiz@google.com e24a805cac Look for git.cmd on Windows.
BUG=4947

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12222 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 21:17:41 +00:00
ahe@google.com 3436e0ce12 Mark pub test as flaky
Review URL: https://chromiumcodereview.appspot.com//10918165

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12162 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 07:19:01 +00:00
nweiz@google.com db5a92899e Add a 30s timeout for all HTTP requests in Pub.
Review URL: https://chromiumcodereview.appspot.com//10928041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12151 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 23:29:12 +00:00
nweiz@google.com 441f25547f Pub: fix the 'system_cache' library
There were 2 small errors:

1. The Version class is used, but the 'version' library wasn't imported.
2. The arguments to the PackageId constructor were passed in wrong order.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12147 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 19:58:01 +00:00
antonm@google.com a1770a8bbd Sync .gitignore with the corresponding svn properties.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12122 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 15:44:25 +00:00
ahe@google.com ebd6307d57 Scrub step names to avoid breaking buildbot features.
Review URL: https://chromiumcodereview.appspot.com//10919182

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12096 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-09 18:06:38 +00:00
eub@google.com 4fa1021915 Incorporate handwritten dartdoc comments into API docs.
Review URL: https://chromiumcodereview.appspot.com//10918112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12056 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 19:38:54 +00:00
antonm@google.com 123a2620f7 Do not rename assert syntax.
TBR=lrn@google.com,smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12048 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 17:11:14 +00:00