Commit graph

1088 commits

Author SHA1 Message Date
johnniwinther@google.com 8637cfd322 Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler"
This reverts commit r41512.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41513 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:15:26 +00:00
johnniwinther@google.com 2b336e17f0 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41512 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 07:09:04 +00:00
zra@google.com 0219bdb81a Regularize naming to make BUILD.gn files easier to write.
Review URL: https://codereview.chromium.org//703693002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41510 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-04 22:03:57 +00:00
ricow@google.com 687c90faa5 Depend on sdk/lib and runtime dart files through the dart vm implicitly
This long list of inputs is causing issues for xcode

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41458 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-03 15:26:26 +00:00
rnystrom@google.com 6cc5c28c66 Make the pub build step depend on the async/await compiled sources.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40125 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 22:39:49 +00:00
rnystrom@google.com 17c1642748 Store the async-await compiled pub code directly in the repo.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40041 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 16:55:16 +00:00
rnystrom@google.com 5167458d68 Skeleton code for running the forthcoming async/await compiler on pub.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39530 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-25 20:38:58 +00:00
pquitslund@google.com f187318978 Build bits to add an analysis_server snapshot to the SDK.
NOTE: as per a conversation with Kasper, this does NOT add any executables to the "bin" dir.  In this state the expectation is that the snapshot will be invoked directly via bin/dart.

R=kustermann@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39391 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-19 23:22:20 +00:00
nweiz@google.com b92dcc79cc Code review for r38255
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39215 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 19:18:30 +00:00
nweiz@google.com f067ad0dc8 Build core library stubs as part of building the SDK.
BUG=38265
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38302 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-16 19:11:14 +00:00
nweiz@google.com d8663eeeda Create a separate packages directory for running pub.
Once issue 6943 is fixed, the http package will start using pub's
cross-platform library support to work with both dart:io and
dart:html. However, this package is also used *within* pub, so we need
a way for pub to import it that doesn't require it being run through
pub.

This change supports this by stripping out and dart:html imports from
the http package and creating a special packages directory only used
by pub that uses this modified version.

BUG=20068
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38255 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 20:28:08 +00:00
ahe@google.com 1319c0a737 Create package for incremental compilation.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37653 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-24 11:22:27 +00:00
ahe@google.com 98523c01f8 Update imports to use package:compiler and package:try.
R=floitsch@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37538 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-20 10:33:46 +00:00
danrubel@google.com 521aef0d96 Replace Java based analyzer with Dart based analyzer when building SDK
* include analyzer dart files and snapshot in SDK
* modified bin/dartanalyzer to call dart based analyzer
* removed jar files in utils directory

BUG=dartbug.com/18289
R=ricow@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35604 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-30 23:09:14 +00:00
aprelev@gmail.com 35b1e3dbbe Fixes docgen build step on Windows.
Also addresses dartbug.com/4989 by using docgen from freshly created sdk.

BUG=dartbug.com/4989
BUG=dartbug.com/18392
R=alanknight@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35348 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 01:07:54 +00:00
ricow@google.com dcf45d898e Fix mac gyp generation by moving target to seperate file.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35256 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 13:01:48 +00:00
ricow@google.com 5080e18fc4 Create targets for dart2js files, pub files, pkg files.
We are seeing issues on mac 10.7 where the list of inputPaths in xcode files becomes to long (this is also dependent depth of your build directory).
The build silently fails without giving any error.

BUG:18333

Also see:
http://build.chromium.org/p/client.dart/builders/dart2js-safari-mac10.7-1-3-be/builds/4640/steps/Build%20SDK/logs/stdio

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35255 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 11:34:13 +00:00
kevmoo@google.com 2c977913a4 pkg/docgen: removed yaml and append output support
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35039 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-14 20:56:15 +00:00
kevmoo@google.com 946e787de7 Remove utils/tests/archive
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34788 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 17:57:33 +00:00
zra@google.com 2fe51715e5 Begins work on ARM64, first assembler test.
Most new code is in constants_arm64.h and
{assembler,disassembler,simulator}_arm64.{h,cc}

The rest of the CL just #def's out tests, modifies status files,
and adds UNIMPLEMENTED functions, etc.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34654 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 17:39:32 +00:00
kevmoo@google.com 02a50261e6 pkg/docgen: dir that look like packages, only document the contents of lib
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33773 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 20:41:47 +00:00
alanknight@google.com 5e60ca0020 Avoid documenting canonicalization 'example' library from polymer
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32768 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 22:37:22 +00:00
pquitslund@google.com fac5807133 dartfmt build file artifact .gitignores.
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32627 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 21:49:33 +00:00
pquitslund@google.com f3e7bc78fb R=danrubel@google.com, kustermann@google.com, ricow@google.com
Review URL: https://codereview.chromium.org//63363007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32512 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 19:03:08 +00:00
dgrove@google.com 7bed1bc4e9 Remove dartdoc.
R=alanknight@google.com, efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32388 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 22:47:26 +00:00
dgrove@google.com e19eef550e Step 1 in removing the old dartdoc code from repo.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32387 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 22:00:40 +00:00
johnniwinther@google.com 7b52480b56 Align source mirrors with runtime mirrors.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32195 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 14:15:26 +00:00
alanknight@google.com 3730236bdf Add a snapshot for docgen and use it in the build
R=efortuna@google.com, ricow@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32025 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 18:40:34 +00:00
terry@google.com d5257a2ae3 Removed obsolete code
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31747 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 17:21:47 +00:00
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
ricow@google.com 93e817b16c Add packages as a dependency for dart2js target
Since dartdoc depeneds on packages and we include it in the snapshot we need packages as a depenedency.

Currently tools/build.py -mrelease dart2js is broken if you do a clean build.

R=ahe@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23804 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 11:57:06 +00:00
amouravski@google.com 126fc37640 Makes snapshot smarter so that it can run dart2js on the client files.
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23702 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 17:40:48 +00:00
amouravski@google.com 6c96878cda Add dartdoc to the generated utils snapshot.
Lots of bad patches should be fixed in this change.

R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23655 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 20:32:11 +00:00
amouravski@google.com d86c72348b Roll back 16364004 and 16206027.
Review URL: https://codereview.chromium.org//16387004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23625 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 01:14:04 +00:00
amouravski@google.com 0d1be28061 Add dartdoc to the generated utils snapshot.
This is the same as r23575 (14135007), but fixed.

R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23622 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 00:32:31 +00:00
ricow@google.com 604f2ace70 Revert revision 23575.
This is causing failures in the test of dartdoc (on the editor bot)

The reason seems to be that we are generating a temporary nav.dart
file relative to the dartdocPath in sdk/lib/_internal/dartdoc/lib/
which we claim to be part of in
sdk/lib/_internal/dartdoc/lib/src/client/client-static.dart. 

This will not work since actual code has been snapshot.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23583 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 09:36:20 +00:00
ricow@google.com 950934a7e7 Add dartdoc to the generated utils snapshot
R=amouravski@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23575 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 06:06:29 +00:00
regis@google.com b7eb5aedbe Cleanup various test status files.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23450 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 00:39:37 +00:00
sgjesse@google.com 7841206de5 Change File.directory to not do any IO
Removed the File.directory and File.directorySync methods and added a
File.directory getter. The File.directory getter does not do any IO,
but just calculates the directory of the file from the path.

R=whesse@google.com
BUG=http://dartbug.com/9926

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23349 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:38:27 +00:00
antonm@google.com 4638137480 Switch from DRT to content shell.
R=kustermann@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23328 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 08:34:52 +00:00
sgjesse@google.com 724aec4086 Fix breakages from r23266
TBR=floitsch@google.com
BUG=

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23283 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:16:15 +00:00
sgjesse@google.com 783918095b Fix breakages from r23266
TBR=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23270 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:51:45 +00:00
sgjesse@google.com 9d6a64e81b Merge the dart:uri library into dart:core and update the Uri class
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.

* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization

R=floitsch@google.com, lrn@google.com, nweiz@google.com, scheglov@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +00:00
gram@google.com cef855bca6 Add a new --extra-lib option to apidoc that allows us to specify an explicit .dart file that should be included in the processing.
Change the gyp file to use --extra-lib for mock.dart.
Remove the import of mock.dart from unittest.dart.

R=amouravski@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22560 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:00:26 +00:00
ajohnsen@google.com d548955117 Enable parsing of IPv6 form addresse (see rfc2373 and rfc2732).
This also wraps the 'domain' component in toString with [...], if it
contains any ':' characters.

BUG=
R=floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22228 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-01 09:27:50 +00:00
sgjesse@google.com 2ef54d314a Add the ability to change the working directory
Directory.current have been changed from a factory constructor to a
getter and setter. The getter returns a Direcotry object holding the
current working directory. The setter changes the current working
directory of the Dart process.

R=whesse@google.com

BUG=https://code.google.com/p/dart/issues/detail?id=6316, https://code.google.com/p/dart/issues/detail?id=8893

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22116 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 12:43:53 +00:00
kustermann@google.com 0cd25239ef Use checked-in binary to call tools/version.dart
BUG=http://dartbug.com/10193

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22033 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 14:43:21 +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
nweiz@google.com 1dd302a00b Add a gitignore for pub's gyp outputs.
BUG=10191

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21992 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 22:19:21 +00:00
nweiz@google.com 8ce1364479 Have pub.gyp depend on the packages symlink directory.
TBR

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

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