Commit Graph

6631 Commits

Author SHA1 Message Date
efortuna@google.com 951dca71cb Deprecate query and queryAll, also add back querySelector and querySelectorAll.
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28699 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:44:47 +00:00
blois@google.com 8e255ada0f Revert "Removing setImmediate and hiding WindowTimers interface"
This reverts commit 28690.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28696 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:16:59 +00:00
blois@google.com 303710040b Removing setImmediate and hiding WindowTimers interface
These timing APIs are all redundant with dart:async and those versions should be used instead.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28690 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 23:52:09 +00:00
blois@google.com 4c06ef7fb8 Dartium build issue w/ mutation observers
Last fix for mutation observers had a typo in Dartium (wish I could build both from the same enlistment!).

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28683 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 21:06:54 +00:00
blois@google.com ea5d14dd91 MutationObserver changes for zones (again)
Missed that the _wrap only takes one arg, added the two arg version. Unfortunately the tests for this are around upgrading and is really flaky (often passing on my machine).

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28680 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 20:39:14 +00:00
blois@google.com 4e01232e26 Fixing MutationObserver constructor from zones change
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28679 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 19:59:45 +00:00
blois@google.com 9baacafa7a Making all callbacks use zones (take 2)
Changes: fixed parameter ordering for RTCPeerConnection.getStats and fixed error for StorageInfo.

Revert "Revert "Making all callbacks use zones""

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28674 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 19:07:22 +00:00
kustermann@google.com cf50a507bb Fixed (currently harmless) bug in test_runner and implemented separate dart2js compilation cache
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28634 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 11:50:47 +00:00
ricow@google.com a37250df7e Rerun dartium tests until we fixed the flaky crashes in issue 14074
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28632 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 08:36:45 +00:00
kustermann@google.com f9349baca8 Change promote script to be able to archive to the new gs://dart-archive/ location
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28631 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 08:10:08 +00:00
sra@google.com c66099f078 Tighter native type annotations for some elements returning Lists
We need to be more careful with type annotations on native elements now that some classes implement List<dynamic>.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28626 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 01:45:17 +00:00
efortuna@google.com c40372622f Update docs so that responseText returns empty String on failure.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28625 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 01:00:47 +00:00
efortuna@google.com 035e04fb2d Making all base class DOM types throw as well (to prevent a default constructor for DOM types that are not constructable).
BUG=https://code.google.com/p/dart/issues/detail?id=11620
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28615 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 21:58:46 +00:00
blois@google.com e1d441b22f Revert "Making all callbacks use zones"
This reverts commit 28607, running into analyzer issues.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28609 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 20:23:11 +00:00
blois@google.com 84a3415e82 Making all callbacks use zones
This was primarily converting APIs to use Futures, all appear to be new ones since we did the last pass.

MutationObserver and Window.requestAnimationFrame had to be fixed manually.

BUG=
R=efortuna@google.com, floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28607 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 19:49:17 +00:00
blois@google.com 5a06040888 Dart changes for https://codereview.chromium.org/26571005/
Ensuring that custom elements have correct super classes.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28603 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 19:29:42 +00:00
blois@google.com f51dad91fd Untyping List types
Making all DOM lists implement List rather than List<T>. This is primarily for NodeList which is used in cases where it's just a list of Elements and allows us to assign it to List<Element> without type checks.

BUG=
R=sra@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28597 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 18:36:59 +00:00
kustermann@google.com ac57fdfe56 Added tools/signing_script.py, used to automate steps before and after the signing step
The signing itself is still a manual process, this script only automates the
steps before and after signing to minimize the manual work.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28585 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 16:10:53 +00:00
vsm@google.com df820e3756 Make get_archive work on debug bots
./tools/get_archive --debug should download a debug build.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28584 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 15:58:58 +00:00
blois@google.com 0ae3c96faf Removing explicit custom element upgrade for Dartium
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28556 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 21:13:56 +00:00
floitsch@google.com 8882916b21 Update dom streams with new signatures.
Review URL: https://codereview.chromium.org//27036002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28517 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 14:44:52 +00:00
ricow@google.com 531333d1de Give better error messages for users when trying to run the 64 bit editor on a 32 bit JVM
This basically changes a huge stack trace on stdout to:
Error: This Java instance does not support a 64-bit JVM.
Please install the desired version.

R=danrubel@google.com, devoncarew@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28512 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 12:19:52 +00:00
kustermann@google.com e6077d093a Remove pixel/layout tests in tests/utils + special casing in the testing scripts for pixel/layout tests
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28502 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 10:29:46 +00:00
kustermann@google.com b24a73c137 Remove unittest-based wrapping from our testing scripts
The unittest-based wrapping of tests is completely broken and will be removed
with this CL. ('none-drt' is the last configuration where we currently still do
unittest-based wrapping.)

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28501 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 09:01:17 +00:00
efortuna@google.com ef9419dc95 Convert keys in dataSet to camelCase instead of dasherized.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28482 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 21:42:13 +00:00
blois@google.com c2f5471669 Removing Element.createdCallback
This was a placeholder for before dart2js converted to the constructor, can now be removed.

BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28465 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 16:59:19 +00:00
ricow@google.com 3a89ab918a Add support for catching rendere crashes in drt
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28443 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 09:30:54 +00:00
efortuna@google.com 95c3be5481 Made index_db Cursor.next behavior consistent between JS and vm.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28431 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 23:45:59 +00:00
efortuna@google.com a8f1004971 Add "matchingTarget" function to Event, which is the Element that matched the CSS value selector.
Bug fix for https://code.google.com/p/dart/issues/detail?id=12931

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28430 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 23:43:20 +00:00
iposva@google.com d451b1980e - Roll gyp dependency forward to latest revision.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28429 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 23:13:01 +00:00
efortuna@google.com 4a96ec62b6 Dartium KeyEvent fix.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28377 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 20:31:22 +00:00
efortuna@google.com 67a56ef1f2 Fix KeyEvent (factory) constructor in Dartium.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28376 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 19:43:14 +00:00
rnystrom@google.com 8fc18e145d Ignore ".DS_Store" and other unexpected files in coverage directory.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28375 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 19:31:47 +00:00
efortuna@google.com 79d6ca8285 Reapply KeyEvent improvements.
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28370 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 18:10:24 +00:00
blois@google.com 108dec86bd Fixing Node.clone not returning upgraded custom elements.
This was an issue for Polymer as the templates are cloned with shallow clones.

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28363 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 16:02:49 +00:00
iposva@google.com 6a33d0e379 - Simplify command line.
Review URL: https://codereview.chromium.org//26435002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28357 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 04:44:06 +00:00
asiva@google.com 33b96c8696 Pass in domData as a parameter to unwrapDartWrapper.
R=rmacnak@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28353 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 03:25:48 +00:00
iposva@google.com 8a6f22ffd4 - Fix usability of coverage tool.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28328 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 22:07:53 +00:00
efortuna@google.com 9c5078b378 "Reverting 28321"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28323 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 20:11:16 +00:00
efortuna@google.com c5fe58c61c Fully polyfill KeyEvent so that you can programmatically create your own "keyboard" events.
Added some test cases as well.

BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28321 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 19:40:17 +00:00
efortuna@google.com a131ab528c Add scrollIntoViewIfNeeded on Dartium.
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28310 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 16:34:30 +00:00
lrn@google.com e3713a08d4 Make List.shuffle take an optional Random object to use.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28305 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 12:07:30 +00:00
sra@google.com 4a7f956118 Call .created constructor on dart2js custom elements
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28294 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-05 00:55:23 +00:00
efortuna@google.com eaa854b258 Move Rectangle and Point into dart:math.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28272 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:47:39 +00:00
jacobr@google.com a58c78b821 Support defining console variables with var consoleVar = someValue syntax
rename $var to $consoleVariables

move detection of JS console logic to .dart code from .js code
See https://codereview.chromium.org/24989007/ for the matching Blink change.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28243 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 20:40:14 +00:00
hausner@google.com e4a1692469 Fix Microtask.dart
Change illegal const instance field into final field. Fix dartium build.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28239 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 19:52:52 +00:00
asiva@google.com 19a260904e Generate a library ID instead of a library name, so that the ID can be used
to get the library handles from the cache (avoids having to lookup everytime)

R=rmacnak@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28226 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 16:21:17 +00:00
kustermann@google.com c9ba1fcbe4 test.py: Propagate the global --dartium option to the browser controller
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28222 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 14:55:09 +00:00
kustermann@google.com b366346004 Disable re-running of ContentShell commands on windows
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28208 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 11:22:23 +00:00
lrn@google.com 55a8a72ca6 Add List.shuffle().
Will add tests too.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28206 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 11:09:01 +00:00