bors-servo
9fa56ccfdf
Auto merge of #9073 - dsprenkels:issue-8733, r=Wafflespeanut
...
tidy.py: remove duplicate code patterns in `check_rust(file_name, lines)`
This is an attempt at a reasonable fix for #8733 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9073 )
<!-- Reviewable:end -->
2015-12-31 20:20:27 +05:30
Josh Matthews
bda341b217
Update mime_guess to incorporate TTF MIME changes.
2015-12-31 07:45:51 -05:00
Josh Matthews
e17e553f04
Restrict font loads to known MIME types.
2015-12-31 07:45:48 -05:00
Daan Sprenkels
c9f188d163
tidy.py: made check_rust(file_name, lines)
more readable
...
also added a rule that requires a space before '-' (except in cases of scientific notation)
fixes #8733
2015-12-31 12:00:26 +01:00
Simon Sapin
ff7524af09
Update glutin
...
… 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.
2015-12-31 00:58:44 +00:00
Ms2ger
6d5261275a
Update layers.
2015-12-24 11:03:32 +01:00
bors-servo
da8952b702
Auto merge of #9044 - ecoal95:offscreen-gl-up, r=jdm
...
Update offscreen_gl_context
cc: https://github.com/ecoal95/rust-offscreen-rendering-context/pull/46
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9044 )
<!-- Reviewable:end -->
2015-12-23 20:35:37 +05:30
Emilio Cobos Álvarez
992a36234c
Update offscreen_gl_context
2015-12-22 04:33:03 +01:00
Brandon Fairchild
637afecec9
Move LayerKind and ScrollPolicy enums to gfx_traits
...
This also moves LayerId and LayerProperties to gfx_traits.
Fixes #8836 .
2015-12-20 20:43:31 -05:00
bors-servo
95eabdb4db
Auto merge of #9022 - mskrzypkows:PaintMsg_refactoring, r=jdm
...
Move PaintMsg enum to gfx_traits #8844
re-PR of https://github.com/servo/servo/pull/9007 , because homu seems stuck
Fixes #8844 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9022 )
<!-- Reviewable:end -->
2015-12-20 01:34:26 +05:30
Mathieu Agopian
11234f5370
Use Url.join instead of UrlParser.base_url(...).parse ( #9002 )
2015-12-18 17:02:41 +01:00
Maciej Skrzypkowski
3f7f323556
Move PaintMsg enum to gfx_traits #8844
2015-12-18 08:33:32 +01:00
Corey Farwell
2cf29cbcdb
Update Cargo.{lock,toml} to reference servo-egl instead of egl
...
The crate name was changed in this commit:
ebbd1cff89
2015-12-16 20:39:55 -05:00
Alan Jeffrey
348a68fe2c
Bump string_cache version to 0.2.5.
...
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.
2015-12-15 17:00:36 -06:00
Corey Farwell
4cb94975d9
Upgrade url: 0.5.0 -> 0.5.2
...
https://github.com/servo/rust-url/compare/v0.5.0...v0.5.2
2015-12-15 14:08:33 -05:00
Corey Farwell
5f8db66558
Upgrade brotli: 0.3.17 -> 0.3.20
...
ea4cb81aee...c243045b88
2015-12-15 14:08:33 -05:00
Corey Farwell
d1bf93b526
Upgrade aster: 0.9.0 -> 0.9.1
...
https://github.com/serde-rs/aster/compare/v0.9.0...v0.9.1
2015-12-15 14:08:33 -05:00
Corey Farwell
696776e4a8
Upgrade servo-glutin: 0.4.4 -> 0.4.5
...
https://github.com/servo/glutin/compare/1ff4aa78a82bcaebdf1ea3021557c04f5d36fd81...servo:18b3018662f54e23dd8cc9c7ffdd2e51134011cf
2015-12-15 14:08:33 -05:00
Corey Farwell
9efd6465c7
Upgrade httparse: 1.0.0 -> 1.1.0
...
https://github.com/seanmonstar/httparse/compare/v1.0.0...v1.1.0
2015-12-15 14:08:33 -05:00
Corey Farwell
bec75582b4
Upgrade core-graphics: 0.2.0 -> 0.2.1
...
https://github.com/servo/core-graphics-rs/compare/v0.2.0...v0.2.1
2015-12-15 14:08:33 -05:00
GauriGNaik
fc81276c8e
Add pipeline information to CSS error reporting.
2015-12-14 11:18:30 -05:00
bors-servo
89d9aad1e1
Auto merge of #8761 - dzbarsky:gl_functions, r=dzbarsky
...
Implement some more WebGL functions
r? @ecoal95
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8761 )
<!-- Reviewable:end -->
2015-12-14 08:25:20 +05:30
David Zbarsky
0f4d6d58aa
Implement various WebGL functions
2015-12-13 17:39:20 -08:00
bors-servo
8bab1cd7a4
Auto merge of #8854 - KiChjang:undefined-as-missing, r=frewsxcv
...
Treat 'undefined' passed to optional JS arguments as missing
@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 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8854 )
<!-- Reviewable:end -->
2015-12-13 10:41:56 +05:30
Keith Yeung
db92a8b030
Treat undefined arguments in JS as missing
2015-12-12 21:13:29 -08:00
Ms2ger
5440a90a48
Use core-text from crates.io.
2015-12-12 02:19:24 -05:00
bors-servo
9f0c6d75d1
Auto merge of #8939 - cnaj:msg_refactoring, r=Ms2ger
...
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 -->
2015-12-12 04:27:55 +05:30
Tomas Cernaj
701aebee48
Move PaintListener to gfx_traits, Fixes #8834
...
Adding layers and msg dependency to gfx_traits.
2015-12-11 18:43:10 +01:00
bors-servo
99fd946130
Auto merge of #8930 - frewsxcv:event-type-atom, r=nox
...
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 -->
2015-12-11 21:12:35 +05:30
bors-servo
f5eec35cb4
Auto merge of #8888 - zmike:stubbed_my_skia, r=larsbergstrom
...
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 -->
2015-12-11 20:24:22 +05:30
Corey Farwell
4accaf50b2
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.
2015-12-10 23:47:25 -05:00
Beomjin Kim
729812f383
Moved CompositorMsg enum into compositing crate.
...
moved from components/msg/constellation_msg.rs
to components/compositing/lib.rs
dependencies on compositing crate added in ports/cef/Cargo.lock
2015-12-11 13:42:14 +09:00
bors-servo
7438bc0425
Auto merge of #8909 - cnaj:msg_refactoring, r=jdm
...
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 -->
2015-12-10 11:24:44 +05:30
Corey Farwell
c7e62689e5
Upgrade dependency: shared_library
...
8c6d2433f0...391e74ae02
2015-12-09 17:08:00 -05:00
Corey Farwell
0919f81a7a
Upgrade dependency: malloc_buf
...
bab724c8ad...a7811e5f4c
2015-12-09 17:07:59 -05:00
Corey Farwell
389d5b4eed
Upgrade dependency: gaol
...
71865ff8...e1349d8d
2015-12-09 17:05:26 -05:00
Corey Farwell
0316f0bb2b
Upgrade dependency: ipc-channel
...
8306cdf0...6900611d
2015-12-09 16:38:13 -05:00
Tomas Cernaj
5507be2653
Move ScriptMsg from msg crate into script_traits
2015-12-09 20:50:11 +01:00
Ms2ger
cfa18bc2e6
Update rustc to the 2015-12-09 nightly.
2015-12-09 13:53:06 -05:00
Ms2ger
07d837bd03
Update bincode.
2015-12-08 14:49:38 -05:00
bors-servo
5cfba0cb6e
Auto merge of #8887 - mbrubeck:glue-up, r=Ms2ger
...
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 -->
2015-12-08 22:03:32 +05:30
zmike
d782ec1636
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
2015-12-08 11:02:48 -05:00
Matt Brubeck
6560a8ad9e
Upgrade to android_glue 0.1.3
2015-12-08 07:13:35 -08:00
bors-servo
951ab565d1
Auto merge of #8867 - nfallen:6638-websocket_loader, r=jdm
...
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 -->
2015-12-08 20:40:50 +05:30
Nova Fallen
e8c8277f34
move websocket creation to resource task
2015-12-08 02:04:40 -05:00
Ms2ger
f724493738
Update mozjs and gcc.
2015-12-07 23:59:01 -05:00
bors-servo
7fb5f3c976
Auto merge of #8877 - Ms2ger:update-hbs, r=jdm
...
Update heartbeats libraries.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8877 )
<!-- Reviewable:end -->
2015-12-07 23:07:12 +05:30
Ms2ger
0545ba08af
Update heartbeats libraries.
2015-12-07 12:32:11 -05:00
Ms2ger
2e40297885
Move from clock_ticks to time.
...
This is recommended at <https://github.com/tomaka/clock_ticks >.
2015-12-07 11:03:48 -05:00
Corey Farwell
1c52aee7a8
Update some Rust dependencies
2015-12-06 22:21:54 -05:00