Commit Graph

2071 Commits

Author SHA1 Message Date
floitsch@google.com 9e29696abe Mark mirrors_reader_test as timeout on FF.
Review URL: https://codereview.chromium.org//150283008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32500 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 14:26:25 +00:00
kustermann@google.com 7a7d8ec896 Removed status file entries referring to non-existent tests
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32498 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 13:25:51 +00:00
rmacnak@google.com fa1ebab500 Mark mirrors_reader_test as slow on Dartium debug.
TBR=asiva

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32465 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-08 04:45:36 +00:00
asiva@google.com b90149a17a Fix bot breakage :
- remove line in lib.status file for mirrors/mirrors_reader_test to
account for https://codereview.chromium.org//133813008

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32464 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-08 02:23:29 +00:00
rmacnak@google.com d354d73609 Avoid printing the full token stream and doing line/column position calculations when extracting the source of a function where we don't have the original source.
Brings mirrors_reader_test from 2 minutes to 11 seconds on the standalone VM.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32461 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-08 01:18:18 +00:00
rmacnak@google.com 41b3ac826d Adjust assertions in MethodMirror.source not to expect source for implicit constructors or signature functions.
BUG=http://dartbug.com/16588
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32454 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 21:46:01 +00:00
floitsch@google.com 0ccb0d3964 Mark mirrors_reader_test as timeout on IE9-checked.
Review URL: https://codereview.chromium.org//150573018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32436 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 17:12:47 +00:00
johnniwinther@google.com afa4a92f6c Mark mirrors_reader_test as slow.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32420 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 12:23:24 +00:00
johnniwinther@google.com 345709d61a Update IE9 status.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32419 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 12:10:51 +00:00
johnniwinther@google.com 093f23bb12 Fix dartium build.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32417 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 11:11:48 +00:00
johnniwinther@google.com 6fd76b92dc Add mirrors_reader_test which tests that everything reachable from a [MirrorSystem] can be accessed.
BUG=
R=floitsch@google.com, rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32415 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 09:26:15 +00:00
johnniwinther@google.com 09afc118bc Mark test as slow.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32414 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 09:06:57 +00:00
johnniwinther@google.com 06ae891b1c Support parameter metadata.
BUG=http://dartbug.com/15820
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32413 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 08:55:12 +00:00
lrn@google.com d63af4cdc8 Add more complex mixing of random seed.
This changes the sequences generated by Random for a given seed,
since the internal state will not be the same as for the unmixed
seed.
It is consistent between VM and dart2js.

The provided integer seed is hashed as follows:
   uint64 hash = 0;
   while (seed > 0) {
      hash = hash * 1037 + mix64((int64)seed);
      seed >>= 64;
   }
where mix64 mixes the bits of a 64-bit value.
The hash is used to initialize the random generator's internal state.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32412 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 08:42:43 +00:00
johnniwinther@google.com 3f016c29bc Fix ParameterMirror.hasDefaultValue/defaultValue in source mirrors.
BUG=http://dartbug.com/16535
R=floitsch@google.com

Committed: https://code.google.com/p/dart/source/detail?r=32356

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32409 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 08:03:38 +00:00
kevmoo@google.com b565b6296f pkg/unittest: Run tests in zones
Added a changelog to unittest
Deprecated a number of methods made extraneous by zone change
Fixed related issues in html and html tests

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32400 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 01:34:20 +00:00
dgrove@google.com 7bed1bc4e9 Remove dartdoc.
R=alanknight@google.com, efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32388 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 22:47:26 +00:00
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