Commit Graph

19474 Commits

Author SHA1 Message Date
iposva@google.com c61ba5bd02 - Adjust for slower running bots.
Review URL: https://codereview.chromium.org//43593002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29236 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 08:19:54 +00:00
zarah@google.com 32814d4233 Substitute types in instances of generic classes.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29235 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 07:52:21 +00:00
whesse@google.com 2e949d99d6 dart:io | Directory.createTemp - fix missed rename of template to prefix.
BUG=dartbug.com/14409
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29234 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 07:38:28 +00:00
lry@google.com 6712f1ec86 Incorporates feedback by Nicolas for UTF-8 bytes based scanner CL.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29231 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 07:09:20 +00:00
nweiz@google.com aee529d9d9 Avoid watching files that aren't going to change for "pub serve".
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29229 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 01:32:19 +00:00
sra@google.com f41f6f6722 ImageData.data is a Uint8ClampedList
Review URL: https://codereview.chromium.org//41583005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29228 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 00:46:48 +00:00
gbracha@google.com b2c1255be8 Clarify that sttaic getters that pair with instance setters cause warnings even if they are implicit and vice versa.
Review URL: https://codereview.chromium.org//42513003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29227 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 00:43:19 +00:00
efortuna@google.com 971dbf30ab Supress list mixins for deprecated/removed class.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29226 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 00:23:06 +00:00
hausner@google.com 62db9caca1 Fix dartium status
Review URL: https://codereview.chromium.org//41993003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29224 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 23:11:47 +00:00
zra@google.com 56de75ee32 Moves code collection test to io
Review URL: https://codereview.chromium.org//42383002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29223 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 23:05:54 +00:00
hausner@google.com d189f00fc0 Fix co19 test expectations
Review URL: https://codereview.chromium.org//42233002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29222 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:42:48 +00:00
amouravski@google.com c1eb44e3d0 Fix for getContextAttributes which wraps bare dictionary into a Dart type.
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29221 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:32:46 +00:00
hausner@google.com e88158649a Fix language test status
Review URL: https://codereview.chromium.org//42103002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29220 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:30:00 +00:00
efortuna@google.com 9b40aca70c Remove the low hanging deprecation fruit.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29219 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:13:51 +00:00
iposva@google.com 6267207e64 - Account for hidden frames when concatenating throw and
catch traces.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29218 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:08:33 +00:00
sra@google.com 8a0ac65b1d Redo "Separate HTypeConversion checked type from output type."
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29217 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:05:24 +00:00
efortuna@google.com c49f1ce868 Allow matches selector to work on current Opera.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29216 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:55:08 +00:00
asiva@google.com 3253eb3b84 Update status files to account for 14400 being fixed.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29215 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:51:53 +00:00
hausner@google.com 07c06be8e7 It's a compile-time error if a const constructor call fails
Making it a compile-time error if a const constructor call
fails. Also improve error message when invoking dart code during
compilation fails.

Fixes issue 14302

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29212 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:42:39 +00:00
scheglov@google.com 69d9d6ced6 VM and dart2js both support ne mixin syntax.
https://code.google.com/p/dart/issues/detail?id=13907

It seems that packages and other code were migrate too.
So, we can turn on error for the old syntax.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29211 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:42:07 +00:00
efortuna@google.com 7effd23744 Add DOMRect for Firefox Rectangle behavior.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29210 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:28:58 +00:00
zra@google.com 039a4c4078 Disconnects code objects from infrequently used unoptimized functions.
Every 30 seconds (configurable by --code-collection-interval),
before a MarkSweep collection, this change halves a function's
usage count if it is unoptimized. If the function's usage count
reaches 0 as a result of this halving, it sets the function's
code pointers to null. Then, if the code object isn't marked
during the MarkSweep, it will be collected.

This change also checks for null code pointers in various
places, and recompiles/reconnects code if needed.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29209 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:26:15 +00:00
jmesserly@google.com d93cbb1e41 fix binding to $ from polymer templates
https://code.google.com/p/dart/issues/detail?id=14172
there were two issues:

* "$" needs to be reflectable
* the Map needs to be observable so templates can detect when keys get added (happens after template instantiation)

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29208 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:12:29 +00:00
efortuna@google.com 4a8d13f0f6 Fix Rectangle test with method name.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29205 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:48:44 +00:00
blois@google.com b898e76175 Updating status of bind_mdv_test on IE
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29204 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:42:46 +00:00
efortuna@google.com 26bf1e0da4 Renamed contains in the rectangle class to containsRectangle.
BUG=https://code.google.com/p/dart/issues/detail?id=13876
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29203 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:27:22 +00:00
cbracken@google.com 8d55ace137 Eliminate deprecated Int32/Int64.fromInt() constructors
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29202 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:17:12 +00:00
scheglov@google.com b500fc56d2 Issue 14328. Propagate type arguments into super type when looking up super constructor.
https://code.google.com/p/dart/issues/detail?id=14328

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29201 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:01:58 +00:00
amouravski@google.com ea765638fb Updated webdriver setup script to use new location for downloads.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29200 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:01:48 +00:00
asiva@google.com 910c318003 Fix status file to mark spawnFunction as crashing until 14400 is fixed.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29199 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:51:57 +00:00
blois@google.com 9dbee290eb Attempting to investigate/deflake Polymer tests on IE9
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29198 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:38:32 +00:00
blois@google.com 0e97c7197a Integrating fix for IE9 custom elements upgrade
BUG=13193
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29197 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:21:46 +00:00
scheglov@google.com fb757f6c82 Issue 14388. Remove implicit setters for final fields.
https://code.google.com/p/dart/issues/detail?id=14388

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29196 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:07:11 +00:00
rmacnak@google.com 24254f150c Hoist generics-related functions from ClassMirror to TypeMirror.
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29195 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 18:56:49 +00:00
hausner@google.com cf4da8d1d9 Properly report error for certain expressions that must be const
Issue error message instead of hitting assertion for an expression that
contains an assignment but is expected to be const.

Fixes security issue 13941

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29194 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 18:54:52 +00:00
jmesserly@google.com e96d31a4cd port polymer - 00e2982c78fcd396adaebff3118e94029a2b9fb0
we're still missing a few commits (such as https://github.com/Polymer/polymer/pull/328) but this gets us pretty close to fixing https://code.google.com/p/dart/issues/detail?id=14377

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29192 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 18:45:43 +00:00
asiva@google.com 19254398be Fix status file.
Review URL: https://codereview.chromium.org//41033002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29189 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 18:17:17 +00:00
asiva@google.com 10eac518ef Fix analyzer test status.
Review URL: https://codereview.chromium.org//40703003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29188 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:40:26 +00:00
asiva@google.com 0824f81fbb Fix dartium test status.
Review URL: https://codereview.chromium.org//40853002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29187 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:35:27 +00:00
sigmund@google.com 9424a70d30 Switch to lookup declaration by tag name. This fixes issue 14274.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29186 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:31:54 +00:00
asiva@google.com b3be8ab0bb Skip issue14236_test on dart2analyzer as it can not handle script snapshots.
Review URL: https://codereview.chromium.org//40603003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29184 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:24:58 +00:00
asiva@google.com 92e82867a7 Fix build break on windows.
Review URL: https://codereview.chromium.org//16085010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29182 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:19:02 +00:00
blois@google.com f41e99e1ed Updating MutationObserver.observe documentation.
TBR
BUG=14375

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29181 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:01:08 +00:00
blois@google.com 3058d7ed00 Removing older lifecycle events
With the upgrade to Chrome beta, the shims for the older names can go away.

BUG=13220
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29180 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 16:54:32 +00:00
sra@google.com e060383852 Revert "Separate HTypeConversion checked type from output type."
Review URL: https://codereview.chromium.org//40593002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29179 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 16:48:21 +00:00
asiva@google.com a294e0a82f Fix for issue 14236:
Retain script path of parent isolate when spawnFunction is called so that
it works when using script snapshots.

The test case issue14236_test.dart is a script snapshot whose original source
file path is issue14236_source.dart

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29178 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 16:41:22 +00:00
sra@google.com d298f34da8 Separate HTypeConversion checked type from output type.
This mostly improves checked mode code.
By separating the types, we can propagate a more precise type.  Example:

   var a = ... ? 1 : 'hello';   // {int,String}
   ...
   int i = a;      // {Null,int) * {int,String} = {int}
   int j = i + 1;  // no receiver type check

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29176 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 15:59:32 +00:00
kustermann@google.com b3ba5c5c95 test.py: Support for running tests in checked mode on none-dartium with the browser controller
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29175 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 15:37:33 +00:00
lrn@google.com 083a5c6e77 Update test expectations to also cover analyzer.
CO19 tests still use Match.str.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29172 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 12:38:06 +00:00
ajohnsen@google.com 1cfe5c7f64 Document FileSystemEntity:watch and family..
BUG=https://code.google.com/p/dart/issues/detail?id=14369
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29171 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 12:31:39 +00:00