Commit Graph

  • 15ef6c12d9 Modify _io's fd_buf_reader to do something slightly more useful: produce multiple buffers on demand. Graydon Hoare 2010-07-13 14:24:47 -07:00
  • 40d6aacb82 Add differently-typed refcount synonyms to _str and _vec. Graydon Hoare 2010-07-13 14:23:49 -07:00
  • 5063f0db96 Accept effect-qualified local item declarations. Graydon Hoare 2010-07-13 14:23:00 -07:00
  • 02bdc27f5a Doc fix. Graydon Hoare 2010-07-13 14:22:33 -07:00
  • c3945da2e4 Add another pile of LLVM bindings. Graydon Hoare 2010-07-12 23:48:44 -07:00
  • 8e6c1aad82 Delete some dead code in x86. Graydon Hoare 2010-07-12 23:48:14 -07:00
  • cd0c9dd4fb Start bringing in LLVM bindings. Graydon Hoare 2010-07-12 17:47:40 -07:00
  • 5860a25548 Merge branch 'contrib' Graydon Hoare 2010-07-12 15:14:27 -07:00
  • 6f5ef5815b Fix typos in the docs. Jeff Balogh 2010-07-12 23:14:28 +08:00
  • d5ba0c3410 Wrap long line. Graydon Hoare 2010-07-12 13:30:46 -07:00
  • 1843c99b66 Revert previous wrong-change on issue #106; was papering over wrongness in the runtime. Sad times. Closes #106 more correctly (and adds comment to explain). Graydon Hoare 2010-07-12 13:25:59 -07:00
  • 7c837b8c9b Correct doubly-linked list management logic; bug exposed during conversation on issue #106. Graydon Hoare 2010-07-12 13:11:58 -07:00
  • 314b906679 Add more tracing code to trans for refcount events. Graydon Hoare 2010-07-12 13:11:14 -07:00
  • 1d9212ba85 Fix formatting trivia in Ast.fmt_stmt_body. Jason Orendorff 2010-07-13 02:51:52 +08:00
  • b172862d21 Add a ty_children function to enumerate the children of any type Patrick Walton 2010-07-10 14:59:54 -07:00
  • b3cf793bd9 Fix post-stmt drop calculations. Closes #106. Graydon Hoare 2010-07-11 22:31:56 -07:00
  • 30c4070e3d Add a boot/README file explaining rustboot's organization a bit. Graydon Hoare 2010-07-11 14:54:43 -07:00
  • 2eafd280f8 Add Chris Double to AUTHORS.txt. Graydon Hoare 2010-07-10 20:22:14 -07:00
  • 2fcd99c3e6 Fix for compile error when using gcc 4.5.0 Chris Double 2010-07-10 05:20:05 +08:00
  • 5e0757f0ba Disable llvm-config logic due to optimistic assumption of "having the ocaml bindings". Also add NO_LLVM override make-var, for good measure. Graydon Hoare 2010-07-10 19:58:02 -07:00
  • ab3921f27e Catch cyclic imports harder. Add 2 tests to confirm. Graydon Hoare 2010-07-09 11:59:00 -07:00
  • fdaa723c4a Encode and decode DW_AT_rust_iterator on DW_TAG_subprogram DIEs. Graydon Hoare 2010-07-08 22:58:11 -07:00
  • ddf49afe08 Remove "two's complement unsigned" integer type descriptions from docs, nurr. Graydon Hoare 2010-07-08 22:05:07 -07:00
  • fc4338e584 Add rule for building shootout tests. Graydon Hoare 2010-07-08 21:56:03 -07:00
  • cbc31ea01e Add detection for cyclic imports. Graydon Hoare 2010-07-08 21:55:15 -07:00
  • 063f388534 Err kindly instead of asserting on duplicate mod declarations in crates. Roy Frostig 2010-07-08 15:13:25 -07:00
  • d344f151f9 Fix typo in token.ml. Matt Brubeck 2010-07-09 04:47:04 +08:00
  • 3f354b24dc Clean out rustc so it doesn't give the false impression of doing anything yet. Graydon Hoare 2010-07-08 10:45:34 -07:00
  • 48488b0dcf Build fix from jmuizelaar (on ocamlc versions that notice this bug; drat, not all do) Graydon Hoare 2010-07-08 08:25:12 -07:00
  • 004240e0bc Add mbrubeck. Graydon Hoare 2010-07-08 07:48:57 -07:00
  • 244ea68082 Issue 66: Multi-line comments Matt Brubeck 2010-07-08 17:01:25 +08:00
  • 115e14a32c Some more typestate tests. Graydon Hoare 2010-07-08 07:33:25 -07:00
  • d39753685b Doc tweak. Graydon Hoare 2010-07-08 07:28:21 -07:00
  • e813388df8 Numerous bug fixes to typestate algorithm. Graydon Hoare 2010-07-06 23:18:29 -07:00
  • d3cfbdaddd Correct flow-graph wiring for STMT_if. Graydon Hoare 2010-07-06 18:07:52 -07:00
  • 6302e18056 Wrap long line. Graydon Hoare 2010-07-06 17:06:46 -07:00
  • d4975a198b Add init(arg) to STMT_call precondition for each arg. Graydon Hoare 2010-07-06 13:52:41 -07:00
  • a3f2609630 Add native-clean target. Graydon Hoare 2010-07-06 13:51:39 -07:00
  • b1eeb9b825 Change from 'spawner' to 'supervisor' in rust_task, and add an unsupervise call. Graydon Hoare 2010-07-05 14:43:40 -07:00
  • 3175c83ff0 Un-XFAIL mutable-alias-vec.rs. Was only failing due to a typo, but a more thorough test revealed more bugs. Graydon Hoare 2010-07-05 14:43:02 -07:00
  • f360d222c8 Uint-ify various bits of _str and _vec, enrich _vec a bit. Graydon Hoare 2010-07-05 14:42:12 -07:00
  • fdf2eaac91 Divide vec fill by element size when reporting vec len. Graydon Hoare 2010-07-05 14:40:01 -07:00
  • 0fe1508a8a Use typed slot rather than AST slot in trans_for_loop. Graydon Hoare 2010-07-05 14:39:08 -07:00
  • b0aba6510a Teach the dwarf readers to handle udata, so we can link with util.option; add util.rs to std.rc. Graydon Hoare 2010-07-05 14:38:02 -07:00
  • ad61f02d36 Rename some stuff in lib/util.rs. Graydon Hoare 2010-07-05 14:36:39 -07:00
  • 6014384a5d Log completion on the many.rs test. Graydon Hoare 2010-07-04 22:41:57 -07:00
  • 75f0c36931 Perform valgrind-specific timing tweaks in a platform-sensitive manner. Graydon Hoare 2010-07-04 22:41:42 -07:00
  • 24afa7532f XFAIL native-mod when running MINGW_CROSS. Graydon Hoare 2010-07-04 22:41:04 -07:00
  • c21e12bc8b Move NO_VALGRIND check below MINGW_CROSS. Graydon Hoare 2010-07-04 22:40:19 -07:00
  • 2a413070c6 Preempt works on non-windows, just needed a little valgrind love to complete in a reasonable time. Graydon Hoare 2010-07-04 21:18:47 -07:00
  • f2861448ab Fix bug in win32 command-line arg processing. Graydon Hoare 2010-07-04 20:06:18 -07:00
  • 7f01af9555 XFAIL the remainder as until pwalton has a go at the typechecker. Branch is otherwise done, enough to merge anyway. Graydon Hoare 2010-07-04 17:01:22 -07:00
  • 1833fa1df2 Fix generic-derived-type.rs and generic-obj-with-derived-type.rs. Graydon Hoare 2010-07-04 16:42:58 -07:00
  • 8217ce6228 Improve type.ml logging. Graydon Hoare 2010-07-04 16:42:11 -07:00
  • ff6278f51a Fix rec-extend.rs test. Graydon Hoare 2010-07-04 16:11:56 -07:00
  • cae60cbaba Fix compile-fail/log-type-error.rs. Graydon Hoare 2010-07-04 16:02:12 -07:00
  • 658d9238b7 Clean in doc dir a little harder. Graydon Hoare 2010-07-04 15:39:53 -07:00
  • 1fa468460d Fix typo in upcall_recv log message. Graydon Hoare 2010-07-04 02:15:11 -07:00
  • 1ac6a5038d Comment-out glue interrupt-flag test; unclear why it breaks, but glue call-tree is always finite anyways so not a big deal for now. Graydon Hoare 2010-07-04 02:14:46 -07:00
  • 5db3f6ef6a Spill immediates with proper IL type (was making valgrind dislike obj-with-vec.rs). Graydon Hoare 2010-07-04 01:06:29 -07:00
  • bd514114cf Fix bug crashing valgrind in obj-recursion.rs. Graydon Hoare 2010-07-04 00:45:56 -07:00
  • 51c38d5903 Improve logging in drop paths. Graydon Hoare 2010-07-04 00:45:35 -07:00
  • 818fbfb325 Add more scratch files to .gitignore. Graydon Hoare 2010-07-03 23:56:50 -07:00
  • 5b2cc21e4f More corrections to drop/free path to accommodate TY_box. Graydon Hoare 2010-07-03 23:55:21 -07:00
  • f2ffa57ddf Add stamp target to doc/Makefile. Graydon Hoare 2010-07-03 21:48:31 -07:00
  • 965e5287ba Add concept-index entries to docs, plus fix a few minor nits. Graydon Hoare 2010-07-03 17:29:06 -07:00
  • df0fa603d0 Add version-stamp machinery (and put "Draft + datestamp" into doc footer). Graydon Hoare 2010-07-03 00:27:33 -07:00
  • cf19c5132a Hey, what's a coding sprint without an uncovered register allocation bug? No fun, I say. Graydon Hoare 2010-07-02 22:44:21 -07:00
  • c5a3c9736a Clarify manual's explanation of unwinding during failure. Add bit about soft vs. hard failure. Roy Frostig 2010-07-02 18:33:09 -07:00
  • 667d46bef9 Add an arr_iter2 function to common.ml Patrick Walton 2010-07-02 18:01:58 -07:00
  • 50e75e049b Deja vu all over again. Something makes me think this is a usability hazard. Graydon Hoare 2010-07-02 17:14:46 -07:00
  • 233be40e25 Terminology mop-up. Graydon Hoare 2010-07-02 17:13:02 -07:00
  • 46ebf12f40 You may get the feeling that all these changes look eerily the same. You would be correct. Graydon Hoare 2010-07-02 17:04:16 -07:00
  • 3070725cce Simplify type before deciding how to free it. Hint: calling free() on a running task is usually a bad idea. Graydon Hoare 2010-07-02 16:42:42 -07:00
  • 8660ce50a1 Merge branch 'master' of git@github.com:graydon/rust into exterior_and_mutable_types Graydon Hoare 2010-07-02 16:27:39 -07:00
  • 026cdf9747 Fix bug in clone logic; was ignoring the mutability-strip step in later rule. Graydon Hoare 2010-07-02 16:16:57 -07:00
  • 0be19e8a95 Teach severing logic to handle obj and fn types. Graydon Hoare 2010-07-02 16:12:58 -07:00
  • ec0de963e0 Wrap long line. Graydon Hoare 2010-07-02 16:12:34 -07:00
  • 63f9bd7b63 Trace mark and sever steps in GC. Graydon Hoare 2010-07-02 16:12:10 -07:00
  • b1d3e9697a Return LLVM to at least being able to run hello world. Graydon Hoare 2010-07-02 15:11:44 -07:00
  • 6d58987538 Walk (mut/constr stripped) TY_iso edges when boxed. Fault on non-boxed edges; they should not have made it past resolve. Graydon Hoare 2010-07-02 14:58:55 -07:00
  • 8b88fbf3aa Minor clarification/typo-correcting edits to manual sections up to and including Ref.Mem chapter. Roy Frostig 2010-07-02 13:39:42 -07:00
  • 1578715d12 Compensate for .tmp in run-fail tests. Graydon Hoare 2010-07-02 13:35:29 -07:00
  • 4d00333b1e New test of explicit deref operator. Graydon Hoare 2010-07-02 12:55:12 -07:00
  • 4ea41512fc Change make rules around running tests to not produce an .out file if test-run fails. Graydon Hoare 2010-07-02 12:54:01 -07:00
  • f522605f6b Permit mutables as comparable in all contexts. Graydon Hoare 2010-07-02 12:52:58 -07:00
  • f955d06ca9 Don't unify the *input* to init-box with a box constraint, nurr. Graydon Hoare 2010-07-02 12:33:51 -07:00
  • 0efce5ebe2 Improve logging in type. Graydon Hoare 2010-07-02 12:32:49 -07:00
  • 74775eff7e Box the args entering the vec-drop test. Graydon Hoare 2010-07-02 12:32:28 -07:00
  • 41fa7a404e Merge branch 'exterior_and_mutable_types' of git@github.com:graydon/rust into exterior_and_mutable_types Graydon Hoare 2010-07-02 12:03:46 -07:00
  • 285a4735b9 Parse effect-qualified type definitions. Graydon Hoare 2010-07-02 12:02:56 -07:00
  • a343133511 Allow formatting individual decl_params Patrick Walton 2010-07-02 11:54:07 -07:00
  • 49656f68b8 Gut the box[m][o] family from util. Roy Frostig 2010-07-02 11:03:33 -07:00
  • 2683ae64bf Remove nameless node causing errors on doc make. Roy Frostig 2010-07-02 10:09:58 -07:00
  • a7665b2ae1 Correct drop-ty path; many tests now run. Graydon Hoare 2010-07-02 09:46:27 -07:00
  • d9037af22d Improve drop-path logging and simplify box_rc_cell. Graydon Hoare 2010-07-02 09:45:24 -07:00
  • b2692ef2ec Actually link GC allocations onto the gc_alloc_chain, der. Graydon Hoare 2010-07-02 08:17:41 -07:00
  • c7ef0ded81 Improve logging on upcall_malloc. Graydon Hoare 2010-07-02 08:17:09 -07:00
  • c33a522097 Handle DW_FORM_blcok4 in runtime dwarf reader, which we started emitting a while ago. Graydon Hoare 2010-07-02 08:16:34 -07:00
  • 113c31a26d Trap missing attr forms during dwarf-scan and shut down dwarf reader, don't crash. Graydon Hoare 2010-07-02 08:16:04 -07:00