]>
git.lizzy.rs Git - rust.git/log
Brian Anderson [Wed, 5 Oct 2011 23:12:13 +0000 (16:12 -0700)]
Add Niko Matsakis to AUTHORS.txt
Niko Matsakis [Wed, 5 Oct 2011 22:25:50 +0000 (15:25 -0700)]
remove pthread_exit() from rust_start()
It was causing OS X Lion to hang and (according to Apple) is undefined
in any case
Patrick Walton [Wed, 5 Oct 2011 21:33:33 +0000 (14:33 -0700)]
rustc: Add a workaround for a segfault with --time-passes (issue #1005).
Brian Anderson [Wed, 5 Oct 2011 18:09:52 +0000 (11:09 -0700)]
Don't run stage0 compiler under valgrind
The stage0 compiler can't be fixed anyway. We used to have this in place but I
lost it during recent build changes.
Marijn Haverbeke [Wed, 5 Oct 2011 10:23:18 +0000 (12:23 +0200)]
Tie up the last ends in destination-passing-conversion
Closes #667
Marijn Haverbeke [Wed, 5 Oct 2011 09:51:41 +0000 (11:51 +0200)]
Make trans_lval lval-only
Call trans_temp_lval if you want the old fallback-to-temporary behaviour.
Issue #667
Marijn Haverbeke [Wed, 5 Oct 2011 09:26:27 +0000 (11:26 +0200)]
Add trans_temp_expr for what used to be trans_expr, rename t_e_dps to trans_expr
Issue #667
Marijn Haverbeke [Wed, 5 Oct 2011 08:41:30 +0000 (10:41 +0200)]
Lose the by_ref destination style
It's not needed.
Issue #667
Marijn Haverbeke [Wed, 5 Oct 2011 08:21:57 +0000 (10:21 +0200)]
Revert "Revert "Reorganize translation of expr_field""
This reverts commit
11e407aaa917dbd646f80aaff2457942481877c8 .
Marijn Haverbeke [Wed, 5 Oct 2011 08:21:48 +0000 (10:21 +0200)]
Revert "Revert "Get rid of 'overwrite' destination kind""
This reverts commit
ce9e0fc94f4a74594e7b342d128b3713b53ef0d7 .
Marijn Haverbeke [Wed, 5 Oct 2011 08:21:40 +0000 (10:21 +0200)]
Revert "Revert "Move trans_call to destination_passing style""
This reverts commit
276dfc6133f3c7d3b40778789f72379800f62176 .
Brian Anderson [Tue, 4 Oct 2011 21:14:36 +0000 (14:14 -0700)]
Use std::os::get_exe_path to determine sysroot
Brian Anderson [Mon, 3 Oct 2011 21:45:38 +0000 (14:45 -0700)]
Use util::filesearch to locate intrinsics.bc and main.o
Brian Anderson [Mon, 3 Oct 2011 20:54:13 +0000 (13:54 -0700)]
Move the library search into util::filesearch
Brian Anderson [Mon, 3 Oct 2011 20:14:54 +0000 (13:14 -0700)]
Fix some comment drift
Brian Anderson [Mon, 3 Oct 2011 20:13:21 +0000 (13:13 -0700)]
Remove some redundancy in metadata::creader
Brian Anderson [Mon, 3 Oct 2011 19:46:22 +0000 (12:46 -0700)]
Encapsulate current sysroot and lib path handling into util::filesearch
Brian Anderson [Tue, 4 Oct 2011 20:35:39 +0000 (13:35 -0700)]
Add std::os::get_exe_path
Need this to correctly determine sysroot in rustc
Brian Anderson [Tue, 4 Oct 2011 20:08:51 +0000 (13:08 -0700)]
Add std::ctypes
Brian Anderson [Tue, 4 Oct 2011 20:51:19 +0000 (13:51 -0700)]
Hide unused variable warnings in stdtest::treemap
Brian Anderson [Wed, 5 Oct 2011 04:02:37 +0000 (21:02 -0700)]
Add std::fs::normalize
Brian Anderson [Wed, 5 Oct 2011 03:18:04 +0000 (20:18 -0700)]
Add std::fs::split
Patrick Walton [Wed, 5 Oct 2011 01:24:30 +0000 (18:24 -0700)]
Revert "stdlib: Migrate rust_file_is_dir() over to the C stack, and add a void type" due to build bustage on Windows
This reverts commit
9698ef89a0c5513b9670f6ec56ea06de5728eb5a .
Patrick Walton [Wed, 5 Oct 2011 01:19:59 +0000 (18:19 -0700)]
stdlib: Migrate rust_file_is_dir() over to the C stack, and add a void type
Patrick Walton [Wed, 5 Oct 2011 00:41:57 +0000 (17:41 -0700)]
rustc: Allow calling native functions on the C stack that take generic arguments. They get turned into i8 pointers.
Patrick Walton [Wed, 5 Oct 2011 00:05:35 +0000 (17:05 -0700)]
Revert "Move trans_call to destination_passing style"
This reverts commit
6e56ec0066b3cc8d18365370f0b856670dc748bd .
Patrick Walton [Wed, 5 Oct 2011 00:05:27 +0000 (17:05 -0700)]
Revert "Get rid of 'overwrite' destination kind"
This reverts commit
6e652588bfb3edea298026f56648057677b0fa3f .
Patrick Walton [Wed, 5 Oct 2011 00:05:16 +0000 (17:05 -0700)]
Revert "Reorganize translation of expr_field"
This reverts commit
007ec666ad4a529682c35936d85ac81f7979f1b6 .
Patrick Walton [Tue, 4 Oct 2011 19:07:26 +0000 (12:07 -0700)]
rt: Switch the AIO stuff to the C stack
Brian Anderson [Tue, 4 Oct 2011 18:24:18 +0000 (11:24 -0700)]
Fix #1003 harder
Brian Anderson [Tue, 4 Oct 2011 18:19:25 +0000 (11:19 -0700)]
Fix a typo in tests.mk. Closes #1003
Marijn Haverbeke [Tue, 4 Oct 2011 15:38:26 +0000 (17:38 +0200)]
Reorganize translation of expr_field
Issue #667
Marijn Haverbeke [Tue, 4 Oct 2011 14:37:56 +0000 (16:37 +0200)]
Get rid of 'overwrite' destination kind
It wasn't safe (computing the rval might invalidate the lval addr), and needlessly
complicating things (code was already building up intermediary results to work
around other unsafeties).
Issue #667
Marijn Haverbeke [Tue, 4 Oct 2011 08:11:03 +0000 (10:11 +0200)]
Move trans_call to destination_passing style
Issue #667
The retptr passed to a function will now often be the actual
destination of the returned value (as in `{field1: func1()}`).
Patrick Walton [Tue, 4 Oct 2011 01:22:42 +0000 (18:22 -0700)]
rt: Switch the libuv bindings over to not using explicit task pointers
Patrick Walton [Tue, 4 Oct 2011 01:08:46 +0000 (18:08 -0700)]
rt: Fix comment typo in rust_uv.cpp
Patrick Walton [Tue, 4 Oct 2011 01:04:43 +0000 (18:04 -0700)]
rt: Make the builtins no longer take an explicit task parameter
Brian Anderson [Mon, 3 Oct 2011 21:46:52 +0000 (14:46 -0700)]
XFAIL run-fail/linked-failure4. Deadlocks on mac
Patrick Walton [Mon, 3 Oct 2011 20:59:38 +0000 (13:59 -0700)]
rustc: Implement C stack stdcall
Brian Anderson [Mon, 3 Oct 2011 00:37:50 +0000 (17:37 -0700)]
Cleanup mk/tests.mk
Brian Anderson [Mon, 3 Oct 2011 00:28:59 +0000 (17:28 -0700)]
Move compiletest to src/ and cleanup build rules
Brian Anderson [Sun, 2 Oct 2011 22:30:25 +0000 (15:30 -0700)]
Add Haitao Li to AUTHORS.txt
Haitao Li [Sun, 2 Oct 2011 12:52:07 +0000 (20:52 +0800)]
rustc: Fix link error on Ubuntu Oneiric. Issue #903
Brian Anderson [Sun, 2 Oct 2011 03:12:08 +0000 (20:12 -0700)]
Lots of build system cleanup and documentation
This splits mk/stageN.mk into host.mk and target.mk and makes
the build rules somewhat simpler - there's no more building from stageN
into stageN+1; instead we always build from stageN(host) to
stageN(target) then promote from stageN(target) to stageN+1(host).
Add a big honkin explaination right at the top of Makefile.in
Brian Anderson [Sat, 1 Oct 2011 02:00:19 +0000 (19:00 -0700)]
Have 'make install' do something close to useful
We'll copy the files to the right location. Still need to rpath.
Issue #529
Patrick Walton [Sat, 1 Oct 2011 01:35:13 +0000 (18:35 -0700)]
rustc: Call LLVM on the C stack
Patrick Walton [Sat, 1 Oct 2011 01:49:46 +0000 (18:49 -0700)]
rt: Omit leading underscore on symbol names on Linux
Patrick Walton [Sat, 1 Oct 2011 01:20:28 +0000 (18:20 -0700)]
rustc: Stub a --stack-growth option; it's behind a flag for now because it requires patches to LLVM.
Brian Anderson [Sat, 1 Oct 2011 01:03:54 +0000 (18:03 -0700)]
Register new snapshots
Brian Anderson [Fri, 30 Sep 2011 23:55:18 +0000 (16:55 -0700)]
Change the directory for target libs
This pushes them down from stageN/lib/rustc/$(target) to
stageN/lib/rustc/$(target)/lib in order to make room for a target bin dir
Brian Anderson [Fri, 30 Sep 2011 23:27:18 +0000 (16:27 -0700)]
Refix the snapshot rules
Brian Anderson [Fri, 30 Sep 2011 23:15:02 +0000 (16:15 -0700)]
Refix the fuzzer make rule
Brian Anderson [Fri, 30 Sep 2011 23:11:47 +0000 (16:11 -0700)]
Make config of static stdlib more consistent with rest of makefile
I haven't tested if it actually works. Static stdlib is probably becoming
bitrotted.
Brian Anderson [Fri, 30 Sep 2011 19:24:28 +0000 (12:24 -0700)]
Abstract the build directories further in the makefiles
This defines variables for host bin and lib directories as well as all target
bin and lib directories then uses them everywhere.
Brian Anderson [Fri, 30 Sep 2011 19:08:51 +0000 (12:08 -0700)]
Fix some make variables in tests.mk
Patrick Walton [Fri, 30 Sep 2011 21:26:06 +0000 (14:26 -0700)]
rustc: Remove some debug code
Patrick Walton [Fri, 30 Sep 2011 21:25:10 +0000 (14:25 -0700)]
rustc: Track link_args attributes on C stack cdecl natives as well
Patrick Walton [Fri, 30 Sep 2011 19:07:50 +0000 (12:07 -0700)]
trans: Use inttoptr as appropriate when casting return values of C stack functions
Brian Anderson [Fri, 30 Sep 2011 07:15:28 +0000 (00:15 -0700)]
Add Erik Rose to AUTHORS.txt
Brian Anderson [Fri, 30 Sep 2011 05:29:44 +0000 (22:29 -0700)]
Register snapshots and finish filesystem reorg
Brian Anderson [Fri, 30 Sep 2011 05:58:17 +0000 (22:58 -0700)]
Remove legacy library search paths
Brian Anderson [Fri, 30 Sep 2011 05:01:16 +0000 (22:01 -0700)]
Update snapshot scripts for the new regime
Brian Anderson [Fri, 30 Sep 2011 04:34:46 +0000 (21:34 -0700)]
Tweak makefiles, change the way the fuzzer is built
Since librustc and the fuzzer depend on rustllvm, build them
like rustc, linking to libraries in lib instead of lib/rustc/$(target)
Brian Anderson [Fri, 30 Sep 2011 03:27:40 +0000 (20:27 -0700)]
Remove redundant make clean rules
Brian Anderson [Fri, 30 Sep 2011 03:27:28 +0000 (20:27 -0700)]
Fix make all build rule
Brian Anderson [Fri, 30 Sep 2011 01:30:00 +0000 (18:30 -0700)]
Teach compiletest to construct the PATH variable correctly on win32
Brian Anderson [Fri, 30 Sep 2011 01:11:53 +0000 (18:11 -0700)]
Fix CFG_RUN_TARG on windows
Brian Anderson [Thu, 29 Sep 2011 19:21:58 +0000 (12:21 -0700)]
Fix a variety of things in the makefiles
Make tests and perf work again. Correctly get the host triple in rustc. Add
some FIXMEs about transitional code that needs to be removed.
Brian Anderson [Thu, 29 Sep 2011 19:06:37 +0000 (12:06 -0700)]
Remove the redundant definition of STAGE in makefiles
Brian Anderson [Thu, 29 Sep 2011 18:48:44 +0000 (11:48 -0700)]
Update make clean rules
Brian Anderson [Thu, 29 Sep 2011 18:31:28 +0000 (11:31 -0700)]
Make rustc's host triple agree with the build system's
Brian Anderson [Thu, 29 Sep 2011 00:06:57 +0000 (17:06 -0700)]
Reorganize structure of build directory
Each stage is organized more according to Unix standards and to
accommodate multiple target architectures.
stageN/
bin - rustc lives here
lib - libraries that rustc needs
lib/rustc/$(target_triple/ - target libraries
Patrick Walton [Fri, 30 Sep 2011 01:53:00 +0000 (18:53 -0700)]
rustc: Remove some debug code
Patrick Walton [Fri, 30 Sep 2011 01:52:23 +0000 (18:52 -0700)]
rustc: Make the generic C stack function signature include a usable return value
Patrick Walton [Fri, 30 Sep 2011 01:36:27 +0000 (18:36 -0700)]
stdlib: Un-export str::buf; add a comment
Patrick Walton [Fri, 30 Sep 2011 01:18:37 +0000 (18:18 -0700)]
vim: Add `pure` to the list of keywords
Patrick Walton [Fri, 30 Sep 2011 00:58:51 +0000 (17:58 -0700)]
stdlib: Export str::buf
Patrick Walton [Fri, 30 Sep 2011 00:33:41 +0000 (17:33 -0700)]
rustc: Translate calls on the C stack
Patrick Walton [Fri, 30 Sep 2011 00:33:14 +0000 (17:33 -0700)]
rustc: Fix call signature for call_c_stack
Patrick Walton [Fri, 30 Sep 2011 00:32:28 +0000 (17:32 -0700)]
rt: Fix assembler for C calls to work more like a regular function call
Patrick Walton [Fri, 30 Sep 2011 00:31:11 +0000 (17:31 -0700)]
stdlib: Add vec::eachi to the standard library
Patrick Walton [Thu, 29 Sep 2011 01:15:28 +0000 (18:15 -0700)]
rustc: Add upcall stubs for the new C stack upcalls
Patrick Walton [Wed, 28 Sep 2011 22:15:54 +0000 (15:15 -0700)]
rustc: Generate types in trans for the C-stack native ABI
Brian Anderson [Thu, 29 Sep 2011 23:47:09 +0000 (16:47 -0700)]
doc: Don't merge function and concept index. There is no findex
This is causing errors on my windows install
Marijn Haverbeke [Thu, 29 Sep 2011 10:02:37 +0000 (12:02 +0200)]
Don't build up results for ignored expressions.
Issue #667
Marijn Haverbeke [Thu, 29 Sep 2011 09:50:03 +0000 (11:50 +0200)]
Fail with an informative error when trying to bind a method
Issue #435
Marijn Haverbeke [Thu, 29 Sep 2011 09:18:40 +0000 (11:18 +0200)]
Move last remaining expression types out of trans_expr
Issue #667
Marijn Haverbeke [Thu, 29 Sep 2011 08:46:49 +0000 (10:46 +0200)]
Move expr_cast and expr_copy to DPS style
Issue #667
Marijn Haverbeke [Wed, 28 Sep 2011 13:57:38 +0000 (15:57 +0200)]
Move closure construction over to DPS style
Issue #667
Marijn Haverbeke [Wed, 28 Sep 2011 13:15:29 +0000 (15:15 +0200)]
Reduce move ops to a construct-in-place when possible
Brian Anderson [Wed, 28 Sep 2011 22:26:11 +0000 (15:26 -0700)]
Eliminate glue.o. Closes #990
Brian Anderson [Wed, 28 Sep 2011 21:39:57 +0000 (14:39 -0700)]
Test cases for #985
Other restrictions on pinned kinds happened to fix this
Closes #985
Brian Anderson [Wed, 28 Sep 2011 21:37:28 +0000 (14:37 -0700)]
Don't allow vectors of pinned kinds
Vectors of pinned kinds can't be safe because most interesting uses of vector
perform copies
Brian Anderson [Wed, 28 Sep 2011 21:24:56 +0000 (14:24 -0700)]
Make error patterns in some kind tests more specific
Patrick Walton [Wed, 28 Sep 2011 19:58:03 +0000 (12:58 -0700)]
rustc: Add a new "C stack cdecl" native ABI
Brian Anderson [Wed, 28 Sep 2011 19:24:15 +0000 (12:24 -0700)]
xfail-fast run-pass/alt-range.rs
Brian Anderson [Wed, 28 Sep 2011 19:07:33 +0000 (12:07 -0700)]
Revert "Revert "Implement pattern ranges for all numeric types.""
This reverts commit
a034f87146e60e1db2327c6f6807c47406a1bb0b .
Conflicts:
src/comp/middle/check_alt.rs
src/comp/middle/trans_alt.rs
src/comp/syntax/ast.rs
src/comp/syntax/ast_util.rs
src/comp/syntax/fold.rs
src/comp/syntax/print/pprust.rs
Conflicts:
src/comp/middle/trans_alt.rs
Patrick Walton [Wed, 28 Sep 2011 19:40:34 +0000 (12:40 -0700)]
vim: `const` is a keyword
Patrick Walton [Wed, 28 Sep 2011 19:26:36 +0000 (12:26 -0700)]
rt: Add a call stub that switches to the C stack, untested as of yet
Patrick Walton [Wed, 28 Sep 2011 18:31:44 +0000 (11:31 -0700)]
rt: Add an upcall to allocate space on the C stack. This will be used for native calls on the C stack.