Commit graph

4860 commits

Author SHA1 Message Date
bors-servo
362af39b83 auto merge of #2533 : Ms2ger/servo/callback-bindingdeclarations, r=jdm
This commit also includes improvements to the 'use' order in some of the
touched files.
2014-05-31 13:16:12 -04:00
Ms2ger
33e64c95d3 Include modules with only callbacks in BindingDeclarations.
This commit also includes improvements to the 'use' order in some of the
touched files.
2014-05-31 18:58:04 +02:00
Ms2ger
ecd1233fa8 Make BrowserContext::create_window_proxy private and make it set the window_proxy field itself. 2014-05-31 17:07:44 +02:00
bors-servo
facc15f5fd auto merge of #2528 : Ms2ger/servo/event-new, r=jdm 2014-05-31 10:01:08 -04:00
Ms2ger
d896442a4a Implement Event::new_initialized and initialize the event in Event::new. 2014-05-31 10:42:21 +02:00
bors-servo
68e3fb26a7 auto merge of #2523 : mrobinson/servo/background-color, r=pcwalton
The first layer implicitly provides the size of the page, but child
layer background colors can still improperly override the body
background color. This commit ensures that layer background colors only
apply to layers with the same id and pipeline id. Additionally the root
layer's unrendered color is defined by the first layer's background
color, just like for size.
2014-05-30 17:40:18 -04:00
bors-servo
5f5897f4e4 auto merge of #2522 : Ms2ger/servo/codegen-cleanup, r=jdm 2014-05-30 16:31:10 -04:00
Martin Robinson
12097703ba Prevent child layers from overriding root background color
The first layer implicitly provides the size of the page, but child
layer background colors can still improperly override the body
background color. This commit ensures that layer background colors only
apply to layers with the same id and pipeline id. Additionally the root
layer's unrendered color is defined by the first layer's background
color, just like for size.
2014-05-30 13:16:24 -07:00
Ms2ger
0e83f5af00 Fix minor misformatting in codegen. 2014-05-30 21:49:09 +02:00
bors-servo
d7cac61d9c auto merge of #2520 : saneyuki/servo/mut, r=Ms2ger
Related #2514

- This removes needless `&mut self`s from some DOM type method simply.
- This doesn't include some DOM Types which have basis method called from other types (e.g. `Element`). We still have to need to open their changes.
- This does not include to remove an implicit `deref_mut()`.
2014-05-30 14:45:57 -04:00
Tetsuharu OHZEKI
af653d1ce0 Remove needless '&mut self' from HTMLLinkElementMethods. 2014-05-31 03:11:18 +09:00
Tetsuharu OHZEKI
db76dbf5ca Remove needless '&mut self' from HTMLLIElementMethods. 2014-05-31 03:11:18 +09:00
Tetsuharu OHZEKI
857a731eaa Remove needless '&mut self' from HTMLHtmlElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
485a32d48b Remove needless '&mut self' from HTMLInputElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
c426795052 Remove needless '&mut self' from HTMLLabelElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
8778f0056a Remove needless '&mut self' from HTMLLegendElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
5a19953de4 Remove needless '&mut self' from HTMLHRElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
8329b9e1e2 Remove needless '&mut self' from HTMLHeadingElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
dacc43d4eb Remove needless '&mut self' from HTMLFrameSetElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
2c33888201 Remove needless '&mut self' from HTMLFrameElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
071216684b Remove needless '&mut self' from HTMLFormElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
abc53ad403 Remove needless '&mut self' from HTMLFontElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
184e789000 Remove needless '&mut self' from HTMLFieldSetElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
9ff3ec1fe7 Remove needless '&mut self' from HTMLEmbedElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
021dd8241f Remove needless '&mut self' from HTMLDListElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
d6563d01d4 Remove needless '&mut self' from HTMLDivElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
1295d75cbf Remove needless '&mut self' from HTMLDirectryElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
3092ea2055 Remove needless '&mut self' from HTMLDataElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
803f8a33e5 Remove needless '&mut self' from HTMLCanvasElementMethods. 2014-05-31 03:11:15 +09:00
Tetsuharu OHZEKI
e0a11bc68c Remove needless '&mut self' from HTMLButtonElementMethods. 2014-05-31 03:11:15 +09:00
Tetsuharu OHZEKI
371ea692bd Remove needless '&mut self' from HTMLBRElementMethods. 2014-05-31 03:11:15 +09:00
Tetsuharu OHZEKI
41cd902ee0 Remove needless '&mut self' from HTMLAreaElementMethods. 2014-05-31 03:11:15 +09:00
Tetsuharu OHZEKI
4b40fbabc9 Remove needless '&mut self' from HTMLAppletElementMethods. 2014-05-31 03:11:15 +09:00
Tetsuharu OHZEKI
c46d7e669a Remove needless '&mut self' from HTMLAnchorElementMethods. 2014-05-31 03:11:15 +09:00
Tetsuharu OHZEKI
aaf8c170aa Remove needless '&mut self' from UIEventMethods. 2014-05-31 03:11:15 +09:00
Tetsuharu OHZEKI
5804412a65 Remove needless '&mut self' from HTMLVideoElementMethods. 2014-05-31 03:11:15 +09:00
Tetsuharu OHZEKI
2db6348d30 Remove needless '&mut self' from HTMLUListElementMethods. 2014-05-31 03:11:15 +09:00
Tetsuharu OHZEKI
7cb4ddaa83 Remove needless '&mut self' from HTMLTrackElementMethods. 2014-05-31 03:11:14 +09:00
Tetsuharu OHZEKI
ca249f1940 Remove needless '&mut self' from HTMLTitleElementMethods. 2014-05-31 03:11:14 +09:00
Tetsuharu OHZEKI
3aba9ffc41 Remove needless '&mut self' from HTMLTimeElementMethods. 2014-05-31 03:11:14 +09:00
Tetsuharu OHZEKI
ad09ec64e0 Remove needless '&mut self' from HTMLTextAreaElementMethods. 2014-05-31 03:11:14 +09:00
Tetsuharu OHZEKI
641bce83db Remove needless '&mut self' from HTMLTableSectionElementMethods. 2014-05-31 03:11:14 +09:00
Tetsuharu OHZEKI
8fc6821d80 Remove needless '&mut self' from HTMLTableRawElementMethods. 2014-05-31 03:11:14 +09:00
Tetsuharu OHZEKI
b8ebd7bb7b Remove needless '&mut self' from HTMLTableElementMethods. 2014-05-31 03:11:14 +09:00
Tetsuharu OHZEKI
92bf6ac9fa Remove needless '&mut self' from HTMLTableColElementMethods. 2014-05-31 03:11:14 +09:00
Tetsuharu OHZEKI
b5b0723451 Remove needless '&mut self' from HTMLTableCaptionElementMethods. 2014-05-31 03:11:13 +09:00
Tetsuharu OHZEKI
9dd2d4a288 Remove needless '&mut self' from HTMLSourceElementMethods. 2014-05-31 03:11:13 +09:00
Tetsuharu OHZEKI
708919c66d Remove needless '&mut self' from HTMLSelectElementMethods. 2014-05-31 03:11:13 +09:00
Tetsuharu OHZEKI
9a85f9b049 Remove needless '&mut self' from HTMLScriptElementMethods. 2014-05-31 03:11:13 +09:00
Tetsuharu OHZEKI
6a6959a208 Remove needless '&mut self' from HTMLProgressElementMethods. 2014-05-31 03:11:13 +09:00