Commit Graph

89 Commits

Author SHA1 Message Date
nweiz@google.com 47393b62a0 Add an HTTP client based on Curl.
Review URL: https://codereview.chromium.org//11394003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14811 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 22:01:14 +00:00
gram@google.com afd6a79416 Update library syntax in pkg files.
Review URL: https://codereview.chromium.org//11362139

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14646 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 18:52:40 +00:00
antonm@google.com 65b06a1601 Remove suppressions for now passing tests.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14640 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 17:32:07 +00:00
sgjesse@google.com f12c9bca71 Correct entry in pkg.status file
TBR=ahe@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14628 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 15:24:16 +00:00
sgjesse@google.com 888322f484 Mark pkg/http/test/request_test flaky on Windows
R=ager@google.com

BUG=dart:6594

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14624 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 14:27:25 +00:00
sgjesse@google.com d83354b83d Keep track of the request and response state in the HTTP client connection
In a HTTP client connection it is possible for the response to end
before the request has been fully sent. This situation was not handled
correctly. Now the HTTP client connection keeps track of the state of
both request and response and doen not end the client connection
before both are done.

R=ager@google.com

BUG=dart:6521

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14559 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 11:28:19 +00:00
scheglov@google.com 1d310ff72c Report error for deprecated #library #import #source
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14535 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:21:20 +00:00
ricow@google.com 9f1fa8b10e Suppress new pkg/http/http_test, it is flaky
Filed issue 6521 to track this
Review URL: https://codereview.chromium.org//11361085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14509 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-04 16:33:34 +00:00
nweiz@google.com 549efe3bdf Add an HTTP library that wraps dart:io.
Review URL: https://codereview.chromium.org//11363063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14502 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 20:55:01 +00:00
nweiz@google.com e6a33d23fb Reverting 14496
Review URL: https://codereview.chromium.org//11293075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14498 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 20:13:14 +00:00
nweiz@google.com f6f3e1d556 Add an HTTP library that wraps dart:io.
Review URL: https://codereview.chromium.org//11338054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14496 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 19:45:04 +00:00
gram@google.com f98f92be9d Fix mock library to use new noSuchMethod signature.
Review URL: https://codereview.chromium.org//11363058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14494 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 18:32:09 +00:00
gram@google.com fdb33dc06b git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14445 260f80e4-7a28-3924-810f-c04153c831b5 2012-11-01 23:36:51 +00:00
gram@google.com 981c4b11df Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
gram@google.com 504b13a80e Fix test statuses of some tests that were marked as Fail but now pass as we
support new library syntax.
Review URL: https://codereview.chromium.org//11293048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14439 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 22:15:38 +00:00
antonm@google.com 594b09ced4 Hopefully the last touch.
TBR=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14416 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 16:47:29 +00:00
antonm@google.com 9937d0238c Splt dartium and drt expectations.
TBR=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14411 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 15:19:44 +00:00
antonm@google.com 350b034161 Suppress test which were migrated to new library syntax.
Alas, current testing framework doesn't support this new syntax for browser
tests.

TBR=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14409 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 14:50:08 +00:00
alanknight@google.com 7c260bbdfb Update status file that was expecting intl tests to fail due to import directives
Review URL: https://codereview.chromium.org//11365015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14375 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 22:15:52 +00:00
hausner@google.com 29c1668cb9 Prevent mutation of final variables
Fixes issue 4328
Review URL: https://codereview.chromium.org//11363012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14366 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 19:43:44 +00:00
amouravski@google.com fd131176e4 Removed unnecessary entires in status file.
Review URL: https://codereview.chromium.org//11275080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14352 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 17:29:12 +00:00
amouravski@google.com d87adaf1d4 Fixed build break by updating expectation of tests.
Some tests were marked as fail OK, but now the underlying problem is fixed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14351 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 17:00:27 +00:00
antonm@google.com a2326d001b Support for Chrome roll.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14346 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 15:24:30 +00:00
lrn@google.com 07172b0b0f Fix another now-passing test expectation.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14336 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 12:48:50 +00:00
lrn@google.com afbba1692c Fix more expectations, now that a test isn't wrong any more.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14335 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 12:20:26 +00:00
lrn@google.com 3395a69db1 Update test expectations for dartc/dartium.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14327 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 11:30:29 +00:00
lrn@google.com a8720a6d9c Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

Committed: https://code.google.com/p/dart/source/detail?r=14198

Committed: https://code.google.com/p/dart/source/detail?r=14254

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14324 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:32:54 +00:00
lrn@google.com 895d155ab1 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14260 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:47:42 +00:00
lrn@google.com 4a24ddc1d4 Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

Committed: https://code.google.com/p/dart/source/detail?r=14198

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14254 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:04:12 +00:00
scheglov@google.com 2e574c8c14 Issue 5887. Parts must start with 'part of'.
Second attempt.
Now only DartC changes, and status updates.
So, should not break anyone else.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 19:17:28 +00:00
lrn@google.com 778b0dc5e5 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14199 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 14:07:10 +00:00
lrn@google.com 0bcd2f4f7b Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14198 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 13:34:58 +00:00
alanknight@google.com 03e97181bc Reinstate skipping of http_request_test on dartium
Review URL: https://codereview.chromium.org//11263056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14102 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 21:29:10 +00:00
alanknight@google.com 583697cae9 Tolerate null from finding browser locale, re-enable tests
Review URL: https://codereview.chromium.org//11265028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14097 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 20:07:02 +00:00
efortuna@google.com 5df1c2a7ad Enable Opera tests.
Review URL: https://codereview.chromium.org//11271016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14091 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 18:05:43 +00:00
efortuna@google.com ce3543f212 Reapply ie to ie9 rename.
Review URL: https://codereview.chromium.org//11231081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13978 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 17:17:30 +00:00
efortuna@google.com 920589055f Revert rename ie to ie9.
Review URL: https://codereview.chromium.org//11249003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13976 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:28:33 +00:00
efortuna@google.com aced5af6e3 Intl browser locale status on IE.
Review URL: https://codereview.chromium.org//11236058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13918 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 01:26:35 +00:00
efortuna@google.com 5c11640be1 Fix pkg.status with ie9 rename.
Review URL: https://codereview.chromium.org//11225049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13916 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 23:53:50 +00:00
scheglov@google.com 09b22d5b46 Issue 6073. Fixes for 'export'.
http://code.google.com/p/dart/issues/detail?id=6073

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13853 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-20 20:47:58 +00:00
ahe@google.com 5e0c331388 Turns out that dartc didn't implement export.
Review URL: https://codereview.chromium.org//11194079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13811 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 08:35:00 +00:00
efortuna@google.com 1044555ef0 Update date time test status
Review URL: https://codereview.chromium.org//11038045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13263 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 21:24:14 +00:00
efortuna@google.com cc93a9ca0d Fix test status on Windows.
Review URL: https://codereview.chromium.org//11027034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13250 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 18:06:31 +00:00
ager@google.com c4c4b7f08c Add in-process http server to the dart test scripts.
Removed support for extra commands. Change pkg/intl test to use
builtin http server.

Fixed regression in test runner so the test script terminates when
passing in an unknown selector.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 10:43:48 +00:00
alanknight@google.com a93c81e1c6 Remove "slow" tag from Intl http_request test
Review URL: https://codereview.chromium.org//11051030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13203 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 23:03:32 +00:00
alanknight@google.com 8d2d5bc6f7 Finding locale from browser needs to canonicalize the result
Review URL: https://codereview.chromium.org//11016017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13136 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 20:36:51 +00:00
alanknight@google.com 6d78df29c1 Temporarily disable finding browser on safari while debugging
Review URL: https://codereview.chromium.org//11032025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13131 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 18:50:41 +00:00
ricow@google.com ced5a068a8 Add pass marker to intl/test/date_time_format_http_request_test marked slow in last commit.
We should change the semantics of the slow marker to implicitly mean Pass unless otherwise specified.
Review URL: https://codereview.chromium.org//11040019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13102 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 07:02:39 +00:00
ricow@google.com f3b0a2c1eb Mark pkg/intl/test/date_time_format_http_request_test as slow.
The additional nit capitalizations of markers has no semantic meaning, just for consistency.
Review URL: https://codereview.chromium.org//11037014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13101 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 06:35:01 +00:00
ager@google.com d8f6b41e07 Update status to reflect tests passing.
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13058 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 10:36:19 +00:00