servo/components
Nicholas Nethercote 32548e5312 Overhaul MallocSizeOf and related things.
This patch makes the MallocSizeOf stuff in Stylo work more like the HeapSizeOf
stuff already in Servo, except better. In particular, it adds deriving support
for MallocSizeOf, which will make it easier to improve coverage.

The patch does the following.

- Combines servo/components/style/stylesheets/memory.rs and the heapsize crate
  into a new crate, malloc_size_of.

- Forks the heapsize_derive crate, calling it malloc_size_of, so that
  MallocSizeOf can be derived.

- Both the new crates have MIT/Apache licenses, like heapsize, in case they are
  incorporated into heapsize in the future.

- Renames the methods within MallocSizeOf and the related traits so they are
  more concise.

- Removes MallocSizeOfWithGuard.

- Adds `derive(MallocSizeOf)` to a lot of types, in some cases replacing an
  equivalent or almost-equivalent hand-written implementation.

- Adds stuff so that Rc/Arc can be handled properly.
2017-09-12 12:37:51 +10:00
..
atoms Do not NIH queueing a task to fire an event in htmlmediaelement 2017-09-04 16:14:04 +02:00
bluetooth Untry 2017-06-18 13:21:51 +02:00
bluetooth_traits Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00
canvas Update rust-cssparser to 0.20.2. 2017-09-11 10:55:27 -04:00
canvas_traits Update rust-cssparser to 0.20.2. 2017-09-11 10:55:27 -04:00
compositing Update WR (mac driver crash, box shadow sharing). 2017-09-01 15:05:17 +10:00
config enable antialiasing by default 2017-08-29 17:50:26 +02:00
constellation Auto merge of #17083 - danielj41:javascript-url-global-3, r=jdm 2017-09-09 04:39:43 -05:00
debugger
deny_public_fields deny_public_fields: display field identifier in help message 2017-06-25 18:12:43 +01:00
devtools Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
devtools_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
dom_struct Use the better TokenStream API in dom_struct 2017-09-01 12:15:12 +02:00
domobject_derive Fix quote dependency version 2017-08-23 18:35:42 +02:00
fallible fallible: Avoid using system malloc in servo. 2017-09-10 16:53:42 +02:00
geometry Bump serde to 1.0 2017-06-16 13:31:18 +02:00
gfx Auto merge of #18212 - mrobinson:position-sticky, r=emilio 2017-09-05 15:36:47 -05:00
gfx_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
hashglobe hashglobe: Inline error constructor so we don't pay a function call even when there's no error. 2017-09-10 16:57:09 +02:00
jstraceable_derive Fix quote dependency version 2017-08-23 18:35:42 +02:00
layout Auto merge of #18212 - mrobinson:position-sticky, r=emilio 2017-09-05 15:36:47 -05:00
layout_thread style: Remove NODE_NEEDS_DIRTY_ON_VIEWPORT_SIZE_CHANGE. 2017-08-28 14:40:48 +02:00
layout_traits WR multi-document update 2017-07-28 22:28:11 -04:00
malloc_size_of Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
malloc_size_of_derive Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
metrics Add paint metrics to Performance Timeline API 2017-08-23 17:30:13 +02:00
msg order derivable traits lists 2017-08-23 21:38:44 +02:00
net order derivable traits lists 2017-08-23 21:38:44 +02:00
net_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
profile Make Performance Timeline API work in Workers 2017-09-05 17:07:15 +02:00
profile_traits Make Performance Timeline API work in Workers 2017-09-05 17:07:15 +02:00
rand
range order derivable traits lists 2017-08-23 21:38:44 +02:00
remutex order derivable traits lists 2017-08-23 21:38:44 +02:00
script Auto merge of #18446 - bzbarsky:update-cssparser, r=SimonSapin 2017-09-11 10:33:24 -05:00
script_layout_interface Update rust-cssparser to 0.20.2. 2017-09-11 10:55:27 -04:00
script_plugins Upgrade to rustc 1.21.0-nightly (7eeac1b81 2017-08-30) 2017-08-31 17:17:59 +02:00
script_traits Auto merge of #17083 - danielj41:javascript-url-global-3, r=jdm 2017-09-09 04:39:43 -05:00
selectors Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
servo Update WR (font instance API). 2017-08-31 16:10:30 +10:00
servo_arc Measure selectors. 2017-09-07 15:01:11 +10:00
size_of_test
style Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
style_derive style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
style_traits Update rust-cssparser to 0.20.2. 2017-09-11 10:55:27 -04:00
url order derivable traits lists 2017-08-23 21:38:44 +02:00
webdriver_server Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
webvr Update rust-webvr to 0.8 2017-08-31 01:24:54 +02:00
webvr_traits Update rust-webvr to 0.8 2017-08-31 01:24:54 +02:00