Commit Graph

25510 Commits

Author SHA1 Message Date
scheglov@google.com 681ad9549e Quick fix for analyzer_experimental field/pproperties problem.
TBR

R=danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28027 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 21:34:49 +00:00
regis@google.com 3d1b108dc5 Third try: "Slow" does not imply "Pass".
Review URL: https://codereview.chromium.org//25112003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28022 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 19:41:24 +00:00
regis@google.com 4dc34bb9f2 Mark recently enabled test as slow on simmips as well.
Review URL: https://codereview.chromium.org//25043003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28020 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 17:19:24 +00:00
regis@google.com d7d6f9c6ba Mark recently enabled test as slow on simarm.
Review URL: https://codereview.chromium.org//25041004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28019 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 17:13:19 +00:00
scheglov@google.com 61abfa0ca9 Support for --no-hints in analyzer_experimental.
I did one more snapshot to pick up your latest changes.
I have to extract ErrorCode variables because of type model difference in Java vs. Dart.

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28016 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 16:54:38 +00:00
fschneider@google.com 96bcfa4162 Skip pkg/ test on ARM hardware until the underlying issue is fixed.
BUG=13624

TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28002 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 10:54:53 +00:00
fschneider@google.com 4939ad9d39 Enable some skipped pkg/ tests on ARM and MIPS.
They are passing on the simulator.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27996 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 09:06:46 +00:00
ajohnsen@google.com 56d68efbb3 Use SIGKILL in scheduled_process, to get around an Mac OS X bug.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27986 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 06:47:13 +00:00
vsm@google.com e0e1243e67 Reenable mutation_observer_test
Fix is in: https://chromiumcodereview.appspot.com/24492005/

BUG=13606
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27963 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 16:54:35 +00:00
kustermann@google.com 55e9dc75b4 test.py: Parse unittest-suite-{wait-for-done,success} messages in output of d8/jsshell/vm
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27953 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 14:06:01 +00:00
johnniwinther@google.com f83de85c7e Handle hiding dart:core imports specially.
BUG=http://dartbug.com/13542
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27938 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 10:59:55 +00:00
ricow@google.com 2b873ea6f1 Mark pkg/mutation_observer/test/mutation_observer_test as flaky
This is crashing in an assertion

Filed issue 13606 to track this.

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27933 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 07:21:27 +00:00
ricow@google.com 4eba8e5c88 Remove flaky markers for v8 bug - this has already been fixed by a v8 roll
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27931 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 06:47:20 +00:00
scheglov@google.com b80f0a17bc Support for --perf in analyzer_experimental.
R=jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27905 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 19:18:35 +00:00
nweiz@google.com 60605c310b Fix a barback bug where a result could be emitted incorrectly.
PackageGraph was relying on its own knowledge of which AssetCascades
were dirty, based on which cascades had assets updated. However, it's
possible for a cascade to become dirty due to another cascade's asset
being updated, and that case was missed. This change addresses that.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27904 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 19:17:25 +00:00
kevmoo@j832.com 05609779d3 pkg/polymer builder.dart doc tweaks
.then() expects a function w/ one param

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27903 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 19:08:54 +00:00
scheglov@google.com 9eba1f9a8f Don't report TODO in analyzer_experimental.
Clients of analyzer_experimental don't expect these errors.

TBR

R=jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27893 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 17:02:38 +00:00
scheglov@google.com 7ce03ef926 New analyzer_experimental snapshot.
There are couple small changes in analyzer itself:

1. AnalysisCache.entrySet() to return Collection instead of Set - it is expensive to fill actual Set in Dart - hash code, equals, etc. We know there are no duplicates.

2. Matcher in TODO scrapper - there are no start(i) in Dart, I have to change implementation to translate it accurately.

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27889 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 16:02:19 +00:00
fschneider@google.com 9a87eb0944 Fix x64 assembler in roundsd and pxor.
BUG=https://code.google.com/p/dart/issues/detail?id=13543
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27882 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 15:00:53 +00:00
whesse@google.com d13f982643 Change pub tests and pub local server to use ipV4 localhost by address.
BUG=dartbug.com/12837
R=ajohnsen@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27880 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 14:36:32 +00:00
kustermann@google.com dfbf264f40 Automatically converted general Fail status file markers to one of the more specific markers
R=johnniwinther@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27876 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 12:47:03 +00:00
lrn@google.com 12c9510193 Update implementations to use Object.identityHashCode for identity map/set
Update map/set constructors to have an .identity() constructor as well.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27869 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 09:43:43 +00:00
cbracken@google.com 8e3a216f33 Added bitLength, clamp(), toDouble(), toSigned(), toUnsigned().
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27862 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 00:02:28 +00:00
pquitslund@google.com 3f9c194240 Formatter selection preservation support.
As a first cut, this attempts to preserve starting offsets after formatting.  Still todo is some reparing of selection length.

Also note: that the JSON format may well change.  This is just enough to wire it through the Editor UI (next up).

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27859 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 22:57:10 +00:00
iposva@google.com c4be237e68 - Fix build.
Review URL: https://codereview.chromium.org//24249010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27854 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 21:15:04 +00:00
nweiz@google.com c35bde1feb Add support for hidden options to pkg/args.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27853 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 21:01:36 +00:00
iposva@google.com f18e12b5db Address codereview comments:
- Update variable names.
- Add test case for column-free stack frame.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27852 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 20:54:26 +00:00
blois@google.com b5bc0e1367 - Fixing analyzer error on legacy custom element polyfill
- Adjsuting IE status (filed bug to investigate)
 - Fixing polymer tests on Dartium

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27846 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 20:11:36 +00:00
blois@google.com 209e413a5c Retry of custom element lifecycle events.
First patch is the original, changes were:
 - Shadow DOM upgrade landed as separate CL
 - CustomElement polyfill wasn't always firing WebComponentsLoaded event (causing timeouts on FF and IE), fixed polyfill.
 - Dartium test exclusions were not working

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27841 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 19:14:16 +00:00
alanknight@google.com a0d7a48c5b Support "D" for ordinal date in Intl.DateFormat
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27840 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 19:13:26 +00:00
iposva@google.com 8a9adf5656 - Use simplified token location call where appropriate.
R=asiva@google.com, hausner@google.com, mlippautz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27833 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 17:32:40 +00:00
kustermann@google.com 9e1ba8381e Status file update after adding new vm-linux-release-optcounter-threshold builder
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27815 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 12:19:10 +00:00
ngeoffray@google.com 0685ecd38f Update status file for crashing test.
Review URL: https://codereview.chromium.org//24349004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27814 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 12:11:30 +00:00
whesse@google.com d609dcbe02 Mark scheduled_server_test as flaky on all plaforms
BUG=dartbug.com/13524

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27795 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 02:04:33 +00:00
whesse@google.com 41f398eefb Don't run scheduled_server_test on the browser.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27794 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 01:42:43 +00:00
asiva@google.com 74e69d051b Skip scheduled_test on dartium as it expects dart:io
Review URL: https://codereview.chromium.org//24281011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27792 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 00:58:41 +00:00
whesse@google.com e7b1c5f7d4 Fix failures in pkg/scheduled_test scheduled_server_test.
The package and test were throwing strings, which do not have attached stack traces because they are primitives.

BUG=dartbug.com/9582
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27790 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 00:00:37 +00:00
whesse@google.com 330c1ef3bb Change package scheduled_test to throw TestFailures rather than strings.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27787 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 23:31:02 +00:00
blois@google.com 0ed3cb19e4 Updating Shadow DOM and including some fixes to enable it to work with CustomElements.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27785 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 23:04:37 +00:00
cbracken@google.com 0b68c45e9c Int32, Int64 default constructor now takes an optional int parameter.
Deprecated.fromInt().

BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27777 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 16:52:36 +00:00
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
blois@google.com 6def065afd Revert "Dart2js support for custom element lifecycle events"
This reverts commit 27729. Shadow DOM polyfill appears to have regressed some tests and some issues are coming up with the browser controller.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27730 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-21 00:46:48 +00:00
blois@google.com fb8f32bcc4 Dart2js support for custom element lifecycle events
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27729 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 23:49:12 +00:00
nweiz@google.com b9df05ca13 Add YamlMap.addAll.
BUG=13356
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27725 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 21:24:02 +00:00
nweiz@google.com 28790a8eba Support "[as ...]" in V8 stack traces in pkg/stack_trace.
BUG=13431
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27720 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 19:38:58 +00:00
asiva@google.com c7839584bb Update status file to remove flaky status under dartium for test
pkg/custom_element/test/custom_element_test

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27676 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 20:57:28 +00:00
justinfagnani@google.com 0a30cd7b70 Silently handle handle eval exceptions in PolymerExpressions
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27672 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 18:25:23 +00:00
justinfagnani@google.com 1e84569c04 Fix polymer_expressions syntax test on Safari and IE
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27630 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 17:25:17 +00:00
lrn@google.com 0009e1f0b8 Revert "Attempt to change analyzer to parse the new order of operators."
There are analyzer-parser tests that fail. Revert for now and analyze offline.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27618 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 13:35:34 +00:00
lrn@google.com 2376623ed7 Attempt to change analyzer to parse the new order of operators.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27617 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 13:01:56 +00:00