Commit graph

1739 commits

Author SHA1 Message Date
Keegan McAllister
a08cf913cd Fix silent failure of make clean-servo
Brace expansion is a bashism and doesn't work everywhere (for example, on
Debian where /bin/sh is dash).
2013-07-11 10:58:27 -07:00
bors-servo
96d57dc562 auto merge of #576 : eschweic/servo/master, r=pcwalton 2013-07-10 18:18:38 -07:00
eschweic
783e898c60 Remove unused -z opt 2013-07-10 18:12:50 -07:00
bors-servo
4cf1ac9e69 auto merge of #557 : eschweic/servo/master, r=pcwalton
The compositor now keeps track of what has been rendered and what needs rendering based on the window rect, and asks the renderer for tiles only when needed.
2013-07-10 17:33:36 -07:00
eschweic
8a0878a41c Address pcwalton's nits; automatic rendering after scrolling 2013-07-10 17:15:20 -07:00
eschweic
cc816c04b9 Move buffer requests to quadtree; add remove_tile() to quadtree; automatic rerendering after pinch-zoom 2013-07-10 17:15:20 -07:00
eschweic
435941e932 Address metajack's comments 2013-07-10 17:15:20 -07:00
eschweic
d40086048c Fix paint permissions issue, clean up 2013-07-10 17:15:20 -07:00
eschweic
1b225fbad2 Cleanup after merge 2013-07-10 17:12:52 -07:00
eschweic
1948280aec Clean up and annotations 2013-07-10 17:12:52 -07:00
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
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
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
3d91193527 Added new dependencies and info about keyboard shortcuts and make targets. 2013-07-10 09:47:15 -06: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