]> git.lizzy.rs Git - rust.git/log
rust.git
10 years agoauto merge of #13015 : tbu-/rust/pr_remove_immut, r=alexcrichton
bors [Thu, 20 Mar 2014 14:06:45 +0000 (07:06 -0700)]
auto merge of #13015 : tbu-/rust/pr_remove_immut, r=alexcrichton

Remove std::cast::transmute_immut_unsafe.
It can be done in safe code using `as *T`.

10 years agoauto merge of #12686 : FlaPer87/rust/shared, r=nikomatsakis
bors [Thu, 20 Mar 2014 12:51:48 +0000 (05:51 -0700)]
auto merge of #12686 : FlaPer87/rust/shared, r=nikomatsakis

`Share` implies that all *reachable* content is *threadsafe*.

Threadsafe is defined as "exposing no operation that permits a data race if multiple threads have access to a &T pointer simultaneously". (NB: the type system should guarantee that if you have access to memory via a &T pointer, the only other way to gain access to that memory is through another &T pointer)...

Fixes #11781
cc #12577

What this PR will do
================

- [x] Add Share kind and
- [x]  Replace usages of Freeze with Share in bounds.
- [x] Add Unsafe<T> #12577
- [x] Forbid taking the address of a immutable static item with `Unsafe<T>` interior

What's left to do in a separate PR (after the snapshot)?
===========================================

- Remove `Freeze` completely

10 years agoauto merge of #12980 : cmr/rust/overhaul-stdio, r=thestinger
bors [Thu, 20 Mar 2014 11:36:50 +0000 (04:36 -0700)]
auto merge of #12980 : cmr/rust/overhaul-stdio, r=thestinger

this comes from a discussion on IRC where the split between stdin and stdout
seemed unnatural, and the fact that reading on stdin won't flush stdout, which
is unlike every other language (including C's stdio).

10 years agoauto merge of #13028 : thestinger/rust/vec_ng, r=huonw
bors [Thu, 20 Mar 2014 09:46:49 +0000 (02:46 -0700)]
auto merge of #13028 : thestinger/rust/vec_ng, r=huonw

Closes #12771

10 years agoA couple of fixes to vec_ng docs
Steven Fackler [Thu, 20 Mar 2014 06:01:08 +0000 (23:01 -0700)]
A couple of fixes to vec_ng docs

10 years agoMention Share in the tutorial
Flavio Percoco [Sun, 16 Mar 2014 12:24:33 +0000 (13:24 +0100)]
Mention Share in the tutorial

10 years agoMention share in guide-unsafe instead of freeze
Flavio Percoco [Sun, 16 Mar 2014 12:16:46 +0000 (13:16 +0100)]
Mention share in guide-unsafe instead of freeze

10 years agoMake atomics interior Unsafe<T>
Flavio Percoco [Fri, 14 Mar 2014 21:59:50 +0000 (22:59 +0100)]
Make atomics interior Unsafe<T>

10 years agoAllow static items that don't fulfill `Freeze`
Flavio Percoco [Fri, 14 Mar 2014 21:56:10 +0000 (22:56 +0100)]
Allow static items that don't fulfill `Freeze`

10 years agoForbid borrow of static items with unsafe interior
Flavio Percoco [Thu, 13 Mar 2014 00:02:31 +0000 (01:02 +0100)]
Forbid borrow of static items with unsafe interior

10 years agoGather loans for static items
Flavio Percoco [Fri, 14 Mar 2014 16:01:05 +0000 (17:01 +0100)]
Gather loans for static items

We currently gather loans for static items that are defined within
functions. This change enables loan gathering on static items declared
globally.

10 years agoLet ArcData use Unsafe<T>
Flavio Percoco [Tue, 11 Mar 2014 21:24:25 +0000 (22:24 +0100)]
Let ArcData use Unsafe<T>

10 years agoMake Cell and RefCell use Unsafe<T>
Flavio Percoco [Mon, 10 Mar 2014 21:55:37 +0000 (22:55 +0100)]
Make Cell and RefCell use Unsafe<T>

10 years agoAdd Unsafe<T> type
Flavio Percoco [Mon, 10 Mar 2014 21:55:15 +0000 (22:55 +0100)]
Add Unsafe<T> type

10 years agoRelax interner's Share bound
Flavio Percoco [Wed, 19 Mar 2014 14:14:08 +0000 (15:14 +0100)]
Relax interner's Share bound

The interner uses `RefCell` internally which opted out from Share.

10 years agoReplace Freeze bounds with Share bounds
Flavio Percoco [Fri, 7 Mar 2014 17:57:35 +0000 (18:57 +0100)]
Replace Freeze bounds with Share bounds

10 years agoMake `Rc`, `Cell` and `RefCell` NoShare
Flavio Percoco [Wed, 5 Mar 2014 21:09:38 +0000 (22:09 +0100)]
Make `Rc`, `Cell` and `RefCell` NoShare

10 years agoAdd a Share kind
Flavio Percoco [Mon, 3 Mar 2014 22:27:46 +0000 (23:27 +0100)]
Add a Share kind

Fixes #11781

10 years agorename std::vec_ng -> std::vec
Daniel Micay [Thu, 20 Mar 2014 07:35:51 +0000 (03:35 -0400)]
rename std::vec_ng -> std::vec

Closes #12771

10 years agoauto merge of #12854 : nick29581/rust/parse-enum-struct, r=alexcrichton
bors [Thu, 20 Mar 2014 07:41:54 +0000 (00:41 -0700)]
auto merge of #12854 : nick29581/rust/parse-enum-struct, r=alexcrichton

...where the field and variable are unified

10 years agoauto merge of #12772 : thestinger/rust/slice, r=alexcrichton
bors [Thu, 20 Mar 2014 06:21:49 +0000 (23:21 -0700)]
auto merge of #12772 : thestinger/rust/slice, r=alexcrichton

Closes #12702

10 years agorename std::vec -> std::slice
Daniel Micay [Sat, 8 Mar 2014 23:11:52 +0000 (18:11 -0500)]
rename std::vec -> std::slice

Closes #12702

10 years agostd: io: flush stdout on stdin read from tty
Corey Richardson [Thu, 20 Mar 2014 03:20:39 +0000 (23:20 -0400)]
std: io: flush stdout on stdin read from tty

10 years agoauto merge of #13013 : huonw/rust/tytrait, r=cmr
bors [Thu, 20 Mar 2014 03:21:48 +0000 (20:21 -0700)]
auto merge of #13013 : huonw/rust/tytrait, r=cmr

These variants occur rarely but inflate the whole enum for the other variants, leaving a lot of wasted space. In total this reduces `ty::sty` from 160 bytes to 96 (on a 64-bit platform).

After this, `ty_struct` and `ty_enum` are the largest variants, with the 80-byte `substs` being the major contributor.

10 years agoFix spans for enum-struct match arms
Nick Cameron [Wed, 12 Mar 2014 22:51:20 +0000 (15:51 -0700)]
Fix spans for enum-struct match arms

Correct spans for fields in enum struct arms where the field and variable are unified

10 years agoauto merge of #12770 : eddyb/rust/drop-tld, r=cmr
bors [Wed, 19 Mar 2014 20:01:49 +0000 (13:01 -0700)]
auto merge of #12770 : eddyb/rust/drop-tld, r=cmr

Sadly, this seems to make memory usage worse (unless `Vec<T>` makes it worse and this PR doesn't change that much, which is entirely possible).

10 years agoauto merge of #12879 : Aatch/rust/rustdoc-mod-privacy, r=alexcrichton
bors [Wed, 19 Mar 2014 17:11:54 +0000 (10:11 -0700)]
auto merge of #12879 : Aatch/rust/rustdoc-mod-privacy, r=alexcrichton

Modules don't actually inherit privacy, so anything other than Public should be considered private.

Fixes #12801

cc @cmr

10 years agoauto merge of #12762 : klutzy/rust/win-struct-abi, r=alexcrichton
bors [Wed, 19 Mar 2014 15:51:50 +0000 (08:51 -0700)]
auto merge of #12762 : klutzy/rust/win-struct-abi, r=alexcrichton

This fixes struct passing abi on x86 ffi: Structs are now passed
indirectly with byval attribute (as clang does).
Empty structs are also explicitly ignored rather than directly passed.

Fixes #5744
Fixes #11198
Fixes #11343

10 years agoRemove std::cast::transmute_immut_unsafe
Tobias Bucher [Wed, 19 Mar 2014 15:15:22 +0000 (16:15 +0100)]
Remove std::cast::transmute_immut_unsafe

It can be done in safe code using `as *T`.

10 years agoauto merge of #12982 : brson/rust/optiondocs, r=alexcrichton
bors [Wed, 19 Mar 2014 13:01:48 +0000 (06:01 -0700)]
auto merge of #12982 : brson/rust/optiondocs, r=alexcrichton

Various improvements. There's a lot more that can be done.

10 years agorustc: put ty_closure behind some indirection.
Huon Wilson [Wed, 19 Mar 2014 11:20:56 +0000 (22:20 +1100)]
rustc: put ty_closure behind some indirection.

This reduces the size of sty from 112 to 96; like with the ty_trait
variant, this variant of sty occurs rarely (~1%) so the benefits are
large and the costs small.

10 years agorustc: put ty_trait behind some indirection.
Huon Wilson [Wed, 19 Mar 2014 11:01:30 +0000 (22:01 +1100)]
rustc: put ty_trait behind some indirection.

This reduces ty::sty from 160 bytes to just 112, and some measurements
eddyb made suggest that the ty_trait variant occurs very
rarely (e.g. ~1% of all sty instances) hence this will result in a large
memory saving, and the cost of the indirection is unlikely to be an
issue.

10 years agoauto merge of #12955 : sfackler/rust/vec_ng-doc, r=alexcrichton
bors [Wed, 19 Mar 2014 08:41:43 +0000 (01:41 -0700)]
auto merge of #12955 : sfackler/rust/vec_ng-doc, r=alexcrichton

I also removed a couple of methods that were silly and added sort.

10 years agorustc: Fix x86 ffi for empty struct arguments
klutzy [Sun, 9 Mar 2014 06:42:22 +0000 (15:42 +0900)]
rustc: Fix x86 ffi for empty struct arguments

10 years agorustc: Fix x86 ffi for struct arguments
klutzy [Sat, 8 Mar 2014 02:23:06 +0000 (11:23 +0900)]
rustc: Fix x86 ffi for struct arguments

This fixes struct passing abi on x86 ffi: Structs are now passed
indirectly with byval attribute (as clang does).

10 years agoDiscard MTWT & interner tables from TLD after they stop being useful.
Eduard Burtescu [Sat, 8 Mar 2014 22:18:58 +0000 (00:18 +0200)]
Discard MTWT & interner tables from TLD after they stop being useful.

10 years agoDocify std::vec_ng
Steven Fackler [Sun, 16 Mar 2014 23:04:29 +0000 (16:04 -0700)]
Docify std::vec_ng

I also removed a couple of methods that were silly and added sort.

10 years agoauto merge of #12954 : brson/rust/atomicdocs, r=alexcrichton
bors [Wed, 19 Mar 2014 04:16:46 +0000 (21:16 -0700)]
auto merge of #12954 : brson/rust/atomicdocs, r=alexcrichton

This adds lots of docs to the atomics module. Two of the examples
are using the future atomics API (relying on `Share`) and are ignored temporarily.
I discovered a bug in the way AtomicBool's fetch_nand method is
implemented and fixed it by using the correct value for `true`.
I also fixed the implementation of AcqRel fences (it was only doing
a release barrier), and made a "relaxed" fence a failure.

10 years agostd: Improve option docs
Brian Anderson [Mon, 17 Mar 2014 01:43:47 +0000 (18:43 -0700)]
std: Improve option docs

10 years agoauto merge of #13006 : alexcrichton/rust/rollup, r=alexcrichton
bors [Wed, 19 Mar 2014 01:22:23 +0000 (18:22 -0700)]
auto merge of #13006 : alexcrichton/rust/rollup, r=alexcrichton

Closes #13008 (Made the `clone_from` implementation for `~T` reuse the `T` itself if possible)
Closes #13003 (Make method Vec::remove() public)
Closes #13002 (disallow duplicate methods in trait impls)
Closes #13000 (rustc: test: don't silently ignore bad benches)
Closes #12999 (rustc: buffer the output writer for -Z ast-json[-noexpand].)
Closes #12993 (syntax: Don't parameterize the the pretty printer)
Closes #12990 (`char` reference: s/character/Unicode scalar value/)
Closes #12987 (Move syntax-extension-hexfloat.rs)
Closes #12983 (Fix linkage1 test which fails due to --as-needed)
Closes #12978 (rustc: remove linker_private/linker_private_weak)
Closes #12976 (libsyntax: librustdoc: ignore utf-8 BOM in .rs files)
Closes #12973 (closes #12967 fix [en|de]coding of HashMap<K,V> where K is a numeric type)
Closes #12972 (Add impl IntoStr for ::std::vec_ng::Vec<Ascii>)
Closes #12968 (deny missing docs getopts)
Closes #12965 (Documentation and formatting changes for option.rs.)
Closes #12962 (Relax the memory ordering on the implementation of UnsafeArc)
Closes #12958 (Typo fixes.)
Closes #12950 (Docsprint: Document ops module, primarily Deref.)
Closes #12946 (rustdoc: Implement cross-crate searching)

10 years agoTest fixes from the rollup
Alex Crichton [Tue, 18 Mar 2014 21:03:45 +0000 (14:03 -0700)]
Test fixes from the rollup

10 years agoMade the `clone_from` implementation for `~T` reuse the `T` itself if
Marvin Löbel [Tue, 18 Mar 2014 22:16:21 +0000 (23:16 +0100)]
Made the `clone_from` implementation for `~T` reuse the `T` itself if
possible by also calling `clone_from` on it.

In general, `Clone` implementors that overwrite `clone_from`
should try to to use it recursivly for substructures.

10 years agorustdoc: Implement cross-crate searching
Alex Crichton [Sun, 16 Mar 2014 08:08:56 +0000 (01:08 -0700)]
rustdoc: Implement cross-crate searching

A major discoverability issue with rustdoc is that all crates have their
documentation built in isolation, so it's difficult when looking at the
documentation for libstd to learn that there's a libcollections crate with a
HashMap in it.

This commit moves rustdoc a little closer to improving the multiple crate
experience. This unifies all search indexes for all crates into one file so all
pages share the same search index. This allows searching to work across crates
in the same documentation directory (as the standard distribution is currently
built).

This strategy involves updating a shared file amongst many rustdoc processes, so
I implemented a simple file locking API for handling synchronization for updates
to the shared files.

cc #12554

10 years agoDocsprint: Document ops module, primarily Deref.
Matthew McPherrin [Sun, 16 Mar 2014 22:35:35 +0000 (15:35 -0700)]
Docsprint: Document ops module, primarily Deref.

10 years agoTypo fixes.
Lindsey Kuper [Mon, 17 Mar 2014 00:12:49 +0000 (20:12 -0400)]
Typo fixes.

10 years agoRelaxed the memory ordering on the implementation of UnsafeArc
Jonathan S [Mon, 17 Mar 2014 00:39:38 +0000 (19:39 -0500)]
Relaxed the memory ordering on the implementation of UnsafeArc

10 years agoDocumentation and formatting changes for option.rs.
Ziad Hatahet [Mon, 17 Mar 2014 03:42:25 +0000 (20:42 -0700)]
Documentation and formatting changes for option.rs.

10 years agodeny missing docs
Alan Andrade [Mon, 17 Mar 2014 05:53:54 +0000 (22:53 -0700)]
deny missing docs

10 years agoAdd impl IntoStr for ::std::vec_ng::Vec<Ascii>
Eunchong Yu [Mon, 17 Mar 2014 06:30:27 +0000 (15:30 +0900)]
Add impl IntoStr for ::std::vec_ng::Vec<Ascii>

10 years agocloses #12967 fix [en|de]coding of HashMap<K,V> where K is a numeric type
Jeff Olson [Mon, 17 Mar 2014 07:26:36 +0000 (00:26 -0700)]
closes #12967 fix [en|de]coding of HashMap<K,V> where K is a numeric type

serialize: ref #12697 minor adj. to last char check + prettyencode test

10 years agolibsyntax: librustdoc: ignore utf-8 BOM in .rs files
Liigo Zhuang [Tue, 18 Mar 2014 00:59:44 +0000 (08:59 +0800)]
libsyntax: librustdoc: ignore utf-8 BOM in .rs files
Closes #12974

10 years agorustc: remove obsolete linkage types
Ben Noordhuis [Mon, 17 Mar 2014 15:37:23 +0000 (16:37 +0100)]
rustc: remove obsolete linkage types

Remove obsolete linkage types from the llvm::Linkage enum.  The linkage
types are no-ops and weren't used inside rustc anyway.

10 years agorustc: remove linker_private/linker_private_weak
Ben Noordhuis [Sun, 16 Mar 2014 13:39:51 +0000 (14:39 +0100)]
rustc: remove linker_private/linker_private_weak

Remove the linker_private and linker_private_weak linkage attributes,
they have been superseded by private and private_weak and have been
removed in upstream LLVM in commit r203866.

10 years agoFix linkage1 test which fails due to --as-needed
Nick Cameron [Mon, 17 Mar 2014 21:54:35 +0000 (10:54 +1300)]
Fix linkage1 test which fails due to --as-needed

It appears that the --as-needed flag to linkers will not pull in a dynamic library unless it satisfies a non weak undefined symbol. The linkage1 test was creating a dynamic library where it was only used for a weak-symbol as part of an executable, so the dynamic library was getting discarded.

This commit adds another symbol to the library which satisfies a strong undefined symbol, so the library is pulled in to resolve the weak reference.

10 years agoMove syntax-extension-hexfloat.rs
Nick Cameron [Tue, 18 Mar 2014 01:21:35 +0000 (14:21 +1300)]
Move syntax-extension-hexfloat.rs

Move syntax-extension-hexfloat.rs to run-pass-fulldeps so it depends on libhexfloat being compiled before running.

10 years ago`char`: s/character/Unicode scalar value/
Simon Sapin [Tue, 18 Mar 2014 04:19:18 +0000 (12:19 +0800)]
`char`: s/character/Unicode scalar value/

Tweak the definition of `char` to use the appropriate Unicode terminology.

10 years agosyntax: Don't parameterize the the pretty printer
Alex Crichton [Tue, 18 Mar 2014 05:27:37 +0000 (22:27 -0700)]
syntax: Don't parameterize the the pretty printer

The pretty printer constitues an enormous amount of code, there's no reason for
it to be generic. This just least to a huge amount of metadata which isn't
necessary. Instead, this change migrates the pretty printer to using a trait
object instead.

Closes #12985

10 years agorustc: buffer the output writer for -Z ast-json[-noexpand].
Huon Wilson [Tue, 18 Mar 2014 12:40:07 +0000 (23:40 +1100)]
rustc: buffer the output writer for -Z ast-json[-noexpand].

This takes the time for `rustc libstd/lib.rs -Z ast-json-noexpand >
file.json` from 9.0s to 3.5s (~0.5s spent parsing etc.) and `-Z
ast-json` from 11s to 5s (~1.5s spent parsing and expanding).

10 years agorustc: test: don't silently ignore bad benches
Corey Richardson [Tue, 18 Mar 2014 13:20:30 +0000 (09:20 -0400)]
rustc: test: don't silently ignore bad benches

This is adequate because when a function has a type that isn't caught here,
that is, it has a single argument, but it *isn't* `&mut BenchHarness`, it
errors later on with:

     error: mismatched types: expected `fn(&mut test::BenchHarness)` but found
     `fn(int)` (expected &-ptr but found int)

which I consider acceptable.

Closes #12997

10 years agoremove duplicate methods in impls
Corey Richardson [Tue, 18 Mar 2014 16:04:23 +0000 (12:04 -0400)]
remove duplicate methods in impls

10 years agorustc: disallow duplicate methods in trait impls
Corey Richardson [Tue, 18 Mar 2014 14:42:23 +0000 (10:42 -0400)]
rustc: disallow duplicate methods in trait impls

Closes #8153

10 years agoauto merge of #12994 : alexcrichton/rust/fix-android, r=huonw
bors [Tue, 18 Mar 2014 18:52:31 +0000 (11:52 -0700)]
auto merge of #12994 : alexcrichton/rust/fix-android, r=huonw

This compile-fail test didn't have a main function for architectures other than
x86

10 years agoMake method Vec::remove() public
Jorge Aparicio [Tue, 18 Mar 2014 16:53:32 +0000 (11:53 -0500)]
Make method Vec::remove() public

10 years agotest: Fix android tests
Alex Crichton [Tue, 18 Mar 2014 07:09:12 +0000 (00:09 -0700)]
test: Fix android tests

This compile-fail test didn't have a main function for architectures other than
x86

10 years agostd: Improve docs for atomics. Fix two bugs
Brian Anderson [Sun, 16 Mar 2014 23:05:01 +0000 (16:05 -0700)]
std: Improve docs for atomics. Fix two bugs

This adds lots of docs to the atomics module. Two of the examples
are using the future atomics API and are ignored temporarily.
I discovered a bug in the way AtomicBool's fetch_nand method is
implemented and fixed it by using the correct value for `true`.
I also fixed the implementation of AcqRel fences (it was only doing
a release barrier), and made a "relaxed" fence a failure.

10 years agoauto merge of #12935 : lbonn/rust/nullenum, r=alexcrichton
bors [Mon, 17 Mar 2014 18:57:08 +0000 (11:57 -0700)]
auto merge of #12935 : lbonn/rust/nullenum, r=alexcrichton

Fix for #12560

10 years agoauto merge of #12742 : FlaPer87/rust/issue-11411-static-mut-slice, r=nikomatsakis
bors [Mon, 17 Mar 2014 16:57:06 +0000 (09:57 -0700)]
auto merge of #12742 : FlaPer87/rust/issue-11411-static-mut-slice, r=nikomatsakis

This PR enables the use of mutable slices in *mutable* static items. The work was started by @xales and I added a follow-up commit that moves the *immutable* restriction to the recently added `check_static`

Closes #11411

10 years agoauto merge of #12957 : lkuper/rust/docsprint, r=alexcrichton
bors [Mon, 17 Mar 2014 15:01:56 +0000 (08:01 -0700)]
auto merge of #12957 : lkuper/rust/docsprint, r=alexcrichton

10 years agoauto merge of #12951 : cadencemarseille/rust/issue-12943-remove-AtomicFlag, r=alexcri...
bors [Mon, 17 Mar 2014 12:17:02 +0000 (05:17 -0700)]
auto merge of #12951 : cadencemarseille/rust/issue-12943-remove-AtomicFlag, r=alexcrichton

fixes #12943

10 years agorustc: disallow trailing parentheses for nullary enum variants
Laurent Bonnans [Sun, 16 Mar 2014 15:07:39 +0000 (16:07 +0100)]
rustc: disallow trailing parentheses for nullary enum variants

Fixes #12560

10 years agoauto merge of #12735 : eddyb/rust/at-exodus-chapter-11, r=cmr
bors [Mon, 17 Mar 2014 09:11:56 +0000 (02:11 -0700)]
auto merge of #12735 : eddyb/rust/at-exodus-chapter-11, r=cmr

10 years agoFix rustdoc and tests.
Eduard Burtescu [Mon, 17 Mar 2014 07:55:41 +0000 (09:55 +0200)]
Fix rustdoc and tests.

10 years agoRefactor pprust a bit.
Eduard Burtescu [Sun, 16 Mar 2014 18:58:11 +0000 (20:58 +0200)]
Refactor pprust a bit.

10 years agoDe-@ codemap and diagnostic.
Eduard Burtescu [Sun, 16 Mar 2014 18:56:24 +0000 (20:56 +0200)]
De-@ codemap and diagnostic.

10 years agoDe-@ move maps and rework parts of trans.
Eduard Burtescu [Sat, 15 Mar 2014 20:29:34 +0000 (22:29 +0200)]
De-@ move maps and rework parts of trans.

10 years agoDe-@ gather_loans.
Eduard Burtescu [Fri, 14 Mar 2014 08:55:30 +0000 (10:55 +0200)]
De-@ gather_loans.

10 years agoDe-@ typeck::check::method.
Eduard Burtescu [Fri, 14 Mar 2014 08:44:03 +0000 (10:44 +0200)]
De-@ typeck::check::method.

10 years agoDe-@ resolve_lifetime.
Eduard Burtescu [Thu, 13 Mar 2014 20:16:27 +0000 (22:16 +0200)]
De-@ resolve_lifetime.

10 years agoDe-@ ParseSess uses.
Eduard Burtescu [Sun, 9 Mar 2014 14:54:34 +0000 (16:54 +0200)]
De-@ ParseSess uses.

10 years agoDe-@ CStore uses.
Eduard Burtescu [Sun, 9 Mar 2014 13:20:44 +0000 (15:20 +0200)]
De-@ CStore uses.

10 years agoDe-@ filesearch.
Eduard Burtescu [Sun, 9 Mar 2014 12:24:58 +0000 (14:24 +0200)]
De-@ filesearch.

10 years agoDe-@ reachable.
Eduard Burtescu [Sun, 9 Mar 2014 11:42:22 +0000 (13:42 +0200)]
De-@ reachable.

10 years agoDe-@ trans contexts.
Eduard Burtescu [Thu, 6 Mar 2014 16:47:24 +0000 (18:47 +0200)]
De-@ trans contexts.

10 years agoDe-@ type checking contexts.
Eduard Burtescu [Thu, 6 Mar 2014 15:08:00 +0000 (17:08 +0200)]
De-@ type checking contexts.

10 years agoDe-@ liveness.
Eduard Burtescu [Thu, 6 Mar 2014 13:46:26 +0000 (15:46 +0200)]
De-@ liveness.

10 years agoDe-@ tyencode::ctxt and related parts of astencode.
Eduard Burtescu [Thu, 6 Mar 2014 03:28:28 +0000 (05:28 +0200)]
De-@ tyencode::ctxt and related parts of astencode.

10 years agoDe-@ ty::ctxt usage.
Eduard Burtescu [Thu, 6 Mar 2014 03:07:47 +0000 (05:07 +0200)]
De-@ ty::ctxt usage.

10 years agoDe-@ Session usage.
Eduard Burtescu [Wed, 5 Mar 2014 14:36:01 +0000 (16:36 +0200)]
De-@ Session usage.

10 years agoauto merge of #12945 : cadencemarseille/rust/vec_ng-as_mut_ptr, r=alexcrichton
bors [Mon, 17 Mar 2014 07:21:59 +0000 (00:21 -0700)]
auto merge of #12945 : cadencemarseille/rust/vec_ng-as_mut_ptr, r=alexcrichton

10 years agoauto merge of #12944 : mcpherrinm/rust/master, r=alexcrichton
bors [Mon, 17 Mar 2014 05:31:55 +0000 (22:31 -0700)]
auto merge of #12944 : mcpherrinm/rust/master, r=alexcrichton

10 years agoauto merge of #12942 : alan-andrade/rust/docathon-getopts, r=alexcrichton
bors [Mon, 17 Mar 2014 03:41:57 +0000 (20:41 -0700)]
auto merge of #12942 : alan-andrade/rust/docathon-getopts, r=alexcrichton

https://docs.google.com/spreadsheet/ccc?key=0An9tLRVf1SSfdE9jX1Q2QkhiUGVwTnh5YTJnMHVUYXc&usp=sharing#gid=6

10 years agoauto merge of #12940 : cadencemarseille/rust/time-doc, r=alexcrichton
bors [Mon, 17 Mar 2014 01:51:52 +0000 (18:51 -0700)]
auto merge of #12940 : cadencemarseille/rust/time-doc, r=alexcrichton

10 years agoModules are either public, or private, so private modules should be stripped out
James Miller [Fri, 14 Mar 2014 03:55:22 +0000 (16:55 +1300)]
Modules are either public, or private, so private modules should be stripped out

10 years agoauto merge of #12937 : sinistersnare/rust/method-error-message, r=huonw
bors [Mon, 17 Mar 2014 00:01:54 +0000 (17:01 -0700)]
auto merge of #12937 : sinistersnare/rust/method-error-message, r=huonw

its a common (yet easily fixable) error to just forget parens at the end of getter-like methods without any arguments.

The current error message for that case asks for an anonymous function, this patch adds a note asking for either an anonymous function, or for trailing parens.

This is my first contribution! do i need to do anything else?

10 years ago`strdup_uniq` doesn't have to be `pub`.
Lindsey Kuper [Sun, 16 Mar 2014 23:50:22 +0000 (19:50 -0400)]
`strdup_uniq` doesn't have to be `pub`.

10 years agoDoc-sprint: Document endian conversion functions
Matthew McPherrin [Sun, 16 Mar 2014 22:31:47 +0000 (15:31 -0700)]
Doc-sprint: Document endian conversion functions

10 years agoRemove AtomicFlag
Cadence Marseille [Sun, 16 Mar 2014 22:03:58 +0000 (18:03 -0400)]
Remove AtomicFlag

fixes #12943

10 years agoDocument the Tm struct and fields
Cadence Marseille [Sun, 16 Mar 2014 19:57:36 +0000 (15:57 -0400)]
Document the Tm struct and fields

10 years agoAdd method Vec<T>::as_mut_ptr()
Cadence Marseille [Sun, 16 Mar 2014 21:20:44 +0000 (17:20 -0400)]
Add method Vec<T>::as_mut_ptr()

10 years agoauto merge of #12931 : aochagavia/rust/option-take_unwrap, r=cmr
bors [Sun, 16 Mar 2014 21:11:26 +0000 (14:11 -0700)]
auto merge of #12931 : aochagavia/rust/option-take_unwrap, r=cmr

Using pattern matching instead of is_some + unwrap