Commit graph

1462 commits

Author SHA1 Message Date
Tomaka17 49e3fbdd71 Win32: use platform-specific iterators instead 2015-02-10 08:27:52 +01:00
tomaka 9884908240 Merge pull request #261 from glennw/fix-osx-mouse-wheel
Make the mouse wheel events match natural direction on osx.
2015-02-10 08:20:05 +01:00
Glenn Watson 25fa4dfef6 Make the mouse wheel events match natural direction on osx. 2015-02-10 12:22:17 +10:00
tomaka 98345b701f Merge pull request #258 from ozkriff/android_color_and_depth_bits
android: Implemented color_bits and depth_bits
2015-02-08 08:03:26 +01:00
Andrey Lesnikov 81dbaea29e android: Implemented color_bits and depth_bits 2015-02-08 02:32:29 +03:00
tomaka cef64c3a8e Merge pull request #255 from tomaka/update
Update with libc change
2015-02-06 09:31:57 +01:00
Pierre Krieger 28955c69d0 Update with libc change 2015-02-06 09:21:55 +01:00
tomaka 6b52bf95a4 Merge pull request #254 from aepsil0n/mousebutton-renaming
Rename enum variants of MouseButton
2015-02-05 18:37:53 +01:00
tomaka a6a43dbe65 Merge pull request #252 from Manishearth/linux-keys
Add some more support for X11 keys (partially fixes #251)
2015-02-05 18:37:21 +01:00
Manish Goregaokar 256645cc3c Add some more support for X11 keys (partially fixes #251) 2015-02-05 22:28:54 +05:30
Eduard Bopp b2367fe2e6 Rename enum variants of MouseButton
With enums that are namespaced by default, it seems reasonable to be less
redundant in the variant naming here.
2015-02-05 16:52:53 +01:00
tomaka a3cd89c2dc Merge pull request #253 from tomaka/update
Fix "fullscreen" example with latest rustc
2015-02-05 09:33:46 +01:00
Pierre Krieger 106ca8a30a Fix "fullscreen" example with latest rustc 2015-02-05 09:20:12 +01:00
tomaka 03e9d78b3a Merge pull request #250 from bjz/osx-window
Add tempory fix for #248
2015-02-03 12:31:55 +01:00
Brendan Zabarauskas 4632e83156 Add tempory fix for #248 2015-02-03 22:17:59 +11:00
tomaka 7ced7cb674 Merge pull request #247 from akiss77/pr-xerrorevent
Reorder the fields of `XErrorEvent` to match the struct layout found in recent Xlib.h
2015-02-02 08:51:21 +01:00
Akos Kiss e4469cfce7 Reorder the fields of XErrorEvent to match the struct layout found in recent Xlib.h
Fixes #244
2015-02-01 22:08:34 +00:00
tomaka be092183a6 Merge pull request #241 from tomaka/add-webgl
Add WebGL in the APIs list
2015-01-30 21:07:20 +01:00
tomaka 8615aa5aa5 Merge pull request #243 from bjz/osx-window
Fix OSX build
2015-01-30 12:56:29 +01:00
Brendan Zabarauskas 9b530cdf40 Fix OSX build 2015-01-30 22:14:49 +11:00
tomaka 26c0c966d5 Merge pull request #239 from glennw/fix-close-crash
Fix crash on close in some X11 drivers
2015-01-29 22:47:15 +01:00
Glenn Watson 1b73aeaa24 On some X11 driver implementations, calling XCloseDisplay from a different thread
causes memory corruption, resulting in a crash. Change window proxy to be a weak
reference so that the XCloseDisplay is always called from the main window.
2015-01-30 07:11:55 +10:00
Pierre Krieger 48ab960176 Add WebGL in the APIs list 2015-01-29 18:36:03 +01:00
tomaka 5611a32513 Merge pull request #238 from andrewrk/master
fix for rust nightly
2015-01-29 01:17:09 +01:00
Andrew Kelley 6a27fa9d26 fix for rust nightly 2015-01-28 12:43:44 -07:00
tomaka 1a9cf9bc5c Merge pull request #231 from bjz/osx-window
Implement some more Cocoa stuff
2015-01-26 10:55:35 +01:00
tomaka 9705606a20 Merge pull request #230 from retep998/update-winapi
Upgrade to latest winapi
2015-01-26 07:34:07 +01:00
Brendan Zabarauskas 73078e0569 Rename osx->cocoa 2015-01-26 14:28:12 +11:00
Brendan Zabarauskas 44c21c4bbb Implement some more osx stuff 2015-01-26 14:22:50 +11:00
Peter Atashian 33cd252f99 Upgrade to latest winapi
Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-01-25 21:52:17 -05:00
Brendan Zabarauskas df5fe355df Merge pull request #229 from bjz/osxup
{true, false}->{YES, NO}
2015-01-26 11:04:38 +11:00
Brendan Zabarauskas 6b31fe9b1c {true, false}->{YES, NO} 2015-01-26 10:59:40 +11:00
tomaka f8c66ff2a9 Merge pull request #220 from tomaka/x11-vsync
Implement vsync for x11 and add vsync example
2015-01-25 12:56:15 +01:00
tomaka a2e03e7c15 Merge pull request #221 from tomaka/fix-rc
Fix race condition with XOpenIM
2015-01-25 12:55:58 +01:00
tomaka aa92625064 Merge pull request #224 from andrewrk/fix-error-trait
fix for latest rustc
2015-01-24 07:57:01 +01:00
Andrew Kelley 02a57e0422 fix for latest rustc 2015-01-23 19:18:22 -07:00
tomaka bd3d7513f8 Merge pull request #223 from Ms2ger/CString
Fix a use-after-free in Android get_proc_address.
2015-01-23 22:02:08 +01:00
Ms2ger 8005b012ce Fix a use-after-free in Android get_proc_address. 2015-01-23 19:24:42 +01:00
Pierre Krieger 56c6afd03c Fix race condition with XOpenIM 2015-01-23 11:10:23 +01:00
tomaka 36538b5634 Merge pull request #219 from bjwbell/remove-deadcode-warning
Remove deadcode warning in BuilderAttribs
2015-01-23 09:40:41 +01:00
Pierre Krieger b05ef16d81 Implement vsync for x11 and add vsync example 2015-01-23 09:33:22 +01:00
tomaka 60ec8542ab Merge pull request #218 from bjwbell/disable-unstable-warnings
Disable compiler unstable warnings
2015-01-23 09:29:21 +01:00
Bryan Bell 3e06c1c0e2 Remove deadcode warning in BuilderAttribs
In src/lib.rs remove the deadcode warning about the 'headless' builder
attribute. Headless is /actually/ set to false or true depending on if
HeadlessRendererBuilder is used.
2015-01-23 00:15:18 -08:00
Bryan Bell 6ea483dc78 Disable compiler unstable warnings
To cleanup the compiler output when building, disable
warnings about using unstable crates/features.
2015-01-22 23:40:17 -08:00
tomaka 1d6b863cd4 Merge pull request #217 from glennw/context-fallback
Some GPU/driver combinations have glxCreateContextAttribsARB present, bu...
2015-01-22 21:37:07 +01:00
Glenn Watson de3f354566 Fix log prefix 2015-01-23 06:01:22 +10:00
Brendan Zabarauskas 13be9b2598 Merge pull request #216 from jdm/osx
Fix OS X build.
2015-01-22 15:53:12 +11:00
Glenn Watson 19475f8521 Some GPU/driver combinations have glxCreateContextAttribsARB present, but it fails with an X error. In this case, catch the X error and fall back to the old method of creating a context. 2015-01-22 12:07:31 +10:00
Josh Matthews e12e4bf38f Fix OS X build. 2015-01-21 10:58:08 -05:00
tomaka 862baf8220 Merge pull request #215 from akiss77/pr-u8-c_char-upstream
`c_char` isn't always `i8`
2015-01-20 23:04:39 +01:00