Commit graph

49 commits

Author SHA1 Message Date
Osspial 08bae037f0 Use paths for intra-doc links, and verify that links are valid in CI (#1244)
* Use paths to generate intra-doc links

* Add entry to PR checklist
2019-11-11 16:05:59 -07:00
Ryan G a557b3cfb6 Add web targets to travis (#1220)
* Add web targets to travis

* Fix some bash syntax

* Avoid crash on providing no features

* Fix syntax error

* Syntax?

* Fix pleas

* Fix features check

* Add a comment

* Add nightly builds
2019-10-12 23:44:30 -04:00
Aleksi Juvani 1e4c176506 Fix armv7-apple-ios compile target (#1083) 2019-08-01 01:30:05 -06:00
Hal Gentz 03f9e8fce0
Always use stable rustfmt for CI. (#1074)
Signed-off-by: Hal Gentz <zegentzy@protonmail.com>
2019-07-28 03:09:31 -06:00
Osspial a195ce8146
Re-format on stable rustfmt (#974) 2019-06-24 12:14:55 -04:00
Osspial e2c84725de
Format everything and add rustfmt to travis (#951)
* Format everything and add rustfmt to travis

* Remove extern crate winit from examples and add force_multiline_blocks

* Format the code properly

* Fix inconsistent period in PULL_REQUEST_TEMPLATE.md

* Only run rustfmt on nightly

* Travis fixings
2019-06-21 11:33:15 -04:00
Aleksi Juvani db794b976c Disable caching on Travis (#918) 2019-06-13 14:24:44 -04:00
Osspial 3cd40ef655
Remove icon loading feature (#799) 2019-02-23 20:59:00 -05:00
Osspial 4584e7629a
Remove MSRV guarantee (#746)
* Remove MSRV guarantee

* Update CHANGELOG
2018-12-29 15:02:02 -11:00
Francesca Plebani 5be52c9753
Increase MSRV to 1.28.0 (#716) 2018-11-19 16:56:11 -05:00
Victor Berger 2c3e420f82 travis: freeze dependencies that silently broke 1.24.1 compat (#701) 2018-11-12 20:37:51 -05:00
Osspial 6bec912961 Add optional Serde implementations and missing derivable traits (#652)
* Add optional serde feature

* Document features in README

* Add changelog entry

* Implement some missing derivable traits

* Add changelog entry for std derives

* Remove extraneous space on serde doc comments

* Add period to end of serde line in readme

* Remove serde impls from WindowAttributes

* Add serde impls for TouchPhase

* Add serde test file

* Add feature lines to testing CIs

* Remove WindowAttributes from changelog
2018-11-01 04:24:56 -04:00
Francesca Frangipane fd1a3eda1c
Test against rustc 1.24.1 on Travis (#547) 2018-06-02 22:59:59 -04:00
Pedro Côrte-Real 80d9a6371d Use travis matrix for the ios/linux variants (#313) 2017-10-08 15:51:55 +02:00
Pedro Côrte-Real 1db92063d9 Fix X11 on 32bit architectures (#311)
* Add an i386 target to travis

* Fix X11 on 32bit architectures

One would hope 32bit X11 was dead by now but apparently not :). Fix
the window hint setting code to not assume window IDs are 64bit as
apparently they are not in 32bit arches.
2017-10-07 21:20:37 +02:00
Pedro Côrte-Real 59c33d2c6a Move fullscreen modes to not touch physical resolutions (#270)
* Fix X11 screen resolution change using XrandR

The previous XF86 resolution switching was broken and everything
seems to have moved on to xrandr. Use that instead while cleaning
up the code a bit as well.

* Use XRandR for actual multiscreen support in X11

* Use actual monitor names in X11

* Get rid of ptr::read usage in X11

* Use a bog standard Vec instead of VecDeque

* Get rid of the XRandR mode switching stuff

Wayland has made the decision that apps shouldn't change screen
resolutions and just take the screens as they've been setup. In the
modern world where GPU scaling is cheap and LCD panels are scaling
anyway it makes no sense to make "physical" resolution changes when
software should be taking care of it. This massively simplifies the
code and makes it easier to extend to more niche setups like MST and
videowalls.

* Rename fullscreen options to match new semantics

* Implement XRandR 1.5 support

* Get rid of the FullScreen enum

Moving to just having two states None and Some(MonitorId) and then
being able to set full screen in the current monitor with something
like:

window.set_fullscreen(Some(window.current_monitor()));

* Implement Window::get_current_monitor()

Do it by iterating over the available monitors and finding which
has the biggest overlap with the window. For this MonitorId needs
a new get_position() that needs to be implemented for all platforms.

* Add unimplemented get_position() to all MonitorId

* Make get_current_monitor() platform specific

* Add unimplemented get_current_monitor() to all

* Implement proper primary monitor selection in X11

* Shut up some warnings

* Remove libxxf86vm package from travis

Since we're no longer using XF86 there's no need to keep the package
around for CI.

* Don't use new struct syntax

* Fix indentation

* Adjust Android/iOS fullscreen/maximized

On Android and iOS we can assume single screen apps that are already
fullscreen and maximized so there are a few methods that are implemented
by just returning a fixed value or not doing anything.

* Mark OSX/Win fullscreen/maximized unimplemented()!

These would be safe as no-ops but we should make it explicit so
there is more of an incentive to actually implement them.
2017-09-07 10:33:46 +02:00
Pedro Côrte-Real 0ada6c15ea Fix travis OSX rust stable build (#280) 2017-09-05 08:26:05 +02:00
mitchmindtree 517bb3692b Try and use regular rustup command for adding ios target 2017-03-25 15:32:44 +11:00
mitchmindtree 2179d49656 Try fix travis by switching install script to use rustup.rs
travis-ci/travis-build#993 recently switched rust builds to use
rustup.rs instead of rustup.sh.
2017-03-25 15:18:12 +11:00
Christian Howe ba94b8edf8 Fix Travis iOS build 2016-12-15 21:34:37 -06:00
Christian Howe 5146bce88e Fix iOS build and add to Travis CI 2016-12-13 07:29:17 -06:00
Andrey Lesnikov 7f6ae8910e Merge https://github.com/tomaka/glutin
Conflicts:
	.travis.yml
	Cargo.toml
	examples/fullscreen.rs
	src/api/android/mod.rs
	src/api/cocoa/headless.rs
	src/api/cocoa/helpers.rs
	src/api/cocoa/mod.rs
	src/api/glx/mod.rs
	src/api/osmesa/mod.rs
	src/api/win32/callback.rs
	src/headless.rs
	src/lib.rs
	src/platform/linux/mod.rs
	src/window.rs
2016-09-19 19:53:28 +03:00
Andrey Lesnikov 2c0ba47873 travis: Enabled deps cache 2016-09-06 09:46:31 +03:00
Andrey Lesnikov 6089fa8c2c docs.rs 2016-09-05 22:10:15 +03:00
Pierre Krieger ffb6b0f15c Travis adjustements 2016-02-23 13:00:32 +01:00
tomaka 0a1fe4b8aa Fix docs publication not working 2015-05-21 19:45:58 +02:00
tomaka f78737c0cf Test on stable Rust instead of beta 2015-05-21 19:43:24 +02:00
Pierre Krieger 430ae43528 Remove the "headless" feature entirely 2015-05-04 18:36:26 +02:00
Pierre Krieger ace4808fac Remove the "headless" feature 2015-05-04 07:48:42 +02:00
tomaka 3b1e57d0e3 Test on beta 3 on travis 2015-04-30 08:31:25 +02:00
tomaka f4a73f5287 Update the tested version on travis 2015-04-22 18:12:05 +02:00
tomaka 5494ef9b4e Remove sudo: false or docs generation doesn't work 2015-04-16 21:35:54 +02:00
tomaka 5da2da5fb2 Run travis for both the beta and the nightly 2015-04-08 21:09:14 +02:00
Pierre Krieger 14bec6c3e4 Use the sudo feature of travis 2015-04-02 12:53:44 +02:00
Pierre Krieger 330767d0c3 Pull all dependencies from crates.io 2015-03-13 21:24:59 +01:00
tomaka de412be593 Another fix attempt for .travis.yml 2015-02-15 15:09:52 +01:00
tomaka 99a29f40df Fix .travis.yml indentation 2015-02-15 14:58:47 +01:00
Pierre Krieger c3ab907e04 Setup deployment on crates.io 2015-02-15 14:13:26 +01:00
Pierre Krieger fc214073e9 Generate docs for headless functionnalities too 2014-12-28 15:54:27 +01:00
Pierre Krieger 81930591ee Fix travis secure token 2014-12-17 10:43:29 +01:00
Pierre Krieger 9aca24a738 Add automatic gh-pages deployment in travis 2014-12-17 10:34:18 +01:00
Tomaka17 a479b2f60c Update travis.yml with recent PR 2014-10-31 18:57:28 +01:00
Tomaka17 b66abed7ae Minor changes in travis.yml 2014-10-10 16:02:27 +02:00
Tomaka17 e565bfeb13 Implement headless rendering 2014-10-09 15:55:42 +02:00
Tomaka17 9b06c973a2 Add libXxf86vm-dev installation to travis.yml 2014-09-19 20:32:30 +02:00
Tomaka17 f4fb699b52 Add dummy implementation for OS/X 2014-08-03 09:25:30 +02:00
Tomaka17 ec956688cd Test support for travis Rust 2014-07-30 18:04:48 +02:00
Tomaka17 2e41d25cb5 Add rust-ci docs 2014-07-27 16:06:17 +02:00
Pierre Krieger a121fe1e57 Add .travis build 2014-07-27 15:56:44 +02:00