Commit Graph

44 Commits

Author SHA1 Message Date
Patrick Walton a07192fadd libsyntax: Remove all mutable fields from libsyntax. rs=demuting 2013-02-22 16:09:16 -08:00
Patrick Walton bf2a225c0b librustc: Separate most trait bounds with '+'. rs=plussing 2013-02-20 21:14:20 -08:00
Erick Tryzelaar 9da641bd8c libsyntax: convert interner into a modern struct 2013-02-19 10:02:50 -08:00
Patrick Walton bb833ca0f0 librustc: Stop parsing impl Type : Trait and fix several declarations that slipped through. r=tjc 2013-02-15 16:59:56 -08:00
Luqman Aden e244f103c9 libsyntax: Get rid of uses of move and don't parse it. 2013-02-15 02:49:55 -08:00
Nick Desaulniers 4445b38df2 Remove die!, raplace invocations with fail! Issue #4524 pt 3 2013-02-13 17:01:32 -08:00
Patrick Walton 801f3225b2 oldmap: use &K instead of K in find and get
This reverts commit a4250a96fd.

This is not the cause of the nonexhaustive-match failure.
2013-02-05 19:41:45 -08:00
Graydon Hoare a4250a96fd Revert "oldmap: use &K instead of K in find and get"
This reverts commit 8e643525d4.
2013-02-05 14:30:53 -08:00
Daniel Micay 8e643525d4 oldmap: use &K instead of K in find and get 2013-02-03 23:30:56 -05:00
Daniel Micay 319eeb1c79 rename map -> oldmap and mark it as deprecated
LinearMap is quite a bit faster, and is fully owned/sendable without
requiring copies. The older std::map also doesn't use explicit self and
relies on mutable fields.
2013-02-03 15:55:10 -05:00
Brian Anderson 04f93be158 Fix breakage 2013-02-01 15:24:16 -08:00
John Clements 53688addaa test cases, cleanup 2013-01-31 23:05:12 -08:00
Patrick Walton b070590564 libsyntax: De-export libsyntax. rs=deexporting 2013-01-29 14:42:23 -08:00
Patrick Walton 6ce74460e6 librustc: Disallow trait bounds in types, enumerations, and structure definitions. r=tjc 2013-01-29 10:42:58 -08:00
John Clements b635f1e63a fix trailing whitepace 2013-01-23 17:42:05 -08:00
John Clements 8716005581 cleaning up, adding tests 2013-01-23 17:31:12 -08:00
Patrick Walton 2db3abddcd librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc 2013-01-08 22:02:35 -08:00
Patrick Walton 44ab00ee37 Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc"
This reverts commit a8d37af247.
2013-01-08 19:29:16 -08:00
Patrick Walton a8d37af247 librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc 2013-01-08 19:27:57 -08:00
Graydon Hoare 00c856c0b1 Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
Patrick Walton 91ae5412d8 rustc: Merge module and type namespaces. r=brson 2012-10-15 15:35:36 -07:00
Tim Chevalier c5fa613498 Make moves explicit in libsyntax 2012-10-12 20:43:37 -07:00
Erick Tryzelaar dd502fc6e4 Allow hashmaps to infer their types 2012-09-26 16:20:24 -07:00
Niko Matsakis cfed923600 demode the each() method on vec and other iterables. 2012-09-19 17:03:01 -07:00
Tim Chevalier f8b3eaae82 Make all moves explicit in libsyntax 2012-09-10 18:28:47 -07:00
Brian Anderson cb7a5395dd Convert std::map to camel case 2012-09-10 17:08:36 -07:00
Brian Anderson 3bd1f32cd9 Convert all kind bounds to camel case. Remove send, owned keywords. 2012-09-07 18:10:11 -07:00
Graydon Hoare 5d823d46ad Migrate std::map to use core::hash::Hash trait. Disable many hokey hashes. 2012-09-07 17:24:16 -07:00
Patrick Walton 8ff18acc82 libsyntax: "import" -> "use" 2012-09-04 11:43:23 -07:00
Brian Anderson 161a82e433 Camel case various core constructors 2012-08-27 17:22:18 -07:00
Brian Anderson 8337fa1a54 Camel case the option type 2012-08-26 15:56:16 -07:00
Paul Stansifer 1153b5dcc8 intern identifiers 2012-08-22 14:59:25 -07:00
Paul Stansifer 7317bf8792 pre-intern some fixed names so they can be used as constants 2012-08-22 14:59:24 -07:00
Brian Anderson 74c69e1053 Convert more core types to camel case 2012-08-15 14:14:20 -07:00
Brian Anderson 6a0720b439 Convert impls to new syntax 2012-08-08 18:19:24 -07:00
Brian Anderson ecaf9e39c9 Convert alt to match. Stop parsing alt 2012-08-06 15:36:30 -07:00
Brian Anderson 025d86624d Switch alts to use arrows 2012-08-05 22:08:09 -07:00
Niko Matsakis 97452c0ca1 Remove modes from map API and replace with regions.
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-02 15:53:28 -07:00
Brian Anderson b355936b4d Convert ret to return 2012-08-01 19:16:06 -07:00
Lindsey Kuper 439afaa329 Change remaining "iface" occurrences to "trait"; deprecate "iface" 2012-07-31 11:52:16 -07:00
Paul Stansifer 4e9c475527 Work around bug #2935 by unautounboxing. 2012-07-30 18:04:19 -07:00
Paul Stansifer e040ab8423 Impl-ize interner. 2012-07-30 18:04:19 -07:00
Eric Holk 3acc3c4d85 Make std::map require const keys. 2012-05-31 13:55:54 -07:00
Kevin Cantu 7dcbaedd32 Rename librustsyntax to libsyntax
Per issue #2418.
2012-05-31 11:15:00 -07:00