| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-18 | test: Enable all morestack tests | Brian Anderson | -19/+3 | |
| 2011-12-18 | Only look for a matching method when normal field access fails | Marijn Haverbeke | -1/+24 | |
| We should probalby warn when defining a method foo on {foo: int} etc. This should reduce the amount of useless typevars that are allocated. Issue #1227 | ||||
| 2011-12-16 | implement #[nolink]; deprecate #[link_name = ""]; note in stdlib to remove ↵ | Graham Fawcett | -10/+10 | |
| empty link_name. Can't remove them from stdlib until the snapshotted compiler supports #[nolink]. | ||||
| 2011-12-16 | add test that requires capturing generic descriptors | Niko Matsakis | -0/+36 | |
| 2011-12-16 | first test of sendable fns (passes) | Niko Matsakis | -0/+20 | |
| 2011-12-16 | reorder args to the various vec, option fns so blk comes last | Niko Matsakis | -4/+5 | |
| 2011-12-16 | Change syntax for impl | Marijn Haverbeke | -0/+18 | |
| Move the name of the bundle to the front, allow type parameters (not handled yet), and add a 'for' keyword: impl utils for int { fn str() -> str { int::str(self) } fn times(f: block()) { ... } } | ||||
| 2011-12-16 | Make 1.f parse as a field access on the integer 1 | Marijn Haverbeke | -1/+1 | |
| A dot is only considered part of a number when not followed by a letter Closes #1306 | ||||
| 2011-12-14 | Fixed type resolution error in math tests | Stefan Plantikow | -5/+5 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -266/+266 | |
| 2011-12-09 | Allow type annotations for blocks | Marijn Haverbeke | -0/+4 | |
| I.e. {|foo: int| -> int foo + 2} Issue #1275 | ||||
| 2011-12-08 | Allow binding of nested patterns | Marijn Haverbeke | -0/+12 | |
| 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-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 | Change literal representation to not truncate | Marijn Haverbeke | -76/+28 | |
| 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-05 | test: Test hitting the dynamic linker in the red zone | Brian Anderson | -0/+81 | |
| 2011-12-05 | test: Add more tests for stack growth | Brian Anderson | -0/+126 | |
| 2011-12-05 | rustc: Add suffix ".rc" to LLVM module identifier | Haitao Li | -0/+7 | |
| LLVM code generator emits the ".file filename" directive for ELF backends. Value of the "filename" is set as the LLVM module identifier. Due to a LLVM MC bug[1], LLVM crashes if the module identifer is same as other symbols such as a function name in the module. This patch adds a ".rc" suffix (means crates) to LLVM module identifier to workaround the bug. Fixes issue #1251. 1. http://llvm.org/bugs/show_bug.cgi?id=11479 | ||||
| 2011-12-05 | rustc: Fix memory leak in do-while loop | Haitao Li | -0/+8 | |
| Issue #1257 | ||||
| 2011-12-02 | const_check: trans: added support for trivial casts | Stefan Plantikow | -0/+15 | |
| Part of #1215 | ||||
| 2011-12-02 | parse: typeck: enabling trivial casts of tail-call return values | Stefan Plantikow | -0/+26 | |
| introduces ctypes::m_* machine type aliases for int, uint, float depending on cfg(target_arch) that are used in tests | ||||
| 2011-12-02 | Disable a test that's failing on 32-bit due to imprecise literal handling | Marijn Haverbeke | -1/+2 | |
| 7655b3c0c673a6857ccf94835f6cedbe778a8667 (re-)introduced the problem | ||||
| 2011-12-02 | Make import ignore imports coming after them | Marijn Haverbeke | -1/+1 | |
| This broke no code at all, so I guess people were already writing imports in this style. Issue #1228 | ||||
| 2011-12-01 | test: Don't fill queue in run-pass/send-iloop. Closes #1244 | Brian Anderson | -0/+3 | |
| 2011-11-30 | adjust and un-xfail | Niko Matsakis | -17/+21 | |
| 2011-11-30 | xfail run-pass/bind-native-printf | Brian Anderson | -0/+1 | |
| Bots are crashing on this on the x86_64 build. As this doesn't seem crucial for getting the x86_64 snapshot, I'm just turning it off. | ||||
| 2011-11-29 | rt: Fix calculation of stack args location in x86_64/morestack.S | Brian Anderson | -0/+45 | |
| 2011-11-29 | extra whitespace | Niko Matsakis | -1/+1 | |
| 2011-11-29 | fix bug in shape concerning size of tag variant | Niko Matsakis | -0/+31 | |
| 2011-11-29 | Add --stack-growth to the morestack test compile flags | Brian Anderson | -0/+2 | |
| 2011-11-24 | rustc: Fix a bug in cdir attribute parsing | Brian Anderson | -0/+11 | |
| The first attribute of the first mod was being applied to every mod. | ||||
| 2011-11-24 | rustc: Add a path attribute for crate directives | Haitao Li | -8/+13 | |
| The path information was an optional "filename" component of crate directive AST. It is now replaced by an attribute with metadata named "path". With this commit, a directive mod foo = "foo.rs"; should be written as: #[path = "foo.rs"] mod foo; Closes issue #906. | ||||
| 2011-11-23 | Allow import directives in any block | Marijn Haverbeke | -0/+11 | |
| Closes #49 | ||||
| 2011-11-23 | Rollback return-by-reference | Marijn Haverbeke | -32/+0 | |
| It's proving too inflexible, so I'm ripping out the extra complexity in the hope that regions will, at some point, provide something similar. Closes #918 | ||||
| 2011-11-22 | rt: Make __morestack (without unwinding) work on 32-bit linux | Brian Anderson | -0/+25 | |
| 2011-11-18 | re-enable tests for #1058 and #1059 | Niko Matsakis | -5/+2 | |
| 2011-11-18 | add test for issue #1174 | Niko Matsakis | -0/+16 | |
| 2011-11-18 | Add some tests for new kind system | Marijn Haverbeke | -17/+30 | |
| Issue #1177 | ||||
| 2011-11-18 | Update stdlib, compiler, and tests to new kind system | Marijn Haverbeke | -71/+71 | |
| This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177 | ||||
| 2011-11-18 | Add a pass-by-copy parameter passing convention | Marijn Haverbeke | -0/+8 | |
| This is intended to solve the problem of how to pass arguments to constructor functions -- you want to move in rvalues, but not have to explicitly copy stuff that is not an rvalue. The by-copy passing convention will ensure the callee gets its own copy of the value. For rvalues, it'll just pass off the value. For lvalues, it'll make a copy. Issue #1177 | ||||
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -5/+0 | |
| 2011-11-16 | Disconnect ports before draining them. Issue #1155 | Brian Anderson | -0/+27 | |
| 2011-11-16 | Replace 'mutable?' with 'const' | Brian Anderson | -1/+1 | |
| 2011-11-16 | rustc: Accept 'const' as synonym for 'mutable?' | Brian Anderson | -3/+3 | |
| 2011-11-16 | Add a test that native mods don't need to declare an ABI | Brian Anderson | -0/+9 | |
| 2011-11-16 | Use attributes for native module ABI and link name | Haitao Li | -26/+63 | |
| This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547 | ||||
| 2011-11-16 | rustc: Use link_name attribute for native function | Haitao Li | -1/+2 | |
| Fixes issue #906 | ||||
| 2011-11-15 | Replaced constant functions with actual constants in std and updated tests | Stefan Plantikow | -3/+3 | |
| Fixes issue #1165 | ||||
| 2011-11-15 | Make run-pass/bitwise 64-bit compatible | Brian Anderson | -3/+17 | |
| 2011-11-15 | Support conditional compilation based on architecture | Brian Anderson | -0/+5 | |
| target_os = "x86" or target_os = "x86_64" | ||||
