about summary refs log tree commit diff
path: root/src/lib
AgeCommit message (Collapse)AuthorLines
2011-11-16Various fixes for x86_64 on linuxBrian Anderson-1/+2
Configure LLVM correctly, use the right data layout, add the readlink function back, fix C constants, etc.
2011-11-16fix mismatched types---make check passes on x86_64!Niko Matsakis-13/+12
2011-11-16refactor all unix typesNiko Matsakis-132/+184
2011-11-16fix alignment for chan_handle structs; rust equiv is translatedNiko Matsakis-2/+2
to char[16], not struct{long,long}
2011-11-16change u32 to uint. maybe we want an intptr_t built-in type.Niko Matsakis-1/+1
2011-11-16Replace 'mutable?' with 'const'Brian Anderson-36/+36
2011-11-16Fix S_IRUSR/S_IWUSR constants on mac. Closes #726Brian Anderson-2/+2
2011-11-16Use attributes for native module ABI and link nameHaitao Li-30/+66
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-16rustc: Use link_name attribute for native functionHaitao Li-2/+4
Fixes issue #906
2011-11-15stdlib: Turn function calls into constants. Fix win32 breakageBrian Anderson-2/+2
2011-11-15Fixed typo in constant value #1165Stefan Plantikow-1/+1
2011-11-15Replaced constant functions with actual constants in std and updated testsStefan Plantikow-116/+97
Fixes issue #1165
2011-11-15Fix some indentation and idioms in rope.rsMarijn Haverbeke-25/+17
Sorry for the pedantry. I was handling a compilation bug related to this code, and it just jumped out at me.
2011-11-14stdlib: Run cleanups on data that fails to sendBrian Anderson-2/+8
2011-11-13rt: Perform task notification before killing the parent taskBrian Anderson-1/+1
2011-11-13Drop enqueued elements when a port is destructed. Closes #1155Brian Anderson-2/+9
2011-11-11rt: Remove drop_port. UnusedBrian Anderson-2/+0
2011-11-10str: add escape()Elly Jones-2/+32
Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-11-10Cleanup unused importsHaitao Li-7/+0
2011-11-10stdlib: Remove sio and aio. Bitrotted.Brian Anderson-268/+1
2011-11-10stdlib: Update the example in std::commBrian Anderson-3/+2
Due to a bug in channel destructors this examples fails when logging is off Issue #1155
2011-11-10Add float support to #fmt. Fix #1014.Josh Matthews-4/+55
2011-11-09Rename "c-stack-stdcall" ABI to "stdcall"Brian Anderson-1/+1
2011-11-09Rename "c-stack-cdecl" ABI to "cdecl"Brian Anderson-24/+24
2011-11-09Convert last use of "x86stdcall" ABI to "c-stack-stdcall"Brian Anderson-1/+1
2011-11-08Clean up std::taskBrian Anderson-12/+12
2011-11-08Make task_sleep an intrinsic.Brian Anderson-1/+1
2011-11-08rt: Remove task_yield builtinBrian Anderson-2/+1
This is just a special case of task_sleep
2011-11-08start_task can run on the C stackBrian Anderson-2/+4
2011-11-08Remove all uses of native cdecl except for those that yieldBrian Anderson-4/+28
2011-11-07Fix long linesBrian Anderson-1/+2
2011-11-07json: betterify for brsonElly Jones-87/+51
Signed-off-by: Elly Jones <ellyjones@google.com>
2011-11-07stdlib: add json.Elly Jones-0/+294
Add a json serializer and deserializer. Signed-off-by: Elly Jones <ellyjones@google.com>
2011-11-07Remove native "llvm" ABIBrian Anderson-15/+15
2011-11-06[Stdlib] rope.rs: improved doc, code readabilityDavid Rajchenbach-Teller-82/+157
2011-11-06[Stdlib] rope.rs: concat, now attempts to preserve balanceDavid Rajchenbach-Teller-6/+28
2011-11-06[Stdlib doc] char.rs: documented to_digit, cmpDavid Rajchenbach-Teller-0/+25
2011-11-06[stdlib optim] rope::node improved balancing strategyDavid Rajchenbach-Teller-8/+59
2011-11-05[Docfix] lib/str.rs: Applied review suggestions, took the opportunity to ↵David Rajchenbach-Teller-7/+62
improve doc of my new functions.
2011-11-05[Docfixes + feature] lib/uint.rs: Applied review suggesions, took the ↵David Rajchenbach-Teller-9/+61
opportunity to add function loop
2011-11-05[Docfix + Renaming] lib/rope.rs: Applied review suggestions, mostly docfixes.David Rajchenbach-Teller-2/+68
2011-11-05stdlib: Added a small rope libraryDavid Rajchenbach-Teller-0/+1133
2011-11-05char.rs: Added a function cmpDavid Rajchenbach-Teller-0/+8
2011-11-05uint.rs: added functions div_ceil, div_floor, div_roundDavid Rajchenbach-Teller-0/+23
2011-11-05str.rs: Added functions loop_chars, loop_chars_sub, char_len_range, ↵David Rajchenbach-Teller-8/+63
byte_len_range.
2011-11-04vec: take [mutable? T] instead of [T]Elly Jones-2/+2
2011-11-03Disallow writing to function arguments againMarijn Haverbeke-22/+28
Remove implicit copying hack. Closes #1118
2011-11-02Add vec::permute to the standard library (#1013)Matt Brubeck-0/+25
2011-11-02Rename car/cdr to head/tail in std::listMarijn Haverbeke-4/+4
Closes #1086
2011-11-02Make ptr::addr_of return an immutable vec, add mut_addr_ofMarijn Haverbeke-6/+16