about summary refs log tree commit diff
path: root/src/libcore/libc.rs
AgeCommit message (Collapse)AuthorLines
2013-05-09improve MIPS backend and implement segmented stacksJyun-Yan You-1/+85
2013-05-05Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freezeNiko Matsakis-15/+233
Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs
2013-05-02Convert most of rust_run_program.cpp to rust (issue #2674).gareth-4/+127
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-9/+0
2013-05-01glob_t should be public on all platformsJesse Luehrs-2/+2
2013-05-01libc bindings for glob.hJesse Luehrs-2/+106
only tested on linux/x86_64, but i got the values for other platforms from their system header files. no bindings for win32, because win32 doesn't include glob.h. also, glob() takes a callback for error handling, but i'm just making this a *c_void for now, since i don't know how to represent c calling back into rust (if that's even currently possible).
2013-04-30allover: numerous unused muts etcNiko Matsakis-2/+1
2013-04-23Fix issue #5976 - HANDLE leaks and undefined/bad behavourgareth-0/+1
on windows.
2013-04-19librustc: WIP patch for using the return value.Patrick Walton-0/+4
2013-04-19librustc: Implement fast-ffi and use it in various placesPatrick Walton-0/+10
2013-04-14Flesh out the SIG* constants: this adds all the posix signalgareth-0/+30
value constants, except for those that have different values on different architectures. The output of the command `man 7 signal` was used to compile these signal values.
2013-04-11Make destroy() send SIGTERM and add a new method calledgareth-0/+3
force_destroy() that sends SIGKILL - as suggested by @thestinger.
2013-04-06Change the behaviour of core::run::Program.destroy togareth-0/+16
forcibly terminate the program (as suggested in issue #5632)
2013-04-05Fix various warnings, NOTEs, etcNiko Matsakis-1/+1
2013-04-01core: Update libc docs to clarify usageBrian Anderson-1/+13
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-1/+1
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
2013-03-26librustc: Remove all uses of the old `[T * N]` fixed-length vector syntaxPatrick Walton-4/+4
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-196/+196
2013-03-21libcore: Remove a few possibly-cyclic imports in an effort to unbreak the ↵Patrick Walton-2/+0
tree on Linux
2013-03-19libsyntax: Forbid `use` (and most other things) within `extern { ... }` blocksPatrick Walton-5/+4
2013-03-12Work around linkage bug cross-compiling from x86_64-apple-darwin to ↵Brian Anderson-36/+18
i686-apple-darwin The correct opendir/readdir to use appear to be the 64-bit versions called opendir$INODE64, etc. but for some reason I can't get them to link properly on i686. Putting them in librustrt and making gcc figure it out works. This mystery will have to wait for another day.
2013-03-12libcore: Attempt to put out burning tree on Mac by using the old symbol on ↵Patrick Walton-5/+20
32 bit. rs=bustage
2013-03-11rt/core: port os::list_dir to rust ref #4812Jeff Olson-1/+32
2013-03-11core: rt/core: impl os::env() in rust ref #4812Jeff Olson-1/+4
2013-03-07librustc: Remove "extern mod { ... }" from librustc, librustdoc, and tests. ↵Patrick Walton-2/+2
rs=deexterning
2013-03-07libcore: Remove `extern mod { ... }` from libcore. rs=deexterningPatrick Walton-363/+446
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-03-03rustc: MIPS32 supportJyun-Yan You-0/+1
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-3/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-29librustc: Speed up byte copy operations. r=nmatsakisPatrick Walton-0/+13
2013-01-13Support ARM and Androidkyeongwoon-1/+13
Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-194/+200
2013-01-09libcore: Fix missing `off_t` import on Mac. rs=bustagePatrick Walton-1/+1
2013-01-09libcore: Some more fixes to Windows libc stuff. rs=bustagePatrick Walton-2/+8
2013-01-09libcore: Fix Windows resolve errors. rs=bustagePatrick Walton-4/+6
2013-01-09libcore: Fix import in libc. rs=bustagePatrick Walton-1/+1
2013-01-09rustc: yet more arch-specific fallout from 2db3abdGraydon Hoare-1/+16
2013-01-09rustc: more arch-specific fallout from 2db3abdGraydon Hoare-4/+10
2013-01-09core: try to fix arch- and platform-specific fallout from 2db3abdGraydon Hoare-0/+17
2013-01-09core: fix libc linux fallout from 2db3abddcd67Graydon Hoare-3/+3
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-28/+92
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-87/+28
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-28/+87
module scope. r=tjc
2012-12-27libcore: Add symlink(2) to libc. rs=trivialPatrick Walton-1/+2
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-83/+99
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-21libcore: fix build breakage on win32 stat.Graydon Hoare-2/+19
2012-11-20libcore: add stat functions to libcErick Tryzelaar-4/+176
2012-11-20libcore: Fix a typoErick Tryzelaar-1/+1
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-3/+3