Commit Graph

729 Commits

Author SHA1 Message Date
sra@google.com 2ab3dd2b14 Rerun generator and copy html to release.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5506 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 03:20:16 +00:00
jacobr@google.com b437fdbdce Update dart:dom and dart:html bindings to reflect latest webkit changes.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5493 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 22:20:47 +00:00
antonm@google.com 44b75b0ae3 Support CallWith on attributes.
And some minor refactoring.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5476 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 17:49:21 +00:00
antonm@google.com 89e859e97d Chrome roll 126348->126558.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5456 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 12:31:00 +00:00
podivilov@google.com a48f3732b6 Parameter adapter name in setter should be 'value'.
R=antonm@chromium.org,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5453 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 12:01:07 +00:00
nweiz@google.com 092b6205be Fix a type warning for SVGElement.tag.
Review URL: https://chromiumcodereview.appspot.com//9694027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5422 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 18:06:02 +00:00
ngeoffray@google.com 8a013fcadc Fix status files for legium.
Review URL: https://chromiumcodereview.appspot.com//9696039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5418 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 17:23:26 +00:00
antonm@google.com c2ceef5195 Roll Chrome/WebKit forward.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5406 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 14:48:38 +00:00
ahe@google.com 57aa304826 Don't skip tests.
Review URL: https://chromiumcodereview.appspot.com//9691035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5385 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 08:51:00 +00:00
sra@google.com e1e9cf153d Provide DartDomNameOfAttribute
DartDomNameOfAttribute returns the name of an IDLAttribute in the dart dom bindings.
attr.id is the native/JS name
dart:html might possibly rename the DartDomName, leaving the original attribute id available.

The change in the generated files reflects reverting https://src.chromium.org/viewvc/multivm?view=rev&revision=251
I will revert r251 after this change lands.

This is all so we can handle one attribute that has a name that is a keyword in Dart and C++ :

module html {
    interface [
        Conditional=VIDEO_TRACK,
        V8EnabledAtRuntime=webkitVideoTrack
    ] HTMLTrackElement : HTMLElement {
        ...
        attribute [Reflect] boolean default;

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5381 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 06:15:24 +00:00
sigmund@google.com 2b5952ac6c SendPort + ReceivePort changes:
- document what are valid messages in SendPort.send
- change SendPort.call to return a future of the reply
- remove ReceivePort.singleShot

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5368 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 22:52:36 +00:00
nweiz@google.com 161c44f409 Port the SVG code to the wrapperless DOM.
Review URL: https://chromiumcodereview.appspot.com//9677012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5366 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 22:01:23 +00:00
nweiz@google.com 9b9c66d739 Fix invalid syntax in _WebSocketFactoryProvider to fix the build.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5365 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 21:49:11 +00:00
nweiz@google.com 418e6a2756 Regenerate DOM bindings.
Review URL: https://chromiumcodereview.appspot.com//9689026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5363 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 21:19:45 +00:00
jacobr@google.com e3ca237a48 Add factory constructor for WebSocket Add generated dom & html directories to .gitignore
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5354 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 20:18:29 +00:00
antonm@google.com 7f4a0eb83e Prepare fremontcutbuilder for Chromium/WebKit roll.
Review URL: https://chromiumcodereview.appspot.com//9663062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5314 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 10:29:07 +00:00
ngeoffray@google.com 202305f8f6 Retriage client tests for legium.
Review URL: https://chromiumcodereview.appspot.com//9664047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5300 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 13:19:51 +00:00
podivilov@google.com a96f2f1f5f Fix idlparser.py: const should always go after ext attrs.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5297 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 10:18:50 +00:00
sra@google.com 4042648a7c Tweak database IDL format to print interface attributes on separate lines
moves 'interface' column 0 so you don't have to hscroll to see the name.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5294 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 01:24:35 +00:00
jacobr@google.com 6359b1de69 Remove generated directories with 100s of files.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5276 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-10 00:48:35 +00:00
nweiz@google.com 17d9b886f0 Port DocumentFragment to the new wrapperless DOM.
Review URL: https://chromiumcodereview.appspot.com//9610011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5265 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 22:49:08 +00:00
nweiz@google.com 978363358a Don't put private members in dart:html interfaces.
This makes implementing the interfaces much easier when the implementing class
doesn't have the members in question, and is a cleaner separation on the whole.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5256 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:46:10 +00:00
nweiz@google.com 8a98391ede Get rid of Element#classList in the wrapperless DOM.
Review URL: https://chromiumcodereview.appspot.com//9648017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5205 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 00:42:50 +00:00
jacobr@google.com 32923125c4 Remove files that have already been ported or do not need to be ported.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5204 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 00:26:19 +00:00
nweiz@google.com 5019c24da9 Fix build breakage caused by commit 5196.
Review URL: https://chromiumcodereview.appspot.com//9653009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5202 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 23:42:01 +00:00
nweiz@google.com bdd6ee3368 Refactor the event-generation code to locate it in systemhtml.py.
This also adds some code to enforce the generation of an events class for
DocumentFragment so that it can provide access to all the element events.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5196 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 23:00:01 +00:00
ngeoffray@google.com a02f9d8515 Canonicalize closures passed to native functions.
Review URL: https://chromiumcodereview.appspot.com//9641018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5172 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 15:28:02 +00:00
ngeoffray@google.com cd69b685ed Map typeName getter to the global typeNameOf. This is a unspoken rule from the native interface :)
Review URL: https://chromiumcodereview.appspot.com//9633015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5170 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 13:36:26 +00:00
ngeoffray@google.com e72ee6c29a Use the pure Dart implementation of JSON in leg.
Review URL: https://chromiumcodereview.appspot.com//9624023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5157 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 09:44:45 +00:00
jacobr@google.com 763fff9a33 Build both dart:html and dart:dom bindings by default
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5146 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 00:57:19 +00:00
nweiz@google.com a23aa15143 Regenerate wrapperless DOM for changes in commit 9315061.
Review URL: https://chromiumcodereview.appspot.com//9608025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5144 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 00:27:39 +00:00
sra@google.com e8e662b78c Fix for Issue 2036 - remove 'var' in type position on getter
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5137 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 23:05:48 +00:00
zundel@google.com 7f8a57919b Specify the types for Element.classes, Element.elements and Node.nodes
Previously these lines gave type errors in dartc, but now they pass
without warnings.

b/5392897

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5136 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 23:02:08 +00:00
nweiz@google.com 2b346a7fa8 Regenerate the wrapperless DOM again.
The previous regeneration was based on an outdated WebKit version.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5132 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 21:52:33 +00:00
nweiz@google.com 69e69d5c9c Regenerate the wrapperless DOM.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5122 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 21:11:10 +00:00
jacobr@google.com 97532c3cde Regenerate dart:dom and dart:html bindings
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5115 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 19:46:54 +00:00
antonm@google.com b1e900ed87 Allow any order for ExtAttrs and const in WebKit.
ExtAttrs followed by const variant has been recently added into WebKit.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5107 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 18:40:01 +00:00
ngeoffray@google.com 3a8eeb89db A local may be an unnamed closure. Make sure we emit a name for them.
Review URL: https://chromiumcodereview.appspot.com//9619009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5102 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:18:00 +00:00
mattsh@google.com d8af601ce4 removed unused 'prefix' line from status files
Review URL: https://chromiumcodereview.appspot.com//9621003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5101 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:10:57 +00:00
antonm@google.com 216dae7261 Remove test suppressions for test which are passing now.
StyleSheetList.item is obvious.  I am more surprised with isolate test started to pass.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5096 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 14:50:23 +00:00
antonm@google.com 79aa42abff Roll forward.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5084 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 13:13:19 +00:00
ngeoffray@google.com 42013d6f18 Triage client failures on legium, and add the client tests to our presubmit script.
Review URL: https://chromiumcodereview.appspot.com//9620001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5080 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 12:42:58 +00:00
antonm@google.com c5b0c6a1b6 Add utility print method.
Review URL: https://chromiumcodereview.appspot.com//9618010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5074 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 10:25:33 +00:00
sra@google.com ae33ad5549 Unwrap parameters in factory constructors.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5067 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 05:59:19 +00:00
sra@google.com 8f12cba615 Implement automatically generated constructors for frog dart:html
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5066 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 04:57:35 +00:00
sra@google.com 016dd2dfe4 Refresh dom_frog to get in sync with WebKit.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5057 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 22:27:04 +00:00
nweiz@google.com 3ebe27325b Regenerate the new HTML stuff.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5005 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 02:25:48 +00:00
jacobr@google.com bdcf469c63 Fix dartium checked mode build break.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5001 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 01:08:27 +00:00
jacobr@google.com de1d525459 Enable new dart:html wrapperless frog bindings and wrapper dartium bindings.
Split unittest.dart into unittest_html and unittest_dom

Bug fixes to the new dart:html bindings to compile with dartc.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4998 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 00:30:09 +00:00
ager@google.com b2b123d24b Update Timer API to take the callback as the last parameter.
This makes the code easier to read when the callback actually does
work:

  new Timer(1000, (t) {
    // do
    // lots
    // of
    // stuff
  });

Also, it is more consistent with the rest of the APIs.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4945 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 12:43:41 +00:00