rnystrom@google.com
b12e27a4d2
Get rid of join() and encapsulate File and Directory in io.dart.
...
Review URL: https://codereview.chromium.org//12253054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18551 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 01:13:07 +00:00
rnystrom@google.com
ba326cd770
Get rid of old redundant methods in io.dart.
...
Now that we have pkg/path, we can ditch the old methods in io.dart
that do the same thing.
Review URL: https://codereview.chromium.org//12255016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18500 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 01:14:31 +00:00
rnystrom@google.com
b6d5dc7f5a
Make a bunch of stuff in pub synchronous.
...
Review URL: https://codereview.chromium.org//12079112
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18019 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-02 00:30:16 +00:00
lrn@google.com
9b23dff467
Reapply "Rename mappedBy to map."
...
This reverts commit r17907.
TBR.
Review URL: https://codereview.chromium.org//12090093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 15:12:56 +00:00
floitsch@google.com
b1a118d5ce
Revert "Rename mappedBy to map."
...
This reverts commit 17899.
Review URL: https://codereview.chromium.org//12087103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17907 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:02:27 +00:00
lrn@google.com
0dc2f4b1ba
Rename mappedBy to map.
...
Retain a deprecated mappedBy for now.
Change return type of mappedBy, skip and take on List to Iterable.
BUG= http://dartbug.com/8063
BUG= http://dartbug.com/8064
BUG= http://dartbug.com/6739
BUG= http://dartbug.com/7982
Review URL: https://codereview.chromium.org//12086062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17899 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 12:37:13 +00:00
rnystrom@google.com
344249b02f
Get rid of unneeded Future.immediate() calls.
...
Future.then() will now implicitly wrap the callback result in a
future if it isn't one, so this manual wrapping can be removed.
Also take advantage of the fact that Future.immediate() is always
async now and remove some workarounds.
Finally, noticed there were two copies of the git-related code
floating around so killed the old one.
Review URL: https://codereview.chromium.org//12042053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17519 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 01:13:36 +00:00
rnystrom@google.com
021b6438c5
Commit Martin's patch for pub + lib_v2.
...
Pub is still all kinds of broken with this, but it's slightly
less broken. Some tests pass, and at least the code *parses*
after this.
Review URL: https://codereview.chromium.org//11785028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16763 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 23:11:55 +00:00
floitsch@google.com
4a7dfd2da3
Big merge from experimental to bleeding edge.
...
Review URL: https://codereview.chromium.org//11783009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
nweiz@google.com
14c52ba5f1
Make listDir always emit paths within the given directory.
...
BUG=7346
Review URL: https://codereview.chromium.org//11553043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16275 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 19:00:12 +00:00
rnystrom@google.com
0f9bed70a5
Make pub publish more user friendly:
...
- Show the contents of their package.
- Let the confirm the upload even if there are no warnings.
- Make the error/warning text less scary.
- Validate that the pubspec has a version client-side.
Addresses #7175 and #7219 .
Review URL: https://codereview.chromium.org//11557008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16068 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 22:22:38 +00:00
rnystrom@google.com
f0154d3b5a
Fix #7330 .
...
Review URL: https://codereview.chromium.org//11558022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16056 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 19:49:26 +00:00
nweiz@google.com
6e4bb05e59
Add a validator that checks that the lib directory is not empty.
...
BUG=7045
Review URL: https://codereview.chromium.org//11543006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16010 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 00:54:17 +00:00