]>
git.lizzy.rs Git - rust.git/log
Matt Brubeck [Fri, 28 Oct 2011 23:01:34 +0000 (16:01 -0700)]
More documentation for alt expressions
Brian Anderson [Fri, 28 Oct 2011 22:47:20 +0000 (15:47 -0700)]
Document how RUST_LOG works
Matt Brubeck [Fri, 28 Oct 2011 21:20:10 +0000 (14:20 -0700)]
Cleanup: Remove uneccesary generic_cmp function.
Matt Brubeck [Fri, 28 Oct 2011 19:56:54 +0000 (12:56 -0700)]
Add more isNaN tests
Matt Brubeck [Fri, 28 Oct 2011 00:45:04 +0000 (17:45 -0700)]
Change behavior of float::nonpositive/nonnegative
Rather than being defined as !positive and !negative, these should act the
same as negative and positive (respectively). The only effect of this change
should be that all four functions will now return false for NaN.
Matt Brubeck [Fri, 28 Oct 2011 05:01:30 +0000 (22:01 -0700)]
Use IEEE 754 semantics for NaN (Issue #1084)
Matt Brubeck [Thu, 27 Oct 2011 23:22:16 +0000 (16:22 -0700)]
+0.0 should be positive and -0.0 should be negative.
Brian Anderson [Fri, 28 Oct 2011 21:25:40 +0000 (14:25 -0700)]
stdlib: Replace an unsafe cast with ptr::null
Brian Anderson [Fri, 28 Oct 2011 21:19:17 +0000 (14:19 -0700)]
stdlib: Make reinterpret_cast and leak unsafe
Brian Anderson [Fri, 28 Oct 2011 20:56:01 +0000 (13:56 -0700)]
stdlib: Make merge_sort take [mutable? T]
Brian Anderson [Fri, 28 Oct 2011 20:45:32 +0000 (13:45 -0700)]
stdlib: Fix the list::foldl implementation
Brian Anderson [Fri, 28 Oct 2011 20:37:19 +0000 (13:37 -0700)]
stdlib: Rename list::length to list::len to match vec::len
Brian Anderson [Fri, 28 Oct 2011 20:34:17 +0000 (13:34 -0700)]
stdlib: Rename the 'ls_' param in list functions to 'ls'
Brian Anderson [Fri, 28 Oct 2011 20:32:11 +0000 (13:32 -0700)]
stdlib: Make list::from_vec more efficient
Brian Anderson [Fri, 28 Oct 2011 20:23:50 +0000 (13:23 -0700)]
stdlib: make list::from_vec take [mutable? T]
Brian Anderson [Fri, 28 Oct 2011 19:56:51 +0000 (12:56 -0700)]
rustc: Remove broken --depend flag
Brian Anderson [Fri, 28 Oct 2011 19:53:57 +0000 (12:53 -0700)]
Man page cleanup
Brian Anderson [Fri, 28 Oct 2011 19:51:46 +0000 (12:51 -0700)]
rustc: -h cleanup
Brian Anderson [Fri, 28 Oct 2011 19:49:19 +0000 (12:49 -0700)]
rustc: Change --OptLevel to --opt-level
Brian Anderson [Fri, 28 Oct 2011 19:45:14 +0000 (12:45 -0700)]
More man page cleanup
Brian Anderson [Fri, 28 Oct 2011 19:04:53 +0000 (12:04 -0700)]
Update man page for default library naming
Brian Anderson [Fri, 28 Oct 2011 18:57:01 +0000 (11:57 -0700)]
rustc: Use consistent error handling in main
Brian Anderson [Fri, 28 Oct 2011 18:43:07 +0000 (11:43 -0700)]
rustc: Extract error reporting from codemap
Brian Anderson [Fri, 28 Oct 2011 18:17:07 +0000 (11:17 -0700)]
Reorder statements in rustc main to avoid bounds check
Haitao Li [Fri, 28 Oct 2011 07:53:57 +0000 (15:53 +0800)]
rustc: Lift output file name handling out of main
Haitao Li [Fri, 28 Oct 2011 06:57:39 +0000 (14:57 +0800)]
Produce dyn libraries with proper names
Issue #744
Marijn Haverbeke [Fri, 28 Oct 2011 15:00:14 +0000 (17:00 +0200)]
Make shared kind the default only for generic functions
You almost never want a function with pinned type params. For
types, objects, resources, and tags, pinned types are actually often
more sane. For most of these, shared rarely makes sense. Only tricky
case is objs -- you'll have to think about the kinds you want there.
Issue #1076
Marijn Haverbeke [Fri, 28 Oct 2011 14:41:56 +0000 (16:41 +0200)]
Move to blocks, rather than fn@s, in parser.rs
Marijn Haverbeke [Fri, 28 Oct 2011 13:09:12 +0000 (15:09 +0200)]
Move to short type parameter keywords
Issue #1076
Marijn Haverbeke [Fri, 28 Oct 2011 13:08:53 +0000 (15:08 +0200)]
Register snapshot
Marijn Haverbeke [Fri, 28 Oct 2011 12:57:49 +0000 (14:57 +0200)]
Move to short kind kinds words in test suite
Issue #1076
Marijn Haverbeke [Fri, 28 Oct 2011 12:57:35 +0000 (14:57 +0200)]
Start accepting short keywords for parameter kinds
This is a pre-snapshot commit to be able to implement #1076 without
the bootstrap compiler getting in my way.
Brian Anderson [Fri, 28 Oct 2011 04:35:08 +0000 (21:35 -0700)]
Remove whitespace
Brian Anderson [Fri, 28 Oct 2011 04:34:16 +0000 (21:34 -0700)]
Add std::vec::foldr
Brian Anderson [Fri, 28 Oct 2011 04:17:51 +0000 (21:17 -0700)]
Add a test for std::vec::iter2
Brian Anderson [Fri, 28 Oct 2011 04:09:02 +0000 (21:09 -0700)]
Add reverse iterators to std::vec
Brian Anderson [Fri, 28 Oct 2011 03:50:10 +0000 (20:50 -0700)]
Remove std::vec::eachi. Same function as iter2.
Brian Anderson [Fri, 28 Oct 2011 03:47:06 +0000 (20:47 -0700)]
Implement vec::foldl without recursion
Brian Anderson [Fri, 28 Oct 2011 03:29:13 +0000 (20:29 -0700)]
Add std::vec::iter
Brian Anderson [Fri, 28 Oct 2011 01:23:06 +0000 (18:23 -0700)]
Remove std::int::eq_alias
This is the exact same function as int::eq
Brian Anderson [Fri, 28 Oct 2011 01:15:58 +0000 (18:15 -0700)]
Make option::is_some option::is_none pure
Brian Anderson [Fri, 28 Oct 2011 00:49:13 +0000 (17:49 -0700)]
Make vec::reversed take [mutable? T]
Brian Anderson [Fri, 28 Oct 2011 00:06:49 +0000 (17:06 -0700)]
Make std:vec::grow_fn take an init_op type
Brian Anderson [Fri, 28 Oct 2011 00:03:38 +0000 (17:03 -0700)]
Reorder std::vec so the documentation renders better
Put all types first, then predicates, then functions
Brian Anderson [Thu, 27 Oct 2011 23:27:47 +0000 (16:27 -0700)]
Convert various functions in std to take lambda blocks
Brian Anderson [Thu, 27 Oct 2011 22:35:56 +0000 (15:35 -0700)]
Document std::bitv
Brian Anderson [Thu, 27 Oct 2011 22:04:29 +0000 (15:04 -0700)]
Fix typo in Makefile.in
Brian Anderson [Thu, 27 Oct 2011 22:02:32 +0000 (15:02 -0700)]
Add a make docs target
Brian Anderson [Thu, 27 Oct 2011 21:59:22 +0000 (14:59 -0700)]
Add std docs to the build process
Brian Anderson [Thu, 27 Oct 2011 21:54:18 +0000 (14:54 -0700)]
Add more std docs
Brian Anderson [Thu, 27 Oct 2011 20:52:00 +0000 (13:52 -0700)]
Use the std::term color constants in the codemap
Exported constants work now. Woo!
Matt Brubeck [Thu, 27 Oct 2011 20:04:06 +0000 (13:04 -0700)]
Remove uint::max/min in favor if math::max/min
Matt Brubeck [Thu, 27 Oct 2011 19:57:48 +0000 (12:57 -0700)]
Add documentation to std::uint
Matt Brubeck [Thu, 27 Oct 2011 19:46:55 +0000 (12:46 -0700)]
Add std documentation for float and u8 functions
Matt Brubeck [Thu, 27 Oct 2011 19:18:51 +0000 (12:18 -0700)]
Mark uint add/sub/mul/div/rem functions as pure
Matt Brubeck [Thu, 27 Oct 2011 14:02:40 +0000 (07:02 -0700)]
Add function aliases for float operators
Matt Brubeck [Thu, 27 Oct 2011 16:14:13 +0000 (09:14 -0700)]
Add tests for the 'as' (cast) operator
Matt Brubeck [Thu, 27 Oct 2011 15:36:06 +0000 (08:36 -0700)]
Add 'as' (cast) operator to the documentation
Brian Anderson [Thu, 27 Oct 2011 20:14:56 +0000 (13:14 -0700)]
Add more std docs
Brian Anderson [Thu, 27 Oct 2011 18:17:39 +0000 (11:17 -0700)]
Cleanup in std::task
Brian Anderson [Thu, 27 Oct 2011 18:15:28 +0000 (11:15 -0700)]
More std docs
Brian Anderson [Thu, 27 Oct 2011 03:39:02 +0000 (20:39 -0700)]
Remove task::join_id
This is the old, racy way of joining to a task. It is no longer used.
Brian Anderson [Wed, 26 Oct 2011 23:24:31 +0000 (16:24 -0700)]
Add more std documentation
Brian Anderson [Wed, 26 Oct 2011 18:55:28 +0000 (11:55 -0700)]
Use web-style paragraphs in std docs
Brian Anderson [Wed, 26 Oct 2011 18:28:23 +0000 (11:28 -0700)]
Add more std documentation
Elly Jones [Wed, 26 Oct 2011 04:22:38 +0000 (00:22 -0400)]
rustc.1: Fix formatting.
Elly Jones [Wed, 26 Oct 2011 03:32:10 +0000 (23:32 -0400)]
rustc.1: Fix sysroot documentation.
Brian Anderson [Wed, 26 Oct 2011 04:18:22 +0000 (21:18 -0700)]
Add more comments to install.mk
Brian Anderson [Wed, 26 Oct 2011 04:17:57 +0000 (21:17 -0700)]
Install man page for rustc
Brian Anderson [Wed, 26 Oct 2011 03:18:48 +0000 (20:18 -0700)]
Merge pull request #1073 from elly/master
Add rustc(1).
Elly Jones [Wed, 26 Oct 2011 03:05:41 +0000 (23:05 -0400)]
man: Add rustc.1.
Document the compiler a bit. Not installed yet as I don't understand automake
very well.
Signed-off-by: Elly Jones <elly@leptoquark.net>
Brian Anderson [Mon, 24 Oct 2011 22:25:41 +0000 (15:25 -0700)]
Begin documenting std and add doc generation using naturaldocs
Naturaldocs isn't really that great but it seems easier to get
something working than with doxygen, for which we would need to
convert rust code to something C++ish. We probably want to just
write a rustdoc utility at some point.
Marijn Haverbeke [Tue, 25 Oct 2011 15:57:26 +0000 (17:57 +0200)]
Properly take mutable object fields into account during alias analysis
Closes #1055
Marijn Haverbeke [Tue, 25 Oct 2011 13:56:55 +0000 (15:56 +0200)]
Update our code to new type parameter kind syntax
Closes #1067
Marijn Haverbeke [Tue, 25 Oct 2011 13:50:45 +0000 (15:50 +0200)]
Remove support for @/~-style type param kind annotation
Issue #1067
Marijn Haverbeke [Tue, 25 Oct 2011 13:22:28 +0000 (15:22 +0200)]
Register new snapshot
Marijn Haverbeke [Tue, 25 Oct 2011 12:31:56 +0000 (14:31 +0200)]
Step one towards new type param kind syntax
Issue #1067
Needs a snapshot to finalize.
Brian Anderson [Tue, 25 Oct 2011 00:23:34 +0000 (17:23 -0700)]
Fix long lines
Niko Matsakis [Tue, 25 Oct 2011 00:03:18 +0000 (17:03 -0700)]
fix c-stack-cdecl when used w/ i64
Niko Matsakis [Mon, 24 Oct 2011 22:24:37 +0000 (15:24 -0700)]
kill errant log_err
Niko Matsakis [Mon, 24 Oct 2011 22:19:57 +0000 (15:19 -0700)]
remove (unused) fn rust_list_files from win32_fs; that is
defined in fs.rs
Niko Matsakis [Mon, 24 Oct 2011 19:33:08 +0000 (12:33 -0700)]
switch over sqrt from llvm to c-stack-cdecl, exposing a bug in
the supported return types of upcall_c_stack
Niko Matsakis [Sun, 23 Oct 2011 14:21:40 +0000 (07:21 -0700)]
add implicit ctx
Niko Matsakis [Sun, 23 Oct 2011 14:21:14 +0000 (07:21 -0700)]
remove unused task ptr arg
Niko Matsakis [Sun, 23 Oct 2011 03:59:20 +0000 (20:59 -0700)]
update intrinsics file
Niko Matsakis [Fri, 21 Oct 2011 22:31:19 +0000 (15:31 -0700)]
move uses of rust ABI in tests to cdecl or c-stack-cdecl as appr
Note: I found a bug in c-stack-cdecl which codes not permit such
native functions to be used as values. I added an xfail-test
(c-stack-as-value) documenting it.
Niko Matsakis [Fri, 21 Oct 2011 21:38:34 +0000 (14:38 -0700)]
move remaining task natives to cdecl ABI (run on rust stack)
Niko Matsakis [Fri, 21 Oct 2011 20:31:51 +0000 (13:31 -0700)]
isolate those funcs in task that can run on the c stack
Niko Matsakis [Fri, 21 Oct 2011 19:14:01 +0000 (12:14 -0700)]
work around bug when calling c-stack-cdecl fns from outside crate
In the main test, I call the wrapper instead of the native fn, as intended.
I also added an xfail-test that exercises the broken code path. Will
file a bug.
Description of the broken code path:
The code path is that when we look up the external identifier we go through
trans_external_path() -> type_of_ty_param_kinds_and_ty() ->
type_of_fn_from_ty() -> type_of_fn(), and type_of_fn() adds a lot of external
parameters. Problem is, I guess, that we don't pass the native ABI (or even the
fact that it's a native function!), just the types and kinds of the parameters.
Niko Matsakis [Fri, 21 Oct 2011 18:06:33 +0000 (11:06 -0700)]
move sys fns into c-stack-cdecl and get_type_desc() into rusti
there is one test failure, stdtest/sys.rs, which inexplicably
(thus far) fails to compile because it invokes
sys::rustrt::last_os_error() instead of invoking
sys::last_os_error(). If stdtest/sys.rs is updated to invoke
the wrapper, it passes. Still tracing the source of this error.
Niko Matsakis [Fri, 21 Oct 2011 00:23:21 +0000 (17:23 -0700)]
migrate leak
Niko Matsakis [Fri, 21 Oct 2011 00:12:47 +0000 (17:12 -0700)]
migrate rust_run_program
Niko Matsakis [Fri, 21 Oct 2011 00:06:52 +0000 (17:06 -0700)]
migrate debugging funcs
Niko Matsakis [Thu, 20 Oct 2011 23:46:33 +0000 (16:46 -0700)]
migrate sched_threads call
Niko Matsakis [Thu, 20 Oct 2011 18:30:08 +0000 (11:30 -0700)]
convert str methods to c-stack-cdecl
Niko Matsakis [Thu, 20 Oct 2011 18:25:02 +0000 (11:25 -0700)]
make time module use c-stack-cdecl
Niko Matsakis [Thu, 20 Oct 2011 18:09:21 +0000 (11:09 -0700)]
move rand functions into c-stack-cdecl mode
Niko Matsakis [Thu, 20 Oct 2011 17:18:39 +0000 (10:18 -0700)]
remove unnecessary && from various file routines
Niko Matsakis [Thu, 20 Oct 2011 14:14:23 +0000 (07:14 -0700)]
move more native "rust" to native "c-stack-cdecl"
Niko Matsakis [Thu, 20 Oct 2011 14:04:20 +0000 (07:04 -0700)]
move io.rs natives from "rust" to "c-stack-stdlib"