ahe@google.com
f42b735a0e
Correctly implement co19 test suite.
...
Review URL: https://codereview.chromium.org//11881053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17204 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 13:40:21 +00:00
antonm@google.com
962da4c790
Add Uint8ClampedArray to the list of typed arrays.
...
R=blois@google.com ,efortuna@google.com,podivilov@chromium.org,sra@google.com
Review URL: https://codereview.chromium.org//11885042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17203 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 13:34:57 +00:00
antonm@google.com
f2182622f7
Regenerate libraries.
...
TBR=podivilov@chromium.org
Review URL: https://codereview.chromium.org//11973027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17199 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 12:17:43 +00:00
antonm@google.com
b90237932f
Changes to support Chrome roll.
...
TBR=podivilov@chromium.org
Review URL: https://codereview.chromium.org//11961040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17194 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 11:45:48 +00:00
ngeoffray@google.com
e912bdb579
Test is flaky.
...
Review URL: https://codereview.chromium.org//11958038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17192 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 11:41:05 +00:00
ngeoffray@google.com
1fa01953e4
Avoid trying to inline identical, and avoid shadowing identical.
...
Review URL: https://codereview.chromium.org//11855016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17191 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 11:24:31 +00:00
fschneider@google.com
8c5b198d95
Optimized loads/stores for scalar list: Uint8Clamped, Int8, Int16, Uint16.
...
This CL adds optimized stores for Uint8ClampedList, and
loads+stores for Int8List, Int16List and Uint16List.
TEST=tests/standalone/byte_array_test.dart, tests/standalone/int_array_test.dart
Review URL: https://codereview.chromium.org//11967012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17190 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 10:43:46 +00:00
polux@google.com
5e271e0758
Fix optional arguments handling. Handling of default values is for a further
...
CL: this CL only aims at catching up with the changes in the spec.
Review URL: https://codereview.chromium.org//11863007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17189 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 10:35:40 +00:00
erikcorry@google.com
1af34e1710
Fix two issues that broke minification on dart2js.
...
R=karlklose@google.com
BUG=
Review URL: https://codereview.chromium.org//11959030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17188 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 10:31:55 +00:00
kustermann@google.com
9ee5fc4b53
Revert "Removed the 'we don't run multitests on browsers'-hack"
...
There is an issue with path names on dartium builders.
Review URL: https://codereview.chromium.org//11975039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17185 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 10:20:12 +00:00
polux@google.com
89d3518740
Simplification: avoid boxing/unboxing of ClassElements in ClassBaseTypes. This makes things shorter, faster, and ensures by typing that only classes are passed to functions that expect classes.
...
Review URL: https://codereview.chromium.org//11865010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17184 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 10:14:11 +00:00
kustermann@google.com
442e7fc3b9
Removed the 'we don't run multitests on browsers'-hack
...
Review URL: https://codereview.chromium.org//11886064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17183 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 08:59:05 +00:00
efortuna@google.com
4a6c2ca155
Regenerate libs for case sensitive file systems. (Why is mac case
...
insensitive?!?)
BUG=
Review URL: https://codereview.chromium.org//11983004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17181 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 01:33:57 +00:00
hausner@google.com
79f4b5b61b
Simplify exception handler table
...
Sort entries and drop the try_index field. This simplifies lookup
of exception handlers when walking the traces on exceptions.
Review URL: https://codereview.chromium.org//11970024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17179 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 01:10:42 +00:00
srdjan@google.com
37a715bbbf
Lookup functions by name that contains the private key, except for dart_api which allows ignoring the private key.
...
Review URL: https://codereview.chromium.org//11968022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17178 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 00:42:03 +00:00
efortuna@google.com
0345368d65
Unbreak local browser testing.
...
BUG=
Review URL: https://codereview.chromium.org//11931025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17176 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 00:35:23 +00:00
amouravski@google.com
722cde16a7
Remove more classes and members by making them private.
...
Review URL: https://codereview.chromium.org//11934004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17175 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:58:58 +00:00
blois@google.com
c855756604
Excluding wheelevent_test on FF until I can fix it.
...
It's causing test timeouts.
BUG=
Review URL: https://codereview.chromium.org//11931031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17174 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:52:08 +00:00
blois@google.com
a4fd4b1888
Fixing dartc error about not using ~/ operator and FF test error.
...
TBR=siggi
BUG=
Review URL: https://codereview.chromium.org//11956030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17173 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:31:18 +00:00
blois@google.com
b97af1c4f3
Adding support for the MouseWheel event in Streams.
...
In order to test this I also needed to add a constructor for the MouseWheel event, which complicated things.
In general, wheel events are incredibly fragmented across browsers.
BUG=7919
Review URL: https://codereview.chromium.org//11931009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17172 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:06:35 +00:00
amouravski@google.com
9da44d6aed
Change /// @docsEditable to @DocsEditable annotation.
...
Review URL: https://codereview.chromium.org//11970019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17171 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:51:43 +00:00
gram@google.com
5e51d1a049
TBR: Add back inadvertant deleted line. :-(
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17169 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:28:33 +00:00
gram@google.com
6230cf1635
Disable the gyp includes related to the OpenGL embedder, so that those who don't have freeglut can still build.
...
Review URL: https://codereview.chromium.org//11886082
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17168 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:18:24 +00:00
hausner@google.com
cfb3b53aac
Check whether exceptions are caught
...
The debugger can now determine whether an exemption will be caught or not.
Review URL: https://codereview.chromium.org//11946020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17167 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:16:09 +00:00
asiva@google.com
c8284ad1bb
Fix for 7941
...
- mark unused space in an object whose type has been transformed as
Int8Array instead of Array. This ensure that GC does not traverse
the contents of the unused space.
Review URL: https://codereview.chromium.org//11968020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17165 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 21:45:49 +00:00
nweiz@google.com
03244ffee1
Stop treating StreamController as a Stream.
...
Apparently StreamController will soon stop extending Stream, so this gets rid of
all uses of it as a Stream in pkg/http and pub.
Review URL: https://codereview.chromium.org//11975017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17163 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 21:35:45 +00:00
gram@google.com
9703d7bfdd
Refactored OpenGL embedder that works on Android, Mac or Linux.
...
To build on/for linux: tools/build.py -a x64 samples
To build on/for Mac: tools/build.py -a ia32 samples
To build on Linux for Android: tools/bui8ld.py --os=android samples
Note that to run on a Mac, you need to delete the first line of the
fragment shader in raytrace.dart, that says:
precision mediump float;
Review URL: https://codereview.chromium.org//11883013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17161 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 21:17:52 +00:00
regis@google.com
d8e322afad
Fix test harness for running vm tests in runtime directory.
...
Review URL: https://codereview.chromium.org//11984002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17158 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 20:51:35 +00:00
amouravski@google.com
038af964dc
Changed @domName annotation in comment to full fledge @DomName annotation.
...
Review URL: https://codereview.chromium.org//11887006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17154 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 19:01:07 +00:00
alanknight@google.com
ddd106b523
[ak] Fixed
...
Review URL: https://codereview.chromium.org//11889039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17152 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 18:21:34 +00:00
alanknight@google.com
6bc130fc66
Update ddbg.dart for async and json changes
...
Review URL: https://codereview.chromium.org//11928002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17151 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 18:11:04 +00:00
kustermann@google.com
494b8e5d56
Revert "Removed unused StandardTestSuite.cachedTests field"
...
The variable actually as a side effect, so this was broken.
Review URL: https://codereview.chromium.org//11968016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17147 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 17:20:32 +00:00
whesse@google.com
0d3f1c5396
Fix Path.relativeTo in special case where base is a substring of this.
...
BUG=
Review URL: https://codereview.chromium.org//11959011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17145 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 16:31:54 +00:00
antonm@google.com
7f538928f8
Try to provide proper suppressions after lib regeneration.
...
TBR=blois@google.com ,efotruna@google.com,podivilov@chromium.org
Review URL: https://codereview.chromium.org//11962017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17144 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 16:30:49 +00:00
antonm@google.com
740434e2a3
Move ugly hack out of the loop.
...
TBR=podivilov@chromium.org
Review URL: https://codereview.chromium.org//11971017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17143 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 16:15:17 +00:00
antonm@google.com
46a971d621
Regenerate libs.
...
TBR=blois@google.com ,efotruna@google.com,podivilov@chromium.org
Review URL: https://codereview.chromium.org//11946016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17142 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 16:06:00 +00:00
ahe@google.com
0aa3c7b35f
Make test.dart self-contained again.
...
Review URL: https://codereview.chromium.org//11961017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17139 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 15:21:22 +00:00
whesse@google.com
9d7b2710a7
Fix Path.relativeTo and add support for relative paths as input.
...
BUG=https://code.google.com/p/dart/issues/detail?id=7870
BUG=https://code.google.com/p/dart/issues/detail?id=7873
TEST=standalone/io/path_test
Review URL: https://codereview.chromium.org//11968012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17138 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 14:05:52 +00:00
sra@google.com
0433de6fb3
Revert "Revert "Don't use Error.toSafeString in List constructor.""
...
Compiler bug tickled by this change has been fixed.
Review URL: https://codereview.chromium.org//11975008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17136 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 12:29:33 +00:00
fschneider@google.com
3cd9fa513f
Fix bug in the x64 assembler's movw instruction.
...
The order of prefixes was wrong. The operand size prefix (0x66)
must occur before the REX prefix. From the instruction set reference:
[...]the REX prefix byte must immediately precede the opcode byte or
the escape opcode byte (0FH). [...]
Also, make movw(reg, addr) unavailable, consistent with ia32.
TEST=runtime/vm/assembler_x64_test.cc
Review URL: https://codereview.chromium.org//11961013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17135 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 12:12:21 +00:00
ngeoffray@google.com
26e11c6263
Do not track parameter types of closures, since closure calls can be generated during the emitter.
...
Review URL: https://codereview.chromium.org//11958009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17134 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 12:10:43 +00:00
kustermann@google.com
8e4757a782
Removed unused StandardTestSuite.cachedTests field
...
Review URL: https://codereview.chromium.org//11962012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17133 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 11:35:48 +00:00
sra@google.com
8ad82938f6
Revert "Don't use Error.toSafeString in List constructor."
...
Review URL: https://codereview.chromium.org//11956012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17132 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 10:47:55 +00:00
ngeoffray@google.com
45520c44e4
Address Erik's comments on https://codereview.chromium.org/11778064 and fix minifier failures.
...
Review URL: https://codereview.chromium.org//11970007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17131 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 10:40:07 +00:00
sra@google.com
1ad6e92ef6
Don't use Error.toSafeString in List constructor.
...
Review URL: https://codereview.chromium.org//11959009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17130 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 10:19:15 +00:00
kasperl@google.com
37d87ed2b3
Start adding support for mixin application syntax. We now parse the typedef variant of mixin applications like:
...
typedef C = S with M;
but the construct is still unhandled.
R=ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//11878043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17129 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 10:12:55 +00:00
ricow@google.com
6f53169ec1
Don't exit test script on an error in the http server.
...
This often happens if the client closes the connection unexpectedly
Review URL: https://codereview.chromium.org//11971012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17128 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 09:57:35 +00:00
kasperl@google.com
88675d2347
Unbreak closure invocation name minification.
...
R=erikcorry@google.com
BUG=
Review URL: https://codereview.chromium.org//11893003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17127 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 09:36:09 +00:00
ngeoffray@google.com
5e1b75a020
Add a new class InvokeDynamicSpecializer and subclasses that know what input types are beneficial for optimization, and know how to change a HInvokeDynamicMethod to a builtin instruction.
...
Review URL: https://codereview.chromium.org//11879047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17126 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 09:31:59 +00:00
floitsch@google.com
940be9b097
Mark isolate2_negative_test as flaky.
...
Review URL: https://codereview.chromium.org//11886061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17125 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 09:04:18 +00:00