| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-01-18 | Remove '.' after nullary tags in patterns | Tim Chevalier | -104/+104 | |
| Does what it says on the tin. The next commit will remove support for this syntax. | ||||
| 2012-01-19 | libstd: Revert an integer type casting | Haitao Li | -1/+4 | |
| Otherwise, rustctest failed by a segv fault. | ||||
| 2012-01-19 | rustc: Use integer from ctypes consistently | Haitao Li | -2/+6 | |
| 2012-01-19 | Use ctypes in native function declarations | Haitao Li | -6/+8 | |
| 2012-01-17 | libstd: Move std tests into libstd | Brian Anderson | -0/+2925 | |
| 2012-01-17 | libstd => libcore | Lenny222 | -30/+1 | |
| 2012-01-17 | spin-off rustdocs tuple code to libstd | Lenny222 | -1/+30 | |
| 2012-01-17 | Allow omission of the '.' after nullary tag patterns | Tim Chevalier | -7/+7 | |
| This commit allows patterns like: alt x { some(_) { ... } none { } } without the '.' after none. The parser suspends judgment about whether a bare ident is a tag or a new bound variable; instead, the resolver disambiguates. This means that any code after resolution that pattern-matches on patterns needs to call pat_util::normalize_pat, which consults an environment to do this disambiguation. In addition, local variables are no longer allowed to shadow tag names, so this required changing some code (e.g. renaming variables named "mut", and renaming ast::sub to subtract). The parser currently accepts patterns with and without the '.'. Once the compiler and libraries are changed, it will no longer accept the '.'. | ||||
| 2012-01-17 | Add an std::md4 module | Marijn Haverbeke | -0/+111 | |
| 2012-01-14 | libstd: Remove util::void | Brian Anderson | -5/+0 | |
| 2012-01-14 | libstd: Remove util::orb. Redundant with core::bool | Brian Anderson | -5/+0 | |
| 2012-01-13 | Remove workaround for issue #1494 | Marijn Haverbeke | -7/+1 | |
| We have a snapshot that includes the fix. | ||||
| 2012-01-13 | distinguish "any closure" and "stack closure" (block) | Niko Matsakis | -2/+2 | |
| 2012-01-13 | make "native fn" the type for bare functions, remove fn exprs | Niko Matsakis | -14/+14 | |
| 2012-01-13 | deprecate fn exprs and the fn() type, preferring fn@ and native fn | Niko Matsakis | -6/+6 | |
| 2012-01-11 | libstd: Remove a bogus link_name attribute | Brian Anderson | -1/+0 | |
| 2012-01-11 | rustc: Don't allow empty link_name when nolink attribute is present | Brian Anderson | -4/+0 | |
| Closes #1326 | ||||
| 2012-01-11 | Fix dependency bug iface-did-of-impl resolving | Marijn Haverbeke | -1/+1 | |
| By simply not resolving that def id until the typeck pass. Closes #1494 | ||||
| 2012-01-11 | Major clean-up of std::io | Marijn Haverbeke | -311/+226 | |
| Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code. | ||||
| 2012-01-11 | Switch run_program over to ifaces | Marijn Haverbeke | -47/+48 | |
| 2012-01-11 | Convert std::sha1 and std::rand over to ifaces | Marijn Haverbeke | -38/+40 | |
| 2012-01-11 | Convert std::deque over to an iface | Marijn Haverbeke | -52/+56 | |
| 2012-01-11 | Implement std::map as an iface/impl instead of an obj | Marijn Haverbeke | -85/+114 | |
| 2012-01-09 | Fix rpath bug. | Graydon Hoare | -9/+12 | |
| 2012-01-09 | Merge pull request #1470 from grahame/grahame | Brian Anderson | -20/+63 | |
| add new read_chars method, fix bug in read_char | ||||
| 2012-01-09 | Remove leftover comm.rs in std | Marijn Haverbeke | -188/+1 | |
| (The actual comm module lives in core.) | ||||
| 2012-01-09 | add tests for io::readchars and io::readchar | Grahame Bowland | -7/+10 | |
| Additionally reformat so that 'make check' passes. | ||||
| 2012-01-08 | Declare MIT license in crate attributes, not BSD | Brian Anderson | -1/+1 | |
| The Rust License is actually the MIT license, not BSD | ||||
| 2012-01-09 | add new read_chars method, fix bug in read_char | Grahame Bowland | -20/+60 | |
| having a read_chars method is convenient and more efficient. the old read_char method had a bug due to re-use of the 'w' width variable as a loop counter and so was broken for wide characters, this patch fixes that. | ||||
| 2012-01-06 | simplify task impl | Niko Matsakis | -4/+3 | |
| 2012-01-06 | std: Untabify | Brian Anderson | -10/+10 | |
| 2012-01-06 | std: Add fs::homedir | Brian Anderson | -0/+48 | |
| Returns the home directory of the user as appropriate for the platform. Issue #1359 | ||||
| 2012-01-06 | libstd: rename c_vec::size to len. | Erick Tryzelaar | -16/+15 | |
| 2012-01-06 | libcore: add [u8] helper functions to vec. | Erick Tryzelaar | -0/+9 | |
| 2012-01-06 | libstd: switch map to use libcore's hash functions. | Erick Tryzelaar | -2/+2 | |
| 2012-01-05 | Merge branch 'master' into kmath | Stefan Plantikow | -70/+71 | |
| Conflicts: src/libcore/float.rs | ||||
| 2012-01-05 | Moved generic float::min, max to core::math and cleaned up some imports | Stefan Plantikow | -5/+1 | |
| 2012-01-05 | Merge branch 'master' into kmath | Stefan Plantikow | -20/+22 | |
| 2012-01-05 | Switch to new param kind bound syntax | Marijn Haverbeke | -70/+71 | |
| And remove support for the old syntax | ||||
| 2012-01-05 | Express some list primitives in a way that doesn't copy | Marijn Haverbeke | -20/+22 | |
| It was somewhat embarassing that list::len copied its elements. | ||||
| 2012-01-05 | Merge branch 'master' into kmath | Stefan Plantikow | -9/+210 | |
| Conflicts: src/libcore/cmath.rs | ||||
| 2012-01-04 | "str": rename "str_from_cstr" to "from_cstr" (analogous to the other "from_*") | Lenny222 | -1/+1 | |
| 2012-01-03 | Allow tail expressions even in no_value blocks. Type checker | Niko Matsakis | -1/+1 | |
| will guarantee they have unit type. | ||||
| 2012-01-03 | Merge pull request #1392 from Lenny222/list | Brian Anderson | -4/+31 | |
| list: add "is_not_empty" requirement to "head" and "tail" (analogous to "vec") | ||||
| 2012-01-02 | Add 'copy' bounds to functions that were faultily accepted without | Marijn Haverbeke | -2/+2 | |
| Issue #1390 | ||||
| 2012-01-01 | freebsd support | User Jyyou | -1/+175 | |
| 2011-12-31 | removes std::mtypes | Stefan Plantikow | -64/+0 | |
| 2011-12-29 | list: use predicate to enforce non-empty requirement | Lenny222 | -4/+31 | |
| 2011-12-28 | libstd: add bytes_reader and bytes_writer | Erick Tryzelaar | -5/+24 | |
| This parallels nicely with string_reader and string_writer, but working with raw byte strings. I'm not quite sure if the return type for bytes_writer.get_bytes should be [u8] or [mutable u8] though, so I'm arbitrarily picking mutable for now. | ||||
| 2011-12-28 | libstd: Allow io writer to write mutable arrays | Erick Tryzelaar | -6/+6 | |
