Gábor Lehel
be673e77e7
syntax: allow stmt/expr macro invocations to be delimited by [].
...
this is useful for macros like vec! which construct containers
2014-03-31 22:42:31 -07:00
Alex Crichton
37a3131640
doc: Update with changes in field privacy
2014-03-31 15:47:37 -07:00
Alex Crichton
8093427195
url: Switch privacy defaults where necessary
2014-03-31 15:47:37 -07:00
Alex Crichton
9aa4a94953
compiletest: Switch field privacy where necessary
2014-03-31 15:47:37 -07:00
Alex Crichton
d0a80cca6c
rpass/cfail: Update field privacy where necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
0b36e9d913
num: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
b9b0ed521d
green: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
eb08e8fec2
rustdoc: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
f0ee509229
rustuv: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
fab0f47fdf
workcache: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
52974bd695
glob: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
89fa141cd7
rustc: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
3c76f4ac8d
syntax: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
c034d0c854
test: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
abd7dd83a7
term: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
ee7016d95f
serialize: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
e5a49a2fcf
log: Swith field privacy as necessary
2014-03-31 15:47:35 -07:00
Alex Crichton
c9024d2922
arena: Switch field privacy as necessary
2014-03-31 15:47:35 -07:00
Alex Crichton
a49ce7f11a
sync: Switch field privacy as necessary
2014-03-31 15:47:35 -07:00
Alex Crichton
02cf3751df
rand: Switch field privacy as necessary
2014-03-31 15:47:35 -07:00
Alex Crichton
14587f88ca
native: Switch field privacy as necessary
2014-03-31 15:47:35 -07:00
Alex Crichton
5f33588d75
getopts: Switch field privacy as necessary
2014-03-31 15:17:13 -07:00
Alex Crichton
8ad7e5481f
collections: Switch field privacy as necessary
2014-03-31 15:17:12 -07:00
Alex Crichton
9a3d04ae76
std: Switch field privacy as necessary
2014-03-31 15:17:12 -07:00
Alex Crichton
f2a5c7a179
rustc: Switch struct fields to private by default
...
This commit switches privacy's checking of fields to have *all* fields be
private by default. This does not yet change tuple structs, this only affects
structs with named fields. The fallout of this change will follow shortly.
RFC: 0004-private-fields
cc #8122
Closes #11809
2014-03-31 14:32:18 -07:00
Eunchong Yu
2deca5840e
Json doesn't need to depend on IoError to implement Encodable #13230
2014-04-01 03:05:32 +09:00
bors
1c2ccf0503
auto merge of #13221 : thestinger/rust/append, r=alexcrichton
...
These were only free functions on `~[T]` because taking self by-value
used to be broken.
2014-03-31 02:11:34 -07:00
bors
abb616209d
auto merge of #13220 : brson/rust/from_iter, r=thestinger
2014-03-31 00:51:35 -07:00
bors
6281299230
auto merge of #13206 : TeXitoi/rust/fix-shootout-k-nucleotide, r=alexcrichton
...
Correct printing (sort, new lines), reading on stdin.
2014-03-30 23:31:37 -07:00
Daniel Micay
cbbc1fc843
vec: convert append and append_one to methods
...
These were only free functions on `~[T]` because taking self by-value
used to be broken.
2014-03-31 01:13:48 -04:00
Brian Anderson
ee052198c5
Rename from_iterator to from_iter for consistency.
2014-03-30 21:45:55 -07:00
Brian Anderson
cfb52a5d35
mk: Don't touch config.tmp or tmp/dist as root. Closes #13190
...
When running `make install` we are touching these files that can't
then be removed later.
2014-03-30 20:15:27 -07:00
bors
2674a16c18
auto merge of #13211 : csherratt/rust/arc_fix, r=alexcrichton
...
This is a fix for #13210 . fetch_sub returns the old value of the atomic variable, not the new one.
2014-03-30 16:01:43 -07:00
bors
90085a1279
auto merge of #13215 : sfackler/rust/vim-attr, r=alexcrichton
2014-03-30 14:01:47 -07:00
Steven Fackler
6e69712030
Support new attribute syntax in vim syntax file
2014-03-30 12:53:44 -07:00
Colin Sherratt
9fc45c1f8e
Check that the old value was 1 and not 0 when dropping a Arc value.
...
Closed #13210 .
2014-03-30 15:14:43 -04:00
Guillaume Pinot
7c2abe7c85
make shootout-k-nucleotide.rs pass official test
...
Correct printing (sort, new lines), reading on stdin, s/i32/uint/,
ignore-android because it reads stdin
2014-03-30 19:20:35 +02:00
Scott Jenkins
edc7ad162c
Updated references to extra in libcollections docs
2014-03-30 13:35:54 +01:00
Marvin Löbel
c356e3ba6a
Removed deprecated functions map and flat_map for vectors and slices.
2014-03-30 03:47:04 +02:00
bors
86890b9e7c
auto merge of #13200 : sfackler/rust/test-attr, r=cmr
2014-03-29 16:11:36 -07:00
Steven Fackler
9ed33c00ea
Use new inner attribute syntax in test framework
2014-03-29 16:04:45 -07:00
bors
d878df05ad
auto merge of #13183 : erickt/rust/remove-list, r=alexcrichton
...
`collections::list::List` was decided in a [team meeting](https://github.com/mozilla/rust/wiki/Meeting-weekly-2014-03-25 ) that it was unnecessary, so this PR removes it. Additionally, it removes an old and redundant purity test and fixes some warnings.
2014-03-29 11:41:37 -07:00
bors
3eb3a02c92
auto merge of #13143 : gentlefolk/rust/issue-9227, r=michaelwoerister
...
Only supports crate level statics. No debug info is generated for function level statics. Closes #9227 .
As discussed at the end of the comments for #9227 , I took an initial stab at adding support for function level statics and decided it would be enough work to warrant being split into a separate issue.
See #13144 for the new issue describing the need to add support for function level static variables.
2014-03-29 10:21:39 -07:00
bors
df9cf18c10
auto merge of #13188 : FlaPer87/rust/master, r=alexcrichton
2014-03-29 02:56:40 -07:00
bors
02d186ad9b
auto merge of #13185 : alexcrichton/rust/osx-pkg, r=brson
...
This performs a few touch-ups to the OSX installer:
* A rust logo is shown during installation
* The installation happens to /usr/local by default (instead of /)
* A new welcome screen is shown that's slightly more relevant
2014-03-29 01:41:42 -07:00
bors
8610e4a7a0
auto merge of #13168 : jankobler/rust/verify-grammar-02, r=brson
...
This fixes some problems with
make verify-grammar
llnextgen still reports a lot of errors
FYI: My build directory /my-test/build is different from the source directory /my-test/rust.
cd /my-test/build
/my-test/rust/configure --prefix=/my-test/bin
make
make install
make verify-grammar
2014-03-28 23:01:43 -07:00
bors
74128b15ab
auto merge of #13187 : brson/rust/dist, r=alexcrichton
2014-03-28 21:41:44 -07:00
bors
6584f3746e
auto merge of #13170 : eddyb/rust/syntax-cleanup, r=alexcrichton
...
Removes all Cell's/RefCell's from lexer::Reader implementations and a couple @.
2014-03-28 20:21:45 -07:00
bors
b334f7c3cc
auto merge of #13157 : pnkfelix/rust/fsk-iss13140, r=nikomatsakis
...
r? @nikomatsakis
Fix #13140
Includes two fixes, and a semi-thorough regression test.
(There is another set of tests that I linked from #5121 , but those are sort of all over the place, while the ones I've included here are more directly focused on the issues at hand.)
2014-03-28 19:01:48 -07:00
Alex Crichton
bec333c4bc
dist: Tweak the OSX pkg installer
...
This performs a few touch-ups to the OSX installer:
* A rust logo is shown during installation
* The installation happens to /usr/local by default (instead of /)
* A new welcome screen is shown that's slightly more relevant
2014-03-28 18:29:29 -07:00