amouravski@google.com
3d7abb414a
Exclude the expect library from apidoc.
...
Review URL: https://codereview.chromium.org//13818019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21227 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 19:42:26 +00:00
regis@google.com
bdcca76e3a
Prohibit use of dynamic when extending or implementing classes (was crashing).
...
Added test.
Fix typos in array patch.
Cleanup factory result finalization.
Do not verify field offsets after a finalization error.
Review URL: https://codereview.chromium.org//13992002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21217 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 16:43:39 +00:00
blois@google.com
16ba7bbc02
Documenting misleading DataTransfer API.
...
BUG=
Review URL: https://codereview.chromium.org//12092114
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21216 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 16:22:14 +00:00
vegorov@google.com
70ccbd02aa
Repair compilation with VTune support.
...
R=fschneider@google.com
Review URL: https://codereview.chromium.org//14063008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21215 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 16:10:46 +00:00
ager@google.com
9bd8f2db46
Use name to sort IDB interfaces into the indexed_db library.
...
R=antonm@google.com ,blois@google.com
BUG=
Review URL: https://codereview.chromium.org//14014004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21214 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 16:10:21 +00:00
devoncarew@google.com
d7b8047611
Rename the sdk/bin/dartanalyzer* scripts to dartanalyzer_developer*, and update
...
the test framework to call the new scripts. This rename will allow us to add
two new scripts to this directory, dartanalyzer and dartanalyzer.bat. These scripts
will be the ones we include in the sdk.
Review URL: https://codereview.chromium.org//13760010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21213 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 16:01:21 +00:00
ahe@google.com
adf844a4fe
Make only_in_release_mode read the environment variable directly.
...
BUG=http://dartbug.com/9821
Review URL: https://codereview.chromium.org//13919004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21211 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 15:44:11 +00:00
whesse@google.com
8701674dbd
Dartdoc: Fix missing space after 'dynamic' in member declarations in generated docs.
...
BUG=
Review URL: https://codereview.chromium.org//14070006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21210 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 15:40:23 +00:00
vegorov@google.com
11edd87390
Convert diamond shaped control flow into a single conditional instruction.
...
Adds a IfConverter pass that right now recognizes two simple patterns cond ? 0 : 2^n and cond ? x : x+-1 that can be generated without branches on ia32 and x64 using setcc instruction.
R=fschneider@google.com
Review URL: https://codereview.chromium.org//14057004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21207 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 15:09:46 +00:00
ngeoffray@google.com
2ca428a715
Checked mode has the bug https://code.google.com/p/dart/issues/detail?id=9687 .
...
Review URL: https://codereview.chromium.org//13933010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21206 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 14:51:35 +00:00
whesse@google.com
9618a8d086
dart:io | Remove some unneeded global error save/restore pairs on Windows.
...
BUG=
Review URL: https://codereview.chromium.org//13828005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21205 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 14:41:17 +00:00
ngeoffray@google.com
51f4e4c5ee
Realize that this() is a closure send.
...
Review URL: https://codereview.chromium.org//13912003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21204 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 14:14:54 +00:00
ajohnsen@google.com
2f5eb60636
Introduce new HttpBodyHandler to easily extract full body of HttpRequest and HttpClientResponse.
...
BUG=https://code.google.com/p/dart/issues/detail?id=8834
Review URL: https://codereview.chromium.org//14019002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21202 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 13:50:44 +00:00
whesse@google.com
0693221741
dart:io | Directory.list: Add some missing lines to macos and android versions of implementation.
...
BUG=
Review URL: https://codereview.chromium.org//14066002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21201 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 13:47:22 +00:00
sgjesse@google.com
6082783a04
Fix issue with serializing typed array views
...
This makes the code
void isolate() {
port.receive(print);
}
main() {
Uint8List list = new Uint8List(1);
spawnFunction(isolate).send([1, new Uint8List.view(list.buffer, 0, 1)]);
}
not crash.
R=asiva@google.com
BUG=
Review URL: https://codereview.chromium.org//13866012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21200 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 13:41:32 +00:00
whesse@google.com
7c56d46086
dart:io | Ensure that Directory.list terminates even when symbolic links create loops in the file system.
...
BUG=
Review URL: https://codereview.chromium.org//13818010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21199 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 13:07:08 +00:00
ajohnsen@google.com
21451e1d3d
Remove HttpClientRequest.response, as it's identical to HttpClientRequest.done.
...
BUG=
Review URL: https://codereview.chromium.org//14055003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21198 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 12:54:23 +00:00
ajohnsen@google.com
c85a54080a
Validate exit-code in regress_7191.
...
BUG=
Review URL: https://codereview.chromium.org//13851008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21197 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 12:53:29 +00:00
devoncarew@google.com
7e55acf8bb
TBR revert 21195 - add analyzer to the sdk.
...
Review URL: https://codereview.chromium.org//13845006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21196 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 12:05:49 +00:00
devoncarew@google.com
6598a20b6d
Make the create_sdk task dependent on the analyzer task.
...
Review URL: https://codereview.chromium.org//13818028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21195 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 11:56:15 +00:00
lrn@google.com
77c8b06377
Make the analyzer happy about collections.
...
Fix some typing issues and a few real errors.
Review URL: https://codereview.chromium.org//14048002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21194 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 11:31:09 +00:00
floitsch@google.com
62358bf5e2
Make default argument to Iterable.join be "".
...
Review URL: https://codereview.chromium.org//13945009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21193 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 11:28:32 +00:00
floitsch@google.com
9ad97b83cb
Make Isolate streams single-subscription.
...
Review URL: https://codereview.chromium.org//13866015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21192 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 09:45:05 +00:00
lrn@google.com
d4fcf3067c
Make _FrozenElementList generic. It's needed for some type checks.
...
Review URL: https://codereview.chromium.org//13919003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21190 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 09:28:54 +00:00
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
podivilov@google.com
8a04dcd9e4
Revert recent changes to dart.idl.
...
R=antonm@google.com
Review URL: https://codereview.chromium.org//13899004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21186 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 08:22:14 +00:00
lrn@google.com
f8efe5b278
Fix typo in type parameter.
...
Review URL: https://codereview.chromium.org//14037002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21185 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 08:14:40 +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
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