Commit Graph

6631 Commits

Author SHA1 Message Date
amouravski@google.com 98f022a003 First try at removing ? from HTML.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22163 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 02:29:32 +00:00
blois@google.com 47cc6126bb Removing PagePopupController.
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22162 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 02:13:10 +00:00
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
kustermann@google.com 9aae1c09df Fixed version.dart to use Future.immediate
We use a checked-in binary of dart that doesn't have Future.value().

BUG=http://dartbug.com/10193

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22010 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 07:52:22 +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
kustermann@google.com 6567120249 Revert "Use clang on mac if XCode >= 4.5"
We cannot build v8 after this change because clang reports a warning in
v8/src/parser.cc about an unused field (and we turn warnings into errors).

We can enable this change again after we update to a new v8 version (this seems
to be fixed in v3.17).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21984 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 21:05:30 +00:00
devoncarew@google.com d2debc7978 Syntax fix to publish_all_pkgs.py.
Review URL: https://codereview.chromium.org//14336016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21983 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:57:48 +00:00
nweiz@google.com cc6e2f7b93 Put a snapshot of pub in the SDK.
BUG=9117

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21979 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:43:39 +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
hausner@google.com a0fa1e7633 Do not crash build if Java is not installed
Much of the build does not use Java, so don't crash if it's not
installed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21952 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 15:54:20 +00:00
kustermann@google.com 84b27afce5 Use clang on mac if XCode >= 4.5
Review URL: https://codereview.chromium.org//14333010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21950 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 14:43:35 +00:00
sgjesse@google.com 921653a087 Add a new test suite 'analyze_tests'
The new test suite 'analyze_tests' will run the analyzer on the
selected tests, and fail if there are static type errors. Currently
only the tests in tests/standalone are included, but that can easily
be expanded.

The reason for starting this was that for M4 we where missing two
'part' files in io.dart (for the HttpBody utility class). This caused
the use of HttpBody in the editor to be complicated. With static type
checking on the tests which tested HttpBody this mistake would have
been caught.

R=ager@google.com, ricow@google.com, kustermann@google.com, ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21944 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 12:47:13 +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
nweiz@google.com 24213beff5 Move pub into sdk/lib/_internal.
This also converts pub to a more package-like layout, which will help in the
eventual exposing of pub internals as a library. Since pub's sources are now in
lib/src, this also makes them importable from the tests and entrypoint using
"package:" imports.

BUG=6619

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21907 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 21:44:26 +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
ricow@google.com c59a8b5b83 Remove special casing for browser timeout
Review URL: https://codereview.chromium.org//13880030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21878 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 12:52:32 +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
hausner@google.com 72a4fed8e9 Implement list isolates command
New Debugger wire protocol command to list all isolates in a vm.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21831 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 18:43:03 +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
iposva@google.com 539588333e - Reduce warnings about project settings in Xcode 4.
- Address compilation warnings found by clang.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21786 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 05:31:03 +00:00
zra@google.com dae5068650 Enables cross-compilation of the VM for ARM.
Uses the "toolset" feature of gyp to build the dart VM
for ARM, but restricts building of snapshot generation
to the host machine.

For generated source files, it also changes to using
LIB_DIR instead of SHARED_INTERMEDIATE_DIR to avoid
generation of duplicate Makefile rules (gyp doesn't
know that generated source files from toolchains it
thinks are different will be the same.)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21757 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 18:05:44 +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