]> git.lizzy.rs Git - rust.git/log
rust.git
11 years agoReorder the submodule ops in configure
Brian Anderson [Fri, 5 Oct 2012 18:04:45 +0000 (11:04 -0700)]
Reorder the submodule ops in configure

11 years agoconfigure should recursively sync submodules
Erick Tryzelaar [Fri, 5 Oct 2012 14:16:56 +0000 (07:16 -0700)]
configure should recursively sync submodules

11 years agoHack around llvm 14013
Brian Anderson [Fri, 5 Oct 2012 03:51:41 +0000 (20:51 -0700)]
Hack around llvm 14013

11 years agostd: Revert demoding of uv_ll. It can't be done without FFI changes
Brian Anderson [Fri, 5 Oct 2012 18:32:00 +0000 (11:32 -0700)]
std: Revert demoding of uv_ll. It can't be done without FFI changes

11 years agoUpdate src/README.txt
Brian Anderson [Fri, 5 Oct 2012 10:18:11 +0000 (04:18 -0600)]
Update src/README.txt

11 years agocore: Correct description of cast::forget
Brian Anderson [Fri, 5 Oct 2012 07:59:37 +0000 (01:59 -0600)]
core: Correct description of cast::forget

'managed' means something different now

11 years agodocs: Fix example
Brian Anderson [Fri, 5 Oct 2012 03:13:50 +0000 (20:13 -0700)]
docs: Fix example

11 years agodocs: Explain a little bit about dtors
Brian Anderson [Fri, 5 Oct 2012 03:03:40 +0000 (20:03 -0700)]
docs: Explain a little bit about dtors

11 years agoRemove by-copy mode from std, mostly
Tim Chevalier [Fri, 5 Oct 2012 02:58:31 +0000 (19:58 -0700)]
Remove by-copy mode from std, mostly

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.

11 years agodocs: Tweaks to section on constants
Brian Anderson [Fri, 5 Oct 2012 02:47:09 +0000 (19:47 -0700)]
docs: Tweaks to section on constants

11 years agoFix FIXME that's no longer blocked by #2611
Tim Chevalier [Fri, 5 Oct 2012 02:43:10 +0000 (19:43 -0700)]
Fix FIXME that's no longer blocked by #2611

11 years agodocs: Add section on constants to tutorial
Brian Anderson [Fri, 5 Oct 2012 02:36:56 +0000 (19:36 -0700)]
docs: Add section on constants to tutorial

11 years agodocs: Minor tutorial tweaks
Brian Anderson [Fri, 5 Oct 2012 01:04:31 +0000 (18:04 -0700)]
docs: Minor tutorial tweaks

11 years agodocs: Don't talk about mutable vecs in tutorial. Use inherited mutability
Brian Anderson [Fri, 5 Oct 2012 00:58:13 +0000 (17:58 -0700)]
docs: Don't talk about mutable vecs in tutorial. Use inherited mutability

11 years agoAdd Andrew Paseltiner to AUTHORS
Tim Chevalier [Fri, 5 Oct 2012 00:38:55 +0000 (17:38 -0700)]
Add Andrew Paseltiner to AUTHORS

11 years agoMerge pull request #3665 from apasel422/tutorial-fix
Tim Chevalier [Fri, 5 Oct 2012 00:37:00 +0000 (17:37 -0700)]
Merge pull request #3665 from apasel422/tutorial-fix

docs: minor tutorial fixes

11 years agodocs: minor tutorial fixes
Andrew Paseltiner [Fri, 5 Oct 2012 00:33:06 +0000 (20:33 -0400)]
docs: minor tutorial fixes

11 years agodocs: Tweaks
Brian Anderson [Fri, 5 Oct 2012 00:08:35 +0000 (17:08 -0700)]
docs: Tweaks

11 years agoMore looking at the tutorial, small changes
Kevin Cantu [Thu, 4 Oct 2012 19:41:45 +0000 (12:41 -0700)]
More looking at the tutorial, small changes

11 years agoFix snapshots.txt date
Tim Chevalier [Fri, 5 Oct 2012 00:03:08 +0000 (17:03 -0700)]
Fix snapshots.txt date

11 years agoRegister snapshots
Tim Chevalier [Fri, 5 Oct 2012 00:01:15 +0000 (17:01 -0700)]
Register snapshots

11 years agoKill bootstrapping code in ptr
Tim Chevalier [Wed, 3 Oct 2012 21:57:02 +0000 (14:57 -0700)]
Kill bootstrapping code in ptr

11 years agoForbid deprecated modes again in core
Tim Chevalier [Wed, 3 Oct 2012 21:52:09 +0000 (14:52 -0700)]
Forbid deprecated modes again in core

Sadly, there's only one file that requires deprecated modes
(stackwalk)... So, forbid them everywhere else.

11 years agoDe-mode comm::Chan
Tim Chevalier [Wed, 3 Oct 2012 21:38:01 +0000 (14:38 -0700)]
De-mode comm::Chan

11 years agoRemove code that was waiting for a snapshot
Tim Chevalier [Wed, 3 Oct 2012 21:35:14 +0000 (14:35 -0700)]
Remove code that was waiting for a snapshot

extfmt is now demoded

11 years agoRemove some residue, core is effectively de-exported now. Close #3583.
Graydon Hoare [Thu, 4 Oct 2012 22:54:50 +0000 (15:54 -0700)]
Remove some residue, core is effectively de-exported now. Close #3583.

11 years agort: Remove check_claims from the export list
Brian Anderson [Thu, 4 Oct 2012 22:41:14 +0000 (15:41 -0700)]
rt: Remove check_claims from the export list

11 years agoMerge pull request #3661 from auREAX/grsec-compat
Graydon Hoare [Thu, 4 Oct 2012 22:16:18 +0000 (15:16 -0700)]
Merge pull request #3661 from auREAX/grsec-compat

Rename --enable-pax-marks to --enable-pax-flags.

11 years agocore: Improve option docs a little
Brian Anderson [Thu, 4 Oct 2012 22:14:28 +0000 (15:14 -0700)]
core: Improve option docs a little

11 years agoRename configure --enable-pax-marks flag to --enable-pax-flags flag.
auREAX [Thu, 4 Oct 2012 22:08:34 +0000 (00:08 +0200)]
Rename configure --enable-pax-marks flag to --enable-pax-flags flag.

11 years agoRemove arg vectors from main functions. Stop supporting them.
Brian Anderson [Thu, 4 Oct 2012 02:16:27 +0000 (19:16 -0700)]
Remove arg vectors from main functions. Stop supporting them.

11 years agoFix unnecessary tool detection at non-Linux OSes, fix GRSecurity detection documentat...
auREAX [Thu, 4 Oct 2012 21:51:54 +0000 (23:51 +0200)]
Fix unnecessary tool detection at non-Linux OSes, fix GRSecurity detection documentation error.

11 years agodocs: Explain underscore prefix in tutorial
Brian Anderson [Thu, 4 Oct 2012 21:44:19 +0000 (14:44 -0700)]
docs: Explain underscore prefix in tutorial

11 years agoAdd Gonçalo Cabrita to AUTHORS.txt
Brian Anderson [Thu, 4 Oct 2012 21:16:29 +0000 (14:16 -0700)]
Add Gonçalo Cabrita to AUTHORS.txt

11 years agoMerge pull request #3659 from gmcabrita/fix-typos
Brian Anderson [Thu, 4 Oct 2012 21:15:18 +0000 (14:15 -0700)]
Merge pull request #3659 from gmcabrita/fix-typos

Fixed a few typos in the tutorials.

11 years agort: Remove CHECK_CLAIMS
Brian Anderson [Thu, 4 Oct 2012 21:09:42 +0000 (14:09 -0700)]
rt: Remove CHECK_CLAIMS

11 years agoFix long line.
Graydon Hoare [Thu, 4 Oct 2012 21:08:59 +0000 (14:08 -0700)]
Fix long line.

11 years agoDe-export extfmt. Part of #3583.
Graydon Hoare [Thu, 4 Oct 2012 20:49:37 +0000 (13:49 -0700)]
De-export extfmt. Part of #3583.

11 years agoFinish de-exporting std. Part of #3583.
Graydon Hoare [Thu, 4 Oct 2012 20:47:24 +0000 (13:47 -0700)]
Finish de-exporting std. Part of #3583.

11 years agoFixed a few typos in the tutorials.
Gonçalo Cabrita [Thu, 4 Oct 2012 20:28:45 +0000 (21:28 +0100)]
Fixed a few typos in the tutorials.

11 years agoAdd auREAX to AUTHORS.txt.
Graydon Hoare [Thu, 4 Oct 2012 19:18:13 +0000 (12:18 -0700)]
Add auREAX to AUTHORS.txt.

11 years agoAdd GRSecurity compatibility with --enable-pax-marks configure flag; add GRSecurity...
auREAX [Thu, 4 Oct 2012 01:46:32 +0000 (03:46 +0200)]
Add GRSecurity compatibility with --enable-pax-marks configure flag; add GRSecurity autodetection code to configure.

11 years agodocs: Fix a broken test
Brian Anderson [Thu, 4 Oct 2012 06:53:26 +0000 (23:53 -0700)]
docs: Fix a broken test

11 years agoRevert "docs: Call () 'unit' instead of 'nil'"
Brian Anderson [Thu, 4 Oct 2012 05:18:46 +0000 (22:18 -0700)]
Revert "docs: Call () 'unit' instead of 'nil'"

This reverts commit c8ee49a5b68ad0b0a33eb30e757fadb0be47f8da.

11 years agoxfail-pretty reexport-star
Brian Anderson [Thu, 4 Oct 2012 05:10:43 +0000 (22:10 -0700)]
xfail-pretty reexport-star

11 years agocore: Make some parts of task private
Brian Anderson [Thu, 4 Oct 2012 05:06:51 +0000 (22:06 -0700)]
core: Make some parts of task private

11 years agotest: Fix error message in vtable-res-trait-param
Patrick Walton [Thu, 4 Oct 2012 04:13:58 +0000 (21:13 -0700)]
test: Fix error message in vtable-res-trait-param

11 years agodocs: Typo
Brian Anderson [Thu, 4 Oct 2012 03:06:54 +0000 (20:06 -0700)]
docs: Typo

11 years agodocs: Call () 'unit' instead of 'nil'
Brian Anderson [Thu, 4 Oct 2012 03:06:24 +0000 (20:06 -0700)]
docs: Call () 'unit' instead of 'nil'

11 years agodocs: The real answer
Brian Anderson [Thu, 4 Oct 2012 03:03:37 +0000 (20:03 -0700)]
docs: The real answer

11 years agoMerge pull request #3652 from killerswan/review_tutorial
Brian Anderson [Thu, 4 Oct 2012 02:44:23 +0000 (19:44 -0700)]
Merge pull request #3652 from killerswan/review_tutorial

A run through the tutorial, small changes

11 years agolibstd: Make vec_from_set pure
Patrick Walton [Thu, 4 Oct 2012 02:25:24 +0000 (19:25 -0700)]
libstd: Make vec_from_set pure

11 years agolibcore: De-export core.rc and core.rs
Patrick Walton [Thu, 4 Oct 2012 02:24:06 +0000 (19:24 -0700)]
libcore: De-export core.rc and core.rs

11 years agoA run through the tutorial, small changes
Kevin Cantu [Thu, 4 Oct 2012 00:52:04 +0000 (17:52 -0700)]
A run through the tutorial, small changes

11 years agostd: Fix double free in uv
Brian Anderson [Thu, 4 Oct 2012 02:05:18 +0000 (19:05 -0700)]
std: Fix double free in uv

11 years agorustc: Fix ICE when de-exporting rt
Patrick Walton [Thu, 4 Oct 2012 01:14:53 +0000 (18:14 -0700)]
rustc: Fix ICE when de-exporting rt

11 years agoFix the 0.4 header in release notes
Brian Anderson [Thu, 4 Oct 2012 00:49:09 +0000 (17:49 -0700)]
Fix the 0.4 header in release notes

11 years agoAdd Orphée Lafond-Lummis to AUTHORS.txt
Brian Anderson [Thu, 4 Oct 2012 00:46:44 +0000 (17:46 -0700)]
Add Orphée Lafond-Lummis to AUTHORS.txt

11 years agoMerge pull request #3650 from orftz/usage_nitpicks
Brian Anderson [Thu, 4 Oct 2012 00:45:50 +0000 (17:45 -0700)]
Merge pull request #3650 from orftz/usage_nitpicks

rustc man page and usage text update.

11 years ago0.4 slipped to October. So sad
Brian Anderson [Thu, 4 Oct 2012 00:41:55 +0000 (17:41 -0700)]
0.4 slipped to October. So sad

11 years agoUpdate 0.4 release notes
Brian Anderson [Thu, 4 Oct 2012 00:41:08 +0000 (17:41 -0700)]
Update 0.4 release notes

11 years agorustc man page and usage text update.
Orphée Lafond-Lummis [Wed, 3 Oct 2012 23:55:47 +0000 (19:55 -0400)]
rustc man page and usage text update.

* Mark --static as experimental;
* Remove --stats, as the option isn't implemented.
* Bold and surround by pointy brackets (<>) all the URLs of rustc man page, for
  consistency.

11 years agorustc: Unbreak old-style boxed traits
Patrick Walton [Thu, 4 Oct 2012 00:18:24 +0000 (17:18 -0700)]
rustc: Unbreak old-style boxed traits

11 years agorustc: Implement "@Foo as @Bar" for boxed traits
Patrick Walton [Wed, 3 Oct 2012 22:18:50 +0000 (15:18 -0700)]
rustc: Implement "@Foo as @Bar" for boxed traits

11 years agotest: Add a test case for "pub use a::*"
Patrick Walton [Wed, 3 Oct 2012 22:18:28 +0000 (15:18 -0700)]
test: Add a test case for "pub use a::*"

11 years agoDe-export net::*. Part of #3583.
Graydon Hoare [Wed, 3 Oct 2012 23:43:56 +0000 (16:43 -0700)]
De-export net::*. Part of #3583.

11 years agoChange default mode for fns to be by-copy, except for fn&
Tim Chevalier [Wed, 3 Oct 2012 23:34:14 +0000 (16:34 -0700)]
Change default mode for fns to be by-copy, except for fn&

11 years agoSub-uses from libc should be pub.
Graydon Hoare [Wed, 3 Oct 2012 22:14:56 +0000 (15:14 -0700)]
Sub-uses from libc should be pub.

11 years agoAttempt to fix os::args errors on various platforms.
Graydon Hoare [Wed, 3 Oct 2012 21:41:53 +0000 (14:41 -0700)]
Attempt to fix os::args errors on various platforms.

11 years agotest: Use println instead of debug in hello.rs
Brian Anderson [Wed, 3 Oct 2012 21:29:39 +0000 (14:29 -0700)]
test: Use println instead of debug in hello.rs

11 years agoRemove crud
Tim Chevalier [Wed, 3 Oct 2012 21:28:47 +0000 (14:28 -0700)]
Remove crud

11 years agoRegister snapshots
Tim Chevalier [Wed, 3 Oct 2012 01:32:38 +0000 (18:32 -0700)]
Register snapshots

11 years agoRevert "rustc: Don't error out early when constructing a boxed trait."
Tim Chevalier [Wed, 3 Oct 2012 19:23:59 +0000 (12:23 -0700)]
Revert "rustc: Don't error out early when constructing a boxed trait."

This reverts commit 5e7ff924b5931bb90f381d2bf5936616224d4e85.

11 years agoRemove uses of + mode from libstd
Tim Chevalier [Wed, 3 Oct 2012 19:21:48 +0000 (12:21 -0700)]
Remove uses of + mode from libstd

More or less the same as my analogous commit for libcore. Had
to remove the forbid(deprecated_modes) pragma from some files -- will
restore it after the snapshot.

11 years agoDe-export std::{json, getopts}. Part of #3583.
Graydon Hoare [Wed, 3 Oct 2012 20:37:51 +0000 (13:37 -0700)]
De-export std::{json, getopts}. Part of #3583.

11 years agoDe-export std::{ebml, ebml2}. Part of #3583.
Graydon Hoare [Wed, 3 Oct 2012 20:36:39 +0000 (13:36 -0700)]
De-export std::{ebml, ebml2}. Part of #3583.

11 years agoAdd Luca Bruno to AUTHORS.txt
Brian Anderson [Wed, 3 Oct 2012 19:17:33 +0000 (12:17 -0700)]
Add Luca Bruno to AUTHORS.txt

11 years agoMerge pull request #3644 from lucab/lucab/to-upstream/pull-1
Brian Anderson [Wed, 3 Oct 2012 19:15:48 +0000 (12:15 -0700)]
Merge pull request #3644 from lucab/lucab/to-upstream/pull-1

Use both DESTDIR and prefix

11 years agodoc: Minor tutorial improvements
Brian Anderson [Wed, 3 Oct 2012 03:28:53 +0000 (20:28 -0700)]
doc: Minor tutorial improvements

11 years agorustc: Only allow imports marked with "pub" to be imported from other modules
Patrick Walton [Wed, 3 Oct 2012 01:13:56 +0000 (18:13 -0700)]
rustc: Only allow imports marked with "pub" to be imported from other modules

11 years agoFix long line.
Graydon Hoare [Tue, 2 Oct 2012 23:32:45 +0000 (16:32 -0700)]
Fix long line.

11 years agoDe-export the submodules of task. Part of #3583.
Graydon Hoare [Tue, 2 Oct 2012 23:31:52 +0000 (16:31 -0700)]
De-export the submodules of task. Part of #3583.

11 years agorustc: Add a side table for legacy boxed traits, not filled in.
Patrick Walton [Tue, 2 Oct 2012 23:19:03 +0000 (16:19 -0700)]
rustc: Add a side table for legacy boxed traits, not filled in.

This is part of the transition to "@int as @Trait".

11 years agolibcore: Implement os::args() on Windows
Patrick Walton [Mon, 1 Oct 2012 23:34:54 +0000 (16:34 -0700)]
libcore: Implement os::args() on Windows

11 years agorustc: Don't error out early when constructing a boxed trait.
Patrick Walton [Tue, 2 Oct 2012 22:29:16 +0000 (15:29 -0700)]
rustc: Don't error out early when constructing a boxed trait.

This improves error messages a bit and helps pave the way for "@int as @Trait"
(as opposed to "int as @Trait").

11 years agoRemoving explicit uses of + mode
Tim Chevalier [Tue, 2 Oct 2012 18:37:37 +0000 (11:37 -0700)]
Removing explicit uses of + mode

This removes most explicit uses of the + argument mode. Pending a
snapshot, I had to remove the forbid(deprecated_modes) pragma from
a bunch of files. I'll put it back!

+ mode still has to be used in a few places for functions that get
moved (see task.rs)

The changes outside core and std are due to the to_bytes trait and
making the compiler (with legacy modes on) agree with the libraries
(with legacy modes off) about modes.

11 years agoMerge pull request #3642 from dbp/random
Brian Anderson [Tue, 2 Oct 2012 21:23:14 +0000 (14:23 -0700)]
Merge pull request #3642 from dbp/random

core::rand - adding rand::random(), a shortcut to generate a uint

11 years agocore::rand - adding rand::random(), a shortcut to generate a uint with task-local rng
Daniel Patterson [Tue, 2 Oct 2012 21:15:14 +0000 (17:15 -0400)]
core::rand - adding rand::random(), a shortcut to generate a uint with task-local rng

11 years agolibstd: Switch off legacy modes in both core and std.
Patrick Walton [Tue, 2 Oct 2012 19:19:04 +0000 (12:19 -0700)]
libstd: Switch off legacy modes in both core and std.

11 years agoDe-export comm, task. Part of #3583.
Graydon Hoare [Tue, 2 Oct 2012 19:03:33 +0000 (12:03 -0700)]
De-export comm, task. Part of #3583.

11 years agoDe-export std::{fun_treemap, list, map}. Part of #3583.
Graydon Hoare [Tue, 2 Oct 2012 19:02:59 +0000 (12:02 -0700)]
De-export std::{fun_treemap, list, map}. Part of #3583.

11 years agoUpdate to current rules, make (more) examples build
Niko Matsakis [Tue, 2 Oct 2012 18:57:42 +0000 (11:57 -0700)]
Update to current rules, make (more) examples build

11 years agocore::rand - adding test for task_rng()
Daniel Patterson [Tue, 2 Oct 2012 03:48:33 +0000 (23:48 -0400)]
core::rand - adding test for task_rng()

11 years agocore::rand - adding task local lazily initialized rng, as per #3439
Daniel Patterson [Tue, 2 Oct 2012 03:29:34 +0000 (23:29 -0400)]
core::rand - adding task local lazily initialized rng, as per #3439

11 years agocore: Add implementation of real_args for FreeBSD
Brian Anderson [Tue, 2 Oct 2012 17:31:37 +0000 (10:31 -0700)]
core: Add implementation of real_args for FreeBSD

11 years agoDon't warn about non-camel-case types by default
Brian Anderson [Tue, 2 Oct 2012 16:36:50 +0000 (09:36 -0700)]
Don't warn about non-camel-case types by default

11 years agodocs: Typo
Brian Anderson [Tue, 2 Oct 2012 04:39:24 +0000 (22:39 -0600)]
docs: Typo

11 years agosilence warning
Niko Matsakis [Tue, 2 Oct 2012 03:43:31 +0000 (20:43 -0700)]
silence warning

11 years agoSplit auto_serialize2 into two macros
Erick Tryzelaar [Mon, 1 Oct 2012 15:12:39 +0000 (08:12 -0700)]
Split auto_serialize2 into two macros

11 years agoAdd struct to auto_serialize2 test
Erick Tryzelaar [Mon, 1 Oct 2012 18:35:27 +0000 (11:35 -0700)]
Add struct to auto_serialize2 test