Commit graph

6640 commits

Author SHA1 Message Date
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
Ms2ger
7cf0da6b8a Merge pull request #3225 from Ms2ger/note-autoconf
Add a note about autoconf 2.13; r=Manishearth
2014-09-06 13:01:03 +02:00
Ms2ger
84e6ec18d3 Add a note about autoconf 2.13.
Many people seem to have this question.
2014-09-06 13:00:33 +02:00
Manish Goregaokar
cf094d09bd Merge pull request #3224 from duncankl/readme-arch-linux-setup
Add prerequisites for Arch Linux to the readme; r=Manishearth
2014-09-06 14:47:27 +05:30
Ms2ger
e38064c84a Merge pull request #3222 from Ms2ger/img-reflection
Fix HTMLImageElement setters; r=jdm
2014-09-06 09:01:18 +02:00
Duncan Keall
6eb1bb7ab1 Add prerequisites for Arch Linux to the readme. 2014-09-06 18:05:18 +12:00
Sean McArthur
375e475f99 make Node.type_id field private 2014-09-05 12:22:56 -07:00
Ms2ger
9cf2085823 Fix HTMLImageElement setters.
These would crash because the functions they call assert that they receive
lower-case names.

Fixing the crash allows reflection-embedded.html to finish successfully.
2014-09-05 17:45:48 +02:00
Josh Matthews
64a9075535 Merge pull request #3217 from glennw/layout-fixes
Fix inline size bubbling with fixed width block. Improve intrinsic inline size calculation for text fragments.
2014-09-05 10:05:14 -04:00
Manish Goregaokar
dfe4a707d4 Remove old submodule 2014-09-05 19:21:56 +05:30
Glenn Watson
4cb9f32427 Fix inline size bubbling with fixed width block. Improve intrinsic inline size calculation for text fragments.
These two fixes are related to the wikipedia metabug #2554.

They don't make the wikipedia page look better (they cause a slight regression in the top caption table), but they are prerequisites for fixing some of the other layout issues that remain.

Added reftests for each of the three cases I have come across that this patch solves.
2014-09-05 16:41:13 +10:00
Josh Matthews
94f7f46dd8 Merge pull request #3164 from cgaebel/layout-rpc
Avoid using message passing for simple JS -> Layout "rpc-like" queries.
2014-09-04 22:14:18 -04:00
Glenn Watson
a0854080cc Change scope macro to be a no-op in release builds. 2014-09-05 09:41:43 +10:00
Josh Matthews
b940828a8a Merge pull request #3207 from Ms2ger/347-3065-typeerror
Throw TypeErrors instead of uncatcheable exceptions in CodegenRust.py (fixes #347, #3065).
2014-09-04 17:16:44 -04:00
Clark Gaebel
dafd0b652d Added a fast no-message RPC interface to the layout task. 2014-09-04 14:10:07 -07:00
Pierre Louis Aublin
cf734b01b7 Throw TypeErrors instead of uncatcheable exceptions in CodegenRust.py (fixes #347, #3065). 2014-09-04 14:45:24 +02:00
Ms2ger
ff97135ab9 Merge pull request #3204 from Ms2ger/2972-3127-lastModified
Implement document.lastModified (fixes #2972, #3127); r=jdm+Manishearth
2014-09-04 13:53:58 +02:00
MechaXL
e2bfdb30a0 Implement document.lastModified (fixes #2972, #3127). 2014-09-04 13:44:02 +02:00
Ms2ger
f7877008d2 Merge pull request #3205 from Ms2ger/parse-integers
Parse canvas's width and height attributes according to the specification; r=jdm
2014-09-04 09:20:54 +02:00
glennw
941d9402af Merge pull request #3201 from glennw/fc-platform-fixup
Unify fontconfig source code so that one branch builds on both linux + android
2014-09-04 15:01:14 +10:00
Glenn Watson
acedb16670 Add a layout debug module. This outputs a trace of the layout process to a JSON
file which can be viewed in an external tool. It provides a timelapse view of
how the flow tree and fragments changed during the layout process, which makes
it easier to debug layout bugs.
2014-09-04 09:15:03 +10:00
Glenn Watson
68446ecb81 Unify fontconfig source code so that one branch builds on both linux + android. 2014-09-04 07:21:41 +10:00
Ms2ger
2d50e33902 Handle failure to parse the value of the width and height attributes on canvas elements (fixes #3200).
The remaining failures are due to the tests's use of getComputedStyle.
2014-09-03 20:14:27 +02:00
Ms2ger
e1b5b5183f Implement the rules for parsing integers as defined by HTML, and use them for canvas. 2014-09-03 19:48:07 +02:00
Ms2ger
940c013176 Merge pull request #3202 from Ms2ger/node-priv-members
Make some of Node's members private; r=Manishearth
2014-09-03 18:02:18 +02:00
Patrick Walton
603f7c9770 Merge pull request #3182 from glennw/inline-text-border
Add support for borders on inline elements
2014-09-03 08:16:53 -07:00