Commit Graph

25510 Commits

Author SHA1 Message Date
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
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
gram@google.com 8d7a79d030 Add a space between test group iname and result summary (issue 3692).
I put this between the divs so as not to pollute the div contents in case we ever end up having code that parses the div contents.
Review URL: https://codereview.chromium.org//11031056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13260 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 21:14:42 +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
johnniwinther@google.com f41e2ad66f Avoid capture of 's' in dartdoc search input.
Review URL: https://codereview.chromium.org//11038035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13228 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 13:08:13 +00:00
johnniwinther@google.com 7cb95a6fc7 Members and comments inherited in dartdoc.
BUG=1488,3830,1156,5081

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13225 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 12:46:45 +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
johnniwinther@google.com ac4f2c5519 Change find-as-you-type shortcuts to Ctrl+3 and S.
'/' doesn't work since there is no fixed keyCode, i.e. it depends on keyboard layout.

BUG=4852

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13209 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 06:51:11 +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 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
johnniwinther@google.com 699c54c68d Make Mirror.simpleName unique.
Review URL: https://codereview.chromium.org//11014022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13167 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 09:36:58 +00:00
johnniwinther@google.com 19d526b213 Show noargs methods as () instead of (...) in find-as-you-type.
Review URL: https://codereview.chromium.org//11039018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13165 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 09:22:50 +00:00
johnniwinther@google.com 98ab126164 Patch refactoring.
This is the third and main part of the patch refactoring.
Patch libraries, classes, and functions now have there separate element chain,
which is doubly-linked to their origin counterparts.

See the library comment in lib/compiler/patch_parser.dart for a detailed
description of the new patch system, the terminology and the invariants.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13163 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 09:00:45 +00:00
alanknight@google.com 89de7ade42 Fix markdown syntax in Intl
Review URL: https://codereview.chromium.org//11045009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13153 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 23:46:13 +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 cbba6866fc Dartdoc method sorting says it's case insensitive, but isn't
Review URL: https://codereview.chromium.org//11051004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13144 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 21:49:47 +00:00
alanknight@google.com ab9a32f9cb Dartdoc should sort constructors by constructorName, not by class name
Review URL: https://codereview.chromium.org//11013016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13139 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 21:01:46 +00:00
alanknight@google.com 70082fd783 Minor cleanups to take advantage of lazy initialization
Review URL: https://codereview.chromium.org//11038007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13137 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 20:37:03 +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
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
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
johnniwinther@google.com 88fe3fe3c5 Use static final empty Modifier instead of null.
Review URL: https://codereview.chromium.org//10996062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13050 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 07:01:07 +00:00
johnniwinther@google.com 58faaa7747 dartdoc supports isAbstract on methods
isAbstract added to InterfaceMirror and MethodMirror and used in dartdoc.
InterfaceMirror.isAbstract is currently not support by dart2js since modifiers are not stored for ClassElement.

BUG=2926

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13017 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 13:08:54 +00:00
gram@google.com 7415f8809a Make the matcher classes for exceptions public so that users can use them to create matchers for their own exception types. See issue 4107.
Review URL: https://codereview.chromium.org//10987041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12978 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 18:03:38 +00:00
lrn@google.com 37197c2553 Stop using the Hashable interface.
All objects have a hashCode method, so there is no need for a Hashable
interface.
The interface itself is retained for at least two weeks, to give time for
code to remove uses of it.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12955 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 13:07:54 +00:00