]>
git.lizzy.rs Git - rust.git/log
Brian Anderson [Wed, 16 Nov 2011 02:04:37 +0000 (18:04 -0800)]
Add Stefan Plantikow to AUTHORS.txt
Stefan Plantikow [Wed, 16 Nov 2011 01:34:58 +0000 (02:34 +0100)]
Fixed typo in constant value #1165
Stefan Plantikow [Wed, 16 Nov 2011 01:10:43 +0000 (02:10 +0100)]
Replaced constant functions with actual constants in std and updated tests
Fixes issue #1165
Brian Anderson [Wed, 16 Nov 2011 01:48:00 +0000 (17:48 -0800)]
rustc: Don't sign extend uints during translation
Doing so produces incorrect results on a 32-bit compiler targeting 64-bits
Brian Anderson [Wed, 16 Nov 2011 01:01:06 +0000 (17:01 -0800)]
Make run-pass/bitwise 64-bit compatible
Brian Anderson [Wed, 16 Nov 2011 00:33:07 +0000 (16:33 -0800)]
Support conditional compilation based on architecture
target_os = "x86" or target_os = "x86_64"
Brian Anderson [Tue, 15 Nov 2011 18:09:28 +0000 (10:09 -0800)]
Make run-pass/native-fn-linkname's main take no args
check-fast doesn't like it.
Haitao Li [Wed, 16 Nov 2011 04:30:03 +0000 (22:30 -0600)]
Use native fn's link name attribute if given
Fixes issue #905
Marijn Haverbeke [Tue, 15 Nov 2011 12:53:03 +0000 (13:53 +0100)]
Use libcrypto.so instead of libssl.so in the ffi part of tutorial
Marijn Haverbeke [Tue, 15 Nov 2011 12:31:44 +0000 (13:31 +0100)]
Fix some indentation and idioms in rope.rs
Sorry for the pedantry. I was handling a compilation bug related to this code,
and it just jumped out at me.
Marijn Haverbeke [Tue, 15 Nov 2011 10:16:41 +0000 (11:16 +0100)]
Fix handling of loops and conditionals in alias.rs
It now threads information about invalidated aliases through the AST
properly. This makes it more permissive for conditionals (invalidating
an alias in one branch doesn't prevent you from using it in another),
and less permissive for loops (it now properly notices when a loop
invalidates an alias that it might still use in another iteration).
Closes #1144
Brian Anderson [Tue, 15 Nov 2011 02:51:15 +0000 (18:51 -0800)]
xfail-fast run-pass/native-dupe.rs
This test calls the task pin function which has side effects and causes
other tests to lock.
Patrick Walton [Tue, 15 Nov 2011 00:20:53 +0000 (16:20 -0800)]
Revert "rt: More work on morestack"
This reverts commit
ced0d4f15e11e2c74766d1055146946ded3fba51 .
Patrick Walton [Mon, 14 Nov 2011 21:52:35 +0000 (13:52 -0800)]
rt: More work on morestack
Brian Anderson [Mon, 14 Nov 2011 21:49:56 +0000 (13:49 -0800)]
stdlib: Run cleanups on data that fails to send
Brian Anderson [Mon, 14 Nov 2011 21:13:44 +0000 (13:13 -0800)]
Un-xfail-win32 two tests that should actually work
Haitao Li [Mon, 14 Nov 2011 16:32:31 +0000 (00:32 +0800)]
rustllvm: Add a GetOrInsertFunction wrapper
Fixes issue #1161
Test-case-by: Brian Anderson <banderson@mozilla.com>
Signed-off-by: Haitao Li <lihaitao@gmail.com>
Brian Anderson [Mon, 14 Nov 2011 00:51:38 +0000 (16:51 -0800)]
build: Fix 'make perf'. Closes #1151
Brian Anderson [Mon, 14 Nov 2011 00:38:34 +0000 (16:38 -0800)]
rt: Add locking invariants to rust_port
Brian Anderson [Mon, 14 Nov 2011 00:36:47 +0000 (16:36 -0800)]
rt: Perform task notification before killing the parent task
Brian Anderson [Sun, 13 Nov 2011 23:28:59 +0000 (15:28 -0800)]
Drop enqueued elements when a port is destructed. Closes #1155
Brian Anderson [Sun, 13 Nov 2011 21:55:08 +0000 (13:55 -0800)]
Make various binops not typecheck for unsafe pointers. Closes #1173
Brian Anderson [Sat, 12 Nov 2011 01:08:50 +0000 (17:08 -0800)]
Add test for #783. Closes #783
Brian Anderson [Sat, 12 Nov 2011 00:26:03 +0000 (16:26 -0800)]
Rehabilitate run-fail/linked-failure4.rs
Brian Anderson [Sat, 12 Nov 2011 00:23:38 +0000 (16:23 -0800)]
Rehabilitate run-pass/task-killjoin.rs
Brian Anderson [Sat, 12 Nov 2011 00:12:48 +0000 (16:12 -0800)]
rt: Make rust_port's ref counting non-atomic
Now that the task lock must be held there's no need for atomicity
Brian Anderson [Fri, 11 Nov 2011 23:50:57 +0000 (15:50 -0800)]
Rehabilitate run-pass/task-comm.rs
Brian Anderson [Fri, 11 Nov 2011 23:34:35 +0000 (15:34 -0800)]
rt: Take the task lock when dropping port refcounts
Sucks, but otherwise there are races when one task drops the refcount to zero
followed by another bumping it again
Brian Anderson [Fri, 11 Nov 2011 22:19:15 +0000 (14:19 -0800)]
Fix run-fail/spawnfail
Catch the case where a parent is killed immediately before it terminates
normally.
Brian Anderson [Fri, 11 Nov 2011 20:35:43 +0000 (12:35 -0800)]
Give task-perf-word-count default behavior. Closes #1172
Brian Anderson [Fri, 11 Nov 2011 20:06:18 +0000 (12:06 -0800)]
rt: Add locking invariants to rust_task
Brian Anderson [Fri, 11 Nov 2011 20:03:52 +0000 (12:03 -0800)]
rt: Remove drop_port. Unused
Brian Anderson [Fri, 11 Nov 2011 19:46:07 +0000 (11:46 -0800)]
rt: Remove rust_chan
Haitao Li [Fri, 11 Nov 2011 15:55:47 +0000 (23:55 +0800)]
Remove unused "--check-unsafe" flag
Fixes issue #1138
Elly Jones [Fri, 11 Nov 2011 03:37:41 +0000 (22:37 -0500)]
str: add escape()
Signed-off-by: Elly Jones <elly@leptoquark.net>
Haitao Li [Thu, 10 Nov 2011 17:08:19 +0000 (01:08 +0800)]
Cleanup unused imports in tests
Haitao Li [Thu, 10 Nov 2011 16:41:42 +0000 (00:41 +0800)]
Cleanup unused imports
Haitao Li [Thu, 10 Nov 2011 15:31:55 +0000 (23:31 +0800)]
rustc: Add support of warning on unused imports
Fixes issue #889
Brian Anderson [Fri, 11 Nov 2011 02:01:56 +0000 (18:01 -0800)]
rt: Remove rust_aio.cpp. Bitrotted.
Brian Anderson [Fri, 11 Nov 2011 01:59:26 +0000 (17:59 -0800)]
stdlib: Remove sio and aio. Bitrotted.
Brian Anderson [Fri, 11 Nov 2011 01:53:19 +0000 (17:53 -0800)]
rt: Move rust_chan::send to rust_port::send
Brian Anderson [Fri, 11 Nov 2011 01:35:21 +0000 (17:35 -0800)]
rt: Remove rust_token. Unused
Brian Anderson [Fri, 11 Nov 2011 01:28:28 +0000 (17:28 -0800)]
rt: Remove del_chan, take_chan, drop_chan. Unused
Brian Anderson [Fri, 11 Nov 2011 00:10:57 +0000 (16:10 -0800)]
rt: Simplify channel-port association
It turns out that there's only ever a single channel per port these days,
and it always has the same lifetime as the port, so we don't need a list or a
complex association protocol.
Brian Anderson [Thu, 10 Nov 2011 23:59:31 +0000 (15:59 -0800)]
rt: Remove new_chan. Not needed
Brian Anderson [Thu, 10 Nov 2011 23:36:09 +0000 (15:36 -0800)]
rt: Remove chan_send. Unused.
Brian Anderson [Thu, 10 Nov 2011 23:18:01 +0000 (15:18 -0800)]
stdlib: Update the example in std::comm
Due to a bug in channel destructors this examples fails when logging is off
Issue #1155
Brian Anderson [Thu, 10 Nov 2011 21:42:02 +0000 (13:42 -0800)]
Improve make clean rules for libuv
Josh Matthews [Thu, 10 Nov 2011 11:31:42 +0000 (06:31 -0500)]
Add float support to #fmt. Fix #1014.
Niko Matsakis [Thu, 10 Nov 2011 04:45:01 +0000 (20:45 -0800)]
remove rustc target: it breaks mingw32 and I don't care enough
Niko Matsakis [Wed, 9 Nov 2011 19:01:12 +0000 (11:01 -0800)]
hack around the problem that x86_64 expects first few args in regs.
call on c-stack expects all data to be delivered on the stack.
Niko Matsakis [Wed, 9 Nov 2011 18:03:33 +0000 (10:03 -0800)]
use uint64_t when adjusting stack ptr
Niko Matsakis [Wed, 9 Nov 2011 16:35:49 +0000 (08:35 -0800)]
add rustc to set of targets to build
Brian Anderson [Thu, 10 Nov 2011 02:45:25 +0000 (18:45 -0800)]
Rename "c-stack-stdcall" ABI to "stdcall"
Brian Anderson [Thu, 10 Nov 2011 02:44:12 +0000 (18:44 -0800)]
Rename "c-stack-cdecl" ABI to "cdecl"
Brian Anderson [Thu, 10 Nov 2011 01:55:12 +0000 (17:55 -0800)]
Register snapshots
Brian Anderson [Thu, 10 Nov 2011 00:04:07 +0000 (16:04 -0800)]
Add "cdecl" as synonym for "c-stack-cdecl"
Brian Anderson [Thu, 10 Nov 2011 00:02:21 +0000 (16:02 -0800)]
Add "stdcall" as synonym for "c-stack-stdcall"
Brian Anderson [Wed, 9 Nov 2011 23:59:29 +0000 (15:59 -0800)]
rustc: Rename native_abi_c_stack_cdecl to native_abi_cdecl
Brian Anderson [Wed, 9 Nov 2011 23:58:53 +0000 (15:58 -0800)]
rustc: Rename native_abi_c_stack_stdcall to native_abi_stdcall
Brian Anderson [Wed, 9 Nov 2011 23:56:28 +0000 (15:56 -0800)]
Remove native "x86stdcall" ABI
Brian Anderson [Wed, 9 Nov 2011 23:49:23 +0000 (15:49 -0800)]
Convert last use of "x86stdcall" ABI to "c-stack-stdcall"
Brian Anderson [Thu, 10 Nov 2011 00:46:35 +0000 (16:46 -0800)]
Register snapshots
Brian Anderson [Wed, 9 Nov 2011 23:27:11 +0000 (15:27 -0800)]
Make native "c-stack-stdcall" ABI work
The symbol name is based on the number of arguments, so we have to declare
it correctly.
For some reason GetLastError doesn't work now.
Joshua Wise [Wed, 9 Nov 2011 09:44:42 +0000 (01:44 -0800)]
Add test with implemented bits of issue #570.
Joshua Wise [Wed, 9 Nov 2011 09:42:30 +0000 (01:42 -0800)]
trans: Add binops (except for logic and comparators) and unops to trans_const_expr. Working towards issue #570.
Joshua Wise [Wed, 9 Nov 2011 02:26:02 +0000 (18:26 -0800)]
middle: Add a pass to reject bad const expressions earlier. Currently just rejects unimplemented const expressions, but will be needed later.
Niko Matsakis [Wed, 9 Nov 2011 01:07:11 +0000 (17:07 -0800)]
correct stack alignment
Niko Matsakis [Wed, 9 Nov 2011 00:04:34 +0000 (16:04 -0800)]
cleanup, removing comments and dead code
Niko Matsakis [Wed, 9 Nov 2011 00:04:29 +0000 (16:04 -0800)]
fix bug in loading argument regs
Niko Matsakis [Tue, 8 Nov 2011 22:25:41 +0000 (14:25 -0800)]
correct calling convention for x86_64
Niko Matsakis [Tue, 8 Nov 2011 05:51:14 +0000 (21:51 -0800)]
make clean delete all .o files from rt directory
Niko Matsakis [Tue, 8 Nov 2011 05:50:28 +0000 (21:50 -0800)]
fix alignment of xmm register storage
Niko Matsakis [Tue, 8 Nov 2011 01:19:29 +0000 (17:19 -0800)]
rewrite so that memory allocations have 0 overhead by default
Niko Matsakis [Tue, 8 Nov 2011 00:48:18 +0000 (16:48 -0800)]
Correct the arithmetic on 64-bit builds.
Niko Matsakis [Mon, 7 Nov 2011 22:13:13 +0000 (14:13 -0800)]
fix handling of target-triples: use a comma to separate hosts
Erick Tryzelaar [Tue, 8 Nov 2011 22:36:19 +0000 (14:36 -0800)]
Re-add libuv as a submodule.
Erick Tryzelaar [Tue, 8 Nov 2011 05:31:08 +0000 (21:31 -0800)]
Removing the baked in libuv.
Brian Anderson [Wed, 9 Nov 2011 01:17:06 +0000 (17:17 -0800)]
Remove native "cdecl" ABI
Brian Anderson [Wed, 9 Nov 2011 01:16:46 +0000 (17:16 -0800)]
Clean up std::task
Brian Anderson [Tue, 8 Nov 2011 23:38:56 +0000 (15:38 -0800)]
Make task_sleep an intrinsic.
Brian Anderson [Tue, 8 Nov 2011 22:26:16 +0000 (14:26 -0800)]
rt: Remove task_yield builtin
This is just a special case of task_sleep
Brian Anderson [Tue, 8 Nov 2011 22:05:23 +0000 (14:05 -0800)]
start_task can run on the C stack
Brian Anderson [Tue, 8 Nov 2011 19:09:40 +0000 (11:09 -0800)]
Remove all uses of native cdecl except for those that yield
Erick Tryzelaar [Tue, 8 Nov 2011 05:38:33 +0000 (21:38 -0800)]
Revert "Removing the baked in libuv."
This reverts commit
df30663fdd518c9148a839a40cb9682015a0b79c .
Erick Tryzelaar [Tue, 8 Nov 2011 05:38:18 +0000 (21:38 -0800)]
Revert "Reimporting libuv as a submodule."
This reverts commit
cbae254d8a068ad789ebb767f0a2def5a1f88ed6 .
Erick Tryzelaar [Tue, 8 Nov 2011 05:31:51 +0000 (21:31 -0800)]
Reimporting libuv as a submodule.
Closes #1152.
Erick Tryzelaar [Tue, 8 Nov 2011 05:31:08 +0000 (21:31 -0800)]
Removing the baked in libuv.
Haitao Li [Tue, 8 Nov 2011 04:37:42 +0000 (12:37 +0800)]
Use ".ll" as default suffix of LLVM assembly file
This commit is a follow up of Issue #1147.
Althought there are some inconsistency about this naming convention in
LLVM. For example, `clang' write LLVM assembly to a file with ".s" suffix,
while both `llvm-dis' and `opt' write to files with ".ll" suffices. We
think ".ll" makes more sense.
Also rustc manual page is updated.
Brian Anderson [Tue, 8 Nov 2011 03:35:39 +0000 (19:35 -0800)]
Rename rust_uv.cpp to rust_aio.cpp
Brian Anderson [Tue, 8 Nov 2011 03:24:25 +0000 (19:24 -0800)]
Brian Anderson [Mon, 7 Nov 2011 23:46:00 +0000 (15:46 -0800)]
Fix long lines
Elly Jones [Mon, 7 Nov 2011 23:24:44 +0000 (18:24 -0500)]
json: betterify for brson
Signed-off-by: Elly Jones <ellyjones@google.com>
Elly Jones [Mon, 7 Nov 2011 19:01:28 +0000 (14:01 -0500)]
stdlib: add json.
Add a json serializer and deserializer.
Signed-off-by: Elly Jones <ellyjones@google.com>
Brian Anderson [Mon, 7 Nov 2011 23:29:05 +0000 (15:29 -0800)]
Remove native "llvm" ABI
Brian Anderson [Mon, 7 Nov 2011 23:14:10 +0000 (15:14 -0800)]
Remove native "rust" ABI
Brian Anderson [Mon, 7 Nov 2011 22:14:36 +0000 (14:14 -0800)]
Clean up logging output. Closes #1088
Brian Anderson [Mon, 7 Nov 2011 21:34:04 +0000 (13:34 -0800)]
Document crate top-level and directory modules. Closes #1097
Brian Anderson [Mon, 7 Nov 2011 20:20:22 +0000 (12:20 -0800)]
Add test for if without else cannot return result
Brian Anderson [Mon, 7 Nov 2011 20:19:50 +0000 (12:19 -0800)]
Add tests for blocks that must not have results