gbracha@google.com
1b850dd4ff
It's an error if to instantiate a subclass of a malbounded type,or a type variable.
...
R=regis@google.com
Review URL: https://codereview.chromium.org//26990005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28701 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:54:58 +00:00
blois@google.com
19655e4e6b
Revert "Revert "Removing setImmediate and hiding WindowTimers interface""
...
Issue was that requestAnimationFrame got removed from Dartium during a merge conflict :(
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//27441002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28700 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:50:49 +00:00
efortuna@google.com
951dca71cb
Deprecate query and queryAll, also add back querySelector and querySelectorAll.
...
BUG=
R=jacobr@google.com
Review URL: https://codereview.chromium.org//27223003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28699 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:44:47 +00:00
regis@google.com
2d59eb0cb1
Throw a dynamic type error instead of a CastError in a type cast with a
...
malbounded type (fix issue 14123).
Regression test is not checked in yet (see https://codereview.chromium.org/27378002/ )
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//27420002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28698 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:38:55 +00:00
blois@google.com
8e255ada0f
Revert "Removing setImmediate and hiding WindowTimers interface"
...
This reverts commit 28690.
TBR
BUG=
Review URL: https://codereview.chromium.org//27440002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28696 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:16:59 +00:00
rmacnak@google.com
e8d030b338
Do not hide membership of implementation classes in dart:core.
...
BUG=http://dartbuc.com/12141
R=ahe@google.com , asiva@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//27226003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28695 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:15:10 +00:00
rnystrom@google.com
3a4ae8315d
Web Socket API for talking to Editor.
...
BUG=https://code.google.com/p/dart/issues/detail?id=13901
R=devoncarew@google.com , keertip@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//26634003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28693 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:01:45 +00:00
blois@google.com
303710040b
Removing setImmediate and hiding WindowTimers interface
...
These timing APIs are all redundant with dart:async and those versions should be used instead.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//26534005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28690 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 23:52:09 +00:00
jmesserly@google.com
d583f16e4f
add @MirrorsUsed to observe/polymer/polymer_exprs pkgs
...
Fairly straightforward. @observable and @CustomTag are metaTargets, so no changes needed for types that use those. The only other changes are for data binding to objects with built in change notification. In that case, we add package:observe's @reflectable annotation. Other than that, just a few other things in mirrors that are now locked down appropriately to only reflect on the things they need.
R=sigmund@google.com
Review URL: https://codereview.chromium.org//26967004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28689 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 22:55:47 +00:00
jmesserly@google.com
ceb15d891c
fix PolymerElement.bind to call reflectPropertyToAttribute w/ prop name
...
This is the fix for issue 14060
Polymer.js fix is at: https://github.com/Polymer/polymer/pull/319
R=sigmund@google.com
Review URL: https://codereview.chromium.org//27417002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28688 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 22:41:19 +00:00
justinfagnani@google.com
03eb80a189
Maintain referential integrity of proxy instances in dart:js
...
Rename DartProxy to DartObject in JavaScript to be symmetrical with JsObject
R=ahe@google.com , alexandre.ardhuin@gmail.com
Review URL: https://codereview.chromium.org//26092003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28686 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 21:43:16 +00:00
nweiz@google.com
999840c105
Track the original assets more efficiently in Phase.
...
R=rnystrom@google.com
BUG=
Review URL: https://codereview.chromium.org//26598002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28685 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 21:40:59 +00:00
regis@google.com
5d79a9ab02
Allow an interface to be (mal)bounded (fix issue 14118).
...
Regression test is pending, but not checked in yet
(see https://codereview.chromium.org/27378002/ ).
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//27238011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28684 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 21:24:44 +00:00
blois@google.com
4c06ef7fb8
Dartium build issue w/ mutation observers
...
Last fix for mutation observers had a typo in Dartium (wish I could build both from the same enlistment!).
TBR
BUG=
Review URL: https://codereview.chromium.org//26539014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28683 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 21:06:54 +00:00
blois@google.com
ea5d14dd91
MutationObserver changes for zones (again)
...
Missed that the _wrap only takes one arg, added the two arg version. Unfortunately the tests for this are around upgrading and is really flaky (often passing on my machine).
TBR
BUG=
Review URL: https://codereview.chromium.org//27403002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28680 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 20:39:14 +00:00
blois@google.com
4e01232e26
Fixing MutationObserver constructor from zones change
...
TBR
BUG=
Review URL: https://codereview.chromium.org//26442003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28679 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 19:59:45 +00:00
hausner@google.com
6a0fb0d924
Handle recursive list structures in debugger
...
Issue 14108
Review URL: https://codereview.chromium.org//27397002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28677 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 19:58:10 +00:00
sigmund@google.com
24eb8baa5a
Small fix to boot.js so it can work with CSP if an existing html-import tag is
...
present.
Note: this will be deleted soon when we deprecate boot.js (a week or so).
R=jmesserly@google.com , sergeygs@chromium.org
Review URL: https://codereview.chromium.org//27246006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28675 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 19:10:53 +00:00
blois@google.com
9baacafa7a
Making all callbacks use zones (take 2)
...
Changes: fixed parameter ordering for RTCPeerConnection.getStats and fixed error for StorageInfo.
Revert "Revert "Making all callbacks use zones""
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//27240004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28674 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 19:07:22 +00:00
kustermann@google.com
48a5d9efe5
Followup status file update after co19-roll to r623
...
Review URL: https://codereview.chromium.org//27387002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28673 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 18:48:08 +00:00
gbracha@google.com
0d5b2c28ae
Least upper bound fixes.
...
Review URL: https://codereview.chromium.org//27209004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28672 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 18:39:55 +00:00
turnidge@google.com
2ad40bc29b
When a value has been optimized away by the compiler, set its value to
...
"<optimized out>". This will make it less confusing for people using
the debugger.
- Added constant_dead() to the flow graph.
- Added Symbols::OptimizedOut().
R=fschneider@google.com
Review URL: https://codereview.chromium.org//27339003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28671 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 18:35:07 +00:00
regis@google.com
2f900dab13
Cache number of type arguments in class object instead of recalculating it.
...
Reduce size of num_native_fields field in class object.
R=asiva@google.com
Review URL: https://codereview.chromium.org//26682003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28670 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 18:31:31 +00:00
turnidge@google.com
b4b7e5899c
Allow access to context variables in optimized/inlined frames.
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//27226004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28669 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 18:17:36 +00:00
rnystrom@google.com
96c4ac595b
Unflake pub oauth2 test to see if it's still flaky.
...
BUG=https://code.google.com/p/dart/issues/detail?id=12581
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//27260003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28668 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 17:58:55 +00:00
blois@google.com
f2573b0a0a
Converting Polymer's WebComponentsLoaded to an onReady future
...
This avoids double-firing of the event when the CustomElements polyfill is present and allows tests to wait for the future without worrying about missing the event.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//27307004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28665 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 17:37:24 +00:00
rmacnak@google.com
06e159f087
Add mirror tests for f-bounded mixin applications and generic mixins (not to be confused with mixin applications).
...
R=ahe@google.com , gbracha@google.com , regis@google.com
Review URL: https://codereview.chromium.org//26768005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28664 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 17:22:48 +00:00
gbracha@google.com
80df488ba8
Add mixin accessor.
...
R=ahe@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org//27261003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28661 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 17:00:54 +00:00
rmacnak@google.com
259c83c8d5
Add test for ClassMirror.mixin. Rename the mixin application test.
...
R=ahe@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//27275002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28660 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:55:46 +00:00
sra@google.com
d97c965914
Don't inline in a throw expression
...
Issue 10840.
R=kustermann@google.com
Review URL: https://codereview.chromium.org//27038006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28658 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:44:44 +00:00
floitsch@google.com
79cd061877
Fix typo.
...
Review URL: https://codereview.chromium.org//27357002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28657 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:40:59 +00:00
rmacnak@google.com
9662a9ab58
Give dart2js partial coverage from the initializing formals test. (Mostly their types.)
...
BUG=http://dartbug.com/11281
R=ahe@google.com
Review URL: https://codereview.chromium.org//27225003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28656 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:40:31 +00:00
kustermann@google.com
347f0afd5f
Followup status file update after co19-roll to r623
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//27307003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28655 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:35:35 +00:00
johnniwinther@google.com
d97500ce5e
Support type promotion in dart2js.
...
BUG=http://dartbug.com/13806
R=karlklose@google.com
Review URL: https://codereview.chromium.org//26232003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28654 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:27:28 +00:00
ajohnsen@google.com
732ab1ce4d
Add factory-method for scheduleMicrotask, as well as a (failing) test.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//26993002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28653 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:22:04 +00:00
hausner@google.com
c646aed258
Implement new mixin application syntax
...
Implment the class X = S with M syntax, add warning on deprecated
typedef syntax. Also convert a handful of tests. More tests to
be converted subsequently.
R=regis@google.com
Review URL: https://codereview.chromium.org//27223005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28652 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:13:02 +00:00
floitsch@google.com
10e9a799d1
Make print interceptable.
...
BUG= http://dartbug.com/3486
R=lrn@google.com
Review URL: https://codereview.chromium.org//27112002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28650 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:02:07 +00:00
kustermann@google.com
69872a6b28
co19-roll to r623
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//27340002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28647 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 15:18:24 +00:00
fschneider@google.com
b5465cf7ef
VM: Fix bug in canonicalization of identical in the optimizing compiler.
...
Make sure that BranchInstr::Canonicalize does not mutate it's input before
all conditions for the optimzations to take place are met. Otherwise, bailing out
leaves the affected comparison instruction in an invalid state.
BUG=https://code.google.com/p/dart/issues/detail?id=14109
R=srdjan@google.com
Review URL: https://codereview.chromium.org//26451006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28646 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 15:15:47 +00:00
johnniwinther@google.com
47499c6dc4
Add more specific relation.
...
To be used in type promotion.
R=karlklose@google.com
Review URL: https://codereview.chromium.org//26546005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28645 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 15:13:57 +00:00
johnniwinther@google.com
8009eb9561
Avoid generating members for classes only for needed rti.
...
BUG=http://dartbug.com/14105
R=karlklose@google.com , kasperl@google.com
Review URL: https://codereview.chromium.org//27318003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28643 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 15:00:48 +00:00
floitsch@google.com
1bcc9dd096
Create _RootZone and _RootSpecification.
...
R=lrn@google.com
Review URL: https://codereview.chromium.org//26151004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28641 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 13:31:37 +00:00
lrn@google.com
4589370920
Another erroneous co19 test assuming doubles don't override equals.
...
Review URL: https://codereview.chromium.org//27319003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28640 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 13:04:38 +00:00
lrn@google.com
0b3d95a799
Fix tests that didn't fail before double got an equality operator.
...
Review URL: https://codereview.chromium.org//26297003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28638 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 12:42:27 +00:00
karlklose@google.com
529b2f111c
Emit a compile-time error when using doubles as switch case expressions.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//26978004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28637 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 12:03:24 +00:00
kasperl@google.com
bda27bb5e1
Changed LinkedHashSet to Set and LinkedHashMap to Map.
...
BUG=
R=ahe@google.com
Review URL: https://codereview.chromium.org//26662006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28636 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 12:02:03 +00:00
lrn@google.com
eb185354cd
Document equality and compareTo of numbers.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//27302003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28635 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 11:58:06 +00:00
kustermann@google.com
cf50a507bb
Fixed (currently harmless) bug in test_runner and implemented separate dart2js compilation cache
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//26229005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28634 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 11:50:47 +00:00
karlklose@google.com
2e26824bb8
Fix language/external_test.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//25673003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28633 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 09:02:08 +00:00
ricow@google.com
a37250df7e
Rerun dartium tests until we fixed the flaky crashes in issue 14074
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//26986003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28632 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 08:36:45 +00:00