]> git.lizzy.rs Git - rust.git/log
rust.git
12 years agoImprove the cycle-collector fuzzer
Jesse Ruderman [Sat, 25 Feb 2012 03:26:42 +0000 (19:26 -0800)]
Improve the cycle-collector fuzzer

12 years agoRegister new snapshots.
Graydon Hoare [Sat, 25 Feb 2012 02:43:22 +0000 (18:43 -0800)]
Register new snapshots.

12 years agoCorrect install.mk to use CFG_LIBDIR for correct install paths on windows.
Graydon Hoare [Sat, 25 Feb 2012 02:29:44 +0000 (18:29 -0800)]
Correct install.mk to use CFG_LIBDIR for correct install paths on windows.

12 years agorustdoc: Reexport native functions
Brian Anderson [Fri, 24 Feb 2012 23:59:34 +0000 (15:59 -0800)]
rustdoc: Reexport native functions

12 years agorustdoc: Don't prune reexports
Brian Anderson [Fri, 24 Feb 2012 23:43:57 +0000 (15:43 -0800)]
rustdoc: Don't prune reexports

12 years agorustdoc: Fix some remaining bugs around native mods
Brian Anderson [Fri, 24 Feb 2012 23:22:57 +0000 (15:22 -0800)]
rustdoc: Fix some remaining bugs around native mods

12 years agorustdoc: Sort native mods
Brian Anderson [Fri, 24 Feb 2012 23:15:27 +0000 (15:15 -0800)]
rustdoc: Sort native mods

12 years agorustdoc: Write markdown for native mods and fns
Brian Anderson [Fri, 24 Feb 2012 23:07:08 +0000 (15:07 -0800)]
rustdoc: Write markdown for native mods and fns

12 years agorustdoc: Add types for native functions
Brian Anderson [Fri, 24 Feb 2012 23:06:58 +0000 (15:06 -0800)]
rustdoc: Add types for native functions

12 years agorustdoc: Extract attribute docs from native stuffs
Brian Anderson [Fri, 24 Feb 2012 22:22:13 +0000 (14:22 -0800)]
rustdoc: Extract attribute docs from native stuffs

12 years agorustdoc: Record paths to native functions
Brian Anderson [Fri, 24 Feb 2012 22:08:47 +0000 (14:08 -0800)]
rustdoc: Record paths to native functions

12 years agorustdoc: Remove a pointer that's no longer needed
Brian Anderson [Fri, 24 Feb 2012 21:53:28 +0000 (13:53 -0800)]
rustdoc: Remove a pointer that's no longer needed

12 years agorustdoc: Extract doc nodes for native mods
Brian Anderson [Fri, 24 Feb 2012 21:50:40 +0000 (13:50 -0800)]
rustdoc: Extract doc nodes for native mods

12 years agorustdoc: Add doc node for native mods
Brian Anderson [Fri, 24 Feb 2012 21:34:35 +0000 (13:34 -0800)]
rustdoc: Add doc node for native mods

12 years agoRevert "rt: Cut the red zone to 10K on mac"
Brian Anderson [Fri, 24 Feb 2012 20:26:06 +0000 (12:26 -0800)]
Revert "rt: Cut the red zone to 10K on mac"

This reverts commit cb7022cfc20b89947ff3fa96d4617f9fe64d2f3e.

12 years agorustc: Don't add duplicate entries to exp_map
Brian Anderson [Fri, 24 Feb 2012 05:06:12 +0000 (21:06 -0800)]
rustc: Don't add duplicate entries to exp_map

12 years agort: Cut the red zone to 10K on mac
Brian Anderson [Fri, 24 Feb 2012 03:42:59 +0000 (19:42 -0800)]
rt: Cut the red zone to 10K on mac

12 years agoSupport basic, unsophisticated, somewhat wrong export-globs.
Graydon Hoare [Fri, 24 Feb 2012 02:32:37 +0000 (18:32 -0800)]
Support basic, unsophisticated, somewhat wrong export-globs.

12 years agoFix comment, add test that export glob works as import glob in scope.
Graydon Hoare [Wed, 22 Feb 2012 00:09:44 +0000 (16:09 -0800)]
Fix comment, add test that export glob works as import glob in scope.

12 years agoTreat export-globs as import-globs for sake of linking.
Graydon Hoare [Tue, 21 Feb 2012 23:36:15 +0000 (15:36 -0800)]
Treat export-globs as import-globs for sake of linking.

12 years agoMinor renaming to help my comprehension.
Graydon Hoare [Mon, 20 Feb 2012 23:16:42 +0000 (15:16 -0800)]
Minor renaming to help my comprehension.

12 years agoRevert "etc: Add helgrind suppression for lock_held_by_current_thread"
Brian Anderson [Fri, 24 Feb 2012 02:27:40 +0000 (18:27 -0800)]
Revert "etc: Add helgrind suppression for lock_held_by_current_thread"

This reverts commit d44ca0923a5545113c96a8953f880090f334872c.

12 years agorustdoc: Make reexports work in the crate module
Brian Anderson [Fri, 24 Feb 2012 02:06:26 +0000 (18:06 -0800)]
rustdoc: Make reexports work in the crate module

12 years agoetc: Add helgrind suppression for lock_held_by_current_thread
Brian Anderson [Fri, 24 Feb 2012 01:29:01 +0000 (17:29 -0800)]
etc: Add helgrind suppression for lock_held_by_current_thread

I have some confidence that this function is correct now, but helgrind still
doesn't like it because it's not lock-protected.

12 years agoMake sure fold_ty preserves associated def_ids
Marijn Haverbeke [Thu, 23 Feb 2012 16:44:03 +0000 (17:44 +0100)]
Make sure fold_ty preserves associated def_ids

Closes #1884

12 years agoAdjust fuzzer and cargo to changes in core::str API
Marijn Haverbeke [Thu, 23 Feb 2012 16:11:21 +0000 (17:11 +0100)]
Adjust fuzzer and cargo to changes in core::str API

12 years agoFinish cleanup of core::str
Marijn Haverbeke [Thu, 23 Feb 2012 15:59:30 +0000 (16:59 +0100)]
Finish cleanup of core::str

Closes #1849

12 years agoOptimize str::replace
Marijn Haverbeke [Thu, 23 Feb 2012 13:59:27 +0000 (14:59 +0100)]
Optimize str::replace

12 years agoVarious cleanups and optimizations in core::str
Marijn Haverbeke [Thu, 23 Feb 2012 12:41:10 +0000 (13:41 +0100)]
Various cleanups and optimizations in core::str

12 years agoMake str::pop_char and str::unsafe::pop_byte efficient
Marijn Haverbeke [Thu, 23 Feb 2012 09:12:20 +0000 (10:12 +0100)]
Make str::pop_char and str::unsafe::pop_byte efficient

O(1) rather than O(string len)

12 years ago(core::str) comments
Kevin Cantu [Thu, 23 Feb 2012 10:03:37 +0000 (02:03 -0800)]
(core::str) comments

12 years ago(core::str) rename ++
Kevin Cantu [Thu, 23 Feb 2012 09:53:32 +0000 (01:53 -0800)]
(core::str) rename ++

12 years ago(core::str) rename substr_len_bytes to substr_len, and delete unused byte_index[_from]
Kevin Cantu [Thu, 23 Feb 2012 09:45:59 +0000 (01:45 -0800)]
(core::str) rename substr_len_bytes to substr_len, and delete unused byte_index[_from]

12 years ago(core::str) remove len_bytes alias
Kevin Cantu [Thu, 23 Feb 2012 09:44:04 +0000 (01:44 -0800)]
(core::str) remove len_bytes alias

12 years ago(core::str) replace uses of unsafe::slice_bytes; replace find[_from]_bytes with find...
Kevin Cantu [Thu, 23 Feb 2012 08:45:25 +0000 (00:45 -0800)]
(core::str) replace uses of unsafe::slice_bytes; replace find[_from]_bytes with find[_from]

12 years ago(core::str) stop using index_chars
Kevin Cantu [Thu, 23 Feb 2012 07:56:51 +0000 (23:56 -0800)]
(core::str) stop using index_chars

12 years ago(core::str) replace byte_index[_from] with index[_from]
Kevin Cantu [Thu, 23 Feb 2012 07:46:45 +0000 (23:46 -0800)]
(core::str) replace byte_index[_from] with index[_from]

12 years ago(core::str) do some replacements
Kevin Cantu [Thu, 23 Feb 2012 07:26:09 +0000 (23:26 -0800)]
(core::str) do some replacements

12 years ago(core::str) add index, index_from, rindex which return byte positions of chars; renam...
Kevin Cantu [Thu, 23 Feb 2012 07:03:42 +0000 (23:03 -0800)]
(core::str) add index, index_from, rindex which return byte positions of chars; rename find to find_chars; add fixmes to delete byte_index, byte_index_from

12 years ago(core::str) add a safe byte slice and maybe_slice ++
Kevin Cantu [Wed, 22 Feb 2012 09:16:47 +0000 (01:16 -0800)]
(core::str) add a safe byte slice and maybe_slice ++

12 years ago(core::str) add a safe byte slice and maybe_slice
Kevin Cantu [Wed, 22 Feb 2012 08:49:05 +0000 (00:49 -0800)]
(core::str) add a safe byte slice and maybe_slice

12 years ago(core::char) rename slice -> slice_chars
Kevin Cantu [Wed, 22 Feb 2012 06:08:32 +0000 (22:08 -0800)]
(core::char) rename slice -> slice_chars

12 years ago(core::str) rename rindex -> rindex_chars
Kevin Cantu [Wed, 22 Feb 2012 05:48:03 +0000 (21:48 -0800)]
(core::str) rename rindex -> rindex_chars

12 years ago(core::str) rename index -> index_chars
Kevin Cantu [Wed, 22 Feb 2012 05:38:40 +0000 (21:38 -0800)]
(core::str) rename index -> index_chars

12 years ago(core::str) make len an alias for len_bytes ++
Kevin Cantu [Wed, 22 Feb 2012 05:13:18 +0000 (21:13 -0800)]
(core::str) make len an alias for len_bytes ++

12 years ago(core::str) make len an alias for len_bytes
Kevin Cantu [Wed, 22 Feb 2012 05:12:41 +0000 (21:12 -0800)]
(core::str) make len an alias for len_bytes

12 years ago(core::str) mostly rename len -> len_chars
Kevin Cantu [Wed, 22 Feb 2012 05:04:29 +0000 (21:04 -0800)]
(core::str) mostly rename len -> len_chars

12 years agort: Cut the red zone to 2K on linux
Brian Anderson [Thu, 23 Feb 2012 08:23:22 +0000 (00:23 -0800)]
rt: Cut the red zone to 2K on linux

12 years agort: Cut the red zone to 4K on linux
Brian Anderson [Thu, 23 Feb 2012 06:36:55 +0000 (22:36 -0800)]
rt: Cut the red zone to 4K on linux

12 years agort: Switch to the C stack in reset_stack_limit
Brian Anderson [Thu, 23 Feb 2012 07:50:27 +0000 (23:50 -0800)]
rt: Switch to the C stack in reset_stack_limit

12 years agort: Stop logging on the Rust stack. Closes #1478
Brian Anderson [Thu, 23 Feb 2012 06:29:38 +0000 (22:29 -0800)]
rt: Stop logging on the Rust stack. Closes #1478

12 years agorustc: Don't ignore attributes inside empty mods. Closes #1655
Brian Anderson [Thu, 23 Feb 2012 05:47:23 +0000 (21:47 -0800)]
rustc: Don't ignore attributes inside empty mods. Closes #1655

12 years agotest: Add a test for #1696
Brian Anderson [Thu, 23 Feb 2012 05:17:09 +0000 (21:17 -0800)]
test: Add a test for #1696

12 years agotest: Add a test for #1697
Brian Anderson [Thu, 23 Feb 2012 05:14:27 +0000 (21:14 -0800)]
test: Add a test for #1697

12 years agorustc: Allow any integral types on rhs of shift ops
Brian Anderson [Wed, 22 Feb 2012 05:01:33 +0000 (21:01 -0800)]
rustc: Allow any integral types on rhs of shift ops

12 years agoAdd Daniel Brooks to AUTHORS.txt
Brian Anderson [Wed, 22 Feb 2012 23:03:18 +0000 (15:03 -0800)]
Add Daniel Brooks to AUTHORS.txt

12 years agoMerge pull request #1886 from db48x/3c95fa22daf157d8e2d07b20e66f9888de60681a
Brian Anderson [Wed, 22 Feb 2012 23:01:37 +0000 (15:01 -0800)]
Merge pull request #1886 from db48x/3c95fa22daf157d8e2d07b20e66f9888de60681a

fixes an error that happens during make check

12 years agoImprove error message for use of a non-pure-fn in a pred
Tim Chevalier [Wed, 22 Feb 2012 18:55:39 +0000 (10:55 -0800)]
Improve error message for use of a non-pure-fn in a pred

Closes #1883

12 years agoStop normalizing patterns
Marijn Haverbeke [Wed, 22 Feb 2012 15:57:23 +0000 (16:57 +0100)]
Stop normalizing patterns

The check for whether a pat_ident is a variant or a binding
is simple and fast. Normalizing patterns again and again is
slow and error-prone (several places were forgetting to do it).

12 years agoFix uint/u64 confusion
Marijn Haverbeke [Wed, 22 Feb 2012 12:44:55 +0000 (13:44 +0100)]
Fix uint/u64 confusion

Causes a failure on 32-bit platforms

12 years agoTake move captures in account in mutability checker
Marijn Haverbeke [Wed, 22 Feb 2012 12:35:17 +0000 (13:35 +0100)]
Take move captures in account in mutability checker

Closes #1461

12 years agoReturn a new type var instead of nil when failing to typecheck a field
Marijn Haverbeke [Wed, 22 Feb 2012 12:34:43 +0000 (13:34 +0100)]
Return a new type var instead of nil when failing to typecheck a field

The previous solution was usually causing a second spurious error
message.

12 years agoMake the various from_str functions return options
Marijn Haverbeke [Wed, 22 Feb 2012 12:18:15 +0000 (13:18 +0100)]
Make the various from_str functions return options

So that they can be used with user input without causing task
failures.

Closes #1335

12 years agoAdd core::to_str module
Marijn Haverbeke [Wed, 22 Feb 2012 12:06:38 +0000 (13:06 +0100)]
Add core::to_str module

Provides a central iface for the various stringification
functions.

12 years agoRemove preconditions from libraries
Marijn Haverbeke [Wed, 22 Feb 2012 10:44:11 +0000 (11:44 +0100)]
Remove preconditions from libraries

Closes #1805

12 years agoClean up small things in syntax submodules
Marijn Haverbeke [Wed, 22 Feb 2012 10:16:25 +0000 (11:16 +0100)]
Clean up small things in syntax submodules

12 years agorustdoc: Turn off parallel folding until I figure out what's wrong on OS X
Brian Anderson [Wed, 22 Feb 2012 00:15:14 +0000 (16:15 -0800)]
rustdoc: Turn off parallel folding until I figure out what's wrong on OS X

12 years agorustdoc: Make it easy to switch between parallel and sequential folds
Brian Anderson [Tue, 21 Feb 2012 06:24:59 +0000 (22:24 -0800)]
rustdoc: Make it easy to switch between parallel and sequential folds

12 years agorustdoc: Convert most passes to parallel folds
Brian Anderson [Tue, 21 Feb 2012 06:16:25 +0000 (22:16 -0800)]
rustdoc: Convert most passes to parallel folds

12 years agorustdoc: Implement a parallel fold
Brian Anderson [Tue, 21 Feb 2012 06:08:24 +0000 (22:08 -0800)]
rustdoc: Implement a parallel fold

12 years agorustdoc: Implement astsrv in a dedicated task
Brian Anderson [Tue, 21 Feb 2012 05:41:24 +0000 (21:41 -0800)]
rustdoc: Implement astsrv in a dedicated task

This allows the srv type to be sendable so we can parallelize
all the rustdoc passes

12 years agorustdoc: Convert the astsrv constructor to a higher order fn
Brian Anderson [Tue, 21 Feb 2012 05:08:19 +0000 (21:08 -0800)]
rustdoc: Convert the astsrv constructor to a higher order fn

This will allow it to manage the destruction of the astsrv after
I convert it to a task

12 years agorustdoc: Rename mk_srv_from_str/file to just from_str/file
Brian Anderson [Tue, 21 Feb 2012 04:44:33 +0000 (20:44 -0800)]
rustdoc: Rename mk_srv_from_str/file to just from_str/file

12 years agorustc: Generate crates with #ast
Brian Anderson [Tue, 21 Feb 2012 23:34:26 +0000 (15:34 -0800)]
rustc: Generate crates with #ast

12 years agocore: Fix unused variable warning
Brian Anderson [Tue, 21 Feb 2012 22:25:51 +0000 (14:25 -0800)]
core: Fix unused variable warning

12 years agocore: Fix to_str_exact for floats with no decimal component
Brian Anderson [Tue, 21 Feb 2012 22:25:31 +0000 (14:25 -0800)]
core: Fix to_str_exact for floats with no decimal component

12 years agocore: Add option::unwrap
Brian Anderson [Tue, 21 Feb 2012 07:06:47 +0000 (23:06 -0800)]
core: Add option::unwrap

This function uses some unsafe code to move the value out of an option.

12 years agoClean up unification code
Marijn Haverbeke [Tue, 21 Feb 2012 16:02:02 +0000 (17:02 +0100)]
Clean up unification code

12 years agoClean up some FIXMEs in middle:: modules
Marijn Haverbeke [Tue, 21 Feb 2012 14:59:48 +0000 (15:59 +0100)]
Clean up some FIXMEs in middle:: modules

Rename all TODOs to FIXMEs

12 years agoMove trans::type_of code into its own file
Marijn Haverbeke [Tue, 21 Feb 2012 14:22:55 +0000 (15:22 +0100)]
Move trans::type_of code into its own file

Slowly shrinking base.rs

12 years agoInclude @ in crate_ctxt and fn_ctxt type definitions
Marijn Haverbeke [Tue, 21 Feb 2012 14:11:20 +0000 (15:11 +0100)]
Include @ in crate_ctxt and fn_ctxt type definitions

So that code using them doesn't have to spell it out constantly.

12 years agoRemove unused tydesc argument to upcall_shared_malloc
Marijn Haverbeke [Tue, 21 Feb 2012 14:01:19 +0000 (15:01 +0100)]
Remove unused tydesc argument to upcall_shared_malloc

12 years agoMake the cleanup tag in resource types a u8
Marijn Haverbeke [Tue, 21 Feb 2012 13:51:17 +0000 (14:51 +0100)]
Make the cleanup tag in resource types a u8

Closes #1184

12 years agoRemove some checks and associated FIXMEs from trans code
Marijn Haverbeke [Tue, 21 Feb 2012 13:25:53 +0000 (14:25 +0100)]
Remove some checks and associated FIXMEs from trans code

Such intentions are better tracked in the bug tracker, don't need
to litter the code with repetetive comments.

12 years agoClean up a number of TODOs in the trans modules
Marijn Haverbeke [Tue, 21 Feb 2012 13:20:18 +0000 (14:20 +0100)]
Clean up a number of TODOs in the trans modules

Rename the ones that I didn't handle to FIXME

12 years agocore: Resolve a FIXME in str module
Brian Anderson [Tue, 21 Feb 2012 08:59:05 +0000 (00:59 -0800)]
core: Resolve a FIXME in str module

12 years agopython might be in a path with spaces in it, you never know
Daniel Brooks [Tue, 21 Feb 2012 08:53:01 +0000 (00:53 -0800)]
python might be in a path with spaces in it, you never know

12 years agocore: Remove a useless test from option mod
Brian Anderson [Tue, 21 Feb 2012 06:43:33 +0000 (22:43 -0800)]
core: Remove a useless test from option mod

12 years agoMore work on typechecking classes
Tim Chevalier [Tue, 21 Feb 2012 05:37:37 +0000 (21:37 -0800)]
More work on typechecking classes

classes-simple doesn't fail until trans now!

12 years agocore: New task API
Brian Anderson [Sun, 19 Feb 2012 00:34:42 +0000 (16:34 -0800)]
core: New task API

12 years agoRe-XFAIL test that I accidentally
Tim Chevalier [Tue, 21 Feb 2012 01:33:35 +0000 (17:33 -0800)]
Re-XFAIL test that I accidentally

12 years agofix whitespace again
Tim Chevalier [Tue, 21 Feb 2012 01:21:33 +0000 (17:21 -0800)]
fix whitespace again

12 years agoOops, my whitespace is showing
Tim Chevalier [Tue, 21 Feb 2012 01:19:09 +0000 (17:19 -0800)]
Oops, my whitespace is showing

12 years agoFurther work on resolving and typechecking classes
Tim Chevalier [Mon, 20 Feb 2012 23:42:21 +0000 (15:42 -0800)]
Further work on resolving and typechecking classes

Class tests aren't working yet, but they fail a little later :-)

Also, make the parser correctly set a constructor's result type to
its enclosing class type.

12 years agorustdoc: Remove stray log
Brian Anderson [Tue, 21 Feb 2012 00:57:29 +0000 (16:57 -0800)]
rustdoc: Remove stray log

12 years agorustdoc: astsrv::exec should return sendable types
Brian Anderson [Tue, 21 Feb 2012 00:56:56 +0000 (16:56 -0800)]
rustdoc: astsrv::exec should return sendable types

In order to make it parallelizable someday.

12 years agorustdoc: Document reexports
Brian Anderson [Tue, 21 Feb 2012 00:10:54 +0000 (16:10 -0800)]
rustdoc: Document reexports

12 years agoMerge pull request #1870 from tychosci/cargo-sysroot
Graydon Hoare [Mon, 20 Feb 2012 19:27:30 +0000 (11:27 -0800)]
Merge pull request #1870 from tychosci/cargo-sysroot

cargo: Fixes for issue #1795

12 years agocargo: Install blobs to $sysroot/(bin|lib) on system-mode
Tycho Sci [Mon, 20 Feb 2012 08:33:50 +0000 (17:33 +0900)]
cargo: Install blobs to $sysroot/(bin|lib) on system-mode

Issue #1795

12 years agocargo: Use system-mode by default except "install"
Tycho Sci [Mon, 20 Feb 2012 08:08:58 +0000 (17:08 +0900)]
cargo: Use system-mode by default except "install"

I think it is confused that you need to "cargo init"
and "cargo sync" every time to setup local-level .cargo