Commit Graph

79322 Commits

Author SHA1 Message Date
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
cshapiro@google.com b652a312c1 Rename the VM internal class ByteArray to ByteVector.
Review URL: http://codereview.chromium.org//9139080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3274 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 01:39:23 +00:00
cshapiro@google.com 917bbbfc39 Provide API support for weak handles and post-mortem finalization.
In addition, this change separates the storage of weak persistent
handles from ordinary persistent handles.  An ordinary persistent
handle now stores no other data than the raw pointer value.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3273 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 01:23:42 +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
asiva@google.com ae72c22830 Create temporary handles in the snapshot object during initialization and use them instead of creating temporary handles in each deserialization function.
Review URL: http://codereview.chromium.org//9166012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3271 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 00:38:19 +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
terry@google.com 007ac937e0 Fixed collision with interface Comment in html and Comment in the CSS tree.
Updated UI test gadget for CSS.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3263 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 22:17:33 +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
zundel@google.com dc680dc973 Turn on fatal warnings for compiler tests in the 'dartc' tests again
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3260 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:59:21 +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
jimhug@google.com 28c673ef01 fix issue 1110 (handle void better)
Review URL: http://codereview.chromium.org//9188048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3254 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:11:09 +00:00
zundel@google.com 577a54160c Fix dartc build break by temporarily removing --fatal-* flags from test_suite.dart
Review URL: http://codereview.chromium.org//9190056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3252 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 20:38:49 +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
asiva@google.com d6ccf8d32a Fix failure
../runtime/vm/object.cc:7149: error: unimplemented code
  Abort
in standalone tests when run with 64bit dart.

The ioctl function when used with FIONREAD was being passed a 64 bit
argument which is incorrect.

Documentation on ioctl:
FIONREAD
The FIONREAD ioctl returns the number of data bytes (in all data
messages queued) in the location pointed to by the arg parameter. The
ioctl returns a 32-bit quantity for both 32-bit and 64-bit
application., Therefore, code that passes the address of a long
variable needs to be changed to pass an int variable for 64–bit
applications.
Review URL: http://codereview.chromium.org//9194002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3250 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 19:32:06 +00:00
jimhug@google.com d2355eac57 fix language.status
This was broken in cl3234 as the result of a bad git merge on my part.  This should fix the build issues on the frogium firefox bot.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3244 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 17:10:27 +00:00
whesse@google.com 619fb7badd Use test.py instead of test.dart on Windows and MacOS platforms for vm tests.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3243 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 16:58:14 +00:00
whesse@google.com 44e292a27d Add warning messages to test.dart to help debug vm tests on Windows.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3242 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 16:16:22 +00:00
scheglov@google.com c5e02bcc0d Issue 1140: Tweak relative path for shadowing problems.
http://code.google.com/p/dart/issues/detail?id=1140

This is only tweak for using dart:// protocol where appropriate.
Specify or not location of shadowed element is debatable question.

R=codefu@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3241 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 16:14:34 +00:00
jimhug@google.com 0f72237277 fix pseudo keyword test failues
Review URL: http://codereview.chromium.org//9139062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3240 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 16:10:31 +00:00
codefu@google.com a5438ac96e Issue 985: Default class without constructor does not cause a compile-time error
http://code.google.com/p/dart/issues/detail?id=985

R=mmendez,zundel
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3239 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 16:06:38 +00:00
whesse@google.com 517b6a3793 Let test.dart's compact progress indicator be overwritten by the summary report.
BUG=dart:1125
TEST=tools/test.dart --report

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3238 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:48:25 +00:00
whesse@google.com 083f882a04 Allow test.dart dartc/junit_tests to be run from the compiler subdirectory.
BUG=
TEST=cd compiler; ../tools/build.py dartc; ../tools/test.dart -cdartc dartc/junit_tests

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3237 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:45:54 +00:00
whesse@google.com dfcaf76c50 Make test_wrapper.py and test_compiler.dart that will work for a deps.compiler checkout.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3236 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:45:10 +00:00
jimhug@google.com 81ad600703 fixed
more fails

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3235 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:14:29 +00:00
jimhug@google.com c2564f534d fix issue 356 by making test match spec
Review URL: http://codereview.chromium.org//9147006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3234 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:01:26 +00:00
ahe@google.com a39d7138e3 Move UTF-8 decoder to utils.
Review URL: http://codereview.chromium.org//9185046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3231 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 11:27:14 +00:00
lrn@google.com c2f0cef15f Allow for-in to use a previously declared identifier as variable.
Review URL: http://codereview.chromium.org//9139014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3229 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 07:56:13 +00:00
sgjesse@google.com bf47631716 Add .gitignore file to never ignore the runtime/bin directory
R=whesse@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3228 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 07:42:13 +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
sra@google.com 2a50ae43bf Add map() method to List subtype in test.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3225 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 02:09:08 +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
jimhug@google.com fd09f522c5 fix Library*NegativeTests (and a couple Prefix ones by accident)
In general, this change felt fine to make in frog; however, it felt REALLY ugly to make the required fixes to the dartdoc tests.  I suppose this just raises the priority of our packaging and library story.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3222 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:20:23 +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
turnidge@google.com 5807b0add0 Standardize error printing a bit by moving it to the Error object and
descendants.
Review URL: http://codereview.chromium.org//9148048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3219 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:01:46 +00:00
nweiz@google.com 70bbde3ead Add the ability to link to members and constructors of other classes in Dartdoc.
The syntax is [Class.member] and [new Class], respectively.
[new Class.namedConstructor] also works.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3217 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 00:21:27 +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 090a413004 test.dart: a small fix to handle flakyness with DumpRenderTree and xvfb
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3210 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:57:55 +00:00
rnystrom@google.com d2ad818cf0 Disable dartdoc tests on chromium.
Review URL: http://codereview.chromium.org//9190020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3209 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:56:18 +00:00
rnystrom@google.com 5bf318ec21 Hook up the dartdoc tests to test.py, test.dart, and frog/presubmit.py.
Review URL: http://codereview.chromium.org//9147058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3207 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:29:13 +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
jimhug@google.com 3130910ae0 Updates language.status to reflect the invalid status of issue #354. Also adds comments to the test cases to help clarify their intended behavior for future readers.
Review URL: http://codereview.chromium.org//9139020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3202 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 19:37:00 +00:00