Commit Graph

729 Commits

Author SHA1 Message Date
podivilov@google.com 57fcdcfa53 WebSocketTest now passes in dartium.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4355 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 15:38:04 +00:00
podivilov@google.com ff1ca30b8d Update DOM scripts after recent webkit merge.
TBR=antonm@google.com,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4322 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 16:03:17 +00:00
antonm@google.com 30eab6bdd7 Support constructor generation for XSLTProcessor.
BUG=1642
TEST=client/tests/client/dom/XSLTProcessorTest.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4318 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 15:39:04 +00:00
podivilov@google.com 35c98f9e9f Remove unused dom/common files.
R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4306 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 10:38:54 +00:00
nweiz@google.com 548bc8e0b7 Fix a minor declaration issue in ElementWrappingImplementation.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4299 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 00:07:23 +00:00
podivilov@google.com 706bc11a85 Implement C++ bindings generation in dartgenerator.py.
R=antonm@google.com,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4256 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 12:56:38 +00:00
podivilov@google.com fadde97358 A bunch of fixes in idl database generator.
* Enable SHADOW_DOM
* Add "mediastream" directory to idl search path
* Fix attribute exceptions rendering

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4253 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 09:24:41 +00:00
podivilov@google.com 105950f3ce Remove RequestAnimationFrameCallback.dart from native dom_public.darttemplate.
TBR=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4222 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 14:32:18 +00:00
podivilov@google.com 9b2808e9ba RequestAnimationFrameCallback.dart should be generated.
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4220 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 13:46:08 +00:00
ngeoffray@google.com eeeb21f604 Fix bot with status changes.
Review URL: https://chromiumcodereview.appspot.com//9348083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4218 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 13:39:48 +00:00
podivilov@google.com 8a721df41d Add ImplementedBy attribute for operations merged from [Supplemental=XXX] interfaces.
C++ implementations need to know webcore factory name.

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4209 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 09:51:55 +00:00
nweiz@google.com 305256ae0a Ensure that newly-constructed elements don't have parents.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4206 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 02:30:05 +00:00
sra@google.com 6e7bcb52f0 Add XSLTProcessor constructor
Fixes Issue 1642 for Frog.
Implementation needed for Dartium.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4205 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 02:00:45 +00:00
sra@google.com 925d1de0a8 Avoid generating an overriding field in dart:dom
- Detect when the shadowed implementation is adequate and use that.
- If it is not adequate, generate getter / setter

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4193 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-13 20:37:26 +00:00
sra@google.com 15976d2f7f Let EventTarget be a base class in the frog dom.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4166 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-11 09:57:06 +00:00
dgrove@google.com 731387795c Move client/{base, observable, layout, touch, util, view} to samples/ui_lib .
Review URL: http://codereview.chromium.org//9382027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4154 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 23:44:48 +00:00
vsm@google.com 3424aff746 Fix status files for Dartium Debug
TBR=antonm

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4152 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 22:44:51 +00:00
dgrove@google.com 8aa173dc7e Eliminate client/json, since we now have lib/json.
Review URL: http://codereview.chromium.org//9384021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4151 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 22:15:52 +00:00
vsm@google.com f2b2e79840 Move Dromaeo to third_party.
See LICENSE and README.  I also updated html files to point to dart.js.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4149 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 22:08:58 +00:00
podivilov@google.com 3fb3393e53 Draft implementation of c++ bindings generation.
Generate stubs for all c++ files.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4133 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 14:54:32 +00:00
whesse@google.com 269d5ee237 Remove tools/test_wrapper.py. test.py is now a wrapper for test.dart.
BUG=dart:1036
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4129 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 11:56:34 +00:00
sra@google.com 4a28f8aea4 Ensure 'raises' clauses on operations are saved in IDL database.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4117 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 06:18:14 +00:00
jmesserly@google.com 9918d69710 Update Opera status
For now tests are disabled on the bot while we get it working.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4109 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:54:29 +00:00
rnystrom@google.com 7b5e67b5d6 First prototype of import map generator.
Review URL: https://chromiumcodereview.appspot.com//9369006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4106 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:09:49 +00:00
dgrove@google.com 866eecc34a Move json to lib/json/{json.dart, json_frog.dart}
Review URL: http://codereview.chromium.org//9374030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4101 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 23:38:34 +00:00
vsm@google.com cb22da0cf4 Move these dart:html tests from Dartium layout test to client tests.
Stephen: I'll delete these from the Dartium repo as well.

TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4063 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 05:16:43 +00:00
sra@google.com 90ed748b49 Process IDL interfaces in pre-order so that parents are seen first
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4060 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 03:38:57 +00:00
jmesserly@google.com 24aebd0d3d repurpose dart_client bots for browser testing
I also refactored the buildbot_annotated_steps in client to remove the now-dead code.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4057 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 01:41:43 +00:00
sigmund@google.com 124700481b add string-equals to unittest, fix implementation in expect.dart
Review URL: https://chromiumcodereview.appspot.com//9365023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4050 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 20:42:41 +00:00
whesse@google.com 9f27aa3a69 Remove unused support files for old version of tools/test.py.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4033 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:11:42 +00:00
ahe@google.com 41f0492cf0 Remove dartc optimizing backend.
Review URL: https://chromiumcodereview.appspot.com//9353015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4025 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:22:07 +00:00
sra@google.com 750287649f dartdomgenerator now copies frog dom to final location
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4022 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 05:47:33 +00:00
jmesserly@google.com 66f5fbf6c2 This change is the start of code to generate dart:html using dart:dom scripts. It essentially just adds the scaffolding for dart:html, and implements the generation of the "Events" interface and "EventsImpl" classes. There's more to do before the result is actually usable. For example, this doesn't contain EventsImplementation--I'm assuming we'll take jacobr's handwritten version.
I didn't check in the ../generated/html folder yet, but let me know if that makes sense.

(Note: I started with a copy of DartInterfaceGenerator instead of inheriting, but it ended up causing extra duplication when merging Stephen's recent getter/setter change. I think inheritance will be an easier way to build up the functionality, because we're essentially saying "dart:html is like dart:dom, but apply these extra transforms". Once most of the methods are overridden it would definitely make sense to break the link.)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4021 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 03:26:52 +00:00
sra@google.com da0a60ea1b Remove JS from wrapping implementation.
1MB JS RIP.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4015 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 00:05:20 +00:00
sra@google.com fd9e2740a4 Generate dummy dom to replace wrapping dom for dartc.
Wrapping dom is still generated at this point.  It will be refactored into used and unused parts in a subsequent CL.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4012 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 23:09:53 +00:00
dgrove@google.com 641f078329 Move utils/{uri, utf8} to lib/{uri, utf8} .
Fixes issue 1562 .
Review URL: http://codereview.chromium.org//9325085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4010 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:31:10 +00:00
sra@google.com e6a93d13c8 Use _GenerateLibFile for dartium libs.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4001 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 17:26:29 +00:00
sra@google.com 054f15df94 Update client/dom/scripts/dartgenerator_test.py
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3979 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 03:19:29 +00:00
sra@google.com 98bd0b6553 Remove vestigial constructors in Frog implementation classes.
These should have been removed earlier.
Remove inaccurate comment.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3978 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 02:47:33 +00:00
sra@google.com d9b36fc89e Use 'field' syntax in dart:dom interfaces.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3977 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 02:16:55 +00:00
nweiz@google.com 617257d06e Add a constructor for DOMParser.
Review URL: https://chromiumcodereview.appspot.com//9310103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3969 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 21:03:02 +00:00
podivilov@google.com 69ee1341d9 Support 'Conditional' idl attribute.
'Conditional' attribute is a replacement for "#if defined" conditions and should be processed accordingly.

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3939 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 12:06:16 +00:00
sra@google.com 602d778a47 Use fields in hidden native DOM classes instead of getters/setters.
Frog can generate JS with the field syntax when the reciever type can be inferred.

BUG=1520
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3926 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-04 08:29:05 +00:00
jacobr@google.com 5825741150 Cleanup mdn scripts
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3920 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 22:01:58 +00:00
vsm@google.com 516032d7ad Remove obsolete readme/license files.
We no longer host IDL within this repo.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3916 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 17:46:57 +00:00
antonm@google.com da03b4eb47 Nuke DOMImplementation.hasFeature test for Dart support.
Review URL: https://chromiumcodereview.appspot.com//9310059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3890 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:17:28 +00:00
podivilov@google.com 60d5c020ab Mark HTMLElementTest as failing on Dartium (dataset is not implemented).
R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3889 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:14:03 +00:00
podivilov@google.com 238a7da6bd Keep 'raises' idl annotations.
Generated native callbacks need to know if operation may throw an exception.

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3884 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 08:34:44 +00:00
vsm@google.com bc8ed29b7a Skip WebGL test on all platforms
Review URL: https://chromiumcodereview.appspot.com//9307075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3880 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 23:27:03 +00:00
efortuna@google.com 7f85b28ff6 Fix windows performance tests.
Review URL: https://chromiumcodereview.appspot.com//9325002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3865 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:15:31 +00:00