Josh Matthews
6351fc75fd
Only store the url inside a pipeline instead of the rest of the LoadData.
2015-03-03 16:25:40 -05:00
Simon Sapin
4c1d778ced
Revert "layout: Implement ordered lists, CSS counters, and quotes
per CSS 2.1"
...
This reverts commit 30fd28d107
.
2015-03-03 21:16:24 +01:00
Patrick Walton
30fd28d107
layout: Implement ordered lists, CSS counters, and quotes
per CSS 2.1
...
§ 12.3-12.5.
Only simple alphabetic and numeric counter styles are supported. (This
is most of them though.)
Although this PR adds a sequential pass to layout, I verified that on
pages that contain a reasonable number of ordered lists (Reddit
`/r/rust`), the time spent in generated content resolution is dwarfed by
the time spent in the parallelizable parts of layout. So I don't expect
this to negatively affect our parallelism expect perhaps in pathological
cases.
2015-03-03 17:31:19 +01:00
Patrick Walton
09358b908d
layout: Implement text-shadow
per CSS-TEXT-DECORATION-3 § 4.
2015-03-02 13:28:51 -08:00
bors-servo
8bc4d07e50
auto merge of #5033 : Manishearth/servo/gonk-warn, r=Ms2ger
...
Rust still reports that the `*mut ANativeWindow` argument in `gnw_perform` in `gonk/src/window.rs` is ffi unsafe,
however `ANativeWindow` is marked as `#[repr(C)]` and should be okay.
2015-02-28 14:09:48 -07:00
Manish Goregaokar
488b0e4b26
Fix mutabiliy of x_info
2015-03-01 02:38:56 +05:30
Ankit Agrawal
c8de895094
Add profiling to image decoding.
...
This extracts some independently useful parts of
<https://github.com/servo/servo/pull/4215 >.
2015-02-28 18:35:48 +01:00
Bryan Bell
a3fac7c0fe
Enable osx cursor support
...
Dependent on https://github.com/tomaka/glutin/pull/300
2015-02-27 02:05:45 -08:00
Jack Moffitt
521f60ec0d
Update to latest Cocoa.
...
This fixes Servo in release mode on OS X.
2015-02-26 08:19:48 -07:00
Nicholas Nethercote
34a384241a
Report detailed RSS measurements from /proc/<pid>/smaps on Linux.
...
All anonymous segments are aggregated into a single measurement, as are
all segments smaller than 512 KiB.
Example output:
142.89: resident-according-to-smaps
97.84: - anonymous (rw-p)
23.98: - /home/njn/moz/servo/components/servo/target/servo (r-xp)
6.58: - [heap] (rw-p)
5.36: - other
3.51: - /usr/lib/x86_64-linux-gnu/dri/i965_dri.so (r-xp)
1.33: - /lib/x86_64-linux-gnu/libc-2.19.so (r-xp)
0.93: - /home/njn/moz/servo/components/servo/target/servo (r--p)
0.76: - /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 (r-xp)
0.74: - /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 (r-xp)
0.50: - /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (r-xp)
0.50: - /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1 (r-xp)
0.45: - /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0 (r-xp)
0.43: - /lib/x86_64-linux-gnu/libm-2.19.so (r-xp)
2015-02-23 15:20:32 -08:00
Manish Goregaokar
c977c9a68c
Fix warnings in Gonk
2015-02-23 21:17:49 +05:30
Simon Sapin
2a50755c8a
Move selector matching to an external library, for use outside Servo.
2015-02-23 16:29:34 +01:00
bors-servo
2e1adb3fa6
auto merge of #5016 : jdm/servo/canvas-for-svg, r=jdm
...
the tiger.
Rebased from #4623 .
2015-02-22 20:33:45 -07:00
Patrick Walton
55a0ee6ec7
script: Implement enough 2D canvas support to render basic SVGs such as the tiger.
2015-02-22 22:29:58 -05:00
Ms2ger
40e62f13d3
Fix build warnings in CEF.
2015-02-22 22:33:15 +01:00
bors-servo
2271de3d5b
auto merge of #5012 : psdh/servo/defopts, r=jdm
...
Fixes #5002
2015-02-22 13:15:44 -07:00
Prabhjyot Singh Sodhi
432f7a5139
using opts::default_opts() in cef/core.rs
...
Fixes #5002
2015-02-23 01:31:46 +05:30
yodalee
1ae28814cb
update mozjs-sys to newest
2015-02-22 00:53:28 +08:00
bors-servo
bc5eeb00a1
auto merge of #5000 : Ms2ger/servo/libc-gfx, r=jdm
2015-02-21 06:51:50 -07:00
Ms2ger
e072e5946e
Move gfx to libc from crates.io.
2015-02-21 10:53:00 +01:00
yodalee
9e03029b49
update mozjs and rust-mozjs to newest
...
All Typedarray supported
2015-02-21 17:44:07 +08:00
bors-servo
d26345f868
auto merge of #4994 : pcwalton/servo/layout-tinting, r=pcwalton
...
r? @metajack
2015-02-20 23:06:48 -07:00
bors-servo
d326e75c5e
auto merge of #4991 : Manishearth/servo/gonkup, r=larsbergstrom
...
r? @larsbergstrom
cc @mwu
2015-02-20 22:27:49 -07:00
Manish Goregaokar
2711d00666
Remove dependency on backup-flame dir
...
We should be using the one in the product target dir instead.
This makes the B2G deps distributable again
2015-02-21 09:42:47 +05:30
Manish Goregaokar
04a4d5c421
Document gonk build
2015-02-21 09:42:47 +05:30
Manish Goregaokar
748e0c55d1
Make cargo build work without visible link hacks (beware: contains invisible link hacks)
2015-02-21 09:42:47 +05:30
Manish Goregaokar
46824616d2
Make gonk compile again
2015-02-21 09:42:45 +05:30
bors-servo
991b479531
auto merge of #4977 : andreasgal/servo/master, r=jdm
...
The new interface will be added by https://github.com/ser...vo/rust-azure/pull/145 (has to be merged first).
2015-02-20 21:00:55 -07:00
Patrick Walton
40a3b41758
layout: Add an option to visualize parallel layout
2015-02-20 19:11:35 -08:00
Ms2ger
895d1ec10a
Move compositing to libc from crates.io.
2015-02-21 00:24:58 +01:00
Andreas Gal
ad5671bc14
Use cleaner StrokeOptions interface introduced by https://github.com/servo/rust-azure/pull/145 .
2015-02-20 14:56:23 -08:00
Ms2ger
125df55222
Move util to libc from crates.io.
2015-02-20 08:58:23 +01:00
bors-servo
49ff6b2ccc
auto merge of #4969 : servo/servo/parallel-paint-demo, r=glennw
...
You can enable this with `-Z show-parallel-paint`. The output looks like this:

2015-02-19 16:21:57 -07:00
Jack Moffitt
7acc0619e6
Correct usage of number of painting threads.
...
Previously this used the number of layout threads to allocate the
threadpool. This also makes the member name consistent with the rest of
the structure.
2015-02-19 16:17:55 -07:00
Jack Moffitt
923676d443
Added overlay for demoing parallel painting.
2015-02-19 16:17:55 -07:00
Ms2ger
b6483c96be
Move layout to libc from crates.io.
2015-02-19 21:38:25 +01:00
Ms2ger
63f606306d
Move js to libc from crates.io.
2015-02-19 17:42:14 +01:00
Ms2ger
35a707e287
Remove the libc feature gate from cef.
...
As it depends on the crates.io libc crate, the feature gate doesn't apply.
2015-02-19 14:42:21 +01:00
bors-servo
dc31d96f65
auto merge of #4951 : glennw/servo/set-title, r=jdm
2015-02-18 14:42:49 -07:00
Glenn Watson
b7894248cf
Update rust-cocoa to get fix for setting window title.
2015-02-19 07:14:54 +10:00
bors-servo
25678f9c2f
auto merge of #4943 : thiagopnts/servo/remove-warnings, r=gw
...
Remove warning from unused import
2015-02-18 14:00:58 -07:00
thiagopnts
211a1340c4
Remove 'unused import' warning
...
Add import for linux only
2015-02-18 17:57:46 -02:00
Glenn Watson
56eedbaebe
Change window title to reflect document title
2015-02-18 10:51:37 +10:00
Ms2ger
aaed4a54c7
Use rustc-serialize rather than the built-in deprecated serialize.
2015-02-17 13:24:15 +01:00
Manish Goregaokar
b4ae5b7edb
Fix cef/gonk deps
2015-02-17 12:45:39 +05:30
Manish Goregaokar
d13328fa80
Fix cocoa dep on libc
2015-02-17 12:10:45 +05:30
Manish Goregaokar
d06f8fa4c8
Fix bug with conversion of glutin keycode to constellation keycode
2015-02-17 11:42:57 +05:30
Manish Goregaokar
70d1c6e012
Update to latest glutin
2015-02-17 11:25:57 +05:30
bors-servo
a848a00a1d
auto merge of #4896 : bjwbell/servo/mouse-cursor, r=glennw
...
r? @glennw
2015-02-16 14:54:49 -07:00
bors-servo
6d2e840bf4
auto merge of #4934 : glennw/servo/fix-1248, r=pcwalton
2015-02-16 14:06:52 -07:00