Commit Graph

109 Commits

Author SHA1 Message Date
sigmund@google.com 9442cddcb8 step 1 in making unittest platform independent.
Review URL: https://chromiumcodereview.appspot.com//10031022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6386 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 22:15:43 +00:00
vsm@google.com 84ae71ef30 Roll IDL to multivm@375
TBR=sra

Review URL: https://chromiumcodereview.appspot.com//10048001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6376 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 18:45:21 +00:00
sigmund@google.com 1087154630 fix bug in isolate code, reenable isolate tests
Review URL: https://chromiumcodereview.appspot.com//9967024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6375 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 18:43:27 +00:00
floitsch@google.com be5ff89c9f Fix instance compound assignment.
We compiled a.y.x += 1 into a.y.x = a.y.x + 1.
Similarly foo().x++ was compiled into foo().x = foo().x + 1.
Now we store the receiver and reuse it on both sides.

Review URL: https://chromiumcodereview.appspot.com//9979021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6365 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:52:13 +00:00
floitsch@google.com 593b3835fa Verify that there are enough positional arguments.
Review URL: https://chromiumcodereview.appspot.com//9961005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6361 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:22:22 +00:00
floitsch@google.com 3695be92d7 Make constant lists immutable.
Review URL: https://chromiumcodereview.appspot.com//9965047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6360 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:19:46 +00:00
floitsch@google.com df78d6220b Some cleanups.
Review URL: https://chromiumcodereview.appspot.com//9969039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6359 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 14:52:55 +00:00
podivilov@google.com 9af05c07ee Auto-generate TimeoutHandler.dart.
R=antonm@chromium.org,sra@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10027017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6317 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 11:31:08 +00:00
antonm@google.com 81ccfbd823 Generate DOMStringMap implementation.
R=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10008048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6314 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 10:10:48 +00:00
jacobr@google.com 5771e2c98d Add touchenter event even though it doesn't have an ontouchenter method in the DOM.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9949057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6289 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 18:12:35 +00:00
vsm@google.com c5338dc38c Add accidently omitted IDL files from last roll (to multivm@358)
This explains the inconsistencies we were hitting yesterday.  My fault!

This workflow should generally work to roll IDL forward if you're using git-cl:

./idlsync.py && git add ../../../third_party/WebCore/ && ./fremontcutbuilder.py && ./dartdomgenerator.py

Review URL: https://chromiumcodereview.appspot.com//10008054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6287 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 17:25:52 +00:00
antonm@google.com 886c1a356c IDBKey requires special ParameterAdapter handling.
R=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10009042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6276 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 15:31:17 +00:00
podivilov@google.com 896f335e43 Do not auto-generate instanceOf methods.
R=antonm@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10010018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6268 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 12:27:12 +00:00
antonm@google.com 7193fcd474 Support DOMStringMap in generators.
R=podivilov@chromium.org,sra@google.com

Review URL: https://chromiumcodereview.appspot.com//10005017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6267 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 12:10:52 +00:00
jacobr@google.com 4c1c8becf3 Add back @domName annotations to dart:html
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9997003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6248 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 21:32:39 +00:00
vsm@google.com cc87d5f312 Roll IDL forward to multivm@358
This is the result of:
./idlsync.py && ./fremontcutbuilder.py && ./dartdomgenerator.py

TBR=sra

Review URL: https://chromiumcodereview.appspot.com//9987001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6238 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 18:45:22 +00:00
devoncarew@google.com 8387c567ca Analyze against lib/isolate/isolate_compiler.dart instead of isolate_runtime.dart.
Review URL: https://chromiumcodereview.appspot.com//9980011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6230 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 16:56:30 +00:00
sra@google.com 3914d0b543 Delete lib/html/release/html.dart
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10009014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6227 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 16:34:29 +00:00
antonm@google.com 9defc048f9 Enable mutation observers for IDL generation.
R=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10005011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6223 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 15:56:25 +00:00
podivilov@google.com 2e9862c927 Add support for DOM node vs DOM object separation.
R=antonm@chromium.org

Review URL: https://chromiumcodereview.appspot.com//9977015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6214 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 09:30:45 +00:00
sra@google.com e0804ebae7 Update lib/html/release/html.dart
This file is identical to lib/html/dartium/html_dartium.dart. It really
should be deleted and places point to this file should pick one of the
implementations.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9994002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6212 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 01:14:01 +00:00
sra@google.com 090925494c Revert "Delete now-unused copy of dart:html"
This reverts commit 0d23941aad7771605911e6a3beeb4bef544f613f.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9992002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6208 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 23:22:17 +00:00
sra@google.com 9e910ed1ce Delete now-unused copy of dart:html
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9978020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6207 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 23:10:34 +00:00
vsm@google.com 14673f1529 Use non-pinned IDL for Dartium code gen
The Dartium build will uses the IDL in dart/third_party/WebCore first instead of third_party/WebKit/Source/WebCore due to my last CLs.

This CL should make it use the latter.  Please go ahead and commit if the next roll breaks on this.

Review URL: https://chromiumcodereview.appspot.com//9979031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6202 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 22:33:31 +00:00
sra@google.com d702be0b8f Fix Issue 2362
The wrapping constructor needs to call the correct underlying constructor.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9979034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6200 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 22:24:57 +00:00
vsm@google.com 69e44a8057 Update script to fetch new WebCore IDL
By default, fetch from the latest URL / revision used by Dartium.

Review URL: https://chromiumcodereview.appspot.com//9958151

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6195 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 20:31:26 +00:00
nweiz@google.com d257b17273 Use a better error message when $!MEMBERS isn't used in a template file.
Review URL: https://chromiumcodereview.appspot.com//9963123

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6157 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 00:20:01 +00:00
sra@google.com a0187f8928 Fix for Issue 2399 - broken []= on dartium dart:html typed arrays.
Also fix buggy lastIndexOf and add test.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9956126

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6153 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 23:38:35 +00:00
danrubel@google.com abad2c15d4 SystemLibraryManager config update
Review URL: https://chromiumcodereview.appspot.com//9950092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6152 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 23:17:37 +00:00
vsm@google.com dbb18a8335 Remove obsolete version of dromaeo
BUG=http://code.google.com/p/dart/issues/detail?id=2314

Review URL: https://chromiumcodereview.appspot.com//9950103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6138 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 19:01:34 +00:00
floitsch@google.com 9d3ea53f2b Fix some warnings.
Partially fixes Issue 2142

Review URL: https://chromiumcodereview.appspot.com//9963029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6119 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 09:42:27 +00:00
nweiz@google.com 6cabc53f79 Make Storage implement Map.
Review URL: https://chromiumcodereview.appspot.com//9956076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 22:51:57 +00:00
danrubel@google.com 51a35a9051 Entries for relatively referenced system libraries to prevent duplicate resolution
Review URL: https://chromiumcodereview.appspot.com//9959076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6109 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 20:11:30 +00:00
antonm@google.com 3cc89e4a5e Support 3-arg versions of .fromBuffer.
BUG=2362
TEST=TypedArrays2Test

Review URL: https://chromiumcodereview.appspot.com//9969062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6104 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 19:18:29 +00:00
sra@google.com bdb9cffa89 Remove unused typed array factory constructors.
Remove unused typed array factory constructors in the class as the
arrays are actually constructed in the factory constructor provider.

Use native renaming to get rid of hand generated code for typed array
'setElements' method.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9959048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6072 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 04:15:15 +00:00
sra@google.com 1c23709150 Fix factory dart:html typed array providers for dartium.
Revert "Revert "Typed array constructors with optional buffer offset and length.""

This reverts commit 70b6f43f35d3c022187cdb0ce4d516811a2a5dd1.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9950037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6071 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 01:01:08 +00:00
sra@google.com 66fad61228 Revert "Typed array constructors with optional buffer offset and length."
This reverts commit aaa5353b16edf040e21fff712757cc14001b2562.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9969036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6070 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 00:00:52 +00:00
sra@google.com cf763cf868 Typed array constructors with optional buffer offset and length.
A fix for Issue 2331

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9969001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6069 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 23:36:52 +00:00
rnystrom@google.com d2ca275165 Generate API docs during build.
Review URL: https://chromiumcodereview.appspot.com//9705088

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6065 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 20:24:06 +00:00
floitsch@google.com bf9e80617e Fix bug where constants were not correctly canonicalized.
Review URL: https://chromiumcodereview.appspot.com//9967001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6056 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 18:12:06 +00:00
sethladd@google.com 3734d65be1 add disqus comments
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9844031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6055 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 18:00:53 +00:00
floitsch@google.com ec60610969 During bailout construction add condition instructions to list of live variables.
Review URL: https://chromiumcodereview.appspot.com//9958007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6054 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 17:54:41 +00:00
jacobr@google.com dfbb12458f Use the new syntax for native methods that are just renames of other native methods.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9963004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6053 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 17:50:54 +00:00
floitsch@google.com 266d3a8c98 Don't use === instead of equality-method call for user class constants.
Review URL: https://chromiumcodereview.appspot.com//9956012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6048 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 17:04:40 +00:00
floitsch@google.com a8d1e46fc7 Fix bug where a parameter was mutated while it was still used.
Review URL: https://chromiumcodereview.appspot.com//9963005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6047 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 17:03:31 +00:00
polux@google.com c2fd555385 Typecheck constructor calls.
Review URL: https://chromiumcodereview.appspot.com//9835007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6040 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 15:24:15 +00:00
podivilov@google.com a1a7f30d01 Adjust native field wrapper field count.
See corresponding change in WebKit: http://codereview.chromium.org/9837116/.

R=antonm@chromium.org

Review URL: https://chromiumcodereview.appspot.com//9968004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6034 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 13:39:27 +00:00
ahe@google.com d94d1010be Eliminate branches on constant conditions during codegen.
Review URL: https://chromiumcodereview.appspot.com//9950014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6033 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 13:34:14 +00:00
ngeoffray@google.com 839fa9bf62 Code cleanup for speculative type optimization.
Review URL: https://chromiumcodereview.appspot.com//9969006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6032 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 13:28:14 +00:00
ngeoffray@google.com 8a0eb0e392 Building the Ssa graph has some sanity checks.
Review URL: https://chromiumcodereview.appspot.com//9958011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6028 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 10:00:59 +00:00