Commit Graph

1115 Commits

Author SHA1 Message Date
ahe@google.com 05a9a7834e Emit CSP code in separate file.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27745 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 09:06:14 +00:00
kustermann@google.com 836336a3d5 Removed status file entries referring to non-existent files
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27704 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 13:29:29 +00:00
zarah@google.com e36ac8f125 Mark generics_test.dart as failing when run with the analyzer.
Review URL: https://codereview.chromium.org//23465031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27665 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 15:52:40 +00:00
zarah@google.com 317bb49282 Support typeArguments, isOriginalDeclaration, and get originalDeclaration in ClassMirror.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27662 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 14:54:52 +00:00
mlippautz@google.com 9f41ce82ae Merge tests for dart2js and VM using multi-tests.
BUG=
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27633 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 19:50:13 +00:00
ngeoffray@google.com 9cd65b1b99 Update status file for dart2js and vm.
Review URL: https://codereview.chromium.org//23926018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27567 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 12:21:53 +00:00
ngeoffray@google.com a9d58a3fc4 Remove merge error.
Review URL: https://codereview.chromium.org//23708047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27562 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 12:08:06 +00:00
ngeoffray@google.com 8b0ff9c615 Implement redirecting factories in mirrors.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27561 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 12:05:40 +00:00
mlippautz@google.com b09bbf706b Add metadata to type parameters. Reflective access is provided by TypeVariableMirror.
Addresses issue 10906.

BUG=https://code.google.com/p/dart/issues/detail?id=10906
R=asiva@google.com, rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27523 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-16 16:53:24 +00:00
ngeoffray@google.com e546e2676d Change how we generate bound closures to handler bound closures due to super getters: we need to pass the exact function to call instead of fetching it from the receiver.
R=ahe@google.com, kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27519 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-16 13:09:09 +00:00
rmacnak@google.com aa8d63aeea Properly handle exceptions that arise when reflectively invoking a constructor/factory.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27439 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 17:42:08 +00:00
rmacnak@google.com 07c4d9d0c6 Fill in type arguments when creating an object from the mirrors or embedding API.
BUG=http://dartbug.com/13186
BUG=http://dartbug.com/12921
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27417 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 00:48:16 +00:00
sra@google.com 21fdcce9b9 dart:typed_data type hierarchy changes try 3
Review URL: https://codereview.chromium.org//23618043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27413 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 23:05:27 +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
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
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 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
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
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
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
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 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
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 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
kustermann@google.com 807685dcaa Revert "Enable running multitests in browsers"
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26648 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 14:20:57 +00:00
kustermann@google.com 6844e23211 Enable running multitests in browsers
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26641 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 12:12:41 +00:00
floitsch@google.com 85ea3a7021 Mark streamed_conversion_utf8_decode_test as slow for FF.
Review URL: https://codereview.chromium.org//23011051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26587 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 09:18:47 +00:00
rmacnak@google.com 7ed3644358 Make reflectClass(dynamic) throw an illegal argument exception.
BUG=
R=gbracha@google.com, iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26550 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 20:05:51 +00:00
zra@google.com d816dd325f Adds Uint32x4 add/sub for ARM.
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26544 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 18:24:20 +00:00