aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-0720-147/+409
| |\ | | | | | | | | | | | | 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-201-6/+28
| | |
* | | Fix some lexer bugs in rustc. Beginning to lex stuff now.Graydon Hoare2010-08-201-3/+7
| | |
* | | Add ungetc and re-indent _io.rs.Graydon Hoare2010-08-204-95/+102
| | |
* | | Re-XFAIL destructor-ordering.rs. Valgrind doesn't like it (though oddly, ↵Graydon Hoare2010-08-201-0/+1
| | | | | | | | | | | | doesn't make the tbox burn).
* | | Expand rustc lexer to do almost-nearly-nontrivial stuff.Graydon Hoare2010-08-204-4/+201
| | |
* | | Add _uint module to std, move some code around.Graydon Hoare2010-08-206-60/+75
| | |
* | | Modify session to report errors in an emacs-parser-friendlier way.Graydon Hoare2010-08-201-2/+2
| | |
* | | Un-XFAIL some tests that (seem to) rely on large task stacksPatrick Walton2010-08-201-3/+0
| | |
* | | Disable task-growing logic for now until #151 is fixedPatrick Walton2010-08-201-1/+10
| | |
* | | Use str += u8 in rustc lexer.Graydon Hoare2010-08-201-0/+4
| | |
* | | Support single-element append on vec, str. Closes #44.Graydon Hoare2010-08-204-8/+90
| | |