Commit graph

2409 commits

Author SHA1 Message Date
Felix Kaaman bbaa129842 Add transparency support for cocoa. Closes #472 2015-06-16 11:29:17 +02:00
tomaka eb73c2514e Merge pull request #485 from fkaa/cocoa-crash-and-burn
Make legacy functions crash on osx core contexts
2015-06-16 11:03:23 +02:00
Pierre Krieger f6c26ec593 Handle errors from MakeCurrent and SwapBuffers 2015-06-16 10:44:44 +02:00
Felix Kaaman a8fef35dbf Make legacy functions crash on osx core contexts 2015-06-16 09:00:02 +02:00
tomaka e48c853b9c Merge pull request #484 from pinumbernumber/master
Implement transparency for X11
2015-06-16 08:52:29 +02:00
tomaka 5e8271dad0 Merge pull request #483 from robertknight/rob-precise_scroll_deltas
Specify scroll deltas as either line or pixel-based
2015-06-16 08:52:25 +02:00
Robert Knight b2c2f300dc Correct MouseWheel doc comment.
Remove incomplete sentence and obsolete comment
about the meaning of the parameter.
2015-06-15 23:57:07 +01:00
pinumbernumber da4bcad6e3 Implement transparency for X11 2015-06-14 22:20:32 +01:00
Robert Knight 5b08220df5 Report scroll deltas in lines for non-touch devices on OS X
Scroll deltas on OS X may be reported either as pixel deltas
to scroll by if supported by the device or line/row deltas
otherwise.
2015-06-14 18:09:02 +01:00
Robert Knight 5e626b7fdf Correct typo in MouseScrollDelta docs 2015-06-13 23:22:51 +01:00
Robert Knight f0bab95c4d Express scroll deltas as either line or pixel deltas
Depending on the platform and device, scroll deltas may either
be represented as pixel deltas specifying the amount
in pixels to scroll or they may be expressed in 'lines' or 'chunks'
for low resolution devices (eg. a traditional mouse wheel).

Pixel deltas are currently available on OS X. X11 currently
supports only integer line deltas, though pixel deltas
are available via XInput2. Windows supports fractional
line deltas.
2015-06-13 23:19:31 +01:00
tomaka a0e29d9410 Merge pull request #480 from tomaka/leaking-colormap
Fix leaking color map and destruction of IM
2015-06-09 20:44:23 +02:00
tomaka af725563d1 Merge pull request #482 from frewsxcv/patch-2
Alphabetize crate declarations
2015-06-09 15:32:19 +02:00
Corey Farwell 3222ec2b34 Alphabetize crate declarations 2015-06-09 06:14:47 -07:00
Evgeny Rozaliev 7053837ac1 [add] content scale 2015-06-08 12:26:42 +03:00
Pierre Krieger 30c525a5b1 Fix leaking color map and destruction of IM 2015-06-05 16:03:07 +02:00
Evgeny Rozaliev 84703027d6 [add] ios support 2015-06-05 16:38:35 +03:00
tomaka 76e7a90752 Merge pull request #479 from metajack/official-crates
Switch to the official crates.
2015-06-04 08:02:57 +02: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
tomaka 70c88cf18f Merge pull request #475 from fkaa/cocoa-glcap
Add OS version detection on cocoa for selecting latest gl version. Fixes #470
2015-05-26 16:12:12 +02:00
tomaka a2507b6876 Merge pull request #476 from aepsil0n/x11-cursor-grab-fix
Fix set_cursor_state on X11
2015-05-26 16:11:43 +02:00
Eduard Bopp 267b2c027a Fix set_cursor_state on X11
When the state is not changed, no code must be executed. Such no-ops previously
hit the unimplemented cursor hiding.
2015-05-25 21:01:39 +02:00
Felix Kaaman f74f0b52a3 Add OS version detection on cocoa for selecting latest gl version. Fixes #470 2015-05-24 17:37:41 +02:00
tomaka d089ea8674 Merge pull request #453 from tomaka/transparency
Add API for transparency and decorations and add support for win32
2015-05-24 13:09:22 +02:00
Pierre Krieger 9117bcf3d3 Switch to dwmapi 2015-05-24 09:10:45 +02:00
Pierre Krieger 81314f91d8 Add API for transparency and decorations and add support for win32 2015-05-24 09:10:44 +02:00
tomaka 1377f276b7 Merge pull request #469 from fkaa/cocoa-vsync
Fix vsync not being disabled by default in cocoa
2015-05-23 19:25:56 +02:00
Felix Kaaman e1ab181cdb Fix vsync not being disabled by default in cocoa 2015-05-23 18:35:47 +02:00
tomaka c2acd0360c Merge pull request #464 from tomaka/wgl-adjustements
Several WGL cleanups
2015-05-22 12:43:18 +02:00
Pierre Krieger ead31e3ef8 Several WGL cleanups 2015-05-22 11:54:28 +02:00
tomaka e5f888e19a Merge pull request #460 from tomaka/fix-compilation-32bits
Fix the compilation on 32bits linux
2015-05-21 21:37:19 +02:00
Pierre Krieger 9c21899249 Fix the compilation on 32bits linux 2015-05-21 21:31:41 +02: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
tomaka a05ae6ba97 Publish 0.1.5 2015-05-21 19:38:06 +02:00
tomaka 4824333453 Merge pull request #459 from tomaka/win32-egl-2
Allow creating EGL contexts on win32 with the AMD DLLs
2015-05-21 19:37:10 +02:00
Pierre Krieger 01ecd24fe2 Allow creating EGL contexts on win32 with the AMD DLLs 2015-05-21 18:59:30 +02:00
tomaka e606281862 Merge pull request #458 from tomaka/detach-wgl
Detach wgl and win32
2015-05-21 18:15:20 +02:00
Pierre Krieger ea17038ac2 Detach wgl and win32 2015-05-21 16:47:19 +02:00
tomaka b72ac990e6 Merge pull request #457 from tomaka/appveyor
Update the appveyor file for 64bits builds
2015-05-20 09:12:54 +02:00
Pierre Krieger 214c4253e4 Update the appveyor file for 64bits builds 2015-05-20 06:52:50 +02:00
tomaka cbb0579191 Merge pull request #456 from aweinstock314/numlock-fix
Fix handling of numpad keys w.r.t. numlock (derived from fix mentione…
2015-05-19 10:04:41 +02:00
Avi Weinstock 966c2f2e54 fixup! Fix handling of numpad keys w.r.t. numlock (derived from fix mentioned at http://www.kaffe.org/pipermail/kaffe/2000-April/175201.html). 2015-05-18 13:02:23 -04:00
Avi Weinstock b6a63ad11f Fix handling of numpad keys w.r.t. numlock (derived from fix mentioned at http://www.kaffe.org/pipermail/kaffe/2000-April/175201.html).
Conflicts:
	src/api/x11/window.rs
2015-05-18 12:55:59 -04:00
tomaka ff829f7d9d Merge pull request #455 from tomaka/x-rework
Rework the X implementation to use only one X connection
2015-05-18 09:42:28 +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
tomaka 476d91c9d8 Merge pull request #454 from tomaka/opengl-3
Fix GLX creating only 3.0 contexts
2015-05-16 17:29:05 +02:00
Pierre Krieger 848f6cd2a7 Fix GLX creating only 3.0 contexts 2015-05-16 11:37:58 +02:00
tomaka 129df983ce Merge pull request #452 from vberger/wayland
Implement Keyboard support for the wayland backend
2015-05-15 14:50:46 +02:00