Граф коммитов

609 Коммитов

Автор SHA1 Сообщение Дата
Simon Sapin ec5662344b servo: Merge #9380 - Update cssparser (from servo:cssparserup); r=SimonSapin
https://github.com/servo/rust-cssparser/pull/91

Source-Repo: https://github.com/servo/servo
Source-Revision: 1ba1fb0b7f46472e1f37f4e3f2e7dde025fa9f1f
2016-01-21 22:16:51 +05:01
Bobby Holley 2379681f6b servo: Merge #9284 - Add Partial Implementation of style DOM traits for Gecko, and some basic glue to let Gecko call into Servo (from bholley:bootstrap_stylo); r=SimonSapin
The wrapper stuff is partially-complete, modulo some unimplemented methods. The glue code is just a toy for now. Regardless, I think it's worth getting some of this stuff in-tree to minimize breakage.

Source-Repo: https://github.com/servo/servo
Source-Revision: 77d3fbcca3c6f7e8b4068f89e25b090977fe5672
2016-01-19 13:50:10 +05:01
Emilio Cobos Álvarez c31546392b servo: Merge #9375 - Bump rust-mozjs (from emilio:mozjs-up); r=jdm
In order to include https://github.com/servo/rust-mozjs/pull/235.

Source-Repo: https://github.com/servo/servo
Source-Revision: bdb899e550e0f7663b85ac687da76560a7e86f32
2016-01-19 00:52:01 +05:01
Corey Farwell 07cef580f0 servo: Merge #9339 - Upgrade servo-glutin to latest published version (0.4.7) (from frewsxcv:bump-glutin); r=SimonSapin
servo/glutin@servo-v0.4.5...servo-v0.4.7

The primary reason I'm updating servo-glutin is to indirectly pick up
these changes:

vberger/wayland-kbd#9

Daggerbot/x11-rs#32

...which results in two fewer libc 0.1.x dependency

servo#8608

Source-Repo: https://github.com/servo/servo
Source-Revision: 6b81a72228b54f37028e9400808768bd0d52d69f
2016-01-18 08:34:12 +05:01
Glenn Watson d3e7e43e12 servo: Merge #9359 - Allow horizontal scrolling with left/right arrow keys (from glennw:scroll-horizontal); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 2cfed414d00ccfad50eb069f62608036d918f604
2016-01-18 06:32:57 +05:01
Darin Minamoto 7af6d9dbee servo: Merge #9263 - Moved MouseButton from msg to script_traits (from DarinM223:move_mousebutton); r=KiChjang
Fixes #9250

Source-Repo: https://github.com/servo/servo
Source-Revision: 9118b64b4b610a95f48a88a198baac4eb31a04a0
2016-01-16 19:05:51 +05:01
Lars Bergstrom 928d1d2132 servo: Merge #9093 - Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27) (from servo:rustup); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 4cb2c87982355bdf2a2dd409db71d0d4ed6f9a85
2016-01-15 19:08:07 +05:01
Olaf Buddenhagen ba0130fe7e servo: Merge #9299 - cargo-update ipc-channel to get important fixes (from antrik:update-ipc_channel); r=pcwalton
This pulls in https://github.com/servo/ipc-channel/pull/25 and
https://github.com/servo/ipc-channel/pull/27, thus fixing fallout from
the multiprocess split, and making Servo work on my system again.

(It also pulls in https://github.com/servo/ipc-channel/pull/12 -- I
guess that's fine?)

Source-Repo: https://github.com/servo/servo
Source-Revision: 42372dbdf112c1c2967c4487401b28e7305c2993
2016-01-14 09:58:52 +05:01
Ms2ger 5418f19918 servo: Merge #9275 - Remove some unused extern crates (from Ms2ger:extern-crate); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 0b5dda3e9c38f6cd4ec9b82f023bf3698addc65f
2016-01-13 20:47:35 +05:01
Anthony Ramine 46b9c7f311 servo: Merge #8954 - Fix prototypes of interface objects (fixes #2665) (from nox:protochain); r=Ms2ger
Callback interface objects' (i.e. NodeFilter's) prototype is now Object instead of
Function and non-callback interface objects' their proper ancestor, starting with
the Function prototype.

The function do_create_interface_objects is removed in favour of 4 functions:
create_callback_interface_object, create_interface_prototype_object,
create_noncallback_interface_object and create_named_constructors.

While this increases the amount of codegen'd code, this greatly improves the
readability of the code involved in this part of DOM, instead of having one function
doing 4 different things. We can always find a more adequate abstraction later.

NativeProperties and everything related to the interface objects have been removed
from the utils module.

Fixes #2665.

Source-Repo: https://github.com/servo/servo
Source-Revision: e977a6e69a06ad69e87cc235b4ede60f8fb3eca3
2016-01-12 21:31:47 +05:01
Bobby Holley 3daf5c0665 servo: Merge #9267 - Use cargo features to reduce the dependencies of components/util in GeckoLib builds (from bholley:geckolib_fixutil); r=Manishearth
Fixes #9260.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6beebd3b4ffe8ded3b3e2b1788b9f98d10e36471
2016-01-12 10:28:13 +05:01
Bobby Holley 97c1afa558 servo: Merge #9261 - Remove the msg dependency from style (from bholley:geckolib_nomsg); r=Manishearth
This is part of slimming down the dependencies of geckolib.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3680e82cab766a412a969a21c0cdff0c7f97d7bc
2016-01-12 08:54:31 +05:01
Matt Brubeck 3e157ad197 servo: Merge #9258 - Upgrade to latest stb_image 0.2.1 from crates.io (from mbrubeck:stb-up); r=jdm
Includes servo/rust-stb-image#84.

Source-Repo: https://github.com/servo/servo
Source-Revision: a03747e12b839e6fd4d2140742006fc7b049fce4
2016-01-12 04:09:41 +05:01
Ms2ger e2d65074db servo: Merge #9249 - Remove unused dependencies from the msg crate (from Ms2ger:msg); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: bd7255dd243f4fba409db86b5d45fc2c530225d9
2016-01-12 01:49:47 +05:01
Connor Imes 075c9f90b5 servo: Merge #9204 - Update heartbeats and energymon dependencies (from connorimes:update-hb-energymon); r=Manishearth
Also aligns the heartbeats profiling script with current ProfilerCategory values.

Source-Repo: https://github.com/servo/servo
Source-Revision: 663ac945c1b09caa4d6c4576e7ab1bc2eb1b771a
2016-01-11 03:12:06 +05:01
rohan.prinja d440ee6a41 servo: Merge #9201 - task -> thread (from ajnirp:8512-task-thread); r=jdm
for #8512

Source-Repo: https://github.com/servo/servo
Source-Revision: d3e2f94f2024f4735f836588ed11303a0abafdf8

--HG--
rename : servo/components/canvas/canvas_paint_task.rs => servo/components/canvas/canvas_paint_thread.rs
rename : servo/components/canvas/webgl_paint_task.rs => servo/components/canvas/webgl_paint_thread.rs
rename : servo/components/compositing/compositor_task.rs => servo/components/compositing/compositor_thread.rs
rename : servo/components/gfx/font_cache_task.rs => servo/components/gfx/font_cache_thread.rs
rename : servo/components/gfx/paint_task.rs => servo/components/gfx/paint_thread.rs
rename : servo/components/layout/layout_task.rs => servo/components/layout/layout_thread.rs
rename : servo/components/net/image_cache_task.rs => servo/components/net/image_cache_thread.rs
rename : servo/components/net/resource_task.rs => servo/components/net/resource_thread.rs
rename : servo/components/net/storage_task.rs => servo/components/net/storage_thread.rs
rename : servo/components/net_traits/image_cache_task.rs => servo/components/net_traits/image_cache_thread.rs
rename : servo/components/net_traits/storage_task.rs => servo/components/net_traits/storage_thread.rs
rename : servo/components/script/script_task.rs => servo/components/script/script_thread.rs
rename : servo/components/util/task.rs => servo/components/util/thread.rs
rename : servo/tests/unit/gfx/font_cache_task.rs => servo/tests/unit/gfx/font_cache_thread.rs
rename : servo/tests/unit/net/resource_task.rs => servo/tests/unit/net/resource_thread.rs
rename : servo/tests/unit/util/task.rs => servo/tests/unit/util/thread.rs
2016-01-10 15:20:04 +05:01
Bobby Holley 561a84a40d servo: Merge #9209 - Implement a geckolib target (from bholley:geckolib); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: aa713c9fbb56fd3f1427779bb31ec48dee316187

--HG--
rename : servo/tests/unit/net_traits/lib.rs => servo/ports/geckolib/lib.rs
2016-01-10 06:45:17 +05:01
Bobby Holley 9f58567604 servo: Merge #9110 - Hoist the rest of css/matching.rs (and its dependencies) into style/ (from bholley:hoist_matching_and_animation); r=SimonSapin
Slowly but surely.

This goes on top of #9103.

Fixes #9103.

Source-Repo: https://github.com/servo/servo
Source-Revision: f3075d13191df9b9c7858b324122872d057fbe4d
2016-01-04 23:05:35 +05:01
Olaf Buddenhagen 2b7fba373e servo: Merge #9070 - Derive Debug for more font-related types (from antrik:debug-fonts); r=nox
Needs to pull in newer ipc-channel and azure.

Source-Repo: https://github.com/servo/servo
Source-Revision: ebf4ce8288987af1a65390cbf7e56d1e564fa335
2016-01-03 07:42:57 +05:01
Michael Howell 2755662452 servo: Merge #9115 - Revert "Update glutin" (from notriddle:everybody_do_the_flop); r=larsbergstrom
This reverts commit ff7524af0940ed841f3344f5dd78f6c1751cfd42. [It breaks stuff](https://gist.github.com/notriddle/3c0dff9b4dc3a1a7b82f)

Source-Repo: https://github.com/servo/servo
Source-Revision: d4efd2047cde690d7040202e46befd687d8a3920
2016-01-01 23:45:42 +05:01
Simon Sapin 1ba47c0160 servo: Merge #9096 - Update glutin (from servo:glutinup); r=nox
… in order to pick up https://github.com/tomaka/glutin/pull/679, which will hopefully get rid of the `[glutin] x error code=8 major=42 minor=0!` messages printed on stdout.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3afbff27b6cb16f6ad1c15d17cb453d05647be34
2016-01-01 00:05:58 +05:01
Josh Matthews 647c5be7dd servo: Merge #8190 - Implemementing context-based MIME type sniffing (from jdm:4138); r=eefriedman
This is a rebase of #7842 that also adds a test.
Fixes #4183.

@Yoric, how's this look to you?

Source-Repo: https://github.com/servo/servo
Source-Revision: af1690f3036bc329101bbd6f4e877672d58ca5e0
2015-12-31 20:44:10 +05:01
Daan Sprenkels 65a401d6ea servo: Merge #9073 - tidy.py: remove duplicate code patterns in `check_rust(file_name, lines)` (from dsprenkels:issue-8733); r=Wafflespeanut
This is an attempt at a reasonable fix for #8733.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9fa56ccfdfb5e9d1c1a6967b28da89c8fab36900
2015-12-31 19:51:27 +05:01
Ms2ger a8be5cce24 servo: Merge #9058 - Update layers (from Ms2ger:layers); r=mrobinson
Source-Repo: https://github.com/servo/servo
Source-Revision: 5ef8129ae603293d11665ec24c3c943193b915d9
2015-12-29 03:36:22 +05:01
Emilio Cobos Álvarez 59d74cdb1f servo: Merge #9044 - Update offscreen_gl_context (from emilio:offscreen-gl-up); r=jdm
cc: https://github.com/ecoal95/rust-offscreen-rendering-context/pull/46
Source-Repo: https://github.com/servo/servo
Source-Revision: da8952b7023a92b7a69bd4423905594f4baa8f29
2015-12-23 20:06:37 +05:01
Brandon Fairchild 845411a627 servo: Merge #8938 - Move LayerKind and ScrollPolicy enums to gfx_traits (from nerith:gfx); r=Ms2ger
Fixes #8836.

Source-Repo: https://github.com/servo/servo
Source-Revision: 68c4f290c7c9ad7ea45fcea66e3c6b172e42be62
2015-12-23 18:09:51 +05:01
Maciej Skrzypkowski 8fd965896a servo: Merge #9022 - Move PaintMsg enum to gfx_traits #8844 (from mskrzypkows:PaintMsg_refactoring); r=jdm
re-PR of https://github.com/servo/servo/pull/9007, because homu seems stuck

Fixes #8844.

Source-Repo: https://github.com/servo/servo
Source-Revision: 95eabdb4dbdc00937eeea5b495002d5526217f93
2015-12-20 01:05:26 +05:01
Mathieu Agopian 2ee894fb9d servo: Merge #9019 - Use Url.join instead of UrlParser.base_url(...).parse (#9002) (from magopian:9002-use-url.join); r=SimonSapin
Fix issue #9002

Source-Repo: https://github.com/servo/servo
Source-Revision: f9141ef2db693518fef676740f25abee3b938cac
2015-12-19 01:29:56 +05:01
Corey Farwell 733163244e servo: Merge #9005 - Update Cargo.{lock,toml} to reference servo-egl instead of egl (from frewsxcv:servo-egl); r=jdm
The crate name was changed in this commit:

ebbd1cff89

Source-Repo: https://github.com/servo/servo
Source-Revision: 6afed16565b0b504f097c8b6ce0082890d5bc423
2015-12-18 06:38:30 +05:01
Alan Jeffrey 0007a41bcc servo: Merge #8992 - Bump string_cache version to 0.2.5 (from asajeffrey:bump_string_cache_version); r=nox
Atom::to_lower_case() now returns an Atom rather than a String,
so there are a few asserts that need a different collection of &s and *s.

Source-Repo: https://github.com/servo/servo
Source-Revision: 85b43ea31726776b5d9aafa58786850c12e2c852
2015-12-16 04:04:50 +05:01
Corey Farwell a6578c854e servo: Merge #8979 - Upgrade some Rust dependencies (from frewsxcv:bump); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 072222e69e5451db670716b414f800db593ffc42
2015-12-16 00:10:44 +05:01
GauriGNaik 5be1a03fb2 servo: Merge #8971 - Add pipeline information to CSS error reporting (from jdm:expose-css-errors-1); r=jdm
Rebase of #8838.

Source-Repo: https://github.com/servo/servo
Source-Revision: d11f96e27074b0130760a02d39d2da4e003c820e
2015-12-14 21:22:41 +05:01
David Zbarsky fb2993ff72 servo: Merge #8761 - Implement some more WebGL functions (from dzbarsky:gl_functions); r=dzbarsky
r? @ecoal95

Source-Repo: https://github.com/servo/servo
Source-Revision: 89d9aad1e1e3cd93b12088f09aad1193e7298ba4
2015-12-14 07:56:20 +05:01
Keith Yeung 277a5024e0 servo: Merge #8854 - Treat 'undefined' passed to optional JS arguments as missing (from KiChjang:undefined-as-missing); r=frewsxcv
@frewsxcv please don't hurt me for this.

I've added an AND condition to check whether the value being passed is undefined while checking whether the argument exists at all. Essentially, this is now treating undefined arguments the same as missing arguments.

Fixes #8813.
Fixes #6558.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8bab1cd7a4634618d18985d273c6997984919ecc
2015-12-13 10:12:56 +05:01
Ms2ger e998b88c1e servo: Merge #8947 - Use core-text from crates.io (from Ms2ger:core-text); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 23b220644c3cca7e90152c62a04133e72a95570c
2015-12-12 12:58:45 +05:01
Tomas Cernaj 250daed104 servo: Merge #8939 - Move PaintListener to gfx_traits, Fixes #8834 (from cnaj:msg_refactoring); r=Ms2ger
Adding layers and msg dependency to gfx_traits.

Fixes #8834.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9f0c6d75d1abef030b1f98f07cb598100b96c05e
2015-12-12 03:58:55 +05:01
Corey Farwell 8c454ce7ad servo: Merge #8930 - Pass around event types as Atoms instead of Strings (from frewsxcv:event-type-atom); r=nox
`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.

Source-Repo: https://github.com/servo/servo
Source-Revision: 99fd946130c9f06433b47c7f60241d5f7ad14a5b
2015-12-11 20:43:35 +05:01
zmike d7d4f39335 servo: Merge #8888 - stub out gluCheckExtension in embedding (from zmike:stubbed_my_skia); r=larsbergstrom
this is called from src/gpu/gl/unix/SkNativeGLContext_unix.cpp which
is not something that is used in servo

ref #8883

Source-Repo: https://github.com/servo/servo
Source-Revision: f5eec35cb47722f35cb1412eab2c096bb22fd6cc
2015-12-11 19:55:22 +05:01
Beomjin Kim 79d1f69fe9 servo: Merge #8898 - Moved CompositorMsg enum into compositing crate (from vwvww:compositor_msg_refactor); r=Ms2ger
moved CompositorMsg enum into compositing crate.
moved from components/msg/constellation_msg.rs
            to components/compositing/lib.rs
fixes #8832

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e73a30b0072dcf93bd8faa18f6ed89b7b2ad245
2015-12-11 11:33:52 +05:01
Tomas Cernaj 18632570cd servo: Merge #8909 - Move ScriptMsg to script_traits crate, Fixes #8833 (from cnaj:msg_refactoring); r=jdm
Review of documentation that was missing needed.

Fixes #8833.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7438bc0425749989b8aab084a34ff3fff2ea6679
2015-12-10 10:55:44 +05:01
Corey Farwell 88c8eb1799 servo: Merge #8884 - Upgrade some dependencies (from frewsxcv:update-packages); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 452b55b9e6dc7e8d1466ca17d8986e3c02622f7a
2015-12-10 03:53:14 +05:01
Ms2ger 6bd4953195 servo: Merge #8907 - Update rustc to the 2015-12-09 nightly (from servo:rustup); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 8c849cf1a35cc8fc65b07119fcc424a60309f933
2015-12-10 00:02:31 +05:01
Ms2ger 8381ed70f7 servo: Merge #8893 - Update bincode (from Ms2ger:byteorder); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: f4aa5b42ea3c0ece91018964df88a0b6e86649dd
2015-12-09 01:07:35 +05:01
Matt Brubeck 4876cfea47 servo: Merge #8887 - Upgrade to android_glue 0.1.3 (from mbrubeck:glue-up); r=Ms2ger
Fixes scrolling on Android (tomaka/android-rs-glue#70). r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 5cfba0cb6e0eec4712c3ea6b2a57754109b7ec87
2015-12-08 21:34:32 +05:01
Nova Fallen 59b1ed34ea servo: Merge #8867 - Move websocket creation to resource task (from nfallen:6638-websocket_loader); r=jdm
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

Source-Repo: https://github.com/servo/servo
Source-Revision: 951ab565d150b4f108254e06a14ccbe7f1005469
2015-12-08 20:11:50 +05:01
Ms2ger fca4e934cf servo: Merge #8885 - Update mozjs (from Ms2ger:update-js); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: fdef1db3953b4684c2f7dc2dad6fd95ddabdd50a
2015-12-08 13:20:51 +05:01
Ms2ger 932e65b488 servo: Merge #8877 - Update heartbeats libraries (from Ms2ger:update-hbs); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 7fb5f3c976d29c0013735035fb6923ec1cc84377
2015-12-07 22:38:12 +05:01
Ms2ger 6cc844ac80 servo: Merge #8874 - Move from clock_ticks to time (from Ms2ger:clock-ticks); r=jdm
This is recommended at <https://github.com/tomaka/clock_ticks>.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9f9d3570fc27d08e2afff2b90444956c3c5a66a4
2015-12-07 21:09:16 +05:01
Corey Farwell 1effb0c95d servo: Merge #8866 - Update some Rust dependencies (from frewsxcv:update-packages); r=jdm
* [winapi](292ddcdbd2...2d9b5ba0eb)
* [aho-corasick](https://github.com/BurntSushi/aho-corasick/compare/0.3.2...0.4.0)
* [memchr](https://github.com/BurntSushi/rust-memchr/compare/0.1.6...0.1.7)
* [num](4d7cb95740...659c1a73c3)
* [block](https://github.com/SSheldon/rust-block/compare/0.1.1...0.1.4)
* [regex](f07df445db...8ca7815092)
* [cgl](https://github.com/servo/cgl-rs/compare/v0.1.0...v0.1.2)
* [clipboard-win](38f69c2fa0...730f239337)
* [openssl](https://github.com/sfackler/rust-openssl/compare/v0.7.0...v0.7.1)
* [string-cache](1bd99f1604...v0.2.2)
* [num_cpus](b393c1d4a8...ac827925a1f3125a7441042ba661ed311c1abe68)

Source-Repo: https://github.com/servo/servo
Source-Revision: f5d05a39af6bec623c20d41f89f36e8fe9f75cd0
2015-12-07 19:36:21 +05:01
David Zbarsky dcbe691e75 servo: Merge #8740 - Implement IsPointInPath for Canvas (from dzbarsky:ispointinpath); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: 98972d04342602610a7465de7b0639e2b9c1dcf3
2015-12-06 06:50:23 +05:01