]> git.lizzy.rs Git - rust.git/log
rust.git
14 years agoAdd mbrubeck.
Graydon Hoare [Thu, 8 Jul 2010 14:48:57 +0000 (07:48 -0700)]
Add mbrubeck.

14 years agoIssue 66: Multi-line comments
Matt Brubeck [Thu, 8 Jul 2010 09:01:25 +0000 (17:01 +0800)]
Issue 66: Multi-line comments

14 years agoSome more typestate tests.
Graydon Hoare [Thu, 8 Jul 2010 14:33:25 +0000 (07:33 -0700)]
Some more typestate tests.

14 years agoDoc tweak.
Graydon Hoare [Thu, 8 Jul 2010 14:28:21 +0000 (07:28 -0700)]
Doc tweak.

14 years agoNumerous bug fixes to typestate algorithm.
Graydon Hoare [Wed, 7 Jul 2010 06:18:29 +0000 (23:18 -0700)]
Numerous bug fixes to typestate algorithm.

14 years agoCorrect flow-graph wiring for STMT_if.
Graydon Hoare [Wed, 7 Jul 2010 01:07:52 +0000 (18:07 -0700)]
Correct flow-graph wiring for STMT_if.

14 years agoWrap long line.
Graydon Hoare [Wed, 7 Jul 2010 00:06:46 +0000 (17:06 -0700)]
Wrap long line.

14 years agoAdd init(arg) to STMT_call precondition for each arg.
Graydon Hoare [Tue, 6 Jul 2010 20:52:41 +0000 (13:52 -0700)]
Add init(arg) to STMT_call precondition for each arg.

14 years agoAdd native-clean target.
Graydon Hoare [Tue, 6 Jul 2010 20:51:39 +0000 (13:51 -0700)]
Add native-clean target.

14 years agoChange from 'spawner' to 'supervisor' in rust_task, and add an unsupervise call.
Graydon Hoare [Mon, 5 Jul 2010 21:43:40 +0000 (14:43 -0700)]
Change from 'spawner' to 'supervisor' in rust_task, and add an unsupervise call.

14 years agoUn-XFAIL mutable-alias-vec.rs. Was only failing due to a typo, but a more thorough...
Graydon Hoare [Mon, 5 Jul 2010 21:43:02 +0000 (14:43 -0700)]
Un-XFAIL mutable-alias-vec.rs. Was only failing due to a typo, but a more thorough test revealed more bugs.

14 years agoUint-ify various bits of _str and _vec, enrich _vec a bit.
Graydon Hoare [Mon, 5 Jul 2010 21:42:12 +0000 (14:42 -0700)]
Uint-ify various bits of _str and _vec, enrich _vec a bit.

14 years agoDivide vec fill by element size when reporting vec len.
Graydon Hoare [Mon, 5 Jul 2010 21:40:01 +0000 (14:40 -0700)]
Divide vec fill by element size when reporting vec len.

14 years agoUse typed slot rather than AST slot in trans_for_loop.
Graydon Hoare [Mon, 5 Jul 2010 21:39:08 +0000 (14:39 -0700)]
Use typed slot rather than AST slot in trans_for_loop.

14 years agoTeach the dwarf readers to handle udata, so we can link with util.option; add util...
Graydon Hoare [Mon, 5 Jul 2010 21:38:02 +0000 (14:38 -0700)]
Teach the dwarf readers to handle udata, so we can link with util.option; add util.rs to std.rc.

14 years agoRename some stuff in lib/util.rs.
Graydon Hoare [Mon, 5 Jul 2010 21:36:39 +0000 (14:36 -0700)]
Rename some stuff in lib/util.rs.

14 years agoLog completion on the many.rs test.
Graydon Hoare [Mon, 5 Jul 2010 05:41:57 +0000 (22:41 -0700)]
Log completion on the many.rs test.

14 years agoPerform valgrind-specific timing tweaks in a platform-sensitive manner.
Graydon Hoare [Mon, 5 Jul 2010 05:41:42 +0000 (22:41 -0700)]
Perform valgrind-specific timing tweaks in a platform-sensitive manner.

14 years agoXFAIL native-mod when running MINGW_CROSS.
Graydon Hoare [Mon, 5 Jul 2010 05:41:04 +0000 (22:41 -0700)]
XFAIL native-mod when running MINGW_CROSS.

14 years agoMove NO_VALGRIND check below MINGW_CROSS.
Graydon Hoare [Mon, 5 Jul 2010 05:40:19 +0000 (22:40 -0700)]
Move NO_VALGRIND check below MINGW_CROSS.

14 years agoPreempt works on non-windows, just needed a little valgrind love to complete in a...
Graydon Hoare [Mon, 5 Jul 2010 04:18:47 +0000 (21:18 -0700)]
Preempt works on non-windows, just needed a little valgrind love to complete in a reasonable time.

14 years agoFix bug in win32 command-line arg processing.
Graydon Hoare [Mon, 5 Jul 2010 03:06:18 +0000 (20:06 -0700)]
Fix bug in win32 command-line arg processing.

14 years agoXFAIL the remainder as until pwalton has a go at the typechecker. Branch is otherwise...
Graydon Hoare [Mon, 5 Jul 2010 00:01:22 +0000 (17:01 -0700)]
XFAIL the remainder as until pwalton has a go at the typechecker. Branch is otherwise done, enough to merge anyway.

14 years agoFix generic-derived-type.rs and generic-obj-with-derived-type.rs.
Graydon Hoare [Sun, 4 Jul 2010 23:42:58 +0000 (16:42 -0700)]
Fix generic-derived-type.rs and generic-obj-with-derived-type.rs.

14 years agoImprove type.ml logging.
Graydon Hoare [Sun, 4 Jul 2010 23:42:11 +0000 (16:42 -0700)]
Improve type.ml logging.

14 years agoFix rec-extend.rs test.
Graydon Hoare [Sun, 4 Jul 2010 23:11:56 +0000 (16:11 -0700)]
Fix rec-extend.rs test.

14 years agoFix compile-fail/log-type-error.rs.
Graydon Hoare [Sun, 4 Jul 2010 23:02:12 +0000 (16:02 -0700)]
Fix compile-fail/log-type-error.rs.

14 years agoClean in doc dir a little harder.
Graydon Hoare [Sun, 4 Jul 2010 22:39:53 +0000 (15:39 -0700)]
Clean in doc dir a little harder.

14 years agoFix typo in upcall_recv log message.
Graydon Hoare [Sun, 4 Jul 2010 09:15:11 +0000 (02:15 -0700)]
Fix typo in upcall_recv log message.

14 years agoComment-out glue interrupt-flag test; unclear why it breaks, but glue call-tree is...
Graydon Hoare [Sun, 4 Jul 2010 09:14:46 +0000 (02:14 -0700)]
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.

14 years agoSpill immediates with proper IL type (was making valgrind dislike obj-with-vec.rs).
Graydon Hoare [Sun, 4 Jul 2010 08:06:29 +0000 (01:06 -0700)]
Spill immediates with proper IL type (was making valgrind dislike obj-with-vec.rs).

14 years agoFix bug crashing valgrind in obj-recursion.rs.
Graydon Hoare [Sun, 4 Jul 2010 07:45:56 +0000 (00:45 -0700)]
Fix bug crashing valgrind in obj-recursion.rs.

14 years agoImprove logging in drop paths.
Graydon Hoare [Sun, 4 Jul 2010 07:45:35 +0000 (00:45 -0700)]
Improve logging in drop paths.

14 years agoAdd more scratch files to .gitignore.
Graydon Hoare [Sun, 4 Jul 2010 06:56:50 +0000 (23:56 -0700)]
Add more scratch files to .gitignore.

14 years agoMore corrections to drop/free path to accommodate TY_box.
Graydon Hoare [Sun, 4 Jul 2010 06:55:21 +0000 (23:55 -0700)]
More corrections to drop/free path to accommodate TY_box.

14 years agoAdd stamp target to doc/Makefile.
Graydon Hoare [Sun, 4 Jul 2010 04:48:31 +0000 (21:48 -0700)]
Add stamp target to doc/Makefile.

14 years agoAdd concept-index entries to docs, plus fix a few minor nits.
Graydon Hoare [Sun, 4 Jul 2010 00:29:06 +0000 (17:29 -0700)]
Add concept-index entries to docs, plus fix a few minor nits.

14 years agoAdd version-stamp machinery (and put "Draft + datestamp" into doc footer).
Graydon Hoare [Sat, 3 Jul 2010 07:27:33 +0000 (00:27 -0700)]
Add version-stamp machinery (and put "Draft + datestamp" into doc footer).

14 years agoHey, what's a coding sprint without an uncovered register allocation bug? No fun...
Graydon Hoare [Sat, 3 Jul 2010 05:44:21 +0000 (22:44 -0700)]
Hey, what's a coding sprint without an uncovered register allocation bug? No fun, I say.

14 years agoClarify manual's explanation of unwinding during failure. Add bit about soft vs...
Roy Frostig [Sat, 3 Jul 2010 01:33:09 +0000 (18:33 -0700)]
Clarify manual's explanation of unwinding during failure.  Add bit about soft vs. hard failure.

14 years agoAdd an arr_iter2 function to common.ml
Patrick Walton [Sat, 3 Jul 2010 01:01:58 +0000 (18:01 -0700)]
Add an arr_iter2 function to common.ml

14 years agoDeja vu all over again. Something makes me think this is a usability hazard.
Graydon Hoare [Sat, 3 Jul 2010 00:14:46 +0000 (17:14 -0700)]
Deja vu all over again. Something makes me think this is a usability hazard.

14 years agoTerminology mop-up.
Graydon Hoare [Sat, 3 Jul 2010 00:13:02 +0000 (17:13 -0700)]
Terminology mop-up.

14 years agoYou may get the feeling that all these changes look eerily the same. You would be...
Graydon Hoare [Sat, 3 Jul 2010 00:04:16 +0000 (17:04 -0700)]
You may get the feeling that all these changes look eerily the same. You would be correct.

14 years agoSimplify type before deciding how to free it. Hint: calling free() on a running task...
Graydon Hoare [Fri, 2 Jul 2010 23:42:42 +0000 (16:42 -0700)]
Simplify type before deciding how to free it. Hint: calling free() on a running task is usually a bad idea.

14 years agoMerge branch 'master' of git@github.com:graydon/rust into exterior_and_mutable_types
Graydon Hoare [Fri, 2 Jul 2010 23:27:39 +0000 (16:27 -0700)]
Merge branch 'master' of git@github.com:graydon/rust into exterior_and_mutable_types

14 years agoFix bug in clone logic; was ignoring the mutability-strip step in later rule.
Graydon Hoare [Fri, 2 Jul 2010 23:16:57 +0000 (16:16 -0700)]
Fix bug in clone logic; was ignoring the mutability-strip step in later rule.

14 years agoTeach severing logic to handle obj and fn types.
Graydon Hoare [Fri, 2 Jul 2010 23:12:58 +0000 (16:12 -0700)]
Teach severing logic to handle obj and fn types.

14 years agoWrap long line.
Graydon Hoare [Fri, 2 Jul 2010 23:12:34 +0000 (16:12 -0700)]
Wrap long line.

14 years agoTrace mark and sever steps in GC.
Graydon Hoare [Fri, 2 Jul 2010 23:12:10 +0000 (16:12 -0700)]
Trace mark and sever steps in GC.

14 years agoReturn LLVM to at least being able to run hello world.
Graydon Hoare [Fri, 2 Jul 2010 22:11:44 +0000 (15:11 -0700)]
Return LLVM to at least being able to run hello world.

14 years agoWalk (mut/constr stripped) TY_iso edges when boxed. Fault on non-boxed edges; they...
Graydon Hoare [Fri, 2 Jul 2010 21:58:55 +0000 (14:58 -0700)]
Walk (mut/constr stripped) TY_iso edges when boxed. Fault on non-boxed edges; they should not have made it past resolve.

14 years agoMinor clarification/typo-correcting edits to manual sections up to and including...
Roy Frostig [Fri, 2 Jul 2010 20:39:42 +0000 (13:39 -0700)]
Minor clarification/typo-correcting edits to manual sections up to and including Ref.Mem chapter.

14 years agoCompensate for .tmp in run-fail tests.
Graydon Hoare [Fri, 2 Jul 2010 20:35:29 +0000 (13:35 -0700)]
Compensate for .tmp in run-fail tests.

14 years agoNew test of explicit deref operator.
Graydon Hoare [Fri, 2 Jul 2010 19:55:12 +0000 (12:55 -0700)]
New test of explicit deref operator.

14 years agoChange make rules around running tests to not produce an .out file if test-run fails.
Graydon Hoare [Fri, 2 Jul 2010 19:54:01 +0000 (12:54 -0700)]
Change make rules around running tests to not produce an .out file if test-run fails.

14 years agoPermit mutables as comparable in all contexts.
Graydon Hoare [Fri, 2 Jul 2010 19:52:58 +0000 (12:52 -0700)]
Permit mutables as comparable in all contexts.

14 years agoDon't unify the *input* to init-box with a box constraint, nurr.
Graydon Hoare [Fri, 2 Jul 2010 19:33:51 +0000 (12:33 -0700)]
Don't unify the *input* to init-box with a box constraint, nurr.

14 years agoImprove logging in type.
Graydon Hoare [Fri, 2 Jul 2010 19:32:49 +0000 (12:32 -0700)]
Improve logging in type.

14 years agoBox the args entering the vec-drop test.
Graydon Hoare [Fri, 2 Jul 2010 19:32:28 +0000 (12:32 -0700)]
Box the args entering the vec-drop test.

14 years agoMerge branch 'exterior_and_mutable_types' of git@github.com:graydon/rust into exterio...
Graydon Hoare [Fri, 2 Jul 2010 19:03:46 +0000 (12:03 -0700)]
Merge branch 'exterior_and_mutable_types' of git@github.com:graydon/rust into exterior_and_mutable_types

14 years agoParse effect-qualified type definitions.
Graydon Hoare [Fri, 2 Jul 2010 19:02:56 +0000 (12:02 -0700)]
Parse effect-qualified type definitions.

14 years agoAllow formatting individual decl_params
Patrick Walton [Fri, 2 Jul 2010 18:54:07 +0000 (11:54 -0700)]
Allow formatting individual decl_params

14 years agoGut the box[m][o] family from util.
Roy Frostig [Fri, 2 Jul 2010 18:03:33 +0000 (11:03 -0700)]
Gut the box[m][o] family from util.

14 years agoRemove nameless node causing errors on doc make.
Roy Frostig [Fri, 2 Jul 2010 17:09:58 +0000 (10:09 -0700)]
Remove nameless node causing errors on doc make.

14 years agoCorrect drop-ty path; many tests now run.
Graydon Hoare [Fri, 2 Jul 2010 16:46:27 +0000 (09:46 -0700)]
Correct drop-ty path; many tests now run.

14 years agoImprove drop-path logging and simplify box_rc_cell.
Graydon Hoare [Fri, 2 Jul 2010 16:45:24 +0000 (09:45 -0700)]
Improve drop-path logging and simplify box_rc_cell.

14 years agoActually link GC allocations onto the gc_alloc_chain, der.
Graydon Hoare [Fri, 2 Jul 2010 15:17:41 +0000 (08:17 -0700)]
Actually link GC allocations onto the gc_alloc_chain, der.

14 years agoImprove logging on upcall_malloc.
Graydon Hoare [Fri, 2 Jul 2010 15:17:09 +0000 (08:17 -0700)]
Improve logging on upcall_malloc.

14 years agoHandle DW_FORM_blcok4 in runtime dwarf reader, which we started emitting a while...
Graydon Hoare [Fri, 2 Jul 2010 15:16:34 +0000 (08:16 -0700)]
Handle DW_FORM_blcok4 in runtime dwarf reader, which we started emitting a while ago.

14 years agoTrap missing attr forms during dwarf-scan and shut down dwarf reader, don't crash.
Graydon Hoare [Fri, 2 Jul 2010 15:16:04 +0000 (08:16 -0700)]
Trap missing attr forms during dwarf-scan and shut down dwarf reader, don't crash.

14 years agoIndent/outdent when logging dwarf at runtime.
Graydon Hoare [Fri, 2 Jul 2010 15:15:27 +0000 (08:15 -0700)]
Indent/outdent when logging dwarf at runtime.

14 years agoWrap long lines.
Graydon Hoare [Fri, 2 Jul 2010 06:53:32 +0000 (23:53 -0700)]
Wrap long lines.

14 years agoBox arguments that are supposed to be boxed.
Graydon Hoare [Fri, 2 Jul 2010 06:50:58 +0000 (23:50 -0700)]
Box arguments that are supposed to be boxed.

14 years agoYeah. Not even a semantic mix-up: just a damn typo.
Graydon Hoare [Fri, 2 Jul 2010 06:45:16 +0000 (23:45 -0700)]
Yeah. Not even a semantic mix-up: just a damn typo.

14 years agoTeach clone_ty to tolerate cloning a mutable (though not state) type.
Graydon Hoare [Fri, 2 Jul 2010 06:20:28 +0000 (23:20 -0700)]
Teach clone_ty to tolerate cloning a mutable (though not state) type.

14 years agoImprove mangling.
Graydon Hoare [Fri, 2 Jul 2010 06:15:42 +0000 (23:15 -0700)]
Improve mangling.

14 years agoTeach the associative_binary_op_ty_fold about box, mutable and tys.
Graydon Hoare [Fri, 2 Jul 2010 06:12:34 +0000 (23:12 -0700)]
Teach the associative_binary_op_ty_fold about box, mutable and tys.

14 years agoStrip outer 'mutable' off slot when deciding if pred can apply.
Graydon Hoare [Fri, 2 Jul 2010 04:20:30 +0000 (21:20 -0700)]
Strip outer 'mutable' off slot when deciding if pred can apply.

14 years agoRetire defunct copy_ty in favour of trans_copy_ty, which invokes the same logic at...
Graydon Hoare [Fri, 2 Jul 2010 04:02:49 +0000 (21:02 -0700)]
Retire defunct copy_ty in favour of trans_copy_ty, which invokes the same logic at the bottom.

14 years agoReinstate disgusting, filthy workarounds for deriving missing type information. It...
Graydon Hoare [Fri, 2 Jul 2010 03:24:23 +0000 (20:24 -0700)]
Reinstate disgusting, filthy workarounds for deriving missing type information. It existed before, we will survive if it exists now.

14 years agoRemove similar over-application of auto-deref from type.
Graydon Hoare [Fri, 2 Jul 2010 02:30:35 +0000 (19:30 -0700)]
Remove similar over-application of auto-deref from type.

14 years agoRemove too-optimistic (and not harmless) over application of auto-deref in trans.
Graydon Hoare [Fri, 2 Jul 2010 02:29:51 +0000 (19:29 -0700)]
Remove too-optimistic (and not harmless) over application of auto-deref in trans.

14 years agoSplit out and improve trans_init_box.
Graydon Hoare [Fri, 2 Jul 2010 02:29:03 +0000 (19:29 -0700)]
Split out and improve trans_init_box.

14 years agoAdd logging to trans_init_slot_from_atom.
Graydon Hoare [Fri, 2 Jul 2010 02:28:11 +0000 (19:28 -0700)]
Add logging to trans_init_slot_from_atom.

14 years agoCatch ast pretty-printer up with init-tup syntax.
Graydon Hoare [Fri, 2 Jul 2010 02:27:20 +0000 (19:27 -0700)]
Catch ast pretty-printer up with init-tup syntax.

14 years agoFox the clauses that actually satisfy box and mutable constraints; in all the confusi...
Graydon Hoare [Fri, 2 Jul 2010 01:39:58 +0000 (18:39 -0700)]
Fox the clauses that actually satisfy box and mutable constraints; in all the confusion I had got those wrong.

14 years agoOf course, the LHS constraint on an init-box statement is mutable @.
Graydon Hoare [Fri, 2 Jul 2010 01:39:08 +0000 (18:39 -0700)]
Of course, the LHS constraint on an init-box statement is mutable @.

14 years agoClarify in type logging when we have a constraint vs. a resolved type.
Graydon Hoare [Fri, 2 Jul 2010 01:38:28 +0000 (18:38 -0700)]
Clarify in type logging when we have a constraint vs. a resolved type.

14 years agoAdd compile-check target for just attempting to compile, not run, the tests.
Graydon Hoare [Fri, 2 Jul 2010 01:37:53 +0000 (18:37 -0700)]
Add compile-check target for just attempting to compile, not run, the tests.

14 years agoCorrect existing reliance on auto-box / unbox behavior in tests.
Graydon Hoare [Fri, 2 Jul 2010 01:37:30 +0000 (18:37 -0700)]
Correct existing reliance on auto-box / unbox behavior in tests.

14 years agoBox the integer passed to the handle in obj-drop.rs. No more implicit arg-boxing.
Graydon Hoare [Fri, 2 Jul 2010 01:04:21 +0000 (18:04 -0700)]
Box the integer passed to the handle in obj-drop.rs. No more implicit arg-boxing.

14 years agoEstablish the box constraint on the dst in STMT_init_box before propagating it to...
Graydon Hoare [Fri, 2 Jul 2010 01:03:37 +0000 (18:03 -0700)]
Establish the box constraint on the dst in STMT_init_box before propagating it to the rval.

14 years agoRemove TYSPEC_loggable. Everything's loggable (or will be, eventually; the backend...
Graydon Hoare [Fri, 2 Jul 2010 00:56:20 +0000 (17:56 -0700)]
Remove TYSPEC_loggable. Everything's loggable (or will be, eventually; the backend can catch unimplemented cases until then).

14 years agoCheck the simplified type used in check-expr in trans.
Graydon Hoare [Fri, 2 Jul 2010 00:55:28 +0000 (17:55 -0700)]
Check the simplified type used in check-expr in trans.

14 years agoExtract pattern-slot variables in lval typecheck context (mutable ok).
Graydon Hoare [Fri, 2 Jul 2010 00:11:01 +0000 (17:11 -0700)]
Extract pattern-slot variables in lval typecheck context (mutable ok).

14 years agoRelax alias-analysis pass to permit literal-aliasing.
Graydon Hoare [Fri, 2 Jul 2010 00:10:30 +0000 (17:10 -0700)]
Relax alias-analysis pass to permit literal-aliasing.

14 years agoRemove the catch-all in type.ml, add cases for every stmt (a couple more handled...
Graydon Hoare [Thu, 1 Jul 2010 23:56:39 +0000 (16:56 -0700)]
Remove the catch-all in type.ml, add cases for every stmt (a couple more handled; mostly still stubs).

14 years agoConvey auto-deref judgments made in typechecker to trans layer; control the decision...
Graydon Hoare [Thu, 1 Jul 2010 22:59:29 +0000 (15:59 -0700)]
Convey auto-deref judgments made in typechecker to trans layer; control the decision in one place.

14 years agoCorrect overzealous bulk-edit to LLVM code.
Graydon Hoare [Thu, 1 Jul 2010 22:26:00 +0000 (15:26 -0700)]
Correct overzealous bulk-edit to LLVM code.