aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* stdlib: Provide a function to extract the underlying buf_writer from a writerPatrick Walton2011-03-221-0/+9
|
* Further support for floating-point. Literals with exponents workTim Chevalier2011-03-229-24/+150
| | | | | | and literals with the 'f32' or 'f64' suffixes work as well. In addition, logging things with the f32 or f64 type works. (float is still assumed to be a synonym for f64).
* stdlib: Add EBML writing functionalityPatrick Walton2011-03-221-2/+67
|
* stdlib: Add a convenience method for opening paths as a FILEPatrick Walton2011-03-221-0/+10
|
* Add a test case for empty mutable vector literals, XFAIL'd in rustbootPatrick Walton2011-03-222-0/+5
|
* stdlib: Make writers seekable; switch file writers to the C FILE interface ↵Patrick Walton2011-03-225-14/+101
| | | | to make this work
* Change the type of the second argument of upcalls to be a %task*.Rafael Ávila de Espíndola2011-03-221-13/+13
|
* Support for shorter error messages that are aware of objects' cnames.Lindsey Kuper2011-03-222-8/+26
|
* Revert "Remove usages of case(_) { fail; } since the compiler does this ↵Patrick Walton2011-03-224-0/+11
| | | | | | automatically". When we have exhaustiveness checking, "case(_) { fail; }" will be useful to silence warnings. This reverts commit 92a716d862d92d3cc52a400457d2c3900d0c57a2.
* lib: Add an EBML reader modulePatrick Walton2011-03-222-0/+110
|
* Added test case for floatsTim Chevalier2011-03-222-0/+14
|
* Add some nesting to the else-if test caseBrian Anderson2011-03-221-1/+24
|
* Remove usages of case(_) { fail; } since the compiler does this automaticallyBrian Anderson2011-03-224-11/+0
|
* Add a cleanup to trans_send. Express further confusion about cleanups in ↵Brian Anderson2011-03-221-2/+3
| | | | trans_recv
* Add test for sending strings over channelsBrian Anderson2011-03-221-0/+17
|
* Remove a todo from trans_chan that doesn't appear necessaryBrian Anderson2011-03-221-2/+0
|
* Add a regression test for channels of nil, which happens to work in rustc, ↵Brian Anderson2011-03-222-0/+18
| | | | but not in rustboot
* Generalize send/recv to work for more typesBrian Anderson2011-03-222-15/+124
|
* Un-XFAIL task-comm-4, 5 & 6Brian Anderson2011-03-221-3/+0
|
* Fix trans_recvBrian Anderson2011-03-221-4/+11
|
* Implement trans_send and a broken trans_recvBrian Anderson2011-03-221-4/+42
|
* Add codegen for ports and chansBrian Anderson2011-03-222-0/+120
|
* Repair some fallout from pcwalton's last few build changes.Graydon Hoare2011-03-217-4/+4
|
* Make floating-point operations work (neg, add, sub, mul, div, rem,Tim Chevalier2011-03-212-4/+51
| | | | and comparison ops.)
* Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier2011-03-219-18/+87
| | | | logging of floats. Other operations on float probably don't work yet.
* Add a suitable .def file for rustrt.dll on WindowsPatrick Walton2011-03-211-0/+70
|
* Add a "last" function to return the last element of a vector to the standard ↵Patrick Walton2011-03-211-0/+12
| | | | library
* Add a binding to ftell()Patrick Walton2011-03-214-0/+7
|
* Every upcall needs a task pointer to find the C stack. It is just that whenRafael Ávila de Espíndola2011-03-213-46/+66
| | | | | | | 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.
* Make the wrapper function of native functions private.Rafael Ávila de Espíndola2011-03-211-0/+2
|
* The T_taskptr is already included in the n_args, don't add it twice.Rafael Ávila de Espíndola2011-03-211-5/+3
|
* rustc: Remove uses of Unicode in type deserialization and fix vector-push ↵Patrick Walton2011-03-211-37/+40
| | | | operations
* rustc: Update type serialization and deserialization for the "mutable?" changePatrick Walton2011-03-212-10/+30
|
* rustc: Merge in type serialization and deserializationMarijn Haverbeke2011-03-212-0/+277
| | | | Signed-off-by: Patrick Walton <[email protected]>
* Add some C99 and C++ compatibility headers for MSVCPatrick Walton2011-03-213-0/+649
|
* Make lltaskptr a regular argument element in args in calls to trans_upcall2.Rafael Ávila de Espíndola2011-03-211-8/+8
|
* Move calls to PtrToInt out of trans_upcall2.Rafael Ávila de Espíndola2011-03-211-3/+5
|
* Modify native_item_fn to handle trailing linkage names that differ from the ↵Graydon Hoare2011-03-208-18/+33
| | | | item name (used in win32 build of std.dll)
* Switch win32 path_sep to '/', add comment explaining a bit.Graydon Hoare2011-03-201-1/+7
|
* Add slightly nicer failure message to io.rs when it can't open a file.Graydon Hoare2011-03-201-1/+4
|
* rustc: Internalize glue. Cuts libstd size by 8% or so.Patrick Walton2011-03-201-1/+3
|
* Fix indentation in tidy.Graydon Hoare2011-03-191-1/+1
|
* rustc: Only declare each native function once. std.rc now links.Patrick Walton2011-03-191-1/+15
|
* rustc: Use the right block context to generate unary operands. std.rc ↵Patrick Walton2011-03-191-3/+3
| | | | compiles now. For realz.
* rustc: Allow arguments to be captured as upvars. std.rc compiles now, except ↵Patrick Walton2011-03-191-3/+15
| | | | for the lack of a main fn.
* rustc: Do argument casts before loading aggregates, not afterPatrick Walton2011-03-191-5/+16
|
* rustc: Implement int-to-native castsPatrick Walton2011-03-181-0/+3
|
* rustc: Make trans_path() generic-safe wrt nullary tagsPatrick Walton2011-03-181-1/+8
|
* rustc: Make iter_structural_ty_full() generic-safe wrt tagsPatrick Walton2011-03-181-28/+10
|
* rustc: Do pointer casts when casting native typesPatrick Walton2011-03-181-1/+3
|