Jeffrey Yasskin
|
987589e946
|
Change 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.
|
2010-08-06 17:17:04 -07:00 |
|
Jeffrey Yasskin
|
fdb842f9e6
|
Fix LLVM translation of modules.
|
2010-08-06 17:14:59 -07:00 |
|
Roy Frostig
|
80a1cd3d1e
|
Redo yesterday's buf_writer-wrapper in a less silly and convoluted way. Add integer stringifying functions to _int module.
|
2010-08-06 15:48:23 -07:00 |
|
Roy Frostig
|
514fb4b321
|
Accept uint literals as literal patterns.
|
2010-08-06 15:44:09 -07:00 |
|
Graydon Hoare
|
db561b52ff
|
Degrade emitter size cache to just a flat hashtable with regular flushes (sigh) and re-introduce horrible bounce-off-spill hack for DIV, MUL, etc.
|
2010-08-05 17:44:35 -07:00 |
|
Graydon Hoare
|
9da8101cc8
|
Something is wrong with the emitter size cache; disable for now, possibly put out flaming tinderboxes.
|
2010-08-05 13:28:43 -07:00 |
|
Patrick Walton
|
53b01dc006
|
Add a valgrind suppression for Snow Leopard dyld
|
2010-08-05 12:00:34 -07:00 |
|
Graydon Hoare
|
935b4347e2
|
Mop up workarounds in stdlib no longer required as issue #93 is closed.
|
2010-08-05 10:10:39 -07:00 |
|
Graydon Hoare
|
29987b56e1
|
Move 'as' precedence up to just above relational; support indexing str and vec by all integral types. Closes #94.
|
2010-08-05 10:04:11 -07:00 |
|
Roy Frostig
|
718c0b5963
|
Add to std._io some formatter/type-specific-writer mechanism. Make a few type-specific buffered writers as wrappers of buf_writer.
|
2010-08-04 23:09:33 -07:00 |
|
Graydon Hoare
|
6e98a3b64f
|
Thread argument-types down to internal_check_outer_lval in type.ml, in preparation for trying to infer type params from call args.
|
2010-08-04 17:50:57 -07:00 |
|
Roy Frostig
|
c17ea956a2
|
Add per-platform file-open flags to std.os. Open buffers as desired in std._io.
|
2010-08-04 17:14:17 -07:00 |
|
Graydon Hoare
|
cbe68d4ccb
|
Add a CHECK_XFAILS target that inverts the sense of check: it tries to compile and run the tests marked as XFAILs.
|
2010-08-04 15:29:59 -07:00 |
|
Graydon Hoare
|
815424c2ec
|
Fix pexp parser to do left-associativity, not right. Closes #130.
|
2010-08-04 13:44:22 -07:00 |
|
Roy Frostig
|
1a8d609e89
|
Add a buffered writer to stdlib _io module.
|
2010-08-04 12:59:48 -07:00 |
|
Roy Frostig
|
b9075c23c0
|
Address _io.new_buf FIXME now that issue #93 is closed.
|
2010-08-04 11:24:09 -07:00 |
|
Graydon Hoare
|
ac4c5ae19b
|
Bah. xfail arithmetic-interference for now; linux tinderbox is burning on it and it's late.
|
2010-08-04 00:37:25 -07:00 |
|
Graydon Hoare
|
7595aca5e3
|
Kill the preallocator, install a sane replacement. Closes #131. And probably a lot of others.
|
2010-08-04 00:27:36 -07:00 |
|
Graydon Hoare
|
22c0776247
|
Merge branch 'master' of git@github.com:graydon/rust
|
2010-08-03 19:02:09 -07:00 |
|
Graydon Hoare
|
d1a67574c6
|
Factor append_quad out of IL.emit_full, for use elsewhere.
|
2010-08-03 18:59:26 -07:00 |
|
Roy Frostig
|
299657550e
|
Have hashmap's insert method overwrite on existing-key insertion and return true iff overwrite did not occur.
|
2010-08-03 18:57:54 -07:00 |
|
Graydon Hoare
|
c014748c01
|
Remove dead implicit-destinations logic from IL.
|
2010-08-03 18:52:49 -07:00 |
|
Roy Frostig
|
6277b462e9
|
More stdlib hashmap work. Add a simple test and XFAIL it due to a valgrind-spotted UMR.
|
2010-08-03 18:43:57 -07:00 |
|
Roy Frostig
|
5b2451c231
|
Address _vec.map allocation FIXME. Add test.
|
2010-08-03 18:18:19 -07:00 |
|
Roy Frostig
|
5796ebb1e7
|
Address _vec.grow FIXME, as issue #89 has been closed.
|
2010-08-03 18:10:18 -07:00 |
|
Roy Frostig
|
d5fd81174e
|
Pass parametric types by-alias in various stdlib spots.
|
2010-08-03 18:06:31 -07:00 |
|
Roy Frostig
|
085790a73a
|
More stdlib hashmap bits (plus some drive-by extras).
|
2010-08-03 17:52:35 -07:00 |
|
Roy Frostig
|
7b91933eed
|
Avoid mem cmp mem in trans even though it's an X86ism becase we don't always catch it later on.
|
2010-08-03 17:42:22 -07:00 |
|
Graydon Hoare
|
a1ecdb103d
|
Fix some naughtiness of handling newlines in bracequotes and multi-line comments. Closes #142.
|
2010-08-03 16:28:50 -07:00 |
|
Graydon Hoare
|
1fc4e9fcc6
|
Add tests and fix pexp bug. Closes #141.
|
2010-08-03 12:20:29 -07:00 |
|
Patrick Walton
|
559e1e7e01
|
Use a better heuristic to determine whether we're on a Mac, issue 69
|
2010-08-02 13:26:35 -07:00 |
|
Graydon Hoare
|
e85f6ca4d3
|
Patch up another place where the newly-expanded 'closure-ptr' implicit arg needs to be passed. Amazingly, it mostly-worked without this. On some platforms.
|
2010-07-30 19:14:42 -07:00 |
|
Graydon Hoare
|
1ffcb7d21d
|
Merge branch 'master' of git@github.com:graydon/rust
|
2010-07-29 16:04:38 -07:00 |
|
Graydon Hoare
|
e08ed23a80
|
Make note of new literal forms in docs.
|
2010-07-29 16:04:22 -07:00 |
|
Graydon Hoare
|
c7714b86ea
|
XFAIL all task-related tests for now; yesterday's work on notification proxies broke inter-task shutdown.
|
2010-07-29 12:47:37 -07:00 |
|
Graydon Hoare
|
0b9c882d66
|
Log join-wait count under rust_log::TASK bits, not ::ALL.
|
2010-07-29 10:41:22 -07:00 |
|
Michael Bebenita
|
74a79fff3a
|
Add a bunch of comm tests.
|
2010-07-28 20:30:30 -07:00 |
|
Michael Bebenita
|
fa70212c86
|
Log dead tasks when dom is just waiting for refcounts to drop.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
a5b7a5202c
|
Note that we keep running the main loop until all task refcounts are zero.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
e1264ac59c
|
Add some missing headers to the Makefile's RUNTIME_HDR list.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
4246d567b7
|
Move ports out into their own file, add data_message and make communication system use it (and proxies) instead of existing token scheme.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
4ff8e15128
|
Move notification-messages out into their own file and unify into notify_message, make them use proxies, cache task proxies in dom.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
defd8a66ea
|
Rename rust_proxy_delegate to maybe_proxy, flesh out logic in it. Add strong-ref distinction on rust_proxy.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
30b3f8a117
|
Add rust_dom::log_state, for logging the running/blocked/dead vectors per scheduling iteration.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
5db5eb0c55
|
Null rust_task::cond on wakeup, add asserts and logging to block/wakeup.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
e327aa5093
|
Teach task_owned and dom_owned to find their dom via consistent interface.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
9fe4b0d404
|
Add modeline / file-local emacs var blocks.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
6c0ce25dbf
|
Move rust_cond.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
06b52b70db
|
Fix typos in comments, delete obsolete comments and dead commented code.
|
2010-07-28 20:30:29 -07:00 |
|
Michael Bebenita
|
cc4906ba79
|
Wrap long lines.
|
2010-07-28 20:30:29 -07:00 |
|