sra@google.com
5e134e6b8b
Conversions between JavaScript objects and Maps.
...
Review URL: https://chromiumcodereview.appspot.com//10870030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11208 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 03:50:16 +00:00
regis@google.com
9efad2644b
Re-enable checking of native resolvers.
...
Review URL: https://chromiumcodereview.appspot.com//10882007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11206 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 03:26:20 +00:00
sra@google.com
64e5faf168
update html.status - missed one configuration last time.
...
Review URL: https://chromiumcodereview.appspot.com//10870027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11205 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 03:10:50 +00:00
sra@google.com
c53570687c
Revert "Revert "Conversions between Dart code and DOM code.""
...
Adjust html.status
Review URL: https://chromiumcodereview.appspot.com//10868035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11202 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 01:13:39 +00:00
srdjan@google.com
74a9161438
Fix inlining and intrinsification for moved Math methods.
...
Review URL: https://chromiumcodereview.appspot.com//10877030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11201 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 01:10:47 +00:00
regis@google.com
3e6596ba22
Temporarily disable checking of native resolvers to make Dartium build green.
...
A more permanent fix will follow.
Review URL: https://chromiumcodereview.appspot.com//10869024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11200 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 01:01:14 +00:00
regis@google.com
fbd17a4d20
Fix Mac build.
...
Review URL: https://chromiumcodereview.appspot.com//10869022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11199 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 00:42:43 +00:00
regis@google.com
55c106f812
Make ClassFinalizer indifferent on whether we are generating a snapshot or not.
...
Add flag --error_on_malformed_type.
Remove obsolete flag --verify_implements.
Support snapshotting of LanguageError (for malformed types) and ApiError.
Review URL: https://chromiumcodereview.appspot.com//10871005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11198 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 00:27:49 +00:00
cshapiro@google.com
2e00a80dd5
Provide an Expando implementation for the VM.
...
Review URL: https://chromiumcodereview.appspot.com//10861041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11196 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 00:03:40 +00:00
sra@google.com
4fcc448e4c
Revert "Conversions between Dart code and DOM code."
...
Review URL: https://chromiumcodereview.appspot.com//10879025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11194 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 23:53:08 +00:00
sra@google.com
7103096a77
Conversions between Dart code and DOM code.
...
Arguments passed to and values returned by JavaScript code sometimes need to be converted. dart:html for dart2js specifies these conversions in a table indexed by type and, optionally, operation.
If an operation has any overloads that require conversion, a dispatch is generated to identify the values needing conversion, and to ensure the native method is called with the same number of arguments as the original user call site.
Review URL: https://chromiumcodereview.appspot.com//10827428
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11193 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 23:30:17 +00:00
srdjan@google.com
b6042c9419
Fix printing of symbols for profiling on x64.
...
Review URL: https://chromiumcodereview.appspot.com//10870018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11192 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 22:48:10 +00:00
asiva@google.com
596a5f1af9
Use kInstanceCid instead of object_store()->object_class() when checking to see if the class is object class.
...
Review URL: https://chromiumcodereview.appspot.com//10873004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11190 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 22:21:44 +00:00
efortuna@google.com
045de4485c
Smarter "new interesting code" detection.
...
Review URL: https://chromiumcodereview.appspot.com//10829408
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11186 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 21:15:35 +00:00
vsm@google.com
c69e3285d2
Regen html_dart2js - fix for dartc
...
TBR=efortuna@google.com
Review URL: https://chromiumcodereview.appspot.com//10869016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11184 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 20:39:02 +00:00
vsm@google.com
769cfa00b1
Support proxying of objects between JS and Dart.
...
Review URL: https://chromiumcodereview.appspot.com//10827462
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11182 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 20:13:36 +00:00
efortuna@google.com
6fd3ef2032
Made get_archive.py resilient to 403 forbidden errors.
...
Review URL: https://chromiumcodereview.appspot.com//10867005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11178 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 18:12:41 +00:00
vsm@google.com
4804cb5f0f
Fix FF status for js_interop_2_test
...
TBR=ajohnsen@google.com
Review URL: https://chromiumcodereview.appspot.com//10876017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11177 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 17:55:24 +00:00
ahe@google.com
aa97f486e1
Mark test which uses Math as failing.
...
Review URL: https://chromiumcodereview.appspot.com//10874011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11176 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 17:14:44 +00:00
rnystrom@google.com
f65d68a677
When a directory contains read-only files, try to make them writable when recursively deleting on Windows.
...
Review URL: https://chromiumcodereview.appspot.com//10867003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11175 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 16:46:21 +00:00
smok@google.com
0168cbb59a
[dart2dart] In placeholder collector skip non top-level elements from dart:* libraries.
...
Protects us from double-prefixing things like:
import('dart:io');
Platform.operatingSystem;
Review URL: https://chromiumcodereview.appspot.com//10868020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11174 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 16:42:15 +00:00
antonm@google.com
daa167bc1c
Refactor conversion to native.
...
generator.py should be only aware of details, but shouldn't emit the code directly.
Review URL: https://chromiumcodereview.appspot.com//10831035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11172 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 16:36:41 +00:00
vsm@google.com
282cf2fc15
Restore js interop code
...
Create a copy of the formerly shared serialization code for now to unblock js interop work. We can discuss if/how it makes sense to merge these.
Review URL: https://chromiumcodereview.appspot.com//10878010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11171 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 16:35:43 +00:00
johnniwinther@google.com
7c61b110d8
Const variables handled as final
...
Review URL: https://chromiumcodereview.appspot.com//10879003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11170 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 16:15:15 +00:00
johnniwinther@google.com
5e1e9a888d
Status change: Dartc fails on static const in interfaces
...
Review URL: https://chromiumcodereview.appspot.com//10867013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11169 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 16:02:00 +00:00
smok@google.com
582730cb6d
[dart2dart] Fix type variables for interfaces and default classes if they are in different libs.
...
Example:
lib1: interface I<K> default C<K> {...}
lib2: class C<K> {...}
Review URL: https://chromiumcodereview.appspot.com//10875009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11168 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 15:55:39 +00:00
antonm@google.com
37ec166a4a
Improve the problem description.
...
R=podivilov@chromium.org
Review URL: https://chromiumcodereview.appspot.com//10829462
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11166 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 15:51:32 +00:00
johnniwinther@google.com
f41a4ffac6
Language tests updated to use const instead of final.
...
Review URL: https://chromiumcodereview.appspot.com//10837359
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11165 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 15:36:19 +00:00
scheglov@google.com
f8fa2dca5a
Remove references to 'frog'
...
R=brianwilkerson@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10877016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11162 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 15:34:17 +00:00
smok@google.com
6a44ac9411
dart2dart Rename statics as globals.
...
Review URL: https://chromiumcodereview.appspot.com//10870008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11159 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 15:10:01 +00:00
ager@google.com
d10e73e5bd
Add library tag to test to make it work in Dartium.
...
R=antonm@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10869014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11157 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 14:52:26 +00:00
ahe@google.com
050cf0585f
Revert revision 11150 to unbreak the VM tests.
...
Review URL: https://chromiumcodereview.appspot.com//10879011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11156 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 14:35:13 +00:00
ager@google.com
722c1a3ce6
Deprecate Math object in corelib in favor of dart:math library.
...
Review URL: https://chromiumcodereview.appspot.com//10829459
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11155 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 14:33:01 +00:00
kasperl@google.com
ea966d5647
Simplify HInvokeInterceptor.
...
R=ngeoffray@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10866021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11153 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 14:24:53 +00:00
ahe@google.com
d96c58598a
Reify partial metadata.
...
Review URL: https://chromiumcodereview.appspot.com//10869013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11152 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 14:17:55 +00:00
ager@google.com
0a55fa5f3b
Deal with the JS helper separately from the 'native' keyword.
...
Another change to prepare for the removal of the corelib Math
object in favor of the dart:math library.
R=ahe@google.com ,johnniwinther@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10867011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11151 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 13:57:56 +00:00
ahe@google.com
cadf648307
Initialize field to unbreak VM test.
...
Review URL: https://chromiumcodereview.appspot.com//10871014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11150 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 13:49:57 +00:00
ajohnsen@google.com
1423e10896
Mark js_interop_2_test as failing on dart2js-chrome and dart2js-ff.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10877012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11149 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 13:47:45 +00:00
whesse@google.com
b6cda7c0d2
Check for an error handle passed in, in all dart_api functions that return a handle. Pass the error handle through unchanged.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10834084
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11148 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 13:42:06 +00:00
ahe@google.com
234caf4849
Create an outline of metadata API in dart2js.
...
Review URL: https://chromiumcodereview.appspot.com//10879006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11147 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 13:37:13 +00:00
ajohnsen@google.com
a38502e5a4
Mark js_interop_2_test on none-drt as failing.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10875007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11146 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 13:24:48 +00:00
ajohnsen@google.com
3c00b2ceae
Revert "Support sourceing files in patches."
...
This reverts commit f574332325d74c1fe4370496fc5ea212c6f9ac7f.
BUG=
Review URL: https://chromiumcodereview.appspot.com//10869012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11145 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 13:10:00 +00:00
sgjesse@google.com
d354eb558b
Fix issue 4639
...
See comment#3 on http://code.google.com/p/dart/issues/detail?id=4639
R=kasperl@google.com
BUG=dart:4639
TEST=tests/compiler/dart2js_extra/regress/4639_test.dart
Review URL: https://chromiumcodereview.appspot.com//10879007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11144 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 13:07:11 +00:00
ajohnsen@google.com
df4c9b65d4
Clean up html.status file.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10872012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11143 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 12:58:04 +00:00
lrn@google.com
d82749cc47
Make addGetterOrSetter (now: defineAccessor) not add the abstract field as a member.
...
The abstract field element is only present as a result of a named
lookup in order to return both getter and setter as one result.
Review URL: https://chromiumcodereview.appspot.com//10837140
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11142 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 12:57:04 +00:00
smok@google.com
8cb030adf2
dart2dart Make sure we never create placeholder for Dynamic type.
...
Review URL: https://chromiumcodereview.appspot.com//10876011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11141 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 12:52:33 +00:00
smok@google.com
16f3d80d74
dart2dart Fix type variables rename
...
Review URL: https://chromiumcodereview.appspot.com//10866017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11140 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 12:47:25 +00:00
antonm@google.com
6141f9b57b
Map ObjectArray to List.
...
I am not sure WebKit IDL usage of ObjectArray is the best approach in the first place,
but at least let's do something about it.
R=podivilov@chromium.org ,sra@google.com ,vsm@google.com
BUG=1888
Review URL: https://chromiumcodereview.appspot.com//10877007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11139 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 12:43:07 +00:00
kmillikin@google.com
57f5dbafd6
Give a length field to stack bitmaps.
...
The bitmaps describing the stack have an explicit length field. It is now
an assertion failure to read bits outside the length --- they are no longer
assumed to be false.
Also remove an unused method and simplify the implementation of
BitmapBuilder by removing an embedded member that was always referred to via
a pointer.
R=vegorov@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10832410
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11138 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 12:42:54 +00:00
ajohnsen@google.com
4cf1786c12
Make js_interop_1_test pass for none-drt.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10869011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11137 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 12:38:07 +00:00