Commit Graph

6631 Commits

Author SHA1 Message Date
kustermann@google.com e2dbbb540a test.py: Reduce the number of times we retry commands before showing them as failed.
R=ricow@google.com

Review URL: https://codereview.chromium.org//22817002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25997 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 10:57:07 +00:00
efortuna@google.com 1685a782e5 Fix KeyEvent keyIdentifier is unsupported error message.
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//22766002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25989 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 23:25:48 +00:00
efortuna@google.com 3304c64b52 Make includeAncestors match a separate method.
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//22305005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25979 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 20:41:48 +00:00
efortuna@google.com 9fdbcf176c Add includeAncestors to dartium matches call.
BUG=

Review URL: https://codereview.chromium.org//22529004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25975 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 20:21:50 +00:00
efortuna@google.com e8c1c1722f Adjust test status for debugging in Dartium.
"Reverting 25970"

BUG=

Review URL: https://codereview.chromium.org//22721003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25972 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 18:48:44 +00:00
efortuna@google.com 7312ba7104 Move matches method so that it gets generated for dart2js and dartium.
BUG=

Review URL: https://codereview.chromium.org//22755002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25970 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 18:34:58 +00:00
efortuna@google.com 8963a49505 Event delegation
Fix for https://code.google.com/p/dart/issues/detail?id=6270

BUG=
R=blois@google.com, jmesserly@google.com

Review URL: https://codereview.chromium.org//21607003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25969 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 17:37:32 +00:00
blois@google.com b76d72ca96 Fixing analyzer issue on AbstractWorker
Just removing the event, as it's in an odd state of not being an event target.

TBR
BUG=

Review URL: https://codereview.chromium.org//22277008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25958 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 01:32:44 +00:00
efortuna@google.com 83415ddfbb Rerun go.sh
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//22682004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25957 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 00:52:30 +00:00
vsm@google.com cd7a678e83 Use DartExceptionState
R=blois@google.com

Review URL: https://codereview.chromium.org//22605010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25953 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 22:56:57 +00:00
vsm@google.com f58ea07d46 EventTargets should be EventTargets
systemnative.py keys off the ext_attr.  Recent IDL changes removed the EventTarget attribute however.

Types marked with isEventTarget are handled specially during GC.

R=jacobr@google.com

Review URL: https://codereview.chromium.org//22507005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25947 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 21:18:13 +00:00
kustermann@google.com 0328d6686f test.py In case we don't have any TestCases, don't block
R=ricow@google.com

Review URL: https://codereview.chromium.org//22322007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25921 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 11:17:54 +00:00
fschneider@google.com bedc0fe042 Revert r25914 because of clang build error.
TBR=ricow@google.com

Review URL: https://codereview.chromium.org//22672002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25916 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 07:52:35 +00:00
fschneider@google.com 27ea45d8e1 Fix inconsistent equality with doubles and large integers on ia32.
For numbers a == b should be the same as b == a.  This is done by avoiding
generating 80-bit precision x87 FP code.

x64 and Mac OS already compile using SSE2.

BUG=https://code.google.com/p/dart/issues/detail?id=8829
TEST=tests/language/large_integer_equality_vm_test.dart
R=srdjan@google.com

Review URL: https://codereview.chromium.org//22370006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25914 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 07:42:59 +00:00
vsm@google.com 68b7394e53 Treat EventTarget as a secondary superclass
This matches the C++.  It's brittle, but it's not clear how to get
this out of idl right now.

R=blois@google.com

Review URL: https://codereview.chromium.org//22594012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25906 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 22:15:10 +00:00
ricow@google.com 4b509345a5 Fix exitcode handling from analyzer running in nobatch mode.
R=kustermann@google.com

Review URL: https://codereview.chromium.org//22574002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25871 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 12:28:54 +00:00
kustermann@google.com 5d2f423339 test.py: Fix in CommandQueue to make sure we finish up correctly if an intermediate command failed
R=ricow@google.com

Review URL: https://codereview.chromium.org//22326004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25870 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 12:20:35 +00:00
kustermann@google.com 70a1cbf5c9 test.py: Use different path to dartanalyzer on windows
R=ricow@google.com

Review URL: https://codereview.chromium.org//22303003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25869 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 11:12:33 +00:00
kustermann@google.com 84d4f0bebe test.py: Print command line when starting http servers in case of '--verbose'
R=ricow@google.com

Review URL: https://codereview.chromium.org//22532003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25862 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 08:52:26 +00:00
blois@google.com 2b37129071 Fixing polyfill for Element.createShadowRoot.
Chrome roll changed it from webkitCreateShadowRoot to createShadowRoot, polyfills need to be updated. This change should probably be reverted once everyone adapts to the new API.

TBR
BUG=

Review URL: https://codereview.chromium.org//22513002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25851 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 01:32:58 +00:00
blois@google.com 0094164ae8 Regenerating DOM types from IDL roll.
TBR=vsm
BUG=

Review URL: https://codereview.chromium.org//22352004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25849 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 00:57:08 +00:00
asiva@google.com abb3ca866b Do not generate calls to Dart_EnterScope/Dart_ExitScope around native
callbacks as an ApiLocalScope is auto created by the VM when making
external native calls.

R=vsm@google.com

Review URL: https://codereview.chromium.org//22392006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25846 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 23:57:50 +00:00
vsm@google.com 8d4d29153e Make Node.clone argument non-optional
TBR=blois@google.com

Review URL: https://codereview.chromium.org//22322003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25842 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 22:57:51 +00:00
efortuna@google.com 4881d36065 Fix texImage2D on Dartium.
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//22458005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25837 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 22:17:44 +00:00
vsm@google.com c5dd3d3ba7 MERGE: 152953-155080
TBR=jacobr@google.com,blois@google.com

Review URL: https://codereview.chromium.org//22357003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25832 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 21:17:56 +00:00
kustermann@google.com e720e82c97 Removed deprecated tools/version.dart,tools/release/version.dart scripts
R=ricow@google.com

Review URL: https://codereview.chromium.org//22396003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25812 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 13:08:49 +00:00
kustermann@google.com 315daf1d72 First CL for removing our dependency on the checked-in binary for building
R=ricow@google.com

Review URL: https://codereview.chromium.org//22393002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25809 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 10:52:57 +00:00
ricow@google.com 25041cc9f8 Add dependent commands at the front of the run queue to make the progress indicator more linear.
We currently add everything at the end of the queue, i.e., we will run all compilation comands before we run them on the browser/d8.

R=kustermann@google.com

Review URL: https://codereview.chromium.org//22387002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25808 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 08:34:25 +00:00
blois@google.com aea78f5a91 Fixing invalid code in docs for HttpRequest constructor.
BUG=11844
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22265003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25798 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 20:50:57 +00:00
blois@google.com 823767564d Adding HttpRequest method to make it easier to post form data.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22227003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25790 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 19:53:42 +00:00
kustermann@google.com 34c06045eb Do not rely on the exit code of browser to determine if the *command* was successful
R=ricow@google.com

Review URL: https://codereview.chromium.org//22174002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25764 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 10:30:04 +00:00
kustermann@google.com 8cecc4b627 Check if we're done after the dependency graph was sealed
R=ricow@google.com

Review URL: https://codereview.chromium.org//22160002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25763 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 09:17:12 +00:00
kustermann@google.com 92303dffda test.py: First step towards support of caching dart2js compilations across runtimes
This CL changes the way we run tests completely: When enqueueing TestCases we
build up a dependency graph of Commands. This has the advantage that if more
TestCases share common commands, we only execute it once.

R=ricow@google.com

Review URL: https://codereview.chromium.org//21001003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25760 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 07:54:17 +00:00
jacobr@google.com 0da2ef2fe9 Add method to html_dartium utils to check for NSM errors
BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//21676003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25741 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 20:06:58 +00:00
kustermann@google.com 196e5bf0a5 Add tools/compiler_scripts
R=ricow@google.com

Review URL: https://codereview.chromium.org//21769002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25729 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 08:40:59 +00:00
kustermann@google.com cb18d8ba87 Removed compiler/ directory from repository
R=ricow@google.com

Review URL: https://codereview.chromium.org//20722006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25728 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 08:31:15 +00:00
efortuna@google.com b10d8f0736 Add magnitude getter to Point.
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//21619004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25724 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 22:48:19 +00:00
asiva@google.com 7376bf6cf2 Alter the native code generator to directly use
Dart_SetBooleanReturnValue
 Dart_SetIntReturnValue
 Dart_SetDoubleReturnValue

instead of 
 Dart_Handle retval = toDart(...); // Calls Dart_Boolean, Dart_NewInteger,
                                   // Dart_Double.
 Dart_SetReturnValue(args, retval);

R=vsm@google.com

Review URL: https://codereview.chromium.org//21156011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25698 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 00:58:22 +00:00
blois@google.com 1311f1d755 Fixing WebGLLoseContext on Firefox.
BUG=11874
R=efortuna@google.com

Review URL: https://codereview.chromium.org//21287002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25697 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 00:35:25 +00:00
blois@google.com 651836e67b Fixing some SVG collections not working on Dartium.
Issue was that we were generating code calling native methods which were not present for these SVG collections.

BUG=11204
R=vsm@google.com

Review URL: https://codereview.chromium.org//21085008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25682 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-31 20:18:42 +00:00
jmesserly@google.com 761dbb63a6 remove bindModel, the same effect can be achieved through createInstance
partial port of https://github.com/Polymer/mdv/commit/86c0d3d8059eebbafab6d919cd805373951873ea

R=sigmund@google.com

Review URL: https://codereview.chromium.org//21093005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25658 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-31 02:51:50 +00:00
blois@google.com 59a514b316 Moving AngleInstancedArrays from dart:html to dart:web_gl.
It's a new type which for some reason was added to Canvas rather than with the rest of the WebGL stuff.

BUG=11357
R=efortuna@google.com

Review URL: https://codereview.chromium.org//21297002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25649 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 22:26:34 +00:00
efortuna@google.com 65145338e7 Allow "bulk editing" of the CssStyleDeclaration objects in an ElementList as
well.

BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//21182002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25623 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 16:55:23 +00:00
kustermann@google.com 76ce98c89b Disable javascript time limit on firefox
This is an attempt to disable the script time limit on firefox, since some tests
are timing out.

TBR=ricow@google.com

Review URL: https://codereview.chromium.org//21091002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25569 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-29 16:06:17 +00:00
efortuna@google.com 291c935e17 Fix Dromaeo performance tests.
BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//20847003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25544 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 23:30:57 +00:00
efortuna@google.com c75ffac982 Added shim for scrollX and scrollY for IE 9.
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//20385002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25529 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 18:09:13 +00:00
efortuna@google.com 913b32693d Regenerate dart_html after https://codereview.chromium.org/20174003/
BUG=

Review URL: https://codereview.chromium.org//20463002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25494 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 20:14:36 +00:00
jmesserly@google.com 1210e466cb [mdv] implement Node.createBinding and Node.createBindings
port of
https://github.com/Polymer/mdv/commit/95c4eca5a89ed3d04af1c6607a61f49d35d05ca6, https://github.com/Polymer/mdv/commit/3a0d2f302d474cd175d7fe49b278f928a019d053

BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//20149004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25485 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 18:01:02 +00:00
efortuna@google.com fbe134389b Added offset document measurement to Element.
BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//18060010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25483 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 17:45:39 +00:00
vsm@google.com 9f8be9f84a Fix Dartium test break
I had to revert this line - it's breaking a test on Dartium.

TBR=efortuna@google.com

Review URL: https://codereview.chromium.org//20174003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25460 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 01:50:42 +00:00