Commit Graph

625 Commits

Author SHA1 Message Date
floitsch@google.com 68a9727c52 Rewrite Futures.
R=lrn@google.com

Committed: https://code.google.com/p/dart/source/detail?r=27375
Reverted: https://code.google.com/p/dart/source/detail?r=27376

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27383 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 14:00:20 +00:00
floitsch@google.com d035cbd825 Revert "Rewrite Futures."
This reverts commit r27375.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27376 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 12:16:41 +00:00
floitsch@google.com 42e3d1db85 Rewrite Futures.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27375 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 12:02:37 +00:00
johnmccutchan@google.com bc987abea7 Revert type hierarchy changes
Review URL: https://codereview.chromium.org//23533046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27374 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 11:05:10 +00:00
johnmccutchan@google.com 4913d3803b Actually disable typed_data_hierarchy_test for dart2js chrome and safari
Review URL: https://codereview.chromium.org//24081003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27371 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 09:36:50 +00:00
johnmccutchan@google.com a3409e951b Disable typed_data_hierarchy_test for dart2js chrome and safari
Review URL: https://codereview.chromium.org//23754008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27370 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 09:21:56 +00:00
johnmccutchan@google.com a2c4cf0896 Uint8ClampedList no longer inherits from Uint8List
Review URL: https://codereview.chromium.org//23464052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27366 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 08:06:22 +00:00
johnmccutchan@google.com f46999818f Revert 27326
Review URL: https://codereview.chromium.org//24087003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27327 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 09:57:53 +00:00
johnmccutchan@google.com 8a854aa818 Uint8ClampedList no longer inherits from Uint8List
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27326 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 09:44:31 +00:00
rmacnak@google.com 232cdaae3e VM: Make ParameterMirror.toString say it is a parameter mirror.
VM: Make FunctionTypeMirror.toString use the form (args) -> retval.
dart2js: Fix FunctionTypeMirror.toString's use of separators.

BUG=http://dartbug.com/13079
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27213 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 20:57:22 +00:00
kevmoo@j832.com 85e045313e adding HtmlEscape to dart:convert
BUG=https://code.google.com/p/dart/issues/detail?id=1657
R=blois@google.com, floitsch@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27211 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 20:30:56 +00:00
ricow@google.com c9917cbe16 Mark lib/mirrors/typedef_test/none as failing on the analyzer
Filed issue 13093

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27207 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 18:06:59 +00:00
ahe@google.com a567deab60 Implement reflection on function type aliases (typedef).
BUG=http://dartbug.com/11612
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27204 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 17:55:43 +00:00
floitsch@google.com 7cf1fa8d26 Don't wait for asynchronous error handlers.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27182 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 09:25:32 +00:00
scheglov@google.com e6ce94adab java2dart improvement - use field if getter/setter are trivial.
Also analyzer_experimental snapshot.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27138 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 19:17:38 +00:00
rmacnak@google.com d7d3588a55 Support named and optional positional arguments in reflective invocation.
R=ahe@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27134 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 17:12:28 +00:00
ahe@google.com 6d798daaba Change simpleName of anonymous mixin applications.
BUG=http://dartbug.com/12464
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27132 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 14:38:07 +00:00
kustermann@google.com b5c64a00d7 Remove status file entries refering to non-existent tests
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27102 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 08:54:00 +00:00
rmacnak@google.com dea34ca99c Mark parameter_metadata_test as failing on dart2js.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27083 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 23:19:48 +00:00
rmacnak@google.com 865ef54309 Implement ParameterMirror.metadata.
BUG=http://dartbug.com/10906
BUG=http://dartbug.com/11418
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27082 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 22:50:15 +00:00
rmacnak@google.com 64fd5a5079 Implement InstanceMirror.== in dart2js and InstanceMirror.hashCode in the VM and dart2js.
BUG=http://dartbug.com/12909
BUG=http://dartbug.com/12919
R=ahe@google.com, asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27075 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 20:11:11 +00:00
ahe@google.com 1a95fe0799 Fix problem that caused anonymous mixin applications to be named "null".
BUG=http://dartbug.com/12464
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27073 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 18:35:00 +00:00
ngeoffray@google.com e2d27aeec6 Checked mode throws a TypeError.
Review URL: https://codereview.chromium.org//23532032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27029 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 08:10:57 +00:00
ngeoffray@google.com 3d04f309e5 Do not do global optimizations on fields and parameters when invokeOn is enabled.
R=ahe@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27026 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 07:50:35 +00:00
scheglov@google.com 5f27a4f4ad java2dart improvements and new analyzer_experimental snapshot.
1. All enums extend Enum class.
2. Remove more unneeded parentheses.
3. Remove type arugments for types with all wildcards.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27020 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 19:01:22 +00:00
kustermann@google.com f6ab02857e test.py: Fixed incorrect handling of multitest in status files, status file cleanups.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27013 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 14:04:59 +00:00
floitsch@google.com 113c812877 Replace ReceivePorts with asyncStart|End in some tests.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26996 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 08:23:21 +00:00
ahe@google.com e0019bbe04 Update status file for tests that time out on IE9
Review URL: https://codereview.chromium.org//23848002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26984 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-01 07:07:20 +00:00
rmacnak@google.com 919eae46a1 Ensure class mirrors on non-generic classes always have their runtime type set. Add a test for class mirror equality.
BUG=http://dartbug.com/12800
R=ahe@google.com, asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26951 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:51:31 +00:00
ahe@google.com be49e8c31e Update dart2dart status
Review URL: https://codereview.chromium.org//23602018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26940 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 20:10:15 +00:00
ahe@google.com e997f5b0a6 Update analyzer status
Review URL: https://codereview.chromium.org//23431012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26934 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 18:28:56 +00:00
kustermann@google.com 7c2d27bb13 Add again the *necessary* timeout markers for tests running on ie9/ie10
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26930 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 17:32:42 +00:00
floitsch@google.com 89373813f9 Make async stream test less flaky.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26923 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 15:53:23 +00:00
floitsch@google.com 1866e87ddd Switch to async_helper package.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26918 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 14:19:57 +00:00
ahe@google.com fc33814344 Mirror printer test.
BUG=http://dartbug.com/12134
R=karlklose@google.com, ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26916 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 13:51:54 +00:00
kustermann@google.com 4d7311f14b Remove Timeout entries in status files for ie9/ie10
After reducing the load on our IE builders, we hopefully no longer see these
random timeouts.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26912 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 13:39:05 +00:00
scheglov@google.com 663530693f New analysis_experimental snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26876 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 16:30:24 +00:00
lrn@google.com 788c569e9c Convert HashMap and LinkedHashMap to closed addressing hash tables.
R=regis@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26863 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 12:13:32 +00:00
rmacnak@google.com ac705b02a7 More reflection of mixin applications in the VM.
*Provide ClassMirror.mixin
*Hide extra class on the inheritance chain introduced in mixin typedefs
*Give mixin applications a simpleName that matches the source language syntax
*Update mixin_test to distinguish between members and constructors
*Update mixin_test for the mixin application naming scheme

BUG=http://dartbug.com/12464
R=ahe@google.com, asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26824 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 22:55:53 +00:00
floitsch@google.com 4c8b406350 Mark return_type_test as flaky.
Review URL: https://codereview.chromium.org//23630003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26792 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:44:26 +00:00
floitsch@google.com 8e7d24a2c5 Fix run_zoned6 and run_zoned9 test.
Review URL: https://codereview.chromium.org//23450011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26787 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 13:43:45 +00:00
floitsch@google.com 003cfdc910 Fix run_zoned6|9_test.
BUG= http://dartbug.com/12817
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26784 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 12:20:34 +00:00
ricow@google.com 49d611b564 Update suppression to the correct name for lib/run_zoned6_test/01
Additionally, mark this as flaky (since it is)

R=ahe@google.com, floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26777 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 11:05:58 +00:00
lrn@google.com 3408c5bc88 Make the result of JSON.decode be marked by "null" in the reviver.
They are currently marked by "", which can match a property as well.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26768 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 08:25:34 +00:00
ahe@google.com dfe322f515 Mark test as flaky.
Review URL: https://codereview.chromium.org//23450006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26733 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 18:12:38 +00:00
mlippautz@google.com 817a6fff3a Implement ParameterMirror.{isFinal,hasDefaultValue,defaultValue}.
Fixes issue 12196 and partially addresses issue 12430.

BUG=
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26730 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:31:09 +00:00
kustermann@google.com 013ac3b1d1 Reland "Enable running multitests in browsers""
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26695 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 09:12:05 +00:00
rmacnak@google.com 92f8786e99 Remember metadata positions for mixin and function typedefs.
BUG=http://dartbug.com/10906
R=asiva@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26680 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 00:47:42 +00:00
mlippautz@google.com f937465cd6 Fix method_mirror_source test for analyzer.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26663 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:40:09 +00:00
mlippautz@google.com b708a455d1 Fix Function.end_token_pos() and implement MethodMirror.source getter.
Move .source getter from ClosureMirror to MethodMirror (as the TODO already suggested) and provide an implementation.

BUG=
R=asiva@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26659 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:14:07 +00:00