Skip to content

Fix docs #5105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 251 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
5336bf6
made licenseck.py work for year substitutions
lifthrasiir Feb 14, 2013
7a6db3f
Remove DVec from syntax::parse
sanxiyn Feb 14, 2013
ae38935
Remove DVec from check_const
sanxiyn Feb 14, 2013
9324f49
Remove DVec from json
sanxiyn Feb 14, 2013
26697c3
Remove DVec from workcache
sanxiyn Feb 14, 2013
e8f36d5
librustc: Replace `impl Type : Trait` with `impl Trait for Type`. rs=…
pcwalton Feb 14, 2013
22e88d5
stop zeroing all exchange allocations
thestinger Feb 14, 2013
7103ca9
rm unused zero param in C++ exchange allocator
thestinger Feb 14, 2013
4699ac6
Remove all final references to die!
Feb 14, 2013
03743ee
auto merge of #4932 : pcwalton/rust/implflipping, r=pcwalton
bors Feb 14, 2013
f2f4edd
fix bug in uv_ll tests uncovered by not zeroing
thestinger Feb 14, 2013
2e06147
get rid of unused exchange_alloc calloc method
thestinger Feb 14, 2013
1a41b48
rm the unused calloc wrapper from memory_region
thestinger Feb 14, 2013
3c07d03
auto merge of #4934 : nickdesaulniers/rust/issue4524cleanup, r=brson
bors Feb 14, 2013
5d62a4a
Convert all uses of vec::slice to vec::view Issue #3869
Feb 8, 2013
afe73cc
Update manpage based on current usage message
hansjorg Feb 15, 2013
bf27352
auto merge of #4911 : lifthrasiir/rust/comment-exemptions, r=catamorp…
bors Feb 15, 2013
af2f0ef
auto merge of #4927 : sanxiyn/rust/remove-dvec, r=catamorphism
bors Feb 15, 2013
13fe167
remove die definition and use in doc tests
Feb 15, 2013
dcb98f4
core: Clean up XXXes
catamorphism Feb 15, 2013
20fd0c5
auto merge of #4938 : thestinger/rust/no_zero, r=brson
bors Feb 15, 2013
adac6cb
Moved numeric string conversion functions into own module
Kimundi Feb 15, 2013
cc89029
libcore: Remove ptr::mut_addr_of since &mut is coerced to *mut
luqmana Feb 15, 2013
206757f
libcore: replace mut_addr_of properly on mac
luqmana Feb 15, 2013
5a9da65
auto merge of #4937 : luqmana/rust/remove-mut-addr-of, r=catamorphism
bors Feb 15, 2013
26e0aaf
Added NumStrConv trait and impls for the string conversion functions
Kimundi Feb 15, 2013
bd93a36
Made num <-> str conversion functions use NumStrConv trait
Kimundi Feb 15, 2013
e87e4eb
auto merge of #4940 : hansjorg/rust/manpage_06, r=catamorphism
bors Feb 15, 2013
df36a8d
Long lines, proper FIXME, inlining
Kimundi Feb 15, 2013
3edc7c0
Removed generic infinity, NaN and negative zero functions
Kimundi Feb 15, 2013
a0846d4
tidy
Kimundi Feb 15, 2013
172c29f
auto merge of #4941 : nickdesaulniers/rust/issue4524cleanup, r=catamo…
bors Feb 15, 2013
1e809aa
rm FIXME from LinearMap's to_bucket
thestinger Feb 15, 2013
c531506
rt: rand.rs expects rust_next() to return uint32_t, not size_t
cpeterso Feb 14, 2013
f4320b6
move isaac RNG utility functions to new rust_rng.cpp file
cpeterso Feb 14, 2013
665e900
encapsulate isaac RNG in rust_rng struct
cpeterso Feb 14, 2013
9a78dc9
reseed rust_rng after generating 32KB
cpeterso Feb 14, 2013
9a76d71
don't deplete RNG entropy when there is only one runnable task
cpeterso Feb 14, 2013
3201c6f
rustc: De-XXX resolve and borrowck...
catamorphism Feb 15, 2013
9727008
auto merge of #4944 : catamorphism/rust/xxx-to-fixme, r=catamorphism
bors Feb 15, 2013
1561661
add reserve_at_least method to LinearMap/LinearSet
thestinger Feb 15, 2013
4cf51c2
libstd: Get rid of `move`.
luqmana Feb 15, 2013
0375748
libstd: Fix broken test.
luqmana Feb 15, 2013
4b7d27c
libcargo: Get rid of `move`.
luqmana Feb 15, 2013
78f3e0d
librustdoc: Get rid of `move`.
luqmana Feb 15, 2013
5912b14
libcore: Get rid of `move`.
luqmana Feb 15, 2013
e61b243
compiletest: Get rid of `move`.
luqmana Feb 15, 2013
99b3c07
librustc: Get rid of `move`.
luqmana Feb 15, 2013
e244f10
libsyntax: Get rid of uses of `move` and don't parse it.
luqmana Feb 15, 2013
178882c
tests/tutorials: Get rid of `move`.
luqmana Feb 15, 2013
3a19eef
libsyntax: Remove move as a keyword.
luqmana Feb 15, 2013
4673686
Removed `has_*` predicates from NumStrConv trait
Kimundi Feb 15, 2013
91af527
Fix windows build error. `buf` is borrowed by the call to
nikomatsakis Feb 13, 2013
0a1fcad
auto merge of #4958 : cpeterso/rust/reseed-rng, r=graydon
bors Feb 15, 2013
690d038
auto merge of #4959 : thestinger/rust/map, r=graydon
bors Feb 15, 2013
0528329
auto merge of #4964 : luqmana/rust/demove, r=graydon
bors Feb 15, 2013
566bcf2
auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brson
bors Feb 15, 2013
f34dd56
rm unused hash table from the runtime
thestinger Feb 15, 2013
bb833ca
librustc: Stop parsing `impl Type : Trait` and fix several declaratio…
pcwalton Feb 15, 2013
1b87ded
attempt to fix BSD breakage
graydon Feb 16, 2013
3e97cce
auto merge of #4957 : Kimundi/rust/incoming, r=catamorphism
bors Feb 16, 2013
621c791
Rename cargo to rustpkg and start over fresh
z0w0 Jan 14, 2013
71d34a8
rustpkg: More preliminary work
z0w0 Jan 15, 2013
226b61b
rustpkg: Add package script parsing
z0w0 Jan 16, 2013
220144b
rustpkg: Finish parsing package scripts and finish boilerplate
z0w0 Jan 17, 2013
f18ae8c
rustpkg: Finish declarative compiling and fetching via git or curl (n…
z0w0 Jan 18, 2013
321e3c4
Add cmp::Ord implementation for semver::Version
z0w0 Jan 19, 2013
bd28fa4
rustpkg: Finish all commands and declarative logic
z0w0 Jan 19, 2013
7079441
rustpkg: Add preliminary imperative API support
z0w0 Jan 23, 2013
e34e072
rustpkg: Add do command and get cmd listeners working correctly
z0w0 Jan 23, 2013
c82183d
rustpkg: More fixes
z0w0 Jan 23, 2013
787ddb4
rustpkg: Clean up formatting issues
z0w0 Jan 23, 2013
2192d11
Correct Zack Corr's email in AUTHORS.txt
z0w0 Jan 23, 2013
b10dc1a
Move semver to std and finish rustpkg
z0w0 Jan 23, 2013
efe5a0a
rustpkg: Use pkg.rs instead of package.rs for consistency
z0w0 Jan 26, 2013
15440f4
rustpkg: Add info command for probing a pkg.rs and expose work_dir/sr…
z0w0 Jan 26, 2013
d4e71da
rustpkg: Fix do listeners and support custom test logic
z0w0 Jan 26, 2013
585d6f7
rustpkg: Massage for landing.
graydon Feb 5, 2013
354da41
auto merge of #4799 : graydon/rust/rustpkg, r=graydon
bors Feb 16, 2013
9ad8a1f
auto merge of #4973 : thestinger/rust/rt, r=brson
bors Feb 16, 2013
59bb9c2
rm unused reserve_vec from rt (done in libcore)
thestinger Feb 16, 2013
5c75f21
vim: move keyword is gone
thestinger Feb 16, 2013
0e83102
Add target_endian crate cfg. Closes #4367
z0w0 Feb 16, 2013
c7f8500
Permit lifetimes to appear in type parameter lists and after `&`. Li…
nikomatsakis Feb 12, 2013
1ef8c48
emacs mode: Highlight 'foo as a lifetime, not a character constant.
nikomatsakis Feb 12, 2013
ad8b437
Make 'foo use font-lock-builtin-face, like module names, and make cap…
nikomatsakis Feb 12, 2013
6c728e3
Parse (and discard) lifetime declarations on function types
nikomatsakis Feb 12, 2013
d3f3d07
update this test to use the new syntax entirely
nikomatsakis Feb 14, 2013
fe9f1d1
syntax: Implement recursive sorting of meta items. Closes #607
z0w0 Feb 16, 2013
19eb225
Support link_args at the crate level. Closes #1301
z0w0 Feb 16, 2013
2782202
auto merge of #4891 : nikomatsakis/rust/region-syntax, r=nikomatsakis
bors Feb 16, 2013
548c098
librustc: Remove `simplify_type` and replace with `sizing_type_of`. r…
pcwalton Feb 16, 2013
c53b4f3
auto merge of #4975 : thestinger/rust/rt, r=nikomatsakis
bors Feb 16, 2013
65aa259
auto merge of #4976 : thestinger/rust/vim, r=nikomatsakis
bors Feb 16, 2013
8d8c25b
auto merge of #4980 : pcwalton/rust/sizing-type-of, r=pcwalton
bors Feb 16, 2013
945ac42
auto merge of #4977 : z0w0/rust/endianattr, r=catamorphism
bors Feb 16, 2013
b47e1e9
modernize std::deque
thestinger Feb 16, 2013
ed7c9c4
add a Mutable implementation (clear) to std::deque
thestinger Feb 16, 2013
15879d3
deque: rm old return statements
thestinger Feb 16, 2013
5832fe9
deque: separate the methods that need Copy
thestinger Feb 17, 2013
5929f15
deque: avoid Copy in the get function
thestinger Feb 17, 2013
373c072
deque: avoid Copy in peek_{front,back}
thestinger Feb 17, 2013
6190661
deque: avoid Copy in pop_{front,back}
thestinger Feb 17, 2013
1f4c758
Remove use of capture clause #4965
sp0 Feb 16, 2013
a257329
deque: avoid Copy for get
thestinger Feb 17, 2013
5aa0463
deque: avoid Copy in grow
thestinger Feb 17, 2013
8b38e07
deque: get rid of Copy requirement
thestinger Feb 17, 2013
60bd4a5
Removed more capture claueses.
sp0 Feb 17, 2013
aa8af12
auto merge of #4995 : sethpink/rust/obsolete-capture-clause, r=graydon
bors Feb 17, 2013
0991437
rustc: Don't copy in add_used_link_args
z0w0 Feb 17, 2013
9ea05a4
auto merge of #4978 : z0w0/rust/issue-607, r=graydon
bors Feb 17, 2013
a6945f2
auto merge of #4993 : thestinger/rust/deque, r=graydon
bors Feb 17, 2013
0126af3
libsyntax: Remove last use of structural records in pipes compiler.
luqmana Feb 17, 2013
de57bac
libsyntax: Explicit-self-ify pipes compiler.
luqmana Feb 17, 2013
baeac2f
libsyntax: Long lines.
luqmana Feb 17, 2013
6956e81
vec: grow_fn doesn't require Copy
thestinger Feb 17, 2013
d009c63
Make univariant enums act like structs, so that they're aligned corre…
jld Feb 10, 2013
7c34908
pub fn main
jld Feb 17, 2013
e8732bd
Tests shouldn't read from stdin.
jld Feb 17, 2013
9939d88
`pub fn main` for run-pass tests that didn't have it
jld Feb 17, 2013
612553c
syntax: Allow 1-tuple expressions
catamorphism Feb 17, 2013
0f09c10
libsyntax: Update view_item_use/import to reflect actual usage
luqmana Feb 18, 2013
5b5ac33
Long lines.
luqmana Feb 18, 2013
91fae27
Modernize bitv mut fields and explicit self
alexcrichton Feb 17, 2013
a01ef8e
Change SmallBitv to use uint instead of u32
alexcrichton Feb 17, 2013
dc7e6ab
Remove the 'uint_bits' constant in bitv
alexcrichton Feb 17, 2013
393a4b4
Favor local closures instead of global functions
alexcrichton Feb 17, 2013
bf8ed45
Implement Set container on top of a bit vector
alexcrichton Feb 18, 2013
cf2ddf0
Add benchmarks to measure differences in bit vectors
alexcrichton Feb 18, 2013
092b611
add missing typecheck for const pattern match arm
youknowone Feb 18, 2013
a2068f1
auto merge of #4890 : jld/rust/enum-newtype-alignment, r=catamorphism
bors Feb 18, 2013
1171a21
auto merge of #4979 : z0w0/rust/issue-1301, r=catamorphism
bors Feb 18, 2013
726fc87
Added rust convenience tool similar to go's go tool
Kimundi Feb 18, 2013
99c4de7
Fixed a typo in the documentation that points to the wrong macro (ide…
mitsuhiko Feb 18, 2013
df4273f
auto merge of #4996 : luqmana/rust/no-rec-pipes, r=catamorphism
bors Feb 18, 2013
ec161ed
auto merge of #4998 : thestinger/rust/vec, r=catamorphism
bors Feb 18, 2013
43dc67b
rustc: Less copy in trans, rs=removing copies
catamorphism Feb 18, 2013
d0b5016
auto merge of #5001 : jld/rust/test-pub-fn-main, r=catamorphism
bors Feb 19, 2013
702a6f7
Attempt to solve make check test ambiguity betwen crate 'rust' and ex…
Kimundi Feb 19, 2013
aa284de
rustc: For one-tuples, make parsing and printing the type work
catamorphism Feb 19, 2013
9ba2e65
auto merge of #5004 : luqmana/rust/rename-use-import, r=catamorphism
bors Feb 19, 2013
6351515
auto merge of #5005 : alexcrichton/rust/bitv++, r=catamorphism
bors Feb 19, 2013
dc30cc3
core: Fix BSD breakage, I hope
catamorphism Feb 19, 2013
24603af
auto merge of #5010 : youknowone/rust/match_const_typecheck, r=catamo…
bors Feb 19, 2013
b294763
Missing newline causing title to not be a title
mcpherrinm Feb 19, 2013
6e40314
auto merge of #5015 : mitsuhiko/rust/doc-fix-stringify, r=catamorphism
bors Feb 19, 2013
396f911
auto merge of #5017 : catamorphism/rust/less-copy, r=catamorphism
bors Feb 19, 2013
28e8542
auto merge of #5028 : catamorphism/rust/bsd-breakage, r=catamorphism
bors Feb 19, 2013
67ee95e
auto merge of #5029 : mcpherrinm/rust/master, r=catamorphism
bors Feb 19, 2013
a8efa21
auto merge of #5014 : Kimundi/rust/incoming, r=graydon
bors Feb 19, 2013
968ab03
rt: fix memory-unsafe random seed logic, r=valgrindclean
graydon Feb 19, 2013
8eaf083
rt: remove export of symbol removed in last commit, r=burningtree
graydon Feb 19, 2013
acc1477
std: update rand-using tests, r=burningtree
graydon Feb 19, 2013
45f3405
move shootout-mandelbrot to LinearMap, add depth argument
tedhorst Feb 18, 2013
9ecb8a6
update copyright dates
tedhorst Feb 19, 2013
f513c56
fix ICE after incorrect number of args in calls
lifthrasiir Feb 19, 2013
2ec958d
test: fix seeded_rng uses
graydon Feb 19, 2013
f684a8a
Mention rust tool in the tutorial
Kimundi Feb 19, 2013
f683351
auto merge of #5002 : catamorphism/rust/one-tuples, r=graydon
bors Feb 19, 2013
a29023e
Check type when struct is matched against enum-like pattern
sanxiyn Feb 19, 2013
9da641b
libsyntax: convert interner into a modern struct
erickt Feb 9, 2013
e6d8426
Change functions from taking ~str to taking &str
erickt Feb 11, 2013
59ba4fc
syntax: fix the indentation of a function
erickt Feb 11, 2013
bc62bd3
libsyntax: make enum variants take refs
erickt Feb 17, 2013
1a5b8e4
libsyntax: change attr:get_attr_name to take a ref
erickt Feb 11, 2013
27e235b
libsyntax and librustc: minor cleanup
erickt Feb 11, 2013
1808d74
Alias HashMap<~str, SyntaxExtension> to SyntaxExtensions
erickt Feb 14, 2013
a2b7547
convert syntax::attr to use @~strs
erickt Feb 15, 2013
de5fdaf
convert ast::meta_items to take @~strs
erickt Feb 14, 2013
e95f21f
convert SyntaxExtensions's key to a @~str
erickt Feb 15, 2013
04334c1
librustc: convert LangItemsCollector::item_refs to take @~str as a key
erickt Feb 19, 2013
53951af
librustc: convert lint_dict to take @~strs as keys
erickt Feb 15, 2013
a18e7d6
librustc: minor cleanup
erickt Feb 16, 2013
3c0eca7
librustc: convert creader and cstore to use @~strs
erickt Feb 16, 2013
ae86c03
librustc: change check_item_non_camel_case_types to not copy
erickt Feb 16, 2013
b90ccc9
librustc: minor cleanup
erickt Feb 16, 2013
68746cd
librustc: change driver::session::Session::str_of to return @~str
erickt Feb 11, 2013
a782efc
auto merge of #5032 : lifthrasiir/rust/issue-4935, r=catamorphism
bors Feb 19, 2013
8ee2d58
Give the rust tool an own section in the tutorial.
Kimundi Feb 19, 2013
1f956fc
auto merge of #4999 : erickt/rust/incoming, r=brson
bors Feb 19, 2013
34c39bb
Rewrited section about rust tool
Kimundi Feb 19, 2013
8a520ff
auto merge of #5000 : jld/rust/test-stdin-thing, r=graydon
bors Feb 19, 2013
cc3fbce
Fix for issue 4875
alexcrichton Feb 19, 2013
e4ff013
auto merge of #5006 : tedhorst/rust/linear_mand, r=brson
bors Feb 19, 2013
0262e4b
use range assert when loading enum discriminant
thestinger Feb 19, 2013
eed2ca6
auto merge of #5040 : Kimundi/rust/incoming, r=graydon
bors Feb 19, 2013
12b43b2
add range assert when loading bools
thestinger Feb 20, 2013
b88e4f3
auto merge of #5039 : alexcrichton/rust/issue-4875, r=catamorphism
bors Feb 20, 2013
fa6e3b4
replace explicit loops with foldr
thestinger Feb 20, 2013
db25210
auto merge of #5044 : thestinger/rust/range, r=pcwalton
bors Feb 20, 2013
e29b7ee
vim improvements
bstrie Feb 20, 2013
675bdcf
Created libcore/private/intrinsics.rs, which aims to contain every
Thiez Feb 20, 2013
9776c38
Changed a test to use intrinsics.rs and changed a few lines that were…
Thiez Feb 20, 2013
831840a
etc: Suppress the enum variant instruction scheduling Valgrind issues…
pcwalton Feb 21, 2013
62f2b49
auto merge of #5046 : sanxiyn/rust/struct-match, r=catamorphism
bors Feb 21, 2013
423843e
Don't perform swap when src == dst. #5041
brson Feb 20, 2013
8f8f0ec
auto merge of #5043 : brson/rust/swap, r=brson
bors Feb 21, 2013
bad4463
rustc: Use position method in check::method
catamorphism Feb 21, 2013
1b04be6
auto merge of #5049 : bstrie/rust/vim, r=catamorphism
bors Feb 21, 2013
cd82c45
librustc: Get rid of structural records save for front/test.rs.
luqmana Feb 19, 2013
601c2ed
Fix fallout in rusti & rustpkg.
luqmana Feb 19, 2013
6282e5d
librustc: tidy
luqmana Feb 19, 2013
0c3290a
Merge
catamorphism Feb 21, 2013
a4403e5
Fix flipped tuple that was causing all that pain
catamorphism Feb 21, 2013
f823d83
Fix vdef pattern
catamorphism Feb 21, 2013
ad9c54c
Merge
catamorphism Feb 21, 2013
a307608
auto merge of #5066 : catamorphism/rust/luqmana-derecording, r=catamo…
bors Feb 21, 2013
0aa1aaa
auto merge of #5058 : Thiez/rust/incoming, r=catamorphism
bors Feb 21, 2013
bf2a225
librustc: Separate most trait bounds with '+'. rs=plussing
pcwalton Feb 21, 2013
a02da4e
auto merge of #5063 : pcwalton/rust/plussing, r=pcwalton
bors Feb 21, 2013
6f9eb6a
Implement #[deriving_eq] on tuple like structs
sp0 Feb 21, 2013
41a4151
auto merge of #5065 : catamorphism/rust/issue-3453, r=catamorphism
bors Feb 21, 2013
b02f5c2
Get rid of structural records in libsyntax and the last bit in librustc.
luqmana Feb 21, 2013
3792eb2
Moved core::extfmt to core::private::extfmt
Kimundi Feb 20, 2013
c0defda
librustc: Separate the rest of the trait bounds with `+` and stop par…
pcwalton Feb 21, 2013
c0218fb
auto merge of #5069 : pcwalton/rust/plussing-2, r=pcwalton
bors Feb 21, 2013
4a5e8c5
auto merge of #5071 : luqmana/rust/derec, r=pcwalton
bors Feb 21, 2013
e0767bf
auto merge of #5068 : sethpink/rust/derive-eq-tuple-struct, r=catamor…
bors Feb 21, 2013
9ea6a49
Remove the last bits of structural records from tests/rustc/rusti/rus…
luqmana Feb 21, 2013
cdd6f38
librustc: De-mut resolve. rs=demuting
pcwalton Feb 21, 2013
553c27c
librustc: De-mut some of trans
pcwalton Feb 21, 2013
9c71249
librustc: De-mut trans. rs=demuting
pcwalton Feb 21, 2013
9147936
librustc: Remove all mutable fields from librustc. rs=demuting
pcwalton Feb 21, 2013
27b0677
Cleanup, commenting, trivial renaming
jbclements Feb 11, 2013
1869df3
bump up limit on monomorphization
jbclements Feb 14, 2013
48c1c3c
librustc: Fix broken test.
luqmana Feb 22, 2013
9dae4cf
Fix private::exclusive_unwrap_conflict test. Fixes #4689.
bblum Feb 22, 2013
ab784b7
auto merge of #5059 : Kimundi/rust/incoming, r=catamorphism
bors Feb 22, 2013
f5cc0b9
auto merge of #5075 : luqmana/rust/derec, r=catamorphism
bors Feb 22, 2013
dab6a85
core: Extract comm from pipes. #4742
brson Feb 2, 2013
e7924ce
auto merge of #5076 : pcwalton/rust/demuting, r=pcwalton
bors Feb 22, 2013
cec1f38
auto merge of #5077 : jbclements/rust/increase-monomorphization-depth…
bors Feb 22, 2013
4a85389
De-implicit-self librustc
bstrie Feb 22, 2013
0309af4
Put unique allocs in managed heap when they might contain managed boxes.
graydon Feb 20, 2013
2f12e26
auto merge of #5083 : graydon/rust/gc, r=graydon
bors Feb 22, 2013
ba7a870
auto merge of #5051 : bstrie/rust/deimpself, r=pcwalton
bors Feb 22, 2013
c316189
auto merge of #5081 : brson/rust/pipes, r=pcwalton
bors Feb 22, 2013
1bc4e3f
auto merge of #5078 : bblum/rust/incoming, r=brson
bors Feb 22, 2013
ddd9fb6
Remove legacy_modes from test cases
brson Feb 22, 2013
1a132b3
auto merge of #5092 : brson/rust/legacy, r=brson
bors Feb 22, 2013
17dcaee
libsyntax: De-mut the pipe compiler
pcwalton Feb 22, 2013
77dc3ad
libsyntax: De-mut the macro parser. rs=demuting
pcwalton Feb 22, 2013
934c938
libsyntax: De-mut the parser. rs=demuting
pcwalton Feb 22, 2013
a07192f
libsyntax: Remove all mutable fields from libsyntax. rs=demuting
pcwalton Feb 22, 2013
ce70736
etc: Suppress the remaining Valgrind error in rustdoc. rs=burningtree
pcwalton Feb 22, 2013
1144fdd
librustpkg: De-mut librustdoc and librustpkg. rs=demuting
pcwalton Feb 22, 2013
82062a6
test: De-mut the test suite. rs=demuting
pcwalton Feb 23, 2013
f9f942b
test: Fix comments in pretty-printed test. rs=burningtree
pcwalton Feb 24, 2013
b26d434
test: xfail-pretty some benchmarks. rs=burningtree
pcwalton Feb 24, 2013
b8dd2d8
Fix typo in grammar: underscore, not minus, can appear amongst hex di…
pnkfelix Feb 25, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ Wade Mealing <[email protected]>
William Ting <[email protected]>
Yasuhiro Fujii <[email protected]>
Youngsoo Son <[email protected]>
Zack Corr <[email protected]>
Zack Corr <[email protected]>
20 changes: 13 additions & 7 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -131,26 +131,29 @@ CFG_STDLIB :=$(call CFG_LIB_NAME,std)
CFG_LIBRUSTC :=$(call CFG_LIB_NAME,rustc)
CFG_LIBSYNTAX :=$(call CFG_LIB_NAME,syntax)
CFG_LIBFUZZER :=$(call CFG_LIB_NAME,fuzzer)
CFG_LIBCARGO :=$(call CFG_LIB_NAME,cargo)
CFG_LIBRUSTPKG :=$(call CFG_LIB_NAME,rustpkg)
CFG_LIBRUSTDOC :=$(call CFG_LIB_NAME,rustdoc)
CFG_LIBRUSTI :=$(call CFG_LIB_NAME,rusti)
CFG_LIBRUST :=$(call CFG_LIB_NAME,rust)

STDLIB_GLOB :=$(call CFG_LIB_GLOB,std)
CORELIB_GLOB :=$(call CFG_LIB_GLOB,core)
LIBRUSTC_GLOB :=$(call CFG_LIB_GLOB,rustc)
LIBSYNTAX_GLOB :=$(call CFG_LIB_GLOB,syntax)
LIBFUZZER_GLOB :=$(call CFG_LIB_GLOB,fuzzer)
LIBCARGO_GLOB :=$(call CFG_LIB_GLOB,cargo)
LIBRUSTPKG_GLOB :=$(call CFG_LIB_GLOB,rustpkg)
LIBRUSTDOC_GLOB :=$(call CFG_LIB_GLOB,rustdoc)
LIBRUSTI_GLOB :=$(call CFG_LIB_GLOB,rusti)
LIBRUST_GLOB :=$(call CFG_LIB_GLOB,rust)
STDLIB_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,std)
CORELIB_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,core)
LIBRUSTC_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,rustc)
LIBSYNTAX_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,syntax)
LIBFUZZER_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,fuzzer)
LIBCARGO_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,cargo)
LIBRUSTPKG_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,rustpkg)
LIBRUSTDOC_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,rustdoc)
LIBRUSTI_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,rusti)
LIBRUST_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,rust)

# version-string calculation
CFG_GIT_DIR := $(CFG_SRC_DIR).git
Expand Down Expand Up @@ -371,21 +374,24 @@ SREQ$(1)_T_$(2)_H_$(3) = \
CSREQ$(1)_T_$(2)_H_$(3) = \
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
$$(HBIN$(1)_H_$(3))/fuzzer$$(X) \
$$(HBIN$(1)_H_$(3))/cargo$$(X) \
$$(HBIN$(1)_H_$(3))/rustpkg$$(X) \
$$(HBIN$(1)_H_$(3))/rustdoc$$(X) \
$$(HBIN$(1)_H_$(3))/rusti$$(X) \
$$(HBIN$(1)_H_$(3))/rust$$(X) \
$$(HLIB$(1)_H_$(3))/$$(CFG_LIBFUZZER) \
$$(HLIB$(1)_H_$(3))/$$(CFG_LIBCARGO) \
$$(HLIB$(1)_H_$(3))/$$(CFG_LIBRUSTPKG) \
$$(HLIB$(1)_H_$(3))/$$(CFG_LIBRUSTDOC) \
$$(HLIB$(1)_H_$(3))/$$(CFG_LIBRUSTI) \
$$(HLIB$(1)_H_$(3))/$$(CFG_LIBRUST) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_CORELIB) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_STDLIB) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBSYNTAX) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBRUSTC) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBFUZZER) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBCARGO) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBRUSTPKG) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBRUSTDOC) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBRUSTI)
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBRUSTI) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBRUST)

ifeq ($(1),0)
# Don't run the the stage0 compiler under valgrind - that ship has sailed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ for more information on them.

When complete, `make install` will place several programs into
`/usr/local/bin`: `rustc`, the Rust compiler; `rustdoc`, the
API-documentation tool, and `cargo`, the Rust package manager.
API-documentation tool, and `rustpkg`, the Rust package manager and build system.

[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
[tarball]: http://static.rust-lang.org/dist/rust-0.5.tar.gz
Expand Down
25 changes: 13 additions & 12 deletions doc/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ else enum extern
false fn for
if impl
let log loop
match mod move mut
match mod mut
priv pub pure
ref return
self static struct super
Expand Down Expand Up @@ -297,7 +297,7 @@ the following forms:
num_lit : nonzero_dec [ dec_digit | '_' ] * num_suffix ?
| '0' [ [ dec_digit | '_' ] + num_suffix ?
| 'b' [ '1' | '0' | '_' ] + int_suffix ?
| 'x' [ hex_digit | '-' ] + int_suffix ? ] ;
| 'x' [ hex_digit | '_' ] + int_suffix ? ] ;

num_suffix : int_suffix | float_suffix ;

Expand Down Expand Up @@ -549,7 +549,7 @@ This requirement most often affects name-designator pairs when they occur at the

* `log_syntax!` : print out the arguments at compile time
* `trace_macros!` : supply `true` or `false` to enable or disable printing of the macro expansion process.
* `ident_to_str!` : turn the identifier argument into a string literal
* `stringify!` : turn the identifier argument into a string literal
* `concat_idents!` : create a new identifier by concatenating the arguments


Expand Down Expand Up @@ -686,15 +686,15 @@ mod math {
type complex = (f64, f64);
fn sin(f: f64) -> f64 {
...
# die!();
# fail!();
}
fn cos(f: f64) -> f64 {
...
# die!();
# fail!();
}
fn tan(f: f64) -> f64 {
...
# die!();
# fail!();
}
}
~~~~~~~~
Expand Down Expand Up @@ -986,7 +986,7 @@ output slot type would normally be. For example:
~~~~
fn my_err(s: &str) -> ! {
log(info, s);
die!();
fail!();
}
~~~~

Expand All @@ -1004,7 +1004,7 @@ were declared without the `!` annotation, the following code would not
typecheck:

~~~~
# fn my_err(s: &str) -> ! { die!() }
# fn my_err(s: &str) -> ! { fail!() }

fn f(i: int) -> int {
if i == 42 {
Expand Down Expand Up @@ -1117,6 +1117,7 @@ a = Cat{ name: ~"Spotty", weight: 2.7 };

In this example, `Cat` is a _struct-like enum variant_,
whereas `Dog` is simply called an enum variant.

### Constants

~~~~~~~~ {.ebnf .gram}
Expand Down Expand Up @@ -2284,9 +2285,9 @@ enum List<X> { Nil, Cons(X, @List<X>) }
let x: List<int> = Cons(10, @Cons(11, @Nil));

match x {
Cons(_, @Nil) => die!(~"singleton list"),
Cons(_, @Nil) => fail!(~"singleton list"),
Cons(*) => return,
Nil => die!(~"empty list")
Nil => fail!(~"empty list")
}
~~~~

Expand Down Expand Up @@ -2323,7 +2324,7 @@ match x {
return;
}
_ => {
die!();
fail!();
}
}
~~~~
Expand Down Expand Up @@ -2411,7 +2412,7 @@ guard may refer to the variables bound within the pattern they follow.
let message = match maybe_digit {
Some(x) if x < 10 => process_digit(x),
Some(x) => process_other(x),
None => die!()
None => fail!()
};
~~~~

Expand Down
2 changes: 1 addition & 1 deletion doc/tutorial-borrowed-ptr.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ fn example5c(x: @S) -> int {
let y = &v.g;
...
}
x.f = move v; // Replace x.f
x.f = v; // Replace x.f
...
# return 0;
}
Expand Down
6 changes: 3 additions & 3 deletions doc/tutorial-macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ match x {
// complicated stuff goes here
return result + val;
},
_ => die!(~"Didn't get good_2")
_ => fail!(~"Didn't get good_2")
}
}
_ => return 0 // default value
Expand Down Expand Up @@ -260,7 +260,7 @@ macro_rules! biased_match (
biased_match!((x) ~ (good_1(g1, val)) else { return 0 };
binds g1, val )
biased_match!((g1.body) ~ (good_2(result) )
else { die!(~"Didn't get good_2") };
else { fail!(~"Didn't get good_2") };
binds result )
// complicated stuff goes here
return result + val;
Expand Down Expand Up @@ -362,7 +362,7 @@ macro_rules! biased_match (
# fn f(x: t1) -> uint {
biased_match!(
(x) ~ (good_1(g1, val)) else { return 0 };
(g1.body) ~ (good_2(result) ) else { die!(~"Didn't get good_2") };
(g1.body) ~ (good_2(result) ) else { fail!(~"Didn't get good_2") };
binds val, result )
// complicated stuff goes here
return result + val;
Expand Down
Loading