Commit Graph

1458 Commits

Author SHA1 Message Date
kustermann@google.com afeda4a8a8 Marked date_time_format_file_even_test as flaky
Review URL: https://codereview.chromium.org//12596013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20325 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 16:42:31 +00:00
sigmund@google.com 68a26315ef Move source maps package to the dart repo, so it can be used by other internal
tools.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20300 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 23:41:50 +00:00
nweiz@google.com 876a1c0034 Properly collate multiple directory validation errors in scheduled_test.
BUG=9266

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20243 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 21:04:16 +00:00
ricow@google.com b3d14f201d Mark pkg/scheduled_test/test/descriptor_test as flaky.
Filed 9266
Review URL: https://codereview.chromium.org//12621007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20227 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 18:21:06 +00:00
ngeoffray@google.com 124e5a1bf1 We might have hit the same safari bug again.
Review URL: https://codereview.chromium.org//12905004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20161 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 14:50:59 +00:00
ricow@google.com 25850a01ec Mark scheduled_test/test/scheduled_test_test slow
I have filed dartbug.com/9231
Review URL: https://codereview.chromium.org//12917004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20160 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 14:13:46 +00:00
alanknight@google.com 52f0f0a262 Add issue number to failing test
Review URL: https://codereview.chromium.org//12752005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20100 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 18:35:31 +00:00
alanknight@google.com 16a944bce1 Change status file for intl test with encoding issue on Windows
Review URL: https://codereview.chromium.org//12630013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20058 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 00:08:56 +00:00
alanknight@google.com 0446767578 Adds facilities for extracting Intl.message calls and generating code from translations
This adds both general libraries for extracting messages and generating translations and scripts for using them with a trivial translation format. It removes the previous mechanism in message_lookup_local that relied on mirrors and traversing libraries in favor of one with a more explicit lookup by library that's consistent with the generated code. It also changes the code in basic_example to use that.

It also includes a couple of other changes. It now uses pathos for path manipulation, and the data_directory.dart hack for running tests from multiple different places was cleaned up and made more general. In addition, Intl.message now returns a string rather than a Future, which was changed as part of the libv2 integration.

This version does not yet support the plural syntax, as it disallows any interpolations that aren't just replacing a variable name. It also doesn't support named arguments to functions containing Intl.message, and it doesn't yet have a mechanism for designating sections of a text as not being subject to translation.

Finally, it relies on analyzer-experimental, which has a different name in the repository and in pub. So this version will run in the repository but will not run if used from pub. Bug 9071 asks for the names to be made consistent.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20047 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 20:49:26 +00:00
gram@google.com 9827d99e2a Bring webdriver up to date with SDK changes, and a bit of refactoring.
Review URL: https://codereview.chromium.org//12413012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20038 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 17:45:09 +00:00
erikcorry@google.com 2a857debea dart2js: Create noSuchMethod handlers at runtime to reduce overhead.
This reduces the overhead for using noSuchMethod from over 10% to around 2%.
Following this change the original source names are not present when
minifying.  This means you get the minified name in the methodName property
on InvocationMirror objects.

R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20005 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 11:49:13 +00:00
scheglov@google.com 139e02c68e Rename analyzer-experimental to analyzer_experimental.
https://code.google.com/p/dart/issues/detail?id=9071

R=pquitslund@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19973 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 21:42:01 +00:00
ager@google.com 26c4b3a58d Fix file descriptor leak in event handler implementation. When shutting down an isolate, we did not destruct the eventhandler so we leaked the file descriptors for it.
Also fix leak of monitor wait data objects on Windows.

R=sgjesse@google.com
BUG=dartbug.com/9021

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19921 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 11:11:38 +00:00
scheglov@google.com 7a5e2100ad Skip analyzer-experimental/.../resolver_test test.
TBR

R=efortuna@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19830 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 23:27:53 +00:00
nweiz@google.com 8fe98eca6c Fix the build breakages caused by r19742.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19746 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 23:31:02 +00:00
floitsch@google.com d9fc776d43 Mark date_time_format_unitialized_test as flaky.
Review URL: https://codereview.chromium.org//12521008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19691 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 13:12:40 +00:00
ricow@google.com bf4db7b7be Suppress failure in pkg/intl/test/date_time_format_http_request_test
Filed http://dartbug.com/8983
Review URL: https://codereview.chromium.org//12576004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19627 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 14:13:14 +00:00
scheglov@google.com 6e7bff23f8 Attempt to fix builds after analyzer-experimental fixes.
TBR

R=pquitslund@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19533 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 01:19:01 +00:00
nweiz@google.com 284649357a Fix the pkg/http multipart test to avoid a race condition.
BUG=8843

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19263 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 23:15:59 +00:00
nweiz@google.com 755454d444 Fix the pkg/http multipart tests.
Review URL: https://codereview.chromium.org//12385010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19200 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:46:46 +00:00
nweiz@google.com ad5ec46189 Un-mark scheduled_test_test as skipped.
BUG=8844

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19198 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:33:10 +00:00
asiva@google.com 1c8138978c Fix status file.
Review URL: https://codereview.chromium.org//12383011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19195 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:21:18 +00:00
nweiz@google.com 63a8d1271f Change MultipartFile.fromFile to MultipartFile.fromPath in pkg/http.
This re-commits r19185, with all package: imports removed from pkg/http so that
it can transitively depend on pkg/path without breaking pub. This also marks
pkg/http/multipart_test as skipped temporarily (see issue 8843).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19194 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:16:10 +00:00
asiva@google.com a4338c4865 Skip scheduled_test_test in debug mode under the VM as it seems to timeout always.
Review URL: https://codereview.chromium.org//12377006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19190 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 00:55:14 +00:00
nweiz@google.com 4eb2c68adf Fix a dartc error for pkg/http/multipart_test.
BUG=7458

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19180 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 22:55:22 +00:00
nweiz@google.com c8f6014ae7 Move pkg/path to pkg/pathos.
Review URL: https://codereview.chromium.org//12316056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18906 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:45:55 +00:00
lrn@google.com ecbf4478c2 Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12212211

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18573 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:07:22 +00:00
efortuna@google.com 7120208746 Fix test status for analyzer test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18544 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 22:03:28 +00:00
pquitslund@google.com c5fba36a7a Test status fix to properly exclude analyzer tests from dart2js builds.
Review URL: https://codereview.chromium.org//12263045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18538 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:51:22 +00:00
pquitslund@google.com fc2c75acda Fresh drop of analyzer-experimental.
Among other things, 
  * adds resolver and tests (in progress)
  * more tests in general (e.g., ast_test.dart and element_test.dart)
  * fixes getter/setter name generation
Review URL: https://codereview.chromium.org//12253009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18535 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:28:02 +00:00
alanknight@google.com 84b4fc6a80 Fix modification of map while iterating in SimpleJsonFormat
Review URL: https://codereview.chromium.org//12210151

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18527 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 18:30:21 +00:00
alanknight@google.com 94c3ee853d Status file workaround for serialization flakiness for the moment
Review URL: https://codereview.chromium.org//12248010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18364 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 01:51:22 +00:00
nweiz@google.com f64f23b992 Disable the scheduled test tests on the browser bots.
Review URL: https://codereview.chromium.org//12223063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18297 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-09 02:15:18 +00:00
nweiz@google.com 41ecfcd834 Skip the scheduled test tests on dart2js.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18288 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 23:29:42 +00:00
nweiz@google.com 8f3ec6b6d3 Add a scheduled test library.
Review URL: https://codereview.chromium.org//12209073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18285 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 23:07:57 +00:00
pquitslund@google.com 1ea91e6409 Status file updates in quest for test greenness.
Review URL: https://codereview.chromium.org//12185033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18095 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:14:45 +00:00
alanknight@google.com 76bce685bb Remove the code that attempts to find a locale from the command line VM in Windows.
Review URL: https://codereview.chromium.org//12038073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17674 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:56:02 +00:00
alanknight@google.com 867e2fb38c Put back status file entry for russian windows locale test, it's still not working
Review URL: https://codereview.chromium.org//12033081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17590 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:06:42 +00:00
alanknight@google.com e17f6ef909 Make standalone (non-browser) locale detection for windows also accept short locale names
Review URL: https://codereview.chromium.org//11953069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17588 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 18:51:50 +00:00
iposva@google.com 57f62dd2e1 - Make sure we can "run" all tests using simarm/simmips.
Review URL: https://codereview.chromium.org//12042065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17516 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 00:42:04 +00:00
efortuna@google.com 5087eedf93 Adjust pkg status for analyzer-experimental tests.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17419 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 20:38:15 +00:00
alanknight@google.com ae8178bb6b Standalone locale test still failing on Windows, restore status file
Review URL: https://codereview.chromium.org//11936003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17096 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 21:47:37 +00:00
alanknight@google.com 7a42378b21 [ak] Fix tests to accept short locale names as well as long ones
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17090 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 20:39:22 +00:00
ngeoffray@google.com 34a0db05e2 Update status file for jsshell.
Review URL: https://codereview.chromium.org//11862009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16970 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 13:33:31 +00:00
ngeoffray@google.com 184a9f610a Support Timer with 0 millisecond delay in dart2js running in the command line.
Review URL: https://codereview.chromium.org//11866003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16968 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 13:02:58 +00:00
alanknight@google.com f3bd62d72a Fix flakiness in intl_message_basic_example_test (7730)
Review URL: https://codereview.chromium.org//11818034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16930 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 18:23:33 +00:00
kustermann@google.com 96574ee329 Status file updates for jsshell
Review URL: https://codereview.chromium.org//11833035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16920 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 14:16:37 +00:00
rnystrom@google.com a3dfac3b6f Disable new args test suites on dart2js.
Review URL: https://codereview.chromium.org//11829035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16886 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 21:17:19 +00:00
ager@google.com 39c59cdfb3 Update status file with locale test that fails with at least Russian and Danish locale on Windows.
R=ricow@google.com,alanknight@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16844 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 10:11:45 +00:00
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