| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-09-06 | fix one remaining token comparison, refactor token comparison to avoid == check | John Clements | -11/+10 | |
| 2013-09-06 | remove dead code | John Clements | -15/+0 | |
| 2013-09-06 | capturing macros now implemented | John Clements | -85/+221 | |
| 2013-09-06 | add fold_mac clause to fun_to_ctxt_folder | John Clements | -5/+12 | |
| 2013-09-06 | WIP: adding context to macros | John Clements | -9/+15 | |
| 2013-09-06 | rework fold so that fold_tts takes an ast_fold rather than a thunk, stop ↵ | John Clements | -45/+61 | |
| using closures in ident traversal | ||||
| 2013-09-06 | add temporarily unused ctxt field to mac_invoc_tt | John Clements | -3/+3 | |
| 2013-09-06 | add test case for macro token comparison | John Clements | -0/+4 | |
| 2013-09-06 | marking on both input and output from macros. nice shiny new test case framework | John Clements | -29/+275 | |
| 2013-09-06 | test case support fns, remove debugging test case | John Clements | -3/+7 | |
| 2013-09-06 | test case work | John Clements | -4/+2 | |
| 2013-09-06 | re-add lost call to expand_block_elts | John Clements | -1/+2 | |
| 2013-09-06 | test case work | John Clements | -2/+10 | |
| 2013-09-06 | use empty_ctxt to simplify downstream | John Clements | -2/+5 | |
| 2013-09-06 | make comparison of special_idents non-hygienic | John Clements | -2/+2 | |
| 2013-09-06 | comments | John Clements | -0/+3 | |
| 2013-09-06 | remove FIXME #2888, now bug is fixed | John Clements | -11/+11 | |
| 2013-09-06 | comments only | John Clements | -0/+8 | |
| 2013-09-06 | adding test case to check marking/unmarking | John Clements | -9/+17 | |
| 2013-09-06 | separate ItemDecorator from ItemDecorator | John Clements | -2/+2 | |
| 2013-09-06 | removed unneccessary SyntaxExpander structs | John Clements | -33/+18 | |
| 2013-09-06 | renaming test cases | John Clements | -6/+12 | |
| 2013-09-06 | flip the switch on let renaming | John Clements | -1/+1 | |
| 2013-09-06 | add hygiene support fns, move them around. | John Clements | -41/+164 | |
| also adds test cases | ||||
| 2013-09-06 | compare macro tokens hygienically (commented out) | John Clements | -1/+15 | |
| 2013-09-06 | rename resolve to mtwt_resolve | John Clements | -3/+2 | |
| 2013-09-05 | Remove the __log function for __log_level | Alex Crichton | -53/+35 | |
| Also redefine all of the standard logging macros to use more rust code instead of custom LLVM translation code. This makes them a bit easier to understand, but also more flexibile for future types of logging. Additionally, this commit removes the LogType language item in preparation for changing how logging is performed. | ||||
| 2013-09-05 | Add an ``unreachable!()`` macro. | Chris Morgan | -0/+30 | |
| Rationale: having a function which fails means that the location of failure which is output is that of the unreachable() function, rather than the caller. This is part of #8991 but is not all of it; current usage of ``std::util::unreachable()`` must remain so for the moment, until a new snapshot is made; then I will remove that function entirely in favour of using this macro. | ||||
| 2013-09-04 | auto merge of #8977 : pnkfelix/rust/fsk-followup-on-6009-rebased, r=alexcrichton | bors | -2/+1 | |
| Fix #6009. Rebased version of #8970. Inherits review from alexcrichton. | ||||
| 2013-09-04 | stop treating char as an integer type | Daniel Micay | -5/+14 | |
| Closes #7609 | ||||
| 2013-09-04 | Make non-pub condition! expand to non-pub mod. Fix #6009. | Felix S. Klock II | -2/+1 | |
| 2013-09-03 | auto merge of #8963 : jmgrosen/rust/issue-8881, r=alexcrichton | bors | -0/+8 | |
| 2013-09-03 | Fixes #8881. condition! imports parent's pub identifiers | jmgrosen | -0/+8 | |
| 2013-09-03 | auto merge of #8945 : alexcrichton/rust/ifmt-dont-move, r=thestinger | bors | -2/+6 | |
| 2013-09-03 | Modernized a few more types in syntax::ast | Marvin Löbel | -397/+397 | |
| 2013-09-02 | Don't have format! move out of local variables | Alex Crichton | -2/+6 | |
| 2013-09-02 | Renamed syntax::ast::ident -> Ident | Marvin Löbel | -170/+170 | |
| 2013-09-01 | Modernized a few type names in rustc and syntax | Marvin Löbel | -371/+371 | |
| 2013-08-27 | librustc: Fix merge fallout. | Patrick Walton | -1/+0 | |
| 2013-08-27 | librustc: Ensure that type parameters are in the right positions in paths. | Patrick Walton | -9/+49 | |
| This removes the stacking of type parameters that occurs when invoking trait methods, and fixes all places in the standard library that were relying on it. It is somewhat awkward in places; I think we'll probably want something like the `Foo::<for T>::new()` syntax. | ||||
| 2013-08-27 | librustc: Add support for type parameters in the middle of paths. | Patrick Walton | -39/+54 | |
| For example, `foo::<T>::bar::<U>`. This doesn't enforce that the type parameters are in the right positions, however. | ||||
| 2013-08-24 | Introduce alternate forms of logging | Alex Crichton | -23/+30 | |
| These new macros are all based on format! instead of fmt! and purely exist for bootstrapping purposes. After the next snapshot, all uses of logging will be migrated to these macros, and then after the next snapshot after that we can drop the `2` suffix on everything | ||||
| 2013-08-24 | Settle on the format/write/print family of names | Alex Crichton | -11/+36 | |
| 2013-08-24 | Implement a wrapper macro around fprintf -- ifmtf | Alex Crichton | -22/+50 | |
| 2013-08-19 | auto merge of #8535 : nikomatsakis/rust/issue-3678-wrappers-be-gone-2, r=graydon | bors | -0/+79 | |
| Long-standing branch to remove foreign function wrappers altogether. Calls to C functions are done "in place" with no stack manipulation; the scheme relies entirely on the correct use of `#[fixed_stack_segment]` to guarantee adequate stack space. A linter is added to detect when `#[fixed_stack_segment]` annotations are missing. An `externfn!` macro is added to make it easier to declare foreign fns and wrappers in one go: this macro may need some refinement, though, for example it might be good to be able to declare a group of foreign fns. I leave that for future work (hopefully somebody else's work :) ). Fixes #3678. | ||||
| 2013-08-19 | Add externfn macro and correctly label fixed_stack_segments | Niko Matsakis | -0/+79 | |
| 2013-08-19 | auto merge of #8564 : alexcrichton/rust/ifmt+++, r=graydon | bors | -23/+20 | |
| See discussion in #8489, but this selects option 3 by adding a `Default` trait to be implemented by various basic types. Once this makes it into a snapshot I think it's about time to start overhauling all current use-cases of `fmt!` to move towards `ifmt!`. The goal is to replace `%X` with `{}` in 90% of situations, and this commit should enable that. | ||||
| 2013-08-18 | quote_*! macros take an ExtCtx | Steven Fackler | -154/+114 | |
| They previously required one called "ext_cx" to be in scope. Fixes part of #7727 | ||||
| 2013-08-16 | Delegate `{}` to Default instead of Poly | Alex Crichton | -23/+20 | |
| By using a separate trait this is overridable on a per-type basis and makes room for the possibility of even more arguments passed in for the future. | ||||
| 2013-08-16 | auto merge of #8534 : huonw/rust/tls-key-macro, r=alexcrichton | bors | -0/+11 | |
| This allows the internal implementation details of the TLS keys to be changed without requiring the update of all the users. (Or, applying changes that *have* to be applied for the keys to work correctly, e.g. forcing LLVM to not merge these constants.) | ||||
