Commit graph

3647 commits

Author SHA1 Message Date
Sangeun Kim
3e74538b8b Test file for asymmetric border color 2013-08-20 10:01:39 +09:00
Sangeun Kim
3616c033d6 Use new_all_same with same value instead of new 2013-08-20 10:01:39 +09:00
Sangeun Kim
0e863b3cef Implement asymmetric border colors 2013-08-20 10:01:39 +09:00
bors-servo
3c80685758 auto merge of #745 : kmcallister/servo/glfw, r=metajack 2013-08-19 17:52:12 -07:00
Keegan McAllister
84d0615db9 Update to latest glfw-rs 2013-08-19 17:28:15 -07:00
Tim Kuehn
14fc16af2e remove commented out code from compositor_layer::from_frame_tree 2013-08-19 19:38:12 -04:00
Tim Kuehn
b437141852 add todos for iframe size messaging in float/inline 2013-08-19 19:36:35 -04:00
eschweic
813bb2e43f Add Epoch newtype; address review comments 2013-08-19 19:36:29 -04:00
Tim Kuehn
70cb58f2cf fixed bug in FrameTree.replace_child that caused a copy that broke the code 2013-08-19 19:35:27 -04:00
eschweic
eb6973c7dc Implement epochs; fix integration bugs 2013-08-19 19:34:52 -04:00
Tim Kuehn
f2c00f7e28 move navigation_type from Pipeline to FrameChange 2013-08-19 19:11:12 -04:00
eschweic
8993434c39 Better layer resize methods 2013-08-19 19:11:12 -04:00
Tim Kuehn
2c44288c26 some more minor refactoring in constellation 2013-08-19 19:11:12 -04:00
Tim Kuehn
bd5526de94 add iframe support 2013-08-19 19:11:12 -04:00
Tim Kuehn
93368a2bf3 removed old TODO 2013-08-19 19:11:12 -04:00
Tim Kuehn
a58b01bc86 support in layout to send iframe sizes 2013-08-19 19:11:12 -04:00
Tim Kuehn
666c29480e refactor iframe element fields to support sending size to the constellation 2013-08-19 19:11:11 -04:00
Tim Kuehn
86f0aacb3d reorganized constellation.
compositor routes dom events via constellation.
constellation handles iframe sizing and resizing.
2013-08-19 19:11:11 -04:00
Tim Kuehn
e4d44fb8d2 added CompositorLayer::from_frame_tree 2013-08-19 19:11:11 -04:00
Tim Kuehn
2e166fb7ca add rect to FrameTree 2013-08-19 19:11:11 -04:00
Tim Kuehn
e64609eb25 placeholders for FrameRectMsg from Layout to Constellation 2013-08-19 19:11:11 -04:00
Tim Kuehn
5a1a56507b add comment re: clipping rect 2013-08-19 19:11:11 -04:00
Tim Kuehn
f514a8b36a add rect to FrameTree 2013-08-19 19:11:11 -04:00
bors-servo
89c5083f86 auto merge of #744 : kmcallister/servo/debug, r=metajack 2013-08-19 15:34:12 -07:00
Keegan McAllister
4abbbdecc4 Pass --cfg debug to rustc 2013-08-19 15:29:39 -07:00
bors-servo
4407e52a32 auto merge of #743 : eschweic/servo/dlbi, r=kmcallister
A few changes to the compositor to support invalidate_rect requests from layout.

r? @kmcallister
2013-08-19 14:31:13 -07:00
eschweic
f9df74595c Add NodeStatus enum, infrastructure for compositor-side invalidation 2013-08-19 14:01:52 -07:00
bors-servo
30bfd3fb32 auto merge of #739 : ILyoan/servo/acid1_margin, r=metajack
In `assign_height_inorder_float()`, `base.position.size.height` already counted padding and border, so adding `noncontent_height` to `height` would result in doubling counted padding and border.

By this patch acid1 would be displayed more accurately.

Not sure but maybe width has the same problem, I'll investigate it.
2013-08-19 08:58:15 -07:00
Ilyong Cho
a422d548b9 Fix doubling noncontent_height in float flow 2013-08-19 14:50:48 +09:00
bors-servo
c1d6137418 auto merge of #736 : metajack/servo/azure-layers-master, r=metajack,me 2013-08-16 18:04:04 -07:00
Jack Moffitt
98d95135ed Update rust-azure and rust-layers to their master branches. 2013-08-16 18:58:56 -06:00
bors-servo
2359587cbb auto merge of #735 : kmcallister/servo/rust-upgrade, r=kmcallister,metajack
Was #734.
2013-08-16 15:46:03 -07:00
Keegan McAllister
42aeb13d44 Revert to using -o for tests 2013-08-16 15:41:58 -07:00
Jack Moffitt
dd45751368 Fix macos interators, warnings, and updating submodules. 2013-08-16 14:30:34 -06:00
Simon Sapin
8fec26174b Upgrade to rustc 0.8-pre (0a677bc 2013-08-14 10:35:12 -0700) 2013-08-16 14:49:32 +01:00
Keegan McAllister
5d00b88e2c Force a rebuild of rustc 2013-08-15 15:34:31 -07:00
Keegan McAllister
16d6e5db3c Remove start() when building the test harness
Otherwise it will take over before the harness code has a chance to run.
2013-08-15 14:54:57 -07:00
Brian Anderson
c377ec7516 Put the compositor on the main thread in the newrt way 2013-08-15 13:56:29 -07:00
Keegan McAllister
fb3db6a72d Un-stub timer code 2013-08-15 13:56:29 -07:00
Keegan McAllister
a2d9810b69 Update Rust version again
This gets us the new runtime.
2013-08-15 13:56:29 -07:00
Keegan McAllister
ef50acfa89 Remove HTTP support (!)
We'll need a new HTTP client lib written against newrt.
2013-08-15 13:56:29 -07:00
Keegan McAllister
e917ff353b Stub out some things that need changes for newrt
brson and I will work on these next.
2013-08-15 13:56:29 -07:00
Keegan McAllister
307f1074d3 For loops and misc changes 2013-08-15 13:56:29 -07:00
Keegan McAllister
1bdaff0fad Reorganize tree ref / node traits
rustc is no longer happy with

    impl<NR:TreeNodeRef<N>,N:TreeNode<NR>> TreeUtils for NR
2013-08-15 13:55:40 -07:00
Keegan McAllister
abaeb58203 Convert our iterators to external iterators
Except util/tree.rs (see next commit).
2013-08-15 13:55:40 -07:00
Keegan McAllister
be061a9aa0 Library changes 2013-08-15 13:55:40 -07:00
Keegan McAllister
ffe60ea027 Trait changes, and eliminate 'copy' 2013-08-15 13:55:40 -07:00
Keegan McAllister
907d9f23cf Linter changes 2013-08-15 13:55:40 -07:00
Keegan McAllister
ac380df8b0 Update submodules for new Rust version 2013-08-15 13:55:40 -07:00
Keegan McAllister
9346cab684 Remove rust-glut 2013-08-15 13:55:40 -07:00