Commit graph

77 commits

Author SHA1 Message Date
Tim Kuehn
df5306e358 switched window.page from *mut Page to @mut Page 2013-07-29 14:14:31 -07:00
Tim Kuehn
43491d5b23 navigation bug fix 2013-07-29 13:50:41 -07:00
Tim Kuehn
e9888b299c structural changes to support Iframes 2013-07-29 11:03:17 -07:00
Keegan McAllister
dc9f7560b0 Reflow and redisplay after script timers fire
We don't know what the script changed.  This will be less painful with
incremental layout.

Fixes a crash from calling reflow() with self.damage = None.
2013-07-24 16:52:48 -07:00
Keegan McAllister
4fd6ad3d5c Move script local_data_pop out of dtor
Fixes #570, which was caused by a second reentrant call to the dtor.
2013-07-19 16:47:57 -07:00
Tim Kuehn
4815d8fccd refactored url handling code in script task to be more idiomatic 2013-07-11 13:16:15 -07:00
Tim Kuehn
8b8d2f5a4b scripts from inactive pipelines resize upon navigating to their pages 2013-07-10 15:18:56 -07:00
Jack Moffitt
870db39836 Update to latest Rust. 2013-07-09 14:37:53 -06:00
Jack Moffitt
e0e5e1a2a7 Replace glut with glfw.
Also fixes initial window size to get based on the windowing code instead of
being hardcoded everywhere. This code works on HiDPI displays, but does not
appropriately scale the output up yet.
2013-07-04 12:54:30 -06:00
Tim Kuehn
c9c6cb3bf5 new token-permissions model, and compositor filters paint messages based on id 2013-07-02 17:26:46 -07:00
Tim Kuehn
a6eaffcd93 forward/back navigation with shift+backspace and backspace
script caches last loaded url -- currently no caching policy
naive caching of render layers for near-instant forward/back
handling evicted pipelines is currently broken
2013-07-02 17:26:30 -07:00
Tim Kuehn
d17a1f2ad7 rename engine --> constellation 2013-07-01 11:03:31 -07:00
Tim Kuehn
fba7ec423c add pipeline.rs, modularized pipelines communicating with constellation 2013-07-01 11:03:31 -07:00
Seth Fowler
72f5e5f30d Don't send a resize event if the window size didn't change 2013-06-27 19:04:01 -07:00
Brian Anderson
56e5ba1b82 Update for language changes 2013-06-26 13:44:26 -07:00
Tim Kuehn
2253365735 libmsg crate for message interfaces to compositor and engine 2013-06-19 21:31:12 -07:00
Jack Moffitt
ece8791c26 Warning police. 2013-06-17 15:10:41 -06:00
Tim Kuehn
b5dac3f426 decouple script from compositor
communicate via layout
refactor channel wrappers from *Task --> *Chan

fix merge fallout
2013-06-14 21:46:29 -07:00
Patrick Walton
204c5b663a Add a spinner for layout 2013-06-12 11:02:56 -07:00
Tim Kuehn
7b28462193 Send status messages to the compositor 2013-06-12 11:02:52 -07:00
Tim Kuehn
ff1178f7ca handle relative url's when clicking 2013-06-12 11:02:51 -07:00
Tim Kuehn
bf4df24521 Provide an interface to the engine for the script task 2013-06-12 11:02:51 -07:00
Tim Kuehn
a53a7f689d Add link following and refactor the profiler. 2013-06-12 11:02:49 -07:00
Patrick Walton
7a435fc6ed Refactor document damage to distinguish it from layout/style damage.
Also, standardize on the name "reflow" instead of "relayout" or "build".
2013-06-04 22:00:33 -07:00
Patrick Walton
8d3b6aefa8 Stop rendering when script queries layout 2013-06-04 11:43:52 -07:00
Patrick Walton
f77eef5988 Basic hit testing functionality 2013-05-30 17:28:08 -07:00
Patrick Walton
bf82bc54f3 Separate the DOM and layout into separate crates. 2013-05-28 17:13:40 -07:00
Renamed from src/components/main/scripting/script_task.rs (Browse further)