Commit Graph

729 Commits

Author SHA1 Message Date
antonm@google.com c3734e54f4 Restore common dom files.
Review URL: https://chromiumcodereview.appspot.com//9320041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3859 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:45:25 +00:00
podivilov@google.com 257bad96f0 Add support for native bindings generation to dartgenerator.py.
R=antonm@google.com,sra@google.com,vsm@google.com

Review URL: https://chromiumcodereview.appspot.com//9290020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3855 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:14:46 +00:00
dgrove@google.com 77253a0151 Remove fling, deftserver (used only by fling), and commons-codec
(used only by dartboard).

(I'll submit a change to the top-level LICENSE file once this goes in)
Review URL: http://codereview.chromium.org//9314025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3854 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:04:48 +00:00
antonm@google.com b20e8fbc61 Start transitioning to new API to start Dart.
Review URL: https://chromiumcodereview.appspot.com//9310024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3833 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 10:09:09 +00:00
sra@google.com 02009a3989 Make dart:dom implementation types private so they don't muddle the docs.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9317046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3828 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 03:58:07 +00:00
efortuna@google.com 7135c398da Fix client status for linux and Windows.
Firefox wasn't up to date on our linux buildbot, which was causing the failure.
Review URL: https://chromiumcodereview.appspot.com//9310043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3826 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 00:45:41 +00:00
efortuna@google.com 1e734076dc Get Firefox on Windows running.
Review URL: https://chromiumcodereview.appspot.com//9314047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3811 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 21:24:52 +00:00
vsm@google.com 1bd85182c9 Native GC test breaking on Dartium
TEST=NativeGCTest

Review URL: https://chromiumcodereview.appspot.com//9313003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3805 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 19:30:05 +00:00
efortuna@google.com 3d066e467a Fix client.status.
Review URL: https://chromiumcodereview.appspot.com//9264017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3800 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 17:54:30 +00:00
antonm@google.com 16d87a7fd8 Transition to new API to start Dart.
Review URL: https://chromiumcodereview.appspot.com//9315030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3797 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 17:08:07 +00:00
sra@google.com 38823e7d02 Make XMLHttpRequest.response available.
Not all types are available through responseText, responseXML etc.
In particular, arraybuffers need the .response getter.

The getter was missing from the Dart interfaces because it is declared
in the IDL as returning type 'Object' which is not declared anywhere.
Solved by parsing 'object' and 'Object' identically.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9316023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3778 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 07:28:27 +00:00
vsm@google.com ea9ac2e6c7 Add forgotten layout tests
Forgot these in the last migration.

TBR=sra

Review URL: https://chromiumcodereview.appspot.com//9315025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3775 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 05:52:15 +00:00
dgrove@google.com 116036eea7 Final CL to kill off client/samples .
Review URL: http://codereview.chromium.org//9314024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3774 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 01:51:26 +00:00
sra@google.com 3fa306b58d Fix all_tests script.
We can no longer get the file name from the generator, so just
generate the name locally to the test.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9317024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3771 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 01:10:26 +00:00
vsm@google.com 451b580923 Suppress dartc type checking on new dom tests to get bot green.
TBR=sra

Review URL: https://chromiumcodereview.appspot.com//9316016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3769 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:54:11 +00:00
vsm@google.com 84077eabda Update webdriver status for DOM tests.
Review URL: https://chromiumcodereview.appspot.com//9309021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3767 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:38:06 +00:00
efortuna@google.com ef96a2548d Fix linux frogium build. We had incorrectly marked a view test as passing. See
https://chromiumcodereview.appspot.com//9302012

TBR=jmesserly,
Review URL: https://chromiumcodereview.appspot.com//9318016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3764 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:11:31 +00:00
vsm@google.com e7917dd2e5 Migrate all LayoutTests/dart/dom to main repo.
Once these are in, I will delete the ones under LayoutTests.

TBR=sra,antonm

Review URL: https://chromiumcodereview.appspot.com//9314008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3760 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 23:01:00 +00:00
dgrove@google.com aaa33a0658 Move all samples but swarm from client/samples/ to samples/ .
Review URL: http://codereview.chromium.org//9303020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3733 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 16:26:19 +00:00
ahe@google.com 26d232679d Create a URI class in utils/ (based on client/util/).
Review URL: https://chromiumcodereview.appspot.com//9295043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3722 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 12:11:10 +00:00
sra@google.com fad369ec83 Fix dart_client break
JSCompiler chokes on 'Uint8ClampedArray'.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9302026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3708 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 05:02:04 +00:00
sra@google.com 048acd5190 Refresh dart:dom libraries from WebKit
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9264057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3706 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 03:13:32 +00:00
efortuna@google.com 5a44035961 Changing to recommended way to fix console.log in IE by Kasper.
Plus some updates to the test.stats files for IE results.
Review URL: https://chromiumcodereview.appspot.com//9302012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3704 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 00:51:43 +00:00
sra@google.com 6d5e6cb1fa Implement WebKit IDL 'module' feature [Supplemental=Foo]
interface [Supplemental=DOMWindow] DOMWindowWebAudio { ... }

defines the members of DOMWindow that come from the WebAudio module.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9303011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3701 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-30 23:16:56 +00:00
sra@google.com 2b5dec6c58 IDL syntax - permit zero extended attributes.
This is used in the latest WebKit IDL change.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9233032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3698 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-30 19:56:26 +00:00
zundel@google.com 354915ee05 Total has moved, get rid of .status file exclusions
Review URL: https://chromiumcodereview.appspot.com//9302002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3696 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-30 18:40:51 +00:00
vsm@google.com 66a783fc7a Update expectation with new test name
TBR=sigmund

TEST=client/dom/IsolateLightTest

Review URL: https://chromiumcodereview.appspot.com//9232066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3677 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-28 00:33:17 +00:00
vsm@google.com 9f963fb24e Refactoring to migrate layout tests over.
I'll rename layout tests to end in Test.dart as I migrate them over.

Review URL: https://chromiumcodereview.appspot.com//9297032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3674 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 23:30:08 +00:00
efortuna@google.com 9f58ccf764 Fix dartc tests, and second half of r3585 for Windows.
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9298028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3669 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 21:29:34 +00:00
antonm@google.com 49caf361d5 Temporary suppress total tests.
Review URL: https://chromiumcodereview.appspot.com//9223013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3642 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 09:54:08 +00:00
nweiz@google.com 95c6a63093 Add some more tests for Element and Node.
TBR

Review URL: https://chromiumcodereview.appspot.com//9295002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3640 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 01:31:58 +00:00
nweiz@google.com aa269a9589 Change a couple vars -> finals.
TBR

Review URL: https://chromiumcodereview.appspot.com//9234069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3627 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 20:39:51 +00:00
zundel@google.com 256f8ab403 Removed total tests from client dir and relocated them to the samples dir
Review URL: https://chromiumcodereview.appspot.com//9169098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3625 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 20:18:17 +00:00
zundel@google.com 7169189529 Update map literal syntax to expect only one type parameter
As of the spec v0.6, the correct syntax is now:
  <V>{"key" : value };
Whereas you used to also specify the key. Added a deprecation warning
for the old syntax.

http://code.google.com/p/dart/issues/detail?id=1151

Review URL: https://chromiumcodereview.appspot.com//9235015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3606 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 20:21:24 +00:00
jimhug@google.com 86fa666526 Reapply r3590 with frog fixes
Review URL: https://chromiumcodereview.appspot.com//9113061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3599 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 15:36:32 +00:00
sra@google.com 6e2020202a Revert "Implement List<T> operations on dom types via manual mixins."
This reverts commit 60ce58f3cef71e7fa413b134dcb565eb1563b315.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9290010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3591 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 07:46:54 +00:00
sra@google.com b9ba0e9e5d Implement List<T> operations on dom types via manual mixins.
This gets HTMLCollectionTest.html and Typing.html from the layout
tests working for Frog.

I tried using a hidden native parameterized base class but that did
not work, so I had to backed off to having to mix-in the
List<T> methods on each native class that implements List<T>.
This is what we did with dartc.

The mixins are in a template - not quite as bad as in the python code
but still not so easy for others to find.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9271036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3590 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 06:58:45 +00:00
jimhug@google.com a068090b22 Fixes isolate issue #1329
Review URL: https://chromiumcodereview.appspot.com//9290007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3589 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 02:54:08 +00:00
efortuna@google.com a84c69a064 Reverting r3585. Unclear how this broke dartc...
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9290006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3588 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 02:45:41 +00:00
efortuna@google.com 0d150af08d More fixes for test.dart to run browser tests on Windows!
Review URL: https://chromiumcodereview.appspot.com//9146049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3585 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:57:09 +00:00
vsm@google.com a9b650dade Fix for AudioContext in Frog
TEST=AudioContext.dart

TBR=sra

Review URL: https://chromiumcodereview.appspot.com//9235022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3584 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:44:16 +00:00
vsm@google.com e17d9e183e DOM Isolate test
(TBR'ing.  I'll refactor more cleanly as I migrate other tests, but I wanted to get this broken one in quickly.)

BUG=1329
TEST=IsolateLight

TBR=jimhug

Review URL: https://chromiumcodereview.appspot.com//9289006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3583 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:05:04 +00:00
nweiz@google.com 538dabd388 Add constructors for Float32Array and friends.
Fixes issue 560.

TBR

Review URL: https://chromiumcodereview.appspot.com//9113039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3582 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:04:39 +00:00
sra@google.com 072cd51e52 Make DOMType the root of DOM implementation types.
Move irregular classes (Storage, Console) to templates.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9271031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3580 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 23:25:27 +00:00
sra@google.com 82aa19a9e4 Frog dart:dom using interfaces and native implementation classes.
This is a step towards using one set of interfaces for all versions of dart:dom.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9233028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3533 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 02:55:48 +00:00
nweiz@google.com 406d186685 Fix a type declaration for makeElList.
TBR

Review URL: https://chromiumcodereview.appspot.com//9284006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3531 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 02:06:31 +00:00
nweiz@google.com 2cbfd0ffe8 Make ElementList return ElementLists.
TBR

Review URL: https://chromiumcodereview.appspot.com//9270054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3529 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 00:23:10 +00:00
sra@google.com 89aeae95d5 Refresh WebKit.
Parse 'any[]' and convert to Dart 'List'.
Typed array 'set' method is 'setElements' in Dart.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9117013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3528 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 00:18:45 +00:00
efortuna@google.com 5a5677b37c Missed file in previous checkin.
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//9160013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3523 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 23:39:04 +00:00
efortuna@google.com c8e620d663 Fix frogsh + Windows + test.dart take 2
Review URL: https://chromiumcodereview.appspot.com//9117010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3522 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 23:34:13 +00:00