about summary refs log tree commit diff
path: root/src/libstd/ffi/c_str.rs
AgeCommit message (Expand)AuthorLines
2016-11-08Slightly optimise CStringOliver Middleton-1/+1
2016-10-03std: Stabilize and deprecate APIs for 1.13Alex Crichton-3/+4
2016-09-26Remove CString drop test.Aleksey Kladov-1/+3
2016-09-24Rollup merge of #36018 - durka:patch-28, r=steveklabnikGuillaume Gomez-2/+7
2016-09-22Rollup merge of #36423 - GuillaumeGomez:eq_impl, r=pnkfelixJonathan Turner-3/+3
2016-09-18Add missing Eq implementationsGuillaume Gomez-3/+3
2016-09-14add stronger warning to CString::from_rawAlex Burka-2/+7
2016-09-14Rollup merge of #36396 - athulappadan:Default-docs, r=blussGuillaume Gomez-0/+1
2016-09-11Documentation for default types modifiedathulappadan-1/+1
2016-09-11Documentation of what does for each typeathulappadan-0/+1
2016-09-07Zero first byte of CString on dropAleksey Kladov-3/+25
2016-08-24Use `#[prelude_import]` in `libstd`.Jeffrey Seyfried-10/+2
2016-08-22Auto merge of #35871 - bluss:cstring-new, r=alexcrichtonbors-0/+1
2016-08-21cstring: avoid excessive growth just to 0-terminateUlrik Sverdrup-0/+1
2016-08-12Add doc example for `std::ffi::CString::from_vec_unchecked`.Corey Farwell-0/+11
2016-08-08Remove unnecessary `main` functions in doc examples.Corey Farwell-17/+9
2016-08-06Add doc example for `std::ffi::NulError::into_vec`.Corey Farwell-0/+9
2016-08-02Add doc example for `std::ffi::NulError::nul_position`.Corey Farwell-0/+12
2016-06-19Document `CStr::as_ptr` dangers.Aleksey Kladov-0/+32
2016-05-24std: Stabilize APIs for the 1.10 releaseAlex Crichton-17/+20
2016-05-05Add `Default` implementation for `&CStr` and `CString`Tobias Bucher-0/+16
2016-03-22try! -> ?Jorge Aparicio-2/+2
2016-02-23CStr::from_bytes_with_nul testsarcnmx-0/+27
2016-02-23Link cstr from_bytes to tracking issuearcnmx-5/+5
2016-02-23Rename CStr::from_bytes to from_bytes_with_nularcnmx-5/+5
2016-02-23CStr::from_bytesarcnmx-0/+51
2016-01-27Fix formatting in documentation of `ffi::CString`Dirk Gadsden-2/+2
2016-01-24Add section about memory safety to `ffi::CString` documentationDirk Gadsden-3/+15
2016-01-20Remove leftover import of `std::str` in doc testAndrea Bedini-1/+0
2016-01-19Improve CStr::from_ptr example in docsAndrea Bedini-2/+1
2016-01-16std: Stabilize APIs for the 1.7 releaseAlex Crichton-11/+21
2015-12-31CStr impl stabilityarcnmx-4/+4
2015-12-31impl From<&CStr> for CStringarcnmx-7/+7
2015-12-29AsRef and related conversions for CStringarcnmx-2/+33
2015-12-18Use memchr in libstd where possible, closes #30076Florian Hahn-1/+2
2015-12-10std: Remove deprecated functionality from 1.5Alex Crichton-27/+0
2015-11-20Rename #[deprecated] to #[rustc_deprecated]Vadim Petrochenkov-2/+2
2015-11-11Cleaner c_char cfg logicarcnmx-5/+4
2015-11-11Prefer raw::c_char or libc::c_char and fix armarcnmx-37/+30
2015-10-19Owned conversions for CStringarcnmx-1/+71
2015-10-01replaced *_ptr with *_raw methods in docsCristian Kubis-3/+3
2015-10-01doc: fixed swapped docs for from_ptr and from_rawCristian Kubis-4/+4
2015-09-14Auto merge of #28256 - petrochenkov:conv, r=alexcrichtonbors-1/+4
2015-09-11std: Stabilize/deprecate features for 1.4Alex Crichton-11/+7
2015-09-09Reduce code bloat from conversion traits in function parametersVadim Petrochenkov-1/+4
2015-09-03std: Update CString::{into,from}_raw with `*mut T`Alex Crichton-8/+5
2015-08-18std: Rename `cstr_memory` feature to use "raw"Alex Crichton-5/+28
2015-08-15std: Add issues to all unstable featuresAlex Crichton-7/+12
2015-08-12Remove all unstable deprecated functionalityAlex Crichton-5/+7
2015-08-09Make `slice::transmute*` privateTobias Bucher-1/+1