Commit Graph

1764 Commits

Author SHA1 Message Date
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
kustermann@google.com d077ef8ee9 Support for removing left over temporary directories from dart processes
VM developers have asked for a way to make test.py automatically
delete left-over temporary directories at the start.

This CL will enable them to do so, but they need to opt-in for it, by setting
the environment variable DART_TESTING_DELETE_TEMPORARY_DIRECTORIES to 1.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21669 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 09:18:29 +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
efortuna@google.com 419c6548fd Fix for Anton.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21584 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 22:17:38 +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 d8930c4ae6 Revert changes in tools/testing while the Dart executable can't handle it.
Review URL: https://codereview.chromium.org//14113018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21511 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 20:26:36 +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