Patrick Walton
f699ca975f
layout: Create a font context in sequential mode
2014-02-24 18:12:44 -08:00
Patrick Walton
282bd1d031
layout: Construct flows in parallel, without a leaf set
2014-02-24 18:12:44 -08:00
Patrick Walton
3b363d4e5d
layout: Make ParallelPreorderFlowTraversal
more generic
2014-02-24 18:06:24 -08:00
Patrick Walton
2cec5c6c5e
layout: Combine assign-widths and assign-heights traversals.
...
15% layout speedup on mobile Wikipedia.
2014-02-24 18:06:24 -08:00
Patrick Walton
9479a7dcac
layout: Run assign-widths in parallel.
...
5% layout speedup on mobile Wikipedia.
2014-02-24 18:06:24 -08:00
bors-servo
df993fdaf3
auto merge of #1689 : jdm/servo/unions, r=kmcallister
...
Seven hours on a train without internet will do this to you. Fixes #541 .
2014-02-24 20:01:39 -05:00
bors-servo
998710d907
auto merge of #1738 : saneyuki/servo/opt, r=kmcallister
...
I think gfx/opts.rs should be placed to more general place.
2014-02-24 17:43:41 -05:00
Josh Matthews
232ca59708
Address review comments. Fix union conversion result mistakes introduced in refactoring.
2014-02-24 17:20:37 -05:00
Josh Matthews
02d2ec5ccd
Make JSVal conversions actually fallible.
2014-02-24 17:18:47 -05:00
bors-servo
22760b6665
auto merge of #1739 : Ms2ger/servo/document-cleanup, r=jdm
...
The specs currently have only Document; this may well change, but the split won't be along the lines we've implemented right now. In the meantime, this simplifies our code quite a bit.
2014-02-24 17:13:46 -05:00
Tetsuharu OHZEKI
63cab5c72c
Move from gfx::opts to servo_util::opts.
2014-02-25 07:07:54 +09:00
Ms2ger
870ccd95d2
Remove DocumentTypeId.
2014-02-24 22:35:28 +01:00
Ms2ger
5ede84fa46
Remove document::DocumentType ( fixes #1730 ).
2014-02-24 22:28:27 +01:00
Ms2ger
e2617a6396
Remove HTMLDocument.
2014-02-24 22:23:11 +01:00
Ms2ger
7190feb5e3
Move HTMLDocument members to Document.
2014-02-24 22:17:33 +01:00
Ms2ger
2c8107e811
Remove methods from IDL that don't do anything useful.
2014-02-24 22:12:04 +01:00
Josh Matthews
4cdb4df70c
Remove commented bits that aren't necessary.
2014-02-24 15:56:38 -05:00
Josh Matthews
9f05f70754
Clean up TrySetTo interface to avoid mutable outrefs.
2014-02-24 15:56:38 -05:00
Josh Matthews
d590a327bd
Implement WebIDL union support.
2014-02-24 15:56:38 -05:00
Josh Matthews
d0bfdbf150
Initial unmodified dump of Gecko's union codegen.
2014-02-24 15:56:38 -05:00
bors-servo
ffcf3b2905
auto merge of #1591 : jdm/servo/jsmanaged, r=Ms2ger
2014-02-24 15:19:51 -05:00
Josh Matthews
625325434b
Implement JSManaged for DOM objects.
2014-02-24 15:16:42 -05:00
bors-servo
951672e8d0
auto merge of #1735 : tgkokk/servo/python-write-bytecode, r=kmcallister
...
Forgot to actually claim #922 . I hope no one is working on it.
I removed `PYTHONDONTWRITEBYTECODE=1` from every relevant file and I added code for removing `*.pyc` files in `clean-script` in `mk/clean.mk`. You might want to move the main logic into a function like `REMOVE_PYC_FILES`, since the files will exist eventually in other trees under `/src`. I used `find` in order to find all `*.pyc` files, since they might be in other subdirectories.
This is my first PR, so feel free to give me any feedback you might think is necessary.
2014-02-24 14:13:52 -05:00
tgkokk
cd36b7e0f6
Fix #922 : Bindings generator generates .pyc files
2014-02-24 21:02:05 +02:00
Sankha Narayan Guria
47e6e6ec8f
Be more explicit in casts of generated bindings
2014-02-23 03:03:48 +05:30
bors-servo
061269f963
auto merge of #1709 : sankha93/servo/issue221, r=larsbergstrom
...
This fixes #221 .
I used the `BaseDisplayItem` class to define rectangle in which the line will be drawn. The width of the rectangle will be used as the thickness of the line segment.
2014-02-22 09:46:50 -05:00
Sankha Narayan Guria
4c18428d19
Create a Line DisplayItem
2014-02-22 19:02:01 +05:30
bors-servo
06ec7bad89
auto merge of #1729 : Ms2ger/servo/clear-document-idl, r=jdm
...
I don't see a good reason to keep those around for now
2014-02-22 07:34:53 -05:00
Ms2ger
b745469581
Remove commented-out parts of Document.webidl and HTMLDocument.webidl.
2014-02-22 13:24:19 +01:00
bors-servo
006237fed3
auto merge of #1712 : larsbergstrom/servo/more_atmuts, r=larsbergstrom,metajack
...
These commits remove @mut from the rest of Servo except for the script crate.
They rely on the hack `Rc` type exported from rust-layers, which will be removed once that same version lands in our Rust upgrade, but is required for now because otherwise I'd have to make all of these structures either `Send` or `Freeze`.
r? @metajack or @kmcallister
2014-02-21 19:46:54 -05:00
Lars Bergstrom
3da930964f
Update rust-layers submodule
2014-02-21 18:42:48 -06:00
Lars Bergstrom
347bbd2883
De-@mut the FrameTree.
2014-02-21 18:42:40 -06:00
bors-servo
c140b33f0b
auto merge of #1726 : pcwalton/servo/shut-down-profiler, r=kmcallister
...
This fixes a hang in content tests in my deleafset branch. No idea why it worked before though…
This just replicates the code in non-headless mode over to the headless mode.
r? @kmcallister
2014-02-21 14:14:26 -05:00
bors-servo
013010ddd5
auto merge of #1728 : june0cho/servo/whitespace_nbsp, r=SimonSapin
...
Fix #1727 .
2014-02-21 08:29:03 -05:00
Junyoung Cho
ab589403ed
Fix: whitespace is considered as spaces(U+0020), tabs(U+0009), and line breaks(U+000D U+000A)
2014-02-21 21:20:48 +09:00
Junyoung Cho
327e1e20a9
Prevent ' ' from stripping as whitespace
2014-02-21 17:30:15 +09:00
Patrick Walton
509cc3cb3a
Shut down the profiler in headless compositing mode
2014-02-20 22:16:40 -08:00
bors-servo
65191b0d63
auto merge of #1724 : SimonSapin/servo/pseudo-element-parsing, r=larsbergstrom
2014-02-20 11:08:01 -05:00
Simon Sapin
2b8abdd16c
Fix #1723 : Parsing of a compound selector made of only a pseudo-element
2014-02-20 13:13:38 +00:00
bors-servo
1f90716bc1
auto merge of #1664 : recrack/servo/object-element, r=jdm
...
Support for #1636
Now, we can see eyes in acid2.html :)
2014-02-20 04:28:55 -05:00
Youngmin Yoo
ed0c15a93a
Add a reftest for object element
2014-02-20 17:31:21 +09:00
Youngmin Yoo
80cc71be8f
Add object element test file
2014-02-20 17:31:21 +09:00
Youngmin Yoo
5ea247253e
Support object element data.
2014-02-20 17:31:21 +09:00
Youngmin Yoo
13f9a66632
Impl Basic support for object element
2014-02-20 17:31:16 +09:00
bors-servo
ec4c31c214
auto merge of #1699 : kmcallister/servo/border-box, r=pcwalton
...
I think this is the only change necessary to make block and inline boxes consistent. But I'm finding it hard to test due to other bugs (#1696 , #1697 , #1698 ).
2014-02-19 16:01:59 -05:00
Keegan McAllister
b7dea86283
Rename Box.position to border_box
2014-02-19 12:51:19 -08:00
Keegan McAllister
bad4f16c3a
Add a simple iframe reftest (disabled for now)
...
Disabled due to iframe crashiness.
2014-02-19 12:51:19 -08:00
Keegan McAllister
0d8e2be92b
Add a reftest for #1674
2014-02-19 12:51:19 -08:00
Keegan McAllister
e70bac19e6
reftest: Allow free-form comments
2014-02-19 12:49:49 -08:00
Keegan McAllister
f8f17cf475
Always use the border-box for Box.position.size
...
Fixes #1674 .
2014-02-19 12:49:49 -08:00