| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-18 | Only look for a matching method when normal field access fails | Marijn Haverbeke | -3/+3 | |
| 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 | allow #[link_args] with #[nolink]. For now, fail if two modules link same ↵ | Graham Fawcett | -0/+28 | |
| lib, and second has link_args. I think it should undefined to have multiple modules that link in the same library, but provide different link arguments. Unfortunately we don't track link_args by module -- they are just appended as discovered into the crate store -- but for now, it should be an error to provide link_args on a module that's already been included (with or without link_args). | ||||
| 2011-12-16 | implement #[nolink]; deprecate #[link_name = ""]; note in stdlib to remove ↵ | Graham Fawcett | -0/+5 | |
| empty link_name. Can't remove them from stdlib until the snapshotted compiler supports #[nolink]. | ||||
| 2011-12-16 | Make uses of self in impls compile | Marijn Haverbeke | -2/+2 | |
| 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-14 | Fixed type resolution error in math tests | Stefan Plantikow | -3/+1 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -19/+19 | |
| 2011-12-07 | Check for literals that are out of range for their type | Marijn Haverbeke | -0/+3 | |
| 2011-12-05 | typeck: Fix for #932 | Stefan Plantikow | -0/+4 | |
| 2011-12-02 | parse: typeck: enabling trivial casts of tail-call return values | Stefan Plantikow | -0/+19 | |
| introduces ctypes::m_* machine type aliases for int, uint, float depending on cfg(target_arch) that are used in tests | ||||
| 2011-12-02 | Be less specific in 'unresolved import' error patterns | Marijn Haverbeke | -6/+6 | |
| To make sure different test set-ups (check-fast) don't cause the tests to fail. | ||||
| 2011-12-02 | Make import ignore imports coming after them | Marijn Haverbeke | -2/+2 | |
| This broke no code at all, so I guess people were already writing imports in this style. Issue #1228 | ||||
| 2011-11-24 | rustc: Add a path attribute for crate directives | Haitao Li | -3/+0 | |
| 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 | Rollback return-by-reference | Marijn Haverbeke | -69/+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 | Properly check for copies when constructing a record using with | Marijn Haverbeke | -0/+13 | |
| Closes #989 | ||||
| 2011-11-22 | Only warn about unreachable range patterns when appropriate | Marijn Haverbeke | -9/+3 | |
| Also simplifies the literal-munging, and moves it into ast_util Closes #1170 | ||||
| 2011-11-21 | Add a pass that checks that blocks are only used in safe ways | Marijn Haverbeke | -6/+3 | |
| Closes #1188 | ||||
| 2011-11-18 | Add some tests for new kind system | Marijn Haverbeke | -56/+0 | |
| Issue #1177 | ||||
| 2011-11-18 | Update stdlib, compiler, and tests to new kind system | Marijn Haverbeke | -171/+21 | |
| 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 | Preparation for kind system overhaul | Marijn Haverbeke | -0/+16 | |
| This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177 | ||||
| 2011-11-17 | rustc: Add a flag '--warn-unused-imports' | Haitao Li | -0/+1 | |
| Followup of issue #889 | ||||
| 2011-11-16 | Replace 'mutable?' with 'const' | Brian Anderson | -13/+13 | |
| 2011-11-16 | Use attributes for native module ABI and link name | Haitao Li | -2/+4 | |
| 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-15 | Fix handling of loops and conditionals in alias.rs | Marijn Haverbeke | -0/+10 | |
| It now threads information about invalidated aliases through the AST properly. This makes it more permissive for conditionals (invalidating an alias in one branch doesn't prevent you from using it in another), and less permissive for loops (it now properly notices when a loop invalidates an alias that it might still use in another iteration). Closes #1144 | ||||
| 2011-11-13 | Make various binops not typecheck for unsafe pointers. Closes #1173 | Brian Anderson | -0/+4 | |
| 2011-11-10 | rustc: Add support of warning on unused imports | Haitao Li | -0/+19 | |
| Fixes issue #889 | ||||
| 2011-11-09 | Add "cdecl" as synonym for "c-stack-cdecl" | Brian Anderson | -2/+2 | |
| 2011-11-08 | Remove all uses of native cdecl except for those that yield | Brian Anderson | -2/+2 | |
| 2011-11-07 | Add test for if without else cannot return result | Brian Anderson | -0/+6 | |
| 2011-11-07 | Add tests for blocks that must not have results | Brian Anderson | -0/+29 | |
| 2011-11-03 | Update some more tests for 1a68a9882 | Marijn Haverbeke | -42/+0 | |
| 2011-11-02 | Make ptr::addr_of return an immutable vec, add mut_addr_of | Marijn Haverbeke | -2/+2 | |
| 2011-10-29 | stdlib: Make io failures recoverable by returning a result | Brian Anderson | -0/+3 | |
| 2011-10-28 | Move to short kind kinds words in test suite | Marijn Haverbeke | -3/+3 | |
| Issue #1076 | ||||
| 2011-10-27 | Add tests for the 'as' (cast) operator | Matt Brubeck | -0/+16 | |
| 2011-10-25 | Update our code to new type parameter kind syntax | Marijn Haverbeke | -3/+3 | |
| Closes #1067 | ||||
| 2011-10-25 | Step one towards new type param kind syntax | Marijn Haverbeke | -1/+1 | |
| Issue #1067 Needs a snapshot to finalize. | ||||
| 2011-10-21 | Remove some semicolons after block calls | Marijn Haverbeke | -1/+1 | |
| The remaining ones can be removed after the next snapshot. (Or we can let the next pretty-print pass take care of them.) | ||||
| 2011-10-21 | Remove remaining uses of iter and for-each | Marijn Haverbeke | -16/+3 | |
| Issue #1056 | ||||
| 2011-10-20 | Remove temporary fn# syntax | Brian Anderson | -7/+7 | |
| 2011-10-20 | Make fn denote a bare function. Convert fn to fn@ as needed | Brian Anderson | -2/+2 | |
| 2011-10-20 | Tweak typecheck to enforce covariance on higher-order function arguments | Brian Anderson | -0/+14 | |
| 2011-10-20 | Drop the 2 from the spawn*2 functions | Brian Anderson | -1/+1 | |
| Issue #1022 | ||||
| 2011-10-20 | Convert tests to use bare-fn spawn | Brian Anderson | -2/+2 | |
| Issue #1022 | ||||
| 2011-10-19 | Fail nicer when the parser doesn't find an expected string literal | Brian Anderson | -0/+3 | |
| Closes #1028 | ||||
| 2011-10-18 | Fix parse error in constrained-type-missing-check.rs | Matt Brubeck | -2/+2 | |
| 2011-10-17 | Enforce variance rules for mutable types | Brian Anderson | -0/+92 | |
| 2011-10-17 | Don't allow assignment to mutable-wha? | Brian Anderson | -0/+64 | |
| 2011-10-13 | Don't allow the value of generic bare functions to be taken | Brian Anderson | -0/+23 | |
| Issue #1038 | ||||
| 2011-10-12 | reimplement some of the unsafe stuff which got lost | Niko Matsakis | -0/+9 | |
| - blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile | ||||
| 2011-10-12 | new test | Niko Matsakis | -0/+11 | |
