Commit Graph

25510 Commits

Author SHA1 Message Date
ajohnsen@google.com 40c7d89d66 Move MimeMultipartTransformer and HttpBodyHandler to mime and http_server packages.
BUG=
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24991 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 08:40:36 +00:00
rnystrom@google.com 67506c3e49 Normalize paths when matching them.
Review URL: https://codereview.chromium.org//18464006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24986 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-13 00:10:44 +00:00
rnystrom@google.com 44364a50dd Normalize paths in mock timestamp map.
Makes sure separators are consistent on Windows.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24984 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 23:47:49 +00:00
rnystrom@google.com 2147df7433 Add some debug prints to figure out why a test is failing on windows.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24983 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 23:25:28 +00:00
sigmund@google.com 3379860d8d Fix bug in source-maps parsing: parser failed when most information could be
inferred. This fixes bug http://dartbug.com/11782

R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24981 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 23:14:38 +00:00
rnystrom@google.com 94fdc83209 Split up tests and add some heartbeats to try to make them not timeout.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24978 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 22:45:43 +00:00
rnystrom@google.com b269f59153 Fix pathos->path in watcher example.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24976 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 21:47:02 +00:00
rnystrom@google.com 61b909a1f2 Only run watcher tests on standalone VM.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24975 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 21:38:58 +00:00
rnystrom@google.com ed4a747343 File watching package.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24971 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 21:15:02 +00:00
rnystrom@google.com a9d24edd0f Rename "pathos" package to "path".
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24964 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 17:54:48 +00:00
janicejl@google.com 65c5e02957 Added a uploadsdk python script.
removed docs/ prefix in library_list.txt

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24932 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 23:01:11 +00:00
rnystrom@google.com bfbfc432ca Tweak unittest compact config a bit and don't use it on bots.
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24924 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 18:34:53 +00:00
scheglov@google.com cdfb38b317 New analyzer_experimental snapshot.
The biggest change is in formatting long list literals.
It looks now better and also does not turn Editor into text mode for couple files.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24903 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 01:51:53 +00:00
nweiz@google.com 5cae6e7aae Split AssetGraph.results into two streams.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24892 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 22:15:23 +00:00
jmesserly@google.com 0cdff0d76d initial commit of shadow_dom pkg
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24890 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 21:52:23 +00:00
janicejl@google.com c0f6ea08e0 used lookupInScope(name) to find the qualified names in comments.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24883 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 17:31:38 +00:00
sigmund@google.com ade668bfe4 Fixes in sourcemaps discovered in csslib
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24881 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 16:56:00 +00:00
kevmoo@j832.com 0415de8fea Fixed documentation for CustomMatcher
was still referring to FeatureMatcher (old name?)
was using a const ctor, which is no longer allowed

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24878 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 16:12:37 +00:00
regis@google.com e8a722870b Support type parameters and classes as expression in the vm.
Turn many compile-time errors into runtime errors per latest spec.
Triage affected tests.

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24861 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 19:35:56 +00:00
sigmund@google.com 18e4cda7da Fix bug in pkg:observe (observable_list.remove(Object))
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24857 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 18:29:27 +00:00
rnystrom@google.com d0a7a89cf1 Fix assert.
Review URL: https://codereview.chromium.org//18566008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24852 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 16:45:29 +00:00
rnystrom@google.com 8d8db43bd6 Binary assets and more unit tests for Asset.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24848 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 16:25:16 +00:00
lrn@google.com 2985f3462e Add package with iterable and stream "zipping" functionality.
You can use new IterableZip([it1, it2, it3]) to generate an iterable of
three-element lists, one from each source iterable, as long as all three
source iterables have an element.

Similar functionality for streams is provided by StreamZip.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24835 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 05:49:31 +00:00
nweiz@google.com a1dfaf542d Make the Firefox trace RegExp not go exponential on V8.
BUG=11645
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24829 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 22:25:07 +00:00
pquitslund@google.com 319f5b5425 Initial indent fix and a few more tests.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24825 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 21:58:55 +00:00
janicejl@google.com e474478d3e added a skip for browsers.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24820 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 21:22:12 +00:00
rnystrom@google.com c770061ecc Make Assets know their ID.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24819 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 21:20:43 +00:00
janicejl@google.com 9c79f3d395 added fail ok for docgen/test/single_library_test.dart
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24816 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 20:12:02 +00:00
janicejl@google.com ebc01b51d1 Single unit test for a single library.
Review URL: https://codereview.chromium.org//18864002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24813 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 18:31:31 +00:00
efortuna@google.com f1ca162781 Add markdown to third_party/pkg
BUG=
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24807 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 17:43:43 +00:00
lrn@google.com 1315656027 Make asBroadcastStream take two callbacks.
These callbacks will be called when the broadcast stream no longer
has any listeners, or when it gets a listener after having none.

The callback is provided with a StreamSubscription-like object where
it can pause/resume/cancel the underlying subscription on the original
stream.

BUG=http://dartbug.com/11289
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24776 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-04 13:02:02 +00:00
janicejl@google.com 0854329fd7 "Reverting 24760"
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24761 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 22:49:01 +00:00
janicejl@google.com 01154792d3 Single unit test for a single library.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24760 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 22:27:40 +00:00
sigmund@google.com 448ea8ed86 Fixes source map bug: getLocationMessage was incorrect on file segments
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24759 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 22:26:55 +00:00
pquitslund@google.com 00845ce4c6 Formatter re-think/updates.
A redesign striving for simplicity and a riff on ToSourceASTVisitor.  Some shuffling and renaming still to come.  Line and Token abstractions are also quite likely to change.  Consider this a baby-step.

R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24758 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 22:22:20 +00:00
janicejl@google.com ca1afb003e added a future for docgen
docgen returns a future.

R=amouravski@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24757 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 22:02:55 +00:00
alanknight@google.com bea11dee93 Plurals and Genders
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24746 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 20:23:27 +00:00
scheglov@google.com 532aa2fab4 New analyzer_experimental snapshot.
Fixes also compilation problem in java2dart translator.

R=pquitslund@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24744 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 19:47:59 +00:00
rnystrom@google.com 0886dc6dba Make Asset.readAsString() async.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24743 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 19:44:38 +00:00
scheglov@google.com 6c6b88967f Remove dartc status sections.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24735 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 17:50:34 +00:00
rnystrom@google.com a3d0f52274 Clean up barback tests.
This defines a more DSL-like API for AssetGraph tests. It also handles
build results more cleanly.

R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24734 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 17:44:14 +00:00
janicejl@google.com 1707850c87 Removed ArgResult in lib/docgen.dart and removed top level variables.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24711 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 00:56:38 +00:00
kevmoo@j832.com fac36cf0a8 pkg/unittest: cleanup to InteractiveHtmlConfiguration
fixed dart2js

R=gram@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24708 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 22:32:54 +00:00
scheglov@google.com 69eaca5ebd Simplify constructors translation, improve code style.
This CL stops generating and using "_impl" methods with constructor implementation.
This is actually required only locally, when there are other statements aside of redirecting constructor invocation.
So, this may be done later, during constructors optimizing in ConstructorSemanticProcessor.
For now we just transform placeholder of redirecting constructor invocation into the actual initializer.

Also, this CL adds more optimizations into ConstructorSemanticProcessor, such as:
1. removing empty constructor body;
2. enum constructor tweaks.

Plus new snapshot of analyzer_experimental with these changes in translation applied.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24701 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 17:45:11 +00:00
kustermann@google.com ce788c643f Mark pkg/mdv/test/custom_element_bindings_test as failing on dartium in debug mode
This is crashing the renderer on an assertion

Filed issue 11657

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24690 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 15:17:00 +00:00
ajohnsen@google.com 1a5ccabf14 Correctly url-decode the path segment in the http_server.
BUG=
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24677 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 11:08:17 +00:00
nweiz@google.com d3af1780d2 Roll back "Use package:stack_trace in unittest."
This reverts r24652, r24659, and r24661. r24652 triggered a crashing bug in all
the Dartium tests, so it's being reverted until that bug is fixed.

BUG=11649
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24669 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 23:12:23 +00:00
jmesserly@google.com 91f157ea62 [package:mdv] fix error from dartanalyzer
The ported code had a leftover "function() {".
TBR=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24668 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 22:51:18 +00:00
jmesserly@google.com ba4bf31f55 [package:mdv] Support binding to HTMLSelectElement.selectedIndex -- https://github.com/Polymer/mdv/commit/53a5d78b329b9a52ad9426bbd57b9322f42f1bd2
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24667 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 22:38:21 +00:00
jmesserly@google.com 89c18e96f0 [package:mdv] port createInstance change
HTMLTemplateElement.prototype.createInstance takes model & syntaxString, sets up bindings -- https://github.com/Polymer/mdv/commit/22c32ebfa84b6e08341b2e1af71a25b5bee4b2be

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24660 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 21:38:45 +00:00