Commit graph

2007 commits

Author SHA1 Message Date
Patrick Walton
1fbfd7d45e Implement horizontal scrolling and pinch-to-zoom 2013-06-12 11:02:51 -07:00
Eric Atkinson
0bbf2fc30a Refactor flow tree construction and actually use display property. 2013-06-12 11:02:51 -07:00
Tim Kuehn
ff1178f7ca handle relative url's when clicking 2013-06-12 11:02:51 -07:00
Tim Kuehn
bf4df24521 Provide an interface to the engine for the script task 2013-06-12 11:02:51 -07:00
Patrick Walton
abe6a06cbf Update rust-layers for GL_LINEAR zooming 2013-06-12 11:02:50 -07:00
eschweic
9085b882c6 Implement scrolling and better zooming 2013-06-12 11:02:50 -07:00
Tim Kuehn
a53a7f689d Add link following and refactor the profiler. 2013-06-12 11:02:49 -07:00
bors-servo
e5c0021299 auto merge of #499 : ILyoan/servo/css_class, r=jdm
This patch implement css class selection. 

This involves update of 3 submodules

- rust-css: https://github.com/mozilla-servo/rust-css/pull/13
- rust-netsurfcss: https://github.com/mozilla-servo/rust-netsurfcss/pull/12
- libcss: https://github.com/mozilla-servo/libcss/pull/3

The commit hash number for submodules might be changed when the submodule is merged.
The update for libcss is only for debug print which is out of data and will not compiled without DEBUG_CHAIN_MATCHING flag.
2013-06-11 23:42:29 -07:00
ILyoan
cf0f9ed4ea Update submodules 2013-06-12 14:35:22 +09:00
ILyoan
aaeb683654 Add test for css class 2013-06-12 14:35:18 +09:00
ILyoan
8c92b8accd Support css class selection (2) 2013-06-12 14:05:44 +09:00
ILyoan
97b5f5cdd6 Supprot css class selection 2013-06-12 14:05:41 +09:00
bors-servo
0ae2081e63 auto merge of #512 : metajack/servo/pcwalton-master, r=jdm
This is try number 2 for #501 rollup.
2013-06-11 15:27:33 -07:00
Jack Moffitt
cdd5de7f97 Disable tests for nspr and nss. 2013-06-11 16:24:10 -06:00
Jack Moffitt
a5e3605f4b Fix rust-css tests. 2013-06-11 16:24:00 -06:00
Jack Moffitt
f0692e5795 Update rust-glut. 2013-06-11 16:23:51 -06:00
Jack Moffitt
b635079091 Revert rust-css and rust-netsurfcss to working versions. 2013-06-11 15:30:43 -06:00
Jack Moffitt
a42cf9b379 Fix types. 2013-06-11 15:30:28 -06:00
Jack Moffitt
16ca6f2a16 Add missing field. 2013-06-11 15:30:10 -06:00
Jack Moffitt
ea1c88377c Fix warning. 2013-06-11 15:29:59 -06:00
Jack Moffitt
4cf4302bd7 Update nss. 2013-06-11 13:16:07 -06:00
Jack Moffitt
a2c4f72456 Fix spacing. 2013-06-11 13:16:00 -06:00
Jack Moffitt
5425154f96 Merge remote-tracking branch 'origin/master' into pcwalton-master
Conflicts:
	src/components/main/layout/box_builder.rs
2013-06-10 21:31:11 -06:00
Jack Moffitt
bb6ae7a825 Update NSS to fix build issues. 2013-06-10 21:02:11 -06:00
bors-servo
3203b332f6 auto merge of #511 : caitp/servo/issue-479, r=jdm
Return lists of last-resort font family names in platform-specific font_list code, so that they can be appended to the end of FontGroup and used if the requested font faces are not available.
2013-06-10 17:54:40 -07:00
Caitlin Potter
24ef69dccb Implement basic last-resort font selection. 2013-06-10 15:26:04 -04:00
bors-servo
8ee1b5f57a auto merge of #508 : eric93/servo/refactor_flowtree_construction, r=pcwalton
Eliminates a level of indirection in flow tree construction and uses 'display' to construct flows.
2013-06-10 09:39:48 -07:00
Joel Feenstra
9d7f78ac79 Add initial support for the line-height property. Line height is only based on the tallest box in each line and does not factor in the vertical-alignment. Improves whitespace handling by passing the whitespace state between function invocations. 2013-06-08 20:34:39 -04:00
Eric Atkinson
4c6b4fb593 Refactor flow tree construction and actually use display property. 2013-06-07 14:55:12 -07:00
Patrick Walton
98a730c703 Use full paths for submodules in the configure script 2013-06-06 16:21:18 -07:00
Patrick Walton
c65d51f812 Address review comments 2013-06-06 13:55:14 -07:00
Patrick Walton
97eb5671bb Update the configure script to pass --enable-64bit 2013-06-06 13:47:52 -07:00
eschweic
f59b0963ee Changed texturing mode to LINEAR for better zooming 2013-06-06 11:31:47 -07:00
Patrick Walton
9c25474ea6 Only warn, don't assert, if the node range length is zero.
This broke http://www.all-about-ferrets.com/long-tailed-weasel.html
2013-06-06 10:47:30 -07:00
Patrick Walton
ae5b2dfc72 Roll up block layout changes 2013-06-05 21:40:11 -07:00
Patrick Walton
5750069e0a Use the scroll hack 2013-06-05 21:40:07 -07:00
eschweic
6832808caa Merge with pcwalton's updated branch 2013-06-05 15:51:03 -07:00
eschweic
160f58e90a Impelemented zooming and slightly better scrolling. 2013-06-05 15:35:53 -07:00
Patrick Walton
7a435fc6ed Refactor document damage to distinguish it from layout/style damage.
Also, standardize on the name "reflow" instead of "relayout" or "build".
2013-06-04 22:00:33 -07:00
Patrick Walton
40a69fc517 Address review comments 2013-06-04 15:23:18 -07:00
Patrick Walton
8d3b6aefa8 Stop rendering when script queries layout 2013-06-04 11:43:52 -07:00
Patrick Walton
e6ff135c01 test_slam_layout, a new layout perf test case 2013-06-04 11:43:47 -07:00
Patrick Walton
fb2ce2c00c Rename with_imm_base to with_base. 2013-06-03 16:06:38 -07:00
Eric Atkinson
cddf67a0e6 Update border rendering 2013-05-31 17:29:23 -07:00
Patrick Walton
f1fcd4d323 Add comments and compute heights properly 2013-05-31 17:28:14 -07:00
Patrick Walton
72ca765cd0 Update rust-css and fix some dynamic borrow check failures 2013-05-31 17:22:01 -07:00
Patrick Walton
0b91af3677 Refactor a bit and compute vertical margins as well. 2013-05-30 22:56:15 -07:00
Patrick Walton
708f9b4db5 Fix method names and dynamic borrow check failures 2013-05-30 18:14:50 -07:00
Eric Atkinson
d5e47933ab Add horizontal borders, margins and padding. Broken until rust-css supports padding 2013-05-30 17:39:33 -07:00
Patrick Walton
facb70756c Update rust-css and rust-netsurfcss 2013-05-30 17:38:00 -07:00