Commit Graph

23234 Commits

Author SHA1 Message Date
whesse@google.com 052d61b1da Truncate excessively long output from tests in test.dart.
BUG=dartbug.com/18084
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34867 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 10:38:28 +00:00
zarah@google.com da02c01660 Remove redundancy in source map entries.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34866 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 09:49:10 +00:00
ricow@google.com 66b5369d15 Fix pkgbuild suppressions to exclude test suite name
Review URL: https://codereview.chromium.org//230493002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34865 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 09:39:29 +00:00
ricow@google.com 2cd59e465f Suppress pubget issues running against public pub after barback update.
I filed issue 18115 to track this.

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34864 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 09:16:19 +00:00
whesse@google.com ec298a01f8 Add new failures to status files, assign issues.
BUG=dartbug.com/18113
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34863 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 08:30:24 +00:00
johnniwinther@google.com fbe2b8bcc7 Compute frontend/backend specific constants.
BUG=
R=floitsch@google.com, karlklose@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34862 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 07:40:54 +00:00
ricow@google.com 6065b2fc88 Update version number on bleeding edge in preparation for 1.3 branch
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34861 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 07:09:56 +00:00
shaza@google.com a402dfd459 Renaming "examples" to "example".
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34859 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 04:13:33 +00:00
kevmoo@google.com b1132d23e9 pkg/shelf: marked message_test as RuntimeError due to dart2js bug
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34858 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 01:04:54 +00:00
nweiz@google.com 7c5db3616b Only run [Transformer.isPrimary] once for each asset/transformer pair.
BUG=16442
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34857 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 23:59:24 +00:00
srdjan@google.com 42ddbe7ff0 Fix simarm64 build on Mac OS X
Review URL: https://codereview.chromium.org//229383006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34856 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 23:58:23 +00:00
srdjan@google.com 3658a1a6de Fixes issue 18099: missed type guard dependency in implicit getters.
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34855 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 23:56:49 +00:00
nweiz@google.com c0b264c20e Fix an analyzer warning in scheduled_test.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34854 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 23:47:07 +00:00
nweiz@google.com da4d59c05e Only pass an AssetId to isPrimary and declareOutputs.
BUG=16442
R=blois@google.com, efortuna@google.com, rnystrom@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34853 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 23:46:23 +00:00
kevmoo@google.com ff7dd258b9 pkg/shelf: case-insensitive headers, cleaner Request ctor, a lot more tests
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34852 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 23:22:55 +00:00
shaza@google.com 31eee5bc11 Adding barback examples.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34851 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 23:19:58 +00:00
nweiz@google.com a19713bd93 Support returning a Future from a setUp or test body in scheduled_test.
R=rnystrom@google.com
BUG=18088

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34849 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 22:45:45 +00:00
whesse@google.com d4cb569197 More co19 status updates. co19 roll to r706.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34848 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 22:44:52 +00:00
sra@google.com 1eab259990 map_literal4_test works only in checked mode
TBR=floitch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34847 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 22:43:11 +00:00
hausner@google.com e86954ab57 Placate analyzer
Review URL: https://codereview.chromium.org//229543002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34846 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 22:40:18 +00:00
hausner@google.com 625b564a4b Fix instance method resolution with abstract accessors and methods
Fix issue 18082

R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34845 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 22:14:24 +00:00
sigmund@google.com 2f62f8d298 Marking todomvc as failing in win/russian.
Review URL: https://codereview.chromium.org//229293003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34844 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 21:54:01 +00:00
sigmund@google.com 5c363f6831 Include PUB_CACHE when invoking build.dart too.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34843 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 21:09:37 +00:00
whesse@google.com 75b21f7b72 Add new co19 flaky tests to the status files
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34842 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 20:57:44 +00:00
sra@google.com 200aad53d1 Redo "Construct literal maps using factory constructor."
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34841 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 20:51:47 +00:00
asiva@google.com 98ba7c124a Refactor the class id generation code a bit to make it possible to have toActiveDOMObject, ToEventTarget and toNode functions for each webkit type.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34840 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 20:27:57 +00:00
johnmccutchan@google.com 1eb7046d00 Restore WritableRegister input LiveRange shape
BUG=
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34838 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 20:25:22 +00:00
sra@google.com aa38fdd15b Revert "Construct literal maps using factory constructor."
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34837 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 19:54:40 +00:00
sra@google.com ba331a66ce Construct literal maps using factory constructor.
Fixes issue 12891

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34836 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 19:38:05 +00:00
srdjan@google.com 4f58e0d27c Disable a crashing test.
Review URL: https://codereview.chromium.org//229033002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34835 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 19:05:28 +00:00
johnmccutchan@google.com 3834c9a869 Support for multiple register values
- Adds a PairLocation type (Location is still a single word but now has two tags one for constants and one for pairs).
- New representations: kPairOfTagged & kPairOfUnboxedDouble.
- Register allocator uses second SSA index for Definitions that use two registers.
- Fix LiveRange shape for kWritableRegister inputs.
- Updated MergedMathInstr that returns a kPairOfTagged or kPairOfUnboxedDouble (depending on the merged math kind).
- A new instruction (ExtractNthOutput) for extracting a single register from an instruction that has a output register pair.

Open issues that need to be addressed in a follow up CL:

- Adjust PhiInstr and handling of PhiInstr in the register allocator to work with output pairs (once unboxed mints are in GPRs).

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34833 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 16:13:43 +00:00
zra@google.com 5ed6eb4cb4 Adds ldr and str to arm64.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34831 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 15:43:16 +00:00
whesse@google.com f348148caf Add to co19 status files after co19 roll.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34830 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 15:42:41 +00:00
whesse@google.com 55546df84a Update co19 test suite to r706
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34826 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 14:48:59 +00:00
floitsch@google.com 07b6c4739e Add support for closure calls through getters.
Support reflect(o).invoke(#bar) where bar is a getter.
library.getField(#foo) where `foo` is a method.

BUG= http://dartbug.com/15138
R=karlklose@google.com

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

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

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34823 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:27:37 +00:00
lrn@google.com 1ffd31fcde Fix assert in dart:math/Rectangle.
Didn't pass NaN down the correct path, and failed an assertion.
Added tests.

BUG= http://dartbug.com/17734
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34822 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:12:21 +00:00
ajohnsen@google.com 8d44da35c4 Add bufferOutput to HttpServer, HttpResponse and HttpClientRequest.
Setting bufferOutput to false will disable our internal buffering, and
write the buffers directly to the socket.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34821 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:07:18 +00:00
floitsch@google.com 8cdf6bde8e Revert "Add support for closure calls through getters."
This reverts commit r34818.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34820 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:06:15 +00:00
lrn@google.com 9069c292c6 Also mark string_case_test failing on dart2dart-vm.
Review URL: https://codereview.chromium.org//228493002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34819 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 11:30:40 +00:00
floitsch@google.com 6c9c0642a0 Add support for closure calls through getters.
Support reflect(o).invoke(#bar) where bar is a getter.
library.getField(#foo) where `foo` is a method.

BUG= http://dartbug.com/15138
R=karlklose@google.com

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

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34818 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 11:27:00 +00:00
brianwilkerson@google.com b4cdb0dc98 Add new performance option to get both cold and warm timings.
@Rico: Does it matter that the errors will be written between the two sets of timings?

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34817 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 11:08:36 +00:00
johnniwinther@google.com eb2cc7614b Revert "Compute frontend/backend specific constants."
This reverts commit r34811.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34816 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 10:18:09 +00:00
lrn@google.com 49853292aa Add crash expectation for test in debug mode due to Issue 17857.
Review URL: https://codereview.chromium.org//225023037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34815 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 09:19:13 +00:00
ajohnsen@google.com 402774f9a0 Make File:openRead always have one outstanding read, when invoking callbacks.
This sligly improves latency for reading. Note that pause/resume is less
precise now, but it was never a guarantee exactly _when_ pausing would
take place.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34814 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 08:58:13 +00:00
ajohnsen@google.com 364bd9eeea Don't call read, if last read returned less bytes than was being read.
This speeds up File.openRead, especially for small files.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34813 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 08:47:51 +00:00
lrn@google.com 88ba8efed9 Optimize one-byte string's toUpperCase.
R=ajohnsen@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34812 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 07:19:33 +00:00
johnniwinther@google.com 33c86b9fcd Compute frontend/backend specific constants.
BUG=
R=floitsch@google.com, karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34811 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 07:11:45 +00:00
scheglov@google.com bd532a6990 Correct or pause previous TimeCounters.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34809 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 05:08:08 +00:00
sigmund@google.com 8c65e21a92 Revert "Adding additional debug information for JS errors in the DOM."
Some tests broke, for instance:
http://chromegw.corp.google.com/i/client.dart/builders/dart2js-ff-linux-2-4-be/builds/4732/steps/dart2js-ff%20tests/logs/stdio

We are reverting r34803 until we figure out what's wrong:

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34808 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 01:19:06 +00:00
sigmund@google.com 132d113371 Mark pkgbuild/sample/polymer_intl as pass/fail.
BUG=https://code.google.com/p/dart/issues/detail?id=18059
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34807 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 00:45:35 +00:00