Commit Graph

24 Commits

Author SHA1 Message Date
blois@google.com 8123bf9175 Fixing node.nodes.addAll to accept node lists.
Had two options- change the iterators or do a defensive copy. I believe this is a fairly performance-critical area, so tried to optimize for that.

BUG=6684

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18545 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 22:07:05 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
blois@google.com 5690418a11 Fixing a bunch of dartc errors in dart:html tests.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16413 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 01:38:08 +00:00
blois@google.com 759bece562 Dartifying SVG library class names.
This CL is based on my previous CL to split out the SVG library.

Basically it renames most classes, but because of some name conflicts around Element and Document, I've skipped those. Renaming those classes will require some sizable changes to the generation code to emit library prefixes when referencing types across libs.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15107 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 20:38:13 +00:00
blois@google.com ed44b9285d Splitting SVG types out of dart:html.
Beyond this CL I need to remove the SVG prefix for most of the classes, but this is an additional chunk of work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14808 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 21:15:06 +00:00
efortuna@google.com 4a23980c8a Take 2 of splitting html tests into subtests. Had to make two changes to drt to
fully work.
Review URL: https://codereview.chromium.org//11368128

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14703 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 18:54:14 +00:00
efortuna@google.com 868b439bc4 Revert run large html tests individually.
Review URL: https://codereview.chromium.org//11406002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14667 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 00:11:09 +00:00
efortuna@google.com 3476d1c528 Run large html tests individually.
Review URL: https://codereview.chromium.org//11293019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14663 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:42:50 +00:00
gram@google.com 981c4b11df Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
gram@google.com f7d27f2c64 Modified unittest to use new argument syntax.
Fix affected unit tests.
Clean up unit tests that are using Expect instead of expect.
Get rid of warnings about duplicated library names.
Review URL: https://codereview.chromium.org//11275054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14158 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 22:52:03 +00:00
floitsch@google.com 3300f91153 Make first and last getters.
Review URL: https://codereview.chromium.org//11273041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14082 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 15:19:31 +00:00
floitsch@google.com 09f6d09d88 Make isEmpty a getter.
Review URL: https://codereview.chromium.org//11238035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14022 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 15:04:32 +00:00
antonm@google.com e52d6a4077 Modify and enable formerly disabled test.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13747 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 17:20:39 +00:00
blois@google.com f36360ec8b Converting NodeList to List<Node>.
This keeps the NodeList class because other classes depend on it (notably RadioNodeList), but converts all APIs over to List<Node>.

BUG=2712

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13188 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 17:47:48 +00:00
blois@google.com 1919b5a3ad Removing ElementList.
This includes fixes to make it work properly on Dartium checked (_ChildrenElementList.filter and _FrozenElementList.filter no longer use typed lists).

BUG=2712

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13133 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 19:51:08 +00:00
blois@google.com c6c2918caf Revert "Removing ElementList (splitting out removing NodeList into a separate CL)."
This reverts commit 13076 because of issues with queryAll in checked mode.

TBR=vsm
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13083 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 19:03:57 +00:00
blois@google.com 2d71772ff0 Removing ElementList (splitting out removing NodeList into a separate CL).
BUG=2712

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13076 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 17:52:52 +00:00
antonm@google.com f527595489 Roll Chrome forward.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12833 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 10:18:16 +00:00
efortuna@google.com 9163dfe93c revert 1204. Will investigate when I get a chance.
TBR=rnystrom
Review URL: https://codereview.chromium.org//10928216

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12413 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-15 01:21:41 +00:00
rnystrom@google.com 383488ec4f Update unittest to new package layout.
Review URL: https://codereview.chromium.org//10917275

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12404 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 21:12:17 +00:00
rnystrom@google.com 659a57df3e Revert "Make unittest follow the new package layout."
This reverts commit 38f7d16f373832a7bf889192af7845cb602aec01.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12400 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 19:43:10 +00:00
rnystrom@google.com 2ba81033a6 Make unittest follow the new package layout.
Review URL: https://codereview.chromium.org//10918240

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12396 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 18:22:24 +00:00
dgrove@google.com c265902bea Move unittest from lib to pkg.
Review URL: https://chromiumcodereview.appspot.com//10836241

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10685 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 22:36:59 +00:00
sigmund@google.com daef678742 test renaming overhaul: step 4 client tests
Review URL: https://chromiumcodereview.appspot.com//10191033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7041 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 20:09:35 +00:00