| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-09 | Swap arg order for option::{may,maybe} | Erick Tryzelaar | -2/+2 | |
| This lets us write the block syntax sugar: option::may(x) { |y| … } | ||||
| 2011-12-09 | Allow type annotations for blocks | Marijn Haverbeke | -10/+12 | |
| I.e. {|foo: int| -> int foo + 2} Issue #1275 | ||||
| 2011-12-08 | rustc: Actually hook the crate_type attribute into session | Brian Anderson | -3/+9 | |
| 2011-12-08 | Add crate_type attributes to rustc, std, core | Brian Anderson | -3/+3 | |
| 2011-12-08 | rustc: Support 'crate_type' attribute | Brian Anderson | -0/+74 | |
| [crate_type = "lib"] builds it as a library. [crate_type = "bin"] builds it as an executable. Executable is the default. --lib and --bin switches override. | ||||
| 2011-12-08 | rustc: Move linking into compile_input | Brian Anderson | -16/+20 | |
| 2011-12-08 | rustc: Determine the crate type (lib/bin) in the session, not session opts | Brian Anderson | -16/+28 | |
| This is in preparation for adding a #[crate_type] attribute | ||||
| 2011-12-08 | rt: Make __morestack work on win32 | Brian Anderson | -10/+9 | |
| 2011-12-08 | Error when parsing the empty record type | Marijn Haverbeke | -0/+1 | |
| Issue #1200 | ||||
| 2011-12-08 | Allow binding of nested patterns | Marijn Haverbeke | -79/+132 | |
| See src/test/run-pass/nested-patterns.rs for some examples. The syntax is boundvar@subpattern Which will match the subpattern as usual, but also bind boundvar to the whole matched value. Closes #838 | ||||
| 2011-12-08 | Stop passing around some unused information in typeck | Marijn Haverbeke | -27/+7 | |
| 2011-12-08 | Consider variant constructors pure functions for the purpose of purity checking | Marijn Haverbeke | -3/+3 | |
| Closes #1269 | ||||
| 2011-12-07 | rt: Reorganize and add documentation for rust_upcall.cpp | Brian Anderson | -170/+163 | |
| 2011-12-07 | rt: Run most upcalls on the C stack | Brian Anderson | -60/+66 | |
| 2011-12-07 | use util::rational to work around bug w/ floats on win | Niko Matsakis | -4/+4 | |
| 2011-12-07 | Purge old map impl: more collisions, not clear it is safe on 64bit | Niko Matsakis | -205/+0 | |
| 2011-12-07 | improve comments | Niko Matsakis | -3/+21 | |
| 2011-12-07 | fix old map impl, add logging | Niko Matsakis | -15/+25 | |
| 2011-12-07 | add some debugging logs | Niko Matsakis | -1/+13 | |
| 2011-12-07 | dec size in remove | Niko Matsakis | -2/+2 | |
| 2011-12-07 | make rehashing more efficient by not re-allocating entries | Niko Matsakis | -18/+17 | |
| 2011-12-07 | implement a chained hashmap | Niko Matsakis | -2/+243 | |
| 2011-12-07 | Register new snapshots (containing libcore auto-importing it now). | Graydon Hoare | -3/+7 | |
| 2011-12-07 | Mention new dirs in README. | Graydon Hoare | -1/+4 | |
| 2011-12-07 | Change snapshot script to pick up host libcore as well. | Graydon Hoare | -6/+18 | |
| 2011-12-07 | rt: Fix alignment of stacks generated by __morestack | Brian Anderson | -1/+0 | |
| 2011-12-07 | Inject the view_items for core in the right place, add comment documenting ↵ | Graydon Hoare | -5/+10 | |
| why the wrong place was wrong. | ||||
| 2011-12-07 | Remove stmt_crate_directive, it's vestigial and confusing. | Graydon Hoare | -37/+2 | |
| 2011-12-07 | Fix test that used an oversized int literal | Marijn Haverbeke | -2/+2 | |
| 2011-12-07 | Restore accidentally overwritten test | Marijn Haverbeke | -18/+74 | |
| 2011-12-07 | Check for literals that are out of range for their type | Marijn Haverbeke | -2/+40 | |
| 2011-12-07 | Change literal representation to not truncate | Marijn Haverbeke | -731/+479 | |
| Also shuffles around the organization of numeric literals and types, separating by int/uint/float instead of machine-vs-non-machine types. This simplifies some code. Closes #974 Closes #1252 | ||||
| 2011-12-07 | Register new snapshots. | Graydon Hoare | -0/+7 | |
| 2011-12-07 | Merge branch 'master' of github.com:graydon/rust | Graydon Hoare | -149/+494 | |
| 2011-12-07 | repair more hash functions | Niko Matsakis | -17/+17 | |
| 2011-12-07 | Disallow binding by-mut-ref and by-move arguments | Marijn Haverbeke | -12/+43 | |
| Fix bug in bound by-copy arguments. Closes #1261 | ||||
| 2011-12-07 | Make typestate properly descend pattern guards | Marijn Haverbeke | -0/+10 | |
| Closes #1265 | ||||
| 2011-12-06 | rt: Put 16 guard bytes at the end of the stack | Brian Anderson | -2/+15 | |
| 2011-12-06 | rt: Rename stk_seg.limit to stk_seg.end | Brian Anderson | -9/+8 | |
| rust_task is using the word limit it two ways, so one has to change. | ||||
| 2011-12-06 | rt: Reorganize rust_upcall.cpp a bit | Brian Anderson | -32/+36 | |
| 2011-12-06 | rt: Convert log_type and cmp_type upcalls to shim form | Brian Anderson | -10/+39 | |
| 2011-12-06 | rt: Move upcall_cmp_type/upcall_log_type to rust_upcall.cpp | Brian Anderson | -4/+24 | |
| 2011-12-06 | modify upcalls to take structs as args | Niko Matsakis | -84/+252 | |
| 2011-12-06 | fix hash function: + binds tighter than << | Niko Matsakis | -1/+4 | |
| 2011-12-06 | hack for now: map uint hashes into a u32, which helps x86_64 perf. | Niko Matsakis | -8/+12 | |
| 2011-12-06 | do not stringify AST nodes unless emitting comments | Niko Matsakis | -2/+6 | |
| 2011-12-06 | Merge branch 'master' of github.com:graydon/rust | Niko Matsakis | -6/+65 | |
| 2011-12-06 | Fix condition in snapshot script. Argv is never 2 long, it can be 3 or 4. | Graydon Hoare | -1/+1 | |
| 2011-12-06 | rt: Various tweaks to make __morestack unwinding work on linux | Brian Anderson | -6/+65 | |
| When unwinding through __morestack the stack limit in the TLS is invalidated and must be reset. Instead of actually landing at __morestack we're just going to make all our Rust landing pads call upcall_reset_stack_limit, which will find the stack segment that corresponds to the current stack pointer and put the limit in the TLS. Also massively expand the stack segment red zone to make more room for the dynamic linker. Will fix in the future. | ||||
| 2011-12-06 | Merge branch 'master' of github.com:graydon/rust | Niko Matsakis | -37/+58 | |
