Commit graph

6115 commits

Author SHA1 Message Date
Josh Matthews
68dcc67d98 Merge pull request #3284 from glennw/file-loader-fix
Return error when unable to create a file path from url.
2014-09-11 08:59:04 -04:00
Jack Moffitt
1124430eea Merge pull request #3281 from pcwalton/premultiply-alpha
net: Premultiply alpha in PNGs.
2014-09-10 23:47:17 -06:00
Patrick Walton
a3465d2962 net: Premultiply alpha in PNGs.
Closes #2857.
2014-09-10 22:08:06 -07:00
Glenn Watson
627359e9e4 Return error when unable to create a file path from url. 2014-09-11 14:22:59 +10:00
glennw
3bd5ef3384 Merge pull request #3280 from metajack/path-with-spaces
Fix loading of file URLs with spaces
2014-09-11 13:50:03 +10:00
Jack Moffitt
5f713517a2 Fix loading of file URLs with spaces 2014-09-10 18:13:25 -06:00
Josh Matthews
6bf8412f9a Merge pull request #3274 from saneyuki/attr
Move Attr::set_value and Attr::value out of the Attr impl
2014-09-10 17:10:57 -04:00
Tetsuharu OHZEKI
a4ec892dbc Move Attr::local_name() to AttrHelpers/AttrHelpersForLayout. 2014-09-11 04:54:38 +09:00
Tetsuharu OHZEKI
b73b06b9a8 Move Attr helper methods to AttrHelpers trait to avoid to touch them from layout task. 2014-09-11 04:54:38 +09:00
Josh Matthews
816e816329 Merge pull request #3271 from duncankl/virtualenv2-fix
Use virtualenv2 in tests/wpt/run.sh if installed
2014-09-10 15:17:43 -04:00
Jack Moffitt
842823e321 Merge pull request #3268 from saneyuki/dep
Remove needless rust-png dependency.
2014-09-10 09:38:22 -06:00
Manish Goregaokar
7a974fa231 Merge pull request #3258 from Manishearth/transmute_lint
Add lint for type-checking transmutes; r=jack
2014-09-10 18:39:38 +05:30
glennw
db3217397b Merge pull request #3272 from glennw/wikipedia-layout
Fix layout of Create Account / Login when rendering Wikipedia.
2014-09-10 19:18:43 +10:00
Jack Moffitt
3924652aa3 Merge pull request #3263 from duncankl/refactor-test-tidy
Refactor python/tidy.py (updated post-cargoify)
2014-09-09 22:46:34 -06:00
Glenn Watson
98caecf7ec Fix layout of Create Account / Login when rendering Wikipedia.
When calculating the preferred width for a block, accumulate
the left and right float widths of children separately, which
is then max'ed with the normal flow widths later on.

Ref bug #2554 - improves the layout of the top bar.
2014-09-10 13:51:42 +10:00
Manish Goregaokar
d765d65b7a Add lint for type-checking transmutes 2014-09-10 09:11:44 +05:30
Duncan Keall
1dc399d70a Use virtualenv2 in tests/wpt/run.sh if installed 2014-09-10 15:00:18 +12:00
Jack Moffitt
aafab19e24 Merge pull request #3262 from mbrubeck/cargo
Cargo fixes
2014-09-09 20:55:48 -06:00
Josh Matthews
5a1db0db20 Merge pull request #3267 from duncankl/readme-arch-linux-setup
Update Arch Linux prerequisites (updated post-cargoify)
2014-09-09 22:54:34 -04:00
Duncan Keall
9a126276a9 Update Arch Linux prerequisites now that cargoify has landed 2014-09-10 14:38:50 +12:00
Tetsuharu OHZEKI
00445b0b49 Remove needless rust-png dependency. 2014-09-10 10:42:58 +09:00
Josh Matthews
bd3364d64c Merge pull request #3264 from metajack/readme-glfw-deps
Add glfw3 as a dep to the README.
2014-09-09 21:25:01 -04:00
Jack Moffitt
6eeac023a9 Merge pull request #3256 from glennw/font-fixes
Improve quality of font rendering on Linux (and Android).
2014-09-09 18:39:27 -06:00
Matt Brubeck
158308894a Remove reference to old extlibs dir 2014-09-09 16:42:11 -07:00
Duncan Keall
74cc288cdb Use os.path.join instead of manually inserting slashes. 2014-09-10 11:03:21 +12:00
Jack Moffitt
1c37e54065 Add note about installing glfw3 from source. 2014-09-09 16:40:47 -06:00
Jack Moffitt
e6c063032a Add glfw3 as a dep to the README. 2014-09-09 16:28:28 -06:00
Matt Brubeck
de849f27c1 Update fontconfig
Picks up servo/libfontconfig#2.
2014-09-09 15:14:13 -07:00
Duncan Keall
8e25e958ab Cleaned up python/licenseck.py
- Moved logic into tidy.py
- Removed explicit BSD license exceptions, they are already ignored by
  being inside the codegen directory.
2014-09-10 10:01:46 +12:00
Duncan Keall
6c48066565 Refactor python/tidy.py to not use globals. Fixes #3242 2014-09-10 10:01:46 +12:00
Matt Brubeck
0d19453290 Fix typo in 'mach cargo --help' 2014-09-09 14:57:26 -07:00
Matt Brubeck
965ba08c75 Pass --target option from mach to cargo 2014-09-09 14:56:51 -07:00
Glenn Watson
d218815394 Define constant parameters strings as statics. 2014-09-10 07:29:40 +10:00
Glenn Watson
cc24e68186 Improve quality of font rendering on Linux (and Android).
The freetype hinting only works on integer pixel sizes. For this
reason, the advance width metrics for a font of size 12.99 are
the same as the advance metrics for a font of size 12.0. This
results in small fonts appearing to overlap slightly, which is
particularly noticeable on parts of Wikipedia. Round the font
size up to a pixel boundary inside the freetype system.

Also fetch the system default fonts for the generic font families
rather than hard coding them.

These two changes make the font rendering on Linux very close
to the Firefox font rendering on Wikipedia.
2014-09-10 07:29:40 +10:00
Jack Moffitt
523270c265 Merge pull request #3260 from metajack/fix-cef-linux
Only pass extra link flags on OS X.
2014-09-09 15:19:50 -06:00
Josh Matthews
05f2d0ca83 Merge pull request #3259 from metajack/update-readme
Update the README a bit.
2014-09-09 14:33:47 -04:00
Jack Moffitt
cc0cf9dc2b Only pass extra link flags on OS X.
Fixes #3249
2014-09-09 11:12:02 -06:00
Jack Moffitt
39f7dd9277 Update the README a bit. 2014-09-09 09:25:08 -06:00
Jack Moffitt
b1305bb7d0 Merge pull request #3230 from servo/cargoify
Cargoify servo
2014-09-09 08:18:18 -06:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00
Josh Matthews
db2f642c32 Merge pull request #3246 from SimonSapin/wpt-python2
Fix WPT when /usr/bin/python is python3
2014-09-08 10:06:41 -04:00
Simon Sapin
f67f6ef062 Fix WPT when /usr/bin/python is python3
Use the Python that was detected during configure.
2014-09-08 14:18:02 +02:00
Patrick Walton
f701a9b827 Merge pull request #3206 from glennw/layout-trace-enc
Add an initial pass at a layout debug module.
2014-09-07 23:33:09 -07:00
Ms2ger
2c0b66a782 Merge pull request #3240 from Ms2ger/mark-null
Avoid trying to trace a null JSVal; r=jdm
2014-09-08 00:06:24 +02:00
Ms2ger
383c754b60 Merge pull request #3227 from Ms2ger/3208-parse-integer
Correct the iterator adaptors used in parsing integers (fixes #3208); r=jdm+Manishearth
2014-09-07 15:11:41 +02:00
Ms2ger
c56f8a2c79 Correct the iterator adaptors used in parsing integers (fixes #3208).
This avoids Azure segfaulting trying to set up a 100999px*100999px canvas.

The test still fails due to its use of getComputedStyle.
2014-09-07 15:10:07 +02:00
Ms2ger
2d2674e346 Avoid trying to trace a null JSVal.
JSVal::trace_kind() asserts that it is a markable type; null is a gcthing that
is not markable.
2014-09-07 12:42:59 +02:00
Ms2ger
0d202b6bda Merge pull request #3226 from Ms2ger/3209-disable
Disable intermittently failing Document-characterSet-normalization.html (fixes #3209); r=jdm
2014-09-07 00:13:25 +02:00
Josh Matthews
572d33fa14 Merge pull request #3210 from seanmonstar/private-node-type-id
make Node.type_id field private, access through type_id()
2014-09-06 16:46:07 -04:00
Ms2ger
3fa292d391 Disable intermittently failing Document-characterSet-normalization.html (fixes #3209).
As we currently don't support anything but utf-8, this is not a particularly
useful test to run.
2014-09-06 22:02:42 +02:00