Commit Graph

1657 Commits

Author SHA1 Message Date
blois@google.com 936fdce168 Fixing build from merge issue.
In a merge I had re-added a property which had been suppressed in htmlrenamer.py.

BUG=

Review URL: https://codereview.chromium.org//14585002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22161 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 02:00:40 +00:00
blois@google.com 3ca6bd2dc6 Properly exposing NodeIterator and TreeWalker
Also removing references to EntityReference which is an outdated XML type.

Note that there's a bit of an oddity here around NodeFilter, which is both a class with all of the filter flags, and a function signature for a callback.

For now, I've scrubbed references to NodeFilter (the callback), but if desired I can add a new filter callback. This will most likely require a bit of Dartium work as well, so a separate CL I think.

BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//13685021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22160 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 01:36:04 +00:00
vsm@google.com a0a4cddde5 Added SIMD stubs for dart2js
BUG=10284
R=blois@google.com

Review URL: https://codereview.chromium.org//14531008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22157 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 00:03:41 +00:00
blois@google.com def45dd2e1 Fixing error event type of Workers.
BUG=10253
R=efortuna@google.com

Review URL: https://codereview.chromium.org//13901019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22133 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 17:53:28 +00:00
jmesserly@google.com 6f85889ab7 fix a bug in the Event constructor
R=blois@google.com

Review URL: https://codereview.chromium.org//14387011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22130 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 17:18:55 +00:00
jmesserly@google.com 8fbbf154dc fix dom.py
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//14314023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22129 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 17:16:34 +00:00
podivilov@google.com a3a72271ec Add helper for parsing stack traces.
R=antonm@google.com

Review URL: https://codereview.chromium.org//14113032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22107 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 08:34:30 +00:00
blois@google.com 59c2920a7f This is a resubmit of:
https://codereview.chromium.org/13852008/

There were some type issues in Dartium checked mode on collections which caused problems. Basically just tweaked the generic arguments on some collections.

BUG=
R=sra@google.com

Review URL: https://codereview.chromium.org//13963020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22087 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-26 21:10:49 +00:00
antonm@google.com 3b24778190 Allow null assignments if there is a corresponding marker.
R=podivlov@chromium.org
BUG=10025

Review URL: https://codereview.chromium.org//14190019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22067 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-26 08:48:27 +00:00
antonm@google.com 28d0af1553 Restore feature defines argument.
R=podivlov@chromium.org

Review URL: https://codereview.chromium.org//14416015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22065 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-26 08:26:09 +00:00
antonm@google.com 819038806a Drop in and sanitize optional declarations.
R=blois@google.com, podivilov@chromium.org

Review URL: https://codereview.chromium.org//14416009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22027 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 12:15:36 +00:00
antonm@google.com 7291f59cdc Some more cleanups.
R=ager@google.com, vsm@google.com

Review URL: https://codereview.chromium.org//14367047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22026 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 12:14:26 +00:00
antonm@google.com a33ec28265 Proper support for ForceOptional.
R=ager@google.com, podivilov@chromium.org

Review URL: https://codereview.chromium.org//14373013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22021 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 10:35:27 +00:00
antonm@google.com 0282f6a608 Remove IDL overrides for DOM typed arrays.
R=ager@google.com, vsm@google.com

Review URL: https://codereview.chromium.org//14471026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22014 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 08:19:19 +00:00
antonm@google.com 28c1b7c9ef WebKit IDL roll.
Review URL: https://codereview.chromium.org//13843029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22013 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 08:03:17 +00:00
johnniwinther@google.com 5a8e457362 Make source mirror ObjectMirror.getField synchronous
Review URL: https://codereview.chromium.org//14333011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22002 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 07:04:40 +00:00
antonm@google.com 12d5e65894 Chrome roll.
TBR=ager@google.com, podivilov@chromium.org

Review URL: https://codereview.chromium.org//14211014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21967 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 18:02:30 +00:00
johnniwinther@google.com 797c6aeeb9 Remove dartdoc specific methods from dart2js_mirror.
BUG=

Committed: https://code.google.com/p/dart/source/detail?r=21921

Review URL: https://codereview.chromium.org//13956028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21924 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 07:31:39 +00:00
sra@google.com 9e657bd652 Fix indexdb regression under optimization
TBR=blois@google.com

Review URL: https://codereview.chromium.org//14237005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21900 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 19:46:33 +00:00
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

Review URL: https://codereview.chromium.org//14426006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
lrn@google.com 554a845e4f Make List.remove return boolean.
Remove Queue implementations' remove methods, which are not in the
interface.
Added more tests for list operations.
Fixed bugs and omissions found by tests.

http://dartbug.com/10042
http://dartbug.com/10112

Review URL: https://codereview.chromium.org//14425003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21867 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:13:17 +00:00
sra@google.com 600bcf9339 Make RadioNodeList be NodeList
BUG=

Review URL: https://codereview.chromium.org//14159020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21858 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 00:18:39 +00:00
sra@google.com 15e8e0d70a Revert "Revert "Allow multiple tags in native clause.""
WebKit with a 'K', not 'k'

Review URL: https://codereview.chromium.org//13973017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21853 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 22:57:06 +00:00
blois@google.com 463e990434 Revert "With the collections deriving from ListBase, we no longer need to implement a number of boiler-plate methods."
This reverts commit http://code.google.com/p/dart/source/detail?r=21848.

BUG=

Review URL: https://codereview.chromium.org//13934019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21852 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 22:54:33 +00:00
blois@google.com 3dc436c463 With the collections deriving from ListBase, we no longer need to implement a number of boiler-plate methods.
There are some gotchas with Element and Node lists as they may mutate the list being passed in if it's a nodelist as well, so I'm keeping those unimplemented.

In some cases this may fall back to less efficient operations (such as the WrappedList which no longer forwards every method), but I tried to keep all of the primary cases fast and I believe that these methods would fall back to generic implementations anyways in all cases where we use the classes.

BUG=

Review URL: https://codereview.chromium.org//13852008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21848 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 22:29:05 +00:00
sra@google.com 4d02ad5c16 Revert "Allow multiple tags in native clause."
BUG=

Review URL: https://codereview.chromium.org//14358016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21846 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 22:07:13 +00:00
sra@google.com fb5b910c07 Allow multiple tags in native clause.
This simplifies, but does not allow us to get rid of, the typeNameOf
functions.

The '*' is no longer necessary, so
  native "*DOMWindow"
becomes
  native  "Window,DOMWindow".

Review URL: https://codereview.chromium.org//14051007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21843 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:41:35 +00:00
amouravski@google.com d6d7b02ff7 Fixed broken link in documentation.
BUG 9489 (dartbug.com/9489)

Review URL: https://codereview.chromium.org//14150010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21842 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:39:07 +00:00
jmesserly@google.com 0b46496995 unhide nodeType constants
Node.nodeType is not very useful without these :)

See also:
https://code.google.com/p/dart/issues/detail?id=4754

Review URL: https://codereview.chromium.org//13852015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21840 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:30:15 +00:00
ager@google.com ee0f44baff Update code generator for dartium dart:html with typeddata.
R=antonm@google.com, vsm@google.com
BUG=

Review URL: https://codereview.chromium.org//13811054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21790 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:24:41 +00:00
ager@google.com 7f79491c06 Move to new dart:typeddata types
Mads: if you land this, please rerun go.sh from tools/dom/scripts to regenerate html_dart2js.dart.  I didn't include it here to make this patchable.

Stephen: I still need to run the perf tests we talked about to sanity check.

Review URL: https://codereview.chromium.org//14367012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21789 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:22:51 +00:00
antonm@google.com 4520cca2b5 Drop raises annotations support.
R=blois@google.com

Review URL: https://codereview.chromium.org//14150007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21725 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 08:59:39 +00:00
antonm@google.com 8784188d40 Remove BLOB conditional.
R=blois@google.com

Review URL: https://codereview.chromium.org//14050008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21724 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 08:48:10 +00:00
antonm@google.com 248e3147ce Enable profiling IDLs.
R=blois@google.com

Review URL: https://codereview.chromium.org//14249008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21722 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 08:38:24 +00:00
vsm@google.com ca7b684f04 Add Supported class to dart:html
This is only used by typeddata for now.

Review URL: https://codereview.chromium.org//13954014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21717 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 05:54:02 +00:00
ager@google.com c1c80e1bbb Remove DartWrapperTypeInfo field from CPP implementations.
R=antonm@google.com
BUG=

Review URL: https://codereview.chromium.org//14341008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21686 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 18:09:42 +00:00
amouravski@google.com 51535c4a8e Regenerated to put SQL database back.
Review URL: https://codereview.chromium.org//14232015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21657 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 20:31:00 +00:00
blois@google.com ee6c666069 Fixing TransitionEvents after IDL roll.
We had mapped WebkitTransitionEvent to be TransitionEvent, but now WebKitTransitionEvent has been removed from the IDL.

BUG=

Review URL: https://codereview.chromium.org//14046033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21654 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 19:54:39 +00:00
antonm@google.com 6bebf5a376 Quick fix for profiles.
TBR=ager@google.com, blois@google.com, podivilov@chromium.org

Review URL: https://codereview.chromium.org//14161011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21645 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 18:36:57 +00:00
antonm@google.com 8af52be78a Roll IDLs.
TBR=ager@google.com, blois@google.com, podivilov@chromium.org

Review URL: https://codereview.chromium.org//14017007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21643 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 18:30:23 +00:00
antonm@google.com b693f3e1ea Changes for the roll.
TBR=ager@google.com, blois@google.com, podivilov@chromium.org

Review URL: https://codereview.chromium.org//14007012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21627 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 16:15:01 +00:00
floitsch@google.com dec3937950 Fix Future.immediateError users.
Review URL: https://codereview.chromium.org//14103018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21520 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:46:13 +00:00
floitsch@google.com 466d6670c1 Refactor Future constructors.
BUG=

Review URL: https://codereview.chromium.org//14070010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21517 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:24:27 +00:00
floitsch@google.com 13c927bb8c Fix model-tree-observer in html.
Review URL: https://codereview.chromium.org//14018022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21507 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 19:57:53 +00:00
floitsch@google.com 6837aa221c Fix bad html library.
Review URL: https://codereview.chromium.org//14200026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21502 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 19:37:10 +00:00
floitsch@google.com 62d413ec91 Remove StreamController.broadcast.
Review URL: https://codereview.chromium.org//14136004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21499 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 19:08:17 +00:00
floitsch@google.com 5431a5af54 Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
antonm@google.com 7db2784f62 Allow spaces around conditions.
R=ager@google.com, blois@google.com

Review URL: https://codereview.chromium.org//14049015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21495 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:56:06 +00:00
antonm@google.com 766fcede4e Enable user timing.
R=ager@google.com, blois@google.com

Review URL: https://codereview.chromium.org//14200024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21493 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:29:46 +00:00
antonm@google.com 739426925e Enable resource timing.
R=ager@google.com, blois@google.com

Review URL: https://codereview.chromium.org//14046024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21491 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:14:57 +00:00