| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-22 | librustc: Remove the `const` declaration form everywhere | Patrick Walton | -1/+1 | |
| 2013-03-22 | libsyntax: Introduce the new `assert!` macro; make `assert` no longer a keyword | Patrick Walton | -0/+13 | |
| 2013-03-20 | change some uses of fail_unless to assert_eq | John Clements | -3/+2 | |
| 2013-03-20 | add assert_eq! macro | John Clements | -0/+10 | |
| the assert_eq! macro compares its arguments and fails if they're not equal. It's more informative than fail_unless!, because it explicitly writes the given and expected arguments on failure. | ||||
| 2013-03-19 | Allow custom messages on assert statements | Alex Crichton | -0/+5 | |
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -20/+20 | |
| 2013-03-11 | Remove the log keyword (by renaming it to __log) | Brian Anderson | -8/+8 | |
| We can't quite remove logging from the language, but this hides the keyword. | ||||
| 2013-03-11 | core: Remove logging constants | Brian Anderson | -8/+8 | |
| 2013-03-08 | auto merge of #5278 : brson/rust/logplusplus, r=brson | bors | -8/+32 | |
| r? `log` can polymorphically log anything, but debug!, etc. requires a format string. With this patch you can equivalently write `debug!(foo)` or `debug!("%?", foo)`. I'm doing this because I was trying to remove `log` (replacing it with nothing, at least temporarily), but there are a number of logging statements that just want to print an arbitrary value and don't care about the format string. I'm not entirely convinced this is a good change, since it overloads the implementation of these macros and makes their usage slightly more nuanced. | ||||
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-07 | Make debug!, etc. macros not require a format string | Brian Anderson | -8/+32 | |
| The one thing `log` can still do is polymorphically log anything, but debug!, etc. require a format string. With this patch you can equivalently write `debug!(foo)` or `debug!("%?", foo)` | ||||
| 2013-03-06 | Add manual &self/ and &static/ and /&self declarations that | Niko Matsakis | -4/+5 | |
| are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations. | ||||
| 2013-03-05 | auto merge of #5231 : jbclements/rust/better-macro-error-message, r=graydon | bors | -5/+13 | |
| Macro invocations with path separators (e.g. foo::bar!()) now produce a sensible error message, rather than an assertion failure. Also added compile-fail test case. Fixes #5218 ? | ||||
| 2013-03-04 | simplified msg (TMI on old one) | John Clements | -2/+2 | |
| 2013-03-04 | better error message for macros with MOD_SEPs | John Clements | -5/+13 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -1/+0 | |
| 2013-03-02 | libsyntax: Remove `fn@`, `fn~`, and `fn&` from libsyntax. rs=defun | Patrick Walton | -16/+28 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -2/+11 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -2/+11 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-28 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -7/+11 | |
| 2013-02-27 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -49/+269 | |
| 2013-02-26 | libsyntax: remove vecs_implicitly_copyable from the syntax extensions | Erick Tryzelaar | -12/+15 | |
| 2013-02-26 | typo-fixing and name-changes | John Clements | -3/+1 | |
| 2013-02-26 | Macros now leave scope | John Clements | -49/+264 | |
| Macro scope is now delimited by function, block, and module boundaries, except for modules that are marked with #[macro_escape], which allows macros to escape. | ||||
| 2013-02-25 | libsyntax: progress on making syntax::visit vecs_implicitly_copyable-free | Erick Tryzelaar | -62/+69 | |
| 2013-02-21 | Get rid of structural records in libsyntax and the last bit in librustc. | Luqman Aden | -15/+33 | |
| 2013-02-19 | convert SyntaxExtensions's key to a @~str | Erick Tryzelaar | -5/+5 | |
| 2013-02-19 | convert syntax::attr to use @~strs | Erick Tryzelaar | -2/+2 | |
| 2013-02-19 | Alias HashMap<~str, SyntaxExtension> to SyntaxExtensions | Erick Tryzelaar | -5/+5 | |
| 2013-02-19 | libsyntax and librustc: minor cleanup | Erick Tryzelaar | -5/+3 | |
| 2013-02-14 | remove die definition and use in doc tests | Nick Desaulniers | -9/+0 | |
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -3/+3 | |
| 2013-02-05 | oldmap: use &K instead of K in find and get | Patrick Walton | -4/+4 | |
| This reverts commit a4250a96fdf61142a9c8dbb6d37ae8435c99e396. This is not the cause of the nonexhaustive-match failure. | ||||
| 2013-02-05 | Revert "oldmap: use &K instead of K in find and get" | Graydon Hoare | -4/+4 | |
| This reverts commit 8e643525d4e5bca993dada43615916c382a0645b. | ||||
| 2013-02-03 | oldmap: use &K instead of K in find and get | Daniel Micay | -4/+4 | |
| 2013-02-03 | rename map -> oldmap and mark it as deprecated | Daniel Micay | -1/+1 | |
| LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields. | ||||
| 2013-02-01 | Merge remote-tracking branch 'nickdesaulniers/issue4524' into nocomm1 | Brian Anderson | -0/+9 | |
| 2013-02-01 | Remove fail keyword from lexer & parser and clean up remaining calls to | Nick Desaulniers | -0/+9 | |
| fail Fix merge conflicts - Issue 4524 | ||||
| 2013-01-31 | test cases, cleanup | John Clements | -2/+2 | |
| 2013-01-29 | libsyntax: De-export libsyntax. rs=deexporting | Patrick Walton | -27/+23 | |
| 2013-01-23 | libsyntax: Implement `assert` as a macro (called `fail_unless!` on a ↵ | Patrick Walton | -0/+8 | |
| transitionary basis to avoid conflicting with the keyword right now). r=brson | ||||
| 2013-01-23 | Long lines | Tim Chevalier | -1/+2 | |
| 2013-01-23 | renaming to adhere to conventions | John Clements | -24/+21 | |
| 2013-01-20 | Convert many libsyntax records into structs | Erick Tryzelaar | -2/+6 | |
| Specifically: ast_map::ctx ast_util::id_range diagnostic::{handler_t,codemap_t} auto_encode::field ext::base::{macro_def,syntax_expander_tt,syntax_expander_tt_item} ext::pipes::proto::next_state | ||||
| 2013-01-20 | convert the remaining ast record types into structs | Erick Tryzelaar | -1/+1 | |
| These are: region,arg,fn_decl,method,_mod,foreign_mod, variant_arg,enum_def_,variant_,trait_ref. | ||||
| 2013-01-11 | libsyntax: Fix name generation in condition! macro | Andrew Paseltiner | -1/+1 | |
| 2013-01-09 | A collection of refactorings that I found it hard/tiresome to divide: | Niko Matsakis | -7/+7 | |
| - Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton | ||||
| 2013-01-09 | syntax: convert ast::spanned into a struct | Erick Tryzelaar | -2/+5 | |
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+2 | |
| module scope. r=tjc | ||||
| 2013-01-08 | Revert "librustc: Make unqualified identifier searches terminate at the ↵ | Patrick Walton | -2/+0 | |
| nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6. | ||||
