Commit Graph

729 Commits

Author SHA1 Message Date
nweiz@google.com 5ff2269189 Move the individual property definitions from client/base/Css to CSSStyleDeclaration.
Review URL: http://codereview.chromium.org//8360025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@651 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 20:44:30 +00:00
antonm@google.com 24860e5798 Disable implict import of dart:dom.
Review URL: http://codereview.chromium.org//8371010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@632 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 15:06:59 +00:00
antonm@google.com e7eafa9e35 Temporary suppress tests.
Review URL: http://codereview.chromium.org//8374008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@615 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 19:59:43 +00:00
knorton@google.com 88284a224f Add checked mode option to CompileService.
Review URL: http://codereview.chromium.org/8361026/

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@608 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 17:49:47 +00:00
nweiz@google.com c1ca81a9e4 Make DocumentFragment implement Element.
Review URL: http://codereview.chromium.org//8355019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@587 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 19:55:58 +00:00
antonm@google.com 1342107b1a Do not mark test as successful in callbackDone if test is
still running.
Review URL: http://codereview.chromium.org//8344084

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@584 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 16:58:59 +00:00
antonm@google.com c7f5c5e073 Allow callbackDone while test is executed by runTest.
Review URL: http://codereview.chromium.org//8354006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@567 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-19 19:05:55 +00:00
nweiz@google.com 260693a55e Rename cloneNode to clone and move it into the Node interface.
Review URL: http://codereview.chromium.org//8330003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@563 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-19 18:03:24 +00:00
antonm@google.com a9b27ee662 Introducing common DOM sources.
As currently we cannot properly bundle libs, just produce two files: dom.dart for common parts in
dart:dom and domimpl.dart for dart:domimpl.

Review URL: https://chromereviews.googleplex.com/3573024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@551 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-19 13:26:41 +00:00
rnystrom@google.com c12aed2171 Refactor Total tests to not use UnitTestSuite.
Review URL: http://codereview.chromium.org//8347024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@545 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-19 01:14:49 +00:00
rnystrom@google.com 32736341bb Clean up swarm tests to new API.
Review URL: http://codereview.chromium.org//8345023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@541 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 23:15:58 +00:00
rnystrom@google.com 8543310c81 Clean up observable tests to new API.
Review URL: http://codereview.chromium.org//8348016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@539 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 22:24:12 +00:00
sra@google.com 6ae8d1a4a7 Remove createXMLHttpRequest and other 'factory' constructors.
These are now available with 'new' syntax (i.e. from genuine factory
constructors.)

BUG=5464478
TEST=

Review URL: http://codereview.chromium.org//8344019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@537 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 21:46:37 +00:00
rnystrom@google.com da8b9a6766 Clean up UnitTestSuite a bit.
Review URL: http://codereview.chromium.org//8343009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@532 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 21:07:54 +00:00
rnystrom@google.com 487c4f689d Get touch tests working at all, and with new API.
Review URL: http://codereview.chromium.org//8341003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@529 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 21:03:14 +00:00
rnystrom@google.com e10d67a9bd Move layout tests to new API.
Review URL: http://codereview.chromium.org//8337004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@522 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 18:44:41 +00:00
antonm@google.com 27823d8ac2 Add a support for layout tests.
Review URL: http://codereview.chromium.org//8337020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@514 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 17:27:46 +00:00
rnystrom@google.com 44170deb77 Clean up util tests to use new style.
Review URL: http://codereview.chromium.org//8337002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@502 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 00:37:01 +00:00
rnystrom@google.com 97d0ea9c71 Move test(), group(), and expect() to top level.
Instead of being methods on UnitTestSuite, they will automatically create
one if there isn't already one, then run it. This lets you define tests just
like:

main() {
  test('not crazy', () {
    expect(sky) == blue;
  });
}

Review URL: http://codereview.chromium.org//8302012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@490 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 23:02:29 +00:00
terry@google.com 770a1c9d60 Remove the --disable-type-optimizations when --optimize is used.
BUG=
TEST=

Review URL: http://codereview.chromium.org//8316015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@482 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 20:10:00 +00:00
floitsch@google.com 1eade445f6 Update status file with bug-number.
Review URL: http://codereview.chromium.org//8317013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@476 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 18:28:22 +00:00
floitsch@google.com 3282ad880d Skip layout_tests until I have figured out what is wrong.
TBR=ahe

R=ahe@google.com

Review URL: http://codereview.chromium.org//8319006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@474 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 17:32:23 +00:00
knorton@google.com 0b647b51c0 Convert cache property from array to object.
This fixes hangs on Safari where it attempts to stringify the array.
Review URL: http://codereview.chromium.org/8301007/

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@463 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-15 01:32:09 +00:00
rnystrom@google.com 18640b3396 Get rid of "==" in Expectation.
Review URL: http://codereview.chromium.org//8297009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@462 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 23:21:44 +00:00
pdr@google.com b8397762e1 IE9 dom fixes: Add check for __proto__ before using it and add some name workarounds.
Review URL: http://codereview.chromium.org//8277016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@452 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 20:25:00 +00:00
terry@google.com 40310a05ad Support layout metrics in CSS.
- Needed a little more CSS grammar:
       - repeat syntax
       - #elemId regEx was wrong at least 1 character not 2.
  - Changed emitted Dart code for stylets.
  - Changed layout sample code to use CSS stylets.

BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3574027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@447 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 17:54:07 +00:00
codefu@google.com 92e3b133c1 Missing unitCompiled()
TBR

Review URL: http://codereview.chromium.org//8295001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@443 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 15:54:17 +00:00
fmalita@google.com a7cc9bcb49 Fling: implement the new DartCompilerListener.unitCompiled() method.
R=knorton@google.com,codefu@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8275036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@441 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 14:48:10 +00:00
fmalita@google.com 7531d9ebb6 Libraries cannot source themselves anymore.
After https://code.google.com/p/dart/source/detail?r=383, LibraryFromSources fails the library self-include check.

R=knorton@google.com,pdr@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8284001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@405 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 18:11:58 +00:00
vsm@google.com 50ae8ae116 Repackage html lib.
This is just regen:
- cd .../client/html
- rm -rf release
- ../tools/copy_dart.py release html.dart

Review URL: http://codereview.chromium.org//8234030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@370 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-12 18:10:51 +00:00
vsm@google.com 154c3ea42e Added DOM MessagePort support.
Review URL: http://codereview.chromium.org//8216018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@329 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 13:32:19 +00:00
arv@google.com a89740adaa Dart DOM: Fix some TODOs in Element and Node.
BUG=None
TEST=None

Review URL: https://chromereviews.googleplex.com/3560012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@304 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-10 17:39:34 +00:00
dgrove@google.com cab9ea690f 1. fix broken htmlconverter.py
2. add back js as target for htmlconverter.py
Review URL: https://chromereviews.googleplex.com/3568018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@273 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-08 07:37:52 +00:00
eub@google.com 7fb89bc64e Add --verbose and --dartc_extra_flags flags to update.py.
Review URL: https://chromereviews.googleplex.com/3577021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@269 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-08 00:12:06 +00:00
jacobr@google.com 9192c5ec37 Modify client.status as swarm tests now pass.
BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3577022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@268 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-08 00:02:34 +00:00
jacobr@google.com ddaacbe83b checkpoint
BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3556012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@265 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 23:29:39 +00:00
sigmund@google.com 4505632927 build bot: fixing pattern so that version of dartium + vm shows correctly in waterfall.
Review URL: https://chromereviews.googleplex.com/3572016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@262 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 21:26:59 +00:00
sigmund@google.com 755cd7ec8b htmlconverter.py: allow .html + .htm file extensions, disallow all others.
Review URL: https://chromereviews.googleplex.com/3567016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@261 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 21:17:04 +00:00
codefu@google.com 015f74d3c1 dart:html, woohoo!
Review URL: https://chromereviews.googleplex.com/3577020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@259 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 20:45:19 +00:00
sigmund@google.com 05b0b0ba29 get_drt + client bots: fix google-storage source location for archives
Review URL: https://chromereviews.googleplex.com/3583012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@248 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 18:27:18 +00:00
ngeoffray@google.com 57ef47426c Add #library directives to make browser testing happy.
Review URL: https://chromereviews.googleplex.com/3574016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@222 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:28:18 +00:00
ngeoffray@google.com 8b8b4844fa Add default arguments for regexp flags.
Review URL: https://chromereviews.googleplex.com/3558016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@213 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 12:47:56 +00:00
ngeoffray@google.com 0e61a2bbb3 And one other use of substringToEnd...
Review URL: https://chromereviews.googleplex.com/3572014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@211 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 11:30:52 +00:00
ngeoffray@google.com c2b5e488da Remove substringToEnd.
Review URL: https://chromereviews.googleplex.com/3561013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@201 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:41:38 +00:00
ngeoffray@google.com cb3a9f6641 Add range methods to List. Throw not implemented for now.
Review URL: https://chromereviews.googleplex.com/3573012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@198 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:56:42 +00:00
kasperl@google.com c9f9ba04f2 Stop using the old syntax for default argument values in more places.
The code in client/html/generated/ will be regenerated shortly
but for now I want to get to a point where we can remove the
support for the old syntax.

TBR'ed.

R=ngeoffray@google.com
BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3564013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@193 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 05:46:15 +00:00
vsm@google.com 0369e68509 Fix stale config. Test is now passing.
TBR=mmendez

Review URL: https://chromereviews.googleplex.com/3569012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@191 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 04:56:13 +00:00
vsm@google.com 71197ca222 Package html lib into single (2 for now) files
To generate:
(1) cd into client/html
(2) run: ../tools/copy_dart.py release html.dart

Review URL: https://chromereviews.googleplex.com/3565013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@190 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 02:55:41 +00:00
sigmund@google.com 338a9b507a htmlconverter: fixing the use of optimized output.
Review URL: https://chromereviews.googleplex.com/3532021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@178 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:26:48 +00:00
jmesserly@google.com 50e675ca46 Fix for Swarm on iPad from static file server.
Also add parallel downloading to our offline image script.

Review URL: https://chromereviews.googleplex.com/3558012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@176 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:15:18 +00:00