Commit graph

22237 commits

Author SHA1 Message Date
ricow@google.com
648f9e011c Add ricow@ to the watchlist of tools/
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33204 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 10:38:42 +00:00
fschneider@google.com
468eb1d8e0 Inline context allocation in optimized code.
Instead of just calling the generic stub in optimized code, there is now
inlined code to handle allocation and initialization of the context. A
deferred code path handles inline allocation failure.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33203 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 10:24:59 +00:00
ajohnsen@google.com
1481635fca Don't report hasTerminal, if term-size is (0,0).
BUG=http://code.google.com/p/dart/issues/detail?id=17070
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33202 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 10:17:04 +00:00
floitsch@google.com
18c76007b1 Check that const-map keys don't override equals.
BUG= http://dartbug.com/17123
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33201 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 09:52:51 +00:00
ahe@google.com
c1cbdbf0d7 Update analyzer status after test.py refactoring.
Review URL: https://codereview.chromium.org//178193017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33200 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 09:48:39 +00:00
sigurdm@google.com
92237ec114 Remove emission of generic type checks.
As far as I can tell, these are not needed anymore.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33199 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 09:32:18 +00:00
sgjesse@google.com
c357473110 Remove duplicate code in Uri implementation
R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33198 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 08:45:29 +00:00
ahe@google.com
14230c1c33 Refactor compiler and runtime configurations (command line tools command building).
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33197 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 07:05:20 +00:00
scheglov@google.com
79e687be71 Add timing info for file IO into Dart based analyzer.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33191 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-01 19:47:36 +00:00
jmesserly@google.com
99a74be0f8 "Reverting 33183"
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33184 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-01 04:13:31 +00:00
jmesserly@google.com
bde74b4050 [polymer] import all elements
Imports polymer-elements and polymer-ui-elements into (for now) the polymer package. This will allow us to begin to reuse the JavaScript custom elements.

Notes:

In an ideal world we would have some way of importing these straight from Bower, probably via Pub. However we don't have support for that.

It would also be nice to have separate Pub packages, at least for polymer-elements and polymer-ui-elements (the lovely Dart ports @ http://pub.dartlang.org/packages/polymer_elements follow this pattern). However that too depends on some kind of Pub+Bower integration, as they use (at least) the convention of "components/" for dependencies instead of "packages/" or "assets/".

So for now, we'll import them into package:polymer.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33183 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-01 03:03:36 +00:00
rnystrom@google.com
45d2c5edc7 Re-add accidentally deleted doc comment.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33182 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 23:51:22 +00:00
kevmoo@google.com
a8cc9f7b19 pkg/docgen: sort items in index.txt
Makes it easier to investigate diffs

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33181 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 23:35:59 +00:00
jmesserly@google.com
94e8331759 [smoke] add homepage field to pubspec
[browser] use "author" instead of "authors" (the latter expects a list, I think)

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33180 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 23:26:20 +00:00
jmesserly@google.com
8e879d691e [pkgbuild tests] adjust status files
adjusts status to match new state of uploads

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33179 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 23:24:15 +00:00
jmesserly@google.com
fdc39a2711 [polymer] update pubspecs to prepare for -pre.0 release
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33178 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 22:59:23 +00:00
johnmccutchan@google.com
e9e54f6af6 Cleanup native, collected, and stub code handling in profiler
R=iposva@google.com, turnidge@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33177 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 22:55:53 +00:00
scheglov@google.com
7f73657ad6 New analyzer snapshot.
No 'isInstanceOf' changes yet.
Just current state with changes required to adopt to the API changes in Java.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33176 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 22:52:15 +00:00
kevmoo@google.com
ff045973cf pkg/unittest: changelog tweaks
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33173 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 22:22:45 +00:00
efortuna@google.com
9d53b1d682 Replace run_selenium.py with Dart script that uses the browser controller for performance tests.
BUG=
R=kustermann@google.com, ricow@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33171 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 21:06:28 +00:00
kevmoo@google.com
6e00b2d299 pkg/docgen: remove test print
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33170 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 20:37:08 +00:00
sra@google.com
3de5e9bf95 Faster dart2js constant map iteration
In 'get values' and 'forEach', avoid checking a key from keys is in the keys.

R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33169 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 20:31:58 +00:00
iposva@google.com
9da10a1da3 - Assertions need to "touch" their conditions to avoid errors such as:
runtime/third_party/double-conversion/src/cached-powers.cc:134:18: error: unused variable 'kCachedPowersLength' [-Werror,-Wunused-const-variable]
static const int kCachedPowersLength = ARRAY_SIZE(kCachedPowers);

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33168 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 18:24:24 +00:00
iposva@google.com
17759bc835 - Update runtime/third_party/double-conversion to version 1.1.5.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33167 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 17:48:35 +00:00
rnystrom@google.com
8e346de58b Support nested matchers in deep equality matching.
R=kevmoo@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33164 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 17:30:56 +00:00
blois@google.com
86f6fac791 Refactoring resolvers to make them able to be run in parallel.
With pub build and pub serve the same transformer can be run on the same asset in parallel. We want to maintain the cache between the runs, so making the resolver pipeline these requests.

In addition, refactoring to dramatically change the role of ResolverTransformer- previously it was a transformer that automatically kept the AST up to date, but this does not work well when in a pipeline of transformers that are generating or modifying code. What was ResolverTransformer is Resolvers- a cache of resolvers for which individual transformers now need to request the resolver from.

ResolverTransformer is now a mixin which can be used to automatically release a Resolver when it's done being used.

BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33163 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 16:58:18 +00:00
kevmoo@google.com
a58497d94d dart:io http - remove (read-only) comments in explicitly read-only properties.
BUG= https://code.google.com/p/dart/issues/detail?id=17196
R=ajohnsen@google.com, kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33160 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 15:51:47 +00:00
karlklose@google.com
61ee600f61 Fix more analyzer test expectations.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33159 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 14:20:29 +00:00
karlklose@google.com
3110b630eb Update analyzer test expectations.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33158 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 13:16:28 +00:00
karlklose@google.com
a4c31c892e Implement isSubclassOf for dart2js source mirrors.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33157 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 12:59:27 +00:00
johnniwinther@google.com
0aa5d4713d Remove support for --force-strip=asserts from dart2dart.
BUG=
R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33156 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 12:44:27 +00:00
karlklose@google.com
aa932437ab Fix wrong type annotation.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33155 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 12:24:05 +00:00
karlklose@google.com
67e57b455d Bump up number of compiled methods in mirrors_used_test.
I added JsTypeBoundClassMirror.toString(), which prints the type arguments and
thus needs list operations and toString() of other mirrors.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33154 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 10:45:02 +00:00
karlklose@google.com
b6b4993317 Do not throw argument error in isSubclassOf on TypeMirrors.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33153 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 10:20:24 +00:00
floitsch@google.com
71455535a2 Fix bad type-inferrence for logical expressions.
BUG= http://dartbug.com/17149
R=ngeoffray@google.com, sra@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33152 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 10:18:59 +00:00
karlklose@google.com
51047b6c1b Implement Mirror.isSubclassOf.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33151 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 09:38:52 +00:00
ajohnsen@google.com
983c99305c Remove rum_vm_tests.host target.
It should not be needed to compile it. If one wants to test the host,
one should compile with toolchains; 'target' == 'host'.

BUG=
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33150 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 08:55:04 +00:00
asiva@google.com
3462e9a809 Fix dartium crasher, use DARTSCOPE when getting/setting native fields as it creates a Handle.
Review URL: https://codereview.chromium.org//180153009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33148 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 03:22:16 +00:00
jmesserly@google.com
0a27306b5c [polymer] add bower files to import elements
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33147 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 03:06:49 +00:00
jmesserly@google.com
7b750888b2 [polymer] skip linter in tests
Arguably we should only be linting things reachable from deployment in deploy mode, but that's a bigger change.

Combined with the previous CL for inline scripts (https://codereview.chromium.org/180933002/) this is enough to import polymer's many HTML elements without causing tests to timeout/fail/run out of memory due to unnecessary scanning ~300 HTML files.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33146 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 03:04:37 +00:00
jmesserly@google.com
fd8b2caf4b [polymer] combine script extractor and import inliner
The goal is to ensure we aren't processing HTML files that aren't reachable from the entry point(s).

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33145 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 02:50:03 +00:00
nweiz@google.com
1e6b7a27bd Revert commits r33138, r33135, and r33134.
r33134 introduced bugs that require a reasonably substantial refactor, and the
other two built on top of it.

R=rnystrom@google.com
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33144 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 01:14:24 +00:00
asiva@google.com
c059ba6f6d 1. Added new versions of Api::UnWrapStringHandle Api::UnWrapInstanceHandle to
use a reused handle instead of creating a new one
2. Use CHEK_ISOLATE instead of DARTSCOPE in some of the API functions where
   no handles are created

R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33142 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 23:38:39 +00:00
rmacnak@google.com
b49aa48f07 Fix VM crash when parsing what looks like a closure call during metadata evaluation.
BUG=http://dartbug.com/17141
R=gbracha@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33141 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 23:24:05 +00:00
danrubel@google.com
1af9a60950 (TBR) skip analysis server test on browser
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33140 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 23:07:48 +00:00
nweiz@google.com
6ff0a8e42d Add a dependency on collection to barback's pubspec.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33138 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 22:51:06 +00:00
nweiz@google.com
9a629d93b7 Split barback's transform_test into multiple smaller test files.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33135 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 22:13:27 +00:00
nweiz@google.com
d11e95b5be Barback transforms now pass through the primary input by default.
R=rnystrom@google.com
BUG=16612

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33134 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 21:49:19 +00:00
jmesserly@google.com
8dc1cbbc3c [polymer] fix import inliner to only rewrite URL attributes once per node
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33133 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 21:23:40 +00:00
sra@google.com
5e341d6627 Include classes from patch libraries in x.js.info.html
Review URL: https://codereview.chromium.org//183143007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33132 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 20:58:20 +00:00