Commit Graph

97 Commits

Author SHA1 Message Date
dgrove@google.com 278d7b0c74 Update documentation links to point to the correct URLs.
Review URL: https://codereview.chromium.org//12252055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18552 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 01:27:10 +00:00
alanknight@google.com a3061ab600 Stop using deprecated charCodeAt in Intl
Review URL: https://codereview.chromium.org//12262030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18526 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 18:23:43 +00:00
amouravski@google.com 9cbede1d32 Added documentation links to all of the pkg packages hosted on api.dartlang.org.
Review URL: https://codereview.chromium.org//12218119

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18414 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 23:38:30 +00:00
blois@google.com 1fb79cdb28 Resubmit "Adding ease-of-use methods to HttpRequest."
Fixing the dependent pkg/intl code.

This is the same as my previous CL, but with the modification to pkg/intl/lib/src/http_request_data_reader.dart

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17949 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 22:40:04 +00:00
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 22cf3808b8 Missed two files that needed dart:async import.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16779 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 02:24:23 +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
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
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
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
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
dgrove@google.com c5fa064ac4 Eliminate htmlescape package.
Review URL: https://codereview.chromium.org//11434063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15609 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 22:57:34 +00:00
dgrove@google.com 33abe0ef0a Add authors and homepages to packages.
Review URL: https://codereview.chromium.org//11418267

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15601 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 21:16:01 +00:00
scheglov@google.com 1277895b47 Issue 6836. Using undeclared identifier in static context is now warning.
http://code.google.com/p/dart/issues/detail?id=6836

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15311 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 16:18:35 +00:00
ager@google.com 3fb41705e5 Rename File.readAsText to File.readAsString. There is no Text type in Dart
and the methods return Strings.

R=sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15011 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 13:10:15 +00:00
ajohnsen@google.com ab69873a42 Make RegExp constructor non-const.
Another take of https://codereview.chromium.org/11410033/ with status changes applied for co19 tests.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14837 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:18:06 +00:00
ajohnsen@google.com ec9fee9858 "Reverting 14829-14832"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14833 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:28:13 +00:00
ajohnsen@google.com 8dc3edd7ce Make RegExp's constructor non-const.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14829 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 06:48:43 +00:00
lrn@google.com 2208fcd208 Change NotImplementedException to UnimplementedError.
Retain a NotImplementedException type for backwards compatibility.
This class will be removed soon.
The constructor of UnimplementedError is currently const in order to
support the NotImplementedException. That will be fixed too.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14467 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 13:18:37 +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
scheglov@google.com dce51bf910 Using 'interface' and 'abstract' for methods should produce error
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14165 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-27 16:22:18 +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
floitsch@google.com 9cc9214b58 Rename regexp methods to getters.
Review URL: https://codereview.chromium.org//11266050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14094 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:31:56 +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 3300f91153 Make first and last getters.
Review URL: https://codereview.chromium.org//11273041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14082 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 15:19:31 +00:00
floitsch@google.com e7c5e69beb Make String.charCodes a getter.
Review URL: https://codereview.chromium.org//11263040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14078 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 14:25:43 +00:00
floitsch@google.com 09f6d09d88 Make isEmpty a getter.
Review URL: https://codereview.chromium.org//11238035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14022 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 15:04:32 +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 986f155836 Try removing explicit use of dynamic
Review URL: https://codereview.chromium.org//11017057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13486 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 17:16:28 +00:00