Commit Graph

56 Commits

Author SHA1 Message Date
lrn@google.com 9b23dff467 Reapply "Rename mappedBy to map."
This reverts commit r17907.

TBR.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 15:12:56 +00:00
floitsch@google.com b1a118d5ce Revert "Rename mappedBy to map."
This reverts commit 17899.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17907 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:02:27 +00:00
lrn@google.com 0dc2f4b1ba Rename mappedBy to map.
Retain a deprecated mappedBy for now.
Change return type of mappedBy, skip and take on List to Iterable.

BUG= http://dartbug.com/8063
BUG= http://dartbug.com/8064
BUG= http://dartbug.com/6739
BUG= http://dartbug.com/7982

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17899 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 12:37:13 +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 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
floitsch@google.com fb7b9e3c5c Rename Date to DateTime.
BUG=http://dartbug.com/1424

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17549 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 12:16:37 +00:00
alanknight@google.com 27541ed0fb Fix tests to accept short locale names as long as long ones, properly this time.
Review URL: https://codereview.chromium.org//11895005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17091 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 20:47:45 +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
efortuna@google.com 4622dc3e76 Make browser tests all run from a server instead of the local filesystem.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17007 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-13 01:11:07 +00:00
lrn@google.com 4868ee2110 Remove Futures class, move methods to Future.
Optimize Future.forEach, Future.delay.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16954 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 09:46:45 +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
efortuna@google.com 01421cc23d Fix up test statuses. Browser tests should now all pass.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16777 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 01:49:14 +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
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 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
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
alanknight@google.com 8352fb6c7e Update intl to new import syntax
Review URL: https://codereview.chromium.org//11366016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14372 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 21:32:10 +00:00
floitsch@google.com 2e778387b3 Make getKeys, getValues getters (keys, values).
Review URL: https://codereview.chromium.org//11267018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14093 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:22:11 +00:00
floitsch@google.com 27cadf2b66 isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue.
Review URL: https://codereview.chromium.org//11227042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13974 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:15:36 +00:00
ahe@google.com 6254729761 Revert "Parts must start with 'part of'" and "Attempt to fix VM build"
This reverts r13961 and r13963.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13967 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 14:24:04 +00:00
scheglov@google.com 50b5b6e1a8 Parts must start with 'part of'
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13961 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:20:50 +00:00
regis@google.com 42d2d4fb0f Change bidi_utils and bidi_formatter for new optional parameters.
Review URL: https://codereview.chromium.org//11200003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13793 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 18:21:38 +00:00
regis@google.com 8c3cfbb381 Second round of cleanups for new optional parameter semantics.
Review URL: https://codereview.chromium.org//11194025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13759 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 20:58:19 +00:00
regis@google.com adb534674c Change core lib, dart2js, and more for new optional parameters syntax and semantics (new semantics is not enforced yet).
Review URL: https://codereview.chromium.org//11090016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13684 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 16:03:47 +00:00
alanknight@google.com 4a0d950454 Make verifiedLocale work differently depending on what it's verifying for
Review URL: https://codereview.chromium.org//11086033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13484 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 16:36:13 +00:00
alanknight@google.com 7998b490fc If no pattern is specified for date formatting, use a default
Review URL: https://codereview.chromium.org//11068011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13309 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 18:26:15 +00:00
alanknight@google.com c3ced88fa3 Move Bidi functions into methods to make the docs look better
Review URL: https://codereview.chromium.org//11032035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13261 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 21:15:20 +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 14ce294bb1 Make the date formatting library visible in apidoc by merging it into Intl
Review URL: https://codereview.chromium.org//11048027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13199 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 22:11:09 +00:00
alanknight@google.com 46e5218fc7 Make the date_time_format_http_request_test run faster
Review URL: https://codereview.chromium.org//11050004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13148 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 22:47:51 +00:00
alanknight@google.com d5dd0c5fb0 Make sure to wrap all callbacks with expectAsync in tests
Review URL: https://codereview.chromium.org//11028010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13124 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 16:25:40 +00:00
danrubel@google.com 9b89419e88 migrate raw string to new syntax in pkg
Review URL: https://codereview.chromium.org//10961061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12754 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-22 19:41:42 +00:00
alanknight@google.com 0225c4bbf6 Make invoking start_web_server use an absolute path to accomodate incremental dartium builds
Review URL: https://codereview.chromium.org//10957044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12730 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 18:50:55 +00:00
alanknight@google.com 379f74a6e0 Fix typo in start_web_server, re-enable tests
Review URL: https://codereview.chromium.org//10962035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12728 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 18:17:33 +00:00
alanknight@google.com 388a543ab2 Temporarily disable intl http test on dartium because of issue with the inc build and working direc…
Review URL: https://codereview.chromium.org//10965028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12670 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:33:41 +00:00
alanknight@google.com eac6195680 Be sure to use absolute paths in intl web server tests
Review URL: https://codereview.chromium.org//10961034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12666 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:08:23 +00:00
alanknight@google.com 907c7ea083 Read locales over http in the browser
Review URL: https://codereview.chromium.org//10959002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12664 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 23:27:56 +00:00
alanknight@google.com b9f933b920 Change intl to use new pub layout
Review URL: https://codereview.chromium.org//10952004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12519 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 22:18:15 +00:00
alanknight@google.com 2a96a33e66 Fix finding locale from OS on Windows
Review URL: https://codereview.chromium.org//10939002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12505 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 17:08:29 +00:00
alanknight@google.com f12a2943f6 Find the system locale from the browser or OS
Review URL: https://codereview.chromium.org//10907266

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12461 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 22:25:48 +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
alanknight@google.com 2748b083f0 Add test that uses the basic example code
Review URL: https://codereview.chromium.org//10914272

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12349 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 19:58:16 +00:00
alanknight@google.com 282a347822 Add async initialization for Intl.message and an example
Review URL: https://chromiumcodereview.appspot.com//10915215

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12345 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 18:20:29 +00:00