aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge commit 'jyasskin/work'Graydon Hoare2010-08-1016-97/+145
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/rt/rust_dom.cpp src/rt/rust_upcall.cpp
| * | | | Add names to tasks and domains. These can either be an explicit literal stringJeffrey Yasskin2010-08-0915-89/+141
| | | | | | | | | | | | | | | | | | | | | | | | | after the "spawn" keyword, or implicitly the call expression used to start the spawn.
| * | | | Fix LLVM translation of modules.Jeffrey Yasskin2010-08-081-1/+0
| | |_|/ | |/| |
* | | | Fix a deque size bookkeeping bug.Roy Frostig2010-08-101-1/+3
| | | |
* | | | Get object's captured typarams when querying for an object method's typarams ↵Roy Frostig2010-08-091-33/+61
| | | | | | | | | | | | | | | | in Trans. Together with commit 982dcc29bf6cd41e967a0befe0c6195811cd6a55 this... Closes #138.
* | | | Get object's captured typarams when calculating sizes in the backend's ↵Roy Frostig2010-08-097-80/+139
| | | | | | | | | | | | | | | | fn-prologue-generation for object methods.
* | | | XFailed some tests.Michael Bebenita2010-08-091-0/+7
| | | |
* | | | Synthesize a flush_chan upcall right before a channel's ref_count drops to ↵Michael Bebenita2010-08-099-55/+113
| | | | | | | | | | | | | | | | zero. This should only happen in the Rust code and not in the drop glue, or on the unwind path. This change allows the task owning the channel to block on a flush and delete its own channel. This change also cleans up some code around rust_port and rust_chan.
* | | | Fixed deadlock in the scheduler caused by condition variables.Michael Bebenita2010-08-094-11/+13
| | | |
* | | | Added peek() to ptr_vec.Michael Bebenita2010-08-092-0/+8
| | | |
* | | | Made ref_count signed to help detect negative ref_count bugs.Michael Bebenita2010-08-091-1/+1
| | | |
* | | | Some pretty printing in the runtime.Michael Bebenita2010-08-096-18/+66
| | | |
* | | | Added class to abstract away platform specific thread primitives.Michael Bebenita2010-08-093-2/+25
| | | |
* | | | Made the runtime keep track of all live domains and print their state.Michael Bebenita2010-08-092-0/+16
| | | |
* | | | Added the RUST_SEED env variable to seed the Rust task scheduler -- helpful ↵Michael Bebenita2010-08-091-5/+14
| | | | | | | | | | | | | | | | when debugging task race conditions within a single thread domain.
* | | | Added a python script to run test cases repeatedly. This helps with ↵Michael Bebenita2010-08-091-0/+81
| | | | | | | | | | | | | | | | debugging race conditions.
* | | | Added "none" option to rust_log env string to disable all log output.Michael Bebenita2010-08-091-0/+1
| | | |
* | | | Added timed_wait to condition variables.Michael Bebenita2010-08-093-5/+26
| | | |
* | | | Changed seemingly incorrect stk_field_valgrind_id.Michael Bebenita2010-08-091-1/+1
| | | |
* | | | Changed array_list::replace() return behavior.Michael Bebenita2010-08-092-8/+10
| | | |
* | | | Updated/added test cases.Michael Bebenita2010-08-0910-24/+112
|/ / /
* | | Added forgotten handling for alt_type_else, and also for stmt_noteOr Brostovski2010-08-061-10/+26
| | |
* | | Added AST pretty printing for slice expressionOr Brostovski2010-08-061-1/+28
| | |
* | | Added AST logging, and modified AST for consistent handling of alt stmts.Or Brostovski2010-08-062-19/+59
| | | | | | | | | | | | | | | | | | | | | - Modified the arm types, instead of a single arm type, there are now 2 (soon to be 3) arm types, one for each type of alt statement - Added AST logging for constrained type (see fmt_constrained) - Added AST logging for STMT_alt_type - Created a generic fmt_arm for use with all alt statements
* | | Implement _str.len() to return the number of bytes, rename it to byte_len(),Jeffrey Yasskin2010-08-064-5/+33
| | | | | | | | | | | | and add a test.
* | | Add an int->str conversion function.Jeffrey Yasskin2010-08-064-12/+29
| | | | | | | | | | | | The test currently fails because string equality isn't implemented.
* | | Change the destructor-ordering test to use channels instead of a shared ↵Jeffrey Yasskin2010-08-062-39/+79
| | | | | | | | | | | | | | | | | | | | | mutable object. This test used to take advantage of a hole in the type system that allows objects with destructors to refer to stateful objects.
* | | Fix LLVM translation of modules.Jeffrey Yasskin2010-08-062-14/+29
| | |
* | | Redo yesterday's buf_writer-wrapper in a less silly and convoluted way. Add ↵Roy Frostig2010-08-062-43/+59
| | | | | | | | | | | | integer stringifying functions to _int module.
* | | Accept uint literals as literal patterns.Roy Frostig2010-08-061-1/+4
| | |
* | | Degrade emitter size cache to just a flat hashtable with regular flushes ↵Graydon Hoare2010-08-053-33/+73
| | | | | | | | | | | | (sigh) and re-introduce horrible bounce-off-spill hack for DIV, MUL, etc.
* | | Something is wrong with the emitter size cache; disable for now, possibly ↵Graydon Hoare2010-08-051-1/+3
| | | | | | | | | | | | put out flaming tinderboxes.
* | | Add a valgrind suppression for Snow Leopard dyldPatrick Walton2010-08-051-1/+11
| | |
* | | Mop up workarounds in stdlib no longer required as issue #93 is closed.Graydon Hoare2010-08-053-24/+11
| | |
* | | Move 'as' precedence up to just above relational; support indexing str and ↵Graydon Hoare2010-08-056-37/+67
| | | | | | | | | | | | vec by all integral types. Closes #94.
* | | Add to std._io some formatter/type-specific-writer mechanism. Make a few ↵Roy Frostig2010-08-043-1/+75
| |/ |/| | | | | type-specific buffered writers as wrappers of buf_writer.
* | Thread argument-types down to internal_check_outer_lval in type.ml, in ↵Graydon Hoare2010-08-041-9/+16
| | | | | | | | preparation for trying to infer type params from call args.
* | Add per-platform file-open flags to std.os. Open buffers as desired in std._io.Roy Frostig2010-08-044-6/+73
| |
* | Add a CHECK_XFAILS target that inverts the sense of check: it tries to ↵Graydon Hoare2010-08-041-0/+8
| | | | | | | | compile and run the tests marked as XFAILs.
* | Fix pexp parser to do left-associativity, not right. Closes #130.Graydon Hoare2010-08-043-36/+91
| |
* | Add a buffered writer to stdlib _io module.Roy Frostig2010-08-043-7/+50
| |
* | Address _io.new_buf FIXME now that issue #93 is closed.Roy Frostig2010-08-041-9/+1
|/
* Bah. xfail arithmetic-interference for now; linux tinderbox is burning on it ↵Graydon Hoare2010-08-041-0/+2
| | | | and it's late.
* Kill the preallocator, install a sane replacement. Closes #131. And probably ↵Graydon Hoare2010-08-045-263/+123
| | | | a lot of others.
* Merge branch 'master' of [email protected]:graydon/rustGraydon Hoare2010-08-031-4/+8
|\
| * Have hashmap's insert method overwrite on existing-key insertion and return ↵Roy Frostig2010-08-031-4/+8
| | | | | | | | true iff overwrite did not occur.
* | Factor append_quad out of IL.emit_full, for use elsewhere.Graydon Hoare2010-08-031-4/+12
|/
* Remove dead implicit-destinations logic from IL.Graydon Hoare2010-08-035-20/+11
|
* More stdlib hashmap work. Add a simple test and XFAIL it due to a ↵Roy Frostig2010-08-033-21/+47
| | | | valgrind-spotted UMR.
* Address _vec.map allocation FIXME. Add test.Roy Frostig2010-08-032-6/+14
|