about summary refs log tree commit diff
path: root/src/libarena
AgeCommit message (Collapse)AuthorLines
2014-04-18Replace all ~"" with "".to_owned()Richo Healey-4/+4
2014-04-13Replace 'region' with 'lifetime' in a few transmute function namesJohn Simon-4/+4
2014-04-11libtest: rename `BenchHarness` to `Bencher`Liigo Zhuang-15/+13
Closes #12640
2014-04-04Register new snapshotsAlex Crichton-1/+0
2014-04-03auto merge of #13296 : brson/rust/0.11-pre, r=alexcrichtonbors-1/+1
This also changes some of the download links in the documentation to 'nightly'.
2014-04-03auto merge of #13290 : alexcrichton/rust/rollup, r=alexcrichtonbors-6/+4
Closes #13285 (rustc: Stop using LLVMGetSectionName) Closes #13280 (std: override clone_from for Vec.) Closes #13277 (serialize: add a few missing pubs to base64) Closes #13275 (Add and remove some ignore-win32 flags) Closes #13273 (Removed managed boxes from libarena.) Closes #13270 (Minor copy-editing for the tutorial) Closes #13267 (fix Option<~ZeroSizeType>) Closes #13265 (Update emacs mode to support new `#![inner(attribute)]` syntax.) Closes #13263 (syntax: Remove AbiSet, use one Abi)
2014-04-03Bump version to 0.11-preBrian Anderson-1/+1
This also changes some of the download links in the documentation to 'nightly'.
2014-04-03auto merge of #13286 : alexcrichton/rust/release, r=brsonbors-1/+1
Merging the 0.10 release into the master branch.
2014-04-03Removed managed boxes from libarena.Benjamin Adamson-6/+4
2014-03-31arena: Switch field privacy as necessaryAlex Crichton-6/+8
2014-03-31Bump version to 0.10Alex Crichton-1/+1
2014-03-29auto merge of #13183 : erickt/rust/remove-list, r=alexcrichtonbors-7/+5
`collections::list::List` was decided in a [team meeting](https://github.com/mozilla/rust/wiki/Meeting-weekly-2014-03-25) that it was unnecessary, so this PR removes it. Additionally, it removes an old and redundant purity test and fixes some warnings.
2014-03-28Convert most code to new inner attribute syntax.Brian Anderson-9/+9
Closes #2569
2014-03-28collections: remove ListErick Tryzelaar-7/+5
It was decided in a meeting that this module wasn't needed, and more thought should be put into a persistent collections library.
2014-03-28Rename Pod into CopyFlavio Percoco-39/+39
Summary: So far, we've used the term POD "Plain Old Data" to refer to types that can be safely copied. However, this term is not consistent with the other built-in bounds that use verbs instead. This patch renames the Pod kind into Copy. RFC: 0003-opt-in-builtin-traits Test Plan: make check Reviewers: cmr Differential Revision: http://phabricator.octayn.net/D3
2014-03-23Register new snapshotsFlavio Percoco-1/+0
2014-03-22auto merge of #13076 : FlaPer87/rust/remove-freeze, r=alexcrichtonbors-3/+0
This PR removes the `Freeze` kind and the `NoFreeze` marker completely. Fixes #12577 cc @nikomatsakis r?
2014-03-22arena: Fix fallout of removing get()Alex Crichton-2/+2
2014-03-22arena: Remove Freeze / NoFreezeFlavio Percoco-3/+0
2014-03-22Remove outdated and unnecessary std::vec_ng::Vec imports.Huon Wilson-1/+0
(And fix some tests.)
2014-03-21test: Make manual changes to deal with the fallout from removal ofPatrick Walton-8/+10
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-20syntax: Tidy up parsing the new attribute syntaxAlex Crichton-0/+1
2014-03-20Removing imports of std::vec_ng::VecAlex Crichton-1/+0
It's now in the prelude.
2014-03-20rename std::vec -> std::sliceDaniel Micay-2/+2
Closes #12702
2014-03-15Add rustdoc html crate infoSteven Fackler-0/+3
2014-03-14lint: add lint for use of a `~[T]`.Huon Wilson-0/+1
This is useless at the moment (since pretty much every crate uses `~[]`), but should help avoid regressions once completely removed from a crate.
2014-03-13Remove Rc's borrow method to avoid conflicts with RefCell's borrow in ↵Eduard Burtescu-2/+2
Rc<RefCell<T>>.
2014-02-27Replaced list::each with iter() in Arenas's Drop implBruno de Oliveira Abinader-6/+3
2014-02-24arena,std,serialize: remove some unnecessary transmutes.Huon Wilson-5/+4
`as`-able transmutes, duplication and manual slice decomposition are silly.
2014-02-23std: Move intrinsics to std::intrinsics.Brian Anderson-2/+2
Issue #1457
2014-02-22remove the TyDesc from TypedArenaDaniel Micay-45/+29
This prevents generating visit glue when using a TypedArena. The problem still exists for the untyped Arena.
2014-02-20move extra::test to libtestLiigo Zhuang-3/+3
2014-02-14extern mod => extern crateAlex Crichton-4/+3
This was previously implemented, and it just needed a snapshot to go through
2014-02-13Removed num::OrderableMichael Darakananda-2/+3
2014-02-13remove duplicate function from std::ptr (is_null, is_not_null, offset, ↵JeremyLetang-4/+3
mut_offset)
2014-02-11Move replace and swap to std::mem. Get rid of std::utilEdward Wang-2/+1
Also move Void to std::any, move drop to std::mem and reexport in prelude.
2014-02-09std: Add move_val_init to mem. Replace direct intrinsic usageBrian Anderson-5/+5
2014-02-09arena: use the generic `bh.iter` to stop the benchmarks being DCE'd.Huon Wilson-9/+9
Before: test test::bench_nonpod_nonarena ... bench: 62 ns/iter (+/- 6) test test::bench_pod_nonarena ... bench: 0 ns/iter (+/- 0) After: test test::bench_nonpod_nonarena ... bench: 158 ns/iter (+/- 11) test test::bench_pod_nonarena ... bench: 48 ns/iter (+/- 2) The other tests show no change, but are adjusted to use the generic return value of `.iter` anyway so that this doesn't change in future.
2014-02-07allow generating drop glue without the TyDescDaniel Micay-3/+2
Reflection is now the only user of type descriptors. Uses of drop glue no longer cause a type descriptor to be generated.
2014-02-07moved collections from libextra into libcollectionsHeroesGrave-3/+5
2014-02-02arena: stop using @[].Huon Wilson-19/+23
2014-02-01auto merge of #11930 : bjz/rust/next_power_of_two, r=huonwbors-3/+2
2014-01-31Introduce marker types for indicating variance and for opting outNiko Matsakis-1/+3
of builtin bounds. Fixes #10834. Fixes #11385. cc #5922.
2014-02-01Remove some unused importsBrendan Zabarauskas-1/+0
2014-02-01Make next_power_of_two generic for unsigned integersBrendan Zabarauskas-2/+2
Also rename `next_power_of_two_opt` to `checked_next_power_of_two`.
2014-01-29extra: move arena to libarenaDavid Manescu-0/+609
In line with the dissolution of libextra - #8784 - moves arena to its own library libarena. Changes based on PR #11787. Updates .gitignore to ignore doc/arena.