| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-18 | Only look for a matching method when normal field access fails | Marijn Haverbeke | -2/+2 | |
| 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 | extend with ty_send_type and ty_opaque_closure | Niko Matsakis | -1/+6 | |
| 2011-12-16 | reorder args to the various vec, option fns so blk comes last | Niko Matsakis | -3/+3 | |
| 2011-12-16 | Make polymorphic impl methods work | Marijn Haverbeke | -10/+16 | |
| Something will still have to be done to the AST to make it possible to say `x.foo::<int>()`, since currently field access never allows type parameters. Issue #1227 | ||||
| 2011-12-16 | Make uses of self in impls compile | Marijn Haverbeke | -36/+41 | |
| Get rid of expr_self_call, introduces def_self. `self` is now, syntactically, simply a variable. A method implicitly brings a `self` binding into scope. Issue #1227 | ||||
| 2011-12-16 | Get very simple impl method calls to compile | Marijn Haverbeke | -33/+62 | |
| Resolution is still dumb, and no self support yet. | ||||
| 2011-12-16 | Get a very primitive form of typechecking/resolving to work for impls | Marijn Haverbeke | -1/+4 | |
| No conflict resolution or polymorphism yet. Issue #1227 | ||||
| 2011-12-16 | Parse and resolve implementations. | Marijn Haverbeke | -0/+4 | |
| Issue #1227 | ||||
| 2011-12-16 | rustc: Implement non-renamed re-export across crates | Haitao Li | -3/+5 | |
| First patch for issue #1115. Not yet ready for re-exported modules which are renamed when importing them. | ||||
| 2011-12-15 | rustc: Box the vectors returned from ty::tag_variants | Brian Anderson | -8/+8 | |
| 2011-12-15 | massive refactor of how closures work | Niko Matsakis | -276/+48 | |
| 2011-12-15 | resurrect tps_fn() and put it to use this time. | Niko Matsakis | -2/+3 | |
| 2011-12-14 | remove unused tps_fn(); comment out unused var | Niko Matsakis | -3/+2 | |
| 2011-12-14 | refactor trans into trans_closure; restore original closure repr | Niko Matsakis | -412/+12 | |
| 2011-12-14 | treat native fns as shared closures | Niko Matsakis | -0/+1 | |
| 2011-12-14 | insert a field into the closure storing number of ty descs | Niko Matsakis | -15/+19 | |
| 2011-12-14 | pull out the code from iter_structural_ty for handling functions, | Niko Matsakis | -28/+54 | |
| as we will have to do very careful and non-generic things | ||||
| 2011-12-14 | treat different kinds of closures differently | Niko Matsakis | -19/+53 | |
| 2011-12-14 | translate unique closure env better | Niko Matsakis | -24/+47 | |
| 2011-12-14 | remove unused options | Niko Matsakis | -15/+5 | |
| 2011-12-14 | get basic code generation working, clone type descs for lambda[send] | Niko Matsakis | -19/+52 | |
| 2011-12-14 | make fact that trans'ing lvar does not modify bcx explicit in type | Niko Matsakis | -12/+19 | |
| 2011-12-14 | sendable functions now "work", meaning pass through trans/typestate | Niko Matsakis | -2/+2 | |
| but they do not generate correct code | ||||
| 2011-12-14 | first attempt, not happy with it | Niko Matsakis | -1/+2 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -37/+39 | |
| 2011-12-12 | rustc: build versioned library with hash in its name | Haitao Li | -2/+2 | |
| Also updated build to install versioned libraries and added a few missing actions for `make clean`. | ||||
| 2011-12-08 | rustc: Determine the crate type (lib/bin) in the session, not session opts | Brian Anderson | -3/+3 | |
| This is in preparation for adding a #[crate_type] attribute | ||||
| 2011-12-08 | Allow binding of nested patterns | Marijn Haverbeke | -2/+2 | |
| 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 | Change literal representation to not truncate | Marijn Haverbeke | -62/+13 | |
| 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 | Disallow binding by-mut-ref and by-move arguments | Marijn Haverbeke | -0/+6 | |
| Fix bug in bound by-copy arguments. Closes #1261 | ||||
| 2011-12-06 | do not stringify AST nodes unless emitting comments | Niko Matsakis | -1/+3 | |
| 2011-12-06 | rt: Various tweaks to make __morestack unwinding work on linux | Brian Anderson | -0/+5 | |
| 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-05 | rustc: Remove whitespace | Brian Anderson | -1/+1 | |
| 2011-12-05 | rustc: Add suffix ".rc" to LLVM module identifier | Haitao Li | -1/+12 | |
| 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 | -2/+5 | |
| Issue #1257 | ||||
| 2011-12-02 | const_check: trans: added support for trivial casts | Stefan Plantikow | -0/+10 | |
| Part of #1215 | ||||
| 2011-12-02 | parse: typeck: enabling trivial casts of tail-call return values | Stefan Plantikow | -6/+5 | |
| introduces ctypes::m_* machine type aliases for int, uint, float depending on cfg(target_arch) that are used in tests | ||||
| 2011-12-02 | ty: trans: added support for dropping trivial casts | Stefan Plantikow | -1/+8 | |
| 2011-11-30 | Box ast::path values | Marijn Haverbeke | -1/+1 | |
| It seems inefficient to copy them around. Let's measure whether that's actually > the case | ||||
| 2011-11-29 | fix bug in shape concerning size of tag variant | Niko Matsakis | -2/+2 | |
| 2011-11-23 | Rollback return-by-reference | Marijn Haverbeke | -52/+25 | |
| 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 | Make type_needs_drop accurate, get rid of type_has_pointers | Marijn Haverbeke | -7/+4 | |
| Closes #1209 | ||||
| 2011-11-21 | rustc: Remove abi from ast::native_mod | Haitao Li | -20/+48 | |
| 2011-11-21 | Fix bad interaction between last-use finding and references | Marijn Haverbeke | -4/+6 | |
| The last-use pass now takes input from the alias pass to not mark things as last uses that are still accessed through a reference. Issue #925 | ||||
| 2011-11-18 | get pure wrappers approach running | Niko Matsakis | -100/+49 | |
| 2011-11-18 | sketch out design | Niko Matsakis | -54/+98 | |
| 2011-11-18 | Make sure by-copy arguments take last-use into account | Marijn Haverbeke | -1/+7 | |
| 2011-11-18 | Make sure trans translates record fields in the order they appear in code | Marijn Haverbeke | -24/+25 | |
| This prevents surprising side-effect orders, and makes them easier for the other passes to deal with. | ||||
| 2011-11-18 | Make trans use last_use info to not actually generate copies | Marijn Haverbeke | -18/+29 | |
| Issue #925 | ||||
| 2011-11-18 | Properly check kinds in instantiation of generics | Marijn Haverbeke | -1/+1 | |
| Issue #1177 | ||||
