]> git.lizzy.rs Git - rust.git/log
rust.git
11 years agoLong lines.
Luqman Aden [Mon, 18 Feb 2013 02:53:29 +0000 (21:53 -0500)]
Long lines.

11 years agolibsyntax: Update view_item_use/import to reflect actual usage
Luqman Aden [Mon, 18 Feb 2013 02:45:00 +0000 (21:45 -0500)]
libsyntax: Update view_item_use/import to reflect actual usage

11 years agoauto merge of #4993 : thestinger/rust/deque, r=graydon
bors [Sun, 17 Feb 2013 07:30:38 +0000 (23:30 -0800)]
auto merge of #4993 : thestinger/rust/deque, r=graydon

Closes #3748 and #2343.

11 years agoauto merge of #4978 : z0w0/rust/issue-607, r=graydon
bors [Sun, 17 Feb 2013 06:39:29 +0000 (22:39 -0800)]
auto merge of #4978 : z0w0/rust/issue-607, r=graydon

11 years agoauto merge of #4995 : sethpink/rust/obsolete-capture-clause, r=graydon
bors [Sun, 17 Feb 2013 03:56:33 +0000 (19:56 -0800)]
auto merge of #4995 : sethpink/rust/obsolete-capture-clause, r=graydon

Remove capture clause use. I think I got them all.

11 years agoRemoved more capture claueses.
Seth Pink [Sun, 17 Feb 2013 02:41:45 +0000 (12:41 +1000)]
Removed more capture claueses.

11 years agodeque: get rid of Copy requirement
Daniel Micay [Sun, 17 Feb 2013 02:34:38 +0000 (21:34 -0500)]
deque: get rid of Copy requirement

Closes #3748

11 years agodeque: avoid Copy in grow
Daniel Micay [Sun, 17 Feb 2013 02:34:09 +0000 (21:34 -0500)]
deque: avoid Copy in grow

11 years agodeque: avoid Copy for get
Daniel Micay [Sun, 17 Feb 2013 01:50:14 +0000 (20:50 -0500)]
deque: avoid Copy for get

11 years agoRemove use of capture clause #4965
Seth Pink [Sat, 16 Feb 2013 22:54:34 +0000 (08:54 +1000)]
Remove use of capture clause #4965

11 years agodeque: avoid Copy in pop_{front,back}
Daniel Micay [Sun, 17 Feb 2013 00:43:29 +0000 (19:43 -0500)]
deque: avoid Copy in pop_{front,back}

11 years agodeque: avoid Copy in peek_{front,back}
Daniel Micay [Sun, 17 Feb 2013 00:10:10 +0000 (19:10 -0500)]
deque: avoid Copy in peek_{front,back}

11 years agodeque: avoid Copy in the get function
Daniel Micay [Sun, 17 Feb 2013 00:03:27 +0000 (19:03 -0500)]
deque: avoid Copy in the get function

11 years agodeque: separate the methods that need Copy
Daniel Micay [Sun, 17 Feb 2013 00:00:51 +0000 (19:00 -0500)]
deque: separate the methods that need Copy

11 years agodeque: rm old return statements
Daniel Micay [Sat, 16 Feb 2013 23:57:45 +0000 (18:57 -0500)]
deque: rm old return statements

11 years agoadd a Mutable implementation (clear) to std::deque
Daniel Micay [Sat, 16 Feb 2013 23:55:25 +0000 (18:55 -0500)]
add a Mutable implementation (clear) to std::deque

11 years agomodernize std::deque
Daniel Micay [Sat, 16 Feb 2013 22:55:55 +0000 (17:55 -0500)]
modernize std::deque

* use a proper exported data type with private fields
* implement core::container::Container
* use the current constructor convention
* use explicit self
* get rid of DVec and the mutable fields

Closes #2343

11 years agoauto merge of #4977 : z0w0/rust/endianattr, r=catamorphism
bors [Sat, 16 Feb 2013 21:59:24 +0000 (13:59 -0800)]
auto merge of #4977 : z0w0/rust/endianattr, r=catamorphism

```rust
#[cfg(target_endian = "little")]
fn something() { /* .. */ }

#[cfg(target_endian = "big")]
fn something() { /* .. */ }
```

11 years agoauto merge of #4980 : pcwalton/rust/sizing-type-of, r=pcwalton
bors [Sat, 16 Feb 2013 21:03:25 +0000 (13:03 -0800)]
auto merge of #4980 : pcwalton/rust/sizing-type-of, r=pcwalton

...locking-servo

`simplify_type` was bogus, as there was no way for it to handle enums
properly. It was also slow, because it created many Rust types at runtime. In
general creating Rust types during trans is a source of slowness, and I'd like
to avoid doing it as much as possible. (It is probably not possible to
eliminate it entirely, due to `subst`, but we should get rid of as much of it
as we can.) So this patch replaces `simplify_type` with `sizing_type_of`,
which creates a size-equivalent LLVM type directly without going through a
Rust type first.

Because this is causing an ICE in Servo, I'm rubber stamping it.

11 years agoauto merge of #4976 : thestinger/rust/vim, r=nikomatsakis
bors [Sat, 16 Feb 2013 19:55:59 +0000 (11:55 -0800)]
auto merge of #4976 : thestinger/rust/vim, r=nikomatsakis

11 years agoauto merge of #4975 : thestinger/rust/rt, r=nikomatsakis
bors [Sat, 16 Feb 2013 19:03:58 +0000 (11:03 -0800)]
auto merge of #4975 : thestinger/rust/rt, r=nikomatsakis

11 years agolibrustc: Remove `simplify_type` and replace with `sizing_type_of`. rs=blocking-servo
Patrick Walton [Sat, 16 Feb 2013 17:43:16 +0000 (09:43 -0800)]
librustc: Remove `simplify_type` and replace with `sizing_type_of`. rs=blocking-servo

`simplify_type` was bogus, as there was no way for it to handle enums
properly. It was also slow, because it created many Rust types at runtime. In
general creating Rust types during trans is a source of slowness, and I'd like
to avoid doing it as much as possible. (It is probably not possible to
eliminate it entirely, due to `subst`, but we should get rid of as much of it
as we can.) So this patch replaces `simplify_type` with `sizing_type_of`,
which creates a size-equivalent LLVM type directly without going through a
Rust type first.

Because this is causing an ICE in Servo, I'm rubber stamping it.

11 years agoauto merge of #4891 : nikomatsakis/rust/region-syntax, r=nikomatsakis
bors [Sat, 16 Feb 2013 18:16:12 +0000 (10:16 -0800)]
auto merge of #4891 : nikomatsakis/rust/region-syntax, r=nikomatsakis

r? @graydon

11 years agosyntax: Implement recursive sorting of meta items. Closes #607
Zack Corr [Sat, 16 Feb 2013 14:31:57 +0000 (00:31 +1000)]
syntax: Implement recursive sorting of meta items. Closes #607

11 years agoupdate this test to use the new syntax entirely
Niko Matsakis [Thu, 14 Feb 2013 00:15:29 +0000 (16:15 -0800)]
update this test to use the new syntax entirely

11 years agoParse (and discard) lifetime declarations on function types
Niko Matsakis [Tue, 12 Feb 2013 23:01:29 +0000 (15:01 -0800)]
Parse (and discard) lifetime declarations on function types

11 years agoMake 'foo use font-lock-builtin-face, like module names, and make capitalized identif...
Niko Matsakis [Tue, 12 Feb 2013 22:39:11 +0000 (14:39 -0800)]
Make 'foo use font-lock-builtin-face, like module names, and make capitalized identifiers optionally use font-lock-type-face

11 years agoemacs mode: Highlight 'foo as a lifetime, not a character constant.
Niko Matsakis [Tue, 12 Feb 2013 00:33:44 +0000 (16:33 -0800)]
emacs mode: Highlight 'foo as a lifetime, not a character constant.

11 years agoPermit lifetimes to appear in type parameter lists and after `&`. Lifetimes in
Niko Matsakis [Tue, 12 Feb 2013 00:33:31 +0000 (16:33 -0800)]
Permit lifetimes to appear in type parameter lists and after `&`.  Lifetimes in
type parameter lists are currently ignored, but `&'a T` is equivalent to
`&a/T`.

11 years agoAdd target_endian crate cfg. Closes #4367
Zack Corr [Sat, 16 Feb 2013 11:58:21 +0000 (21:58 +1000)]
Add target_endian crate cfg. Closes #4367

11 years agovim: move keyword is gone
Daniel Micay [Sat, 16 Feb 2013 08:17:26 +0000 (03:17 -0500)]
vim: move keyword is gone

11 years agorm unused reserve_vec from rt (done in libcore)
Daniel Micay [Sat, 16 Feb 2013 07:56:00 +0000 (02:56 -0500)]
rm unused reserve_vec from rt (done in libcore)

11 years agoauto merge of #4973 : thestinger/rust/rt, r=brson
bors [Sat, 16 Feb 2013 06:06:48 +0000 (22:06 -0800)]
auto merge of #4973 : thestinger/rust/rt, r=brson

11 years agoauto merge of #4799 : graydon/rust/rustpkg, r=graydon
bors [Sat, 16 Feb 2013 02:53:18 +0000 (18:53 -0800)]
auto merge of #4799 : graydon/rust/rustpkg, r=graydon

Taking over where #4610 left off. Much rebasing and tidying.

11 years agorustpkg: Massage for landing.
Graydon Hoare [Tue, 5 Feb 2013 01:12:31 +0000 (17:12 -0800)]
rustpkg: Massage for landing.

11 years agorustpkg: Fix do listeners and support custom test logic
Zack Corr [Sat, 26 Jan 2013 12:00:39 +0000 (22:00 +1000)]
rustpkg: Fix do listeners and support custom test logic

11 years agorustpkg: Add info command for probing a pkg.rs and expose work_dir/src_dir in librustpkg
Zack Corr [Sat, 26 Jan 2013 08:35:10 +0000 (18:35 +1000)]
rustpkg: Add info command for probing a pkg.rs and expose work_dir/src_dir in librustpkg

11 years agorustpkg: Use pkg.rs instead of package.rs for consistency
Zack Corr [Sat, 26 Jan 2013 02:08:31 +0000 (12:08 +1000)]
rustpkg: Use pkg.rs instead of package.rs for consistency

11 years agoMove semver to std and finish rustpkg
Zack Corr [Wed, 23 Jan 2013 09:25:03 +0000 (19:25 +1000)]
Move semver to std and finish rustpkg

11 years agoCorrect Zack Corr's email in AUTHORS.txt
Zack Corr [Wed, 23 Jan 2013 09:20:51 +0000 (19:20 +1000)]
Correct Zack Corr's email in AUTHORS.txt

11 years agorustpkg: Clean up formatting issues
Zack Corr [Wed, 23 Jan 2013 06:38:05 +0000 (16:38 +1000)]
rustpkg: Clean up formatting issues

11 years agorustpkg: More fixes
Zack Corr [Wed, 23 Jan 2013 03:29:47 +0000 (13:29 +1000)]
rustpkg: More fixes

11 years agorustpkg: Add do command and get cmd listeners working correctly
Zack Corr [Wed, 23 Jan 2013 02:41:11 +0000 (12:41 +1000)]
rustpkg: Add do command and get cmd listeners working correctly

11 years agorustpkg: Add preliminary imperative API support
Zack Corr [Wed, 23 Jan 2013 01:19:13 +0000 (11:19 +1000)]
rustpkg: Add preliminary imperative API support

11 years agorustpkg: Finish all commands and declarative logic
Zack Corr [Sat, 19 Jan 2013 09:59:19 +0000 (19:59 +1000)]
rustpkg: Finish all commands and declarative logic

11 years agoAdd cmp::Ord implementation for semver::Version
Zack Corr [Sat, 19 Jan 2013 09:58:24 +0000 (19:58 +1000)]
Add cmp::Ord implementation for semver::Version

11 years agorustpkg: Finish declarative compiling and fetching via git or curl (no workcache...
Zack Corr [Fri, 18 Jan 2013 08:31:43 +0000 (18:31 +1000)]
rustpkg: Finish declarative compiling and fetching via git or curl (no workcache or dependency resolution yet)

11 years agorustpkg: Finish parsing package scripts and finish boilerplate
Zack Corr [Thu, 17 Jan 2013 09:05:19 +0000 (19:05 +1000)]
rustpkg: Finish parsing package scripts and finish boilerplate

11 years agorustpkg: Add package script parsing
Zack Corr [Wed, 16 Jan 2013 11:59:37 +0000 (21:59 +1000)]
rustpkg: Add package script parsing

11 years agorustpkg: More preliminary work
Zack Corr [Tue, 15 Jan 2013 13:57:03 +0000 (23:57 +1000)]
rustpkg: More preliminary work

11 years agoRename cargo to rustpkg and start over fresh
Zack Corr [Mon, 14 Jan 2013 10:55:47 +0000 (20:55 +1000)]
Rename cargo to rustpkg and start over fresh

11 years agoauto merge of #4957 : Kimundi/rust/incoming, r=catamorphism
bors [Sat, 16 Feb 2013 01:29:57 +0000 (17:29 -0800)]
auto merge of #4957 : Kimundi/rust/incoming, r=catamorphism

Moved them into own module and made them not depend on an Round trait impl for integers and generic math functions that can fail on integers any more.

11 years agoattempt to fix BSD breakage
Graydon Hoare [Sat, 16 Feb 2013 01:28:51 +0000 (17:28 -0800)]
attempt to fix BSD breakage

11 years agolibrustc: Stop parsing `impl Type : Trait` and fix several declarations that slipped...
Patrick Walton [Fri, 15 Feb 2013 05:17:26 +0000 (21:17 -0800)]
librustc: Stop parsing `impl Type : Trait` and fix several declarations that slipped through. r=tjc

11 years agorm unused hash table from the runtime
Daniel Micay [Fri, 15 Feb 2013 23:22:34 +0000 (18:22 -0500)]
rm unused hash table from the runtime

11 years agoauto merge of #4969 : nickdesaulniers/rust/issue3869, r=brson
bors [Fri, 15 Feb 2013 21:54:49 +0000 (13:54 -0800)]
auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brson

Issue #3869
review? @nikomatsakis

Convert all uses of vec::slice to vec::view Issue #3869
Rename const_view to const_slice
Renamed mut_view to mut_slice
Fix windows build error.  `buf` is borrowed by the call to
`as_mut_buf()` and so we must invoke `slice()` outside of that
call.

11 years agoauto merge of #4964 : luqmana/rust/demove, r=graydon
bors [Fri, 15 Feb 2013 20:09:15 +0000 (12:09 -0800)]
auto merge of #4964 : luqmana/rust/demove, r=graydon

As per #4339/#3676 this pull removes all uses `move` and gets rid of parsing it in libsyntax.
So that's one more thing to cross off #4707

11 years agoauto merge of #4959 : thestinger/rust/map, r=graydon
bors [Fri, 15 Feb 2013 19:26:41 +0000 (11:26 -0800)]
auto merge of #4959 : thestinger/rust/map, r=graydon

11 years agoauto merge of #4958 : cpeterso/rust/reseed-rng, r=graydon
bors [Fri, 15 Feb 2013 18:06:12 +0000 (10:06 -0800)]
auto merge of #4958 : cpeterso/rust/reseed-rng, r=graydon

For Issue #4709:

**c531506 rt: rand.rs expects `rust_next()` to return `uint32_t`, not `size_t`**

rand.rs expects `rustrt::rand_next()` to return `u32`, but the `rand_next()` C function returns `size_t`: https://github.com/mozilla/rust/blob/ca71c6ec5bb8106121cbe33eec5a6a9ca7786039/src/libcore/rand.rs#L34

**f4320b6 move isaac RNG utility functions to new rust_rng.cpp file**
**665e900 encapsulate isaac RNG in `rust_rng` struct**

Move isaac's `randctx` into a `rust_rng` struct to make names similar to `rand::Rng` function names and prepare for auto-reseeding in the next commit.

**9a78dc9 reseed `rust_rng` after generating 32KB**

Precedents from other languages:
* Haskell's `GenAutoReseed` generator reseeds itself after generating 32KB: http://hackage.haskell.org/packages/archive/DRBG/0.1.2/doc/html/Crypto-Random-DRBG.html#t:GenAutoReseed

* Go's RNG reseeds itself after generating 1MB: https://code.google.com/p/go/source/browse/src/pkg/crypto/rand/rand_unix.go?name=go1.0.3#94

**9a76d71 don't deplete RNG entropy when there is only one runnable task**

`rust_sched_loop::schedule_task()` unnecessarily calls `isaac_rand()` for the common case when there is only 1 runnable task, thus depleting RNG entropy and incurring unnecessary overhead.

11 years agoFix windows build error. `buf` is borrowed by the call to
Niko Matsakis [Wed, 13 Feb 2013 19:21:22 +0000 (11:21 -0800)]
Fix windows build error.  `buf` is borrowed by the call to
`as_mut_buf()` and so we must invoke `slice()` outside of that
call.

11 years agoRemoved `has_*` predicates from NumStrConv trait
Marvin Löbel [Fri, 15 Feb 2013 12:39:51 +0000 (13:39 +0100)]
Removed `has_*` predicates from NumStrConv trait
Moved `is_*` predicates into standalone functions

11 years agolibsyntax: Remove move as a keyword.
Luqman Aden [Fri, 15 Feb 2013 10:49:32 +0000 (02:49 -0800)]
libsyntax: Remove move as a keyword.

11 years agotests/tutorials: Get rid of `move`.
Luqman Aden [Fri, 15 Feb 2013 10:44:18 +0000 (02:44 -0800)]
tests/tutorials: Get rid of `move`.

11 years agolibsyntax: Get rid of uses of `move` and don't parse it.
Luqman Aden [Fri, 15 Feb 2013 09:15:53 +0000 (01:15 -0800)]
libsyntax: Get rid of uses of `move` and don't parse it.

11 years agolibrustc: Get rid of `move`.
Luqman Aden [Fri, 15 Feb 2013 09:14:34 +0000 (04:14 -0500)]
librustc: Get rid of `move`.

11 years agocompiletest: Get rid of `move`.
Luqman Aden [Fri, 15 Feb 2013 09:11:38 +0000 (01:11 -0800)]
compiletest: Get rid of `move`.

11 years agolibcore: Get rid of `move`.
Luqman Aden [Fri, 15 Feb 2013 08:51:28 +0000 (03:51 -0500)]
libcore: Get rid of `move`.

11 years agolibrustdoc: Get rid of `move`.
Luqman Aden [Fri, 15 Feb 2013 08:37:08 +0000 (00:37 -0800)]
librustdoc: Get rid of `move`.

11 years agolibcargo: Get rid of `move`.
Luqman Aden [Fri, 15 Feb 2013 08:27:41 +0000 (00:27 -0800)]
libcargo: Get rid of `move`.

11 years agolibstd: Fix broken test.
Luqman Aden [Fri, 15 Feb 2013 08:18:22 +0000 (00:18 -0800)]
libstd: Fix broken test.

11 years agolibstd: Get rid of `move`.
Luqman Aden [Fri, 15 Feb 2013 07:30:30 +0000 (02:30 -0500)]
libstd: Get rid of `move`.

11 years agoadd reserve_at_least method to LinearMap/LinearSet
Daniel Micay [Fri, 15 Feb 2013 06:35:15 +0000 (01:35 -0500)]
add reserve_at_least method to LinearMap/LinearSet

11 years agoauto merge of #4944 : catamorphism/rust/xxx-to-fixme, r=catamorphism
bors [Fri, 15 Feb 2013 07:11:13 +0000 (23:11 -0800)]
auto merge of #4944 : catamorphism/rust/xxx-to-fixme, r=catamorphism

11 years agorustc: De-XXX resolve and borrowck...
Tim Chevalier [Fri, 15 Feb 2013 02:37:25 +0000 (18:37 -0800)]
rustc: De-XXX resolve and borrowck...

and remove an un-needed hashmap from resolve

11 years agodon't deplete RNG entropy when there is only one runnable task
Chris Peterson [Thu, 14 Feb 2013 09:18:16 +0000 (01:18 -0800)]
don't deplete RNG entropy when there is only one runnable task

11 years agoreseed rust_rng after generating 32KB
Chris Peterson [Thu, 14 Feb 2013 09:11:59 +0000 (01:11 -0800)]
reseed rust_rng after generating 32KB

11 years agoencapsulate isaac RNG in rust_rng struct
Chris Peterson [Thu, 14 Feb 2013 08:48:40 +0000 (00:48 -0800)]
encapsulate isaac RNG in rust_rng struct

11 years agomove isaac RNG utility functions to new rust_rng.cpp file
Chris Peterson [Thu, 14 Feb 2013 08:37:01 +0000 (00:37 -0800)]
move isaac RNG utility functions to new rust_rng.cpp file

11 years agort: rand.rs expects rust_next() to return uint32_t, not size_t
Chris Peterson [Thu, 14 Feb 2013 07:55:30 +0000 (23:55 -0800)]
rt: rand.rs expects rust_next() to return uint32_t, not size_t

11 years agorm FIXME from LinearMap's to_bucket
Daniel Micay [Fri, 15 Feb 2013 05:55:46 +0000 (00:55 -0500)]
rm FIXME from LinearMap's to_bucket

There are no more poor hash functions left in the codebase, and it makes
sense to rely on there being a good hash function thanks to the
inclusion of SipHash and the ease of using it with custom types.

Closes #3041

11 years agoauto merge of #4941 : nickdesaulniers/rust/issue4524cleanup, r=catamorphism
bors [Fri, 15 Feb 2013 05:12:06 +0000 (21:12 -0800)]
auto merge of #4941 : nickdesaulniers/rust/issue4524cleanup, r=catamorphism

review? @brson
Issue #4524

11 years agotidy
Marvin Löbel [Fri, 15 Feb 2013 05:11:06 +0000 (06:11 +0100)]
tidy

11 years agoRemoved generic infinity, NaN and negative zero functions
Marvin Löbel [Fri, 15 Feb 2013 04:46:07 +0000 (05:46 +0100)]
Removed generic infinity, NaN and negative zero functions
Removed Round impl for integers

11 years agoLong lines, proper FIXME, inlining
Marvin Löbel [Fri, 15 Feb 2013 04:40:01 +0000 (05:40 +0100)]
Long lines, proper FIXME, inlining

11 years agoauto merge of #4940 : hansjorg/rust/manpage_06, r=catamorphism
bors [Fri, 15 Feb 2013 04:24:32 +0000 (20:24 -0800)]
auto merge of #4940 : hansjorg/rust/manpage_06, r=catamorphism

Updated the rustc manpage based on the usage message for 0.6 (including -Z options). Also added an example showing how to compile with debug info.

This targets incoming rather than master. #4936 can be closed.

11 years agoMade num <-> str conversion functions use NumStrConv trait
Marvin Löbel [Fri, 15 Feb 2013 04:20:36 +0000 (05:20 +0100)]
Made num <-> str conversion functions use NumStrConv trait

Removed hacky dependency on Round trait and generic infinity functions
Removed generic-runtime-failure-depending-on-type behavior

11 years agoAdded NumStrConv trait and impls for the string conversion functions
Marvin Löbel [Fri, 15 Feb 2013 03:40:32 +0000 (04:40 +0100)]
Added NumStrConv trait and impls for the string conversion functions

11 years agoauto merge of #4937 : luqmana/rust/remove-mut-addr-of, r=catamorphism
bors [Fri, 15 Feb 2013 03:16:07 +0000 (19:16 -0800)]
auto merge of #4937 : luqmana/rust/remove-mut-addr-of, r=catamorphism

11 years agolibcore: replace mut_addr_of properly on mac
Luqman Aden [Fri, 15 Feb 2013 02:34:54 +0000 (18:34 -0800)]
libcore: replace mut_addr_of properly on mac

11 years agolibcore: Remove ptr::mut_addr_of since &mut is coerced to *mut
Luqman Aden [Fri, 15 Feb 2013 00:00:04 +0000 (19:00 -0500)]
libcore: Remove ptr::mut_addr_of since &mut is coerced to *mut

11 years agoMoved numeric string conversion functions into own module
Marvin Löbel [Fri, 15 Feb 2013 02:29:36 +0000 (03:29 +0100)]
Moved numeric string conversion functions into own module

11 years agoauto merge of #4938 : thestinger/rust/no_zero, r=brson
bors [Fri, 15 Feb 2013 02:27:54 +0000 (18:27 -0800)]
auto merge of #4938 : thestinger/rust/no_zero, r=brson

I removed the unused wrappers methods named `calloc` because they relied on the malloc wrapper having a `bool zero = true` default parameter (which resulted in some accidental zeroing). Perhaps wrapping the actual calloc function would be useful, but I don't know of an existing use case that could use it so I just removed these.

This gives an ~1% performance improvement for TreeMap, which does a lot of small allocations. Vectors use `realloc` which didn't zero before these changes so there's no measurable change in performance.

11 years agocore: Clean up XXXes
Tim Chevalier [Fri, 15 Feb 2013 02:17:56 +0000 (18:17 -0800)]
core: Clean up XXXes

11 years agoremove die definition and use in doc tests
Nick Desaulniers [Fri, 15 Feb 2013 01:33:16 +0000 (17:33 -0800)]
remove die definition and use in doc tests

11 years agoauto merge of #4927 : sanxiyn/rust/remove-dvec, r=catamorphism
bors [Fri, 15 Feb 2013 01:23:18 +0000 (17:23 -0800)]
auto merge of #4927 : sanxiyn/rust/remove-dvec, r=catamorphism

11 years agoauto merge of #4911 : lifthrasiir/rust/comment-exemptions, r=catamorphism
bors [Fri, 15 Feb 2013 00:34:38 +0000 (16:34 -0800)]
auto merge of #4911 : lifthrasiir/rust/comment-exemptions, r=catamorphism

This is a natural extension of #4887, and handles the following three cases:

~~~~
a line with only /s
////////////////////////////////////////////

a line with only /s followed by whitespace
////////////////////////////////////////////

a block comment with only *s between two /s
/********************************/
~~~~

11 years agoUpdate manpage based on current usage message
hansjorg [Fri, 15 Feb 2013 00:25:47 +0000 (01:25 +0100)]
Update manpage based on current usage message

11 years agoConvert all uses of vec::slice to vec::view Issue #3869
Nick Desaulniers [Fri, 8 Feb 2013 19:28:20 +0000 (11:28 -0800)]
Convert all uses of vec::slice to vec::view Issue #3869
Rename const_view to const_slice
Renamed mut_view to mut_slice

11 years agoauto merge of #4934 : nickdesaulniers/rust/issue4524cleanup, r=brson
bors [Thu, 14 Feb 2013 23:37:48 +0000 (15:37 -0800)]
auto merge of #4934 : nickdesaulniers/rust/issue4524cleanup, r=brson

review? @brson
Issue #4524

11 years agorm the unused calloc wrapper from memory_region
Daniel Micay [Thu, 14 Feb 2013 23:28:04 +0000 (18:28 -0500)]
rm the unused calloc wrapper from memory_region

it doesn't actually call calloc, so it's fairly pointless