Skip to content

Updating syntax/ast.rs types to structs #4475

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 287 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
56227c4
Merge pull request #4286 from thestinger/vim
catamorphism Dec 25, 2012
efb8711
Merge branch 'master' of github.com:mozilla/rust into incoming
erickt Dec 27, 2012
6b65939
libcore: Add symlink(2) to libc. rs=trivial
pcwalton Dec 23, 2012
57c5999
librustc: Terminate name searches at the nearest module scope for pat…
pcwalton Dec 23, 2012
a51661e
Add support for byteswap intrinsics
auroranockert Dec 27, 2012
0873553
Merge pull request #4298 from JensNockert/byteswap
catamorphism Dec 27, 2012
c880d0a
Add an xfailed test case and a CONTRIBUTING.md file
catamorphism Dec 27, 2012
84ce55e
librustc: Fix some unresolved imports in the test runner. rs=bustage
pcwalton Dec 27, 2012
e26ca35
librustc: Fix the test runner, the condition system, and core test. r…
pcwalton Dec 28, 2012
fa5ee93
libstd: Fix a bunch of resolve errors in tests. rs=fire
pcwalton Dec 28, 2012
5ec3aba
Improve documentation for each.
steveklabnik Dec 28, 2012
5b2b13b
test: option variants get imported by default
erickt Dec 28, 2012
2d7b96a
Fix compiling compiletest. rs=fire
erickt Dec 28, 2012
7af1080
Merge pull request #4308 from steveklabnik/patch-1
catamorphism Dec 28, 2012
fd095f8
Add Steve Klabnik to AUTHORS
catamorphism Dec 28, 2012
13879d8
libstd: Fix tests. rs=bustage
pcwalton Dec 28, 2012
a75c0b3
Merge pull request #4268 from catamorphism/issue-3477
catamorphism Dec 28, 2012
cef1539
Long lines
catamorphism Dec 28, 2012
c7d48ea
MIT + Apache 2 dual license
Dec 22, 2012
11a9918
Wrap lines
brson Dec 28, 2012
dda12f8
Replace much of the REPL run code with a call to compile_upto
bleibig Dec 27, 2012
5910773
doc: Rename mention of insert_or_update_with_key
sophiebits Dec 28, 2012
4e07a63
Add Ben Alpert to AUTHORS
catamorphism Dec 28, 2012
f67c372
test: Fix a bunch of run-pass tests. rs=bustage
pcwalton Dec 29, 2012
31b07ae
test: Fix test/run-pass/pipe-pingpong-bounded. rs=bustage
pcwalton Dec 29, 2012
c42d5e2
test: Fix test/run-pass/pipe-pingpong-proto. rs=bustage
pcwalton Dec 29, 2012
40eaecb
test: Fix a couple more tests. rs=bustage
pcwalton Dec 29, 2012
19dfb47
test: Fix test/run-pass/class-cast-to-trait-cross-crate-2. rs=fire
pcwalton Dec 29, 2012
b92ea8d
test: Fix test/run-pass-fulldeps/qquote.rs. rs=bustage
pcwalton Dec 29, 2012
5bd8692
test: Fix a bunch of compile-fail tests. rs=bustage
pcwalton Dec 29, 2012
5245ace
test: Fix benchmarks. rs=rustbot
pcwalton Dec 29, 2012
6e7cf87
Remove spurious semicolons at the end of macro_rules! definitions.
FranklinChen Dec 28, 2012
b6aafe9
When an import fails to resolve, make the error message say
Dec 27, 2012
d68954e
Fix the build by removing trailing whitespace.
Dec 29, 2012
624421a
Simplify idents_to_str and use it in more places.
Dec 29, 2012
47cd1e4
librustdoc: Fix a bunch of rustdoc tests. rs=bustage
pcwalton Dec 30, 2012
015ed66
librustdoc: Fix typo. rs=busted
pcwalton Dec 30, 2012
2822365
librustdoc: More text fixes. rs=busted
pcwalton Dec 30, 2012
10333a5
libstd: Comment out mysteriously failing net-url test. rs=busted
pcwalton Dec 30, 2012
4b3dd4b
doc: Fix some broken tutorial examples. rs=bustage
pcwalton Dec 30, 2012
4be7310
doc: Fix explanation and example of struct-like enum variants. rs=busted
pcwalton Dec 30, 2012
4b1d2dc
reset LinearMap.size when expanding buckets
ttaubert Dec 30, 2012
4cb9247
doc: make small corrections to tutorial
apasel422 Dec 30, 2012
62d6031
Merge pull request #4317 from apasel422/tutorial-fix
catamorphism Dec 30, 2012
cfb33fc
Merge pull request #4311 from FranklinChen/fix-macro-tutorial
catamorphism Dec 30, 2012
4dde334
Add Franklin Chen to AUTHORS
catamorphism Dec 30, 2012
08d9c5b
Merge pull request #4312 from Dretch/issue-2914
catamorphism Dec 30, 2012
e08f304
rt: Remove dead code from schedule_task()
cpeterso Dec 31, 2012
16797fd
doc: Fix some typos in the tutorial and reference manual
cpeterso Dec 31, 2012
84a37a3
Merge pull request #4323 from cpeterso/cpeterso-schedule-task
brson Jan 1, 2013
eeec4a7
Merge pull request #4322 from cpeterso/incoming-doc-typos
brson Jan 1, 2013
96ba9de
Merge pull request #4316 from ttaubert/issue-4277-linear-map-len
brson Jan 1, 2013
9433284
Add some extra description for std::net
steveklabnik Jan 1, 2013
587ce48
Merge pull request #4324 from steveklabnik/std_net
brson Jan 1, 2013
392708e
core: convert an XXX into a FIXME.
erickt Jan 2, 2013
ae69c2f
std: Constify the bytes sent to Sha1::input
pkgw Jan 2, 2013
0d4cf3e
remove apparently-superfluous extra parens from types
catamorphism Jan 2, 2013
b169889
Add Peter Williams to AUTHORS
catamorphism Jan 2, 2013
7c79b5e
really update mandelbrot to pipes
tedhorst Dec 27, 2012
af48f30
use newtype struct for devnull rather than type aliased record
tedhorst Dec 30, 2012
8ffc2b0
fix sugarise-doc-comments.py shebang
thestinger Jan 3, 2013
486217d
add missing $(CFG_PYTHON) prefixes
thestinger Jan 3, 2013
d91b2d4
Change "interface" to "trait" in rustdoc
catamorphism Jan 3, 2013
1bc51f1
Merge pull request #4336 from thestinger/python
catamorphism Jan 3, 2013
1330b1c
Add test cases (one xfailed, one not)
catamorphism Jan 3, 2013
7b08ed0
Actually xfail this, unbreak build
catamorphism Jan 3, 2013
9e2a59d
Add xfailed test for #3707
catamorphism Jan 3, 2013
a933cdf
clean up condition module:
apasel422 Dec 24, 2012
d94e9c0
Fix two minor issues in the tutorial.
Jan 4, 2013
1f1e7e9
Add option::get_zero
catamorphism Jan 3, 2013
62f6f46
core: fix windows breakage, r=burningtree.
graydon Jan 4, 2013
4d8cc3f
Make either::{partition, flip, to_result} take their arguments by-value
catamorphism Jan 4, 2013
89acd1f
Rename option::get_default => get_or_default, get_zero => get_or_zero
catamorphism Jan 5, 2013
62c7ca6
Merge remote-tracking branch 'superoptimizer/master' into HEAD
brson Jan 5, 2013
9abcacc
Add Mark Lacey to AUTHORS
brson Jan 5, 2013
7b245d4
librustc: Stop generating first-class aggregates in visit glue, since…
pcwalton Jan 5, 2013
8f8b417
Trivial cleanup: use enum_is_univariant; no functional change intended.
jld Dec 31, 2012
6043a72
Make consts of degenerate nullary enums not ICE.
jld Dec 31, 2012
3e7ab3a
Add a test for nullary univariant enums.
jld Jan 5, 2013
6c18c75
rt: Stop zeroing out all allocations. Unobservable perf win. Closes #…
pcwalton Jan 6, 2013
1070cc0
librustc: Fix unconditional ty_to_str call in ty.rs. Was heaviest pat…
pcwalton Jan 6, 2013
fa96740
librustc: Remove some string allocations. rs=perf
pcwalton Jan 6, 2013
96e01a6
librustc: Convert some large structural records over to structs. rs=perf
pcwalton Jan 6, 2013
0ab7f91
librustc: Refactor language items to have IDs. rs=refactor
pcwalton Jan 6, 2013
d2d1d98
librustc: Encode language items into a special lookup table. 9% impro…
pcwalton Jan 7, 2013
9f38792
librustc: Fold rt items into lang items. Shaves another 10% or so off…
pcwalton Jan 7, 2013
3a57007
librustc: Remove unused `mod_path_map`. This was expensive to build. …
pcwalton Jan 7, 2013
78aad60
Merge pull request #4358 from jld/constenum-unit
catamorphism Jan 7, 2013
09758f7
Merge pull request #4357 from jld/constenum-bonus-fix
catamorphism Jan 7, 2013
53f41f0
librustc: Make vectors no longer implicitly copyable in rustc. r=graydon
pcwalton Jan 7, 2013
1a2a897
fmt: replace Conv record with struct Conv
apasel422 Jan 7, 2013
0a17ab2
fmt: replace parse_* structural records with struct Parsed<T>
apasel422 Jan 7, 2013
51b141e
fmt: simplify parse_type
apasel422 Jan 7, 2013
f4bc9e6
fmt: simplify parse_flags
apasel422 Jan 7, 2013
9c383de
fmt: simplify parse_count
apasel422 Jan 7, 2013
4550cb0
fmt: simplify parse_precision
apasel422 Jan 7, 2013
af298de
fmt: simplify parse_parameter
apasel422 Jan 7, 2013
9e5a416
fmt: simplify parse_conversion
apasel422 Jan 7, 2013
428abb3
fmt: simplify parse_fmt_string
apasel422 Jan 7, 2013
0429493
fmt: fix formatting and style
apasel422 Jan 7, 2013
73649f3
fmt: derive Eq for all types
apasel422 Jan 7, 2013
1d4c5d9
fmt: add unit tests
apasel422 Jan 7, 2013
aed94a3
Merge pull request #4372 from apasel422/fmt2
catamorphism Jan 7, 2013
8bf38b2
librustc: Fix some librustc test modes. rs=bustage
pcwalton Jan 7, 2013
c662a9a
Improve a typeck ICE message (slightly)
catamorphism Jan 8, 2013
e45312e
Suppress type error message involving a function type whose result is…
catamorphism Jan 8, 2013
d771830
xfail broken tests
catamorphism Jan 8, 2013
86db69d
Revert "xfail broken tests"
catamorphism Jan 8, 2013
fb9458e
xfail broken tests
catamorphism Jan 8, 2013
921393c
Change the self def_id to a self_info in typeck, and inherit
catamorphism Jan 8, 2013
0e774de
Revert "Improve a typeck ICE message (slightly)"
catamorphism Jan 8, 2013
7b433d0
Revert "Change the self def_id to a self_info in typeck, and inherit"
catamorphism Jan 8, 2013
4557f70
Revert "Suppress type error message involving a function type whose r…
catamorphism Jan 8, 2013
16ec9aa
Support assignability for struct fields. r=pcwalton
nikomatsakis Jan 8, 2013
fcc470c
test: Fix check-fast for resolve changes. rs=bustage
pcwalton Jan 8, 2013
1f667e7
test: Regular expression mistake. rs=bustage
pcwalton Jan 8, 2013
722d670
test: Fix botched regex. rs=bustage
pcwalton Jan 8, 2013
2d9b1fe
Merge remote-tracking branch 'gifnksm/bigint' into kind-names
brson Jan 8, 2013
816cb8c
Rename identifiers that still use 'alt' to use 'match'
lkuper Jan 4, 2013
4096c9f
adding bound checks for raw::memcpy and memmove
Jan 5, 2013
dd73dd0
removing checks from vec::bytes::memcpy and memmove as are duplicated…
Jan 8, 2013
2791877
Merge pull request #4388 from lkuper/alt-to-match
catamorphism Jan 8, 2013
b43e639
Remove unused bigint from runtime
brson Jan 8, 2013
2d1ce01
Suppress error messages about function types whose result is ty_err
catamorphism Jan 8, 2013
80435ad
Make `self` visible when typechecking nested functions
catamorphism Jan 8, 2013
9f7dc1c
Remove ret_style and instead check whether fn return type is bot
nikomatsakis Jan 8, 2013
2d3c22a
arrange core::os::consts
ILyoan Dec 20, 2012
3b71d14
Inject std when --test. #1127, #3241
brson Dec 28, 2012
c3a74d8
Implement GLB algorithm. (Issue #2263)
nikomatsakis Dec 5, 2012
fd87228
Ignore some failing bigint tests
brson Jan 9, 2013
a8d37af
librustc: Make unqualified identifier searches terminate at the neare…
pcwalton Jan 8, 2013
44ab00e
Revert "librustc: Make unqualified identifier searches terminate at t…
pcwalton Jan 9, 2013
3a5b641
Only ignore failing bigint tests on 32-bit platforms
brson Jan 9, 2013
2db3abd
librustc: Make unqualified identifier searches terminate at the neare…
pcwalton Jan 9, 2013
f6dd2d2
core: fix libc linux fallout from 2db3abddcd67
graydon Jan 9, 2013
b75550a
AUTHORS: add Sebastian N. Fernandez
graydon Jan 9, 2013
93c2ebf
syntax: convert ast::spanned into a struct
erickt Dec 27, 2012
d1b7d44
core: inline all vec methods and add whitespace
erickt Jan 7, 2013
dc7183e
core: rename MutableVector to OwnedVector
erickt Jan 7, 2013
8f9a507
core: add self to all vec methods
erickt Jan 8, 2013
c55787d
core: add a vec.consume method
erickt Jan 7, 2013
9a7e261
core: add vec.partition and vec.partitioned
erickt Jan 7, 2013
2891a49
core: rename vec.filter to vec.filtered
erickt Jan 8, 2013
c766924
core: add vec.filter that moves elems out of the vector
erickt Jan 8, 2013
9b8c04e
core: ignore recent should_fail tests on windows
graydon Jan 9, 2013
aebbd6b
std: fix net::tcp::test fallout from 2db3abd
graydon Jan 9, 2013
8436a44
core: try to fix arch- and platform-specific fallout from 2db3abd
graydon Jan 9, 2013
896dcd4
compiletest: more win32 fallout from 2db3abd
graydon Jan 9, 2013
dd5734d
rustc: more fallout from 2db3abd
graydon Jan 9, 2013
d0fa688
rustc: more arch-specific fallout from 2db3abd
graydon Jan 9, 2013
fa55778
Add Ilyong Cho to AUTHORS
brson Jan 9, 2013
11a3072
rustc: yet more arch-specific fallout from 2db3abd
graydon Jan 9, 2013
2b92962
A collection of refactorings that I found it hard/tiresome to divide:
nikomatsakis Jan 8, 2013
6a2e495
rt: Remove unused command line parsing
brson Jan 9, 2013
6644da5
core: fix crashing vec methods due to non-working moved self.
graydon Jan 10, 2013
1f03ba1
std: fix net::tcp::test fallout from 2db3abd harder
graydon Jan 10, 2013
1cc22a3
libcore: Fix import in libc. rs=bustage
pcwalton Jan 10, 2013
bd737d4
libcore: Fix Windows resolve errors. rs=bustage
pcwalton Jan 10, 2013
bea3a7a
libcore: Some more fixes to Windows libc stuff. rs=bustage
pcwalton Jan 10, 2013
349e772
libcore: Fix missing `off_t` import on Mac. rs=bustage
pcwalton Jan 10, 2013
5cfde77
Rename memcpy, memmove, memset to prevent any confusion with the C eq…
wting Jan 10, 2013
360982f
Fix: BigInt tests fail on 32-bit platforms
gifnksm Jan 10, 2013
61210e0
test: fix check-fast breakage.
graydon Jan 10, 2013
982830c
librustc: Allow the type parameter version of `Self` to be spelled wi…
pcwalton Jan 9, 2013
2a1b6c4
librustc: Implement `&static` as the replacement for `Durable`. r=nma…
pcwalton Jan 10, 2013
eaa2565
Merge pull request #4414 from gifnksm/bigint-test
brson Jan 10, 2013
737e115
mode: reset mode on entry to fn body.
nikomatsakis Jan 10, 2013
8a687dd
tests: Add two test cases, one xfailed
catamorphism Jan 10, 2013
89ed595
correct expected error msgs in various tests rs=breakage
nikomatsakis Jan 10, 2013
e0850d1
Add test cases: one xfailed, one not
catamorphism Jan 10, 2013
ae0ca9c
Add working test for issue 3935 and xfailed test for issue 3888
catamorphism Jan 10, 2013
fe0f848
add two more copies required in word-count rs=breakage
nikomatsakis Jan 10, 2013
22ed202
tutorial: Remove memory model section
brson Jan 10, 2013
329a578
Add xfailed test for #3973
catamorphism Jan 10, 2013
603e13c
Use deriving_eq for Task
catamorphism Jan 10, 2013
90a0dd4
core: Change XXXs into proper FIXMEs with issue numbers
catamorphism Jan 10, 2013
3702e4b
Update Lindsey's email address
lkuper Jan 10, 2013
e1c52a4
core: Change XXXs into proper FIXMEs with issue numbers
catamorphism Jan 10, 2013
0ce0f83
std: Fix test that was commented out
catamorphism Jan 11, 2013
30c308b
std: Fix net_url test that was commented out
catamorphism Jan 11, 2013
3e7da96
std: Fix pattern match on reference, address an XXX
catamorphism Jan 11, 2013
0274292
std: Address XXXes in flatpipes
catamorphism Jan 11, 2013
4209522
Properly suppress derived type error messages
catamorphism Jan 11, 2013
0827582
corrected imprecision in description of mutable fields
jbclements Jan 11, 2013
d97ab78
Add John Clements to AUTHORS
brson Jan 11, 2013
ca71c6e
librustc: Make all external functions unsafe. r=tjc
pcwalton Jan 11, 2013
0c05a6c
Use filtered instead of filter in rustdoc. Fixes segfault.
catamorphism Jan 11, 2013
a0c2a9b
librustc: Implement a #[no_mangle] attribute to suppress name manglin…
pcwalton Jan 10, 2013
b71381d
libcore: Fix linux/windows bustage. rs=fire
pcwalton Jan 11, 2013
8367589
libcore: Fix windows bustage. rs=bustage
pcwalton Jan 11, 2013
c6fe93d
libcore: Fix core test. rs=broken
pcwalton Jan 11, 2013
ad2fc50
libcore: Fix core test more. rs=broken
pcwalton Jan 11, 2013
9fd970a
Adds priv qualifiers where they have been commented out before implem…
wting Jan 11, 2013
6df6439
Make std::sync::semaphore() public
auroranockert Jan 11, 2013
9b3452e
libstd: Fix std test. rs=busted
pcwalton Jan 11, 2013
a82c8b3
test: XFAIL issue_3882 due to strange Windows failure. rs=failure
pcwalton Jan 11, 2013
0de7aa5
allow logical negation operator (!) to be overloaded
apasel422 Jan 11, 2013
ea937dc
test: add test for overloading logical negation operator
apasel422 Jan 11, 2013
4c441e9
Comment out test_decode_form_urlencoded again. Filed issue 4449. rs=b…
catamorphism Jan 11, 2013
1b1700f
Add core::private::run_in_bare_thread
brson Jan 11, 2013
cfa62cd
Make ast_util::path_name_i take a slice vector, eliminate a bad copy
catamorphism Jan 11, 2013
063a7ad
libstd: Ignore failing test on Windows
pcwalton Jan 11, 2013
f99d6ca
Long lines
brson Jan 12, 2013
9281008
libsyntax: Fix name generation in condition! macro
apasel422 Jan 12, 2013
37f97ff
support clang 3.2
crabtw Jan 12, 2013
d707be6
Merge pull request #4453 from crabtw/clang3.2
catamorphism Jan 12, 2013
5b9cbbb
Merge pull request #4452 from apasel422/cond-macro-fix
catamorphism Jan 12, 2013
847d30d
Merge pull request #4445 from apasel422/notop
catamorphism Jan 12, 2013
0bc730f
Merge pull request #4443 from wting/4386_add_privs
catamorphism Jan 12, 2013
f38e972
Add William Ting to AUTHORS
catamorphism Jan 12, 2013
4526424
Factor out base::get_discrim_val from const translation
jld Dec 31, 2012
f76e28a
Allow consts' LLVM types to depend on their initializers.
jld Dec 31, 2012
abae612
Allow consts to be non-nullary enum constructors
jld Dec 31, 2012
349fa1e
Omit needless zeroes for C-like variants of non-C-like enums
jld Dec 31, 2012
79f0d67
Add more tests for enum constants.
jld Jan 4, 2013
3aca4a1
Regression tests for passing enum-typed consts by reference.
jld Jan 7, 2013
802d475
libstd: "target_os = win32", not "target_os = windows". rs=bustage
pcwalton Jan 12, 2013
e457144
doc: Fix spelling error in macro tutorial
pkgw Dec 30, 2012
a33966b
add Option methods for swap_unwrap and map_consume
thestinger Jan 13, 2013
65a0125
add Option map_consume_default method
thestinger Jan 13, 2013
3c6da77
avoid unwrap in Option::map_consume implementation
thestinger Jan 13, 2013
62f2749
Inlining methods/functions in core.
gifnksm Jan 13, 2013
ac85bf3
add Option methods for in-place mutation
thestinger Jan 13, 2013
38315fb
Merge pull request #4460 from pkgw/pr-tut-typo
catamorphism Jan 13, 2013
50cd3c1
Merge pull request #4467 from gifnksm/inlining-core
catamorphism Jan 13, 2013
7eae397
Merge pull request #4465 from thestinger/option
catamorphism Jan 13, 2013
d5dc66a
core: Align cmp::le() with the other implementations
pkgw Jan 12, 2013
6441d61
core: Use libc::readlink function properly
tychosci Jan 13, 2013
745a020
Make () actually size 0
jld Jan 8, 2013
c75d45d
For `for` loop bodies, translate the type of the closure
nikomatsakis Jan 7, 2013
33414d8
Fix long lines in for loop trans change
jld Jan 12, 2013
cd01ecf
One more place where for loops and their bodies need to be unconfused.
jld Jan 8, 2013
1b4f3fa
Correct (I hope) amd64 ABI handling for empty structs
jld Jan 8, 2013
ea53c48
Make empty structs debug-printable
jld Jan 8, 2013
1b01629
Make vectors (& old ports) of zero-size types allocate one byte each.
jld Jan 8, 2013
fbc33e0
Merge pull request #4459 from jld/constenum
catamorphism Jan 13, 2013
9bb399a
Merge pull request #4444 from JensNockert/pub-semaphore
catamorphism Jan 13, 2013
26334b6
Merge pull request #4411 from wting/4203_rename_memcpy
catamorphism Jan 13, 2013
07c39b1
Merge pull request #4474 from tychosci/readlink_safe
catamorphism Jan 13, 2013
62d1db1
Long lines
catamorphism Jan 14, 2013
70c2755
Change ast::path into a struct.
erickt Jan 13, 2013
ceb1679
Convert ast::def_id into a struct.
erickt Jan 13, 2013
b61bf45
change ast::ty_param into a struct.
erickt Jan 13, 2013
02793d7
convert ast::foreign_item to a struct
erickt Jan 13, 2013
cd557f7
convert ast::struct_dtor_ into a struct
erickt Jan 13, 2013
e8f3bb1
convert ast::item into a struct
erickt Jan 13, 2013
8d1cb87
convert ast::struct_def to a struct
erickt Jan 13, 2013
a8a17cd
convert ast::struct_field_ into a struct
erickt Jan 13, 2013
e02b912
convert ast::attribute_ and ast::view_item to a struct
erickt Jan 14, 2013
364f532
convert ast::pat_list_ident_ to a struct
erickt Jan 14, 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
  •  
  •  
  •  
11 changes: 10 additions & 1 deletion AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Arkaitz Jimenez <[email protected]>
Armin Ronacher <[email protected]>
Austin Seipp <[email protected]>
auREAX <[email protected]>
Ben Alpert <[email protected]>
Ben Blum <[email protected]>
Ben Striegel <[email protected]>
Benjamin Herr <[email protected]>
Expand Down Expand Up @@ -49,6 +50,7 @@ Erick Tryzelaar <[email protected]>
Erik Rose <[email protected]>
Evan McClanahan <[email protected]>
Francisco Souza <[email protected]>
Franklin Chen <[email protected]>
Gabriel <[email protected]>
Gareth Daniel Smith <[email protected]>
Glenn Willen <[email protected]>
Expand All @@ -58,6 +60,7 @@ Grahame Bowland <[email protected]>
Haitao Li <[email protected]>
Huon Wilson <[email protected]>
Ian D. Bollinger <[email protected]>
Ilyong Cho <[email protected]>
Isaac Aggrey <[email protected]>
Ivano Coppola <[email protected]>
Jacob Harris Cryer Kragh <[email protected]>
Expand All @@ -74,6 +77,7 @@ Jesse Ruderman <[email protected]>
Jim Blandy <[email protected]>
Jimmy Lu <[email protected]>
Joe Pletcher <[email protected]>
John Clements <[email protected]>
Jon Morton <[email protected]>
Jonathan Sternberg <[email protected]>
Josh Matthews <[email protected]>
Expand All @@ -84,13 +88,14 @@ Kelly Wilson <[email protected]>
Kevin Atkinson <[email protected]>
Kevin Cantu <[email protected]>
Lennart Kudling <[email protected]>
Lindsey Kuper <lindsey@rockstargirl.org>
Lindsey Kuper <lindsey@composition.al>
Luca Bruno <[email protected]>
Luqman Aden <[email protected]>
Magnus Auvinen <[email protected]>
Mahmut Bulut <[email protected]>
Margaret Meyerhofer <[email protected]>
Marijn Haverbeke <[email protected]>
Mark Lacey <[email protected]>
Martin DeMello <[email protected]>
Matt Brubeck <[email protected]>
Matthew O'Connor <[email protected]>
Expand All @@ -106,6 +111,7 @@ Patrik Kårlin <[email protected]>
Paul Stansifer <[email protected]>
Paul Woolcock <[email protected]>
Peter Hull <[email protected]>
Peter Williams <[email protected]>
Philipp Brüschweiler <[email protected]>
Rafael Ávila de Espíndola <[email protected]>
Ralph Giles <[email protected]>
Expand All @@ -116,9 +122,11 @@ Roland Tanglao <[email protected]>
Roy Frostig <[email protected]>
Ryan Scheel <[email protected]>
Sean Stangl <[email protected]>
Sebastian N. Fernandez <[email protected]>
Simon Barber-Dueck <[email protected]>
startling <[email protected]>
Stefan Plantikow <[email protected]>
Steve Klabnik <[email protected]>
Taras Shpot <[email protected]>
Ted Horst <[email protected]>
Tim Chevalier <[email protected]>
Expand All @@ -130,5 +138,6 @@ Tycho Sci <[email protected]>
Viktor Dahl <[email protected]>
Vincent Belliard <[email protected]>
Wade Mealing <[email protected]>
William Ting <[email protected]>
Yasuhiro Fujii <[email protected]>
Zack Corr <[email protected]>
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Pull request procedure

Pull requests should be targeted at Rust's `incoming` branch (note that by default Github will aim them at the `master` branch) -- see "Changing The Commit Range and Destination Repository" in Github's documentation on [pull requests](https://help.github.com/articles/using-pull-requests). Before pushing to your Github repo and issuing the pull request, please do two things:

1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your local changes against the `incoming` branch. Resolve any conflicts that arise.
2. Run the full Rust test suite with the `make check` command. You're not off the hook even if you just stick to documentation; code examples in the docs are tested as well!

Pull requests will be treated as "review requests", and we will give feedback we expect to see corrected on [style](https://github.com/mozilla/rust/wiki/Note-style-guide) and substance before pulling. Changes contributed via pull request should focus on a single issue at a time, like any other. We will not look kindly on pull-requests that try to "sneak" unrelated changes in.

Normally, all pull requests must include regression tests (see [[Note-testsuite]]) that test your change. Occasionally, a change will be very difficult to test for. In those cases, please include a note in your commit message explaining why.

For more details, please refer to [[Note-development-policy]].
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ API-documentation tool, and `cargo`, the Rust package manager.

## License

Rust is primarily distributed under the terms of the MIT license, with
portions covered by various BSD-like licenses.
Rust is primarily distributed under the terms of both the MIT license
and the Apache License (Version 2.0), with portions covered by various
BSD-like licenses.

See LICENSE.txt for details.
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.

## More help

Expand Down
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ then
| cut -d ' ' -f 2)

case $CFG_CLANG_VERSION in
(3.0svn | 3.0 | 3.1 | 4.0 | 4.1)
(3.0svn | 3.0 | 3.1 | 3.2 | 4.0 | 4.1)
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
CFG_C_COMPILER="clang"
;;
Expand Down Expand Up @@ -578,7 +578,7 @@ for t in $CFG_TARGET_TRIPLES
do
make_dir rt/$t
for i in \
isaac linenoise bigint sync test arch/i386 arch/x86_64 \
isaac linenoise sync test arch/i386 arch/x86_64 \
libuv libuv/src/ares libuv/src/eio libuv/src/ev
do
make_dir rt/$t/$i
Expand Down
19 changes: 16 additions & 3 deletions doc/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,19 @@ let mut a: Animal = Dog;
a = Cat;
~~~~

Enumeration constructors can have either named or unnamed fields:
~~~~
enum Animal {
Dog (~str, float),
Cat { name: ~str, weight: float }
}

let mut a: Animal = Dog(~"Cocoa", 37.2);
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 @@ -3245,12 +3258,12 @@ crate name the crate is given a default name that matches the source file,
with the extension removed. In that case, to turn on logging for a program
compiled from, e.g. `helloworld.rs`, `RUST_LOG` should be set to `helloworld`.

As a convenience, the logging spec can also be set to a special psuedo-crate,
As a convenience, the logging spec can also be set to a special pseudo-crate,
`::help`. In this case, when the application starts, the runtime will
simply output a list of loaded modules containing log expressions, then exit.

The Rust runtime itself generates logging information. The runtime's logs are
generated for a number of artificial modules in the `::rt` psuedo-crate,
generated for a number of artificial modules in the `::rt` pseudo-crate,
and can be enabled just like the logs for any standard module. The full list
of runtime logging modules follows.

Expand Down Expand Up @@ -3328,7 +3341,7 @@ have come and gone during the course of Rust's development:

* The Newsqueak (1988), Alef (1995), and Limbo (1996) family. These
languages were developed by Rob Pike, Phil Winterbottom, Sean Dorward and
others in their group at Bell labs Computing Sciences Research Center
others in their group at Bell Labs Computing Sciences Research Center
(Murray Hill, NJ, USA).

* The Napier (1985) and Napier88 (1988) family. These languages were
Expand Down
6 changes: 3 additions & 3 deletions doc/tutorial-macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ macro_rules! early_return(
_ => {}
}
);
);
)
// ...
early_return!(input_1 special_a);
// ...
Expand Down Expand Up @@ -115,7 +115,7 @@ to transcribe into the macro expansion; its type need not be repeated.
The right-hand side must be enclosed by delimiters, which are ignored by the
transcriber (therefore `() => ((1,2,3))` is a macro that expands to a tuple
expression, `() => (let $x=$val)` is a macro that expands to a statement, and
`() => (1,2,3)` is a macro that expands to a syntax errror).
`() => (1,2,3)` is a macro that expands to a syntax error).

Except for permissibility of `$name` (and `$(...)*`, discussed below), the
right-hand side of a macro definition is ordinary Rust syntax. In particular,
Expand Down Expand Up @@ -160,7 +160,7 @@ macro_rules! early_return(
_ => {}
}
);
);
)
// ...
early_return!(input_1, [special_a|special_c|special_d]);
// ...
Expand Down
Loading