Keegan McAllister
3bc7aa52cb
Fix some missing end-of-file newlines
2013-09-19 14:00:32 -07:00
Keegan McAllister
62d402f668
Move test JS into HTML files
...
Fixes #896 .
2013-09-19 13:58:04 -07:00
bors-servo
7ffcc29d54
auto merge of #955 : kmcallister/servo/bindings, r=metajack
2013-09-18 19:39:47 -07:00
bors-servo
849ff1b754
auto merge of #954 : jgraham/servo/clear_timeout, r=metajack
2013-09-18 18:45:53 -07:00
Keegan McAllister
73c1a12f30
bindings: Return errors in Result rather than setting an out parameter
...
Fixes #909 .
2013-09-18 18:07:37 -07:00
James Graham
29a75daa66
Add support for clearTimeout.
2013-09-19 00:02:41 +01:00
Keegan McAllister
4b0680a136
Replace our rust_box with std::unstable::raw::Box
...
This will keep us in sync with compiler changes. In fact we had the 'prev' and
'next' fields in the wrong order (but we aren't using them).
2013-09-18 14:57:12 -07:00
Keegan McAllister
68ddc6b4ab
Make DOMString an alias for Option<~str>
...
Fixes #898 .
2013-09-18 14:46:42 -07:00
bors-servo
5be084a3b6
auto merge of #951 : kmcallister/servo/debug-skia, r=metajack
...
Fixes #921 .
2013-09-17 18:15:50 -07:00
Keegan McAllister
d8667a553b
configure: Control Skia debugging with a separate --enable-debug-skia
...
Fixes #921 .
2013-09-17 17:46:01 -07:00
bors-servo
1bc68f7eff
auto merge of #944 : larsbergstrom/servo/iframe_display, r=pcwalton
...
The quadtree was checking to see if a window's position was within the clip region before drawing it. However, the window's position is in page-relative coordinates whereas the clip region is in window-relative coordinates. So, unless the iframe happened to fall in the clip range, it would never have tiles returned.
If an iframe had enough content that it spilled outside of its clip range, different logic was triggered that would cause it to receive a ReRenderMsg anyway, which circumvented all of this.
@eschweic, can you please review this if you have a minute? I believe that I've correctly captured the four checks we want to make (two each for ```x``` and ```y``` directions to determine if the window is in or out, but I'd appreciate another set of eyes on it.
For some example data, in a call to ```get_tile_rects``` for an iframe that is sized to 400x400 and is 428-ish pixels down the page, with a browser frame that is 600 total pixels tall, that function is called with:
window origin geom::point::Point2D<f32>{x: 9f32, y: 428.6000061f32}
window size geom::size::Size2D<f32>{width: 400f32, height: 171.3999939f32}
self origin geom::point::Point2D<f32>{x: 0f32, y: 0f32}
self size 512f32"
clip: size::Size2D<f32>{width: 400f32, height: 400f32}
2013-09-17 17:04:13 -07:00
Lars Bergstrom
d6141edfd4
Change retrieval of buffers from sublayers to both clip relative
...
to the scrolled position of its parent layer and to offset the
origin, since each layer assumes that its origin is 0,0.
2013-09-17 17:40:56 -05:00
bors-servo
b77c3eaaa0
auto merge of #950 : jdm/servo/matrixmath, r=metajack
2013-09-17 10:24:49 -07:00
Josh Matthews
49f54377d3
Add large matrix multiplication demo.
2013-09-17 12:56:58 -04:00
bors-servo
585b047dda
auto merge of #903 : ILyoan/servo/margin_collapse_fix, r=metajack
2013-09-17 07:27:50 -07:00
bors-servo
a67fda0f46
auto merge of #947 : jdm/servo/textcontent-setter2, r=metajack
2013-09-16 21:09:49 -07:00
Josh Matthews
89ed9580de
Add a test for Node.textContent.
2013-09-16 23:42:10 -04:00
Josh Matthews
d465abdb1c
Make all DOM manipulation wait until it's safe to do so (ie. all reflows for the page have completed). Fix a race where a newly-initiated reflow would be considered complete when receiving the completion notice for the previous reflow.
2013-09-16 23:41:34 -04:00
Josh Matthews
37787d55d0
Pass the AbstractNode into the Node.textContent setter.
2013-09-16 23:39:16 -04:00
bors-servo
77a09b2003
auto merge of #932 : june0cho/servo/text_deco, r=metajack
...
Implement 'overline' and 'line-through' in 'text-decoration' property. Add a test case.
2013-09-16 06:06:45 -07:00
Junyoung Cho
d4ab2fc520
Fix error: declare a module.
2013-09-16 17:28:38 +09:00
Junyoung Cho
7436c107c1
Fix android/font.rs. Add an issue in macos/font.rs
2013-09-16 14:08:22 +09:00
Ms2ger
bea1c4f01e
Issue #852 - Implement the Node.textContent setter.
2013-09-14 11:30:22 -07:00
Ms2ger
b5457f7910
Introduce a createText function.
2013-09-14 11:30:22 -07:00
bors-servo
849fba27ab
auto merge of #910 : metajack/servo/fix-create-element, r=jdm
2013-09-14 08:48:50 -07:00
bors-servo
bcc6c52507
auto merge of #940 : jdm/servo/imagefix, r=metajack
2013-09-14 08:18:55 -07:00
Jack Moffitt
0695e09568
Make CreateElement comply with the spec.
2013-09-14 09:07:20 -06:00
Josh Matthews
a3afd5e130
Add content harness timeout.
2013-09-13 23:51:13 -07:00
Josh Matthews
21b0fc35b6
Allow image prefetching to occur during parsing when no window or document is present. Fixes #939 .
2013-09-13 23:10:31 -07:00
bors-servo
34f740396e
auto merge of #938 : jdm/servo/borderincremental, r=metajack
...
...xplicit initial reflow. Fixes #935 .
2013-09-13 16:45:59 -07:00
Josh Matthews
7b239bd246
Move border computation into unpruned traversal. Get rid of extraneous explicit initial reflow. Fixes #935 .
2013-09-13 16:40:13 -07:00
bors-servo
4f58545fd6
auto merge of #933 : saneyuki/servo/is_some, r=jdm
...
Fix #919
2013-09-13 09:06:53 -07:00
bors-servo
da26497763
auto merge of #931 : sammykim/servo/issue906, r=jdm
...
Fix #906
2013-09-13 08:42:58 -07:00
Tetsuharu OHZEKI
c430e0b7e8
Use is_float.is_some() instead of !is_float.is_none().
2013-09-14 00:40:52 +09:00
Junyoung Cho
4d719df5e9
Implement the rest of 'text-decoration' property.
2013-09-13 17:48:43 +09:00
Sangeun Kim
80a6ea07d8
Remove unused variable and parameter
2013-09-13 16:56:15 +09:00
bors-servo
a714e661ca
auto merge of #929 : kmcallister/servo/rm-resize-limiter, r=metajack
...
It has bitrotted and we handle this in script_task.rs now.
2013-09-12 18:45:53 -07:00
bors-servo
3c7a837ee6
auto merge of #927 : pcwalton/servo/image-src-set, r=pcwalton
...
r? @metajack
2013-09-12 18:24:50 -07:00
Keegan McAllister
d865ba6f10
Remove unused resize_rate_limiter.rs
...
It has bitrotted and we handle this in script_task.rs now.
2013-09-12 18:18:47 -07:00
Patrick Walton
76d288fe62
script: Implement image source setting from script and write a demo for this.
2013-09-12 18:03:11 -07:00
bors-servo
4494935139
auto merge of #928 : kmcallister/servo/resize, r=pcwalton
2013-09-12 18:00:56 -07:00
Keegan McAllister
5b684659ff
Combine resize events for each pipeline and process when layout is idle
2013-09-12 17:09:48 -07:00
bors-servo
1844225738
auto merge of #926 : jdm/servo/pagewhoops, r=metajack
...
r? @metajack
2013-09-12 17:06:52 -07:00
Josh Matthews
6bd4306d70
Fix a dynamic borrow error when executing timer callbacks.
2013-09-12 16:58:30 -07:00
bors-servo
2d6d9728f0
auto merge of #923 : jdm/servo/itried, r=larsbergstrom
2013-09-12 16:18:51 -07:00
Josh Matthews
35d957c53b
Goodbye, Andreas.
2013-09-12 16:01:45 -07:00
bors-servo
ab743c17fe
auto merge of #920 : jdm/servo/setattrabstract, r=metajack
...
r? @metajack
2013-09-12 15:51:49 -07:00
bors-servo
49aa4a568c
auto merge of #917 : larsbergstrom/servo/task_failure, r=metajack
...
Pipeline construction now creates a task that supervises all of the child tasks created by script, render, and layout. If any of those fail, it sends a message back to the constellation, which re-creates the pipeline and threads it into the appropriate spot in either the FrameTree or set of pending frame updates.
Also, turn on debug_info for symbols in the Makefile.
2013-09-12 15:27:52 -07:00
Lars Bergstrom
0c6514eac8
Remove a stray space. Clean up awkware if result...result construct.
2013-09-12 15:16:35 -07:00
bors-servo
8994dc3a1e
auto merge of #914 : jdm/servo/unsafepage, r=jdm,metajack
...
Haven't figured out what to do about page_from_context yet, but this is a big improvement.
2013-09-12 14:48:59 -07:00