aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #8946 - Ms2ger:warnings, r=jdmbors-servo2015-12-1210-10/+0
|\ | | | | | | | | | | | | | | Remove unused imports. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8946) <!-- Reviewable:end -->
| * Remove unused imports.Ms2ger2015-12-1210-10/+0
|/
* Auto merge of #8939 - cnaj:msg_refactoring, r=Ms2gerbors-servo2015-12-129-34/+57
|\ | | | | | | | | | | | | | | | | | | | | | | 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-119-34/+57
| | | | | | | | 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 #8921 - KiChjang:update-css, r=Ms2gerbors-servo2015-12-12147-509/+2360
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update CSS tests to revision 1399540ef50bff32151a5058da8910483538f382 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8921) <!-- Reviewable:end -->
| * | | Update CSS tests to revision 1399540ef50bff32151a5058da8910483538f382Keith Yeung2015-12-10147-509/+2360
| | | |
* | | | 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-1125-135/+156
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1025-135/+156
| | | | | | | | | | | | | | | | | | | | | | | | `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 #8888 - zmike:stubbed_my_skia, r=larsbergstrombors-servo2015-12-111-0/+2
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stub out gluCheckExtension in embedding this is called from src/gpu/gl/unix/SkNativeGLContext_unix.cpp which is not something that is used in servo ref #8883 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8888) <!-- Reviewable:end -->
| * | | stub out gluCheckExtension in embeddingzmike2015-12-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this is called from src/gpu/gl/unix/SkNativeGLContext_unix.cpp which is not something that is used in servo ref #8883
* | | | Auto merge of #8898 - vwvww:compositor_msg_refactor, r=Ms2gerbors-servo2015-12-1111-35/+47
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1111-35/+47
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 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
| | |/ / / | |/| | |
* | | | | Auto merge of #8920 - romankl:core-feature, r=Ms2gerbors-servo2015-12-112-2/+0
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove the "core" feature attribute from canvas The core feature is marked as stable and gives this nice warning: ``` servo/components/canvas_traits/lib.rs:7:12: 7:16 warning: this feature is stable. attribute no longer needed, #[warn(stable_features)] on by default /servo/components/canvas_traits/lib.rs:7 #![feature(core)] ``` This commit removes the usage of this feature. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8920) <!-- Reviewable:end -->
| * | | | 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.
* | | | Auto merge of #8915 - Ms2ger:update-tests, r=Ms2gerbors-servo2015-12-1011419-49497/+94997
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Update tests. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8915) <!-- Reviewable:end -->
| * | | Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13efMs2ger2015-12-1011290-49211/+92397
| | | |
| * | | Update web-platform-tests to revision 5dbe45af3ad3a933c03187c72f1c12cbe2877703Ms2ger2015-12-10129-286/+2600
| | | |
| * | | Correct mozilla-sync.Ms2ger2015-12-101-1/+1
|/ / /
* | | Auto merge of #8914 - alex:patch-1, r=frewsxcvbors-servo2015-12-101-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed use of a #![feature] that is now stable <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8914) <!-- Reviewable:end -->
| * | | 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-1030-109/+121
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0930-109/+121
| | |/ / | |/| |
* | | | Auto merge of #8828 - Ronak6892:docResp, r=eefriedmanbors-servo2015-12-1017-106/+166
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0917-106/+166
| | | |
* | | | Auto merge of #8884 - frewsxcv:update-packages, r=mbrubeckbors-servo2015-12-103-25/+25
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade some dependencies <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8884) <!-- Reviewable:end -->
| * | | | Upgrade dependency: shared_libraryCorey Farwell2015-12-093-9/+9
| | | | | | | | | | | | | | | | | | | | https://github.com/tomaka/shared_library/compare/8c6d2433f0e97fcc055a5bafa1434262a52195bf...391e74ae023f243e76ceaa252df4673c0f8af097
| * | | | Upgrade dependency: malloc_bufCorey Farwell2015-12-093-8/+8
| | | | | | | | | | | | | | | | | | | | https://github.com/SSheldon/malloc_buf/compare/bab724c8ad090a53e482103a93cd924a17068cd1...a7811e5f4c6f9685dd57ad9bfe34e9bf6b0ba4f9
| * | | | Upgrade dependency: gaolCorey Farwell2015-12-093-3/+3
| | | | | | | | | | | | | | | | | | | | https://github.com/pcwalton/gaol/compare/71865ff8...e1349d8d
| * | | | Upgrade dependency: ipc-channelCorey Farwell2015-12-093-5/+5
|/ / / / | | | | | | | | | | | | 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 -->