]> git.lizzy.rs Git - rust.git/log
rust.git
13 years agoAdd Lindsey to AUTHORS.
Graydon Hoare [Tue, 22 Mar 2011 21:25:07 +0000 (14:25 -0700)]
Add Lindsey to AUTHORS.

13 years agoSupport for shorter error messages that are aware of objects' cnames.
Lindsey Kuper [Tue, 22 Mar 2011 20:24:29 +0000 (13:24 -0700)]
Support for shorter error messages that are aware of objects' cnames.

13 years agoRevert "Remove usages of case(_) { fail; } since the compiler does this automatically...
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.

13 years agolib: Add an EBML reader module
Patrick Walton [Tue, 22 Mar 2011 20:59:17 +0000 (13:59 -0700)]
lib: Add an EBML reader module

13 years agoAdd Tim to AUTHORS.
Graydon Hoare [Tue, 22 Mar 2011 16:42:51 +0000 (09:42 -0700)]
Add Tim to AUTHORS.

13 years agoAdded test case for floats
Tim Chevalier [Mon, 21 Mar 2011 23:43:05 +0000 (16:43 -0700)]
Added test case for floats

13 years agoAdd some nesting to the else-if test case
Brian Anderson [Mon, 14 Mar 2011 23:57:12 +0000 (19:57 -0400)]
Add some nesting to the else-if test case

13 years agoUpdate docs for if statements
Brian Anderson [Thu, 17 Mar 2011 02:28:00 +0000 (22:28 -0400)]
Update docs for if statements

13 years agoRemove usages of case(_) { fail; } since the compiler does this automatically
Brian Anderson [Tue, 15 Mar 2011 22:45:56 +0000 (18:45 -0400)]
Remove usages of case(_) { fail; } since the compiler does this automatically

13 years agoAdd a cleanup to trans_send. Express further confusion about cleanups in trans_recv
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

13 years agoAdd test for sending strings over channels
Brian Anderson [Tue, 22 Mar 2011 02:25:34 +0000 (22:25 -0400)]
Add test for sending strings over channels

13 years agoRemove a todo from trans_chan that doesn't appear necessary
Brian Anderson [Tue, 22 Mar 2011 01:57:36 +0000 (21:57 -0400)]
Remove a todo from trans_chan that doesn't appear necessary

13 years agoAdd a regression test for channels of nil, which happens to work in rustc, but not...
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

13 years agoGeneralize send/recv to work for more types
Brian Anderson [Tue, 22 Mar 2011 01:13:08 +0000 (21:13 -0400)]
Generalize send/recv to work for more types

13 years agoUn-XFAIL task-comm-4, 5 & 6
Brian Anderson [Fri, 18 Mar 2011 05:00:29 +0000 (01:00 -0400)]
Un-XFAIL task-comm-4, 5 & 6

13 years agoFix trans_recv
Brian Anderson [Fri, 18 Mar 2011 04:45:18 +0000 (00:45 -0400)]
Fix trans_recv

13 years agoImplement trans_send and a broken trans_recv
Brian Anderson [Fri, 18 Mar 2011 03:33:00 +0000 (23:33 -0400)]
Implement trans_send and a broken trans_recv

13 years agoAdd codegen for ports and chans
Brian Anderson [Thu, 17 Mar 2011 01:49:15 +0000 (21:49 -0400)]
Add codegen for ports and chans

13 years agoRepair some fallout from pcwalton's last few build changes.
Graydon Hoare [Tue, 22 Mar 2011 06:06:42 +0000 (23:06 -0700)]
Repair some fallout from pcwalton's last few build changes.

13 years agoMake floating-point operations work (neg, add, sub, mul, div, rem,
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.)

13 years agoStarted adding support for floating-point type, floating-point literals, and logging...
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.

13 years agoSupport CFG_LLVM_ROOT since CMake-built LLVM has no llvm-config
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

13 years agoAdd .def file support to the new build system (which does nothing at the moment since...
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)

13 years agoChange llvmext.dll to rustllvm.dll in the new build system to match the def file
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

13 years agoAdd a suitable .def file for rustrt.dll on Windows
Patrick Walton [Tue, 22 Mar 2011 01:01:25 +0000 (18:01 -0700)]
Add a suitable .def file for rustrt.dll on Windows

13 years agoAdd a "last" function to return the last element of a vector to the standard library
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

13 years agoAdd a binding to ftell()
Patrick Walton [Mon, 21 Mar 2011 23:40:26 +0000 (16:40 -0700)]
Add a binding to ftell()

13 years agoMinor distcheck fixes
Graydon Hoare [Mon, 21 Mar 2011 23:16:15 +0000 (16:16 -0700)]
Minor distcheck fixes

13 years agoFIx three $-typos in Makefile.in.
Graydon Hoare [Mon, 21 Mar 2011 22:53:08 +0000 (15:53 -0700)]
FIx three $-typos in Makefile.in.

13 years agoFix CFG_RUN* rules a bit harder. Can now do 'make check' on both boot and stage0...
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.

13 years agoEvery upcall needs a task pointer to find the C stack. It is just that when
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.

13 years agoAdjust run rules to avoid early substitution. Testsuite begins to run.
Graydon Hoare [Mon, 21 Mar 2011 21:52:02 +0000 (14:52 -0700)]
Adjust run rules to avoid early substitution. Testsuite begins to run.

13 years agoInclude benchmark dirs in test build dirs.
Graydon Hoare [Mon, 21 Mar 2011 21:45:03 +0000 (14:45 -0700)]
Include benchmark dirs in test build dirs.

13 years agoStrip leading $(S)/src off built targets in test; s/rustc/stage0/ in a few places.
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.

13 years agoFix various pathnames.
Graydon Hoare [Mon, 21 Mar 2011 20:42:29 +0000 (13:42 -0700)]
Fix various pathnames.

13 years agoPort tidy and remainder of pkg/dist rules.
Graydon Hoare [Mon, 21 Mar 2011 20:42:14 +0000 (13:42 -0700)]
Port tidy and remainder of pkg/dist rules.

13 years agoPort testing variables.
Graydon Hoare [Mon, 21 Mar 2011 20:41:56 +0000 (13:41 -0700)]
Port testing variables.

13 years agoMake the wrapper function of native functions private.
Rafael Ávila de Espíndola [Mon, 21 Mar 2011 20:02:00 +0000 (16:02 -0400)]
Make the wrapper function of native functions private.

13 years agoThe T_taskptr is already included in the n_args, don't add it twice.
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.

13 years agoMerge branch 'ty-serialization'
Patrick Walton [Mon, 21 Mar 2011 19:04:52 +0000 (12:04 -0700)]
Merge branch 'ty-serialization'

13 years agorustc: Remove uses of Unicode in type deserialization and fix vector-push operations
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

13 years agobuild: Support spaces in CFG_LDPATH.
Patrick Walton [Mon, 21 Mar 2011 18:55:17 +0000 (11:55 -0700)]
build: Support spaces in CFG_LDPATH.

13 years agorustc: Update type serialization and deserialization for the "mutable?" change
Patrick Walton [Mon, 21 Mar 2011 18:44:08 +0000 (11:44 -0700)]
rustc: Update type serialization and deserialization for the "mutable?" change

13 years agorustc: Merge in type serialization and deserialization
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>
13 years agoMore conservative rule for clean.
Graydon Hoare [Mon, 21 Mar 2011 18:23:19 +0000 (11:23 -0700)]
More conservative rule for clean.

13 years agoSplit R and T so that tests run under valgrind but compiler doesn't.
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.

13 years agoFix misuse of $(S) before definition, to permit running with valgrind suppressions.
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.

13 years agoAdd some C99 and C++ compatibility headers for MSVC
Patrick Walton [Mon, 21 Mar 2011 17:21:09 +0000 (10:21 -0700)]
Add some C99 and C++ compatibility headers for MSVC

13 years agoMake lltaskptr a regular argument element in args in calls to trans_upcall2.
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.

13 years agoMove calls to PtrToInt out of 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.

13 years agos/DSYMUTIL/CFG_DSYMUTIL/
Graydon Hoare [Mon, 21 Mar 2011 04:05:49 +0000 (21:05 -0700)]
s/DSYMUTIL/CFG_DSYMUTIL/

13 years agoAdd -lrt to stateN link commands.
Graydon Hoare [Mon, 21 Mar 2011 04:05:31 +0000 (21:05 -0700)]
Add -lrt to stateN link commands.

13 years agoModify native_item_fn to handle trailing linkage names that differ from the item...
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)

13 years agoSwitch win32 path_sep to '/', add comment explaining a bit.
Graydon Hoare [Mon, 21 Mar 2011 02:43:12 +0000 (19:43 -0700)]
Switch win32 path_sep to '/', add comment explaining a bit.

13 years agoAdd slightly nicer failure message to io.rs when it can't open a file.
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.

13 years agoFix multi-stage deps, add rules for stage1 and stage2 outputs.
Graydon Hoare [Mon, 21 Mar 2011 02:42:27 +0000 (19:42 -0700)]
Fix multi-stage deps, add rules for stage1 and stage2 outputs.

13 years agoDepend %.stage0.exe on %.stage0.o.
Graydon Hoare [Mon, 21 Mar 2011 02:08:37 +0000 (19:08 -0700)]
Depend %.stage0.exe on %.stage0.o.

13 years agoFix typo.
Graydon Hoare [Mon, 21 Mar 2011 02:08:13 +0000 (19:08 -0700)]
Fix typo.

13 years agorustc: Internalize glue. Cuts libstd size by 8% or so.
Patrick Walton [Sun, 20 Mar 2011 22:05:13 +0000 (15:05 -0700)]
rustc: Internalize glue. Cuts libstd size by 8% or so.

13 years agoBegin porting rules for testsuite execution.
Graydon Hoare [Sun, 20 Mar 2011 08:12:26 +0000 (01:12 -0700)]
Begin porting rules for testsuite execution.

13 years agoAdd build rules for stage1.
Graydon Hoare [Sun, 20 Mar 2011 05:55:28 +0000 (22:55 -0700)]
Add build rules for stage1.

13 years agoSet up dynamic library paths properly in builddir.
Graydon Hoare [Sun, 20 Mar 2011 01:34:19 +0000 (18:34 -0700)]
Set up dynamic library paths properly in builddir.

13 years agoCorrect deps on stage0/glue.bc
Graydon Hoare [Sun, 20 Mar 2011 01:33:32 +0000 (18:33 -0700)]
Correct deps on stage0/glue.bc

13 years agoSwitch path-munge from sed to perl.
Graydon Hoare [Sun, 20 Mar 2011 01:33:16 +0000 (18:33 -0700)]
Switch path-munge from sed to perl.

13 years agoFix indentation in tidy.
Graydon Hoare [Sun, 20 Mar 2011 01:32:46 +0000 (18:32 -0700)]
Fix indentation in tidy.

13 years agoMinor clarification.
Graydon Hoare [Sun, 20 Mar 2011 01:32:34 +0000 (18:32 -0700)]
Minor clarification.

13 years agoTruncate long lines in configure output.
Graydon Hoare [Sun, 20 Mar 2011 01:32:19 +0000 (18:32 -0700)]
Truncate long lines in configure output.

13 years agoSeparate scan for commands used during configure.
Graydon Hoare [Sun, 20 Mar 2011 01:31:59 +0000 (18:31 -0700)]
Separate scan for commands used during configure.

13 years agoProbe for python, git, makeinfo and texi2pdf, but not sed.
Graydon Hoare [Sun, 20 Mar 2011 01:31:30 +0000 (18:31 -0700)]
Probe for python, git, makeinfo and texi2pdf, but not sed.

13 years agoProbe for llvm libdir as well.
Graydon Hoare [Sun, 20 Mar 2011 01:31:05 +0000 (18:31 -0700)]
Probe for llvm libdir as well.

13 years agorustc: Only declare each native function once. std.rc now links.
Patrick Walton [Sun, 20 Mar 2011 00:33:46 +0000 (17:33 -0700)]
rustc: Only declare each native function once. std.rc now links.

13 years agorustc: Use the right block context to generate unary operands. std.rc compiles now...
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.

13 years agorustc: Allow arguments to be captured as upvars. std.rc compiles now, except for...
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.

13 years agorustc: Do argument casts before loading aggregates, not after
Patrick Walton [Sat, 19 Mar 2011 20:58:48 +0000 (13:58 -0700)]
rustc: Do argument casts before loading aggregates, not after

13 years agorustc: Implement int-to-native casts
Patrick Walton [Sat, 19 Mar 2011 01:49:59 +0000 (18:49 -0700)]
rustc: Implement int-to-native casts

13 years agorustc: Make trans_path() generic-safe wrt nullary tags
Patrick Walton [Sat, 19 Mar 2011 01:45:49 +0000 (18:45 -0700)]
rustc: Make trans_path() generic-safe wrt nullary tags

13 years agorustc: Make iter_structural_ty_full() generic-safe wrt tags
Patrick Walton [Sat, 19 Mar 2011 01:33:21 +0000 (18:33 -0700)]
rustc: Make iter_structural_ty_full() generic-safe wrt tags

13 years agoAdd support for building glue.o.
Graydon Hoare [Sat, 19 Mar 2011 01:32:31 +0000 (18:32 -0700)]
Add support for building glue.o.

13 years agoRun rustc stages using proper LD_LIBRARY_PATH.
Graydon Hoare [Sat, 19 Mar 2011 01:30:57 +0000 (18:30 -0700)]
Run rustc stages using proper LD_LIBRARY_PATH.

13 years agoPoint valgrind suppressions file to srcdir.
Graydon Hoare [Sat, 19 Mar 2011 01:30:21 +0000 (18:30 -0700)]
Point valgrind suppressions file to srcdir.

13 years agorustc: Do pointer casts when casting native types
Patrick Walton [Sat, 19 Mar 2011 01:12:58 +0000 (18:12 -0700)]
rustc: Do pointer casts when casting native types

13 years agorustc: Fix inference for auto slots (forgot to stage changes before)
Patrick Walton [Sat, 19 Mar 2011 00:45:11 +0000 (17:45 -0700)]
rustc: Fix inference for auto slots (forgot to stage changes before)

13 years agoAdd rules for stage0/rustc to Makefile.in.
Graydon Hoare [Sat, 19 Mar 2011 00:41:32 +0000 (17:41 -0700)]
Add rules for stage0/rustc to Makefile.in.

13 years agoRemove redundant slashes in Makefile.in.
Graydon Hoare [Sat, 19 Mar 2011 00:30:06 +0000 (17:30 -0700)]
Remove redundant slashes in Makefile.in.

13 years agoRename SUPPORT_INCS -> LLVM_INCS in Makefile.in.
Graydon Hoare [Sat, 19 Mar 2011 00:29:30 +0000 (17:29 -0700)]
Rename SUPPORT_INCS -> LLVM_INCS in Makefile.in.

13 years agorustc: Fix inference for auto slots. Add a test case.
Patrick Walton [Sat, 19 Mar 2011 00:43:56 +0000 (17:43 -0700)]
rustc: Fix inference for auto slots. Add a test case.

13 years agorustc: Don't always build a constant multiply instruction when translating literal...
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

13 years agorustc: Move type_of() behind the check for dynamic size in trans_vec()
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()

13 years agorustc: Create global variable constants during the collection phase
Patrick Walton [Fri, 18 Mar 2011 23:22:59 +0000 (16:22 -0700)]
rustc: Create global variable constants during the collection phase

13 years agoGet llvmext building in new Makefile.in.
Graydon Hoare [Fri, 18 Mar 2011 23:23:35 +0000 (16:23 -0700)]
Get llvmext building in new Makefile.in.

13 years agoRemove some whitespace.
Graydon Hoare [Fri, 18 Mar 2011 23:18:45 +0000 (16:18 -0700)]
Remove some whitespace.

13 years agoMake the llvmext dir in builddir from configure.
Graydon Hoare [Fri, 18 Mar 2011 23:06:45 +0000 (16:06 -0700)]
Make the llvmext dir in builddir from configure.

13 years agoRename a couple CFG_LIB_NAME vars in Makefile.in
Graydon Hoare [Fri, 18 Mar 2011 23:05:56 +0000 (16:05 -0700)]
Rename a couple CFG_LIB_NAME vars in Makefile.in

13 years agorustc: Make iter_sequence() work with generic vectors
Patrick Walton [Fri, 18 Mar 2011 23:04:16 +0000 (16:04 -0700)]
rustc: Make iter_sequence() work with generic vectors

13 years agorustc: Fix list.foldl() to pass its second argument by alias
Patrick Walton [Fri, 18 Mar 2011 22:19:32 +0000 (15:19 -0700)]
rustc: Fix list.foldl() to pass its second argument by alias

13 years agorustc: Box the tuples returned by hashmap.items() for now since we don't have 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

13 years agorustc: Get type params from the item when translating native items
Patrick Walton [Fri, 18 Mar 2011 22:01:45 +0000 (15:01 -0700)]
rustc: Get type params from the item when translating native items

13 years agoFix bug in string comparison. std.rc typechecks now.
Patrick Walton [Fri, 18 Mar 2011 21:15:27 +0000 (14:15 -0700)]
Fix bug in string comparison. std.rc typechecks now.

13 years agoAdd "mutable?" to _vec in the standard library; fix callers
Patrick Walton [Fri, 18 Mar 2011 21:01:03 +0000 (14:01 -0700)]
Add "mutable?" to _vec in the standard library; fix callers

13 years agoAdd some mutable variants of vector functions to the standard library
Patrick Walton [Fri, 18 Mar 2011 20:53:49 +0000 (13:53 -0700)]
Add some mutable variants of vector functions to the standard library