Commit Graph

20409 Commits

Author SHA1 Message Date
floitsch@google.com 2bf136b372 Update status file for drt.
Review URL: https://codereview.chromium.org//11791029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16742 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 19:54:49 +00:00
sgjesse@google.com feda65bcc4 Update tests for pkg/http for new library
R=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16703 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 14:52:12 +00:00
karlklose@google.com 126820a65f Mark tests that use Timer as failing on dart2js.
There is no implementation for Timer in JavaScript.

R=floitsch@google.com
BUG=dartbug.com/7728

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16697 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 13:39:09 +00:00
ager@google.com 0836e40506 Mark intl test as failing.
R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16696 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 13:35:57 +00:00
ager@google.com 37e711d665 Fix use of chain in intl library.
R=sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16691 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 12:22:07 +00:00
ajohnsen@google.com 32eeecd930 Fix tests for VM in checked mode.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16689 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:59:49 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
efortuna@google.com 274ac61643 Reverting everything because package root + dartium is causing serious problems.
DART_PACKAGE_ROOT environment variable is set for drt, but not dartium, and is location is problematic with respect to serving the files in the dartium checkout.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 05:20:06 +00:00
efortuna@google.com 1d3b0c4b3b Add cross-origin test with credentials. I modified the test framework slightly
as well to Enable Cross-origin requests while testing from local files.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16671 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 02:43:31 +00:00
rnystrom@google.com ac04fc6c18 Convert pkg/http to use "package:" imports.
Review URL: https://codereview.chromium.org//11746009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16620 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-04 00:10:47 +00:00
rnystrom@google.com 2c5342c62d Update pkg/path to use "package:" imports.
Review URL: https://codereview.chromium.org//11734010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16619 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 23:25:33 +00:00
rnystrom@google.com e481bdca9a Convert pkg/serialization imports to "package:".
Review URL: https://codereview.chromium.org//11734012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16613 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 21:37:14 +00:00
alanknight@google.com 9d2a6174b0 Make uninitialized Intl test not import dart:io
Review URL: https://codereview.chromium.org//11746005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16586 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-02 20:53:22 +00:00
alanknight@google.com 10919626d2 Document date format initialization better and make it possible to use en_US dates without it
dartbug.com/6567
Review URL: https://codereview.chromium.org//11669013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16582 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-02 18:17:48 +00:00
alanknight@google.com 7602684d20 Fix documentation bugs 7517 and 7518 in serialization.
Review URL: https://codereview.chromium.org//11624031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16581 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-02 18:01:20 +00:00
nweiz@google.com 205f8ee5fc Use a semicolon as the separator for multipart form-data requests.
I believe both a semicolon and a comma are valid, but the semicolon seems more
widely-supported.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16567 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-29 00:34:31 +00:00
alanknight@google.com db782503f0 Rename specialTreatmentFor, improve handling of constants as constructor parameters.
Review URL: https://codereview.chromium.org//11644030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16448 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 18:27:57 +00:00
sgjesse@google.com 7e293aa077 Reapply "Fix URI encoding/decoding of + and space""
Updated test expectations for some tests for pkg/http, pkg/oauth2 and
pub to match the change.

TBR=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16426 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 09:50:05 +00:00
floitsch@google.com 5271b558c2 Close receivePort when tests are failing.
Review URL: https://codereview.chromium.org//11570065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16422 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 09:37:48 +00:00
blois@google.com 5690418a11 Fixing a bunch of dartc errors in dart:html tests.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16413 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 01:38:08 +00:00
rnystrom@google.com bfb9f427ee Convert unittest to use "package:" imports.
Use consistent path to "unittest" in browser test wrapper.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16408 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 23:51:22 +00:00
rnystrom@google.com a76646fafa Revert "Convert unittest to use "package:" imports."
This reverts commit 6f77df43a437af7076ee154bc06ade261d6e32a0.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16407 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 22:41:02 +00:00
rnystrom@google.com 58c56eacd1 Convert unittest to use "package:" imports.
Review URL: https://codereview.chromium.org//11644055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16403 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 21:53:37 +00:00
nweiz@google.com 723a4afc9c Make dirname and basename ignore trailing separators and double slashes.
Separators are still preserved for other path methods.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16397 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 20:55:00 +00:00
floitsch@google.com ad7044373f Use Receive ports to make sure the VM doesn't shut down with async tests.
Backport from experimental/lib_v2.

Original CL: https://codereview.chromium.org//11451017

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16393 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 19:55:10 +00:00
bak@google.com 6c398a3a25 Fixed Issue 7508: Many StringBuffer methods return StringBuffer, but should be void.
- Methods in StringBuffer have now been changed so they do not return this.
- This forces the programmer to use cascaded calls instead of flaky chaining of calls.
Review URL: https://codereview.chromium.org//11645019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16358 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 11:13:27 +00:00
sgjesse@google.com beaf02365a Change the HTTP Content-Length handling
Move the handling of the Content-Length to the HttpHeaders
object. This makes it possible to set the Content-Length through the
headers as well as directly on HttpResponse and HttpClientRequest.

R=ajohnsen@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16357 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 08:50:00 +00:00
nweiz@google.com de54a75bfc Code review change for r16238.
Review URL: https://codereview.chromium.org//11647010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16344 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 21:41:13 +00:00
floitsch@google.com 319d50ea22 Make request_test wait for its results.
Review URL: https://codereview.chromium.org//11644025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16341 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 21:16:38 +00:00
nweiz@google.com 71e2fc2bf4 Fix analyzer errors/warnings for Pub.
Review URL: https://codereview.chromium.org//11609005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16299 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 01:08:42 +00:00
rnystrom@google.com 0b54c34c24 Disable path tests where dart:io is not available.
Review URL: https://codereview.chromium.org//11638007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16298 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 00:20:09 +00:00
rnystrom@google.com 747a3f83f5 Move path ("pathos") to pkg/.
Review URL: https://codereview.chromium.org//11647003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16297 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 00:04:37 +00:00
ricow@google.com e86d230e80 Remove suppressions from pkg status file, these tests are no longer failing after 16238.
Review URL: https://codereview.chromium.org//11615018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16245 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 06:38:12 +00:00
rnystrom@google.com 584c50fb6d Revert "Convert unittest to use "package:" imports."
This reverts commit 1ba2f12fb6f5a34f22647ec917e05abc7f6ac6b3.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16241 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 01:31:35 +00:00
rnystrom@google.com 4c73170a69 Convert unittest to use "package:" imports.
Review URL: https://codereview.chromium.org//11570043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16239 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 01:14:57 +00:00
nweiz@google.com a8eb61fb8b Fix analyzer errors and warnings for pkg/http.
BUG=7458

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16238 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 00:26:15 +00:00
alanknight@google.com 87601ebd4a Duplicate of https://chromiumcodereview.appspot.com/11567018/
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16229 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 21:14:30 +00:00
scheglov@google.com ecd5c7d0bf Issue 5064. Some more 'skip' tests triage
http://code.google.com/p/dart/issues/detail?id=5064

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16227 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 20:39:03 +00:00
rnystrom@google.com 26d8a4192f Fix URL.
Review URL: https://codereview.chromium.org//11574051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16191 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-15 01:21:10 +00:00
rnystrom@google.com cef256ecf1 Convert the small packages in pkg to use "package:".
Review URL: https://codereview.chromium.org//11575043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16189 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-15 01:05:35 +00:00
alanknight@google.com b909ef7dd9 Replicating CL https://chromiumcodereview.appspot.com/11553012/
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16182 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 22:14:53 +00:00
sigmund@google.com 14de8ec666 Avoid timeouts when DRT fails to find a file.
Review URL: https://codereview.chromium.org//11565018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16177 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 19:15:00 +00:00
sgjesse@google.com b4bfe2f493 Update status file
The failure does not reprodice locally any more.

R=ager@google.com

BUG=dart:6967

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16025 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 09:16:54 +00:00
alanknight@google.com 6b4d4c0cad Throttle intl file tests
Review URL: https://codereview.chromium.org//11477014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15998 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 19:51:54 +00:00
sgjesse@google.com 93514a3b28 Reapply "Stop working around issue 6984."
Originally committted in r15804 and reverted in r15825.

Issue 6984 should be fixed by r15951.

R=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15961 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 10:03:21 +00:00
alanknight@google.com 56324ae4d8 pkg.gyp causes dartium build failure on windows
Review URL: https://codereview.chromium.org//11511017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15947 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 05:57:04 +00:00
rnystrom@google.com 89dbb7be66 Add "toString()" to BaseRequest.
Review URL: https://codereview.chromium.org//11480003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15869 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 21:49:27 +00:00
ahe@google.com 46c1741645 Have list_pkg_directories.py print something.
Review URL: https://codereview.chromium.org//11478021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15840 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 09:54:26 +00:00
rnystrom@google.com e3bc775e68 Revert "Add logging system to pub and sprinkle some logging in."
This reverts commit 60468a1a0854389bb3f460cf2368f22013f1af31.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15830 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:48:12 +00:00
rnystrom@google.com 578c415134 Add logging system to pub and sprinkle some logging in.
We'll have to tune which things we log over time, but this covers
most IO operations which is where almost all of our problems come
from.

This patch also means that going forward you should no longer call
print() or printError() (which is gone) directly. Instead:

print() -> log.message()
printError() -> log.error()

That ensures all messages will correctly get added to the log's
transcript.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15827 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:29:23 +00:00