lrn@google.com
f41508d33b
Added new version of reduce.
...
Removed min/max and uses of min/max.
Review URL: https://codereview.chromium.org//14071002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21258 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 08:32:31 +00:00
ricow@google.com
9fd1680aa5
Fix apidoc dependencies and reenable editor test
...
Add back full copy of lib/_internal
Also fix snapshot dependency on old dart2js snapshot location
Review URL: https://codereview.chromium.org//14155002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21257 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:47:18 +00:00
ager@google.com
8bb2a43d5c
Update dart:html based on new IDL files
...
R=antonm@google.com , blois@google.com
BUG=
Review URL: https://codereview.chromium.org//14153002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21256 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:27:16 +00:00
ricow@google.com
7f11fa7ebd
Mark oauth2/with_server_rejected_credentials_authenticates_again_test as flaky
...
Filed http://dartbug.com/9839
Review URL: https://codereview.chromium.org//14152003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21255 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:19:56 +00:00
sgjesse@google.com
50bb376b0f
Update status file
...
TBR=ricow@google.com
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21253 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:17:34 +00:00
sgjesse@google.com
52f54a2edd
Add support for typed data views on native threads
...
The deserializer running outside the VM can now decode typed data
views. As the typed data views are implemented as normal Dart
instances and not a internal VM object the deserializer have been
expanded to process serialized objects of the type used to create
these views. The typed data object that the view is based on will
always be serialized as part of the message.
Currently only vews created with constructor Uint8List.view on top of
an Uint8List are supported.
R=ager@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=9484
Review URL: https://codereview.chromium.org//14065006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21252 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:15:08 +00:00
ricow@google.com
0120d310ab
Really fix dart2js.bat on windows
...
Added missing %
Tested on windows bot.
Review URL: https://codereview.chromium.org//14147002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21249 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 06:36:16 +00:00
ricow@google.com
75e49ea691
Fix arguments to dart2js in windows bat file
...
Wrongly assigned the library path to vm options
Review URL: https://codereview.chromium.org//13812019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21248 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 06:16:45 +00:00
ricow@google.com
00da866b33
Move the dart2js snapshot into bin directory of sdk root.
...
This is the first step in eliminating lib/_internal.
Review URL: https://codereview.chromium.org//13945008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21247 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 05:47:24 +00:00
gbracha@google.com
17896be4ad
Missing file from previous commit for mirrors to fix build.
...
Review URL: https://codereview.chromium.org//14077005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21243 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 00:04:17 +00:00
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