Richo Healey
919889a1d6
Replace all ~"" with "".to_owned()
2014-04-18 17:25:34 -07:00
bors
cea8def620
auto merge of #13440 : huonw/rust/strbuf, r=alexcrichton
...
libstd: Implement `StrBuf`, a new string buffer type like `Vec`, and port all code over to use it.
Rebased & tests-fixed version of https://github.com/mozilla/rust/pull/13269
2014-04-10 21:01:41 -07:00
Huon Wilson
def90f43e2
Fix tests. Add Vec<u8> conversion to StrBuf.
2014-04-11 10:55:30 +10:00
Huon Wilson
6e63b12f5f
Remove some internal ~[] from several libraries.
...
Some straggling instances of `~[]` across a few different libs. Also,
remove some public ones from workcache.
2014-04-10 15:21:58 -07:00
Patrick Walton
d8e45ea7c0
libstd: Implement StrBuf, a new string buffer type like Vec, and
...
port all code over to use it.
2014-04-10 22:10:10 +10:00
Benjamin Herr
1700f359bc
libglob: only return dirs for globs ending in /
...
`foo.txt/` should not return `foo.txt` if `foo.txt` is in fact a text
file and not a directory.
2014-04-08 01:21:37 +02:00
Benjamin Herr
4051bd900a
libglob: allow "." and ".." to be matched
...
... also don't read the whole directory if the glob for that path
component doesn't contain any metacharacters.
Patterns like `../*.jpg` will work now, and `.*` will match both `.` and
`..` to be consistent with shell expansion.
As before: Just `*` still won't match `.` and `..`, while it will still
match dotfiles like `.git` by default.
2014-04-08 01:21:28 +02:00
Brian Anderson
0875ffcbff
Bump version to 0.11-pre
...
This also changes some of the download links in the documentation
to 'nightly'.
2014-04-03 16:28:46 -07:00
bors
bb31cb8d2e
auto merge of #13286 : alexcrichton/rust/release, r=brson
...
Merging the 0.10 release into the master branch.
2014-04-03 13:52:03 -07:00
Alex Crichton
52974bd695
glob: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
a5681d2590
Bump version to 0.10
2014-03-31 14:40:44 -07:00
Brian Anderson
451e8c1c61
Convert most code to new inner attribute syntax.
...
Closes #2569
2014-03-28 17:12:21 -07:00
Marvin Löbel
6200e761f0
Changed iter::Extendable and iter::FromIterator to take a Iterator by value
2014-03-25 21:49:55 +01:00
Daniel Micay
ae429056ff
iter: remove to_owned_vec
...
This needs to be removed as part of removing `~[T]`. Partial type hints
are now allowed, and will remove the need to add a version of this
method for `Vec<T>`. For now, this involves a few workarounds for
partial type hints not completely working.
2014-03-23 05:41:23 -04:00
Patrick Walton
af79a5aa7d
test: Make manual changes to deal with the fallout from removal of
...
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-21 23:37:21 +11:00
Alex Crichton
da3625161d
Removing imports of std::vec_ng::Vec
...
It's now in the prelude.
2014-03-20 09:30:14 -07:00
Steven Fackler
9106c15ffd
Add rustdoc html crate info
2014-03-15 14:26:12 -07:00
Huon Wilson
62792f09f2
lint: add lint for use of a ~[T].
...
This is useless at the moment (since pretty much every crate uses
`~[]`), but should help avoid regressions once completely removed from a
crate.
2014-03-14 11:28:39 +11:00
Piotr Czarnecki
0349f2ae8a
libstd: Change slice_shift_char, shift_char, pop_char, shift_byte and pop_byte to return an Option instead of failing
2014-03-10 13:55:02 +01:00
Huon Wilson
efaf4db24c
Transition to new Hash, removing IterBytes and std::to_bytes.
2014-02-24 07:44:10 +11:00
Alex Crichton
e72ddbdc25
Fix all code examples
2014-02-14 23:49:22 -08:00
Michael Darakananda
bf1464c413
Removed num::Orderable
2014-02-13 20:12:59 -05:00
Niko Matsakis
6f571a63a6
libglob -- patch closure where const borrow would have helped
2014-02-11 16:55:22 -05:00
Alex Crichton
c0e77dc2ee
glob: Remove io_error usage
2014-02-03 09:32:34 -08:00
David Manescu
93398d16ec
extra: move glob to libglob
...
In line with the dissolution of libextra - moves glob to its own library libglob.
Changes based on PR #11787 . Updates .gitignore to ignore doc/glob.
2014-01-29 17:23:28 +11:00