Commit Graph

35087 Commits

Author SHA1 Message Date
gram@google.com f7d27f2c64 Modified unittest to use new argument syntax.
Fix affected unit tests.
Clean up unit tests that are using Expect instead of expect.
Get rid of warnings about duplicated library names.
Review URL: https://codereview.chromium.org//11275054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14158 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 22:52:03 +00:00
lrn@google.com b8b5632148 Convert NoMoreElementsException and EmptyQueueException to StateError.
Review URL: https://codereview.chromium.org//11269045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14122 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 08:28:33 +00:00
gram@google.com 7e1fc337c7 Fix break.
Review URL: https://codereview.chromium.org//11265041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14116 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 00:22:41 +00:00
gram@google.com da30d37bcb Added a new Matcher, FeatureMatcher, that is a useful abstract base class
for creating custom matchers.
Review URL: https://codereview.chromium.org//11189040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14114 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 00:04:04 +00:00
amouravski@google.com b24c823d54 Add logic to exclude certain libraries from API doc.
Review URL: https://codereview.chromium.org//11260045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14108 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 22:28:26 +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
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
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
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
amouravski@google.com 3b5d04dc95 Fixes documentation generation for dart:html.
Specifically, this looks at the canonical URI for a library, and if it begins
with dart:, then use the canonical path as the printed name, otherwise use the
simpleName, which is generally the library name.

This was necessary because the new import syntax changed the simpleName from
say "dart:html" to "html". This should work for all other libraries, too, which
will be updated to the new import syntax in following CLs.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14040 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 21:25:17 +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 0e47b363ae Make hasNext a getter instead of a method.
Review URL: https://codereview.chromium.org//11230011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14015 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 13:05:11 +00:00
lrn@google.com a083c1a108 Removed IllegalAccessException and UnsupportedOperationException.
Both were converted to StateError.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14012 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:36:10 +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
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
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
floitsch@google.com 9074fd0178 Make hashCode a getter and not a method.
Review URL: https://codereview.chromium.org//11191078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13866 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 12:41:04 +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
jmesserly@google.com 42eb359010 fix warning in Logger
(setter type must be "void" or "Dynamic")

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13848 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 23:43:48 +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
ahe@google.com 0fa9c8078c Clean up leg.dart.
Review URL: https://codereview.chromium.org//11184046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13809 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 07:25:27 +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
johnniwinther@google.com d0289b7a36 Constructors are handled correct in dartdoc.
Dartdoc can show private types and members.
Object members are not inherited by default.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13728 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 10:52:45 +00:00
johnniwinther@google.com d65a5efa49 Private constructors handled as private.
Review URL: https://codereview.chromium.org//11170005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13726 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 10:25:45 +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
johnniwinther@google.com 2e6fbf6524 Fields, getters and setters documented as properties.
Review URL: https://codereview.chromium.org//11028138

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13611 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 11:16:21 +00:00
gram@google.com 403bbf44b0 Added the ability for testrunner to start the HTTP server with a random port and communicate that port to the tests via a 'testState' map in unittest.
Review URL: https://codereview.chromium.org//11103015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13507 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 23:47:56 +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
alanknight@google.com 588a8fbd77 Remove function types from intl, as they appear to break the vm
Review URL: https://codereview.chromium.org//11066099

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13485 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 17:02:28 +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
johnniwinther@google.com ef93dd9da1 Added support for exports and re-exports.
BUG=5429
TESTS=language/export_test, language/export_cyclic_test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13478 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:08:18 +00:00
gram@google.com 306a9255d2 Revert r13442. The extension fails to install under Windows, and the sentinel
message approach does not work on Mac; Mac seems to need the old timeout approach.
So only Linux works at this point.
Review URL: https://codereview.chromium.org//11098028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13450 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 22:48:13 +00:00
gram@google.com ee34ca9e60 Chrome extension to get console messages upon test failures. Unlike the
prior one which used chrome.experimental.console APIs, which aren't accessible
to non-devtool extensions, this one uses remote debugging APIs, which are.
Review URL: https://codereview.chromium.org//11092015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13442 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:09:22 +00:00
sra@google.com 3f914b063e Speed up markdown parsing with fast path for plain words.
This takes the apidoc build step time on my (old) machine down by a
third from 67s to 43s.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13429 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 19:01:05 +00:00
alanknight@google.com 3c23d6f35c Small changes for spec updates/editor suggestions
Review URL: https://codereview.chromium.org//11099014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13425 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 18:25:54 +00:00
alanknight@google.com 6637f2ce35 Clean up TODOs and comments in Intl
Review URL: https://codereview.chromium.org//11091012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13383 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 23:26:09 +00:00
justinfagnani@google.com eaec4331bd Fix timer tests: timer tests were not using expectAsync to wait for
callbacks to be executed.

BUG=http:///dartbug/5730

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13381 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 23:13:33 +00:00
gram@google.com 11e84adfb5 Fix fail call.
Review URL: https://codereview.chromium.org//11035068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13329 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 22:56:22 +00:00
gram@google.com e5331d542e Abstract is now required on abstract classes so adding that.
Make fail(message) a public API (by request).
Review URL: https://codereview.chromium.org//11027072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13323 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 21:28:56 +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
johnniwinther@google.com 980ffae497 Show top-level members (again).
Use event.target to avoid capture of 's' in dartdoc search input.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13294 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 14:34:32 +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