Commit graph

36788 commits

Author SHA1 Message Date
eschweic
6bebda4f26 Implement progressive rendering 2013-07-10 17:12:52 -07:00
eschweic
ad7dc32fc8 Address pcwalton's comments 2013-07-10 17:12:52 -07:00
eschweic
d590a7b45a Make quadtrees generic 2013-07-10 17:12:52 -07:00
bors-servo
5f7460454a auto merge of #575 : kmcallister/servo/check-content, r=metajack 2013-07-10 16:54:43 -07:00
bors-servo
b0495eb7fd auto merge of #559 : tkuehn/servo/master, r=metajack
r? @metajack this includes the rust-azure pointer change
2013-07-10 16:15:51 -07:00
Keegan McAllister
9f6de7e5e3 Fix build failure in make check-content 2013-07-10 16:02:54 -07:00
bors-servo
c085a93f9d auto merge of #574 : metajack/servo/bindgen-deps, r=jdm
This touches the `.rs` files even if they don't change. This will cause libscript to rebuild sometimes even when it doesn't have to. This seems better than having bindgen run every time as the case where CodegenRust.py changes but doesn't change the output `.rs` seems like it should be rare.

r? @jdm
2013-07-10 15:33:47 -07:00
Tim Kuehn
8b8d2f5a4b scripts from inactive pipelines resize upon navigating to their pages 2013-07-10 15:18:56 -07:00
Tim Kuehn
9f6cbf91c6 mildly cleaner profiling code in util::time 2013-07-10 14:11:28 -07:00
Jack Moffitt
ebbfde06f9 Bindings gen touches output Rust files to prevent it from running every time. 2013-07-10 15:04:18 -06:00
Jack Moffitt
525fdd431d Fix replaceFileIfMissing return value. 2013-07-10 15:03:47 -06:00
Josh Matthews
65f9aefb78 Generate DOM bindings for UIEvent and MouseEvent. 2013-07-10 16:41:08 -04:00
Josh Matthews
8787c1ac1f WebIDL codegen: Remove unneeded C++ goop. 2013-07-10 16:40:02 -04:00
Josh Matthews
f2ab39376a WebIDL codegen: Add support for dictionary inheritance. 2013-07-10 16:37:05 -04:00
Josh Matthews
0d39bd1ba9 DOM bindings: Add support for fallible JS unwrapping. 2013-07-10 16:34:02 -04:00
Josh Matthews
354ac9b8cb Add missing license header. 2013-07-10 16:27:43 -04:00
bors-servo
1f7c738a89 auto merge of #568 : SimonSapin/servo/rust-cssparser-in-tree, r=metajack
[As discussed](https://github.com/mozilla/servo/wiki/Meeting-2013-07-01#css), even though this parser is not used yet, having it built and tested with the rest of Servo helps ensure it does not bitrot.
2013-07-10 13:27:41 -07:00
Josh Matthews
d0ddca7323 WebIDL codegen: Add setter support. 2013-07-10 16:26:27 -04:00
Josh Matthews
ea983cf8e4 Import partial interface support for WebIDL parsing from Gecko. 2013-07-10 16:18:02 -04:00
Simon Sapin
d75489356e Add a submodule for rust-cssparser
Even though this parser is not used yet, having it built
and tested with the rest of Servo helps ensure it does not bitrot.
2013-07-10 20:40:01 +01:00
bors-servo
66c9828a9e auto merge of #567 : metajack/servo/more-to-read, r=jdm
...s.
2013-07-10 10:12:46 -07:00
Jack Moffitt
dbeaa9e13f Added note about make bindings. 2013-07-10 10:19:56 -06:00
Jack Moffitt
25385e7be5 Add support for closing the window with window chrome or escape key. 2013-07-10 10:18:06 -06:00
Jack Moffitt
3d91193527 Added new dependencies and info about keyboard shortcuts and make targets. 2013-07-10 09:47:15 -06:00
Josh Matthews
e1c406f594 Avoid endlessly regenerating bindings after modifying CodegenRust.py. 2013-07-10 11:28:17 -04:00
bors-servo
34a35054e9 auto merge of #563 : metajack/servo/glfw, r=metajack
This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple `Display *` pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its `Display *`, which appears to be unique among all the similar toolkits.

Details:
- Adds glfw and glfw-rs to the build
- Removes GLUT code and replaces it with GLFW versions
- Fixes hard coded initial window values
- Fixes clean targets
- Event loop doesn't block on windowing events anymore
2013-07-10 06:57:36 -07:00
Jack Moffitt
cfc7491b1f Add Makefile trigger for forcing clean-rust to happen. 2013-07-09 16:26:33 -06:00
bors-servo
5af5888432 auto merge of #566 : kmcallister/servo/derive-eq, r=metajack
Fixes #181.
2013-07-09 13:42:44 -07:00
Jack Moffitt
870db39836 Update to latest Rust. 2013-07-09 14:37:53 -06:00
Keegan McAllister
cfffd05424 Derive more Eq implementations
Fixes #181.
2013-07-09 13:09:14 -07:00
bors-servo
eb86e5086e auto merge of #564 : jdm/servo/contenttest, r=metajack 2013-07-09 10:13:55 -07:00
Josh Matthews
27b059b062 Make contenttest harness build again. 2013-07-09 12:53:34 -04: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
Jack Moffitt
39e759fb20 Fix clean targets. 2013-07-04 12:51:23 -06:00
Jack Moffitt
1230282cec Add glfw and glfw-rs to servo build. 2013-07-04 12:51:02 -06:00
bors-servo
32c147fbde auto merge of #558 : tkuehn/servo/master, r=metajack
* constellation grants permission to renderers instead of passing tokens
* render tasks wrap layer buffer sets in ARCs
* removed no-longer-used field (constellation chan) from render task struct
2013-07-03 18:36:35 -07:00
Tim Kuehn
1f55db99bb removed unused constellation chan from render task 2013-07-03 16:52:03 -07:00
Tim Kuehn
dc8e3cbf9b render task no longer copies the layer buffer sets before sending paint messages -- uses an ARC instead 2013-07-03 16:28:26 -07:00
Tim Kuehn
6ba2f8d535 permission bool replaces compositor token 2013-07-03 14:09:48 -07:00
bors-servo
525519efac auto merge of #549 : jdm/servo/overload, r=jdm,metajack 2013-07-03 12:23:04 -07:00
Josh Matthews
eb95d82fe6 Implement WebIDL method overloads. Fixes #540. 2013-07-03 15:18:05 -04:00
bors-servo
213d9a011a auto merge of #550 : tkuehn/servo/master, r=metajack
When loading pages, the constellation spawns a new script<-->layout<-->renderer pipeline that loads in the background while scripts continue executing on the currently loaded page.
2013-07-03 09:42:47 -07:00
Tim Kuehn
6f7107ee9b removed unused macros from main/macros.rs 2013-07-02 17:26:46 -07: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
bors-servo
fdb0d820a4 auto merge of #555 : sankha93/servo/master, r=jdm
Fixes the broken check-content target as reported by @jdm in #519.
2013-07-01 04:24:52 -07:00
Sankha Narayan Guria
3a306a463b Fixes check-content target. 2013-07-01 16:40:44 +05:30
bors-servo
fed4f951c1 auto merge of #551 : sfowler/servo/run-layout-once, r=metajack
Performance will be better and benchmarking easier if we don't run layout an extra unnecessary time when loading a page from the commandline. This is happening because we always send a resize event to the script task from the compositor whenever the platform tells us one happened, even if the window size didn't change. This PR fixes this by checking that the window size is actually different before sending the event.
2013-06-27 19:12:34 -07:00