| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-03 | rustc: Handle struct patterns where the expected type is an enum | Tim Chevalier | -3/+3 | |
| Previously, rustc would ICE if you matched on an enum-typed thing with a structure pattern. Error out correctly. | ||||
| 2013-05-03 | auto merge of #6046 : brson/rust/io, r=graydon | bors | -1/+1 | |
| r? @pcwalton Sorry this is so big, and sorry the first commit is just titled 'wip'. Some interesting bits * [LocalServices](https://github.com/brson/rust/commit/f9069baa70ea78117f2087fe6e359fb2ea0ae16a) - This is the set of runtime capabilities that *all* Rust code should expect access to, including the local heap, GC, logging, unwinding. * [impl Reader, etc. for Option](https://github.com/brson/rust/commit/5fbb0949a53a6ac51c6d9b187ef4c464e52ae536) - Constructors like `File::open` return Option<FileStream>. This lets you write I/O code without ever unwrapping an option. This series adds a lot of [documentation](https://github.com/brson/rust/blob/io/src/libcore/rt/io/mod.rs#L11) to `core::rt::io`. | ||||
| 2013-05-03 | Avoid needless creation of unique strings in fmt!() | Björn Steinbrink | -4/+2 | |
| Only the first portion has to be owned, as it acts as the buffer for the constructed string. The remaining strings can be static. | ||||
| 2013-05-02 | Merge remote-tracking branch 'brson/io' into incoming | Brian Anderson | -1/+1 | |
| Conflicts: mk/rt.mk src/libcore/run.rs | ||||
| 2013-05-02 | librustc: Update the serializer to work properly with INHTWAMA, removing ↵ | Patrick Walton | -121/+332 | |
| mutable fields in the process | ||||
| 2013-05-02 | fix numerous dynamic borrow failures | Niko Matsakis | -1/+1 | |
| 2013-05-03 | More accurate spans | Seo Sanghyeon | -4/+4 | |
| 2013-05-03 | Use static strings | Jeong YunWon | -39/+32 | |
| 2013-05-02 | More cases of [cfg(test)] instead of [test]. | Felix S. Klock II | -1/+1 | |
| 2013-05-02 | Remove 'Local Variable' comments | Brendan Zabarauskas | -202/+0 | |
| 2013-05-01 | syntax: fix up dynamic borrow errors in libsyntax | Niko Matsakis | -10/+10 | |
| 2013-05-01 | auto merge of #6148 : erickt/rust/remove-drop, r=pcwalton | bors | -313/+115 | |
| The drop block has been deprecated for quite some time. This patch series removes support for parsing it and all the related machinery that made drop work. As a side feature of all this, I also added the ability to annote fields in structs. This allows comments to be properly associated with an individual field. However, I didn't update `rustdoc` to integrate these comment blocks into the documentation it generates. | ||||
| 2013-05-01 | remove some warnings | Erick Tryzelaar | -2/+2 | |
| 2013-05-01 | syntax: remove parse::token::{dtor,literally_dtor} | Erick Tryzelaar | -75/+70 | |
| 2013-05-01 | allow parsing attributes on struct fields | Erick Tryzelaar | -17/+31 | |
| 2013-05-01 | rustc: remove the rest of drop | Erick Tryzelaar | -148/+5 | |
| Removes: ast::struct_def::dtor syntax::ast::ii_dtor syntax::visit::fk_dtor syntax::ast_map::node_dtor syntax:struct_dtor | ||||
| 2013-05-01 | syntax: remove parsing destructors | Erick Tryzelaar | -78/+14 | |
| 2013-05-01 | rustc: print out filename/line-number when a borrow fails | Niko Matsakis | -1/+1 | |
| 2013-05-01 | Revert rename of Div to Quot | Brendan Zabarauskas | -7/+7 | |
| 2013-04-30 | Merge remote-tracking branch 'brson/io' | Brian Anderson | -1/+1 | |
| Conflicts: src/libcore/task/local_data_priv.rs | ||||
| 2013-04-30 | allover: numerous unused muts etc | Niko Matsakis | -3/+2 | |
| 2013-04-30 | new borrow checker (mass squash) | Niko Matsakis | -111/+141 | |
| 2013-04-30 | adapt to snapshot | Niko Matsakis | -20/+0 | |
| 2013-04-29 | libstd: Fix merge fallout. | Patrick Walton | -16/+14 | |
| 2013-04-29 | librustc: Forbid type implementations on typedefs. | Patrick Walton | -2/+49 | |
| 2013-04-29 | librustc: Change labels to use the lifetime notation `'`. | Patrick Walton | -29/+68 | |
| 2013-04-29 | test: Fix tests. | Patrick Walton | -1/+3 | |
| 2013-04-29 | librustc: Remove the concept of modes from the compiler. | Patrick Walton | -99/+52 | |
| This commit does not remove `ty::arg`, although that should be possible to do now. | ||||
| 2013-04-29 | librustc: Remove `ptr::addr_of`. | Patrick Walton | -5/+3 | |
| 2013-04-29 | auto merge of #6083 : jbclements/rust/parser-cleanup, r=jbclements | bors | -542/+870 | |
| r? @pcwalton A month's worth of parser cleanup here. Much of this is new comments and renaming. A number of these commits also remove unneeded code. Probably the biggest refactor here is splitting "parse_item_or_view_item" into two functions; it turns out that the only overlap between items in foreign modules and items in regular modules was macros, so this refactor should make things substantially easier for future maintenance. | ||||
| 2013-04-28 | make way for a new iter module | Daniel Micay | -21/+22 | |
| 2013-04-28 | parser comments | John Clements | -12/+82 | |
| 2013-04-28 | s/one_tuple/trailing_comma (more accurate name) | John Clements | -3/+3 | |
| 2013-04-28 | removed unneeded argument to parse_record | John Clements | -4/+5 | |
| 2013-04-28 | s/parse_purity/parse_unsafety | John Clements | -3/+4 | |
| 2013-04-28 | remove 3-line used-once function | John Clements | -8/+4 | |
| 2013-04-28 | rename parse_instance_var to parse_name_and_ty | John Clements | -3/+3 | |
| the name no longer made sense. perhaps this could just be inlined. | ||||
| 2013-04-28 | remove obsolete semicolon from list of suggestions | John Clements | -1/+1 | |
| 2013-04-28 | rename parse_single_class_item as well | John Clements | -5/+6 | |
| 2013-04-28 | rename parse_class_item to parse_struct_decl_field | John Clements | -3/+4 | |
| two problems with the old name: they're not called classes any more, and the word "item" has a specific connotation in the parser | ||||
| 2013-04-28 | needs_comma was always true | John Clements | -3/+2 | |
| 2013-04-28 | fix for parsing x() as identifier pattern | John Clements | -17/+14 | |
| 2013-04-28 | hard to read the implied double negative | John Clements | -4/+4 | |
| 2013-04-28 | remove unused functions, fix tiny lexing bug | John Clements | -10/+1 | |
| before this change, the parser would parse 14.a() as a method call, but would parse 14.ø() as the floating-point number 14. followed by a function call. This is because it was checking is_alpha, rather than ident_start, and was therefore wrong with respect to unicode. | ||||
| 2013-04-28 | remove unused flag to parse_local fn | John Clements | -5/+4 | |
| 2013-04-28 | remove unused RESTRICT_NO_CALL_EXPRS restriction | John Clements | -7/+2 | |
| 2013-04-28 | undo abstraction over whether to parse attrs in a block | John Clements | -32/+19 | |
| In principle, it seems like a nice idea to abstract over the two functions that parse blocks (one with inner attrs allowed, one not). However, the existing one wound up making things more complex than just having two separate functions, especially after the obsolete syntax is (will be) removed. | ||||
| 2013-04-28 | refactoring to split foreign_items from items | John Clements | -164/+169 | |
| 2013-04-28 | parser comments | John Clements | -6/+20 | |
| parser comments | ||||
| 2013-04-28 | get rid of prec.rs | John Clements | -58/+34 | |
| prec.rs no longer had much to do with precedence; the token->binop function fits better in token.rs, and the one-liner defining the precedence of 'as' can go next to the other precedence stuff in ast_util.rs | ||||
