summary refs log tree commit diff
path: root/src/libsyntax/attr.rs
AgeCommit message (Collapse)AuthorLines
2012-12-11re-fix typoTim Chevalier-1/+1
2012-12-11Revert "Merge pull request #4144 from luqmana/deprecated-attribute"Tim Chevalier-1/+1
This reverts commit f675b97ddc3d85498473bb4da7f95b8942ebbd81, reversing changes made to e7dd3af970b44c09a429d02d60fd44b9f8ec45bd.
2012-12-09Add deprecated attribute.Luqman Aden-1/+1
2012-12-04librustc: Long lines. rs=rustbotPatrick Walton-1/+3
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-15/+15
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-28Register snapshotsBrian Anderson-10/+0
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+10
2012-11-16Change spans to use byte offsets instead of char offsetsBrian Anderson-2/+2
2012-11-14Add types for character position and byte position in the codemapBrian Anderson-1/+3
2012-10-22Merge remote-tracking branch 'original/incoming' into incomingSimon BD-3/+1
2012-10-18libcore: minor code cleanup.Erick Tryzelaar-3/+1
This is minor and probably completely inconsequential to performance, but I find vec::map to be more clear than vec::each and a push.
2012-10-03Merge remote-tracking branch 'original/incoming' into incomingSimon BD-9/+9
Conflicts: src/libstd/json.rs src/libstd/sort.rs
2012-09-28demode vecNiko Matsakis-8/+8
2012-09-27Put function argument last in sort function. Fixes #3265.Simon BD-1/+1
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-9/+0
2012-09-21De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachiNiko Matsakis-2/+2
2012-09-20Revert "syntax: Make attributes sendable for rustdoc's benefit"Brian Anderson-42/+42
This reverts commit 90e3665fa79d32c3188169cfa992516fb36b81a8.
2012-09-20syntax: Make attributes sendable for rustdoc's benefitBrian Anderson-42/+42
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+9
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-3/+3
2012-09-19Remove redundant hashmap constructor functions.Graydon Hoare-1/+1
2012-09-10Make all moves explicit in libsyntaxTim Chevalier-1/+1
2012-09-10Convert std::map to camel caseBrian Anderson-1/+1
2012-09-10rustc: Make shape-based compare glue never called for comparison operators.Patrick Walton-0/+7
Only called for string patterns.
2012-09-04libsyntax: "import" -> "use"Patrick Walton-6/+6
2012-08-26Camel case the option typeBrian Anderson-35/+35
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-1/+1
2012-08-22Merge find_linkage_attrs with find_linkage_metasTim Chevalier-15/+5
This gets rid of a gratuitous `match check`.
2012-08-22intern identifiersPaul Stansifer-61/+51
2012-08-15Convert more core types to camel caseBrian Anderson-7/+7
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-4/+4
Require comma separators for all expression types except the plain block
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-16/+16
2012-08-05Switch alts to use arrowsBrian Anderson-49/+38
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-3/+3
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-01Convert ret to returnBrian Anderson-21/+21
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-7/+7
2012-07-26Add #[inline(never)], and also fixed inlining on vec::pushEric Holk-1/+5
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-27/+28
#2907.
2012-07-13Support prefix notation for vstore strings. Closes #2906.Michael Sullivan-7/+7
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-4/+4
2012-07-05Comments only: change TODOs to FIXMEs and annotate themTim Chevalier-1/+1
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-24/+20
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-2/+25
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-07-01Convert to new closure syntaxBrian Anderson-8/+7
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-30initial draft of fix for issue #2498:Gareth Daniel Smith-2/+25
1. make /// ... and //! ... and /** ... */ and /*! ... */ into sugar for #[doc = ...] attributes. 2. add a script in etc/ to help converting doc-attributes to doc-comments 3. add some functions to core::str to help with (1)
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-27/+27