Commit Graph

1009 Commits

Author SHA1 Message Date
sethladd@google.com f9ee246abe Create a first-cut for a README for http package
BUG=
R=nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30838 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 00:41:10 +00:00
alanknight@google.com 03d0cd826f Generate docgen output along with api_docs as part of the build
R=danrubel@google.com, efortuna@google.com, kustermann@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30485 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 21:51:51 +00:00
floitsch@google.com 7c5a2a13cb Move unicode tests to utf package.
BUG= http://dartbug.com/2252
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30409 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 12:58:09 +00:00
ricow@google.com b55717e38c Land VERSION dependency for dart2js and dartdoc snapshot generation
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30144 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 08:53:06 +00:00
ricow@google.com a7b6c3e9c0 Reland 30137 - Fix version generation for dart2js
Not, without eating the first command line argument to dart2js

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30142 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 07:32:24 +00:00
ricow@google.com 93b46fd26f Revert 30138
Review URL: https://codereview.chromium.org//67943004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30139 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-10 12:15:44 +00:00
ricow@google.com c65bcc6816 Fix version generation for dart2js
Review notes:
This is not at all nice code, and create_snapthot.dart can be rafactored to make this nicer.
This is the least intrusive way I could do this.

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30138 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-10 12:02:06 +00:00
whesse@google.com 45cb921b08 Remove unmaintained utils/testrunner
BUG=dartbug.com/4226
R=efortuna@google.com, ricow@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29920 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 18:06:55 +00:00
whesse@google.com 3787f6d00e Return an absolute URI for Platform.script.
BUG=
R=ajohnsen@google.com, sgjesse@google.com

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

Reverted: https://code.google.com/p/dart/source/detail?r=29742

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29792 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 07:25:57 +00:00
sgjesse@google.com c38de04d0c Change dart:io Platform.script to return a Uri.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29651 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:29:01 +00:00
floitsch@google.com 7006de6f23 Remove deprecated parts of dart:async.
Attempt to fix most uses of the deprecated features.

R=floitsch@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29628 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:24:29 +00:00
whesse@google.com 4f08151090 Revert "Change dart:io Platform.script to return a Uri."
This reverts r29619 and r29624.  The changes look fine on the buildbot,
but need review before adding to the repository.

BUG=

TBR=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29627 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:17:37 +00:00
whesse@google.com cb0110350a Change dart:io Platform.script to return a URI. Change all uses of Platform.script to work with the new value.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29619 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:08:11 +00:00
whesse@google.com 8a86fc897f Remove uses of Options from utils directory.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29560 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 15:58:52 +00:00
lrn@google.com 41ff075e31 Remove deprecated dart:utf library.
BUG= http://dartbug.com/12843
R=fschneider@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29537 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 12:25:02 +00:00
lrn@google.com f0a1c922a2 Reapply "Remove @deprecated features."
R=scheglov@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29535 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 12:09:15 +00:00
vsm@google.com 95e272386c Use userAgent instead of webkitStartDart
This modifies our browser package and test scripts to use the
userAgent instead of webkitStartDart (which is gone) to determine if
we have native dart support.

I'm TBR-ing to get rid of a ton of warnings on the Dartium bots (they
are trying to run both native tests (successfully) and compiled-to-js
tests (warning no js file)).

E.g., see HttpServer warnings on this otherwise green run:

http://chromegw.corp.google.com/i/client.dart/builders/dartium-mac-inc-be/builds/634/steps/drt_core_checked_tests/logs/stdio

Siggi: you have comments elsewhere around removing/refactoring when
webkitStartDart is gone.  They are still there.

TBR=sigmund@google.com,ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29515 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 04:08:39 +00:00
whesse@google.com 13dad66877 Remove uses of dart:io Options in dart2js and dartdoc.
BUG=
R=ahe@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29456 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 16:36:19 +00:00
kevmoo@j832.com c42ec6584d pkg/unittest: remove testState
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29307 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-26 01:33:23 +00:00
scheglov@google.com 7ac0b7d0bd Rename analyzer_experimental to analyzer.
R=jmesserly@google.com, pquitslund@google.com, danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29302 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 23:59:38 +00:00
floitsch@google.com 6a72655d1b Very simple version of Isolates.
R=ajohnsen@google.com, iposva@google.com, kasperl@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29271 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 19:23:00 +00:00
lry@google.com 948743a78c Scanner for UTF-8 byte arrays
Introduces a SourceFile based on UTF-8 byte arrays and a scanner for
such source files.

Substrings are computed lazily. This should save some memory because
substring tokens in classes that are not used by some program are

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28843 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 06:40:07 +00:00
ajohnsen@google.com 326f48d476 Expand usage of defaultEncoding in HttpBody in the http_server package.
This fixes a few cases where other default encodings was used. Given
that we operate with the concept of a default encoding, to use that
encoding makes more sense.

BUG=https://code.google.com/p/dart/issues/detail?id=13928
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28453 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 14:08:55 +00:00
sra@google.com f28f2c5446 Get pegparser test to pass again
TBR=dgrove

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28193 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 03:28:57 +00:00
efortuna@google.com 68dd8869de Fix current dartdoc to not exclude mocking library.
BUG=
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26887 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 18:29:40 +00:00
floitsch@google.com 74da0c7286 Remove usage of dart:json.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
floitsch@google.com a1a91eb915 Add async_helper package.
This package is private and should not be published to pub (nor should
its documentation be published to api.dartlang.org).

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26774 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 09:24:50 +00:00
floitsch@google.com 1887b5ca49 Some more removals of dart:utf.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
floitsch@google.com 35d7140e66 Remove Encoding-enum from dart:io and add interface in dart:convert.
BUG= http://dartbug.com/6284
BUG= http://dartbug.com/7966
R=nweiz@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26632 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 10:37:25 +00:00
lrn@google.com 928a2e76d6 Remove use of "interface" in template.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26593 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 10:55:20 +00:00
kevmoo@j832.com 179c810f8a starting to work on unit test config interface
R=gram@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26215 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 20:48:32 +00:00
sgjesse@google.com ff7a0b95bd Fix Windows bugs in r26181
TBR=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26191 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 12:10:03 +00:00
sgjesse@google.com 353428a918 Remove the Path class from dart:io
The Path class in dart:io has been deprecated for some time
now. It was scheduled to be removed on August 11th, so here it
goes.

dart:io still uses the Path class internally, but now it is
private. I will trim it down to what is actually used in a
follow-up change.

R=ahe@google.com, devoncarew@google.com, whesse@google.com
BUG=http://dartbug.com/11666

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26181 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 10:10:53 +00:00
kustermann@google.com 315daf1d72 First CL for removing our dependency on the checked-in binary for building
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25809 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 10:52:57 +00:00
dgrove@google.com 36c699b863 Publish path package documentation.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25377 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 22:49:13 +00:00
ahe@google.com 216289bcb1 dart2js has its own snapshot.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25344 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 14:58:28 +00:00
dgrove@google.com 07b2fcffd4 Use path package rather than Path from dart:io .
R=ajohnsen@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25316 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 23:04:37 +00:00
nweiz@google.com 1b541506ff Roll forward "Use package:stack_trace in unittest."
This reverts r25135, and rolls forward r25131, r25132, and r25133.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25169 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 19:30:33 +00:00
nweiz@google.com e93476aa9d Roll back "Use package:stack_trace in unittest."
This reverts r25131, r25132, and r25133.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25135 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 23:55:46 +00:00
nweiz@google.com c7b527f8bc Roll forward "Use package:stack_trace in unittest."
This reverts r24669 and rolls forward r24652, r24659, and r24661.

BUG=11649
R=asiva@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25131 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 22:39:44 +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
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
nweiz@google.com 7b0ae79768 Use package:stack_trace in unittest.
R=gram@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24652 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 20:10:54 +00:00
rnystrom@google.com f1eded44e3 Don't generate docs for barback.
R=amouravski@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24483 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 17:57:31 +00:00
amouravski@google.com f9049d964a Remove ? operator from Apidoc
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24448 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 04:48:34 +00:00
janicejl@google.com 0bbe2c4920 Added --exclude-lib=docgen so that it does throw an error about markdown when building.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24421 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:49:11 +00:00
ajohnsen@google.com 0ef921b335 First push of a new 'http_server' dart package.
The package will contain helper-classes for writing http server, such as
VirtualDirectory, VirtualHost etc.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24281 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 11:22:31 +00:00
nweiz@google.com 66404438fc Add toUri and fromUri functions to pathos.
This also replaces the ubiqutous pathToFileUri/fileUriToPath functions.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24196 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 19:06:19 +00:00
asiva@google.com a12382dc22 Fix for issue 11112 align flags to formats used by other tools.
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23831 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 21:57:49 +00:00