Vijay Menon
1bd92d4f04
Train ddc snapshot on itself
...
This speeds up dartdevc on hello world from about 600ms to about 150ms.
OTOH, it also increases the snapshot size from ~4.6M to ~31M (the
latter is just under the size of the dart2js snapshot).
I tried this before. This may break again on windows - if so, i'll revert.
R=jakemac@google.com
Review-Url: https://codereview.chromium.org/2760043002 .
2017-03-20 18:51:37 -07:00
Peter von der Ahé
d1bdc9596d
Improve detection of compile-time errors.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2739213004 .
2017-03-10 14:14:49 +01:00
Peter von der Ahé
c19b49ff26
Move most of kernel-service.dart to package:front_end.
...
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2738253003 .
2017-03-10 13:10:28 +01:00
Peter von der Ahé
6176847e36
Consolidate analyzer dependencies.
...
This allows us to create a smaller .dill file for Fasta.
R=paulberry@google.com
Review-Url: https://codereview.chromium.org/2723113002 .
2017-03-02 12:59:47 +01:00
Peter von der Ahé
c59ecd801c
Remove package imports from itself.
...
Without this, we risk creating two different libraries at runtime. One
named file:///something/ and one named package:front_end/something.
These libraries are different and if enums from one gets mixed with
the other, you get very confusing errors (to apparently identical enums
aren't equal).
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2726793003 .
2017-03-02 12:34:46 +01:00
Vyacheslav Egorov
3b7a956e0c
VM: [Kernel] Pass correct parameters to fasta's TranslateUri.parse.
...
Signature is TranslateUri.parse(Uri sdk, [Uri uri]) so path to the packages
file should be passed as a second argument and not the first one.
R=kustermann@google.com
BUG=
Review-Url: https://codereview.chromium.org/2720693003 .
2017-02-27 14:00:54 +01:00
Vyacheslav Egorov
b026aed3cf
Remove dartk and DFE workers support from testing scripts and kernel-service.
...
We only support running -c dark and -c dartkp configuration through Kernel isolate and fasta in non-batch mode.
R=kustermann@google.com
BUG=
Review-Url: https://codereview.chromium.org/2721543003 .
2017-02-27 13:31:03 +01:00
Asger Feldthaus
8bfc4b47c0
Implement canonical name scheme in kernel.
...
This adds a class CanonicalName that can represent a library, class,
or member. All references now go through a Reference object, which is
linked to both the AST node and its CanonicalName, so either can be
created first.
dartk now accepts multiple input files:
- If multiple dart files are given, they are all compiled.
- If multiple binaries are given, they are linked together.
Mixed dart and binary input is not supported by dartk.
dartk now has a flag --include-sdk which includes the entire SDK in
the output. This is so the SDK can be compiled alone and then linked.
Example of compiling separately and then linking:
dartk foo.dart -o foo.dill
dartk main.dart -o main.dill
dartk --include-sdk -o sdk.dill
dartk main.dill foo.dill sdk.dill --target=vm --link -o program.dill
dartk still has incredibly slow cold start due to the analyzer loading
the dart sdk, so this does not actually speed things up at the moment.
BUG=
R=ahe@google.com , kmillikin@google.com , kustermann@google.com , sigmund@google.com
Review-Url: https://codereview.chromium.org/2665723002 .
2017-02-23 14:12:10 +01:00
Vijay Menon
019e16a7ad
Rerun format
...
Looks like I forgot to do this on my last cl.
TBR=jmesserly@google.com
Committed: 0c8704e1c7
Review-Url: https://codereview.chromium.org/2709613003 .
2017-02-21 16:07:01 -08:00
Vijay Menon
e4733ac145
Train ddc snapshot on itself
...
This speeds up dartdevc on hello world from about 600ms to about 150ms.
OTOH, it also increases the snapshot size from ~4.6M to ~31M (the
latter is just under the size of the dart2js snapshot).
R=jacobr@google.com
Review-Url: https://codereview.chromium.org/2707023002 .
2017-02-21 15:56:19 -08:00
Peter von der Ahé
d32f47b293
Implement line and column numbers.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2704753002 .
2017-02-20 10:04:12 +01:00
Martin Kustermann
d93928a6ce
Make dartk-{release,debug} builders work properly again
...
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2696613003 .
2017-02-14 14:01:58 +01:00
Peter von der Ahé
c13730e8ea
Pay some naming debt.
...
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2682993002 .
2017-02-09 13:10:24 +01:00
Vyacheslav Egorov
d5a11f3d34
[Kernel] Enable Kernel Isolate to use Fasta instead of DartK.
...
We are not switching yet, but now everybody can try fasta by doing:
$ dart -DDFE_USE_FASTA=true --dfe=utils/kernel-service.dart hello.dart
Note that when using fasta we expect that patched_sdk contains platform.dill
Kernel binary containing compiled patched sdk. This file can be obtained by
doing:
$ export DART_AOT_SDK=<path-to-patched_sdk>
$ dart pkg/front_end/lib/src/fasta/bin/compile_platform.dart \
${DART_AOT_SDK}/platform.dill
We are also adding --use-fasta to testing script to allow end-to-end testing
of fasta (though platform.dill file needs to be generated manually prior to
running tests):
$ tools/test.py -c dartk -m release -a x64 --nobatch --use-fasta
Current test status:
$ tools/test.py -c dartk -m release -a x64 --nobatch --use-fasta
[27:34 | 100% | +12566 | - 1941]
BUG=
R=ahe@google.com , kustermann@google.com
Review-Url: https://codereview.chromium.org/2684943003 .
2017-02-08 16:48:35 +01:00
Kevin Millikin
3057283f0c
Split the Kernel transformations into modular and global ones
...
Target-specific modular transformations have to be able to cope with
external libraries. Target-specific global transformations should be
optimizations, and not required for correctness, since a simple linker
may choose not to perform them.
Make mixin resolution modular by making it fail when a mixed-in class
comes from an external library. (We cannot mix in such a class because
we do not necessarily have all class members.)
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2671653003 .
2017-02-02 13:08:27 +01:00
Ryan Macnak
9eb216a495
Reapply "Create an app snapshot of the Dart front end."
...
Skip training on Windows, issue #28532 .
R=hausner@google.com
Review-Url: https://codereview.chromium.org/2665753002 .
2017-01-31 09:47:51 -08:00
Ryan Macnak
728f460798
Revert "Create an app snapshot of the Dart front end."
...
This reverts commit 8c7111c967
.
This reverts commit 27c8e59d2e
.
Review-Url: https://codereview.chromium.org/2657123002 .
2017-01-26 17:42:25 -08:00
Ryan Macnak
8c7111c967
Create an app snapshot of the Dart front end.
...
R=asiva@google.com , hausner@google.com , zra@google.com
Review-Url: https://codereview.chromium.org/2655173002 .
2017-01-26 16:28:59 -08:00
Ryan Macnak
26a364f998
Support spawnUri in app snapshots.
...
- Don't mark core_isolate_snapshot_buffer as a const pointer.
- Update app snapshots without code to not rewrite the VM isolate snapshot, as already done by app snapshots with code.
Fixes #28368
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2637193002 .
2017-01-17 15:59:41 -08:00
Ryan Macnak
12a3699301
Revert "Support spawnUri in app snapshots."
...
Failures on IA32.
This reverts commit c6ecfe1746
.
Review-Url: https://codereview.chromium.org/2631893002 .
2017-01-13 15:52:36 -08:00
Ryan Macnak
c6ecfe1746
Support spawnUri in app snapshots.
...
Don't mark core_isolate_snapshot_buffer as a const pointer.
Fixes #28368
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2623423007 .
2017-01-13 15:18:27 -08:00
Ryan Macnak
f89056f6cd
Revert "Support spawnUri in app snapshots."
...
This reverts commit 593d4504b0
.
This reverts commit 113aa64b98
.
This reverts commit 422afa2ead
.
Review-Url: https://codereview.chromium.org/2633543003 .
2017-01-13 11:02:44 -08:00
Ryan Macnak
593d4504b0
Support spawnUri in app snapshots.
...
Fixes #28368
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2628283002 .
2017-01-13 10:37:51 -08:00
Ryan Macnak
5062baffb6
Revert pub to script snapshots in the GN build. Fixes #28346 .
...
App snapshots do not yet support spawnUri (issue #28368 ).
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2621423004 .
2017-01-12 13:07:29 -08:00
Zachary Anderson
7f55ad8b86
Fuchsia: Allows building the full SDK for host and target.
...
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2571713004 .
2016-12-13 13:02:52 -08:00
Zachary Anderson
ccfafee023
Make list_files.py and list_dart_files.py return absolute paths for GN
...
This makes doing an SDK build in the Fuchsia tree easier.
The previous attempt at this change failed in gyp builds targeting xcode.
They failed because input lists for actions of the same target (e.g. the
actions for dartanalyzer) are merged and de-duped when the lists contain
relative paths, but merged and *not* de-duped when the lists contain
absolute paths. gyp rejects xcode files that it generated itself
when they contain duplicate entries.
This CL works around that bug, by using absolute paths in the GN build
and keeping relative paths in the gyp build.
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2567213002 .
2016-12-13 10:01:28 -08:00
Zachary Anderson
b873e2b8e3
Revert "Make list_files.py and list_dart_files.py return absolute paths"
...
This reverts commit a858542c89
.
mac gyp build fails.
Review-Url: https://codereview.chromium.org/2574523002 .
2016-12-12 13:14:53 -08:00
Zachary Anderson
a858542c89
Make list_files.py and list_dart_files.py return absolute paths
...
This makes doing an SDK build in the Fuchsia tree easier
R=johnmccutchan@google.com
Review-Url: https://codereview.chromium.org/2564413004 .
2016-12-12 13:09:26 -08:00
Ryan Macnak
13ba4b2710
When building app snapshots for the SDK, train dart2js on itself.
...
Don't train the analzyer on itself as this makes running the test suite slower.
Disable code collection when generating an app snapshot.
R=asiva@google.com
Review URL: https://codereview.chromium.org/2509453002 .
2016-11-16 09:10:22 -08:00
Zachary Anderson
90d3962ca3
Don't depend on dart_bootstrap if there is a usable prebuilt sdk
...
Also replace invoke_dart() with compiled_action(), and some other
cleanups.
fixes #27781
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2493833002 .
2016-11-10 11:16:24 -08:00
Zachary Anderson
e4e7e28c7f
GN: Fix build
...
DDC needs another argument to make --help work.
R=vsm@google.com
Review URL: https://codereview.chromium.org/2480573002 .
2016-11-03 14:51:00 -07:00
Zachary Anderson
f7799da7c5
GN: Fall back on dart_bootstrap where appropriate.
...
Review URL: https://codereview.chromium.org/2464153003 .
2016-11-01 12:59:36 -07:00
Zachary Anderson
8169499ef8
GN: Format more gn files
...
Missed these on the first pass.
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2454703004 .
2016-10-27 04:25:34 -07:00
Zachary Anderson
c1b08a0b97
GN: Try to fix Linux build on bots
...
Review URL: https://codereview.chromium.org/2449213003 .
2016-10-26 10:48:14 -07:00
Zachary Anderson
c1313a5ec7
Format GN files and add a presubmit check that GN is properly formatted
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2451613005 .
2016-10-26 08:50:54 -07:00
Zachary Anderson
c39525802e
GN: Fix build
...
GN is unhappy when a rule that consumes a file generated by
another rule doesn't depend directly on that rule.
This change also quiets output from invoking Dart to follow the
rule of GN builds that a successful build generates no output.
Review URL: https://codereview.chromium.org/2446473002 .
2016-10-22 00:05:39 -07:00
Ryan Macnak
af7bf4dab0
GN: Build the SDK with app snapshots instead of script snapshots.
...
R=zra@google.com
Review URL: https://codereview.chromium.org/2442513003 .
2016-10-21 17:40:21 -07:00
Zachary Anderson
ee21a2261d
Use list_dart_files.py instead of list_files.py in GN build.
...
To track https://codereview.chromium.org/2391863002/ on the
gyp side, and use it in more places.
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2392253002 .
2016-10-05 07:50:40 -07:00
Zach Anderson
9a6797e6ba
GN build on windows
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2385643004 .
2016-10-04 09:19:07 -07:00
Zachary Anderson
7c784cea9f
Linux create_sdk GN build for host
...
This CL enables GN builds of all targets from dart.gyp
on Linux for the host (i.e. ia32, x64).
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2379803002 .
2016-09-29 13:23:00 -07:00
William Hesse
1f97819b25
Add --packages flag when compiling dart2js snapshot
...
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org/2368073004 .
2016-09-26 18:48:26 +02:00
William Hesse
79b682b885
Add explicit package spec to snapshot build steps
...
BUG=
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2372573002 .
2016-09-26 15:52:31 +02:00
William Hesse
0695b1db3a
Remove package root target and support scripts
...
BUG=https://github.com/dart-lang/sdk/issues/23565
R=kustermann@google.com
Review URL: https://codereview.chromium.org/2346163005 .
2016-09-20 13:32:50 +02:00
Konstantin Shcheglov
f4fdf25cb1
Fix dartanalyzer.gyp for SDK summary generation.
...
R=paulberry@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/2341303004 .
2016-09-16 09:13:01 -07:00
William Hesse
61eee9ee52
Use checked-in .package file for building and testing
...
Stop creating [build dir]/packages directory with symbolic links.
BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com
Committed: 5d3e356ca7
Review URL: https://codereview.chromium.org/1746743002 .
Reverted: 6d238ba197
2016-09-16 15:03:18 +02:00
Konstantin Shcheglov
fa24d1caaa
Stop generating index information for SDK and simplify summary generation.
...
The implementation is still element model based, I will switch it to
the AST based approach in a following CL.
R=paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2345793002 .
2016-09-15 16:15:20 -07:00
William Hesse
6d238ba197
Revert "Use checked-in .package file for building and testing"
...
This reverts commit 5d3e356ca7
.
BUG=
R=eernst@google.com
Review URL: https://codereview.chromium.org/2340813004 .
2016-09-15 15:46:49 +02:00
William Hesse
5d3e356ca7
Use checked-in .package file for building and testing
...
Stop creating [build dir]/packages directory with symbolic links.
BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com
Review URL: https://codereview.chromium.org/1746743002 .
2016-09-15 14:50:30 +02:00
John Messerly
c1cde9600b
use pkg/dev_compiler in the build
2016-08-31 18:05:17 -07:00
Harry Terkelsen
1745ba77f5
fix all instances of "the the"
...
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org/1980573003 .
2016-05-13 12:38:25 -07:00
Paul Berry
b73e02db49
Add dev_compiler to the SDK build process.
...
Also update DEPS to bring the latest dev_compiler into the SDK.
This is a second attempt at
https://codereview.chromium.org/1777173003 , with the following fixes:
- Added .bat files for Windows.
- Added missing dependency: create_sdk_internal depends on
dartdevc.dart.snapshot.
- Used pkg_files.stamp to note the source code dependency for
dartdevc, so that we don't go beyond xcodebuild's input length
limit.
R=jmesserly@google.com
Review URL: https://codereview.chromium.org/1818543002 .
2016-03-18 13:09:11 -07:00
Paul Berry
ceec063f27
Revert "Add dev_compiler to the SDK build process."
...
This broke the Mac and Windows builds, for reasons I'm still
investigating.
This reverts commit 2ddf244819
.
TBR=jmesserly@google.com
Review URL: https://codereview.chromium.org/1813983003 .
2016-03-17 13:46:51 -07:00
Paul Berry
2ddf244819
Add dev_compiler to the SDK build process.
...
Also update DEPS to bring the latest dev_compiler into the SDK.
R=jmesserly@google.com , whesse@google.com
Review URL: https://codereview.chromium.org/1777173003 .
2016-03-17 11:14:35 -07:00
Konstantin Shcheglov
5a927c7373
Add hacks into build_sdk_summaries to workaround bugs in build tools.
...
Paul thinks that there is a bug in gyp or make, and we should generate
only one output. So, we generate the whole bundle with all summaries
and index information. And then we have separate actions that take
this bundle and extract one output each - spec.sum and strong.sum files.
R=paulberry@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1775973003 .
2016-03-09 11:37:17 -08:00
Paul Berry
1fa1b388c1
Fix incremental build of analyzer snapshot when pkg/analyzer changes.
...
Previously, changing a file in pkg/analyzer would not force a rebuild of
the analyzer snapshot, causing confusion during anayzer development.
R=scheglov@google.com
Review URL: https://codereview.chromium.org/1781473002 .
2016-03-08 14:04:21 -08:00
Konstantin Shcheglov
93393bba3b
Make 'generate_summaries' depend on the whole skd/lib folder.
...
R=whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1749813003 .
2016-03-01 11:17:06 -08:00
Konstantin Shcheglov
850e8d7309
Use --package-root when call build_sdk_summaries.dart script.
...
TBR
R=brianwilkerson@google.com ,whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1714973003 .
2016-02-19 19:51:38 -08:00
Konstantin Shcheglov
427f760c91
Build lib/_internal/analysis_summary during SDK build.
...
We cannot commit this CL right now, because we will attempt to use
these summaries by default, and they are incomplete yet. But I wanted
to see how to add something to the build process, and we might do
changes to make using SDK summaries optional initiallyand then commit
this CL.
R=paulberry@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1588093005 .
2016-02-19 19:06:22 -08:00
pq
9ae1265ff5
analyzer_cli
move to SDK.
...
Tracking bug: https://github.com/dart-lang/sdk/issues/24731
Note, dartium build changes are in a separate CL: https://codereview.chromium.org/1453413006/
Some tests had to be disabled for want of mockito in the SDK; tracking their reimplementation is here: https://github.com/dart-lang/sdk/issues/24994
BUG=24731
R=whesse@google.com
Review URL: https://codereview.chromium.org/1459683003 .
2015-11-19 14:52:54 -08:00
keertip
18b68f7290
remove docgen remnants from repo, update CHANGELOG
...
BUG=
R=alanknight@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//1361163002 .
2015-09-23 10:27:15 -07:00
keertip
c775149a5a
remove docgen source and targets from build
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org//1364553002 .
2015-09-22 15:10:18 -07:00
William Hesse
0cbe042935
Add .gitignore file for utils/dartdoc.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//1307903002 .
2015-08-21 13:50:59 +02:00
keertip
3865dd8748
create dartdoc snapshot, add to dart-sdk. Also add resources needed to run dartdoc from the sdk.
...
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org//1295073003 .
2015-08-19 08:02:41 -07:00
Sigmund Cherem
4ec3db6947
keep old location of libraries.dart in the generated SDK (fixes 23755)
...
R=kevmoo@google.com
Review URL: https://codereview.chromium.org//1216313002 .
2015-06-30 17:08:21 -07:00
Sigmund Cherem
b18c5a3e7c
sdk files reorganization to make dart2js a proper package
...
BUG=
R=brianwilkerson@google.com , floitsch@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//1212513002 .
2015-06-29 10:21:14 -07:00
Rico Wind
f3c6339206
Switch over testing pub seperately from the the normal packages
...
This will call a new test script that Natalie will fill in the blanks of for pub testing.
This also moves pub from third_party/pkg_tested into third_party/pkg.
The corresponding changes to the buildbot is here:
http://src.chromium.org/viewvc/chrome?revision=295555&view=revision
R=nweiz@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//1166093002 .
2015-06-09 08:12:51 +02:00
pq
2c5e890fc7
Build fixes.
...
Long tail of fixes related to moving out of `pkg_tested`.
R=paulberry@google.com
Review URL: https://codereview.chromium.org//1162423002
2015-06-03 14:03:15 -07:00
Natalie Weizenbaum
3d8c06c4e9
Start pulling pub from its own repo.
...
Pub now lives in third_party/pkg/pub (it's in pkg to make it possible to import
using "package:" imports).
R=ricow@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//1165473002
2015-05-29 14:50:18 -07:00
Natalie Weizenbaum
e7a1c3c585
Remove the core library stubbing infrastructure.
...
This hasn't been used in a long time. It's just clutter now.
R=ahe@google.com
Review URL: https://codereview.chromium.org//1134583005
2015-05-18 12:42:36 -07:00
pquitslund@google.com
4c03f25626
Analyzer build updates to use analyzer_cli.
...
The associated change to add analyzer_cli to DEPS is here:
https://codereview.chromium.org/1093173004/
R=brianwilkerson@google.com , paulberry@google.com , ricow@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//1100553003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45321 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-21 20:59:31 +00:00
rnystrom@google.com
6a3180b6bc
Fix path to dart_style.
...
R=tjblasi@google.com
Review URL: https://codereview.chromium.org//969463002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44109 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-27 23:26:24 +00:00
rnystrom@google.com
1cae12abdc
Switch dartfmt in the SDK to run dart_style.
...
BUG=https://code.google.com/p/dart/issues/detail?id=22400
R=pquitslund@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//950483002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44108 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-27 23:00:35 +00:00
nweiz@google.com
c8de060c54
Revert "Revert "Use native async/await support in pub.""
...
The VM now fully supports all the weird async stuff pub is doing, and all the
tests pass with native async/await!
Previous CLs were r43484 and r43483.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//937243002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43897 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-19 22:28:54 +00:00
nweiz@google.com
bbe0d9325c
Revert "Use native async/await support in pub."
...
This caused SDK compilation issues that may have obscured pub test failures as
well.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//887223007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43484 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 21:15:44 +00:00
nweiz@google.com
1835c63d0a
Use native async/await support in pub.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//896623005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43483 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 20:45:49 +00:00
nweiz@google.com
80e6b5be2c
Remove the http package from the repo.
...
This also does away with the pub_packages build target.
R=ahe@google.com , rnystrom@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//810223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42469 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 19:04:04 +00:00
alanknight@google.com
48ff3ccd27
Rename snapshot, other user-visible parts of docgen to dartdocgen.
...
BUG=
R=ricow@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41529
Committed: https://code.google.com/p/dart/source/detail?r=41571
Review URL: https://codereview.chromium.org//696123005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41573 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:41:25 +00:00
alanknight@google.com
57aede2e75
"Reverting 41571"
...
BUG=
Review URL: https://codereview.chromium.org//703203002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41572 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:27:52 +00:00
alanknight@google.com
b9be0df603
Rename snapshot, other user-visible parts of docgen to dartdocgen.
...
BUG=
R=ricow@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41529
Review URL: https://codereview.chromium.org//696123005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41571 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:15:10 +00:00
alanknight@google.com
844c55185c
"Reverting 41529"
...
BUG=
Review URL: https://codereview.chromium.org//707503003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41531 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 21:08:12 +00:00
alanknight@google.com
935058524b
Rename snapshot, other user-visible parts of docgen to dartdocgen.
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//696123005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41529 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 20:23:08 +00:00
johnniwinther@google.com
09fbe78e71
Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
...
BUG=
Review URL: https://codereview.chromium.org//694353007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41514 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:51:01 +00:00
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
gram@google.com
eccaec8f3b
Updated testrunner:
...
- works with latest SDK
- understand and works with pub and pubspecs
- tested on Linux, Mac and Windows
- has its own tests
There is still as issue on Windows, where using Process.start to run a .bat file is not terminating until the timeout kills the cmd.exe process. My suspicion is that this is am issue with Process, not testrunner. I have contacted whesse et al about this.
Review URL: https://codereview.chromium.org//14247033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21969 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 18:39:50 +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
johnniwinther@google.com
e27e3c8a62
Revert "Remove dartdoc specific methods from dart2js_mirror."
...
This reverts commit r21921.
BUG=
Review URL: https://codereview.chromium.org//14198010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21922 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 06:54:13 +00:00
johnniwinther@google.com
314a922c9e
Remove dartdoc specific methods from dart2js_mirror.
...
BUG=
Review URL: https://codereview.chromium.org//13956028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21921 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 06:36:08 +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
johnniwinther@google.com
f4f3958af1
Change MirrorSystem.libraries to Map<Uri, String>
...
BUG=
Review URL: https://codereview.chromium.org//13797002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21812 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 13:01:20 +00:00
rnystrom@google.com
6c9cc582ec
Use the cached pubspec if possible for describing hosted packages.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9027
Review URL: https://codereview.chromium.org//14241005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21777 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 22:29:44 +00:00
rnystrom@google.com
76cc853f06
Disable SDK constraint checking on bleeding edge.
...
BUG=
Review URL: https://codereview.chromium.org//14247026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21773 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 21:13:08 +00:00
nweiz@google.com
89cb31e4c4
Fix some warnings in pub and pkg packages.
...
Review URL: https://codereview.chromium.org//13817008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21701 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:24:47 +00:00
rnystrom@google.com
a204feb031
Fix type annotation.
...
Review URL: https://codereview.chromium.org//13933030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21700 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:12:59 +00:00
nweiz@google.com
da643164c5
Migrate pub away from throwing strings.
...
This also makes it a little more intelligent about which errors it prints what
information for.
BUG=9921
Review URL: https://codereview.chromium.org//14253005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21698 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:08:20 +00:00
rnystrom@google.com
fe71916d71
Switch to backtracking solver.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9260
Review URL: https://codereview.chromium.org//14232023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21690 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 18:32:20 +00:00
rnystrom@google.com
ff4ef8885b
Select packages that match SDK constraints.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9216
Review URL: https://codereview.chromium.org//14298006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21659 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 23:14:40 +00:00
rnystrom@google.com
a2b229b4a0
Revise based on feedback from previous patch.
...
Review URL: https://codereview.chromium.org//14249006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21644 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 18:36:31 +00:00
rnystrom@google.com
91edf93383
Disable backtracking solver.
...
Review URL: https://codereview.chromium.org//14308004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21572 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 20:20:35 +00:00
rnystrom@google.com
67239a998d
Use backtracking when solving dependency constraints.
...
Review URL: https://codereview.chromium.org//13095015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21563 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 18:34:45 +00:00
nweiz@google.com
a80a4ad3ad
Stop manually handling broken symlinks in listDir in pub.
...
Review URL: https://codereview.chromium.org//14187003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21529 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 23:24:20 +00:00
nweiz@google.com
ee5f6fc653
Use the dart:io IOSink API in pub.
...
Review URL: https://codereview.chromium.org//14266003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21525 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 22:59:30 +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
6c6ee276eb
Remove tests that don't work with asBroadcastStreams anymore.
...
Review URL: https://codereview.chromium.org//14110012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21515 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:08:09 +00:00
floitsch@google.com
a1e11534ec
First round of fixes.
...
Review URL: https://codereview.chromium.org//14263019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21501 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 19:31:41 +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
floitsch@google.com
e2ee353940
Rename unsubscribeOnError to cancelOnError.
...
Review URL: https://codereview.chromium.org//14251013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21469 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:07:36 +00:00
ajohnsen@google.com
b4eacbf8aa
Rename RandomAccessFile.readList and RandomAccessFile.writeList to RandomAccessFile.readInto and RandomAccessFile.writeFrom.
...
BUG=
Review URL: https://codereview.chromium.org//14018007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21466 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:44:41 +00:00
floitsch@google.com
759a366cea
Remove insertRange.
...
Review URL: https://codereview.chromium.org//13956006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21464 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:20:16 +00:00
lrn@google.com
485c8a5999
Move Iterable implementation to collection.
...
Add IterableMixin and IterableBase to dart:collection.
For now, the implementation is duplicated, because mixins and const
constructors don't mix. We hope that mixins will be improved in the
future to allow using the mixin to define the base class.
Review URL: https://codereview.chromium.org//14022007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21457 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 14:32:16 +00:00
floitsch@google.com
bebe3ac2cd
Refactor List.setRange function.
...
Review URL: https://codereview.chromium.org//13863012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21452 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 13:52:29 +00:00
ajohnsen@google.com
b09546b138
Don't delay IOSink.close() with no subscription to the next instance.
...
This fixes the issue with pub I found. Added TODO in pub, as
stdout/stderr doesn't really need wrapping anymore.
BUG=
Review URL: https://codereview.chromium.org//14261003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21431 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 11:21:08 +00:00
ajohnsen@google.com
e718657e85
Fix dartc tests and pub after IOSink change.
...
BUG=
Review URL: https://codereview.chromium.org//14259002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21420 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 08:25:55 +00:00
ajohnsen@google.com
67650cb16e
Remove .writeStream, .consume and rewrite IOSink to correctly implement a (sane) well-defined behaviour of the .done future.
...
BUG=
Review URL: https://codereview.chromium.org//14028017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21416 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 07:35:45 +00:00
floitsch@google.com
94fd64a5e2
Import math library with a prefix.
...
Review URL: https://codereview.chromium.org//14111004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21406 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-13 13:17:13 +00:00
ajohnsen@google.com
044f0d02eb
Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove.
...
BUG=
Review URL: https://codereview.chromium.org//14173003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21338 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 09:34:52 +00:00
floitsch@google.com
285849c801
Change hasSubscribers to hasListener.
...
Review URL: https://codereview.chromium.org//14103010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21337 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 09:30:05 +00:00
amouravski@google.com
f9e2907a23
Revert "Revert "Attempt to re-commit Dartdoc exports.""
...
This reverts commit 1340ca938883c2810fbc4e6d4ed4c52b68694faf.
Review URL: https://codereview.chromium.org//14194003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21320 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 22:42:55 +00:00
amouravski@google.com
e492c020ed
Revert "Attempt to re-commit Dartdoc exports."
...
This reverts commit fd5ad9b823fab60724ef00b68beaa7756873ccf0.
Review URL: https://codereview.chromium.org//13990004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21316 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 21:21:49 +00:00
amouravski@google.com
362cf71a5c
Attempt to re-commit Dartdoc exports.
...
Review URL: https://codereview.chromium.org//14088002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21313 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 21:14:15 +00:00
ajohnsen@google.com
dcaf52732e
Remove StreamSink(replaced by EventSink) and make IOSink extend EventSink.
...
With this change 'writeBytes' was renamed to 'add'.
BUG=
Review URL: https://codereview.chromium.org//14150002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21275 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 12:54:19 +00:00
lrn@google.com
f41508d33b
Added new version of reduce.
...
Removed min/max and uses of min/max.
Review URL: https://codereview.chromium.org//14071002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21258 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 08:32:31 +00:00
ricow@google.com
9fd1680aa5
Fix apidoc dependencies and reenable editor test
...
Add back full copy of lib/_internal
Also fix snapshot dependency on old dart2js snapshot location
Review URL: https://codereview.chromium.org//14155002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21257 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:47:18 +00:00
ricow@google.com
7f11fa7ebd
Mark oauth2/with_server_rejected_credentials_authenticates_again_test as flaky
...
Filed http://dartbug.com/9839
Review URL: https://codereview.chromium.org//14152003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21255 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:19:56 +00:00
ricow@google.com
00da866b33
Move the dart2js snapshot into bin directory of sdk root.
...
This is the first step in eliminating lib/_internal.
Review URL: https://codereview.chromium.org//13945008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21247 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 05:47:24 +00:00
nweiz@google.com
b9120c526d
Renumber a TODO from issue 4928 to issue 9832.
...
Review URL: https://codereview.chromium.org//14106004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21238 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:25:11 +00:00
rnystrom@google.com
68a5c9a803
Add flag to disable capturing stack traces.
...
BUG=http://dartbug.com/9697
Review URL: https://codereview.chromium.org//13839023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21237 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:20:43 +00:00
amouravski@google.com
3d7abb414a
Exclude the expect library from apidoc.
...
Review URL: https://codereview.chromium.org//13818019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21227 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 19:42:26 +00:00
ahe@google.com
adf844a4fe
Make only_in_release_mode read the environment variable directly.
...
BUG=http://dartbug.com/9821
Review URL: https://codereview.chromium.org//13919004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21211 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 15:44:11 +00:00
nweiz@google.com
d50f344915
Revert dartdoc documenting exports.
...
This is causing a bunch of weird build breakages and I'm not going to have time
to fix them all tonight.
Review URL: https://codereview.chromium.org//13986002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21177 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 01:01:08 +00:00
nweiz@google.com
8751525bae
Have dartdoc document exports.
...
BUG=9651
Review URL: https://codereview.chromium.org//13861024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21172 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 21:45:16 +00:00
ricow@google.com
14a6ddcacc
Remove some old leftover cleanup code
...
Review URL: https://codereview.chromium.org//13841010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21156 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 16:04:02 +00:00
ajohnsen@google.com
a323cd84cb
Revert "Have dartdoc document exports."
...
Revert "Fix the dartdoc build."
Revert "Really fix Dartdoc."
BUG=
Review URL: https://codereview.chromium.org//13811012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21139 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 08:59:39 +00:00
nweiz@google.com
46e1783cae
Really fix Dartdoc.
...
Review URL: https://codereview.chromium.org//13882002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21131 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 02:11:18 +00:00
nweiz@google.com
8db0ca07f4
Fix the dartdoc build.
...
Review URL: https://codereview.chromium.org//13878002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21128 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 01:14:25 +00:00
ahe@google.com
da25a12caf
Only build apidoc in release mode.
...
Review URL: https://codereview.chromium.org//13784002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21068 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:43:25 +00:00
ajohnsen@google.com
1bae12223b
Fix recursive directory-deletion of top-level files/links.
...
BUG=
Review URL: https://codereview.chromium.org//13771010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21060 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 11:30:33 +00:00
ahe@google.com
0f111680af
Fix dependencies of apidoc.
...
Review URL: https://codereview.chromium.org//13722007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21058 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:49:04 +00:00
kevmoo@j832.com
f2059edd6e
pub/validator/lib_test: use group instead of integration
...
All tests are now registered before the test system starts.
Review URL: https://codereview.chromium.org//13694002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21005 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 22:56:40 +00:00
floitsch@google.com
c93132625d
Fix for pub.
...
Review URL: https://codereview.chromium.org//13598017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20987 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:16:54 +00:00
floitsch@google.com
bef8ebb5f6
Add Iterable.fold (and Stream.fold) which replace reduce
.
...
For now this is just a copy. In a next step we will change the behavior of
`reduce`.
BUG= http://dartbug.com/9536
Review URL: https://codereview.chromium.org//13548002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20978 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:12:40 +00:00
sgjesse@google.com
e10bc2d3e0
Reapply "Add a sleep function to dart:io"
...
This reapplies r20952, r20953, r20954 together with hiding sleep from
dart:io in a number of tests.
R=ager@google.com
Review URL: https://codereview.chromium.org//13704003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20964 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 13:04:26 +00:00
ahe@google.com
43d9cdb340
Ensure apidoc exits with non-zero exit code when dart2js crashes.
...
Also, print the stack trace when dart2js crashes.
Review URL: https://codereview.chromium.org//13471015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20912 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 10:32:18 +00:00
nweiz@google.com
5e5d82725c
Split apart several asynchronous tests to reduce timeouts.
...
Review URL: https://codereview.chromium.org//13472016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20827 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 22:39:43 +00:00
amouravski@google.com
8a8de00b90
Changed pkg option to package-root.
...
pkg will remain in a deprecated state for the time being.
Review URL: https://codereview.chromium.org//13421002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20808 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 19:32:51 +00:00
nweiz@google.com
59a85239a7
Split up some slow pub tests and mark some scheduled_test tests as slow.
...
BUG=9231
Review URL: https://codereview.chromium.org//13375022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20758 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 23:20:11 +00:00
nweiz@google.com
2510e91be2
Fix a few bugs breaking the pub tests.
...
Review URL: https://codereview.chromium.org//13370003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20709 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:39:31 +00:00
nweiz@google.com
57bf732773
Always enable the friendly pub unittest config locally.
...
Review URL: https://codereview.chromium.org//13366002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20706 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:31:47 +00:00
nweiz@google.com
3569854b56
Rename the includeHiddenFiles parameter of listDir.
...
Review URL: https://codereview.chromium.org//13367002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20705 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:31:12 +00:00
nweiz@google.com
16367f141e
Work around issue 4928.
...
Review URL: https://codereview.chromium.org//13293006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20704 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:10:48 +00:00
nweiz@google.com
1049bd30dc
Replace defer() with Future.of in pub.
...
Review URL: https://codereview.chromium.org//13196007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20703 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:08:47 +00:00