jmesserly@google.com
01230279a3
add enumerate to the default filter set
...
R=justinfagnani@google.com
Review URL: https://codereview.chromium.org//23874018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28358 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 06:14:31 +00:00
scheglov@google.com
85fda3df28
Check for null, when packages dir has no parent.
...
R=brianwilkerson@google.com , jwren@google.com
BUG=
Review URL: https://codereview.chromium.org//26293003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28352 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 03:23:12 +00:00
jmesserly@google.com
210d06e501
fix status for a test that is passing on IE
...
BUG=
Review URL: https://codereview.chromium.org//26422002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28351 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 01:53:45 +00:00
nweiz@google.com
587b11d93b
Fix an analyzer error in barback.
...
TBR
R=rnystrom@google.com
BUG=
Review URL: https://codereview.chromium.org//26409003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28346 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:41:27 +00:00
jmesserly@google.com
e516d3de65
fix list filtering if the filter is a method
...
https://code.google.com/p/dart/issues/detail?id=13459
R=justinfagnani@google.com
Review URL: https://codereview.chromium.org//25967002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28345 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:35:19 +00:00
nweiz@google.com
0e195d3994
Add support for transformer clusters to barback.
...
A cluster encapsulates a transformation graph in a form that can be used
similarly to a plain transformer.
R=rnystrom@google.com
BUG=
Review URL: https://codereview.chromium.org//25376003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28344 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:30:50 +00:00
jmesserly@google.com
034d14cfc0
fix ShadowDOM on browsers with non-native template
...
also update shadow_dom to latest
R=sigmund@google.com
Review URL: https://codereview.chromium.org//26391003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28343 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:26:06 +00:00
jmesserly@google.com
177102c56f
skip polymer instance_attrs_test on vm
...
BUG=
Review URL: https://codereview.chromium.org//26296003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28342 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:21:05 +00:00
rnystrom@google.com
cd88620191
Bump wait time for watcher test.
...
This is to see if it makes the test less flaky on the bots,
in particular the ARM ones.
BUG=https://code.google.com/p/dart/issues/detail?id=13705
R=nweiz@google.com
Review URL: https://codereview.chromium.org//26398002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28341 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:14:44 +00:00
scheglov@google.com
b1c792906d
New analyzer_experimental snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//26307005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28340 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:09:57 +00:00
jmesserly@google.com
9ccae5e0d9
fix polymer copy-instance-attributes feature
...
fixes https://code.google.com/p/dart/issues/detail?id=13883
R=sigmund@google.com
Review URL: https://codereview.chromium.org//26395002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28339 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:05:56 +00:00
pquitslund@google.com
4c4822f79e
Formatter code transform bit-flip support.
...
(Lest a user only want whitespace formatting.)
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//26280005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28331 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 22:34:06 +00:00
sethladd@google.com
fcae6eb88d
clarify that deploy is optional
...
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//26192002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28325 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 21:05:21 +00:00
zra@google.com
582a3d1337
Updates status file for flakey test on DebugSIMMIPS.
...
R=regis@google.com
Review URL: https://codereview.chromium.org//26168007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28320 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 18:45:21 +00:00
devoncarew@google.com
b209a602f2
Add a toString() to LogRecord.
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//24341002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28317 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 18:04:47 +00:00
alanknight@google.com
32d12cab3a
Get rid of several old collection workarounds in serialization
...
R=jmesserly@google.com , kevmoo@j832.com
Review URL: https://codereview.chromium.org//24582004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28315 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 17:16:19 +00:00
kevmoo@j832.com
252342bc79
Emit assets in serial, use Stream.pipe to write to output files
...
BUG= https://code.google.com/p/dart/issues/detail?id=13752
R=sigmund@google.com
Review URL: https://codereview.chromium.org//26268002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28314 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 17:08:28 +00:00
ricow@google.com
95b0505181
Revert revsion 28304
...
The flaky test has already been fixed.
Review URL: https://codereview.chromium.org//26252002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28308 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 12:56:24 +00:00
lrn@google.com
e3713a08d4
Make List.shuffle take an optional Random object to use.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//25931003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28305 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 12:07:30 +00:00
ricow@google.com
101b5a81c5
Mark pkg/sequence_zip/test/stream_test as flaky on IE9
...
Filed issue 13865 to track this
Review URL: https://codereview.chromium.org//26244002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28304 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 11:30:45 +00:00
lrn@google.com
77615bb327
Make sequence-zip test not flaky.
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//26203003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28302 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 08:27:58 +00:00
lrn@google.com
aeac488783
Make sequence-zip test not be timing dependent.
...
Review URL: https://codereview.chromium.org//25982004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28300 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 07:00:20 +00:00
scheglov@google.com
59fd8f58c8
New analyzer_experimental snapshot.
...
1. "catch (Exception e)" is translated into "on JavaException catch (e)".
2. Java exceptions now extend JavaException.
3. MemberMap moved into resolver, because it is not a generic collection and has references to elements.
R=brianwilkerson@google.com , jwren@google.com
BUG=
Review URL: https://codereview.chromium.org//26096002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28296 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-06 05:11:15 +00:00
kathyw@google.com
0f73ac7096
Improve API homepage
...
R=mcampione@google.com
Review URL: https://codereview.chromium.org//25589006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28292 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 23:58:09 +00:00
efortuna@google.com
eaa854b258
Move Rectangle and Point into dart:math.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//25808002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28272 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:47:39 +00:00
kustermann@google.com
14dce1057e
Second round of status file updates after enabling none-dartium tests on dartium-inc builders
...
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//25892008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28265 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 14:32:38 +00:00
rnystrom@google.com
7955fe09ae
Use our own DiagnosticHandler for dart2js.
...
Instead of implementing SourceFileProvider and using dart2js's
built in DiagnosticHandler, we just provide our own
CompilerInputProvider and DiagnosticHandler functions. This avoids
implementing stuff in SourceFileProvider and, more importantly,
lets us handle missing source files better.
The DiagnosticHandler in dart2js just barfs and trashes the original
error if it can't find a source file to associate with it. The windows
bots are currently failing on an error I can't see because it doesn't
have a source file.
BUG=
R=nweiz@google.com
Review URL: https://codereview.chromium.org//25540004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28246 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 21:49:12 +00:00
rnystrom@google.com
385516edf3
Support dart2js in pub serve.
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//24886002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28231 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 17:37:11 +00:00
whesse@google.com
428e84e7d4
Use Directory.systemTemp getter in pkg subdirectory of repository.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//25731003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28218 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 13:12:10 +00:00
kasperl@google.com
29be997b9c
Fix warnings and hints.
...
R=ahe@google.com , bak@google.com
BUG=
Review URL: https://codereview.chromium.org//25428003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28217 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 13:11:56 +00:00
whesse@google.com
3c0c99a3b9
Add Directory.systemTemp getter to replace createSystemTemp().
...
BUG=dartbug.com/12496
R=rnystrom@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//25720002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28215 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 12:55:30 +00:00
lrn@google.com
55a8a72ca6
Add List.shuffle().
...
Will add tests too.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//24740003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28206 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 11:09:01 +00:00
justinfagnani@google.com
c282ae9d65
Cache the context proxy. Don't use window for global 'this'.
...
BUG=
R=ahe@google.com , alexandre.ardhuin@gmail.com , vsm@google.com
Review URL: https://codereview.chromium.org//25138003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28181 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 21:06:57 +00:00
nweiz@google.com
5be32acd8f
Re-enable color-sniffing in unittest's VM configuration.
...
This was disabled to work around issue 13712, which has since been fixed.
R=rnystrom@google.com
BUG=
Review URL: https://codereview.chromium.org//25420003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28178 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 19:27:16 +00:00
blois@google.com
05bb03642d
Implementing CustomElement's attributeChanged callback in dart2js.
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//25325004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28168 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 15:57:56 +00:00
kustermann@google.com
22d20313b4
Implement testing support for "--compiler=none --runtime=dartium"
...
This is implemented without the broken unittest-based wrapping of tests.
R=kasperl@google.com
Review URL: https://codereview.chromium.org//25514002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28141 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 07:37:50 +00:00
jmesserly@google.com
55a058e6c0
fix status of Polymer tests, some are passing on safari
...
Review URL: https://codereview.chromium.org//25653002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28138 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 00:36:01 +00:00
jmesserly@google.com
cf3dcfba4c
Port Polymer.js Core, the github.com/polymer/polymer code.
...
Ports all features except where JS interop is blocking us (declaration/path.js and instance/style.js). In particular, this has:
// src/declaration/attributes.js
// src/declaration/events.js
// src/declaration/polymer-element.js
// src/declaration/properties.js
// src/declaration/prototype.js
// src/declaration/styles.js
// src/instance/attributes.js
// src/instance/base.js
// src/instance/events.js
// src/instance/mdv.js
// src/instance/properties.js
// src/instance/utils.js
// src/lib/deserialize.js
// src/lib/job.js
// src/lib/dom.js -- not needed in Dart
// src/lib/lang.js -- not needed in Dart
// src/lib/super.js -- not needed in Dart
There's also a big architectural change: polymer-element data is now stored in the PolymerDeclaration class, which is separate from PolymerElement. This allows us to avoid duplicate work on every constructor, and should significantly speed up instance creation.
All code is from the same revision:
https://github.com/Polymer/polymer/blob/4dc481c11505991a7c43228d3797d28f21267779
The remaining unported files are for relatively minor features. "declaration/path.js" is for asset URL resolution, and we might have a Pub-based solution instead. "instance/style.js" has an opt-in, advanced style polyfill. It needs "ShadowCSS.shimPolyfillDirectives", and probably isn't too hard to make work in a follow up change.
Other changes:
* attributeChanged lifecycle method is implemented.
* ObservableAnnotation is public so Polymer's @published can subclass it
* bindProperty renamed to onPropertyChange to avoid conflict with Polymer member of the same name.
* polymer/lib/boot.js preload's polymer-element and link[rel=stylesheet]
R=blois@google.com
Review URL: https://codereview.chromium.org//24149003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28134 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 23:45:37 +00:00
jmesserly@google.com
61f2476f38
fix observe transform to preserve metadata
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//25439002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28133 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 23:36:46 +00:00
pquitslund@google.com
ea1bd26650
Formatting constructor initializers a la the Style Guide.
...
Speced here: https://www.dartlang.org/articles/style-guide/#do-format-constructor-initialization-lists-with-each-field-on-its-own-line
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//25609002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28132 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 23:07:30 +00:00
blois@google.com
1aa8a7be0e
Adding Element.created constructor and .created constructors to all subclasses. Also ensuring generative constructor for all superclasses.
...
This is for post-construction custom element creation.
Element.created is public, then the base classes of that get private ._created constructors.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//24653006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28120 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 21:26:06 +00:00
whesse@google.com
e5982dc4c9
Fix breakage from r28097
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//25553002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28100 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 16:07:28 +00:00
scheglov@google.com
ddb3889a3d
Issue 13584. Fix for Java/Dart local variable scoping mismatch.
...
https://code.google.com/p/dart/issues/detail?id=13574
We now use "this" (or type name for static) qualifier for any member reference that is shadowed by local variable or parameter.
This fixes specified issue and also another one, which was quick-patched during M7 push.
Also generated code is a little better.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//25373002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28078 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 01:18:14 +00:00
nweiz@google.com
c30b071f8a
Avoid using stdioType in unittest to work around issue 13712.
...
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//25404004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28077 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 00:53:48 +00:00
pquitslund@google.com
8a59532c20
Flow control structure formatting (a la the Style Guide).
...
Enforces the 'curly braces for all flow control structures (modulo ifs with no elses)' edict from here:
https://www.dartlang.org/articles/style-guide/#whitespace
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//25350003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28072 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-30 22:43:44 +00:00
pquitslund@google.com
fa4fce0d44
Inspired by the conversation on this review:
...
https://codereview.chromium.org/24488004/
Here's a proposed fix.
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//25304002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28068 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-30 21:38:56 +00:00
zra@google.com
1a9d6cfb1f
Adds the BreakpointRuntime stub to ARM and MIPS.
...
Also:
- Makes some stub calls patachable.
- Updates pkg.status for an unrelated failing test.
R=regis@google.com
Review URL: https://codereview.chromium.org//25092010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28066 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-30 20:17:48 +00:00
pquitslund@google.com
e41f49fa4e
Format selection preservation editor bits.
...
R=brianwilkerson@google.com , devoncarew@google.com
Review URL: https://codereview.chromium.org//25290002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28061 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-30 17:01:59 +00:00
ajohnsen@google.com
b1f7f7aeef
Fix comment.
...
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org//25278003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28054 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-30 15:01:04 +00:00
ngeoffray@google.com
e171e69093
Use const instead of runtime type for equality of EmptyExpression.
...
R=jmesserly@google.com , justinfagnani@google.com
Review URL: https://codereview.chromium.org//24983003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28042 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-30 06:37:05 +00:00