]>
git.lizzy.rs Git - rust.git/log
Graydon Hoare [Tue, 22 Mar 2011 21:25:07 +0000 (14:25 -0700)]
Add Lindsey to AUTHORS.
Lindsey Kuper [Tue, 22 Mar 2011 20:24:29 +0000 (13:24 -0700)]
Support for shorter error messages that are aware of objects' cnames.
Patrick Walton [Tue, 22 Mar 2011 21:02:52 +0000 (14:02 -0700)]
Revert "Remove usages of case(_) { fail; } since the compiler does this automatically". When we have exhaustiveness checking, "case(_) { fail; }" will be useful to silence warnings.
This reverts commit
92a716d862d92d3cc52a400457d2c3900d0c57a2 .
Patrick Walton [Tue, 22 Mar 2011 20:59:17 +0000 (13:59 -0700)]
lib: Add an EBML reader module
Graydon Hoare [Tue, 22 Mar 2011 16:42:51 +0000 (09:42 -0700)]
Add Tim to AUTHORS.
Tim Chevalier [Mon, 21 Mar 2011 23:43:05 +0000 (16:43 -0700)]
Added test case for floats
Brian Anderson [Mon, 14 Mar 2011 23:57:12 +0000 (19:57 -0400)]
Add some nesting to the else-if test case
Brian Anderson [Thu, 17 Mar 2011 02:28:00 +0000 (22:28 -0400)]
Update docs for if statements
Brian Anderson [Tue, 15 Mar 2011 22:45:56 +0000 (18:45 -0400)]
Remove usages of case(_) { fail; } since the compiler does this automatically
Brian Anderson [Tue, 22 Mar 2011 02:32:11 +0000 (22:32 -0400)]
Add a cleanup to trans_send. Express further confusion about cleanups in trans_recv
Brian Anderson [Tue, 22 Mar 2011 02:25:34 +0000 (22:25 -0400)]
Add test for sending strings over channels
Brian Anderson [Tue, 22 Mar 2011 01:57:36 +0000 (21:57 -0400)]
Remove a todo from trans_chan that doesn't appear necessary
Brian Anderson [Tue, 22 Mar 2011 01:30:32 +0000 (21:30 -0400)]
Add a regression test for channels of nil, which happens to work in rustc, but not in rustboot
Brian Anderson [Tue, 22 Mar 2011 01:13:08 +0000 (21:13 -0400)]
Generalize send/recv to work for more types
Brian Anderson [Fri, 18 Mar 2011 05:00:29 +0000 (01:00 -0400)]
Un-XFAIL task-comm-4, 5 & 6
Brian Anderson [Fri, 18 Mar 2011 04:45:18 +0000 (00:45 -0400)]
Fix trans_recv
Brian Anderson [Fri, 18 Mar 2011 03:33:00 +0000 (23:33 -0400)]
Implement trans_send and a broken trans_recv
Brian Anderson [Thu, 17 Mar 2011 01:49:15 +0000 (21:49 -0400)]
Add codegen for ports and chans
Graydon Hoare [Tue, 22 Mar 2011 06:06:42 +0000 (23:06 -0700)]
Repair some fallout from pcwalton's last few build changes.
Tim Chevalier [Mon, 21 Mar 2011 23:21:54 +0000 (16:21 -0700)]
Make floating-point operations work (neg, add, sub, mul, div, rem,
and comparison ops.)
Tim Chevalier [Tue, 22 Mar 2011 00:12:05 +0000 (17:12 -0700)]
Started adding support for floating-point type, floating-point literals, and logging of floats. Other operations on float probably don't work yet.
Patrick Walton [Tue, 22 Mar 2011 01:08:57 +0000 (18:08 -0700)]
Support CFG_LLVM_ROOT since CMake-built LLVM has no llvm-config
Patrick Walton [Tue, 22 Mar 2011 01:05:34 +0000 (18:05 -0700)]
Add .def file support to the new build system (which does nothing at the moment since I don't know how to use .defs on MinGW)
Patrick Walton [Tue, 22 Mar 2011 01:03:56 +0000 (18:03 -0700)]
Change llvmext.dll to rustllvm.dll in the new build system to match the def file
Patrick Walton [Tue, 22 Mar 2011 01:01:25 +0000 (18:01 -0700)]
Add a suitable .def file for rustrt.dll on Windows
Patrick Walton [Tue, 22 Mar 2011 00:21:35 +0000 (17:21 -0700)]
Add a "last" function to return the last element of a vector to the standard library
Patrick Walton [Mon, 21 Mar 2011 23:40:26 +0000 (16:40 -0700)]
Add a binding to ftell()
Graydon Hoare [Mon, 21 Mar 2011 23:16:15 +0000 (16:16 -0700)]
Minor distcheck fixes
Graydon Hoare [Mon, 21 Mar 2011 22:53:08 +0000 (15:53 -0700)]
FIx three $-typos in Makefile.in.
Graydon Hoare [Mon, 21 Mar 2011 22:29:59 +0000 (15:29 -0700)]
Fix CFG_RUN* rules a bit harder. Can now do 'make check' on both boot and stage0 targets.
Rafael Ávila de Espíndola [Mon, 21 Mar 2011 21:47:38 +0000 (17:47 -0400)]
Every upcall needs a task pointer to find the C stack. It is just that when
handling cdecl call they should skip it when calling the final function.
There is some cleanup to be done on the generated IL, but this gets us
running Hello World for real.
Graydon Hoare [Mon, 21 Mar 2011 21:52:02 +0000 (14:52 -0700)]
Adjust run rules to avoid early substitution. Testsuite begins to run.
Graydon Hoare [Mon, 21 Mar 2011 21:45:03 +0000 (14:45 -0700)]
Include benchmark dirs in test build dirs.
Graydon Hoare [Mon, 21 Mar 2011 21:02:01 +0000 (14:02 -0700)]
Strip leading $(S)/src off built targets in test; s/rustc/stage0/ in a few places.
Graydon Hoare [Mon, 21 Mar 2011 20:42:29 +0000 (13:42 -0700)]
Fix various pathnames.
Graydon Hoare [Mon, 21 Mar 2011 20:42:14 +0000 (13:42 -0700)]
Port tidy and remainder of pkg/dist rules.
Graydon Hoare [Mon, 21 Mar 2011 20:41:56 +0000 (13:41 -0700)]
Port testing variables.
Rafael Ávila de Espíndola [Mon, 21 Mar 2011 20:02:00 +0000 (16:02 -0400)]
Make the wrapper function of native functions private.
Rafael Ávila de Espíndola [Mon, 21 Mar 2011 19:15:08 +0000 (15:15 -0400)]
The T_taskptr is already included in the n_args, don't add it twice.
Patrick Walton [Mon, 21 Mar 2011 19:04:52 +0000 (12:04 -0700)]
Merge branch 'ty-serialization'
Patrick Walton [Mon, 21 Mar 2011 19:03:34 +0000 (12:03 -0700)]
rustc: Remove uses of Unicode in type deserialization and fix vector-push operations
Patrick Walton [Mon, 21 Mar 2011 18:55:17 +0000 (11:55 -0700)]
build: Support spaces in CFG_LDPATH.
Patrick Walton [Mon, 21 Mar 2011 18:44:08 +0000 (11:44 -0700)]
rustc: Update type serialization and deserialization for the "mutable?" change
Marijn Haverbeke [Mon, 21 Mar 2011 18:35:04 +0000 (11:35 -0700)]
rustc: Merge in type serialization and deserialization
Signed-off-by: Patrick Walton <pcwalton@mimiga.net>
Graydon Hoare [Mon, 21 Mar 2011 18:23:19 +0000 (11:23 -0700)]
More conservative rule for clean.
Graydon Hoare [Mon, 21 Mar 2011 18:02:37 +0000 (11:02 -0700)]
Split R and T so that tests run under valgrind but compiler doesn't.
Graydon Hoare [Mon, 21 Mar 2011 18:02:15 +0000 (11:02 -0700)]
Fix misuse of $(S) before definition, to permit running with valgrind suppressions.
Patrick Walton [Mon, 21 Mar 2011 17:21:09 +0000 (10:21 -0700)]
Add some C99 and C++ compatibility headers for MSVC
Rafael Ávila de Espíndola [Mon, 21 Mar 2011 15:59:14 +0000 (11:59 -0400)]
Make lltaskptr a regular argument element in args in calls to trans_upcall2.
Rafael Ávila de Espíndola [Mon, 21 Mar 2011 15:11:22 +0000 (11:11 -0400)]
Move calls to PtrToInt out of trans_upcall2.
Graydon Hoare [Mon, 21 Mar 2011 04:05:49 +0000 (21:05 -0700)]
s/DSYMUTIL/CFG_DSYMUTIL/
Graydon Hoare [Mon, 21 Mar 2011 04:05:31 +0000 (21:05 -0700)]
Add -lrt to stateN link commands.
Graydon Hoare [Mon, 21 Mar 2011 03:18:19 +0000 (20:18 -0700)]
Modify native_item_fn to handle trailing linkage names that differ from the item name (used in win32 build of std.dll)
Graydon Hoare [Mon, 21 Mar 2011 02:43:12 +0000 (19:43 -0700)]
Switch win32 path_sep to '/', add comment explaining a bit.
Graydon Hoare [Mon, 21 Mar 2011 02:42:51 +0000 (19:42 -0700)]
Add slightly nicer failure message to io.rs when it can't open a file.
Graydon Hoare [Mon, 21 Mar 2011 02:42:27 +0000 (19:42 -0700)]
Fix multi-stage deps, add rules for stage1 and stage2 outputs.
Graydon Hoare [Mon, 21 Mar 2011 02:08:37 +0000 (19:08 -0700)]
Depend %.stage0.exe on %.stage0.o.
Graydon Hoare [Mon, 21 Mar 2011 02:08:13 +0000 (19:08 -0700)]
Fix typo.
Patrick Walton [Sun, 20 Mar 2011 22:05:13 +0000 (15:05 -0700)]
rustc: Internalize glue. Cuts libstd size by 8% or so.
Graydon Hoare [Sun, 20 Mar 2011 08:12:26 +0000 (01:12 -0700)]
Begin porting rules for testsuite execution.
Graydon Hoare [Sun, 20 Mar 2011 05:55:28 +0000 (22:55 -0700)]
Add build rules for stage1.
Graydon Hoare [Sun, 20 Mar 2011 01:34:19 +0000 (18:34 -0700)]
Set up dynamic library paths properly in builddir.
Graydon Hoare [Sun, 20 Mar 2011 01:33:32 +0000 (18:33 -0700)]
Correct deps on stage0/glue.bc
Graydon Hoare [Sun, 20 Mar 2011 01:33:16 +0000 (18:33 -0700)]
Switch path-munge from sed to perl.
Graydon Hoare [Sun, 20 Mar 2011 01:32:46 +0000 (18:32 -0700)]
Fix indentation in tidy.
Graydon Hoare [Sun, 20 Mar 2011 01:32:34 +0000 (18:32 -0700)]
Minor clarification.
Graydon Hoare [Sun, 20 Mar 2011 01:32:19 +0000 (18:32 -0700)]
Truncate long lines in configure output.
Graydon Hoare [Sun, 20 Mar 2011 01:31:59 +0000 (18:31 -0700)]
Separate scan for commands used during configure.
Graydon Hoare [Sun, 20 Mar 2011 01:31:30 +0000 (18:31 -0700)]
Probe for python, git, makeinfo and texi2pdf, but not sed.
Graydon Hoare [Sun, 20 Mar 2011 01:31:05 +0000 (18:31 -0700)]
Probe for llvm libdir as well.
Patrick Walton [Sun, 20 Mar 2011 00:33:46 +0000 (17:33 -0700)]
rustc: Only declare each native function once. std.rc now links.
Patrick Walton [Sat, 19 Mar 2011 22:03:21 +0000 (15:03 -0700)]
rustc: Use the right block context to generate unary operands. std.rc compiles now. For realz.
Patrick Walton [Sat, 19 Mar 2011 21:26:12 +0000 (14:26 -0700)]
rustc: Allow arguments to be captured as upvars. std.rc compiles now, except for the lack of a main fn.
Patrick Walton [Sat, 19 Mar 2011 20:58:48 +0000 (13:58 -0700)]
rustc: Do argument casts before loading aggregates, not after
Patrick Walton [Sat, 19 Mar 2011 01:49:59 +0000 (18:49 -0700)]
rustc: Implement int-to-native casts
Patrick Walton [Sat, 19 Mar 2011 01:45:49 +0000 (18:45 -0700)]
rustc: Make trans_path() generic-safe wrt nullary tags
Patrick Walton [Sat, 19 Mar 2011 01:33:21 +0000 (18:33 -0700)]
rustc: Make iter_structural_ty_full() generic-safe wrt tags
Graydon Hoare [Sat, 19 Mar 2011 01:32:31 +0000 (18:32 -0700)]
Add support for building glue.o.
Graydon Hoare [Sat, 19 Mar 2011 01:30:57 +0000 (18:30 -0700)]
Run rustc stages using proper LD_LIBRARY_PATH.
Graydon Hoare [Sat, 19 Mar 2011 01:30:21 +0000 (18:30 -0700)]
Point valgrind suppressions file to srcdir.
Patrick Walton [Sat, 19 Mar 2011 01:12:58 +0000 (18:12 -0700)]
rustc: Do pointer casts when casting native types
Patrick Walton [Sat, 19 Mar 2011 00:45:11 +0000 (17:45 -0700)]
rustc: Fix inference for auto slots (forgot to stage changes before)
Graydon Hoare [Sat, 19 Mar 2011 00:41:32 +0000 (17:41 -0700)]
Add rules for stage0/rustc to Makefile.in.
Graydon Hoare [Sat, 19 Mar 2011 00:30:06 +0000 (17:30 -0700)]
Remove redundant slashes in Makefile.in.
Graydon Hoare [Sat, 19 Mar 2011 00:29:30 +0000 (17:29 -0700)]
Rename SUPPORT_INCS -> LLVM_INCS in Makefile.in.
Patrick Walton [Sat, 19 Mar 2011 00:43:56 +0000 (17:43 -0700)]
rustc: Fix inference for auto slots. Add a test case.
Patrick Walton [Fri, 18 Mar 2011 23:41:56 +0000 (16:41 -0700)]
rustc: Don't always build a constant multiply instruction when translating literal vectors; the size of the referent isn't always constant
Patrick Walton [Fri, 18 Mar 2011 23:34:22 +0000 (16:34 -0700)]
rustc: Move type_of() behind the check for dynamic size in trans_vec()
Patrick Walton [Fri, 18 Mar 2011 23:22:59 +0000 (16:22 -0700)]
rustc: Create global variable constants during the collection phase
Graydon Hoare [Fri, 18 Mar 2011 23:23:35 +0000 (16:23 -0700)]
Get llvmext building in new Makefile.in.
Graydon Hoare [Fri, 18 Mar 2011 23:18:45 +0000 (16:18 -0700)]
Remove some whitespace.
Graydon Hoare [Fri, 18 Mar 2011 23:06:45 +0000 (16:06 -0700)]
Make the llvmext dir in builddir from configure.
Graydon Hoare [Fri, 18 Mar 2011 23:05:56 +0000 (16:05 -0700)]
Rename a couple CFG_LIB_NAME vars in Makefile.in
Patrick Walton [Fri, 18 Mar 2011 23:04:16 +0000 (16:04 -0700)]
rustc: Make iter_sequence() work with generic vectors
Patrick Walton [Fri, 18 Mar 2011 22:19:32 +0000 (15:19 -0700)]
rustc: Fix list.foldl() to pass its second argument by alias
Patrick Walton [Fri, 18 Mar 2011 22:18:45 +0000 (15:18 -0700)]
rustc: Box the tuples returned by hashmap.items() for now since we don't have alias iterators yet
Patrick Walton [Fri, 18 Mar 2011 22:01:45 +0000 (15:01 -0700)]
rustc: Get type params from the item when translating native items
Patrick Walton [Fri, 18 Mar 2011 21:15:27 +0000 (14:15 -0700)]
Fix bug in string comparison. std.rc typechecks now.
Patrick Walton [Fri, 18 Mar 2011 21:01:03 +0000 (14:01 -0700)]
Add "mutable?" to _vec in the standard library; fix callers
Patrick Walton [Fri, 18 Mar 2011 20:53:49 +0000 (13:53 -0700)]
Add some mutable variants of vector functions to the standard library