Commit Graph

21754 Commits

Author SHA1 Message Date
ricow@google.com ffa9d874c4 Move LICENSE, AUTHORS, PATENTS into the dart directory.
BUG: 16582

R=dgrove@google.com, kasperl@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32482 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 06:48:47 +00:00
vsm@google.com ad353d440b Fixes for 1750 roll
TBR=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32477 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 01:38:01 +00:00
zra@google.com 6f2096face Refactors some CPU feature detection into new class CpuInfo, and uses new information in VM service.
This change rewrites the code from the ARM assembler for parsing /proc/cpuinfo on Linux and Android, and collects it into a CpuInfo class that can be used for other architectures as well. This code is in cpuinfo_*.cc. /proc/cpuinfo equivalents are used for Mac and Windows. CpuInfo is used by the VM service to report on the hardware dart is running on. In the future CpuInfo can also be used here to provide more information.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32468 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-08 22:27:27 +00:00
brianwilkerson@google.com 238ca64ce9 Server code clean-up
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32466 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-08 15:25:37 +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
kevmoo@google.com 663e1be326 pkg/unittest: release
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32462 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-08 01:29:41 +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
srdjan@google.com 2c37517875 Disable hoisting CheckClass due to excessive deoptimization (issue 16285). Detect that a deoptimization was caused by hoisted check class instruction and disable hoisting of CheckClassInstr for that function. This is a short-term solution to fix excessive deoptimization causing slow start-ups.
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32460 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-08 00:02:22 +00:00
regis@google.com 61ba258618 Fix snapshotting of TypeArguments.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32457 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 23:02:54 +00:00
brianwilkerson@google.com 7b6cf617b4 Fix for issue 15471
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32455 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 21:52:31 +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
alanknight@google.com 76cd463cbb Docgen snapshot needs to use dart-sdk as its SDK root in a downloaded SDK
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32453 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 21:41:40 +00:00
pquitslund@google.com 0fb66b8088 Selection parsing fix.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32452 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 21:03:24 +00:00
kevmoo@google.com 8bcc87649c pkg/unittest: deprecate expectAsyncN and expectAsyncUntilN
add top-level expectAsync and expectAsyncUntil methods which take care of
counting arguments

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32449 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 20:46:26 +00:00
efortuna@google.com deaed72191 Another adjustment to constant_map to fix analyzer warnings.
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32448 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 20:30:22 +00:00
regis@google.com 7830430adf Implement eager instantiation and canonicalization of type arguments at run
time using a cache in uninstantiated type arguments.
Remove InstantiatedTypeArguments class.
Fix a bug in optimized code: do not update unused type test cache for Smi.
Fix a bug in optimized code on ARM and MIPS in type test cache lookup.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32447 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 19:54:33 +00:00
scheglov@google.com 1c5bdef314 Fixes for exit problems.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32446 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 19:32:51 +00:00
kevmoo@google.com 036ec6fadd pkg/unittest: fixed docs
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32441 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 18:42:19 +00:00
floitsch@google.com 08c1cd75f8 Use 'fail' instead of "MissingCompileTimeError" because of Dartium.
Review URL: https://codereview.chromium.org//147213005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32440 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 18:36:15 +00:00
johnmccutchan@google.com 86c55f4fde Keep list of existing isolates.
List is only updated when isolates are created / destroyed.
ThreadInterrupter now walks list of isolates.
Scheduling an isolate for interrupts is now lockless.
Setting a current isolate is now lockless.
Working on Linux, Mac, and Windows.
Assert that the isolate isn't on two threads at once.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32439 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 17:43:21 +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
floitsch@google.com 5cc26461ec Fix typechecks for constant assignments of function to typedefs.
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32432 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 16:53:12 +00:00
johnmccutchan@google.com 960aacf634 Fix movups disassembly on IA32
BUG=
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32431 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 16:45:30 +00:00
kevmoo@google.com c1458ccb43 pkg/unittest CHANGELOG spelling
Review URL: https://codereview.chromium.org//138383005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32430 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 15:57:22 +00:00
johnmccutchan@google.com e1ba48aea0 Extend StoreInstanceFieldInstr and LoadFieldInstr to support reusable Float32x4 boxes on IA32, X64, and ARM.
R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32429 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 15:30:25 +00:00
lrn@google.com 07adb8b791 [Core] Optimize List
No need to check changes where the list could not change

BUG=
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32425 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 13:59:44 +00:00
ajohnsen@google.com c93bb293c5 Fix signal handler in checked mode..
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32424 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 13:19:23 +00:00
ajohnsen@google.com 9c08471e3a Remove DEBUG ifdefs.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32423 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 13:18:05 +00:00
ajohnsen@google.com d074156ac9 Move all run-loop calls into the run-loop thread, and use correct memory handling (retain/release).
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32421 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 12:49:33 +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
sgjesse@google.com d9c1b07b6c Address additional comments to tarball creation script
R=kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32418 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 12:03:47 +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
ajohnsen@google.com 2f60129fb0 Document ProcessSignal::watch.
We now also allow watching for SIGTERM.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32416 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 09:41:38 +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
ricow@google.com c13ee60761 Add annotated steps for src tarball creation bot
This will also include building the debian package, but this is just to get us going.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32410 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 08:13:15 +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
efortuna@google.com 0bfe426f18 Revert "Fix more warnings for dart:html". Appears to be causing dartium failures.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32408 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 07:56:06 +00:00
dgrove@google.com 409d74471e Remove now-unused error 'has no implementation' from whitelist.
Review URL: https://codereview.chromium.org//157203002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32406 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 04:40:15 +00:00
rmacnak@google.com 2cb20b54cc Fairly partition work in tools/full-coverage.dart.
BUG=http://dartbug.com/16505
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32404 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 02:28:22 +00:00
efortuna@google.com 6805a7850a Fix MOAR warnings for dart:html.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32403 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 02:20:25 +00:00
dgrove@google.com 6eaf449c1c Restore docs.json, which is used in the Dartium build process.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32401 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 01:35:54 +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
efortuna@google.com b9b6f03fd4 Cleaning up warnings from the analyzer.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32399 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 00:56:07 +00:00
asiva@google.com addb9ed934 Add new Dart API function Dart_IsolateData which returns the peer isolate data associated with an isolate.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32397 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 00:43:18 +00:00
pquitslund@google.com 79f352e4c2 Constructor initializer indent fixes.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32396 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 00:15:24 +00:00