Commit graph

235 commits

Author SHA1 Message Date
Victor Berger 14323656b6
wayland: Remove EGL-dependent code.
This removes all EGL-specific code from the wayland backend.

Notable unresolved question: due to wayland design, the resizing
methods will only get/set the size of the drawn borders, not of the
actual content drawn. This latter size cannot be controlled by winit.
2016-05-08 09:11:15 +02:00
Andrey Lesnikov 18f846403b Updated to android_glue 0.2 2016-05-06 00:01:40 +03:00
Matt Brubeck 386db74093 Update lazy_static, osmesa-sys, and x11-dl 2016-05-02 15:05:45 -07:00
Matt Brubeck 523140ed74 Use cfg syntax for target-specific dependencies 2016-05-02 15:05:09 -07:00
Corey Farwell dc49156fe6 Allow OSX WindowBuilder to specify 'activation behavior'. 2016-04-29 10:43:30 -04:00
Pierre Krieger 764bf7ce4b Update the android glue to 0.2 to use the new cargo-apk crate 2016-04-26 13:43:48 +02:00
Pierre Chevalier 18c065a2a1 Publish 0.5.1
- to make the fix for #748 available to the repos downstream that need it
2016-04-13 07:54:37 +01:00
tomaka 136d3beed1 Publish 0.5.0 2016-04-06 16:34:30 +02:00
Pierre Krieger d216d6b052 Merge remote-tracking branch 'glutin/master' into merge-glutin
Conflicts:
	Cargo.toml
	build.rs
	src/api/caca/mod.rs
	src/api/cocoa/mod.rs
	src/api/egl/ffi.rs
	src/api/egl/mod.rs
	src/api/glx/mod.rs
	src/api/osmesa/mod.rs
2016-03-26 17:55:03 +01:00
Brendan Zabarauskas e8b3570db4 Update gl_generator to v0.5 2016-03-24 14:03:38 +11:00
Steven Sheldon c5268309c3 Update objc to 0.2. 2016-03-20 16:04:11 -07:00
Manish Goregaokar 1de66e4efb Add support for navigation keys 2016-03-17 16:04:03 +05:30
Corey Farwell c0adb8d87e Fix Mac build by bumping core-graphics.
At the time of writing, Glutin requires 0.2.x and cocoa requires 0.3.x.
2016-03-14 20:22:19 -04:00
Jack Moffitt 717d0184c0 Pin core-graphics to 0.2 since cocoa 0.2.4 does 2016-03-08 22:59:15 -07:00
Kirill Zdornyy 74a28adba2 Fix this_platform_is_not_supported on OpenBSD.
I followed the steps of @mneumann.
2016-03-01 18:06:13 -08:00
Paul Rouget 68818751f4 TouchpadPressure event 2016-02-26 11:08:46 +01:00
Pierre Krieger 10bb03c5f0 Remove most OpenGL stuff and make it compile on win32 2016-02-23 12:56:23 +01:00
tomaka bd605478d1 Merge pull request #723 from petevine/master
Add the new `i586` target in Cargo.toml
2016-02-14 18:21:45 +01:00
petevine e4bf0a22b5 Update Cargo.toml 2016-02-14 18:03:50 +01:00
Pierre Krieger 86dd75f7e9 Publish 0.4.8 2016-02-09 15:24:44 +01:00
Pierre Krieger 9238a48ffc Merge branch 'master' of http://github.com/tomaka/gl-init-rs 2016-02-09 15:20:06 +01:00
Pierre Krieger 982279bc39 Update the emscripten port of glutin 2016-02-09 14:25:21 +01:00
petevine abdfa91b75 Update Cargo.toml 2016-02-01 16:27:16 +01:00
tomaka 4222812e12 Merge pull request #716 from mmatyas/typofix
Typo fix in package description
2016-02-01 11:54:04 +01:00
Mátyás Mustoha 4c7460a410 Typo fix in package description 2016-02-01 11:22:22 +01:00
Pierre Krieger 5cce3f9640 Publish 0.4.7 2016-01-29 07:36:09 +01:00
tomaka 8f1151cbc4 Publish 0.4.6 2016-01-28 22:44:32 +01:00
Marcell Pardavi 535356f5ce Dependency fix 2015-12-31 21:22:19 +01:00
Ruben Bakker c68fb24838 Publish 0.4.5 2015-12-29 22:39:43 +02:00
Victor Berger aace58d203 api/wayland: fix Window not being Send+Sync 2015-12-22 14:36:41 +01:00
Victor Berger 84f1aef100 api/wayland: add keyboard support. 2015-12-22 14:36:41 +01:00
Victor Berger 833c892cf9 api/wayland: update wayland-client to 0.5.3 2015-12-22 14:36:41 +01:00
Victor Berger fad2e77a36 api/wayland: Reset to empty API.
In order to build the whole new structure.
2015-12-22 14:36:41 +01:00
tomaka ae7638b995 Publish 0.4.4 2015-12-20 15:08:28 +01:00
Simon Sapin e4f1c7358d Update some libraries 2015-12-01 02:11:54 +01:00
tomaka 6a3ee2af75 Merge pull request #646 from adambadawy/master
Fix fullscreen on X11
2015-11-11 20:38:12 +01:00
Pierre Krieger 5ca4e89dd4 Publish 0.4.2 2015-11-09 10:26:01 +01:00
mitchmindtree b02265fa11 Update to libc 0.2, remove unnecessary gl_common crate 2015-11-09 08:47:12 +01:00
mitchmindtree 228732877a Lock objc version, add casts to appease libc pointer type conflict. Closes #654 2015-11-08 21:13:25 +11:00
Pierre Krieger 2fcbdcc2fc Fix the libc breakage 2015-11-04 11:28:08 +01:00
Adam Badawy c068a770f0 Update x11-dl 2015-10-27 03:22:13 -04:00
Pierre Krieger df10bbd163 Publish 0.4.0 2015-10-03 16:58:04 +02:00
Pierre Krieger cb56b55a88 Update khronos_api to 0.0.8 2015-10-03 16:33:38 +02:00
Pierre Krieger 7a625ef3d8 Remove the window feature entirely 2015-10-03 10:33:37 +02:00
Pierre Krieger 644ecf877d Update the gl_generator dependency 2015-09-30 07:29:29 +02:00
tomaka a448043b16 Merge pull request #606 from paulrouget/NSFullSizeContentViewWindowMask
Use NSFullSizeContentViewWindowMask for decoration-less windows
2015-09-23 13:29:28 +02:00
tomaka 3820d307a3 Merge pull request #611 from vvuk/win32
fix up win32 support
2015-09-23 13:09:36 +02:00
Paul Rouget 68230faeb0 Update cocoa version 2015-09-23 10:53:35 +02:00
Vladimir Vukicevic 4af72a4109 win32: Bump user32-sys req for MapVirtualKeyA 2015-09-22 14:01:27 -04:00
tomaka 34d2c7517d Merge pull request #610 from mbrubeck/android-touch
Support multi-touch events on Android
2015-09-22 19:55:43 +02:00
Matt Brubeck 1827910927 Support multi-touch events on Android
Depends on tomaka/android-rs-glue#64.
2015-09-22 09:25:49 -07:00
Tim Neumann 9f6806ba2e make glutin compile on all iOS targets 2015-09-21 18:57:35 +02:00
tomaka fa48f4b845 Publish 0.3.6 2015-09-12 14:40:16 +02:00
Anthony Ramine b096143f73 Bump gl_generator to 0.0.27 2015-09-12 01:02:38 +02:00
tomaka ded23549eb Merge pull request #585 from frewsxcv/https
Use HTTPS for doc hyperlink
2015-08-30 18:54:01 +02:00
Michael Neumann b707959c2c Make it work on DragonFly/FreeBSD
Tested on DragonFly BSD. Should work similarily on FreeBSD.
2015-08-30 13:52:09 +02:00
Corey Farwell bcce133fae Use HTTPS for doc hyperlink 2015-08-27 22:28:16 -04:00
Peter Atashian 9d387b4f98 Cleanup unused import stuff
Also support i686-pc-windows-msvc

Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-08-21 11:49:10 -04:00
Pierre Krieger 42949fb34b Publish 0.3.5 2015-08-21 07:59:49 +02:00
Victor Berger 1cea6a65a4 Update wayland backend to draw decorations.
Integrate with wayland-window crate to draw decorations
allowing resize & move of the window.

Leaving the wayland backend as disabled until full usability
is ensured.
2015-08-16 14:12:21 +02:00
Pierre Krieger 15dfbd1ef6 Publish 0.3.4 2015-07-25 16:15:00 +02:00
Akos Kiss 07c8154cb7 Add aarch64-unknown-linux-gnu support
* Adding dependencies
* Replacing `i8` with `c_char` ot `_` (since `c_char` can be
  unsigned on some platforms, aarch64 is one of them)
2015-07-23 06:19:54 +00:00
tomaka eb8611f272 Publish 0.3.3 2015-07-22 15:52:43 +02:00
Pierre Krieger ca1eb8dc53 Publish 0.3.2 2015-07-19 21:41:48 +02:00
tomaka 7d1d035d9a Merge pull request #510 from robertknight/x11_xinput2
Use XInput2 for event handling
2015-07-18 19:03:13 +02:00
Pierre Krieger f8b6f0f1fc Fix the winapi build and publish 0.3.1 2015-07-14 11:55:55 +02:00
Pierre Krieger 59a18acde2 Publish 0.3.0 2015-07-12 13:55:57 +02:00
tomaka bb96e8a58a Merge pull request #511 from thelink2012/drop-win32
[0.3] DroppedFile event for Win32
2015-07-09 11:06:38 +02:00
Robert Knight b1223bc041 Bump x11-dl dependency to 2.x
This brings in XInput2 support.
2015-07-08 21:42:45 +01:00
Pierre Krieger db901e3d83 Test glutin with MSVC++ 2015-07-04 13:57:29 +02:00
tomaka 836e53e55a Merge pull request #477 from rozaliev/feature/ios
[WIP] ios support
2015-06-29 09:29:46 +02:00
tomaka 164d47b93c Publish 0.2.2 2015-06-27 18:21:57 +02:00
Pierre Krieger bff79c02ce Add support for the EGL_KHR_create_context_no_error extension 2015-06-25 09:35:58 +02:00
Denilson M. Amorim 826931e2c2 DroppedFile event for Win32 2015-06-23 19:05:37 -03:00
Pierre Krieger 1c6fb9daae Publish 0.2.1 2015-06-23 17:01:59 +02:00
Victor Berger 2ac78cadf6 Update wayland dependency to 0.2. 2015-06-23 11:23:10 +02:00
Ricky Taylor 4ef969c7db Add support for MSVC build. 2015-06-21 01:23:29 +01:00
tomaka e6dca4f7d1 Publish 0.2.0 2015-06-17 07:43:26 +02:00
Felix Kaaman a8fef35dbf Make legacy functions crash on osx core contexts 2015-06-16 09:00:02 +02:00
Evgeny Rozaliev 84703027d6 [add] ios support 2015-06-05 16:38:35 +03:00
Jack Moffitt dbec1bf79d Switch to the official crates.
cocoa, core-foundation, and core-graphics are now on crates.io.
2015-06-03 23:06:54 -06:00
Pierre Krieger 9117bcf3d3 Switch to dwmapi 2015-05-24 09:10:45 +02:00
Pierre Krieger 9c21899249 Fix the compilation on 32bits linux 2015-05-21 21:31:41 +02:00
tomaka a05ae6ba97 Publish 0.1.5 2015-05-21 19:38:06 +02:00
Pierre Krieger ea17038ac2 Detach wgl and win32 2015-05-21 16:47:19 +02:00
Pierre Krieger 3376332a85 Rework the X implementation to use only one X connection 2015-05-17 19:33:07 +02:00
tomaka 7fe85cbc49 Publish 0.1.4 2015-05-16 17:29:47 +02:00
Victor Berger 02bd3758ee Basic raw keyboard handling. 2015-05-14 21:46:29 +02:00
Victor Berger 40322a2c69 Implement some more functions for wayland.
- set/get_inner_size()
 - set_title
2015-05-13 08:12:09 +02:00
Victor Berger a3921ea88a Continue wayland API: WindowProxy, MonitorID,
and some other little stuff.
2015-05-09 11:12:44 +02:00
tomaka bfa7e091d0 Publish 0.1.3 2015-05-09 07:17:48 +02:00
Pierre Krieger 4086063e40 Use precise version numbers for dependencies 2015-05-08 15:34:56 +02:00
tomaka 28355a66f0 Publish 0.1.2 2015-05-08 08:00:37 +02:00
Daggerbot 68aff5ba0d Using x11_dl instead of x11. 2015-05-07 11:20:25 +00:00
Pierre Krieger 7ee416ab88 Make it work under the raspi 2015-05-07 13:49:33 +02:00
Pierre Krieger 2414f87ceb Make x11 dynamic 2015-05-07 13:14:09 +02:00
tomaka 3e29c6585b Merge pull request #410 from vberger/wayland
(WIP) Wayland backend
2015-05-07 08:57:38 +02:00
tomaka f67802021c Publish 0.1.1 2015-05-07 08:14:44 +02:00
Victor Berger 1e0dd2290e Firsts steps of a wayland backend. 2015-05-06 23:30:45 +02:00
Pierre Krieger fa74d7412b Fix previous commit 2015-05-06 16:58:57 +02:00