Commit Graph

143 Commits

Author SHA1 Message Date
Michael Sullivan
329eca6044 Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725. 2012-06-25 20:00:46 -07:00
Graydon Hoare
312faf31df Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this. 2012-06-21 16:44:10 -07:00
Eric Holk
51ba3518ec Remove some singleton vector appends. 2012-06-21 16:11:11 -07:00
Tim Chevalier
29330b5bda Comments only: annotate FIXMEs in cargo 2012-06-21 08:51:26 -07:00
Brian Anderson
4dcf84e4f4 Remove bind. Issue #2189 2012-06-20 17:27:28 -07:00
Paul Stansifer
1e36d216be Add the interner to parse_sess. 2012-06-15 12:41:41 -07:00
Brian Anderson
1db8515c08 Merge remote-tracking branch 'erickt/master' into incoming 2012-06-13 12:03:13 -07:00
Brian Anderson
ce750a7dbc Box AST idents 2012-06-13 11:30:45 -07:00
Erick Tryzelaar
78daa1540c cargo: Recursively copy install fragments
This is useful on OS X in order to handle the .dSYM files.
2012-06-13 09:36:33 -07:00
Erick Tryzelaar
dd17a98a09 Fix cargo not making ./.cargo dir 2012-06-13 09:35:10 -07:00
Erick Tryzelaar
065fa9a462 Make cargo a little more ideomatic 2012-06-13 09:34:43 -07:00
Erick Tryzelaar
b361f6c288 Fix json no-implicit-copy warnings 2012-06-12 18:10:19 -07:00
Erick Tryzelaar
f574cb4ac8 Clean up cargo imports. 2012-06-12 18:10:18 -07:00
Erick Tryzelaar
a816176eb5 std: Add a to_str impl for json::error. 2012-06-12 18:10:18 -07:00
Erick Tryzelaar
ac4ac328ee cargo: remove leading underscores 2012-06-12 18:10:18 -07:00
Brian Anderson
75adeaadb8 cargo: Do builds under ./.cargo/work in local mode
Doing builds outside of the cwd is breaking rustc's logic for
locating crates in ./.cargo/lib.

Ideally, cargo would not be changing directories at all.
2012-06-10 01:50:01 -07:00
Brian Anderson
88906cd097 cargo: Update for recent language changes 2012-06-09 21:01:11 -07:00
Brian Anderson
67eb4e978a Merge remote-tracking branch 'z0w0/cargo-deps'
Conflicts:
	src/cargo/cargo.rs
2012-06-09 19:51:29 -07:00
Brian Anderson
67885ac089 Revert "Merge remote-tracking branch 'z0w0/cargo-deps'"
This reverts commit 106fe8b5e8, reversing
changes made to 748bd12dc7.
2012-06-09 19:20:22 -07:00
Brian Anderson
6ea4047e50 Revert "cargo: Add a FIXME about immutability"
This reverts commit 978ff7972c.
2012-06-09 19:19:10 -07:00
Brian Anderson
978ff7972c cargo: Add a FIXME about immutability 2012-06-09 19:04:31 -07:00
Brian Anderson
106fe8b5e8 Merge remote-tracking branch 'z0w0/cargo-deps'
Conflicts:
	src/cargo/cargo.rs
2012-06-09 17:26:02 -07:00
Zack Corr
67e62b388c Cargo: Added experimental dependency support (solves from crate files) 2012-06-07 20:33:04 +10:00
Niko Matsakis
4490c99b11 avoid unnecessary by-mut-ref in cargo 2012-06-06 18:37:27 -07:00
Zack Corr
9187406da5 Cargo: Added new source scheme, added sources CLI management, added source dumping 2012-06-06 18:55:44 +10:00
Michael Sullivan
6396e2c3c3 Make vecs implicitly copyable for all of our projects. 2012-06-04 19:53:30 -07:00
Michael Sullivan
6d9dd055d1 Get rid of warnings from instantiating typarams with non-implicitly copyable types. 2012-06-04 16:35:32 -07:00
Brian Anderson
9b81dbfef3 cargo: Require hexidecimals in uuids 2012-06-02 23:57:32 -07:00
Brian Anderson
0746190826 cargo: Add test for is_uuid 2012-06-02 23:30:11 -07:00
Zack Corr
84fce7a527 Fix cargo to uninstall binaries by name correctly 2012-06-02 20:54:39 -07:00
Zack Corr
3f983ca084 Fix cargo to install from archives correctly 2012-06-02 20:54:39 -07:00
Zack Corr
ce2719a4d9 Correct cargo usage line going over 78 chars 2012-06-02 20:54:39 -07:00
Zack Corr
54b8d5f1ab Cargo revamp: root in home directory, automatic init & sync for first time usage, uninstallation, improved installation usage and other usage changes. Closes #2475. Closes #1353. 2012-06-02 20:54:38 -07:00
Brian Anderson
736ff34e8a rustc: Move filesearch into metadata mod
It's not that related to metadata, but metadata needs it and it will
probably be useful for doing dynamic loading.
2012-05-29 20:38:49 -07:00
Erick Tryzelaar
7b36d66049 Allow installing arbitrary git cargos 2012-05-28 18:58:01 -07:00
Kevin Cantu
b7393ecdf2 (cargo) fix old typo for installation to libdir 2012-05-28 17:54:47 -07:00
Kevin Cantu
1aa0804637 (cargo) added a rough fix for installed exe permissions
Since `os::copy_file` wasn't preserving the executable permissions,
this reverts back to `run::run_program` and `cp` to install
the packages.
2012-05-27 10:48:19 -07:00
Kevin Cantu
50423e9545 (cargo) fixed a package installation bug, cleaned up usage
This fixes a bug where os::copy_file was called with a directory name, and
updates the command line options and usage messages for clarity.
2012-05-27 01:29:04 -07:00
Michael Sullivan
8668d06400 Get rid of many implicit copies as a preliminary to Issue #2448. 2012-05-25 16:39:35 -07:00
Erick Tryzelaar
047f629b31 Remove some dead code. 2012-05-19 10:08:43 -07:00
Eric Holk
0eed37da29 Using const vector slices for more vec functions. 2012-05-18 16:55:42 -07:00
Brian Anderson
1f52652a06 rustc: Eliminate some indirection to the syntax crate 2012-05-13 17:33:29 -07:00
Graydon Hoare
929c3dd710 Workarounds for bug #2280: add some temporaries for borrowing. 2012-04-24 15:19:01 -07:00
Marijn Haverbeke
9053f54498 Move map iface over to more for-friendly iteration methods 2012-04-23 15:18:19 +02:00
Brian Anderson
e3961df78d cargo: Discover crates in subdirectories 2012-04-21 15:46:05 -07:00
Brian Anderson
9a8a04629e syntax: Put the main parser interface in mod parse 2012-04-18 10:50:50 -07:00
Marijn Haverbeke
c902eafa14 Convert old-style for loops to new-style
Most could use the each method, but because of the hack used to
disambiguate old- and new-style loops, some had to use vec::each.

(This hack will go away soon.)

Issue #1619
2012-04-06 20:38:23 +02:00
Brian Anderson
d13c0c77a2 Explicitly use version 0.2 of crates 2012-04-05 20:29:42 -07:00
Graydon Hoare
0cf6b613d1 Mention --test in cargo usage string. Close #1452. 2012-04-04 18:40:41 -07:00
Tim Chevalier
fabd49bc2d Use os::copy_file in cargo 2012-04-02 22:57:28 -07:00