floitsch@google.com
0a26d0e20b
Rename DateTime constants to full names.
...
BUG= http://dartbug.com/9441
Review URL: https://codereview.chromium.org//13841005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21189 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 09:23:26 +00:00
lrn@google.com
ad2804cf73
Fix bug in previous commit.
...
Review URL: https://codereview.chromium.org//13860003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21188 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 09:18:40 +00:00
lrn@google.com
8d7d80ecf2
Remove some usages of IterableMixinWorkaround from HTML library.
...
I haven't found a way to remove the usages in
immutable_list_mixin.darttemplate
yet, since it requires understanding the Python code using the template.
Review URL: https://codereview.chromium.org//13617003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21187 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 09:03:41 +00:00
whesse@google.com
2c5550d93c
dart:io | Add documentation changes to Link, File and Directory delete methods.
...
BUG=
Review URL: https://codereview.chromium.org//13862003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21183 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 08:07:37 +00:00
erikcorry@google.com
3d49b18a1b
Fix bogus array type check. Bug=9813
...
R=karlklose@google.com
BUG=
Review URL: https://codereview.chromium.org//13927004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21181 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 07:44:48 +00:00
kasperl@google.com
57a82e9d05
Implement JS version of LinkedHashSet and move the various HashTable implementations to the VM collection library patch.
...
R=erikcorry@google.com ,lrn@google.com
BUG=
Review URL: https://codereview.chromium.org//13913005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21180 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 07:12:50 +00:00
nweiz@google.com
d50f344915
Revert dartdoc documenting exports.
...
This is causing a bunch of weird build breakages and I'm not going to have time
to fix them all tonight.
Review URL: https://codereview.chromium.org//13986002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21177 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 01:01:08 +00:00
nweiz@google.com
1438091981
Compile Dart to JS in an isolate in dartdoc.
...
Review URL: https://codereview.chromium.org//13959004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21176 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 23:58:10 +00:00
sra@google.com
c3baf62826
More precise native type for context2D
...
Trims 3k off spirodraw
Review URL: https://codereview.chromium.org//13913002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21174 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 22:21:45 +00:00
nweiz@google.com
8751525bae
Have dartdoc document exports.
...
BUG=9651
Review URL: https://codereview.chromium.org//13861024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21172 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 21:45:16 +00:00
kevmoo@j832.com
470b770a51
lib/utf: remove codepointsToString
...
point folks to use String.fromCharCodes
Review URL: https://codereview.chromium.org//13493020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21151 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 13:51:05 +00:00
ajohnsen@google.com
2d956c4d0c
Fix template type of _HttpClientRequest (now returns a HttpClientResponse).
...
BUG=
Review URL: https://codereview.chromium.org//13928010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21150 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 12:49:25 +00:00
erikcorry@google.com
4044e4a645
Teach mini JS parser about precedence
...
R=ngeoffray@google.com
BUG=
Review URL: https://codereview.chromium.org//12663018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21149 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 12:47:22 +00:00
lrn@google.com
6160e59850
Moving ListBase, FixedLengthListMixin and UmodifiableListMixin to collection.
...
Users can now create lists easily by extending these classes, just
as they can create iterables by extending Iterable.
Reduce the dependency of IterableMixinWorkaround outside of core/collection
implementations. I plan to move IterableMixinWorkaround to _collection-dev
before M4.
Review URL: https://codereview.chromium.org//13774006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21147 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 12:11:05 +00:00
ajohnsen@google.com
12cb62d797
Implement consumer, not pipe, in _HttpClientRequest.
...
BUG=
Review URL: https://codereview.chromium.org//13866006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21146 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 11:21:04 +00:00
lrn@google.com
864b4472bc
Fix stream_controller_test failure.
...
Review URL: https://codereview.chromium.org//13814010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21145 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 10:54:07 +00:00
ajohnsen@google.com
f270244862
Delay HttpClientResponse until HttpClientRequest is fully sent.
...
BUG=
Review URL: https://codereview.chromium.org//13861005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21144 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 10:48:59 +00:00
johnniwinther@google.com
d701ea1325
Small dartdoc fixes.
...
Review URL: https://codereview.chromium.org//12694002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21143 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 10:46:11 +00:00
johnniwinther@google.com
f34886330e
Use inlinedFrom in buildFieldInitializers
...
BUG=
Review URL: https://codereview.chromium.org//13779007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21142 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 10:37:26 +00:00
floitsch@google.com
ed0b82ef4a
Fix bad onSuccess calls after an exception.
...
Review URL: https://codereview.chromium.org//13483023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21141 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 09:36:07 +00:00
lrn@google.com
7e9e78d159
Make EventTransformerStream's subscription not send events after cancel.
...
Also make Stream.firstm, Stream.single and Stream.elementAt cancel
their subscription before completing the future, instead of after.
BUG=http://dartbug.com/7964
Review URL: https://codereview.chromium.org//13625003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21140 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 09:26:43 +00:00
ajohnsen@google.com
a323cd84cb
Revert "Have dartdoc document exports."
...
Revert "Fix the dartdoc build."
Revert "Really fix Dartdoc."
BUG=
Review URL: https://codereview.chromium.org//13811012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21139 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 08:59:39 +00:00
johnniwinther@google.com
746a860a83
Register type for literal list/map.
...
BUG=
Review URL: https://codereview.chromium.org//13467021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21136 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 08:05:38 +00:00
ajohnsen@google.com
c62d22dad4
Add support for client-side GZip compression.
...
It's enabled by default. To disable, one simple have to override/clear the
ACCEPT_ENCODING header value.
BUG=
Review URL: https://codereview.chromium.org//13934002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21134 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 07:26:50 +00:00
ajohnsen@google.com
ea312dd9e3
Also wrap stdin/stdout/stderr on Process.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9439
Review URL: https://codereview.chromium.org//13929002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21132 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 06:21:17 +00:00
nweiz@google.com
46e1783cae
Really fix Dartdoc.
...
Review URL: https://codereview.chromium.org//13882002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21131 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 02:11:18 +00:00
sra@google.com
9882afba1d
Tighten type of 'document' to HtmlDocument
...
reviewed as https://codereview.chromium.org/13686004/
Review URL: https://codereview.chromium.org//13868003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21130 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 01:44:53 +00:00
sra@google.com
00d70b9cdf
Remove some unused functions from Object.prototype
...
TBR=ngeoffray@google.com
Review URL: https://codereview.chromium.org//13876004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21129 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 01:22:28 +00:00
nweiz@google.com
8db0ca07f4
Fix the dartdoc build.
...
Review URL: https://codereview.chromium.org//13878002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21128 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 01:14:25 +00:00
blois@google.com
622022dcb3
Fixing SVGPaint constructor DartC error.
...
Had removed the constructor because it was no longer needed to call the base class, but it's actually needed for derived classes.
BUG=
Review URL: https://codereview.chromium.org//13820004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21127 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 00:42:00 +00:00
nweiz@google.com
a70ef44c0b
Have dartdoc document exports.
...
BUG=9651
Review URL: https://codereview.chromium.org//13598030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21126 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 00:25:24 +00:00
blois@google.com
575512855b
Fixing SVGColor DartC break
...
The base class for SVGColor was removed, but we still had an auto-generated constructor trying to call it, which broke dartc.
BUG=
Review URL: https://codereview.chromium.org//13849002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21124 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 23:49:16 +00:00
blois@google.com
8afa069ae4
These APIs were introduced in the CSS DOM 2 spec and have been removed from the CSS DOM 3 spec. We should remove them as well.
...
http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface
BUG=
Review URL: https://codereview.chromium.org//12857006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21121 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 23:25:11 +00:00
blois@google.com
93566b8a35
Making supressed DOM types abstract
...
This clears up a number of dart analyzer issues for the suppressed types.
Also making SVGGradientElement not be suppressed since it is used.
BUG=
Review URL: https://codereview.chromium.org//13744005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21111 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 20:45:32 +00:00
efortuna@google.com
5c0ae732b4
Add back localName and improve toString for Html nodes.
...
BUG=
Review URL: https://codereview.chromium.org//13744003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21105 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 19:29:10 +00:00
sra@google.com
e041f763f6
Make mixins work on native classes.
...
Review URL: https://codereview.chromium.org//13685022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21104 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 19:29:00 +00:00
floitsch@google.com
343fa26d65
Remove deprecated Expect from the libraries.
...
Review URL: https://codereview.chromium.org//13724021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21079 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 16:07:34 +00:00
whesse@google.com
26f44bfc6a
dart:io | Add missing step to Link.create on Windows.
...
BUG=
Review URL: https://codereview.chromium.org//13467025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21078 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 15:50:17 +00:00
whesse@google.com
7e65824c01
dart:io | Add asynchronous Link.create implementation.
...
BUG=
Review URL: https://codereview.chromium.org//13800002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21077 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 15:12:47 +00:00
ajohnsen@google.com
6d1c14a28c
WebSocket: Correctly expect masked frames from clients, and send masked frames from the client.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9723
Review URL: https://codereview.chromium.org//13686005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21075 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 14:35:44 +00:00
kasperl@google.com
06ce0c3ec3
Add JS implementation of LinkedHashMap.
...
R=erikcorry@google.com
BUG=
Review URL: https://codereview.chromium.org//13599005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21072 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 13:51:07 +00:00
ajohnsen@google.com
62f1397d66
Remove typo templated type.
...
BUG=
Review URL: https://codereview.chromium.org//13647019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21066 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:26:52 +00:00
ajohnsen@google.com
140409a05a
Wrap stdout/stderr/stdin to only expose the relevant methods.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9439,https://code.google.com/p/dart/issues/detail?id=9593
Review URL: https://codereview.chromium.org//13787003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21063 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:13:03 +00:00
karlklose@google.com
b2d5c2bb62
Make sure required type arguments are given when using factories.
...
When a factory is used to create an instance using type arguments and these instances needed the type arguments, we did not track that requirement, because we only knew about the constructor call to the factory.
Review URL: https://codereview.chromium.org//13642002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21057 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:38:18 +00:00
johnniwinther@google.com
517337da22
Implement subtype for type variables.
...
This implementation handles cyclicity in subtyping on type variables.
Review URL: https://codereview.chromium.org//13375005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21056 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:30:19 +00:00
johnniwinther@google.com
abfb263792
Check for cyclic type variable bounds.
...
This CL uses the post-processing queue introduced in CL https://codereview.chromium.org/13261008/ .
Review URL: https://codereview.chromium.org//13133006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21055 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:22:07 +00:00
sgjesse@google.com
eb76cd907a
Add more tests and argument check to Process.sleep
...
R=ager@google.com
Review URL: https://codereview.chromium.org//13497008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21054 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:04:45 +00:00
ajohnsen@google.com
4a2f6c1ce7
Add missing method to link.dart.
...
BUG=
Review URL: https://codereview.chromium.org//13775005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21052 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:28:16 +00:00
sgjesse@google.com
065ac395f0
Fix a few dartdoc comments
...
TBR=ager@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=9684
Review URL: https://codereview.chromium.org//13776004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21050 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:09:15 +00:00
lrn@google.com
24e3c0bbb0
Reapply "Reduce usage of IterableMixinWorkaround"
...
Fix bug and recommit
Review URL: https://codereview.chromium.org//13496014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21049 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:07:39 +00:00