nweiz@google.com
3f854d42d8
Don't use _toList on FrozenElementList.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//9283003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3518 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 22:27:28 +00:00
sigmund@google.com
036f2cdbd3
Revert "Make changes to test.dart and frogsh for Windows."
...
Review URL: https://chromiumcodereview.appspot.com//9193021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3510 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 19:59:06 +00:00
nweiz@google.com
984852f222
Make NodeList methods return NodeLists rather than List<Node>.
...
Review URL: https://chromiumcodereview.appspot.com//9271019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3508 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 19:32:22 +00:00
efortuna@google.com
9bd7f7722f
Make changes to test.dart and frogsh for Windows.
...
This should enable frogsh to build correctly and function properly on Windows.
test.dart is waiting on a fix in the VM before it will be fully ready.
Review URL: https://chromiumcodereview.appspot.com//9233015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3506 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 19:09:32 +00:00
jimhug@google.com
6f9aa02d6e
Lots of frog cleanup
...
Review URL: https://chromiumcodereview.appspot.com//9270048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3504 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 18:17:50 +00:00
vsm@google.com
331a3ad401
New dart.js bootstrap script for apps
...
The primary new add is the dart.js script. All sample html files now point to it, and were tested with Dartium, Chrome, and FireFox.
I've checked in compiled JS so the samples 'just work'. They were compiled via frog:
frog/minfrog --compile-only --out=client/samples/sunflower/Sunflower.dart.js client/samples/sunflower/Sunflower.dart
If you guys prefer, I can take these out.
Review URL: https://chromiumcodereview.appspot.com//9226025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3480 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-22 23:34:35 +00:00
jimhug@google.com
42c584b7c4
Revert "Example showing alternate async measurement solution"
...
This reverts r3473 which was causing several buildbots to go red due to
breaks in swarm tests.
The issue appears to be minor - but the buildbots have been red for too long.
Review URL: https://chromiumcodereview.appspot.com//9145004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3474 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-21 13:53:40 +00:00
jacobr@google.com
c463460ff5
Example showing alternate async measurement solution
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9148015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3473 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-21 03:01:15 +00:00
nweiz@google.com
1d99d1b265
Fix the dartc tests, which were broken by r3464.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//9226028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3467 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-20 21:36:56 +00:00
sra@google.com
9c03c69434
Explicit getters and setters will allow for custom implementations and are needed for interfaces to be added.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9221006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3465 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-20 21:15:39 +00:00
nweiz@google.com
54277fd459
Fix up and test FrozenElementList.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//9270022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3464 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-20 21:07:41 +00:00
podivilov@google.com
06369ff05a
Several fixes needed to reuse JS DOM interfaces in dartium.
...
- make generator output dir configurable
- templates dir should be relative to dartdomgenerator.py rather then current directory
- "operator" is keyword and could not be an attribute name
R=sra@google.com ,vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//9231021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3454 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-20 11:14:58 +00:00
whesse@google.com
2367d814d1
Fix error in tests/standalone/FileTest.dart, where files were not closed.
...
Review URL: https://chromiumcodereview.appspot.com//9249018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3402 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 17:35:31 +00:00
efortuna@google.com
4ecc520173
Make changes for Safari to run with webdriver on the bots.
...
Review URL: https://chromiumcodereview.appspot.com//9252002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3382 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 02:22:10 +00:00
nweiz@google.com
0332f4b776
Register Document events on Document, not HTMLDocument.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//9246005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3379 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-17 23:58:27 +00:00
nweiz@google.com
d39197abc6
Add tests for Element#elements.
...
This also factors out some of the range functions in NodeList and adds them to
_Lists. _Lists was then renamed to Lists so it could be accessed from the
testing code.
This was originally submitted as r3320. That was rolled back due to errors in
the dartium bot, but the logs are unavailable and local tests seem to pass so
we're rolling forward again.
TBR
Review URL: https://chromiumcodereview.appspot.com//9178030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3374 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-17 22:34:16 +00:00
nweiz@google.com
14f8c8a82f
CSSStyleDeclaration#cssText should take a string.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//9243023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3369 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-17 21:46:56 +00:00
sra@google.com
ad4ca7fc52
Webkit refresh.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9242002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3345 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-17 03:33:53 +00:00
sgjesse@google.com
dde717489a
Undo accidental changed in r3337
...
TBR=ager@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9183004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3338 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-16 13:29:27 +00:00
sgjesse@google.com
65896148c9
Move utils.h and utils.cc from runtime/vm to runtime/platform
...
Moved additional parts of globals.h from vm/ to platform/ to support
types and constants used by utils.*.
R=ager@google.com , iposva@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9209001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3337 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-16 13:23:40 +00:00
sra@google.com
8539d4bc13
Revert "Add tests for Element#elements."
...
This reverts commit 19f61e67a8543fc73e8a66bf45e6f4e25e5e0655.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9210006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3325 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-14 08:30:46 +00:00
nweiz@google.com
8d027766cc
Allow non-string values to be passed to setProperty and other CSS properties.
...
Fixed issue 825.
TBR
Review URL: http://codereview.chromium.org//9211018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3321 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-14 02:02:39 +00:00
nweiz@google.com
e3171e5d18
Add tests for Element#elements.
...
This also factors out some of the range functions in NodeList and adds them to
_Lists. _Lists was then renamed to Lists so it could be accessed from the
testing code.
TBR
Review URL: http://codereview.chromium.org//9207020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3320 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-14 01:47:43 +00:00
efortuna@google.com
9fa0180cc1
Get Firefox and IE working again with Object.defineProperty!
...
Review URL: http://codereview.chromium.org//9214005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3312 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 22:28:50 +00:00
nweiz@google.com
d70df93d96
Support various range methods on NodeList.
...
Fix issue 1077.
Review URL: http://codereview.chromium.org//9199002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3309 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 20:53:36 +00:00
vsm@google.com
d7697e4281
Set htmlconverter to executable
...
This makes it consistent with copy_dart and other scripts.
Review URL: http://codereview.chromium.org//9211009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3304 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 19:39:04 +00:00
sra@google.com
140a916227
Undo manual edit to avoid shadowing warning
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9123026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3276 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 02:30:32 +00:00
sra@google.com
83663d98f4
Remove dead code.
...
Left over from refactoring and removing monkey-dom.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9187082
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3275 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 01:50:00 +00:00
sra@google.com
84b1fafc02
Make wrapping system use interfaces, not other way round.
...
This should allow the interfaces to be used in multiple systems.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9188062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3272 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 00:58:11 +00:00
nweiz@google.com
f09049681d
Add some tests for Node#nodes.
...
TBR
Review URL: http://codereview.chromium.org//9139078
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3269 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 23:47:12 +00:00
sra@google.com
4fa2600a77
Move templates to their own directory structure.
...
Templates are now looked up on a set of paths in the 'templates' directory.
This should be versatile enough to have separate templates for dom and
html and have some shared templates too.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9197015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3268 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 23:45:47 +00:00
devoncarew@google.com
3ff5556b66
TBR fix for an unresolved reference in the dartc build
...
Review URL: http://codereview.chromium.org//9188050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3261 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:59:25 +00:00
devoncarew@google.com
078ba6bb0b
TBR comment out two json tests to fix the dartium build
...
Review URL: http://codereview.chromium.org//9139075
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3259 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:51:57 +00:00
nweiz@google.com
87af1007cf
Regenerate release/htmlimpl.
...
TBR
Review URL: http://codereview.chromium.org//9107050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3257 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:33:26 +00:00
devoncarew@google.com
6be1480eb1
Fix to the JsonStringifier in dart_json.dart to escape eols. The error messages that frog sends to the editor can contains eols, which is causing issues ( http://code.google.com/p/dart/issues/detail?id=1064 ).
...
Review URL: http://codereview.chromium.org//9181003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3256 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:28:38 +00:00
nweiz@google.com
1ec79ff3ca
Fix a dumb typo in SVGElementWrappingImplementation.
...
TBR
Review URL: http://codereview.chromium.org//9190060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3255 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:17:17 +00:00
nweiz@google.com
c6c9f5c665
Fix SVGElement#classes.
...
TBR
Review URL: http://codereview.chromium.org//9107047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3251 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 20:00:17 +00:00
jmesserly@google.com
9c47da0912
fix duplicate definition error on bots
...
Review URL: http://codereview.chromium.org//9187044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3226 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 02:09:24 +00:00
gbracha@google.com
d3bcc88674
Added method map to Collection interface and all its implementations (except classes generated from IDL for the DOM).
...
Review URL: http://codereview.chromium.org//9114021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3223 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:25:01 +00:00
nweiz@google.com
f6c51d1567
Fix various warnings and errors in html_diff and its annotations.
...
TBR
Review URL: http://codereview.chromium.org//9110046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3221 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:17:52 +00:00
sra@google.com
aba1371432
Suppress compiling dom/dom.dart in tests.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9186029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3220 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:03:39 +00:00
sra@google.com
1e27f4b30f
WebKit refresh
...
More XXXEvent.initXXXEvent methods have been removed.
WebKitFlags has been removed, but not all references.
Generator renames WebKitFlags to Object.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9167039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3214 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 23:16:09 +00:00
efortuna@google.com
1748f8213f
Make browser "sometest" like a regular test run by test.dart/py instead of
...
create_graph.py
Review URL: http://codereview.chromium.org//9139031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3213 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 22:59:38 +00:00
sigmund@google.com
0a004b7b5d
client.status: skip touch_tests (inconsistent behaviour in chrome and drt)
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9148041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3211 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 22:27:14 +00:00
sigmund@google.com
8139db7ae4
bots: include webdriver tests in bots.
...
Review URL: http://codereview.chromium.org//9188012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3206 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 20:48:33 +00:00
vsm@google.com
661cf67d42
Frog DOM changes to support OLS on Storage objects
...
Review URL: http://codereview.chromium.org//9138007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3204 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 20:38:47 +00:00
rnystrom@google.com
9d8b6768d2
Make client tests return non-zero exit code on failure.
...
Review URL: http://codereview.chromium.org//9168031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3203 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 19:54:48 +00:00
zundel@google.com
0b9d798568
Update fling library for changes to DartCompilerListener
...
http://code.google.com/p/dart/issues/detail?id=1106
Review URL: http://codereview.chromium.org//9186008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3194 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 17:42:33 +00:00
sra@google.com
a7d44f5e83
Manually reapply changes to get around stupid shadowing warning.
...
We really need a way to turn off specific warnings. In this case, a
parameter shadows a method. The code is automatically generated so
hard to change, and the names chosen are really the nicest ones for
the editor experience.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9114060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3176 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 02:06:27 +00:00
sra@google.com
a9a485ca7f
Suppress warning checks on wrapping_dom.dart
...
Second try
BUG=
TEST=
Review URL: http://codereview.chromium.org//9114059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3175 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 01:52:30 +00:00