aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* When copying function values, null out the destination's binding iff the ↵Roy Frostig2010-08-262-15/+24
| | | | source's binding is null.
* Add check to catch bug underlying issue #152. Fix will take longer.Graydon Hoare2010-08-261-1/+14
|
* un-XFAIL lib-map.rs now that rust stacks are large and it passes on linux.Roy Frostig2010-08-261-1/+0
|
* Test the hashmap for growth and rehashing.Roy Frostig2010-08-261-2/+69
|
* Workaround issue #152 in _uint.next_power_of_twoRoy Frostig2010-08-263-1/+51
|
* Add a "param handler" to demand_fn for use in automatic type parameter ↵Patrick Walton2010-08-261-12/+18
| | | | instantiation
* Tiny style cleanup in a pattern match in type.mlPatrick Walton2010-08-261-1/+1
|
* Typecheck function patternsPatrick Walton2010-08-251-9/+14
|
* Actually switch to using the bigger hashmap once a it finishes growing and ↵Roy Frostig2010-08-251-2/+4
| | | | rehashing.
* Insure bools remain 0x1 or 0x0 by having boolean-NOT not just be a simple ↵Roy Frostig2010-08-253-1/+20
| | | | bit-NOT.
* Add element to closure to hold captured tydesc (not body tydesc).Graydon Hoare2010-08-253-10/+12
|
* Merge obj-drop and closure-drop code, handles freeing bound exteriors now.Graydon Hoare2010-08-254-44/+61
|
* First pass of updating the in-memory layout of closures, for issue 81.Graydon Hoare2010-08-253-121/+153
|
* Fix edge case in uint->string conversion.Graydon Hoare2010-08-252-1/+2
|
* Janitorial work on obj box / body / field terminology, following froystig's ↵Graydon Hoare2010-08-254-35/+40
| | | | brave lead.
* Fix ghastly typestate bug breaking nested functions.Graydon Hoare2010-08-252-8/+59
|
* Introduce "type patterns" to the typechecker in preparation for function ↵Patrick Walton2010-08-251-36/+51
| | | | type-param inference
* Obj ctors are not obj fns so translate their frame entry as such.Roy Frostig2010-08-251-1/+1
|
* Fixed the location of the failing XFailed test.Michael Bebenita2010-08-241-1/+1
|
* Implemented an lock free queue based on this paper ↵Michael Bebenita2010-08-2413-25/+404
| | | | http://www.cs.rochester.edu/~scott/papers/1996_PODC_queues.pdf, the "lock free queue" we had before wasn't lock free at all.
* Comment on env var required for std.dbg to do any logging.Roy Frostig2010-08-241-0/+3
|
* Add support in dbg.debug_obj for printing the obj body.Roy Frostig2010-08-242-4/+19
|
* Add std.dbg module for inspecting rust values in memory.Roy Frostig2010-08-243-0/+145
|
* First successful hashmap lookups. Yay.Graydon Hoare2010-08-241-0/+4
|
* Fix mod-bug in std.map, work around bug in closure typaram capture, enable ↵Graydon Hoare2010-08-242-7/+13
| | | | insert-tests in lib-map.rs.
* Fix residual nonsense of storing crate-rel displacements in a closure pair ↵Graydon Hoare2010-08-241-12/+4
| | | | (made it impossible to pass between crates, of course).
* Remove obsolete TODO about checking for return statementsPatrick Walton2010-08-241-2/+0
|
* Elide preempt check on thunk and ctor frames. Wins 8kb on rustc.Graydon Hoare2010-08-241-6/+11
|
* Avoid emitting unnecessary frame glue. Wins a couple hundred kb of rustc.Graydon Hoare2010-08-241-33/+74
|
* Avoid iterating ty parts on drop when there are no heap pointers in ty. Wins ↵Graydon Hoare2010-08-242-5/+31
| | | | several tens of kb on rustc.
* Shrink size of glue calls. Wins a few tens of kb on rustc.Graydon Hoare2010-08-241-6/+2
|
* Add lexer.reader to rustc for tracking position, char conversion, holding ↵Graydon Hoare2010-08-241-0/+89
| | | | keyword tables.
* Make _str.eq suitable for map.hashmap; add _str.hash that does simple djb-hash.Graydon Hoare2010-08-241-1/+12
|
* Make error reporting slightly more regular.Graydon Hoare2010-08-242-3/+4
|
* Rename lib tests, enable lib-int.rs using _str.eq for now.Graydon Hoare2010-08-246-20/+19
|
* Add very basic char / str literal handling to rustc lexer.Graydon Hoare2010-08-241-0/+56
|
* Tidy lexer.Graydon Hoare2010-08-241-15/+23
|
* Handle line-comments and a few more symbols in rustc lexer.Graydon Hoare2010-08-231-4/+81
|
* Merge remote branch 'tohava/master'Graydon Hoare2010-08-237-70/+166
|\ | | | | | | | | Conflicts: src/boot/fe/ast.ml
| * Modified parser to handle alt type andadded a few testsOr Brostovski2010-08-217-66/+166
| | | | | | | | | | | | | | | | | | | | | | | | ast.ml - modified arm types for easier polymorphism - fixed a bug in fmt_type_arm dead.ml - modified arm types for easier polymorphism common.ml - added 'either' - added some useful auxiliary functions item.ml - modified arm code to be more polymorphic and handle both alt-tag and alt-type, also fixed the problematic case in bad-alt.rs Makefile - added XFAIL for new alt-type test bad-alt.rs - added test for invalid alt syntax alt-type-simple.rs - added simple test for alt type
| * Merge branch 'master' of git://github.com/graydon/rustOr Brostovski2010-08-0721-147/+410
| |\ | | | | | | | | | | | | Conflicts: src/boot/fe/ast.ml
* | | Warn when the value of "spawn" is unused, as it's uselessPatrick Walton2010-08-201-1/+5
| | |
* | | Stringify op tokens.Graydon Hoare2010-08-201-2/+29
| | |
* | | Redo _uint.to_str to work with chars and only one tmp str, built left-to-right.Graydon Hoare2010-08-201-19/+37
| | |
* | | Accumulate number tokens properly, handle newline, EQ and EQEQ in rustc lexer.Graydon Hoare2010-08-201-17/+28
| | |
* | | Lex commas too in the self-hosted compilerPatrick Walton2010-08-201-0/+1
| | |
* | | Use pattern matching for the one-byte structural symbols in the self-hosted ↵Patrick Walton2010-08-201-10/+12
| | | | | | | | | | | | compiler
* | | XFAIL _io test because darwin and winnt are burning.Roy Frostig2010-08-201-0/+1
| | |
* | | Test the buffered reader and writer in _io.Roy Frostig2010-08-203-4/+61
| | |
* | | Allow every test to make a .tmp file that is cleaned up before execution.Roy Frostig2010-08-202-6/+30
| | |