Patrick Walton
10f7b49cf7
Invert control flow, fix resizing, and improve checkerboarding
...
significantly by giving tiles some time to paint before we render
unrendered content.
2014-11-04 13:51:56 -08:00
Glenn Watson
90d793cdc8
Add task profiler, which works by instrumenting each task runtime when enabled.
2014-10-29 07:34:47 +10:00
bors-servo
4795e9cf0b
auto merge of #3730 : glennw/servo/taskpool, r=pcwalton
...
r? @pcwalton - Is this the kind of thing you were thinking of in terms of task queue?
2014-10-21 15:15:42 -06:00
Glenn Watson
26636474a9
Introduce a basic shared task pool, and use it for image decoding.
2014-10-20 13:34:14 +10:00
Glenn Watson
076495db94
Use opts as a global, to avoid cloning and passing the struct all over the code.
2014-10-20 10:48:47 +10:00
Matt Brubeck
77d32ee447
Move windowing code out of the compositor
...
This is mainly just moving code around, in preparation for further changes to
the "windowing" API.
2014-10-10 11:36:12 -07:00
Robin Stocker
8a5c6a0d3b
Allow to specify port with --devtools option ( fixes #3597 )
...
Note that using `servo --devtools http://example.org ` doesn't work. In
that case either the port must be specified or the option moved to the
end. This is done by getopts and is the same for other such options,
e.g. `--profile`.
2014-10-09 00:39:31 +11:00
Glenn Watson
dc1d66d3ce
Add cmd line option to set user agent. Improves github when used.
2014-10-03 13:57:12 +10:00
Keegan McAllister
a640a7c5c3
Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)
2014-09-20 13:00:06 -07:00
Josh Matthews
f0f7e98dfa
Dump initial prototype of devtools server into the build. Expect lies if you try to use it for anything real.
2014-09-18 15:06:40 -04:00
Simon Sapin
11135d75cb
Try to parse command line argument as file names
...
… when parsing as an absolute URL (without a base) fails.
Previously, arguments were parsed as URLs with the current working directory
converted to an URL and used as the base URL. This mostly worked for
relative filenames, except that `?` and `#` had a special meaning
and needed to be percent-encoded.
Fix #3340 .
2014-09-16 14:41:45 +01:00
Jack Moffitt
e10206e91e
Reinstate errors for unused variables and imports.
2014-09-13 23:38:00 -06:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06: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
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
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
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
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
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
Ms2ger
ce9e5ae213
Make some of Node's members private.
2014-09-03 13:02:17 +02:00
Patrick Walton
ec6f83077b
Merge pull request #3195 from glennw/image-format
...
Fix task failure when loading wikipedia.
2014-09-03 00:35:20 -07:00
Glenn Watson
e4e1c71d48
Add support for borders on inline elements.
...
Fix ahem reftests on mac, by disabling text AA in reftest mode.
Also fix precision issues in font metrics to correct height
and baseline calculations.
2014-09-03 07:16:17 +10:00
Josh Matthews
cb559efd4e
Merge pull request #3173 from mrobinson/typed-units-1
...
Start using more typed units in the compositor
2014-09-02 15:14:37 -04:00
Ms2ger
ee39685051
Move the script type and language checks into HTMLScriptElement.
...
This is IMO a more sensible place for them to live, and prepares for the
demise of hubbub_html_parser.rs, as we move to html5ever.
2014-09-02 09:00:41 +02:00
Glenn Watson
78ef16bfae
Fix task failure when loading wikipedia.
...
There is still an issue with alpha display, so there is
likely a problem elsewhere, but this at least allows the
page to load for now (ref #2554 ).
2014-09-02 15:58:38 +10:00
Glenn Watson
c0d08a6c2e
Revert "Move PropertyBitField to a syntax extension."
...
This reverts commit d6002a0a50
.
2014-09-02 07:58:17 +10:00
Glenn Watson
cc03e4f9e2
Revert "fixup! Move PropertyBitField to a syntax extension."
...
This reverts commit 653f257029
.
2014-09-02 07:58:08 +10:00
Glenn Watson
a8b7b193f5
Revert "Add tests for the bit_struct! macro."
...
This reverts commit dd44a7d24a
.
2014-09-02 07:57:57 +10:00
Glenn Watson
4952bee0f7
Disable ssl on android as openssl needs to be added to build system.
2014-09-01 11:27:13 +10:00
Gilles Leblanc
d12243df0d
Share code between HTMLScriptElement:Text and Node:GetTextContent
...
Added a function in Node called collect_text_contents which is called
from both places.
Fixes #3157
2014-08-30 20:34:08 -04:00
Ms2ger
8af758f591
Merge pull request #3186 from wenderen/Window.frames
...
implement window.frames; r=Manishearth
2014-08-30 09:12:17 +02:00
Rohan Prinja
fd09df71a4
implement window.frames
2014-08-30 02:25:23 +05:30