Alex Crichton
9ce31f6dd9
tutorial: Remove usage of fmt!
2013-09-30 23:21:20 -07:00
Alex Crichton
73c6c9109f
bench: Remove usage of fmt!
2013-09-30 23:21:20 -07:00
Alex Crichton
02054ac8a1
rfail: Remove usage of fmt!
2013-09-30 23:21:20 -07:00
Alex Crichton
ebf5f406ef
cfail: Remove usage of fmt!
2013-09-30 23:21:20 -07:00
Alex Crichton
630082ca89
rpass: Remove usage of fmt!
2013-09-30 23:21:19 -07:00
Alex Crichton
86e613c632
compiletest: Remove usage of fmt!
2013-09-30 23:21:19 -07:00
Alex Crichton
da24c0d32f
rustpkg: Remove uses of fmt!
2013-09-30 23:21:19 -07:00
Alex Crichton
a7f19f36be
rustdoc: Remove usage of fmt!
2013-09-30 23:21:19 -07:00
Alex Crichton
4d47601a7e
rusti: Remove usage of fmt!
2013-09-30 23:21:19 -07:00
Alex Crichton
1b80558be3
rustc: Remove usage of fmt!
2013-09-30 23:21:19 -07:00
Alex Crichton
af3b132285
syntax: Remove usage of fmt!
2013-09-30 23:21:19 -07:00
Alex Crichton
7e709bfd0d
extra: Remove usage of fmt!
2013-09-30 23:21:18 -07:00
Alex Crichton
a8ba31dbf3
std: Remove usage of fmt!
2013-09-30 23:21:18 -07:00
Alex Crichton
aaf6cc3a84
Prevent leakage of fmt! into the compiler
...
We're not outright removing fmt! just yet, but this prevents it from leaking
into the compiler further (it's still turned on by default for all other code).
2013-09-30 23:21:18 -07:00
bors
1dbc467fd9
auto merge of #9643 : thestinger/rust/immediate, r=alexcrichton
2013-09-30 21:51:27 -07:00
Daniel Micay
ab0a884a73
fix dropping non-primitive immediates
...
Closes #9446
2013-10-01 00:38:37 -04:00
Dan Connolly
398e2c479a
clarify that rust_pkg is a place-holder
...
the switch from package `hello` to `rust_pkg` is a little jarring; I'd use <var> but I don't see how. ALL_CAPS seems like a reasonable poor-man's <var>.
2013-09-30 22:57:09 -05:00
Alex Crichton
56da32c556
rustdoc: Don't ignore dox on impl blocks
...
Closes #9611
2013-09-30 20:31:20 -07:00
Alex Crichton
d505f70f6f
rustdoc: Stop ignoring dox on fields/variants
...
This is progress towards #9611
2013-09-30 20:31:20 -07:00
Alex Crichton
fb259855dc
rustdoc: Use a BufferedWriter when emitting source
...
This takes the rendering time of source files for libstd from 12.5s to 0.1s,
turns out write! calls the write function *a lot*
2013-09-30 20:31:20 -07:00
Alex Crichton
cc1791584f
rustdoc: Detect repeated keys and fix width
...
When a key is pressed and held, this now does the OS-style repeating after a bit
of a pause. Also fixes the width of search results to be correct (was changed
beforehand and didn't catch this).
2013-09-30 20:31:19 -07:00
Alex Crichton
863555f4fd
rustdoc: Update the man page
...
Closes #9622
2013-09-30 20:31:19 -07:00
Alex Crichton
e523f99fb9
rustdoc: Add the ability to input json
...
This modifies the command-line usage of rustdoc to intake its own JSON output as
well as a rust source file. This also alters the command line from
`rustdoc input file` to `rustdoc file` with the input/output formats specified
as -r and -w, respectively.
When using a JSON input, no passes or plugins are re-run over the json, instead
the output is generated directly from the JSON that was provided. Passes and
plugins are still run on rust source input, however.
2013-09-30 20:31:19 -07:00
Jyun-Yan You
350b5438cd
add -Z soft-float option
...
This change adds -Z soft-float option for generating
software floating point library calls.
It also implies using soft float ABI, that is the same as llc.
It is useful for targets that have no FPU.
2013-10-01 11:19:18 +08:00
Alex Crichton
23cb72b459
Clarify format! implicit positional references
...
It was a little ambiguous before how explicitl positional parameters and
implicit positional parameters intermingled, and this clarifies how the two
intermingle. This also updates a little bit of documentation/code examples
elsewhere as well.
2013-09-30 20:16:23 -07:00
David Creswick
4dd3ccb7ef
Add test for issue #9446 .
2013-09-30 22:39:53 -04:00
Felix S. Klock II
155857f548
Revise error message to use phrase "all caps" instead of "uppercase".
...
This is to clarify that the lint is checking for THIS_THING and not This.
2013-10-01 03:10:19 +02:00
Felix S. Klock II
8d6f4c207a
Workaround conflict between all-uppercase static and NaN definition.
2013-10-01 02:55:51 +02:00
bors
bc6dd906a9
auto merge of #9640 : catamorphism/rust/rustpkg-test-fix, r=alexcrichton
...
r? @alexcrichton test output may contain color codes, so check for several small strings
instead of one big one.
2013-09-30 17:46:25 -07:00
Tim Chevalier
2ec2d7dd23
rustpkg: Make test_rustpkg_test_output more permissive
...
test output may contain color codes, so check for several small strings
instead of one big one.
2013-09-30 17:35:47 -07:00
Felix S. Klock II
e2be7aca08
Expanded test to clarify that the constants *are* matching when they should.
2013-10-01 02:03:43 +02:00
Felix S. Klock II
c0599b1bbb
Fix typo in comment.
2013-10-01 01:55:37 +02:00
Felix S. Klock II
924674202e
Throwing in another interesting test case: There is no need to warn
...
about constants that are (non-trivial) paths rather than just
identifiers, regardless of what case their characters are.
2013-10-01 01:51:21 +02:00
Felix S. Klock II
a076fef2b6
Add new lint: non_uppercase_pattern_statics, for #7526 .
...
This tries to warn about code like:
```rust
match (0,0) {
(0, aha) => { ... },
...
}
```
where `aha` is actually a static constant, not a binding.
2013-10-01 01:44:25 +02:00
Daniel Micay
11b7109b7b
rm only use of type_is_immediate outside of trans
2013-09-30 18:16:35 -04:00
bors
7ddcd2a745
auto merge of #9628 : alexcrichton/rust/tidy-binaries, r=thestinger
...
Closes #9621
2013-09-30 15:06:23 -07:00
bors
5c016857b7
auto merge of #9635 : catamorphism/rust/issue-7999, r=catamorphism
...
Closes #7999
2013-09-30 13:36:32 -07:00
Tim Chevalier
60eb04aea9
testsuite: Un-xfail unit-like-struct-drop-run on Windows
...
Closes #7999
2013-09-30 13:30:19 -07:00
Alex Crichton
a3ccbdc904
rustdoc: Generate valid code for struct-variants
...
Closes #9587
2013-09-30 12:32:04 -07:00
bors
5011bbfbb6
auto merge of #9630 : blake2-ppc/rust/de-at-smaller, r=huonw
...
This is mostly an incremental change, picking off some uses of
@- or @mut-pointers that can be replaced by references.
Almost all of the builder functions in trans::build are updated,
mostly using `&Block` arguments instead of `@mut Block`.
2013-09-30 10:41:20 -07:00
blake2-ppc
f4d8d8c122
trans::build: Change @mut Block to &Block or &mut Block
...
Use &mut Block and &Block references where possible in the builder
functions in trans::build.
@mut Block remains in a few functions where I could not (not yet at
least) track down the runtime borrowck failures.
2013-09-30 19:37:22 +02:00
blake2-ppc
b88517ec93
trans: Change @ast::Pat and @mut CrateContext in a few places
...
Use borrowed references in a few locations that were encountered when
working on other changes.
2013-09-30 19:37:17 +02:00
blake2-ppc
948b5ab87a
trans: Change @ast::Expr -> &ast::Expr where possible
2013-09-30 19:37:17 +02:00
Alex Crichton
d29b3ac8a7
Expand tidy to prevent binaries from being checked
...
Closes #9621
2013-09-30 10:15:47 -07:00
bors
8174618a05
auto merge of #9619 : toffaletti/rust/mmap, r=huonw
2013-09-30 05:01:23 -07:00
bors
aafad43ae9
auto merge of #9616 : klutzy/rust/win32-uv-test, r=huonw
...
Closes #8815 .
2013-09-30 03:41:19 -07:00
bors
ca2d5965d1
auto merge of #9614 : blake2-ppc/rust/lang-item-iter, r=alexcrichton
...
Cleanup in middle::lang_items
Use static string keys in the lang item hashmap, and convert
the traversal function to be an iterator.
2013-09-30 01:56:23 -07:00
Jason Toffaletti
b617569583
reduce heap allocations for MemoryMap
2013-09-29 23:05:40 -07:00
klutzy
f4f6b951d7
std::rt::uv::net: Enable tests on Win32
...
Closes #8815 .
2013-09-30 13:56:55 +09:00
blake2-ppc
abcca1c7d1
rustc: Convert lang_item to use an iterator
2013-09-30 05:13:04 +02:00