| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-19 | Add externfn macro and correctly label fixed_stack_segments | Niko Matsakis | -0/+8 | |
| 2013-08-15 | Make CString.iter() public | Kevin Ballard | -1/+1 | |
| 2013-08-15 | Add ToCStr method .with_c_str() | Kevin Ballard | -0/+23 | |
| .with_c_str() is a replacement for the old .as_c_str(), to avoid unnecessary boilerplate. Replace all usages of .to_c_str().with_ref() with .with_c_str(). | ||||
| 2013-08-15 | Check for interior nulls in .to_c_str() | Kevin Ballard | -12/+99 | |
| Previous dicussions about CString suggested that interior nulls should throw an error. This was never implemented. Add this now, using a condition (named null_byte) to allow for recovery. Add method .to_c_str_unchecked() that skips this check. | ||||
| 2013-08-14 | Clarify docs on CString.unwrap() | Kevin Ballard | -0/+1 | |
| CString.unwrap() drops ownership of the buffer on the floor. Put this in the docs. | ||||
| 2013-08-07 | std: fix a bad type cast for in str.to_c_str() | Erick Tryzelaar | -1/+1 | |
| 2013-08-07 | std: Make CString::new unsafe b/c it can mutate a *T ptr | Erick Tryzelaar | -2/+2 | |
| 2013-08-07 | std: remove unnecessary test from c_str.drop and use safer transmute | Erick Tryzelaar | -2/+2 | |
| 2013-08-07 | std: Fix c_str.iter() and add test | Erick Tryzelaar | -3/+20 | |
| 2013-08-05 | std: c_str should use regions on methods | Erick Tryzelaar | -3/+3 | |
| 2013-08-04 | std: Update the c_str docs, and support CString not owning the pointer | Erick Tryzelaar | -138/+63 | |
| 2013-08-04 | std: replace str::as_c_str with std::c_str | Erick Tryzelaar | -0/+291 | |
