aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused imports.Ms2ger2015-12-1210-10/+0
|
* Auto merge of #8939 - cnaj:msg_refactoring, r=Ms2gerbors-servo2015-12-127-34/+53
|\ | | | | | | | | | | | | | | | | | | | | | | Move PaintListener to gfx_traits, Fixes #8834 Adding layers and msg dependency to gfx_traits. Fixes #8834. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8939) <!-- Reviewable:end -->
| * Move PaintListener to gfx_traits, Fixes #8834Tomas Cernaj2015-12-117-34/+53
| | | | | | | | Adding layers and msg dependency to gfx_traits.
* | Auto merge of #8943 - pcwalton:font-cache-addresses, r=mbrubeckbors-servo2015-12-121-10/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cache font style struct addresses in a separate font group cache. On http://en.wikipedia.org/wiki/Spotted_hyena, I was seeing a 100% miss rate in the first fast cache lookup and 45% of total layout time in this function. After making this change, the first cache lookup almost always succeeds, and the time spent in this function drops to 8%. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8943) <!-- Reviewable:end -->
| * | Cache font style struct addresses in a separate font group cache.Patrick Walton2015-12-111-10/+8
| | | | | | | | | | | | | | | | | | | | | On http://en.wikipedia.org/wiki/Spotted_hyena, I was seeing a 100% miss rate in the first fast cache lookup and 45% of total layout time in this function. After making this change, the first cache lookup almost always succeeds, and the time spent in this function drops to 8%.
* | | Auto merge of #8935 - Ms2ger:get_or_create, r=Manishearthbors-servo2015-12-123-39/+19
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Avoid some rooting in parsing. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8935) <!-- Reviewable:end -->
| * | Avoid some rooting in parsing.Ms2ger2015-12-113-39/+19
| |/
* | Auto merge of #8937 - saneyuki:warning, r=mbrubeckbors-servo2015-12-116-12/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | Fix some warnings <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8937) <!-- Reviewable:end -->
| * | Fix warning: Stop to use deprecated 'SocketAddr::new'Tetsuharu OHZEKI2015-12-111-3/+4
| | |
| * | Fix warnings: Remove unused 'slice_bytes' flagTetsuharu OHZEKI2015-12-112-2/+0
| | |
| * | Fix warnings: use clone_from_slice instead of copy_memoryTetsuharu OHZEKI2015-12-114-5/+4
| | |
| * | Fix warning: needless 'iter_cmp' flagsTetsuharu OHZEKI2015-12-111-1/+0
| | |
| * | Fix warning: unused_imports in constellation_msg.rs.Tetsuharu OHZEKI2015-12-111-1/+1
| |/
* | Auto merge of #8930 - frewsxcv:event-type-atom, r=noxbors-servo2015-12-1123-117/+138
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Pass around event types as Atoms instead of Strings `Event` internally stores the `type` as an `Atom`, and we're `String`s everywhere, which can cause unnecessary allocations to occur since they'll end up as `Atom`s anyways. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8930) <!-- Reviewable:end -->
| * Pass around event types as Atoms instead of StringsCorey Farwell2015-12-1023-117/+138
| | | | | | | | | | | | `Event` internally stores the `type` as an `Atom`, and we're `String`s everywhere, which can cause unnecessary allocations to occur since they'll end up as `Atom`s anyways.
* | Auto merge of #8898 - vwvww:compositor_msg_refactor, r=Ms2gerbors-servo2015-12-1110-35/+46
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved CompositorMsg enum into compositing crate. moved CompositorMsg enum into compositing crate. moved from components/msg/constellation_msg.rs to components/compositing/lib.rs fixes #8832 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8898) <!-- Reviewable:end -->
| * | Moved CompositorMsg enum into compositing crate.Beomjin Kim2015-12-1110-35/+46
| |/ | | | | | | | | | | | | moved from components/msg/constellation_msg.rs to components/compositing/lib.rs dependencies on compositing crate added in ports/cef/Cargo.lock
* | Auto merge of #8918 - Ms2ger:trace, r=noxbors-servo2015-12-111-16/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | Initialize the slots of global objects before a possible GC. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8918) <!-- Reviewable:end -->
| * | Initialize the slots of global objects before a possible GC.Ms2ger2015-12-101-16/+10
| | |
* | | Auto merge of #8923 - saneyuki:warning2, r=noxbors-servo2015-12-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix warning: Use iterator.min_by_key instead of iterator.min_by <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8923) <!-- Reviewable:end -->
| * | | Fix warning: Use iterator.min_by_key instead of iterator.min_byTetsuharu OHZEKI2015-12-101-1/+1
| | | |
* | | | Auto merge of #8926 - frewsxcv:no-map, r=SimonSapinbors-servo2015-12-111-4/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prefer 'if let' over 'map() with side effects' <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8926) <!-- Reviewable:end -->
| * | | | Prefer 'if let' over 'map() with side effects'Corey Farwell2015-12-101-4/+12
| |/ / /
* | | | Auto merge of #8922 - saneyuki:warning, r=mbrubeckbors-servo2015-12-1117-30/+23
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8922) <!-- Reviewable:end -->
| * | | Fix warnings: Use Vec.extend_from_slice instead of Vec.push_allTetsuharu OHZEKI2015-12-1017-30/+23
| |/ /
* / / remove the "core" feature from canvasRoman Klauke2015-12-102-2/+0
|/ / | | | | | | | | The core feature is marked as stable. This commit removes the usage of this feature.
* | Removed use of a #![feature] that is now stableAlex Gaynor2015-12-101-1/+0
| |
* | Auto merge of #8911 - alex:patch-1, r=frewsxcvbors-servo2015-12-101-2/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | Remove two "#![feature]" that are now stable <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8911) <!-- Reviewable:end -->
| * | Remove two "#![feature]" that are now stableAlex Gaynor2015-12-091-2/+0
| | |
* | | Auto merge of #8909 - cnaj:msg_refactoring, r=jdmbors-servo2015-12-1028-103/+115
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move ScriptMsg to script_traits crate, Fixes #8833 Review of documentation that was missing needed. Fixes #8833. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8909) <!-- Reviewable:end -->
| * | | Move ScriptMsg from msg crate into script_traitsTomas Cernaj2015-12-0928-103/+115
| | |/ | |/|
* | | Auto merge of #8828 - Ronak6892:docResp, r=eefriedmanbors-servo2015-12-102-4/+116
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | M1503/M1504 : Support for missing XMLHttpRequestAPIs and Document response handling Hi, This is for NCSU Fall 15 project M1503 and M1504: M1503: Integrate XML Parser (Step 3 of 4): Support for Document response handling and calling the appropriate parser. M1504: Support for missing XMLHttpRequest APIs https://github.com/servo/servo/wiki/Integrate-xml5ever It includes changes to handle document response for XMLHttpRequest. Kindly review. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8828) <!-- Reviewable:end -->
| * | Implement responseXML API and document response type for XHRJitendra Jain2015-12-092-4/+116
| |/
* | Upgrade dependency: shared_libraryCorey Farwell2015-12-091-3/+3
| | | | | | | | https://github.com/tomaka/shared_library/compare/8c6d2433f0e97fcc055a5bafa1434262a52195bf...391e74ae023f243e76ceaa252df4673c0f8af097
* | Upgrade dependency: malloc_bufCorey Farwell2015-12-091-2/+2
| | | | | | | | https://github.com/SSheldon/malloc_buf/compare/bab724c8ad090a53e482103a93cd924a17068cd1...a7811e5f4c6f9685dd57ad9bfe34e9bf6b0ba4f9
* | Upgrade dependency: gaolCorey Farwell2015-12-091-1/+1
| | | | | | | | https://github.com/pcwalton/gaol/compare/71865ff8...e1349d8d
* | Upgrade dependency: ipc-channelCorey Farwell2015-12-091-1/+1
| | | | | | | | https://github.com/servo/ipc-channel/compare/8306cdf0...6900611d
* | Auto merge of #8901 - vwvww:servo_lib_doc_comment, r=Wafflespeanutbors-servo2015-12-101-18/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes on comments in servo/lib.rs 1. converted the first comments in servo/lib.rs into doc comments. 2. moved doc comment of impl Browser to pub struct Browser. resolves #8872 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8901) <!-- Reviewable:end -->
| * | Modified doc command into module-level doc comment.Beomjin Kim2015-12-091-14/+14
| | |
| * | Removed space between doc comment and the actual code of pub struct BrowserBeomjin Kim2015-12-091-1/+0
| | |
| * | 1. converted the first comments in servo/lib.rs into doc comments.Beomjin Kim2015-12-091-18/+19
| |/ | | | | | | 2. moved doc comment of impl Browser to pub struct Browser.
* / Update rustc to the 2015-12-09 nightly.Ms2ger2015-12-092-37/+38
|/
* Auto merge of #8893 - Ms2ger:byteorder, r=frewsxcvbors-servo2015-12-091-7/+2
|\ | | | | | | | | | | | | | | Update bincode. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8893) <!-- Reviewable:end -->
| * Update bincode.Ms2ger2015-12-081-7/+2
| |
* | Auto merge of #8889 - Ms2ger:energymon, r=metajackbors-servo2015-12-091-6/+6
|\ \ | |/ |/| | | | | | | | | | | Update energymon crates. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8889) <!-- Reviewable:end -->
| * Update energymon crates.Ms2ger2015-12-081-6/+6
| |
* | Auto merge of #8887 - mbrubeck:glue-up, r=Ms2gerbors-servo2015-12-081-3/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | Upgrade to android_glue 0.1.3 Fixes scrolling on Android (tomaka/android-rs-glue#70). r? @glennw <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8887) <!-- Reviewable:end -->
| * Upgrade to android_glue 0.1.3Matt Brubeck2015-12-081-3/+3
| |
* | Auto merge of #8867 - nfallen:6638-websocket_loader, r=jdmbors-servo2015-12-088-101/+230
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Move websocket creation to resource task This is a pull request for part of https://github.com/servo/servo/issues/6638 It includes the following changes: -The websocket networking code (ie. making a connection, receiving data, and sending data) has been extracted out of components/script/dom/websocket.rs and into the new file components/net/websocket_loader.rs. -websocket.rs now communicates with the resource task (components/net/resource_task.rs) to instruct it to initiate a new websocket connection - websocket_loader.rs now provides an API sent over an IPCChannel that allows websocket.rs to receive feedback about this process and to subsequently send and receive data <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8867) <!-- Reviewable:end -->
| * move websocket creation to resource taskNova Fallen2015-12-088-101/+230
| |