gbracha@google.com
e08647bfd3
BREAKING CHANGE: Rename InstanceMIrror.invoke, .getField, .setField to invokeAsync, getFieldAsync, setFieldAsync. Likewise ClosureMirror.apply and ClassMIrror.newInstance. This is in preparation of new synchronous versions of the originals.
...
Review URL: https://codereview.chromium.org//13967003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21242 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:58:22 +00:00
hausner@google.com
cadaedbcde
Debugger wire protocol cleanups
...
- Rename id->isolateId in paused events
- Eliminate stack trace object in paused events
- Adapt ddbg.dart tool
Review URL: https://codereview.chromium.org//14105003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21241 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:37:21 +00:00
nweiz@google.com
b9120c526d
Renumber a TODO from issue 4928 to issue 9832.
...
Review URL: https://codereview.chromium.org//14106004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21238 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:25:11 +00:00
rnystrom@google.com
68a5c9a803
Add flag to disable capturing stack traces.
...
BUG=http://dartbug.com/9697
Review URL: https://codereview.chromium.org//13839023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21237 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:20:43 +00:00
regis@google.com
698a98b860
Pass flag --error_on_malformed_type when running gen_snapshot.
...
This will prevent silent mapping of malformed types to 'dynamic' in the core
library.
Review URL: https://codereview.chromium.org//14111002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21236 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:02:10 +00:00
regis@google.com
5900ae72af
A patch class must be given the same name as the class it is patching, otherwise
...
the generic signature classes it defines will not match the patched generic
signature classes. Therefore, new signature classes will be introduced and the
original ones will not get finalized.
Review URL: https://codereview.chromium.org//14097006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21235 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 22:34:02 +00:00
zra@google.com
2c5cea8d4e
Supports FrameLookup vm test on MIPS
...
As with the similar CL for ARM, also:
- Supports inline allocation of objects.
- Supports checking of inline cache and instance calls.
- Supports subtype test cache.
- Supports (some) equality checks.
- Supports for (some) conditional branches.
- Supports for pool pointer setup in stubs.
Review URL: https://codereview.chromium.org//14076005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21233 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 21:59:57 +00:00
srdjan@google.com
02f305a0f1
Intrinsify OnebyteString's substringUnchecked. Significant performance improvement on Json benchmarks.
...
Review URL: https://codereview.chromium.org//13964002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21232 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 20:37:02 +00:00
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