Patrick Walton
ee7fa194fa
Revert "rustc: Stop using shape code for logging" due to ICEs
...
This reverts commit ac822a52be
.
2012-09-25 12:17:05 -07:00
Patrick Walton
f813f519a5
rt: Remove the cycle collector
2012-09-25 12:13:20 -07:00
Patrick Walton
ac822a52be
rustc: Stop using shape code for logging
2012-09-25 11:44:23 -07:00
Patrick Walton
dbc00ced3a
rt: Add a logging function for strings (only).
...
This will be the shape-free replacement for upcall_log_type.
2012-09-24 20:26:06 -07:00
Patrick Walton
00e3492511
rt: Call the Rust box annihilator; stop calling the cycle collector
...
This reverts commit 991cbfe42c
.
2012-09-24 20:25:56 -07:00
Patrick Walton
530540025c
libcore: Fix 32 bit Rust task structure offsets for unwinding
2012-09-24 20:25:51 -07:00
Graydon Hoare
546f3dbbf5
Build the export_map2 from visibility markers, unless #[legacy_exports];
2012-09-24 17:29:32 -07:00
Graydon Hoare
9c6ae65865
Support visibility qualifiers in crate directives properly.
2012-09-24 17:29:32 -07:00
Brian Anderson
c675cd396d
rustdoc: Fix for generations of anchors. #3570
2012-09-24 14:15:49 -07:00
Patrick Walton
991cbfe42c
Revert "rt: Call the Rust box annihilator; stop calling the cycle collector" due to crashes
...
This reverts commit bb0ad11252
.
2012-09-24 14:14:03 -07:00
Patrick Walton
bb0ad11252
rt: Call the Rust box annihilator; stop calling the cycle collector
2012-09-24 13:57:48 -07:00
Brian Anderson
afd91f8a56
Register snapshots. Remove redundant Eq impls, Makefile hacks
2012-09-23 23:01:49 -07:00
Ben Blum
8baed1f25f
vim - Update bblum's email address and highlight trait names
2012-09-23 23:24:25 -04:00
Brian Anderson
acab1cd2ce
Fix more windows breakage
2012-09-23 19:53:42 -07:00
Brian Anderson
0e14fd6e13
core: Fix some option-demode fallout on windows
2012-09-23 18:32:57 -07:00
Brian Anderson
4a78f9b166
core: Demode option
2012-09-23 17:15:00 -07:00
Brian Anderson
92752a462a
xfail-test run-fail/out-of-stack-managed-box
2012-09-23 17:12:59 -07:00
Brian Anderson
32032491ed
core: Un-legacy-export stackwalk, cmath
2012-09-23 16:42:05 -07:00
Niko Matsakis
0a26edca75
Fix trans for region patterns (&P)
2012-09-23 13:30:20 -05:00
Niko Matsakis
ba3eebd41d
Make it illegal to use modes in a fn signature with providing
...
an explicit variable name. (Step one to changing the defaults)
First step to #3535
2012-09-23 13:30:13 -05:00
Brian Anderson
655f7f844c
Remove bogus comment
2012-09-21 21:55:56 -07:00
Brian Anderson
b10e575217
Add tests for out-of-stack box leak #2555
2012-09-21 21:50:02 -07:00
Brian Anderson
60a1497ebb
rustc: Make x-ray resolution work with non-legacy-exports
...
Code generated for the test runner needs to break visibility rules
2012-09-21 19:26:31 -07:00
Niko Matsakis
3d59ac3a19
De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachi
2012-09-21 19:13:55 -07:00
Brian Anderson
f3c31a07d7
rustdoc: Fix exports for new regime
2012-09-21 19:09:59 -07:00
Brian Anderson
298ab6f459
Revert "core: De-export at_vec and extfmt"
...
This reverts commit 6267d8a94a
.
2012-09-21 19:04:06 -07:00
Brian Anderson
6267d8a94a
core: De-export at_vec and extfmt
2012-09-21 18:49:22 -07:00
Patrick Walton
f3d6c506a4
libsyntax: Fix botched merge
2012-09-21 18:44:00 -07:00
Patrick Walton
d48396c986
libcore: De-mode str
2012-09-21 18:37:06 -07:00
Brian Anderson
49af969e2c
rust-mode: Add pub and priv
2012-09-21 18:25:51 -07:00
Graydon Hoare
dffe188991
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
2012-09-21 18:11:43 -07:00
Brian Anderson
60443d4888
rustdoc: Add prune_private_pass. Off for now
2012-09-21 18:07:17 -07:00
Brian Anderson
c32cde16ab
rustdoc: Cleanup
2012-09-21 17:11:29 -07:00
Patrick Walton
3c2b6110dd
rustc: Shove the address of the box annihilator into the crate map
2012-09-21 11:42:57 -07:00
Brian Anderson
a51a561852
rustc: Remove middle/tstate
...
I feel like I've done this before
2012-09-21 00:45:25 -07:00
Brian Anderson
f5be40384f
Revert "syntax: Make attributes sendable for rustdoc's benefit"
...
This reverts commit 90e3665fa7
.
2012-09-20 18:15:39 -07:00
Brian Anderson
90e3665fa7
syntax: Make attributes sendable for rustdoc's benefit
2012-09-20 17:37:21 -07:00
Brian Anderson
19ad88c2b8
core: Mark gc and stackwalk as demoded
2012-09-20 17:29:20 -07:00
Brian Anderson
ee426f177b
core: Mark three more trivial mods as demoded
2012-09-20 17:18:18 -07:00
Brian Anderson
1b5efaac27
syntax: Pass the correct crate_cfg to the syntax expander
2012-09-20 16:41:53 -07:00
Brian Anderson
e14a0eec23
core: Indicate that flate is demoded
2012-09-20 16:40:18 -07:00
Brian Anderson
89bbbd612a
rustdoc: Use doc comments for rustdoc's rustdocs
2012-09-20 16:10:27 -07:00
Brian Anderson
d3f0ede198
rustdoc: Support the --help option
2012-09-20 15:39:33 -07:00
Brian Anderson
3e9284d128
core: Demode sys
2012-09-20 15:37:55 -07:00
Brian Anderson
3480986408
core: Minor doc tweakage
2012-09-20 15:33:52 -07:00
Brian Anderson
0bd02b113c
rustdoc: Also don't print struct attributes
2012-09-20 15:14:32 -07:00
Patrick Walton
5558ebb6b7
libcore: Fix level-of-indirection problem in str::buf_as_slice
2012-09-20 15:05:20 -07:00
Brian Anderson
e0f5f25911
rustdoc: Don't print struct drop blocks
2012-09-20 14:41:09 -07:00
Niko Matsakis
38595e6664
remove cfg(stage0) version of Eq, not needed for tests
2012-09-20 14:34:22 -07:00
Brian Anderson
7abf55736c
core: Move 'unreachable' to util. Improve docs
2012-09-20 14:27:37 -07:00
Niko Matsakis
77b0845a84
fix long lines
2012-09-20 14:08:21 -07:00
Niko Matsakis
1983e3d8d7
Make + mode by-value if the type is immediate, by-ref otherwise
...
Fixes #3523
2012-09-20 14:04:38 -07:00
Graydon Hoare
6e9f997f8e
Fix ord test breakage.
2012-09-20 14:00:33 -07:00
Graydon Hoare
348d07f099
Remove export_map from resolve, just use export_map2.
2012-09-20 13:08:50 -07:00
Patrick Walton
69aaa410ca
rustc: Fix buf_as_slice export
2012-09-20 12:26:40 -07:00
Patrick Walton
5cd9d4d9dd
libcore: Make BytesWriters not require shared boxes.
2012-09-20 11:18:22 -07:00
Patrick Walton
9117dcb968
rustc: De-mode all overloaded operators
2012-09-20 09:48:05 -07:00
Brian Anderson
74dbdecb59
Remove old stage0 compat gunk
2012-09-19 19:25:29 -07:00
Brian Anderson
80524d3ad3
std: Demode test
2012-09-19 19:12:35 -07:00
Brian Anderson
c946f65d41
std: Mostly demode net::tcp
2012-09-19 19:12:35 -07:00
Brian Anderson
2792071bd2
std: Demode uv::global_loop
2012-09-19 19:12:35 -07:00
Brian Anderson
677792c6b1
std: Demode uv::iotask
2012-09-19 19:12:35 -07:00
Brian Anderson
c3f15c0982
std: Partially demode uv::ll
2012-09-19 19:12:34 -07:00
Brian Anderson
6cf496ce97
rustdoc: Find doc(hidden) even when there are multiple doc attrs
2012-09-19 19:08:32 -07:00
Brian Anderson
b056e98a27
rustdoc: Fix spelling in tests
2012-09-19 19:08:32 -07:00
Brian Anderson
acc3ec7d6c
core: Hide the docs for the private TaskBuilder impl
2012-09-19 19:08:32 -07:00
Brian Anderson
4f5bff993b
core: Decompose task into more submodules
2012-09-19 19:08:32 -07:00
Brian Anderson
591c152dfc
core: Cleanup task_local docs
2012-09-19 19:08:32 -07:00
Brian Anderson
f996b3ae81
core: Split local_data into local_data/local_data_priv
2012-09-19 19:08:32 -07:00
Brian Anderson
1397dca2dd
core: Move TLS to task::local_data
2012-09-19 19:08:32 -07:00
Brian Anderson
1643794e01
std: Demode bitv
2012-09-19 19:08:08 -07:00
Brian Anderson
9173508aa4
std: Demode arena
2012-09-19 18:14:30 -07:00
Niko Matsakis
ebd3203eaf
repair broken map test; it seems that the original test relied on hokey
...
hash fns in order to setup conflicts. I just removed those asserts,
so the test is not as good as it once was.
2012-09-19 17:47:13 -07:00
Brian Anderson
7bf0aa1c43
core: More doc cleanup
2012-09-19 17:17:19 -07:00
Niko Matsakis
cfed923600
demode the each() method on vec and other iterables.
2012-09-19 17:03:01 -07:00
Brian Anderson
1c39f1968c
std: Clean up crate description
2012-09-19 16:52:59 -07:00
Brian Anderson
c115b82238
core: Clean up crate docs and give all mods a brief description
2012-09-19 16:52:59 -07:00
Graydon Hoare
5e41739562
Remove final bits of residual hokey-hash functions. Close #1616 .
2012-09-19 16:35:53 -07:00
Brian Anderson
10e760efc8
rustdoc: Hide impl __extensions__ name in index
2012-09-19 16:10:06 -07:00
Graydon Hoare
1ffd90edbc
Remove redundant hashmap constructor functions.
2012-09-19 15:51:44 -07:00
Graydon Hoare
384906c1e8
Remove unused hokey-hashes from typeck and region inference.
2012-09-19 15:51:44 -07:00
Graydon Hoare
bac89eae48
Remove hokey-hashes from metadata indexes.
2012-09-19 15:51:44 -07:00
Brian Anderson
c6ed447221
rustdoc: Begin support for structs
2012-09-19 15:32:43 -07:00
Brian Anderson
bd4365f15b
rustdoc: Fix some script-mangled idents
2012-09-19 15:32:33 -07:00
Brian Anderson
afdd8204ea
xfail-fast another legacy_mode test
2012-09-19 14:50:21 -07:00
Philipp Brüschweiler
d3e0a06578
V2: now with more locks!
2012-09-19 14:01:53 -07:00
Philipp Brüschweiler
68e755b1c2
core: Allocate threads on demand, not on scheduler startup
...
API change: rust_kernel::create_scheduler() or
rust_scheduler::rust_scheduler() respecitevly now take ownership of the
launch factory argument, it is needed to create new threads on demand.
Also renames rustrt::sched_threads() to rustrt::rust_sched_threads() for
consistency. Added rustrt::rust_max_sched_threads() to return the
maximal number of scheduled threads of the current scheduler.
Fixes #3493 .
2012-09-19 14:01:53 -07:00
Brian Anderson
35a9353774
xfail-fast the legacy_mode run-pass tests
2012-09-19 13:59:58 -07:00
Graydon Hoare
3cb0fcb803
De-export core::comm
2012-09-19 12:05:32 -07:00
Brian Anderson
0c82c00dc4
libsyntax: Remove the restricted keyword concept
2012-09-19 11:44:05 -07:00
Brian Anderson
76f8cfb26c
libsyntax: Move 'unsafe' to the strict keywords list
2012-09-19 11:44:05 -07:00
Brian Anderson
0e3daa45e2
Export the correct raw module from core::at_vec
2012-09-19 11:44:04 -07:00
Niko Matsakis
9cf271fe96
De-mode vec::each() and many of the str iteration routines
...
Note that the method foo.each() is not de-moded, nor the other
vec routines.
2012-09-19 10:52:59 -07:00
Erick Tryzelaar
da568baea9
libcore: unsafe mod renamed to cast
2012-09-19 08:26:53 -07:00
Niko Matsakis
53abb5edbd
use && for fn() even in legacy mode to work around mem leak
2012-09-19 06:56:29 -07:00
Niko Matsakis
8d4928f780
Revert "replace explicit calls to vec::each with vec::each_ref, partially demode str"
...
This reverts commit 1be24f0758
.
Not quite ready.
2012-09-18 21:41:13 -07:00
Niko Matsakis
1be24f0758
replace explicit calls to vec::each with vec::each_ref, partially demode str
2012-09-18 21:31:00 -07:00
Brian Anderson
e17a3b3194
cargo: Fix copies
2012-09-18 21:20:14 -07:00
Brian Anderson
2906f2de31
core: Rename 'unsafe' mod to 'cast'
2012-09-18 19:36:25 -07:00
Brian Anderson
a9fea86970
Tweak graph500-bfs so it pretty-prints
2012-09-18 19:25:59 -07:00
Brian Anderson
a005b1af60
Fix some broken tests
2012-09-18 18:49:23 -07:00
Brian Anderson
be490c7f81
Fix run-pass-fulldeps/qquote.rs
2012-09-18 18:46:45 -07:00
Brian Anderson
b3b1e62750
rustdoc: Camel case
2012-09-18 16:48:58 -07:00
Graydon Hoare
e86e8c16e6
Revert "change relative priority of auto-slice and auto-ptr"
...
This reverts commit 2ac64d91ac
.
2012-09-18 16:41:51 -07:00
Graydon Hoare
9b58369f6b
Treat static slices and rptrs as sendable.
2012-09-18 16:28:16 -07:00
Patrick Walton
e653d493fb
rustc: Remove legacy mode inference, unless #[legacy_modes] is used
2012-09-18 15:53:04 -07:00
Brian Anderson
d53cfd225a
core: Move Exclusive and SharedMutableState to the private mod
2012-09-18 15:23:57 -07:00
Niko Matsakis
2ac64d91ac
change relative priority of auto-slice and auto-ptr
...
rationale: if you have an impl for &const ~[T] or &mut ~[T]
and one for &[T], the first will be more likely to work and not lead
to borrowck errors. I could imagine us wanting to offer multiple
impls for methods we select the ptr-to-array when possible and
the slice when necessary. Also, taking a ptr seems like fewer
adaptations than slicing, and we tend to prefer fewer adaptations.
2012-09-18 14:24:52 -07:00
Gareth Daniel Smith
5d925b212e
Make vec::view a method too.
2012-09-18 21:46:53 +01:00
Erick Tryzelaar
e3f5403052
libcore: str::unsafe::from_buf_len_nocopy => form_slice
2012-09-18 12:56:57 -07:00
Erick Tryzelaar
d0d68c6036
libcore: make a copyless io::BytesWriter
2012-09-18 12:56:57 -07:00
Brian Anderson
eb35039fe8
Change 'must' to 'should' in non_camel_case_types message
2012-09-18 12:18:00 -07:00
Brian Anderson
76c8b83efa
Consolidate tests for non_camel_case_types
2012-09-18 11:56:08 -07:00
Brian Anderson
6473cf1757
docs: Remove elipses from examples instead of commenting them out
...
This causes bugs since comments aren't nestable
2012-09-18 11:54:45 -07:00
Brian Anderson
2d11a04e74
libsyntax: Remove 'unchecked_blk' from AST
2012-09-18 11:51:17 -07:00
Patrick Walton
c755449fd6
Revert "rustc: Change all non-keyword uses of "link""
...
This reverts commit 3b013cd800
.
2012-09-18 11:47:04 -07:00
Brian Anderson
d0d8b7fe64
Remove 'unchecked' keyword
2012-09-18 11:31:58 -07:00
Brian Anderson
2cdb23bbc0
Replace uses of 'unchecked' with 'unsafe'
2012-09-18 11:31:57 -07:00
Niko Matsakis
efa6675f1d
make filetype() include the "." ( fixes #3412 )
2012-09-18 11:29:53 -07:00
Patrick Walton
3b013cd800
rustc: Change all non-keyword uses of "link"
2012-09-18 11:27:37 -07:00
Brian Anderson
859a892eb0
Add allow(non_camel_case_types) to unconverted crates
2012-09-18 11:21:07 -07:00
Brian Anderson
5c18bf6cdd
core: Rename at_vec::unsafe to raw
2012-09-18 11:19:17 -07:00
Niko Matsakis
1af4a70759
Revert "Adapt callee to avoid intermediary for move/copy arguments (cc #3402 )"
...
This reverts commit 044fbea416
.
2012-09-18 10:41:05 -07:00
Brian Anderson
f563c0b525
warn(non_camel_case_types) by default
2012-09-17 18:52:50 -07:00
Patrick Walton
409bc6fc2c
libcore: Fix cleanup for i386
2012-09-17 12:01:24 -07:00
Niko Matsakis
2469cba0b1
Make auto-slice, auto-ptr not exclusive ( fixes #3514 )
2012-09-17 11:00:50 -07:00
Niko Matsakis
527a6f60f1
WIP: make autoslice, autoptr not be mutually exclusive
2012-09-17 09:49:53 -07:00
Niko Matsakis
48496fc1b6
add a test and correct terminology
...
newtype'd enums have 1 variant, and 1 field.
denegerate have only 1 variant but may have more fields.
2012-09-17 06:34:36 -07:00
Patrick Walton
be162da961
libcore: Log newtyped enums correctly. Closes #3506 .
2012-09-16 09:28:21 -07:00
Brian Anderson
864cca14ee
docs: Make supplemental tutorials testable
2012-09-15 18:06:20 -07:00
Erick Tryzelaar
d0d84348ef
Make most send_map functions pure
2012-09-15 13:38:41 -07:00
Erick Tryzelaar
1834249e8d
libcore: add find_ref/get_ref to SendMap trait
2012-09-15 13:38:41 -07:00
Erick Tryzelaar
10e317de54
vec::u8 => vec::bytes ( #3444 )
2012-09-15 13:38:41 -07:00
Erick Tryzelaar
8dc9e6643a
io::Reader::chars_from_buf => chars_from_bytes ( #3444 )
2012-09-15 13:38:41 -07:00
Erick Tryzelaar
b73f801cc1
int/uint parse_buf => parse_bytes ( #3444 )
2012-09-15 13:38:41 -07:00
Erick Tryzelaar
651e63cc5c
libcore: rename *flate_buf to *flate_bytes ( #3444 )
2012-09-15 13:38:41 -07:00
Erick Tryzelaar
f1f5739256
libcore: fix whitespace in str test
2012-09-15 13:38:41 -07:00
Erick Tryzelaar
8cf09305a7
libcore: send_map test simplification.
2012-09-15 13:38:41 -07:00
Niko Matsakis
e874d37569
add some debug!'s to help diagnose failure of issue-1763.rs
2012-09-15 13:37:35 -07:00
Niko Matsakis
4cad58c464
Fix broken assertion in regionck for code like (a[])()
2012-09-15 12:29:36 -07:00
Niko Matsakis
39d33a653f
regionck: fix bug where autoref regions are not inferred to be large enough
2012-09-15 07:35:09 -07:00
Patrick Walton
73e8ce1e1f
rustc: Back out box annihilator
2012-09-14 19:59:07 -07:00
Graydon Hoare
aa2ab2659f
Add core::reflect, start migrating core::repr to use it. Tidy up various Repr types.
2012-09-14 19:09:38 -07:00
Patrick Walton
1c5db46f8e
rustc: Call the box annihilator in main
2012-09-14 18:05:15 -07:00
Patrick Walton
24c89693f0
libcore: Remove the annihilation tests; there's no easy way to make them work.
...
This should hopefully put out the burning tree.
2012-09-14 16:58:23 -07:00
Patrick Walton
ce773352d0
rustc: Make the box annihilator a language item
2012-09-14 16:50:12 -07:00
Brian Anderson
c7e5c870f3
Remove restricted keyword tests
2012-09-14 16:16:46 -07:00
Patrick Walton
bc96ea2a18
libcore: Implement a box annihilator, not called yet
2012-09-14 16:13:13 -07:00
Niko Matsakis
7107b4eff5
Have parser recognize static, self region.
...
Fixes a bug in methods that &self couldn't be referenced in the
body. Also fixes #2479 .
2012-09-14 15:22:15 -07:00
Niko Matsakis
34cece99cc
replace with_find_ref() with find_ref(), which is just nicer to use
2012-09-14 15:22:15 -07:00
Patrick Walton
6a3756b0ba
test: Use vec::as_imm_buf in bug-2470-bounds-check-overflow.rs
2012-09-14 12:15:40 -07:00
Niko Matsakis
044fbea416
Adapt callee to avoid intermediary for move/copy arguments (cc #3402 )
2012-09-14 12:03:28 -07:00
Patrick Walton
bbfc6f8945
libcore: Make enum logging significantly less clownshoes.
...
Fixes the log-knows-the-names* tests.
2012-09-14 11:22:17 -07:00
Graydon Hoare
127c0d40ac
Teach path to collapse double-slashes in components. Close #3430 .
2012-09-13 19:53:30 -07:00
Graydon Hoare
c5347b4bf9
Fix implicit-instantiation of non-implicitly-copyable warnings.
2012-09-13 19:53:30 -07:00
Graydon Hoare
120a3dede0
Fix unused variable warning.
2012-09-13 19:53:30 -07:00
Brian Anderson
d71179f410
Promote 'fail' to a strict keyword
2012-09-13 17:10:01 -07:00
Graydon Hoare
989536083d
Fix stray vec::as_buf, try to put out fire on win32.
2012-09-13 16:16:15 -07:00
Graydon Hoare
ccd4a0e362
Doc fix, close #3419
2012-09-13 16:10:21 -07:00
Brian Anderson
8a8ca1863d
Fix broken test in core::task
2012-09-13 15:06:40 -07:00
Niko Matsakis
43924f1f9f
fix some of the broken tests (the ones that were doing the right thing)
2012-09-13 15:05:30 -07:00
Brian Anderson
a544b83788
core: Fix stray usage of vec::unsafe on FreeBSD
2012-09-13 14:33:15 -07:00
Niko Matsakis
0e584f2e74
Fix bug in auto-ref on bounded type parameters
2012-09-13 13:24:34 -07:00
Niko Matsakis
2f6b66ecd3
s/vec::as_buf/vec::as_imm_buf/, fix comment, remove set.rs
...
hat tip to @jruderman
2012-09-13 13:24:33 -07:00
Kevin Cantu
c43426e35b
CamelCase and demode json.rs and deque.rs
2012-09-13 12:05:03 -07:00
Brian Anderson
6f9539a15c
Merge pull request #3487 from Blei/fix-3465
...
rt: Implement ThreadPerCore scheduling mode
2012-09-13 12:01:15 -07:00
Brian Anderson
b776395263
core: Remove old definition of rt_fail
2012-09-13 11:49:55 -07:00
Philipp Brüschweiler
62b51d9152
rt: Implement ThreadPerCore scheduling mode
...
Fixes #3465 .
2012-09-13 20:48:33 +02:00
Brian Anderson
1faa288a36
Register snapshots
2012-09-13 11:41:50 -07:00
Patrick Walton
57f99326a7
libcore: Make logging of structural subcomponents after a pointer not crash
2012-09-13 11:20:19 -07:00
Niko Matsakis
e0845eb589
repr: emit closing )
for enum variants, test that nullary variants names print
2012-09-13 11:10:05 -07:00
Niko Matsakis
e21b48c0ce
remove commented code that used to cause borrowck error
...
Fixes #2280
2012-09-13 09:14:49 -07:00
Niko Matsakis
0a504890f3
Convert package list to dvec (cc #2280 )
2012-09-13 09:14:49 -07:00
Niko Matsakis
109055c7d3
make iter::position() not require Eq
2012-09-13 09:14:49 -07:00
Niko Matsakis
7e5661214a
Remove unnecessary temporary, add type annot to help inferencer (cc #2280 )
2012-09-13 09:14:49 -07:00
Brian Anderson
308ca06012
Rename str::unsafe to str::raw
2012-09-12 19:55:16 -07:00
Patrick Walton
59c3c6c147
libcore: Remove debugging code from transmute.
...
Was causing huge code bloat.
2012-09-12 19:08:01 -07:00
Patrick Walton
df712ab3d5
libcore: Make %? use the visitor, not shape glue
2012-09-12 18:59:14 -07:00
Patrick Walton
45f5f8ec45
libcore: Add some visitor-based logging functionality
2012-09-12 18:22:08 -07:00
Erick Tryzelaar
8299f3a447
libcore: add send_map::with_find_ref and with_get_ref.
2012-09-12 18:19:06 -07:00
Erick Tryzelaar
35a418eb88
libcore: modernize send_map's whitespacing
2012-09-12 18:19:06 -07:00
Niko Matsakis
34bf0b9e97
trans: overhaul match bindings. No more phi, one code path for guards.
...
Fixes #3256 .
Fixes #3291 .
2012-09-12 18:15:22 -07:00
Brian Anderson
ff54ac8e59
Rename vec::unsafe to vec::raw
2012-09-12 17:45:36 -07:00
Graydon Hoare
37cf649311
Document IterBytes, Eq, Cmp, Hash. Close #3449 .
2012-09-12 17:08:25 -07:00
Philipp Brüschweiler
7a6df9c90f
core: Implement ToStr for @str
2012-09-12 17:08:25 -07:00
Brian Anderson
7568dd4564
Promote 'const', 'copy', 'fn' to strict keywords
2012-09-12 16:00:22 -07:00
Niko Matsakis
7eb10c4ce1
purge the separate path for rel ops (e.g., ==) vs other bin ops
2012-09-12 15:41:22 -07:00
Brian Anderson
3057790f4b
Rename 'contextual' keywords to 'temporary'
2012-09-12 15:22:34 -07:00
Brian Anderson
287114a3b9
Remove some transitional code
2012-09-12 15:09:21 -07:00
Brian Anderson
fa74edf1a0
rustc: Use the correct 'fail' rtcall
2012-09-12 15:04:40 -07:00
Graydon Hoare
719a4750ba
Add some monomorphizing instrumentation, simplify types before emitting glue.
2012-09-12 14:48:18 -07:00
Graydon Hoare
4ce2ee12be
Add a bunch of inline hints.
2012-09-12 14:48:18 -07:00
Brian Anderson
3c14dae4a6
Register snapshots
2012-09-12 14:36:35 -07:00
Niko Matsakis
5d540de769
fixup mutability of vec::each, make iter_bytes pure
...
also, change DVec() to work with imm vectors rather than mut ones
2012-09-12 13:29:31 -07:00
Brian Anderson
8fbe4b5841
Rename core::rt_fail to core::rt_fail_
2012-09-12 11:52:00 -07:00
Tim Chevalier
86e02554fd
Make moves in arguments explicit in libsyntax and rustc
2012-09-12 11:33:40 -07:00
Brian Anderson
320331fe35
Use a different strategy for transitioning to camel case extfmt
2012-09-12 11:22:48 -07:00
Niko Matsakis
2eef6658c3
update to store map on stack, taking advantage of auto-ref
2012-09-12 06:47:28 -07:00
Niko Matsakis
8a8f200d10
Introduce auto adjustment table to subsume autoderef/autoref/borrowings.
...
Fixes #3261
Fixes #3443
2012-09-11 21:25:01 -07:00
Tim Chevalier
02b41097e4
Make the 'move mode but datum will not store' error fatal
2012-09-11 20:02:34 -07:00