about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2011-10-12prohibit ptr deref unless in unsafe codeNiko Matsakis-2/+31
2011-10-12fix error msgNiko Matsakis-9/+2
2011-10-12add some new testsNiko Matsakis-1/+23
2011-10-12convert a few tests from unsafe fns to fns with unsafe bodiesNiko Matsakis-3/+3
2011-10-12make a good error msg if you try to use an unsafe fn for a testNiko Matsakis-8/+21
2011-10-12improve the span used in test generationNiko Matsakis-6/+8
2011-10-12add pass to check that unsafe fns cannot be used as valuesNiko Matsakis-1/+85
2011-10-12all tests passNiko Matsakis-3/+3
2011-10-12all tests passNiko Matsakis-6/+6
2011-10-12continue to annotate functions as unsafe where neccessaryNiko Matsakis-23/+22
2011-10-12continue to annotate trans functions as unsafe where neccessaryNiko Matsakis-5/+7
2011-10-12continue to annotate trans functions as unsafe where neccessaryNiko Matsakis-3/+3
2011-10-12add unsafe tags into various points in the translation chainsNiko Matsakis-76/+128
and so forth
2011-10-12Add unsafe tags to usage of LLVM funcsNiko Matsakis-5/+7
2011-10-12make treatment of unchecked/unsafe blocks more uniformNiko Matsakis-0/+0
also repair various errors in the parser related to such blocks. rename checked_blk to default_blk to reflect the fact that it inherits its purity from the surrounding context.
2011-10-12Revert "Test for #954"Brian Anderson-4/+0
This reverts commit 7edb0438895cc7c54a9c4a8c07daa0ebf13bbb36.
2011-10-12Test for #954Brian Anderson-0/+4
2011-10-12Register snapshotsBrian Anderson-0/+5
2011-10-12Ignore stdtest::os::test_setenv. Fails periodically on macBrian Anderson-0/+1
2011-10-12make native functions markable as unsafe and incorporate thatNiko Matsakis-16/+30
into the type check
2011-10-12skip test, remove whitespaceNiko Matsakis-1/+2
2011-10-12correct lines over 78 charsNiko Matsakis-2/+4
2011-10-12enable unsafe checking but only with a flag --check-unsafeNiko Matsakis-14/+25
2011-10-12make treatment of unchecked/unsafe blocks more uniformNiko Matsakis-20/+28
also repair various errors in the parser related to such blocks. rename checked_blk to default_blk to reflect the fact that it inherits its purity from the surrounding context.
2011-10-12add 'u' to one other place it was missingNiko Matsakis-0/+1
2011-10-12add 'u' to decoder (kinda' important)Niko Matsakis-0/+1
2011-10-12fix test to include a main() functionNiko Matsakis-0/+3
2011-10-12it is also legal to call unsafe functions from other unsafe functionsNiko Matsakis-0/+10
2011-10-12Add unsafe blocks, unsafe functions, and two rudimentary testsNiko Matsakis-6/+30
related to them
2011-10-12Extend the unchecked block stuff to allow unsafe blocks as well.Niko Matsakis-35/+114
2011-10-12expand purity to include unsafeNiko Matsakis-18/+29
2011-10-12move ctags.rust into src/etcNiko Matsakis-1/+1
2011-10-12new targets, TAGS.emacs and TAGS.vi. they must be manually made.Niko Matsakis-2/+26
2011-10-12Make build_environment and trans_bind_thunk GEP bound arguments the sameBrian Anderson-5/+22
These functions both use GEP_tup_like to get at the arguments bound to the environment, but they were starting from a different 'level' of the environment-box structure. Frighteningly, this was leading to them having different opinions of how the bound arguments were aligned in some cases.
2011-10-12Simplify copying of uniquesMarijn Haverbeke-27/+3
We can call take glue, rather than duplicating it inline.
2011-10-12[Tests] added float testsDavid Rajchenbach-Teller-0/+20
2011-10-12[Renaming] str_to_float is now float::from_str, float_to_str is now ↵David Rajchenbach-Teller-8/+8
float::to_str
2011-10-12[Fix] float.rs: str_to_float reimplementedDavid Rajchenbach-Teller-14/+177
2011-10-12[Optim] int.rs: reimplemented pow with fast exponentiationDavid Rajchenbach-Teller-10/+13
2011-10-11Revert "Merge pull request #1025 from elly/master"Lindsey Kuper-1/+1
This reverts commit e12e76e9ba0785d556a6ea3ca71e4a467e2aeb4d, reversing changes made to f480203fdd4d8b498453c1f7cc0ad4f59d87c596.
2011-10-11Revert "Revert "Add a test case for #898. Closes #898.""Lindsey Kuper-0/+11
This reverts commit e305ab38518352d934c081687a6cdccd5af4dfb6. Oops again. Reverting a mistaken revert.
2011-10-11Revert "Add a test case for #898. Closes #898."Lindsey Kuper-11/+0
This reverts commit f480203fdd4d8b498453c1f7cc0ad4f59d87c596. Oops. This patch requires people to bump their LLVM version.
2011-10-11Merge pull request #1025 from elly/masterLindsey Kuper-1/+1
Update LinkModules invocation to use new prototype
2011-10-11Update LinkModules invocation to use new prototypeElly Jones-1/+1
LLVM revision 141606 changes the prototype of llvm::Linker::LinkModules. Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-10-11Add a test case for #898. Closes #898.Brian Anderson-0/+11
Seems to have been fixed.
2011-10-11Use the correct function type for external bare functionsBrian Anderson-1/+1
Issue #1022
2011-10-11Register snapshotsBrian Anderson-0/+5
2011-10-11Use a non-ambiguous character for encoding bare functionsBrian Anderson-1/+6
I was using 'R' and that was already used for records. Issue #1022
2011-10-11Add a test for assignment of bare functionsBrian Anderson-0/+7
Issue #1022
2011-10-11Add a test that bare functions are word-sizedBrian Anderson-0/+9
Issue #1022