summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2012-10-11Update FIXME numberTim Chevalier-1/+1
2012-10-11Remove comment that is now falseTim Chevalier-1/+0
2012-10-11Update FIXME numbersTim Chevalier-2/+2
2012-10-11Make to_str pure and fix const parameters for str-mutating functionsTim Chevalier-1/+1
Two separate changes that got intertwined (sorry): Make to_str pure. Closes #3691 In str, change functions like push_char to take an &mut str instead of an &str. Closes #3710
2012-10-09Merge pull request #3700 from erickt/cargo-internerTim Chevalier-21/+26
allow interner cache to be shared across parsers (#3699)
2012-10-08Revert "Revert "Remove old auto_serialize2 code (needs snapshot)""Tim Chevalier-1233/+2
This reverts commit a33535e441dc5461fec0489069a1491367ad1c91.
2012-10-08Revert "Remove old auto_serialize2 code (needs snapshot)"Tim Chevalier-2/+1233
This reverts commit 0bd6da8a8c93143325cb45e8a074ccf7121ca168.
2012-10-08allow interner cache to be shared across parsers (#3699)Erick Tryzelaar-21/+26
2012-10-08remove ctor from astNiko Matsakis-148/+23
2012-10-07Remove old auto_serialize2 code (needs snapshot)Erick Tryzelaar-1233/+2
2012-10-07Remove the old serializers (needs snapshot)Erick Tryzelaar-847/+1152
2012-10-07remove the old auto_serialize syntax extensionErick Tryzelaar-108/+146
2012-10-07migrate libsyntax/rustc to auto_serialize2Erick Tryzelaar-164/+219
2012-10-05Remove by-mutable-ref mode from the compilerTim Chevalier-8/+13
and test cases. Closes #3513
2012-10-05Finally removing all uses of by-mut-refTim Chevalier-1/+2
The code for the mode itself is still there.
2012-10-05Remove uses of mutable ref mode.Tim Chevalier-22/+24
It's still in the compiler right now, but warned about
2012-10-05Revert "wip"Tim Chevalier-27/+26
This reverts commit ca49fd402af8e7bf613c43e996274b5a017958d2.
2012-10-05wipTim Chevalier-26/+27
2012-10-05Demode some code using by-mutbl-ref; warn about by-mutbl-refTim Chevalier-0/+1
The parser now warns about use of mutbl-ref mode, though it's kind of a lie since this commit doesn't remove support for the mode. Changed move_val_init to have stage0 and stage1/2 versions, the latter of which is demoded. Changed the type that the typechecker expects the move_val_init intrinsic to have. After this is pushed, I can make a new snapshot, which will remove the need for the stage0 versions.
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-16/+6
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-02rustc: Only allow imports marked with "pub" to be imported from other modulesPatrick Walton-3/+3
2012-10-02libstd: Switch off legacy modes in both core and std.Patrick Walton-14/+14
2012-10-01Split auto_serialize2 into two macrosErick Tryzelaar-77/+130
2012-10-01Factor out auto_serialize2's impls from each other.Erick Tryzelaar-67/+114
2012-10-01auto_serialize2 should deserialize structs using read_structErick Tryzelaar-57/+106
2012-10-01Add deserializable and more types to serialization2Erick Tryzelaar-61/+128
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-6/+6
Everything should now call ptr::addr_of instead of ptr::p2::addr_of. Only the pipes macro code when compiled by stage0 will call ptr::p2::addr_of. Needs a snapshot to get rid of that.
2012-10-01Call 'new' instead of 'old' extfmt code, preparing for snapshotTim Chevalier-1/+1
2012-09-28Add a demoded version of ptr::addr_ofTim Chevalier-3/+3
Currently, the new version is ptr::p2::addr_of and the old one is ptr::addr_of. This is kind of cheesy, but I need a snapshot before I can ditch the old version, since the pipe compiler generates calls to addr_of. core is converted over to use the new version, std is not.
2012-09-28Add allow(deprecated_\*) to syntax, rustc, rustdoc, et alBrian Anderson-0/+2
2012-09-28Demoding in iter: any, all, map_to_vec, flat_map_to_vec, filter_to_vecTim Chevalier-2/+2
2012-09-28rename iter2 to each2, make it follow iterator protocolNiko Matsakis-2/+2
2012-09-28Pretty-print item visibility modifiersBrian Anderson-0/+1
2012-09-28Demode extfmtTim Chevalier-50/+57
Needs a snapshot before this can be completed, because I changed the mode for conv_poly.
2012-09-28demode vecNiko Matsakis-38/+39
2012-09-27libsyntax: Fix long lineErick Tryzelaar-1/+2
2012-09-27Merge pull request #3607 from gutworth/incomingBrian Anderson-11/+5
utterly trivial refactoring
2012-09-27core: More option demodingBrian Anderson-7/+7
2012-09-27libsyntax: Parse visibility modifiers before foreign itemsPatrick Walton-8/+15
2012-09-27factor out common linesBenjamin Peterson-11/+5
2012-09-26core: Replace map/map_default with map_ref/map_default_refBrian Anderson-23/+23
2012-09-26Remove spurious by-ref argument to destructorsTim Chevalier-4/+2
Destructors were internally declared with an extra (hidden) nil-typed argument that was passed in by-ref mode. This was causing spurious mode warnings. Deleted it. Also some misc. cleanup because I couldn't help myself.
2012-09-26Long linesBrian Anderson-4/+7
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-164/+159
2012-09-26turn ast::ident into a structErick Tryzelaar-84/+113
This will help with the auto_serialize2 migration. We have to change ident from a type alias to uint into a unique type. We need to use a struct instead of a "enum ident = token::str_num" because structs support constants, but newtypes do not.
2012-09-26libstd: change serialization2 to take &self argument methodsErick Tryzelaar-7/+40
Unfortunately this trips over issue (#3585), where auto-ref isn't playing nicely with @T implementations. Most serializers don't care, but prettyprint2 won't properly display "@" until #3585 is fixed.
2012-09-26auto_serialize2 should fully qualify std::serialization2::deserializeErick Tryzelaar-4/+12
2012-09-26libsyntax: remove quasiquoter from auto_serialize2Erick Tryzelaar-132/+288
2012-09-26libsyntax: implement auto_serialize2 for enums, records, and structsErick Tryzelaar-0/+620
2012-09-26Allow hashmaps to infer their typesErick Tryzelaar-5/+5