Commit Graph

1004 Commits

Author SHA1 Message Date
sra@google.com 8b14fbced0 Redo "Fix for issue 16497 - fix load elimination aliasing for typed arrays"
Re-add assignment 'cast' to avoid analyzer warning.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32302 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 23:33:29 +00:00
sra@google.com 020c305407 Revert "Fix for issue 16497 - fix load elimination aliasing for typed arrays"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32301 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 23:26:30 +00:00
sra@google.com 589123472f Fix for issue 16497 - fix load elimination aliasing for typed arrays
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32300 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 23:06:19 +00:00
kevmoo@google.com 9b5165c2f8 Reverting 32284 - unittest using zones - investigating breaks in html
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32288 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 20:51:44 +00:00
kevmoo@google.com 245640e3d9 pkg/unittest: Run each test in a Zone
added a change log
Deprecate methods with behavior subsumed by runZoned
removed rerunTests
updated async/future_timeout_test to not assume Zone.ROOT during test run

BUG= https://code.google.com/p/dart/issues/detail?id=13277
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32284 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 17:52:44 +00:00
johnniwinther@google.com 9b55806eb4 Test source mirrors with lib/mirrors test.
BUG=
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32280 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 13:37:10 +00:00
ricow@google.com 18c7d04d90 Remove non existent paths from the analyze_library suite and add bugs for all other entries
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32273 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 09:00:44 +00:00
sra@google.com 56b09ad90b Test for Issue 16497
Review URL: https://codereview.chromium.org//132883020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32272 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 03:33:02 +00:00
rmacnak@google.com 509556a094 Fix handling of CRLF line endings in Script::GetSnippet.
BUG=http://dartbug.com/16098
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32254 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 18:11:57 +00:00
rmacnak@google.com 2da8c830a3 Fix non-specific type parameter in member maps.
BUG=http://dartbug.com/14972
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32225 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 23:52:15 +00:00
floitsch@google.com f54884a848 Update status file for analyzer.
Review URL: https://codereview.chromium.org//140033006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32224 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 23:30:10 +00:00
johnmccutchan@google.com 9d80608b9c Add Float64x2, Float64x2List, etc... with runtime and dart2js implementations
R=sra@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32196 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 15:28:05 +00:00
floitsch@google.com 61e503c7cb Fix warnings in tests.
Review URL: https://codereview.chromium.org//141563010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32160 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 15:25:49 +00:00
floitsch@google.com 40f277dab6 Fix JS-backend when MirrorsUsed target a static field, but there is no mirrors usage.
r31964 (https://codereview.chromium.org/141753002) ensures that type-declarations are resolved, but that wasn't the case for static fields that weren't referenced except through "MirrorsUsed". Dart2Js didn't resolve or compile the static, but then tried to emit its getters/setters (which ended up calling the "_resolveTypeDeclaration" in members.dart).

With this patch we always enqueue static variables that are referenced by MirrorsUsed. If the user doesn't use mirrors it will increase the code-size (slightly) but that should be a rare case.

R=johnniwinther@google.com, kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32159 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 15:04:25 +00:00
karlklose@google.com 8fa928d1dd Reapply "Make reflectClassByName work with interceptor names."
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32158 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 12:48:30 +00:00
lrn@google.com 1c27022d7c Change Rectangle.operator== to compare right/bottom instead of width/height.
BUG= http://dartbug.com/16245
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32155 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 09:54:44 +00:00
ajohnsen@google.com 10c04ad443 Introduce and use Zone:_enter and Zone:_leave, in Future.
This is the first step toward clearer zone specification usage, and
potential ZoneSpecification.onEnter/onLeave callbacks.

BUG=
R=floitsch@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32123 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 15:31:12 +00:00
karlklose@google.com 51ca61021a Revert "Make reflectClassByName work with interceptor names."
This reverts commit 16309.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32118 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 12:10:40 +00:00
karlklose@google.com 9e27fac327 Make reflectClassByName work with interceptor names.
BUG=16309
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32112 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 09:50:25 +00:00
rmacnak@google.com 0f7fd4066d Include drt in suppression of lib/mirrors/regress_16321_test/01
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32100 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 01:04:27 +00:00
ricow@google.com 1064410340 Mark lib/mirrors/regress_16321_test/01 as giving RuntimeError on dartium
See issue 16351

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32067 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 12:35:28 +00:00
lrn@google.com e31e81144d Attempt to make stream-timeout test less flaky.
If the periodic timer gets starved long enough, the timeout might
happen. If the 5ms periodic timer hasn't triggered in 250ms, discard
the test (i.e., don't fail anyway).

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32054 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 08:58:21 +00:00
rmacnak@google.com 2ad2351f26 Update status of mirrors/regress_16321_test/01 for dartium.
BUG=http://dartbug.com/16351
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32047 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 01:01:00 +00:00
rmacnak@google.com 2808e02ca0 VM: Fix crash when a type error is encountered while evaluating metadata in checked mode.
BUG=http://dartbug.com/16321
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32042 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 23:50:45 +00:00
sra@google.com 6ae839dda3 Add typed_data test that uses Endianness
BUG=
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31999 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-24 21:55:29 +00:00
rmacnak@google.com e83f516c31 Re-enable mirrors/immutable_collections_test on Dartium. Fix a bad constructor in Dartium's dart:js. Mark as slow.
BUG=http://dartbug.com/16027
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31996 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-24 21:05:00 +00:00
ahe@google.com 46387633af Handle dynamic as type argument.
BUG=http://dartbug.com/15573
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31977 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-22 18:02:29 +00:00
sra@google.com 9f09fcbaac Redo "Make dart2js typed_data implementation classes private"
This time with analyzer suppression for new library/

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31935 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-17 23:01:26 +00:00
lrn@google.com 9357caa547 Revert "Make VM TypedList not implement ByteBuffer."
Html transferable test fails to send buffer as buffer.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31875 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 11:48:07 +00:00
lrn@google.com c2f6609181 Make VM TypedList not implement ByteBuffer.
BUG= http://dartbug.com/10136
R=asiva@google.com, sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31873 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 10:18:41 +00:00
iposva@google.com 8db30180b4 Fix http://dartbug.com/16111
- Use all bits from the seed value even if passed a Bigint.
- Fix out of bounds access in BigintOperations.
- Remove obsolete implementation note.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31859 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 00:01:55 +00:00
floitsch@google.com 536f85d168 Update status file.
Review URL: https://codereview.chromium.org//135853016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31836 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 17:00:08 +00:00
rmacnak@google.com 2b77f8b1d4 dart2js: Implement instanceMembers and staticMembers.
BUG=http://dartbug.com/14633

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31808 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-14 22:31:20 +00:00
nweiz@google.com 60660a5dff Un-mark some pub tests as failing on the analyzer.
Removing SafeHttpServer caused these to start passing.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31768 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-14 00:05:45 +00:00
rmacnak@google.com 39f69b6045 Revert "dart2js: Implement instanceMembers and staticMembers."
Review URL: https://codereview.chromium.org//137533002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31763 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 22:40:36 +00:00
rmacnak@google.com 3886174aa1 dart2js: Implement instanceMembers and staticMembers.
BUG=http://dartbug.com/14633
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31757 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 21:09:49 +00:00
lrn@google.com f31896eba4 Fix expectation after moving json test.
Also increment version number of pkg/json in anticipation of pushing.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31734 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 12:25:15 +00:00
lrn@google.com 1bb616d0ce Fix JSON encoder accepting NaN and Infinity.
BUG= http://dartbug.com/16038
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31731 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 10:00:08 +00:00
rmacnak@google.com 499dac2ad9 Skip mirrors/immutable_collections_test on Dartium.
BUG=http://dartbug.com/16027

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31722 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-11 00:03:29 +00:00
rmacnak@google.com 615715ccaa Extend the immutable collections test to the new API. Make *Members return immutable collections. Add missing metadata property for SyntheticSetterParameter.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31675 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 20:38:32 +00:00
ahe@google.com 4789392a5b Use growable lists.
BUG=http://dartbug.com/15599
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31659 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 14:29:58 +00:00
rmacnak@google.com 7dfcd0f4a1 Add ClassMirror.isAbstract to the API and VM implementation.
BUG=http://dartbug.com/12826
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31643 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 01:27:51 +00:00
rmacnak@google.com 8313c51650 Ensure a class is finalized before attempting any reflective invocation on it.
Avoids mysterious error that results when finalization that is triggered by the reflective invocation fails to propogate a compile-time error.

BUG=http://dartbug.com/15886
R=regis@google.com, zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31638 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 00:18:09 +00:00
rmacnak@google.com d8c4c637bf Revert "Add ClassMirror.isAbstract to the API and VM implementation."
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31633 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 22:51:45 +00:00
rmacnak@google.com a5e3c91936 Add ClassMirror.isAbstract to the API and VM implementation.
BUG=http://dartbug.com/12826
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31630 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 22:21:43 +00:00
sra@google.com 534221778e Redo "dart2js typed data constructor argument validation"
Fix the postmessage test which has an error encouraged by issue 10136

Patch Set 1 is previously reviewed code.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31625 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 20:42:04 +00:00
sra@google.com c417893a72 Revert "dart2js typed data constructor argument validation"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31619 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 18:50:16 +00:00
sra@google.com fee8594ff8 dart2js typed data constructor argument validation
Addresses Issue 15951.
Also change parameter names to match documentation.

R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31615 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 17:30:40 +00:00
kustermann@google.com fea1fe4570 Status file updates for PASSing tests
Review URL: https://codereview.chromium.org//127883002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31599 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 09:38:38 +00:00
srdjan@google.com e3ab171b21 Another fix for setRange on typed data and their views: use byte offsets in native code.
Adapted checks to do the same as dart2js

R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31592 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 00:08:51 +00:00