summary refs log tree commit diff
path: root/src/libsyntax/ext/pipes
AgeCommit message (Collapse)AuthorLines
2013-06-30Remove vec::{map, mapi, zip_map} and the methods, except for .map, since thisHuon Wilson-6/+6
is very common, and the replacement (.iter().transform().collect()) is very ugly.
2013-06-28librustc: Fix merge fallout.Patrick Walton-1/+1
2013-06-28librustc: Remove the broken overloaded assign-ops from the language.Patrick Walton-28/+29
They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits.
2013-06-26Infer default static/Owned bounds for unbounded heap fns/traits (#7264)Ben Blum-12/+11
2013-06-25auto merge of #7365 : cmr/rust/syntax_cleanup, r=Aatchbors-15/+2
Sets the stage for further cleanup (especially mass-slaughter of `@`)
2013-06-25remove the redundant `each` method from OptVecDaniel Micay-2/+2
2013-06-25great renaming propagation: syntaxCorey Richardson-15/+2
2013-06-24remove old_iterDaniel Micay-2/+2
the `test/run-pass/class-trait-bounded-param.rs` test was xfailed and written in an ancient dialect of Rust so I've just removed it this also removes `to_vec` from DList because it's provided by `std::iter::to_vec` an Iterator implementation is added for OptVec but some transitional internal iterator methods are still left
2013-06-23Parse and typecheck (not kindcheck) bounds on trait paths.Ben Blum-10/+12
2013-06-23vec: remove BaseIter implementationDaniel Micay-5/+5
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-16/+16
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-14auto merge of #7110 : thestinger/rust/iterator, r=brsonbors-1/+0
2013-06-14add IteratorUtil to the preludeDaniel Micay-1/+0
2013-06-13automated whitespace fixesDaniel Micay-1/+0
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-32/+32
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-11fix tests, remove some warningsHuon Wilson-1/+0
2013-06-10std: remove str::{connect,concat}*.Huon Wilson-7/+5
2013-06-08std: remove each[i]_mut functions, in favour of iterators.Huon Wilson-2/+2
2013-06-05removed unused imports (and one unused argument)John Clements-2/+1
2013-06-05remove interner from tt_readerJohn Clements-1/+0
2013-06-05remove unused cx'sJohn Clements-4/+4
2013-06-05interner just uses uints, not idents with syntax contextJohn Clements-5/+5
2013-06-05just use TLS internerJohn Clements-6/+7
2013-06-01Swap return value of pipes::init Fixes #4501Nick Desaulniers-24/+7
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-28/+32
2013-05-30Remove unnecessary 'use' formsDaniel Farina-2/+1
Fix a laundry list of warnings involving unused imports that glutted up compilation output. There are more, but there seems to be some false positives (where 'remedy' appears to break the build), but this particular set of fixes seems safe.
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+7
2013-05-28Remove unnecessary allocations flagged by lintSeo Sanghyeon-5/+5
2013-05-23cleanup warnings from libsyntaxErick Tryzelaar-2/+0
2013-05-22syntax: Change syntax extensions to expand to `std::foo` instead of `core::foo`Patrick Walton-22/+23
2013-05-22librustc: Change `std` to `extra` throughout libsyntax and librustcPatrick Walton-1/+1
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+13
to libextra
2013-05-22syntax/ext: convert all AstBuilder methods to a uniform syntax.Huon Wilson-38/+54
2013-05-22syntax/ext: collect the ast building traits into a single trait.Huon Wilson-401/+24
2013-05-22syntax/ext: modernise ext_ctxt to be CamelCase and use new.Huon Wilson-31/+31
2013-05-20Remove all unnecessary allocations (as flagged by lint)Alex Crichton-4/+4
2013-05-19Register snapshotsBrian Anderson-15/+0
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-4/+4
2013-05-12librustc: Make `self` and `static` into keywordsPatrick Walton-2/+2
2013-05-11Warning policeTim Chevalier-1/+1
2013-05-10auto merge of #6223 : alexcrichton/rust/issue-6183, r=pcwaltonbors-0/+16
Closes #6183. The first commit changes the compiler's method of treating a `for` loop, and all the remaining commits are just dealing with the fallout. The biggest fallout was the `IterBytes` trait, although it's really a whole lot nicer now because all of the `iter_bytes_XX` methods are just and-ed together. Sadly there was a huge amount of stuff that's `cfg(stage0)` gated, but whoever lands the next snapshot is going to have a lot of fun deleting all this code!
2013-05-10syntax: Use the new `for` protocolAlex Crichton-0/+16
2013-05-09Use a specialized string interner to reduce the need for owned stringsBjörn Steinbrink-26/+26
&str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str.
2013-05-08test: Fix tests and the pipe compilerPatrick Walton-4/+5
2013-05-08librustc: Remove mutable fields from the language.Patrick Walton-4/+2
They're still parsed though, to get through bootstrapping.
2013-05-05Fix two more write guard failuresNiko Matsakis-1/+1
2013-05-05Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freezeNiko Matsakis-6/+2
Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-4/+0
2013-05-01allow parsing attributes on struct fieldsErick Tryzelaar-1/+2
2013-05-01rustc: remove the rest of dropErick Tryzelaar-1/+0
Removes: ast::struct_def::dtor syntax::ast::ii_dtor syntax::visit::fk_dtor syntax::ast_map::node_dtor syntax:struct_dtor