Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -10/+10 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | Rustfmt layout crate | Pyfisch | 2018-09-01 | 1 | -2/+0 |
| | |||||
* | order derivable traits lists | Clément DAVID | 2017-08-23 | 1 | -2/+2 |
| | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs | ||||
* | Migrated -Z trace-layout to serde_json | Shing Lyu | 2016-11-07 | 1 | -0/+1 |
| | |||||
* | Make `FlowRef` a newtype | Michael Howell | 2016-11-04 | 1 | -12/+49 |
| | | | | | | | | | | | | | This creates a sharp distinction between `Arc<Flow>`s, which may be owned by anyone, and `FlowRef`s, which may only be owned by the traversal code. By checking the reference count, we ensure that a `Flow` cannot be pointed to by `Arc`s and `FlowRef`s simultaneously. This is not a complete fix for #6503, though it is a necessary start (enforcing the no-aliasing rule of `FlowRef::deref_mut` will require far more work). Fixes #14014 | ||||
* | Correct the signature of flow_ref::deref_mut. | Ms2ger | 2016-06-06 | 1 | -1/+1 |
| | | | | This also fixes Undefined Behavior in build_display_list_for_subtree. | ||||
* | Remove explicit lifetimes which can be elided. | Adam Szopa | 2015-10-21 | 1 | -1/+1 |
| | |||||
* | Don’t mark flow_ref::deref_mut as unsafe. | Simon Sapin | 2015-08-21 | 1 | -5/+9 |
| | | | | See discussion in https://github.com/servo/servo/pull/7237 | ||||
* | Replace FlowRef with Arc<Flow>, now that Arc supports DST. | Simon Sapin | 2015-08-20 | 1 | -182/+7 |
| | | | | … and WeakFlowRef with Weak<Flow>. | ||||
* | Replace the unsound `impl DerefMut for FlowRef` with an unsafe function. | Simon Sapin | 2015-08-20 | 1 | -7/+5 |
| | | | | See #6503. | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Remove Deref and DerefMut implementations from WeakFlowRef. | Ms2ger | 2015-06-27 | 1 | -21/+12 |
| | | | | By definition of a weak pointer, these implementations cannot be safe. | ||||
* | Use the heap module through its facade in libstd. | Ms2ger | 2015-06-26 | 1 | -1/+1 |
| | |||||
* | Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. | Simon Sapin | 2015-05-05 | 1 | -3/+5 |
| | |||||
* | Replace unsafe_blocks by unsafe_code. | Manish Goregaokar | 2015-03-21 | 1 | -1/+1 |
| | |||||
* | Fix various build warnings. | Ms2ger | 2015-03-20 | 1 | -3/+1 |
| | |||||
* | Fix memory leak in flow tree by adding weak refs. | Jack Moffitt | 2015-03-16 | 1 | -7/+123 |
| | | | | | | | | | | Cycles were being created in the flow tree since absolutely positioned descendants had pointers to their containing blocks. This adds WeakFlowRef (based on Weak<T>) and makes these backpointers weak references. This also harmonizes our custom Arc<T>, FlowRef, to be consistent with the upstream implementation. Fixes #4915. | ||||
* | Opt-in rather than opt-out to unsafe blocks in layout. | Ms2ger | 2015-02-08 | 1 | -0/+2 |
| | |||||
* | Fix the documentation comment syntax in flow_ref.rs. | Ms2ger | 2015-02-08 | 1 | -3/+3 |
| | |||||
* | Don't shadow lifetimes in layout. | Ms2ger | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -2/+7 |
| | |||||
* | Stop calling deref() and deref_mut() explicitly. | Ms2ger | 2015-01-22 | 1 | -1/+1 |
| | |||||
* | Use std::sync::atomic::Ordering explicitly. | Ms2ger | 2015-01-22 | 1 | -3/+3 |
| | |||||
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. | Ms2ger | 2015-01-08 | 1 | -4/+4 |
| | |||||
* | Remove some manual deref() / deref_mut() calls. | Ms2ger | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a | Jack Moffitt | 2014-11-13 | 1 | -7/+7 |
| | |||||
* | Use the Deref traits for FlowRefs. | Clark Gaebel | 2014-10-15 | 1 | -7/+10 |
| | | | | | This patch switches FlowRefs to using the Deref and DerefMut traits, instead of the custom `get` and `get_mut` functions. | ||||
* | Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000) | Keegan McAllister | 2014-09-20 | 1 | -5/+5 |
| | |||||
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 1 | -0/+84 |