summary refs log tree commit diff
path: root/src/cargo
AgeCommit message (Collapse)AuthorLines
2012-03-28Update crate URLs to point to interesting things.Graydon Hoare-1/+1
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-5/+5
2012-03-26Fix return-in-block in cargoMarijn Haverbeke-6/+4
Which is apparently not built as part of make check
2012-03-22Bump version numbers to 0.2Brian Anderson-1/+1
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-19/+19
2012-03-20Implement an initial version of placement new.Niko Matsakis-4/+4
2012-03-15cargo FIXMEsTim Chevalier-20/+32
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-1/+1
Instead of using the new_ prefix just name them after their type
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-48/+41
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-10cargo: Don't bail when signature verification failsBrian Anderson-3/+2
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"Patrick Walton-1/+0
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-02-28std: rewrite json.rs to fix bugs and use readers/writersErick Tryzelaar-12/+16
Our json implementation did not conform to the spec, and was missing support for escpaed characters and exponental numbers. This fixes it, and adds support for reading/writing json directly from/to a stream. There are two things left unimplemented. We could use a "to_json" iface/impl, but that really needs traits to cut down on code duplication. The other is it wouldn't be that not that hard to turn this implementation into a event driven parser like YAJL, but I ran into some type-inference bugs, so I cut that out. It'd be nice to revisit this in the future though.
2012-02-23Adjust fuzzer and cargo to changes in core::str APIMarijn Haverbeke-3/+3
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-4/+4
2012-02-23(core::str) replace byte_index[_from] with index[_from]Kevin Cantu-8/+8
2012-02-23(core::char) rename slice -> slice_charsKevin Cantu-5/+5
2012-02-23(core::str) rename index -> index_charsKevin Cantu-2/+2
2012-02-23(core::str) mostly rename len -> len_charsKevin Cantu-4/+4
2012-02-20cargo: Install blobs to $sysroot/(bin|lib) on system-modeTycho Sci-6/+29
Issue #1795
2012-02-20cargo: Use system-mode by default except "install"Tycho Sci-30/+26
I think it is confused that you need to "cargo init" and "cargo sync" every time to setup local-level .cargo
2012-02-14cargo: Warn if "gpg" is not availableTycho Sci-0/+4
Closes #1643
2012-02-14cargo: Use $sysroot/bin/rustc to compile crateTycho Sci-3/+17
Closes #1806
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-4/+4
2012-02-11core: Change the argument order for vec::contains, vec::countBrian Anderson-1/+1
2012-02-11core: Rename vec::member to vec::contains to match str modBrian Anderson-1/+1
2012-02-11using str::index...Kevin Cantu-16/+18
2012-02-11core::str rename [r]index -> [r]index_bytesKevin Cantu-2/+2
2012-02-09cargo: Disable system mode per discussion on #1760Brian Anderson-0/+8
2012-02-09cargo: 2 modes -> 3 modes, and clarify themTycho Sci-20/+58
* -g or --mode=user to create/use .cargo under $HOME * -G or --mode=system to create/use .cargo under sysroot * by default, `cargo` uses .cargo under current working directory
2012-02-09cargo: Add local mode and use it by defaultTycho Sci-31/+62
2012-02-07String split renaming:Kevin Cantu-1/+1
* Renamed str::split -> str::split_byte * Renamed str::splitn -> str::splitn_byte * Renamed str::split_func -> str::split * Renamed str::split_char -> str::split_char * Renamed str::split_chars_iter -> str::split_char_iter * Added u8::is_ascii * Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")) * Fixed str::split_byte and str::splitn_byte so that they handle splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle "" as the others do
2012-02-01Rename str::char_slice -> str::sliceKevin Cantu-1/+1
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-4/+4
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 1Kevin Cantu-5/+7
2012-01-31Change option::t to optionTim Chevalier-12/+12
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-31Require alts to be exhaustiveTim Chevalier-0/+2
middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive.
2012-01-24rustc: Split diagnostics into "span diagnostics" and "diagnostics".Patrick Walton-1/+2
The former contain a codemap (which is per-crate), and the latter don't. This will be useful in order to allow more than one crate to be compiled in one run of the compiler.
2012-01-25suggest sync/init to user as appropriateGrahame Bowland-2/+22
2012-01-23cargo: Long linesBrian Anderson-1/+2
2012-01-23cargo: Remove unused imports - work around mystery resolve failureBrian Anderson-4/+1
2012-01-23Merge pull request #1628 from startling/cargo-descriptionsBrian Anderson-0/+14
Implemented package descriptions for cargo
2012-01-23Added a newline after each description.tim-1/+1
`<@graydon> maybe an extra newline to make the grouping clearer?`
2012-01-23Get `description` attribute for packages from json.tim-2/+9
2012-01-23s/block()/fn()/gNiko Matsakis-1/+1
2012-01-23Steps towards package descriptions.tim-0/+7
I added a description field for `package` objects (it's read from a literal string for now) and `print_pkg` now prints descriptions if they're there.
2012-01-23Don't reset the chpos/byte_pos to 0 in new_parser_from_source_str.Kevin Atkinson-1/+3
This correctly fixes issue #1362. chpos/byte_pos are now the offsets within a particular file, but rather the offsets within a virtual file with is formed by combing all of the modules within a crate. Thus, resetting them to 0 causes an overlap and hence, bogus source locations. Fix #1362 by moving chpos/byte_pos to parse_sess so that new_parser_from_source_str has access to them and hence can chose an initial value that is not already been used in the crate. Note that the trigger for bug 1361 was that syntax/ext/expand.rs calls parse_expr_from_source_str (which calls new_parser_from_source_str) using the same codemap as the current crate (and hence causing overlap with files in the crate as new_parser_from_source_str resets the chpos/byte_pos to 0).
2012-01-22Point to correct cargo-central.Matthew O'Connor-1/+1
2012-01-21[cargo] detect libs properlyElly Fong-Jones-6/+3
The change to do build and test in different directories broke library detection.