]>
git.lizzy.rs Git - rust.git/log
Marijn Haverbeke [Mon, 7 Nov 2011 09:05:31 +0000 (10:05 +0100)]
Add Joshua Wise to AUTHORS.txt
Joshua Wise [Mon, 7 Nov 2011 02:29:16 +0000 (21:29 -0500)]
llvm::mk_object_file should really return an option, since the underlying LLVM function can fail. Fixes a crash on OS X when rust has bad dylibs within eyeshot.
Marijn Haverbeke [Mon, 7 Nov 2011 08:55:22 +0000 (09:55 +0100)]
Fix some more bugs in the tutorial
Tutorial code going out of date is going to be a recurring problem...
Matt Brubeck [Mon, 7 Nov 2011 06:20:08 +0000 (22:20 -0800)]
Tutorial: 'import std;' should be 'use std;'.
David Rajchenbach-Teller [Sun, 6 Nov 2011 16:33:39 +0000 (17:33 +0100)]
[Stdlib] rope.rs: improved doc, code readability
David Rajchenbach-Teller [Sun, 6 Nov 2011 16:27:24 +0000 (17:27 +0100)]
[Test] rope.rs: testing concat
David Rajchenbach-Teller [Sun, 6 Nov 2011 16:27:08 +0000 (17:27 +0100)]
[Stdlib] rope.rs: concat, now attempts to preserve balance
David Rajchenbach-Teller [Sun, 6 Nov 2011 16:26:31 +0000 (17:26 +0100)]
[Stdlib doc] char.rs: documented to_digit, cmp
David Rajchenbach-Teller [Sun, 6 Nov 2011 12:09:24 +0000 (13:09 +0100)]
[stdlib optim] rope::node improved balancing strategy
Brian Anderson [Fri, 4 Nov 2011 00:36:22 +0000 (17:36 -0700)]
configure: Handle absolute source paths when configuring LLVM
Brian Anderson [Thu, 3 Nov 2011 23:13:22 +0000 (16:13 -0700)]
Build LLVM with -fno-omit-frame-pointer on Linux
Brian Anderson [Thu, 3 Nov 2011 23:02:39 +0000 (16:02 -0700)]
configure: Quote the git command
Brian Anderson [Thu, 3 Nov 2011 22:19:08 +0000 (15:19 -0700)]
Change the LLVM repo to git://github.com/brson/llvm.git
Brian Anderson [Thu, 3 Nov 2011 21:32:52 +0000 (14:32 -0700)]
Add clean-all rule which also cleans LLVM
Brian Anderson [Thu, 3 Nov 2011 21:13:22 +0000 (14:13 -0700)]
Cleanup configure script
Brian Anderson [Thu, 3 Nov 2011 20:49:00 +0000 (13:49 -0700)]
configure: Use i686 as the CPU type instead of i386
Seems to prevent the warning about linking bitcode with different triples.
Brian Anderson [Thu, 3 Nov 2011 19:17:37 +0000 (12:17 -0700)]
Use $(MAKE) for recursive make
Brian Anderson [Wed, 2 Nov 2011 23:21:17 +0000 (16:21 -0700)]
Parameterize the LLVM build over the target triples
Brian Anderson [Wed, 2 Nov 2011 22:10:19 +0000 (15:10 -0700)]
Cleanup LLVM build rules after rebase onto x64 changes
Brian Anderson [Wed, 2 Nov 2011 21:07:32 +0000 (14:07 -0700)]
Begin remove old LLVM configuration code
Brian Anderson [Wed, 2 Nov 2011 00:09:44 +0000 (17:09 -0700)]
LLVM build cleanup
Brian Anderson [Tue, 1 Nov 2011 23:12:19 +0000 (16:12 -0700)]
Use LLVM directly from the build directory
This will cut out the few seconds it takes to run make install.
Brian Anderson [Tue, 1 Nov 2011 22:48:30 +0000 (15:48 -0700)]
Tie the LLVM build into ours
Brian Anderson [Tue, 1 Nov 2011 22:22:07 +0000 (15:22 -0700)]
Call LLVM's configure script from ours
Brian Anderson [Tue, 1 Nov 2011 01:19:40 +0000 (18:19 -0700)]
Reconfigure when the git submodule status changes
Brian Anderson [Tue, 1 Nov 2011 00:34:31 +0000 (17:34 -0700)]
Add mk/llvm.mk
Brian Anderson [Mon, 31 Oct 2011 23:51:15 +0000 (16:51 -0700)]
Add submodule management to configure script
Brian Anderson [Mon, 31 Oct 2011 23:01:14 +0000 (16:01 -0700)]
Add an LLVM git submodule
Elly Jones [Sat, 5 Nov 2011 16:32:58 +0000 (12:32 -0400)]
docs: work around texi2dvi bug. (#1134)
David Rajchenbach-Teller [Sat, 5 Nov 2011 10:31:37 +0000 (11:31 +0100)]
[Docfix] lib/str.rs: Applied review suggestions, took the opportunity to improve doc of my new functions.
David Rajchenbach-Teller [Sat, 5 Nov 2011 10:12:42 +0000 (11:12 +0100)]
[Docfixes + feature] lib/uint.rs: Applied review suggesions, took the opportunity to add function loop
David Rajchenbach-Teller [Sat, 5 Nov 2011 10:12:31 +0000 (11:12 +0100)]
[Docfix + Renaming] lib/rope.rs: Applied review suggestions, mostly docfixes.
David Rajchenbach-Teller [Sat, 5 Nov 2011 09:29:21 +0000 (10:29 +0100)]
Fixup: forgotten stdtest/rope.rs
David Rajchenbach-Teller [Fri, 4 Nov 2011 17:38:42 +0000 (18:38 +0100)]
stdlib: Added a small rope library
David Rajchenbach-Teller [Fri, 4 Nov 2011 13:33:11 +0000 (14:33 +0100)]
char.rs: Added a function cmp
David Rajchenbach-Teller [Thu, 3 Nov 2011 08:37:45 +0000 (09:37 +0100)]
uint.rs: added functions div_ceil, div_floor, div_round
David Rajchenbach-Teller [Thu, 3 Nov 2011 08:37:15 +0000 (09:37 +0100)]
str.rs: Added functions loop_chars, loop_chars_sub, char_len_range, byte_len_range.
Elly Jones [Sat, 5 Nov 2011 00:27:37 +0000 (20:27 -0400)]
vec: take [mutable? T] instead of [T]
Elly Jones [Fri, 4 Nov 2011 23:53:23 +0000 (19:53 -0400)]
install.mk: make man1 directory
Marijn Haverbeke [Fri, 4 Nov 2011 11:23:35 +0000 (12:23 +0100)]
Fill in the tutorial section on testing
Brian Anderson [Thu, 3 Nov 2011 19:22:41 +0000 (12:22 -0700)]
Remove an old, temporary build rule
Brian Anderson [Thu, 3 Nov 2011 19:01:31 +0000 (12:01 -0700)]
configure: change --only-gcc to --enable-clang to make clang opt-in
Brian Anderson [Thu, 3 Nov 2011 18:26:52 +0000 (11:26 -0700)]
Make the formatting of the host build message consistent
Brian Anderson [Thu, 3 Nov 2011 17:53:49 +0000 (10:53 -0700)]
Fix typo in Makefile.in comments
Marijn Haverbeke [Thu, 3 Nov 2011 10:14:48 +0000 (11:14 +0100)]
Update some more tests for
1a68a9882
Marijn Haverbeke [Thu, 3 Nov 2011 09:59:42 +0000 (10:59 +0100)]
Clarify metadata syntax in manual
Closes #1119
Marijn Haverbeke [Thu, 3 Nov 2011 09:57:54 +0000 (10:57 +0100)]
Disallow writing to function arguments again
Remove implicit copying hack.
Closes #1118
Brian Anderson [Wed, 2 Nov 2011 23:26:22 +0000 (16:26 -0700)]
configure: cleanup
Brian Anderson [Wed, 2 Nov 2011 23:25:22 +0000 (16:25 -0700)]
configure: abort early on --help
Elly Jones [Wed, 2 Nov 2011 23:17:39 +0000 (19:17 -0400)]
configure: support --target-triples and --only-gcc.
Signed-off-by: Elly Jones <elly@leptoquark.net>
Brian Anderson [Wed, 2 Nov 2011 23:10:34 +0000 (16:10 -0700)]
Change the error message when no LLVM is found
Elly Jones [Wed, 2 Nov 2011 23:03:34 +0000 (19:03 -0400)]
configure: add --llvm-root
Signed-off-by: Elly Jones <elly@leptoquark.net>
Elly Jones [Wed, 2 Nov 2011 22:58:21 +0000 (18:58 -0400)]
configure: add support for --prefix=<prefix>
Signed-off-by: Elly Jones <elly@leptoquark.net>
Matt Brubeck [Wed, 2 Nov 2011 20:34:23 +0000 (13:34 -0700)]
Add vec::permute to the standard library (#1013)
Brian Anderson [Wed, 2 Nov 2011 21:22:07 +0000 (14:22 -0700)]
Escape $ when building linux def files
Niko Matsakis [Wed, 2 Nov 2011 04:10:46 +0000 (21:10 -0700)]
rerun the gyp-uv tool
Niko Matsakis [Wed, 2 Nov 2011 04:05:56 +0000 (21:05 -0700)]
pass proper options to libuv make
Niko Matsakis [Wed, 2 Nov 2011 01:20:54 +0000 (18:20 -0700)]
add required symbols
Niko Matsakis [Wed, 2 Nov 2011 01:19:55 +0000 (18:19 -0700)]
hastily port so we don't fail to build
Niko Matsakis [Wed, 2 Nov 2011 00:28:41 +0000 (17:28 -0700)]
virtualize rustllvm construction per target triple
Niko Matsakis [Tue, 1 Nov 2011 23:50:47 +0000 (16:50 -0700)]
virtualize the runtime per target triple.
Niko Matsakis [Mon, 31 Oct 2011 23:27:48 +0000 (16:27 -0700)]
Fix build on windows
Niko Matsakis [Mon, 31 Oct 2011 21:43:31 +0000 (14:43 -0700)]
fix line too long
Niko Matsakis [Mon, 31 Oct 2011 21:43:21 +0000 (14:43 -0700)]
fix failed merge
Niko Matsakis [Mon, 31 Oct 2011 17:28:18 +0000 (10:28 -0700)]
add -m64 to gcc args if appropriate
Niko Matsakis [Thu, 27 Oct 2011 00:28:04 +0000 (17:28 -0700)]
correct more i32 vs int mismatches
Niko Matsakis [Thu, 27 Oct 2011 00:09:07 +0000 (17:09 -0700)]
convert various ints to i32 and vice versa
Niko Matsakis [Wed, 26 Oct 2011 05:23:28 +0000 (22:23 -0700)]
convert GEP to i32
Niko Matsakis [Tue, 25 Oct 2011 20:13:55 +0000 (13:13 -0700)]
get things checking on ia32
Niko Matsakis [Sat, 15 Oct 2011 03:38:24 +0000 (20:38 -0700)]
thread the context through so that int can be 64 bits on x86_64
Niko Matsakis [Sat, 15 Oct 2011 00:00:17 +0000 (17:00 -0700)]
work on making the size of ints depend on the target arch
Niko Matsakis [Fri, 14 Oct 2011 23:45:25 +0000 (16:45 -0700)]
work on making the size of ints depend on the target arch
Niko Matsakis [Fri, 14 Oct 2011 21:08:04 +0000 (14:08 -0700)]
get the dependencies right so that all target archs are built
Niko Matsakis [Fri, 14 Oct 2011 19:22:20 +0000 (12:22 -0700)]
enable building with different target arch
Niko Matsakis [Fri, 14 Oct 2011 18:31:40 +0000 (11:31 -0700)]
enable intrinsics for multiple arch
Niko Matsakis [Fri, 14 Oct 2011 00:20:54 +0000 (17:20 -0700)]
arch is ia32 in libuv, annoyingly. this should be changed.
Niko Matsakis [Fri, 14 Oct 2011 00:11:28 +0000 (17:11 -0700)]
start going back to an i386 build
Niko Matsakis [Thu, 13 Oct 2011 19:23:50 +0000 (12:23 -0700)]
hack around on makefiles trying to get a 64 bit build
right now there are many temporary hacks, search for NDM to find them
Niko Matsakis [Thu, 13 Oct 2011 00:40:03 +0000 (17:40 -0700)]
modify x64 assembly and so forth
Niko Matsakis [Wed, 12 Oct 2011 23:43:40 +0000 (16:43 -0700)]
do not preserve caller-saved registers
Niko Matsakis [Wed, 12 Oct 2011 22:45:17 +0000 (15:45 -0700)]
copy over x86-specific code
Niko Matsakis [Wed, 12 Oct 2011 19:29:08 +0000 (12:29 -0700)]
start to isolate target strings so that they can be configured for
x64 or other targets
Marijn Haverbeke [Wed, 2 Nov 2011 18:03:33 +0000 (19:03 +0100)]
Fix confusing sentence in tutorial.
Marijn Haverbeke [Wed, 2 Nov 2011 13:30:51 +0000 (14:30 +0100)]
Evaluate alt expressions in their own block context
Closes #785
Marijn Haverbeke [Wed, 2 Nov 2011 13:12:24 +0000 (14:12 +0100)]
Rename car/cdr to head/tail in std::list
Closes #1086
Marijn Haverbeke [Wed, 2 Nov 2011 12:49:37 +0000 (13:49 +0100)]
Expand the tutorial section on functions
Marijn Haverbeke [Wed, 2 Nov 2011 08:43:49 +0000 (09:43 +0100)]
Write briefly about syntax extension in the syntax section
The currently existing syntax extension facilities don't really merit
their own section.
Marijn Haverbeke [Wed, 2 Nov 2011 11:15:50 +0000 (12:15 +0100)]
Make it possible to cast unsafe pointers with the 'as' operator
Marijn Haverbeke [Wed, 2 Nov 2011 10:42:51 +0000 (11:42 +0100)]
Make ptr::addr_of return an immutable vec, add mut_addr_of
Marijn Haverbeke [Wed, 2 Nov 2011 10:42:31 +0000 (11:42 +0100)]
Make 'lambda(...) -> ...' parse as a type
Marijn Haverbeke [Wed, 2 Nov 2011 10:30:11 +0000 (11:30 +0100)]
Make resolving of imports behave more sanely
An import now ignores itself when resolving its target. This gets rid of
the previously existing (problematic) behaviour where the import would start
looking one scope up when its name was the same as its target's first
component.
Closes #1114
Marijn Haverbeke [Wed, 2 Nov 2011 10:27:32 +0000 (11:27 +0100)]
Fix printing of parameterized tag types in ppaux
It was printing option::t[int] instead of option::t<int>
Brian Anderson [Wed, 2 Nov 2011 04:18:51 +0000 (21:18 -0700)]
Register snapshots
Brian Anderson [Wed, 2 Nov 2011 03:48:44 +0000 (20:48 -0700)]
Organize std.rc and make exports explicit
Brian Anderson [Wed, 2 Nov 2011 00:35:32 +0000 (17:35 -0700)]
Ignore another test involving failure on windows
Brian Anderson [Wed, 2 Nov 2011 00:22:32 +0000 (17:22 -0700)]
Ignore should_fail tests on windows
Matt Brubeck [Tue, 1 Nov 2011 17:31:23 +0000 (10:31 -0700)]
Add should_fail annotation for unit tests
This allows test cases to assert that a function is expected to fail.
Tests annotated with "should_fail" will succeed only if the function
fails.
Marijn Haverbeke [Tue, 1 Nov 2011 21:11:19 +0000 (22:11 +0100)]
Fix some typos in tutorial
Brian Anderson [Tue, 1 Nov 2011 19:39:47 +0000 (12:39 -0700)]
Fix typo in syntax.md
Brian Anderson [Tue, 1 Nov 2011 19:10:46 +0000 (12:10 -0700)]
Fix alignment of interior pointers of dynamic-size types. Closes #1112
GEP_tup_like finds interior pointers by creating a tuple of all the types
preceding the element it wants a pointer to, then asks for the size of that
tuple. This results in incorrect pointers when the alignment of that tuple
is not the alignment of the interior type you're getting a pointer to.