f043ee1d33Added Eclipse's .project and .cproject to .gitignore.
Michael Bebenita
2010-08-09 06:55:27 -0700
d647c163fdUpdated/added test cases.
Michael Bebenita
2010-08-09 06:53:37 -0700
b71340552fAdd names to tasks and domains. These can either be an explicit literal string after the "spawn" keyword, or implicitly the call expression used to start the spawn.
Jeffrey Yasskin
2010-08-08 19:24:35 -0700
df75a968c5Fix LLVM translation of modules.
Jeffrey Yasskin
2010-07-23 19:27:55 -0700
4467d7683dMerge branch 'master' of git://github.com/graydon/rust
Or Brostovski
2010-08-07 16:43:08 +0300
b1c86beea8Added AST pretty printing for communication alt statement, closes issue 19.
Or Brostovski
2010-08-07 13:36:35 +0300
bd7835effaAdd Or to the AUTHORS file.
Graydon Hoare
2010-08-06 17:43:15 -0700
459e860457Added forgotten handling for alt_type_else, and also for stmt_note
Or Brostovski
2010-08-06 17:15:55 +0300
122ea68b12Added AST pretty printing for slice expression
Or Brostovski
2010-08-06 16:11:15 +0300
a0cc4817e9Added AST logging, and modified AST for consistent handling of alt stmts.
Or Brostovski
2010-08-05 03:44:29 +0300
3f6e8ffe64Implement _str.len() to return the number of bytes, rename it to byte_len(), and add a test.
Jeffrey Yasskin
2010-07-25 00:36:03 -0700
581a95a804Add an int->str conversion function. The test currently fails because string equality isn't implemented.
Jeffrey Yasskin
2010-07-24 16:01:34 -0700
987589e946Change the destructor-ordering test to use channels instead of a shared 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.
Jeffrey Yasskin
2010-07-24 12:33:29 -0700
fdb842f9e6Fix LLVM translation of modules.
Jeffrey Yasskin
2010-07-23 19:27:55 -0700
80a1cd3d1eRedo yesterday's buf_writer-wrapper in a less silly and convoluted way. Add integer stringifying functions to _int module.
Roy Frostig
2010-08-06 15:48:23 -0700
514fb4b321Accept uint literals as literal patterns.
Roy Frostig
2010-08-06 15:43:59 -0700
7d38caf9c3Added forgotten handling for alt_type_else, and also for stmt_note
Tohava
2010-08-06 17:15:55 +0300
db561b52ffDegrade emitter size cache to just a flat hashtable with regular flushes (sigh) and re-introduce horrible bounce-off-spill hack for DIV, MUL, etc.
Graydon Hoare
2010-08-05 17:44:35 -0700
9da8101cc8Something is wrong with the emitter size cache; disable for now, possibly put out flaming tinderboxes.
Graydon Hoare
2010-08-05 13:26:28 -0700
53b01dc006Add a valgrind suppression for Snow Leopard dyld
Patrick Walton
2010-08-05 12:00:34 -0700
935b4347e2Mop up workarounds in stdlib no longer required as issue #93 is closed.
Graydon Hoare
2010-08-05 10:10:39 -0700
29987b56e1Move 'as' precedence up to just above relational; support indexing str and vec by all integral types. Closes#94.
Graydon Hoare
2010-08-05 10:04:11 -0700
718c0b5963Add to std._io some formatter/type-specific-writer mechanism. Make a few type-specific buffered writers as wrappers of buf_writer.
Roy Frostig
2010-08-04 23:09:25 -0700
ce79b0e492Merge branch 'master' of git://github.com/graydon/rust
Tohava
2010-08-05 04:19:46 +0300
6e98a3b64fThread argument-types down to internal_check_outer_lval in type.ml, in preparation for trying to infer type params from call args.
Graydon Hoare
2010-08-04 17:50:57 -0700
0f53d03139Added AST logging, and modified AST for consistent handling of alt stmts.
Tohava
2010-08-05 03:44:29 +0300
c17ea956a2Add per-platform file-open flags to std.os. Open buffers as desired in std._io.
Roy Frostig
2010-08-04 17:14:11 -0700
cbe68d4ccbAdd a CHECK_XFAILS target that inverts the sense of check: it tries to compile and run the tests marked as XFAILs.
Graydon Hoare
2010-08-04 15:29:59 -0700
815424c2ecFix pexp parser to do left-associativity, not right. Closes#130.
Graydon Hoare
2010-08-04 13:44:09 -0700
1a8d609e89Add a buffered writer to stdlib _io module.
Roy Frostig
2010-08-04 12:59:48 -0700
b9075c23c0Address _io.new_buf FIXME now that issue #93 is closed.
Roy Frostig
2010-08-04 11:24:09 -0700
ac4c5ae19bBah. xfail arithmetic-interference for now; linux tinderbox is burning on it and it's late.
Graydon Hoare
2010-08-04 00:37:25 -0700
7595aca5e3Kill the preallocator, install a sane replacement. Closes#131. And probably a lot of others.
Graydon Hoare
2010-08-04 00:27:36 -0700
22c0776247Merge branch 'master' of git@github.com:graydon/rust
Graydon Hoare
2010-08-03 19:02:09 -0700
d1a67574c6Factor append_quad out of IL.emit_full, for use elsewhere.
Graydon Hoare
2010-08-03 18:59:26 -0700
299657550eHave hashmap's insert method overwrite on existing-key insertion and return true iff overwrite did not occur.
Roy Frostig
2010-08-03 18:57:44 -0700
c014748c01Remove dead implicit-destinations logic from IL.
Graydon Hoare
2010-08-03 18:52:49 -0700
6277b462e9More stdlib hashmap work. Add a simple test and XFAIL it due to a valgrind-spotted UMR.
Roy Frostig
2010-08-03 18:43:57 -0700
559e1e7e01Use a better heuristic to determine whether we're on a Mac, issue 69
Patrick Walton
2010-08-02 13:26:35 -0700
e85f6ca4d3Patch up another place where the newly-expanded 'closure-ptr' implicit arg needs to be passed. Amazingly, it mostly-worked without this. On some platforms.
Graydon Hoare
2010-07-30 19:14:42 -0700
1ffcb7d21dMerge branch 'master' of git@github.com:graydon/rust
Graydon Hoare
2010-07-29 16:04:38 -0700
e08ed23a80Make note of new literal forms in docs.
Graydon Hoare
2010-07-29 16:04:22 -0700
c7714b86eaXFAIL all task-related tests for now; yesterday's work on notification proxies broke inter-task shutdown.
Graydon Hoare
2010-07-29 12:47:37 -0700
0b9c882d66Log join-wait count under rust_log::TASK bits, not ::ALL.
Graydon Hoare
2010-07-29 10:41:22 -0700
74a79fff3aAdd a bunch of comm tests.
Michael Bebenita
2010-07-28 16:58:17 -0700
fa70212c86Log dead tasks when dom is just waiting for refcounts to drop.
Michael Bebenita
2010-07-28 16:57:58 -0700
a5b7a5202cNote that we keep running the main loop until all task refcounts are zero.
Michael Bebenita
2010-07-28 16:49:16 -0700
e1264ac59cAdd some missing headers to the Makefile's RUNTIME_HDR list.
Michael Bebenita
2010-07-28 16:48:34 -0700
4246d567b7Move ports out into their own file, add data_message and make communication system use it (and proxies) instead of existing token scheme.
Michael Bebenita
2010-07-28 16:46:13 -0700
4ff8e15128Move notification-messages out into their own file and unify into notify_message, make them use proxies, cache task proxies in dom.
Michael Bebenita
2010-07-28 16:24:50 -0700
defd8a66eaRename rust_proxy_delegate to maybe_proxy, flesh out logic in it. Add strong-ref distinction on rust_proxy.
Michael Bebenita
2010-07-28 15:17:30 -0700
30b3f8a117Add rust_dom::log_state, for logging the running/blocked/dead vectors per scheduling iteration.
Michael Bebenita
2010-07-28 14:53:08 -0700
5db5eb0c55Null rust_task::cond on wakeup, add asserts and logging to block/wakeup.
Michael Bebenita
2010-07-28 14:45:44 -0700
e327aa5093Teach task_owned and dom_owned to find their dom via consistent interface.
Michael Bebenita
2010-07-28 00:40:45 -0700
9fe4b0d404Add modeline / file-local emacs var blocks.
Michael Bebenita
2010-07-28 00:36:35 -0700
6c0ce25dbfMove rust_cond.
Michael Bebenita
2010-07-28 00:34:28 -0700
06b52b70dbFix typos in comments, delete obsolete comments and dead commented code.
Michael Bebenita
2010-07-28 12:36:59 -0700
cc4906ba79Wrap long lines.
Michael Bebenita
2010-07-28 00:11:28 -0700
436efdcb4fAdd C++ wrapper around uthash.
Michael Bebenita
2010-07-28 00:06:04 -0700
dbcc9b36b1Let circular buffers actually grow to max sz, reset _next when resizing.
Michael Bebenita
2010-07-28 00:03:47 -0700
c1795a1046Change unread-on-destroy condition for circular buffer to merely a warning.
Michael Bebenita
2010-07-28 00:02:00 -0700
c5e0ea7276Add comment explaining NULL case in circular_buffer::enqueue and add logging to ::dequeue.
Michael Bebenita
2010-07-28 00:01:31 -0700
d6cba83322Add peek method to circular buffer.
Michael Bebenita
2010-07-28 00:01:06 -0700
17fa6bfd9aChange _unit_sz to unit_sz and make public in circular_buffer.
Michael Bebenita
2010-07-27 23:51:04 -0700
60b0486c11Make circular buffer use only power-of-two sizes, cheaper arithmetic.
Michael Bebenita
2010-07-27 23:38:16 -0700
d786469785Add a warning interface to rust_srv.
Michael Bebenita
2010-07-27 23:13:33 -0700
6afb6c767eMove allocation-tracking into rust_srv.
Michael Bebenita
2010-07-27 23:10:31 -0700
712249d6b8Log a separator when logging switches between threads.
Michael Bebenita
2010-07-27 23:07:27 -0700
7ead107290array_list improvements.
Michael Bebenita
2010-07-27 23:05:13 -0700
dfcf21ca82Another deque test commented out.
Roy Frostig
2010-07-28 18:14:33 -0700
3c22e79b77Burn the mac and win trees less. Deque test is XFAILed, despite doing fine on Linux.
Roy Frostig
2010-07-28 17:50:07 -0700
c489af8e1aTest the deque some more.
Roy Frostig
2010-07-28 17:31:41 -0700
237b9d4a64Test the deque more and fix uncovered off-by-one bug.
Roy Frostig
2010-07-28 16:34:22 -0700
f282c5ccc0Get slots in trans_tag using Semant tables. Closes#133.
Roy Frostig
2010-07-28 15:04:58 -0700
a9ad2e98e3Refer to issue #136 at the offending source point.
Roy Frostig
2010-07-28 14:11:56 -0700
596d19e2eaTest the deque a bit. Give it a get-by-index method. Fix two uncovered state-calculation bugs --- one decently, the other with an ugly hack. Bug on the latter coming right up.
Roy Frostig
2010-07-28 14:00:44 -0700
8030757624Switch machine-type lexemes to use suffixes. Remove support for foo(bar) as a cast notation. Closes#129.
Graydon Hoare
2010-07-27 19:21:51 -0700
6662aeb779Calm some LLVM indigestion of last change.
Graydon Hoare
2010-07-27 17:23:41 -0700
4d31cf1dc5Distill semantics of use-def maps to fewer and more-obvious words.
Graydon Hoare
2010-07-27 11:19:43 -0700
b7d7f70d09Slight shaving on RA, no more optimizing today. It's fast enough for now.
Graydon Hoare
2010-07-26 16:55:11 -0700
1a61fb8eb7Adjust testcase to cover issue #91, which was actually fixed back in commit f02f9cbf29. Closes#91.
Roy Frostig
2010-07-26 15:52:59 -0700
3d69407b51Fix numerous non-linearities and O(sizeof(crate)) issues in typestate system's dataflow algorithm. No longer substantial in profile.
Graydon Hoare
2010-07-26 15:44:18 -0700
4b97b4e79dMove the test suite to the "as" form for casts. XFAIL a few tests for LLVM.
Patrick Walton
2010-07-26 15:20:13 -0700
ec5efd2577Note the typestate dataflow timing. The culprit is revealed.
Graydon Hoare
2010-07-26 12:31:43 -0700
c4897f849cAdd a cumulative timer count to be sure we're getting everything.
Graydon Hoare
2010-07-26 12:31:08 -0700
1b41d7be1aChange ctxt_crate_main to an Ast.name.
Graydon Hoare
2010-07-26 12:30:43 -0700
025b1e4133Do some more iflog-guarding.
Graydon Hoare
2010-07-26 12:30:02 -0700
085cd2ee7dvec_alloc takes four arguments these days, not three.
Roy Frostig
2010-07-25 22:21:07 -0700
beca62e2e3Attempt 2. This time actually reading my own diffs before committing.
Roy Frostig
2010-07-25 22:07:21 -0700
b9f82d85f9Attempt number 1 at extinguishing the windows tree remotely (apologies to those hacking on Sunday evening PST).
Roy Frostig
2010-07-25 22:05:39 -0700
5b6e714d05Expose an RNG (the one used by our runtime) to Rust via std.
Roy Frostig
2010-07-25 21:45:09 -0700
7ef9e82f51Don't write to NULL after calling C natives returning void.
Roy Frostig
2010-07-25 21:27:28 -0700