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
podivilov@google.com
468fc08f93
Fix the build with WEB_AUDIO disabled.
...
Make sure web_audio_DartResolver.cpp is generated even if WEB_AUDIO is disabled
because our gyps depend on it.
R=antonm@google.com
Review URL: https://codereview.chromium.org//13493010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21182 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 08:01:28 +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
hausner@google.com
226b3f4ce4
Fix issue 9744
...
Allow for debugger stack frames that have no corresponding pc descriptor
entry, i.e. the PC is not at a known safe point. In that case, we cannot
return a code location nor variables.
Fixes 9744
Review URL: https://codereview.chromium.org//13948009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21175 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 23:36:51 +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
afe21ca1b4
Include analyzer_experimental in the SDK.
...
Review URL: https://codereview.chromium.org//13841024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21173 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 22:10:18 +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
alanknight@google.com
664fe171c6
Make use of the patterns in Intl number formatting
...
This adds code to parse and use the information from the pattern
string used to create a NumberFormat. It adds tests taken
from the Closure tests and also tests comparing a simple
format to the ICU output for a large set of locales.
In addition it has changes to
- part number_format.dart in intl.dart rather than having it as a
separate library
- Update the algorithm to incorporate some additions in Closure
- Allow setting a few of the internal parameters, which the
Closure tests wanted to use
- Add named constructors for the standard formats, e.g. DECIMAL_FORMAT
- Access _defaultLocale consistently via the getCurrentLocale() method
rather than directly, so it can never be uninitialized.
- Regenerated the locale data
Review URL: https://codereview.chromium.org//13814018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21166 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 19:58:42 +00:00
floitsch@google.com
536efee503
Don't try to measure the running time if the test hasn't started yet.
...
Review URL: https://codereview.chromium.org//13814017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21163 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 19:09:30 +00:00
iposva@google.com
737897e4cd
- Adapt test expectations to match the VM.
...
Review URL: https://codereview.chromium.org//13814019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21162 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 18:57:16 +00:00
iposva@google.com
0d0fcbe7e1
Changelist to land https://codereview.chromium.org/13452007/ for Siva.
...
Review URL: https://codereview.chromium.org//13813018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21160 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 17:51:24 +00:00
ricow@google.com
14a6ddcacc
Remove some old leftover cleanup code
...
Review URL: https://codereview.chromium.org//13841010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21156 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 16:04:02 +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
vegorov@google.com
4d4a91ac04
Fix bug in ParallelMoveResolver::EmitSwap: implement swaps of FPU spill slots.
...
Remove representation from location. Presence of representation in location encoding was violating the invariant that unequal locations must be disjoint (where equality for locations is defined in terms of bitwise equality of their encoding). This could lead ParallelMoveResolver to treat XMM1 containing unboxed double as unequal location to XMM1 containing unboxed mint, which is obviously incorrect.
For similar reason eliminate kFloat32x4StackSlot and kUint32x4StackSlot distinction is eliminated and both are replaced with kQuadStackSlot. Register allocator now guarantees that no kQuadStackSlot occupies the same space as any other kDoubleStackSlot. This also shrinks optimized stack when only doubles are used (but might lead to a higher stack utilization when a mixture of doubles and quads is used).
Implement allocation of scratch Cpu and Xmm registers for ParallelMoveResolver. This also allows to remove push(eax)/pop(eax) pairs when resolving memory-memory cycles on ia32.
BUG=dart:9710
Review URL: https://codereview.chromium.org//13801014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21148 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 12:23:46 +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
ajohnsen@google.com
087b95ac84
Re-introduce macos group line (accidental removal).
...
BUG=
Review URL: https://codereview.chromium.org//13814005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21138 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 08:25:22 +00:00
ajohnsen@google.com
daf4e5061a
Re-enable regress_7191_test on mac.
...
BUG=
Review URL: https://codereview.chromium.org//13811008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21137 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 08:15:44 +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
97606a604e
Fix pkg:http tests to include the accept-encoding header.
...
BUG=
Review URL: https://codereview.chromium.org//13937008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21135 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 07:51:07 +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
b6d93641ff
Fix regress_7191.
...
BUG=https://code.google.com/p/dart/issues/detail?id=8091
Review URL: https://codereview.chromium.org//13941003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21133 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 07:26:02 +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
iposva@google.com
15e23c7914
- Make the test_extension (a shared library) build in PIC.
...
Review URL: https://codereview.chromium.org//13811007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21123 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 23:33:50 +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
iposva@google.com
0d1af8b22c
- Do not emit PIC code and frame pointers for release targets.
...
Review URL: https://codereview.chromium.org//13826002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21120 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 23:05:52 +00:00
hausner@google.com
15720724d9
Add more error detection to debugger test
...
Detect when malformed messages leave over garbage, e.g. when there
are is an extra closing brace.
Review URL: https://codereview.chromium.org//13741025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21119 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 22:24:00 +00:00
zra@google.com
cae56d75ed
Introduces a second temporary register for MIPS assembler macros.
...
- Also, adds macros for comparisons followed by branches, and uses them.
Review URL: https://codereview.chromium.org//13483018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21118 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 22:04:27 +00:00
floitsch@google.com
5589ee9e71
Fix windows tests.
...
Review URL: https://codereview.chromium.org//13799012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21116 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 21:40:34 +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
hausner@google.com
9b3a1bd078
More debugger fixing in json objects
...
Need a better test. The current basic_debugger_test hangs due to
the bug. Will look at that in a separate cl.
Review URL: https://codereview.chromium.org//13800014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21109 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 20:00:54 +00:00