Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allocators, take III #1398

Merged
merged 38 commits into from
Apr 8, 2016
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
80740ba
Allocators, take III, at long last.
pnkfelix Dec 1, 2015
738ebe3
oops this question was folded into the previous one.
pnkfelix Dec 6, 2015
af6090f
oops `RequestUnsatisfied` was removed during the drafting process...
pnkfelix Dec 6, 2015
be627c2
typo fix
steveklabnik Dec 7, 2015
cf0bba1
Merge pull request #2 from steveklabnik/patch-1
pnkfelix Dec 7, 2015
e76929e
Fix realloc bug in spec and impl.
pnkfelix Dec 16, 2015
087f4c1
removed transient errors from API.
pnkfelix Dec 16, 2015
af0b05f
try to improve description of `fn is_memory_exhausted`
pnkfelix Dec 16, 2015
533bcf8
small updates: IEtF 2119, and discussion of `&mut MegaEmbedded`
pnkfelix Dec 16, 2015
1fc45cd
account for the RefCell<Pool> oversight.
pnkfelix Dec 16, 2015
553d59e
fix typo.
pnkfelix Dec 16, 2015
d9a9f2d
added discussion of std lib extension.
pnkfelix Mar 16, 2016
fe88acf
fix a typo.
pnkfelix Mar 16, 2016
2cdb575
Expand the walk-through with some inlining of names of methods being …
pnkfelix Mar 16, 2016
b6c0050
Make `dealloc` infallibe (i.e. remove Result return-type from `fn dea…
pnkfelix Mar 16, 2016
5138a32
some minor rephrasing in the text.
pnkfelix Mar 16, 2016
4aa94d9
alpha-rename `Kind` to `Layout`.
pnkfelix Mar 16, 2016
e2d461c
revised `fn oom` interface to also take the `Self::Error` as input, s…
pnkfelix Mar 16, 2016
05c9635
Expanded docs for `AllocError` trait's methods.
pnkfelix Mar 16, 2016
a93abd7
made `Layout` (formerly `Kind`) non-`Copy`.
pnkfelix Mar 16, 2016
cad7d43
expanded change history to note latest changes.
pnkfelix Mar 16, 2016
5ae8038
added discussion of why API uses `&mut self` (rather than `&self` or …
pnkfelix Mar 16, 2016
dd485fd
amend discussion of `&mut self` with explicit note about
pnkfelix Mar 16, 2016
d9232de
added very short discussion of why there's no lifetime-enriched `Addr…
pnkfelix Mar 16, 2016
2f3034a
Added extensive discussion of zero-sized allocations to the alternati…
pnkfelix Mar 16, 2016
3a597f9
Fix code to reflect that `fn dealloc` method no longer returns `Result`.
pnkfelix Mar 17, 2016
40c84c2
fixed oversight (should have been part of previous commit).
pnkfelix Mar 17, 2016
06e2263
"fixed" `oom` default method impl (the `abort` intrinisic requires `u…
pnkfelix Mar 17, 2016
34d019d
Updated implementation to reflect that `Layout` (nee `Kind`) is no lo…
pnkfelix Mar 17, 2016
ede39d0
Updated the demo allocator implementation to reflect changes to the API.
pnkfelix Mar 17, 2016
ffdf71e
Added missing `Sync` impl for `DumbBumpPool`, and also fixed some pri…
pnkfelix Mar 17, 2016
9eae82d
lifted the `fmt::Debug` bound from associated type up to `AllocError`…
pnkfelix Mar 18, 2016
59ed824
Extended `AllocErr` enum variants with more contextual info about all…
pnkfelix Mar 18, 2016
fe9a9b2
Added section on allocator trait objects.
pnkfelix Mar 18, 2016
792eb31
bug fixes to `DumbBumpPool` example.
pnkfelix Mar 18, 2016
5a3abd2
Most of the changes suggested by feedback during FCP period.
pnkfelix Apr 1, 2016
7c2c444
Allow `Layout` to represent zero-sized layouts. Removed uses of `NonZ…
pnkfelix Apr 1, 2016
117e5fc
Add mention of where `fn oom` should go.
pnkfelix Apr 1, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading