]> git.lizzy.rs Git - rust.git/log
rust.git
11 years agoMerge pull request #3526 from Dretch/viewmethod
Brian Anderson [Thu, 27 Sep 2012 04:08:26 +0000 (21:08 -0700)]
Merge pull request #3526 from Dretch/viewmethod

Make vec::view a method too.

11 years agoMerge pull request #3605 from dbp/tutorial
Brian Anderson [Thu, 27 Sep 2012 03:56:50 +0000 (20:56 -0700)]
Merge pull request #3605 from dbp/tutorial

tutorial: changing `again` to `loop`

11 years agotutorial: changing `again` to `loop`
Daniel Patterson [Thu, 27 Sep 2012 03:28:39 +0000 (23:28 -0400)]
tutorial: changing `again` to `loop`

11 years agocore: Replace map/map_default with map_ref/map_default_ref
Brian Anderson [Wed, 26 Sep 2012 23:27:12 +0000 (16:27 -0700)]
core: Replace map/map_default with map_ref/map_default_ref

11 years agocore: Fix mode warnings in str
Brian Anderson [Wed, 26 Sep 2012 23:27:54 +0000 (16:27 -0700)]
core: Fix mode warnings in str

11 years agoRemove spurious by-ref argument to destructors
Tim Chevalier [Thu, 27 Sep 2012 02:40:05 +0000 (19:40 -0700)]
Remove spurious by-ref argument to destructors

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.

11 years agotutorial: Convert a list to prose
Brian Anderson [Thu, 27 Sep 2012 02:34:48 +0000 (19:34 -0700)]
tutorial: Convert a list to prose

11 years agoUnbreak test/bench/task-perf-word-count-generic
Brian Anderson [Thu, 27 Sep 2012 02:30:09 +0000 (19:30 -0700)]
Unbreak test/bench/task-perf-word-count-generic

11 years agostd: Demode more of list and treemap
Brian Anderson [Thu, 27 Sep 2012 01:12:07 +0000 (18:12 -0700)]
std: Demode more of list and treemap

11 years agodocs: Give all tutorials consistent titles and intro sections
Brian Anderson [Thu, 27 Sep 2012 02:00:13 +0000 (19:00 -0700)]
docs: Give all tutorials consistent titles and intro sections

11 years agotutorial: Minor tweaks
Brian Anderson [Thu, 27 Sep 2012 01:54:36 +0000 (18:54 -0700)]
tutorial: Minor tweaks

11 years agolibcore: Partially de-export int-template and uint-template
Patrick Walton [Thu, 27 Sep 2012 01:46:12 +0000 (18:46 -0700)]
libcore: Partially de-export int-template and uint-template

11 years agoFix fuzzer/cargo breakage
Brian Anderson [Thu, 27 Sep 2012 01:45:35 +0000 (18:45 -0700)]
Fix fuzzer/cargo breakage

11 years agoUnbreak run-pass/issue-2904 more
Brian Anderson [Thu, 27 Sep 2012 01:41:02 +0000 (18:41 -0700)]
Unbreak run-pass/issue-2904 more

11 years agotutorial: Delete 'what to be aware of'
Brian Anderson [Thu, 27 Sep 2012 01:36:36 +0000 (18:36 -0700)]
tutorial: Delete 'what to be aware of'

This section associates borrowed pointers purely with stack allocation, which
is confusing. The following sections explain pointers in detail.

11 years agoLong lines
Brian Anderson [Thu, 27 Sep 2012 01:23:05 +0000 (18:23 -0700)]
Long lines

11 years agolibcore: Partially de-export char, f32, f64, and float
Patrick Walton [Thu, 27 Sep 2012 01:16:44 +0000 (18:16 -0700)]
libcore: Partially de-export char, f32, f64, and float

11 years agoFix test/run-fail/issue-2156
Brian Anderson [Thu, 27 Sep 2012 01:10:24 +0000 (18:10 -0700)]
Fix test/run-fail/issue-2156

11 years agotutorial: Swap order of pointers for emphasis on &
Brian Anderson [Thu, 27 Sep 2012 00:54:01 +0000 (17:54 -0700)]
tutorial: Swap order of pointers for emphasis on &

11 years agoDemode vec::push (and convert to method)
Niko Matsakis [Thu, 27 Sep 2012 00:33:34 +0000 (17:33 -0700)]
Demode vec::push (and convert to method)

11 years agolibcore: De-export ptr, send_map, and task::local_data
Patrick Walton [Thu, 27 Sep 2012 00:47:29 +0000 (17:47 -0700)]
libcore: De-export ptr, send_map, and task::local_data

11 years agolibcore: De-export cleanup, cmath, future, gc, hash, iter-trait, mutable, and private
Patrick Walton [Thu, 27 Sep 2012 00:20:14 +0000 (17:20 -0700)]
libcore: De-export cleanup, cmath, future, gc, hash, iter-trait, mutable, and private

11 years agoFix check-fast for the change to main's signature.
Graydon Hoare [Thu, 27 Sep 2012 00:20:33 +0000 (17:20 -0700)]
Fix check-fast for the change to main's signature.

11 years agoFix test/run-pass/issue-2904
Brian Anderson [Thu, 27 Sep 2012 00:03:02 +0000 (17:03 -0700)]
Fix test/run-pass/issue-2904

11 years agolibcore: De-export logging and pipes
Patrick Walton [Wed, 26 Sep 2012 23:26:19 +0000 (16:26 -0700)]
libcore: De-export logging and pipes

11 years agotutorial: Remove all references to 'records'. Misc
Brian Anderson [Wed, 26 Sep 2012 23:41:14 +0000 (16:41 -0700)]
tutorial: Remove all references to 'records'. Misc

11 years agoRemove para on named impls.
Graydon Hoare [Wed, 26 Sep 2012 17:56:23 +0000 (10:56 -0700)]
Remove para on named impls.

11 years agoRemove more references to 'export', fix crate keyword list.
Graydon Hoare [Wed, 26 Sep 2012 17:56:09 +0000 (10:56 -0700)]
Remove more references to 'export', fix crate keyword list.

11 years agoSwitch a use of `unchecked` to `unsafe`.
Graydon Hoare [Wed, 26 Sep 2012 17:53:01 +0000 (10:53 -0700)]
Switch a use of `unchecked` to `unsafe`.

11 years agoRemove description of export, briefly describe `pub use`.
Graydon Hoare [Wed, 26 Sep 2012 17:51:01 +0000 (10:51 -0700)]
Remove description of export, briefly describe `pub use`.

11 years agoAdjust keyword list in refman to reflect present.
Graydon Hoare [Wed, 26 Sep 2012 17:19:15 +0000 (10:19 -0700)]
Adjust keyword list in refman to reflect present.

11 years agoMention NFKC, reformat lines to reflect 'semantic clause' structure.
Graydon Hoare [Wed, 26 Sep 2012 17:16:00 +0000 (10:16 -0700)]
Mention NFKC, reformat lines to reflect 'semantic clause' structure.

11 years agolibstd: port json over to serialization2
Erick Tryzelaar [Mon, 24 Sep 2012 16:55:42 +0000 (09:55 -0700)]
libstd: port json over to serialization2

11 years agolibstd: Add serialization2 versions of prettyprint and ebml
Erick Tryzelaar [Tue, 18 Sep 2012 17:47:39 +0000 (10:47 -0700)]
libstd: Add serialization2 versions of prettyprint and ebml

11 years agoreplace resolve::Atom with ast::ident.
Erick Tryzelaar [Thu, 20 Sep 2012 01:52:49 +0000 (18:52 -0700)]
replace resolve::Atom with ast::ident.

11 years agoturn ast::ident into a struct
Erick Tryzelaar [Thu, 20 Sep 2012 01:50:24 +0000 (18:50 -0700)]
turn ast::ident into a struct

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.

11 years agolibstd: change serialization2 to take &self argument methods
Erick Tryzelaar [Tue, 25 Sep 2012 17:50:54 +0000 (10:50 -0700)]
libstd: change serialization2 to take &self argument methods

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.

11 years agoauto_serialize2 should fully qualify std::serialization2::deserialize
Erick Tryzelaar [Thu, 20 Sep 2012 03:22:38 +0000 (20:22 -0700)]
auto_serialize2 should fully qualify std::serialization2::deserialize

11 years agolibsyntax: remove quasiquoter from auto_serialize2
Erick Tryzelaar [Wed, 19 Sep 2012 14:41:39 +0000 (07:41 -0700)]
libsyntax: remove quasiquoter from auto_serialize2

11 years agotest: Add a test for auto_serialize2
Erick Tryzelaar [Tue, 18 Sep 2012 19:08:42 +0000 (12:08 -0700)]
test: Add a test for auto_serialize2

11 years agolibsyntax: implement auto_serialize2 for enums, records, and structs
Erick Tryzelaar [Tue, 18 Sep 2012 17:19:26 +0000 (10:19 -0700)]
libsyntax: implement auto_serialize2 for enums, records, and structs

11 years agolibstd: add the new trait-based serialization
Erick Tryzelaar [Tue, 11 Sep 2012 01:27:39 +0000 (18:27 -0700)]
libstd: add the new trait-based serialization

This will need a snapshot before we can convert ebml and rustc
to use the new-style serialization.

11 years agocargo: capcase types
Erick Tryzelaar [Tue, 25 Sep 2012 17:56:30 +0000 (10:56 -0700)]
cargo: capcase types

11 years agoAllow hashmaps to infer their types
Erick Tryzelaar [Wed, 19 Sep 2012 16:41:06 +0000 (09:41 -0700)]
Allow hashmaps to infer their types

11 years agotutorial: Typo
Brian Anderson [Wed, 26 Sep 2012 23:19:07 +0000 (16:19 -0700)]
tutorial: Typo

11 years agolibcore: De-export dvec, rand, run, and sys
Patrick Walton [Wed, 26 Sep 2012 23:01:40 +0000 (16:01 -0700)]
libcore: De-export dvec, rand, run, and sys

11 years agostd: Fix mode warnings in fun_treemap and list
Brian Anderson [Wed, 26 Sep 2012 22:59:37 +0000 (15:59 -0700)]
std: Fix mode warnings in fun_treemap and list

11 years agoRefactoring ReaderUtil trait, combining it with the traitless impl on Reader.
Eric Holk [Tue, 25 Sep 2012 17:16:43 +0000 (13:16 -0400)]
Refactoring ReaderUtil trait, combining it with the traitless impl on Reader.

11 years agolibcore: De-export box, cast, and dlist
Patrick Walton [Wed, 26 Sep 2012 22:24:31 +0000 (15:24 -0700)]
libcore: De-export box, cast, and dlist

11 years agoPass stage1 for relevant portion of "stage0" cross compile
Graydon Hoare [Wed, 26 Sep 2012 21:57:35 +0000 (14:57 -0700)]
Pass stage1 for relevant portion of "stage0" cross compile

11 years agolibcore: De-export bool
Patrick Walton [Wed, 26 Sep 2012 21:54:26 +0000 (14:54 -0700)]
libcore: De-export bool

11 years agoMake impl of Add for @[] public
Niko Matsakis [Wed, 26 Sep 2012 21:23:27 +0000 (14:23 -0700)]
Make impl of Add for @[] public

It's not clear that impls should have to be public to be used
from outside the crate; in particular, I don't know whether
they have to be public to be used from other modules within
the same crate.

11 years agolibcore: De-mode at_vec
Patrick Walton [Wed, 26 Sep 2012 19:28:30 +0000 (12:28 -0700)]
libcore: De-mode at_vec

11 years agoRevert "Revert "libcore: De-mode at_vec""
Patrick Walton [Wed, 26 Sep 2012 17:33:55 +0000 (10:33 -0700)]
Revert "Revert "libcore: De-mode at_vec""

This reverts commit fe09451a5a34931e11fa67ee83ac8deaa8d585be.

11 years agoRevert "fix modes on dtors"
Tim Chevalier [Wed, 26 Sep 2012 17:43:11 +0000 (10:43 -0700)]
Revert "fix modes on dtors"

This reverts commit d38b97a170eaea47933c30937cee5f525573116d.

(Accidentally checked this in, oops)

11 years agoDemode some of core::io
Tim Chevalier [Wed, 26 Sep 2012 17:13:43 +0000 (10:13 -0700)]
Demode some of core::io

11 years agofix modes on dtors
Tim Chevalier [Wed, 26 Sep 2012 17:13:27 +0000 (10:13 -0700)]
fix modes on dtors

11 years agoDemode tuple
Tim Chevalier [Wed, 26 Sep 2012 17:41:19 +0000 (10:41 -0700)]
Demode tuple

11 years agofix issue #3535 and add colon between mode and type when dumping funcion prototype
Vincent Belliard [Wed, 26 Sep 2012 08:47:21 +0000 (10:47 +0200)]
fix issue #3535 and add colon between mode and type when dumping funcion prototype

11 years agoFix borked tests
Tim Chevalier [Wed, 26 Sep 2012 05:12:54 +0000 (22:12 -0700)]
Fix borked tests

11 years agoDemode iter-trait
Tim Chevalier [Wed, 26 Sep 2012 00:39:22 +0000 (17:39 -0700)]
Demode iter-trait

11 years agoFix long lines
Tim Chevalier [Wed, 26 Sep 2012 02:12:50 +0000 (19:12 -0700)]
Fix long lines

11 years agoFix long line
Tim Chevalier [Wed, 26 Sep 2012 01:19:29 +0000 (18:19 -0700)]
Fix long line

11 years agoDemode pipes::set_buffer
Tim Chevalier [Wed, 26 Sep 2012 05:01:05 +0000 (22:01 -0700)]
Demode pipes::set_buffer

11 years agoComment out at_vec test that fails
Tim Chevalier [Wed, 26 Sep 2012 05:00:53 +0000 (22:00 -0700)]
Comment out at_vec test that fails

11 years agoRevert "libcore: De-mode at_vec"
Tim Chevalier [Wed, 26 Sep 2012 03:57:18 +0000 (20:57 -0700)]
Revert "libcore: De-mode at_vec"

This reverts commit ab6318803e1764e6e894441c2829f9b47acbf298.

11 years agoDemode dvec
Tim Chevalier [Wed, 26 Sep 2012 01:27:45 +0000 (18:27 -0700)]
Demode dvec

11 years agolibcore: De-mode at_vec
Patrick Walton [Wed, 26 Sep 2012 01:06:26 +0000 (18:06 -0700)]
libcore: De-mode at_vec

11 years agolibcore: De-export core::at_vec
Patrick Walton [Wed, 26 Sep 2012 00:52:46 +0000 (17:52 -0700)]
libcore: De-export core::at_vec

11 years agoDemode core::result
Brian Anderson [Tue, 25 Sep 2012 23:23:04 +0000 (16:23 -0700)]
Demode core::result

11 years agoCheck more things with deprecated_modes
Brian Anderson [Wed, 26 Sep 2012 00:02:22 +0000 (17:02 -0700)]
Check more things with deprecated_modes

11 years agorustc: Reduce shape.rs to the bare minimum needed to not trigger bugs
Patrick Walton [Wed, 26 Sep 2012 00:39:23 +0000 (17:39 -0700)]
rustc: Reduce shape.rs to the bare minimum needed to not trigger bugs

11 years agotest: Remove various box annihilator tests
Patrick Walton [Wed, 26 Sep 2012 00:06:01 +0000 (17:06 -0700)]
test: Remove various box annihilator tests

11 years agorustc: Remove most of the code that generates shapes
Patrick Walton [Tue, 25 Sep 2012 23:53:23 +0000 (16:53 -0700)]
rustc: Remove most of the code that generates shapes

11 years agorustc: Stop generating shape tables
Patrick Walton [Tue, 25 Sep 2012 23:39:52 +0000 (16:39 -0700)]
rustc: Stop generating shape tables

11 years agoDemode Num trait and impls
Tim Chevalier [Tue, 25 Sep 2012 22:15:49 +0000 (15:15 -0700)]
Demode Num trait and impls

11 years agoFix combine-tests.py to emit #[legacy_exports];
Graydon Hoare [Tue, 25 Sep 2012 22:30:55 +0000 (15:30 -0700)]
Fix combine-tests.py to emit #[legacy_exports];

11 years agoRespect privacy qualifiers on view items, add to import resolutions.
Graydon Hoare [Tue, 25 Sep 2012 22:22:28 +0000 (15:22 -0700)]
Respect privacy qualifiers on view items, add to import resolutions.

11 years agoChange method res to try autoref more often. Fixes #3585.
Niko Matsakis [Tue, 25 Sep 2012 22:15:42 +0000 (15:15 -0700)]
Change method res to try autoref more often. Fixes #3585.

11 years agorustc: Move generally useful functions out of shape.rs in preparation for its destruction
Patrick Walton [Tue, 25 Sep 2012 22:21:16 +0000 (15:21 -0700)]
rustc: Move generally useful functions out of shape.rs in preparation for its destruction

11 years agodocs: Only display one level of hierarchy in the TOC
Brian Anderson [Tue, 25 Sep 2012 22:03:20 +0000 (15:03 -0700)]
docs: Only display one level of hierarchy in the TOC

11 years agodocs: Fix style sheet for tables
Brian Anderson [Tue, 25 Sep 2012 22:00:26 +0000 (15:00 -0700)]
docs: Fix style sheet for tables

11 years agorustc: Fix calls to the logging function when the must_cast flag is true; stop using...
Patrick Walton [Tue, 25 Sep 2012 19:17:20 +0000 (12:17 -0700)]
rustc: Fix calls to the logging function when the must_cast flag is true; stop using shape code for logging

11 years agouse + mode for (almost) everything when not using legacy modes
Niko Matsakis [Thu, 20 Sep 2012 22:59:09 +0000 (15:59 -0700)]
use + mode for (almost) everything when not using legacy modes

11 years agocore: Mark more mods as demoded
Brian Anderson [Tue, 25 Sep 2012 19:04:02 +0000 (12:04 -0700)]
core: Mark more mods as demoded

11 years agoRevert "rustc: Stop using shape code for logging" due to ICEs
Patrick Walton [Tue, 25 Sep 2012 19:16:34 +0000 (12:16 -0700)]
Revert "rustc: Stop using shape code for logging" due to ICEs

This reverts commit ac822a52be47579ffa59d5ca3e125680a79545d0.

11 years agort: Remove the cycle collector
Patrick Walton [Tue, 25 Sep 2012 19:13:20 +0000 (12:13 -0700)]
rt: Remove the cycle collector

11 years agorustc: Stop using shape code for logging
Patrick Walton [Tue, 25 Sep 2012 18:44:23 +0000 (11:44 -0700)]
rustc: Stop using shape code for logging

11 years agort: Add a logging function for strings (only).
Patrick Walton [Tue, 25 Sep 2012 03:24:32 +0000 (20:24 -0700)]
rt: Add a logging function for strings (only).

This will be the shape-free replacement for upcall_log_type.

11 years agort: Call the Rust box annihilator; stop calling the cycle collector
Patrick Walton [Mon, 24 Sep 2012 21:14:31 +0000 (14:14 -0700)]
rt: Call the Rust box annihilator; stop calling the cycle collector

This reverts commit 991cbfe42c8836e8b4adfcaf288d5c0b8d57397c.

11 years agolibcore: Fix 32 bit Rust task structure offsets for unwinding
Patrick Walton [Tue, 25 Sep 2012 03:24:10 +0000 (20:24 -0700)]
libcore: Fix 32 bit Rust task structure offsets for unwinding

11 years agotutorial: Merge discussion of patterns and let bindings
Brian Anderson [Tue, 25 Sep 2012 02:51:03 +0000 (19:51 -0700)]
tutorial: Merge discussion of patterns and let bindings

11 years agotutorial: A little more explanation of why managed boxes are useful
Brian Anderson [Tue, 25 Sep 2012 02:37:41 +0000 (19:37 -0700)]
tutorial: A little more explanation of why managed boxes are useful

11 years agotutorial: Expand borrowed ptr discussion. Misc
Brian Anderson [Tue, 25 Sep 2012 02:11:48 +0000 (19:11 -0700)]
tutorial: Expand borrowed ptr discussion. Misc

11 years agotutorial: Swap order of data type/function sections. Add method discussion
Brian Anderson [Tue, 25 Sep 2012 01:25:57 +0000 (18:25 -0700)]
tutorial: Swap order of data type/function sections. Add method discussion

11 years agotutorial: More generics cleanup
Brian Anderson [Tue, 25 Sep 2012 00:49:04 +0000 (17:49 -0700)]
tutorial: More generics cleanup

11 years agotutorial: Overhaul the generics section
Brian Anderson [Tue, 25 Sep 2012 00:37:33 +0000 (17:37 -0700)]
tutorial: Overhaul the generics section

11 years agoBuild the export_map2 from visibility markers, unless #[legacy_exports];
Graydon Hoare [Tue, 25 Sep 2012 00:29:20 +0000 (17:29 -0700)]
Build the export_map2 from visibility markers, unless #[legacy_exports];

11 years agoSupport visibility qualifiers in crate directives properly.
Graydon Hoare [Mon, 24 Sep 2012 19:53:32 +0000 (12:53 -0700)]
Support visibility qualifiers in crate directives properly.

11 years agorustdoc: Fix for generations of anchors. #3570
Brian Anderson [Mon, 24 Sep 2012 21:15:16 +0000 (14:15 -0700)]
rustdoc: Fix for generations of anchors. #3570