Commit graph

6518 commits

Author SHA1 Message Date
Matthias 256bf73c39 Added RightHandedTransform 2016-02-20 15:00:21 +02:00
Matthias 75d7e9c718 Swapped order of parameters for Vec Mat multiplication operator 2016-02-20 14:34:59 +02:00
Matthias 33d4731718 Merge remote-tracking branch 'upstream/develop' into develop 2016-02-20 13:44:23 +02:00
William Deich afdf46814a Merge pull request #345 from cra0zy/linuximp
[Linux X11] Fix incorrect window state if it was set while the window was invisible
2016-02-19 14:09:06 -05:00
cra0zy b944d92754 [Linux X11] Fix incorrect window state if it was set while the window was invisible 2016-02-19 18:06:09 +01:00
Harry 933701f062 Merge pull request #335 from mrhelmut/HIDFix
Fix for multiple HID driver issues
2016-02-19 12:24:14 +01:00
Harry 5e7da64b9d Merge pull request #343 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2016-02-18 11:57:59 +01:00
The Gitter Badger 470be54933 Add Gitter badge 2016-02-18 10:51:10 +00:00
William Deich 35e117108c Merge pull request #320 from cra0zy/otkwidget
GLWidget for Gtk 2 and 3
2016-02-16 14:17:28 -05:00
cra0zy bbbeb98438 Remove notice of leave 2016-02-16 18:00:42 +01:00
Fraser Waters 2e51fe0197 Notice of leave 2016-01-18 19:17:31 +00:00
Thomas Altenburger b29bc2f534 Fixes keyboard being recognized as 2 HID devices 2016-01-08 13:16:38 +01:00
Thomas Altenburger 8488bb6229 Fix HID WinRaw driver to handle PS4 controller 2016-01-08 11:43:39 +01:00
Thomas Altenburger 32b0c8e985 Fix PS4 controller mapping on Windows 2016-01-08 11:43:05 +01:00
Thomas Altenburger d0efd76edf Invert Y axis on all GamePad 2016-01-08 09:13:26 +01:00
Matthias 66cd883fb4 Multiplication operator for Matrix-Vector transformation and Quaternion-Vector transformations 2016-01-04 12:34:02 +02:00
Fraser Waters 6ac1c63ff3 Merge pull request #328 from WardBenjamin/develop
Fix documentation for NativeWindow.Width
2016-01-02 23:28:34 +00:00
Benjamin Ward 55bd342417 Fix documentation for NativeWindow.WindowBorder 2016-01-02 12:04:14 -05:00
Benjamin Ward a87b79fca2 Fix documentation for NativeWindow.WindowState 2016-01-02 12:00:01 -05:00
Benjamin Ward 22222b003a Fix documentation for NativeWindow.Width 2016-01-02 11:40:16 -05:00
Fraser Waters f0de8333a6 Merge pull request #199 from Frassle/anydown
[Input] Add IsAnyKey/ButtonDown to Keyboard/MouseState.
2015-12-28 00:16:37 +00:00
Fraser Waters bbd3146037 Merge pull request #326 from neonsoup/dll_mdb
Rewrite program file name confusion: .mdb vs .dll.mdb
2015-12-28 00:15:37 +00:00
neonsoup e270c6f494 Rewrite .mdb file name fix
-Fixed Generator.Rewrite program mistake because of which it was looking for
 "filename.mdb" file instead of "filename.dll.mdb"
2015-12-28 00:40:51 +04:00
Fraser Waters a1ff0d949f Merge pull request #319 from cra0zy/joyid
Make joystick ID public
2015-12-06 14:23:46 +00:00
cra0zy 306b9ff936 Make joystick ID public 2015-12-06 13:43:46 +01:00
Fraser Waters 24173881bb Merge pull request #318 from leezer3/leezer3
Fix: KP_ENTER key missing from SDL2 keymap.
2015-12-06 12:36:08 +00:00
leezer3 b0dbb7de7f Align whitespace for SDL2 KeypadEnter fix.... 2015-12-05 23:54:42 +00:00
cra0zy 1af25f540c GLWidget for Gtk 2 and 3 2015-12-05 23:46:24 +01:00
leezer3 a2ece2c9fb Fix: KP_ENTER key missing from SDL2 keymap. 2015-12-04 23:49:15 +00:00
Fraser Waters bf74b7ea15 Merge pull request #314 from leezer3/leezer3-a
Fix: Insert key not working on Linux, due to typo in X11KeyMap.cs
2015-11-15 07:10:46 +00:00
leezer3 df690c6f7b Fix: Insert key not working on Linux, due to typo in X11KeyMap.cs 2015-11-14 22:23:40 +00:00
Fraser Waters 2683b9298f Merge pull request #306 from PowerOfCode/fix-nsis-config
Fix build configuration "Nsis"
2015-11-07 14:05:50 +00:00
Benjamin Klettbach feae3791fe Fix build configuration "Nsis"
- Generator.Rewrite can be build with Nsis
- OpenTK project can be build with Nsis and is getting rewritten with
  Rewrite.exe
2015-10-26 14:33:18 +01:00
Fraser Waters 833c6eac6d Merge pull request #304 from Frassle/travis
[travis] Remove mono 3.2.8 and 2.10.8 builds
2015-10-18 13:57:42 +01:00
Fraser Waters bfba2ba156 [travis] Remove mono 3.2.8 and 2.10.8 builds
Old versions of mono on travis didn't have nuget support that we now use to
fetch Mono.Cecil.
2015-10-18 13:32:35 +01:00
Fraser Waters 0013b91f65 Merge pull request #302 from Frassle/mouse
[Win32] Fix spurious mouse enter and leave messages
2015-10-17 23:24:33 +01:00
Fraser Waters a1cc67c70e [Win32] Fix spurious mouse enter and leave messages
Mouse tracking and mouse capture didn't work well together. Mouse capture was
also buggy in that it could release capture prematurely.

Mouse capture is now counted and tracked better, multiple requests to set
capture will only call SetCapture once. ReleaseCapture will only be called once
the same number of releases have been made as sets.
MW_MOUSELEAVE messages are now ignored if the mouse is captured.
Mouse tracking is renabled when mouse capture is released.
While the mouse is captured enter and leave events are genereated based on
tracking of the mouse inside MouseMove.

Fixes #301
2015-10-17 17:00:41 +01:00
Fraser Waters 616ac5a017 [GL] Add overloads for ProgramUniform
Fixes #293
2015-10-11 17:55:36 +01:00
Fraser Waters a3a3f31ca0 [Bind] Replace copies of cecil with nuget links
Use nuget to get cecil rather than storing the binaries in the repo.

Fixes #284
2015-10-11 15:11:04 +01:00
Fraser Waters 13f79437d5 [Bind] Declare key file is only read
Partly fixes #284
2015-10-01 12:19:21 +01:00
Fraser Waters 92a45d5f90 Merge pull request #295 from BikingGlobetrotter/develop
[GLControl] Destroy context after OnHandleDestroyed to allow cleanup
2015-09-07 12:31:12 +01:00
unknown f145745b25 Destroy context after OnHandleDestroyed to allow cleanup 2015-09-07 13:07:59 +02:00
Fraser Waters 339f184013 Merge pull request #292 from Frassle/cursorgrab
[X11] Fix CursorVisible
2015-08-28 19:01:56 +01:00
Fraser Waters d1654d70d5 [X11] Fix CursorVisible
Change X11 CursorVisible to only execute if a change is actually needed,
that is if we're going from visible to not visible or vice versa.

Fixes #281
2015-08-21 23:58:00 +01:00
Fraser Waters 99ff3d287c Revert changes to VS project version 2015-08-21 23:22:12 +01:00
Fraser Waters 71c9ff282b Merge pull request #262 from infinitespace-studios/develop
Fixed MINIMAL compilation
2015-08-20 21:17:53 +01:00
Dean Ellis 69e2f36725 Removed NO_SYSDRAWING in favour of just MINUMAL
Reverted changes to GLControl.cs
Updated sln to not build OpenTK.GLControl in MINIMAL mode
2015-08-12 11:56:12 +01:00
Dean Ellis c7e86d467b Fixed MINIMAL and NO_SYSDRAWING compilation 2015-08-12 11:53:20 +01:00
Fraser Waters 3026154989 Merge pull request #289 from Frassle/leak
[Win32] Fix leaks in Win32 Cursor property
2015-08-10 22:01:42 +01:00
Fraser Waters 33c06d4b35 [Win32] Fix leaks in Win32 Cursor property
GetIconInfo
(https://msdn.microsoft.com/en-us/library/windows/desktop/ms648070(v=vs.85).aspx)
creates bitmaps that must be deleted after the call to
CreateIconIndirect, which copies the bitmaps to the icon it creates.

bmpIcon created by Bitmap.GetHicon is now destroyed after being used.

The return value of SetCursor was used to retrieve the last cursor, as
it could have been set by another library (Some UI libraries change the
cursor using the .net Cursor) this could of leaked the cursor we created
and now lost track of. We now delete the handle we had set, not the one
returned by SetCursor.
2015-08-10 21:57:05 +01:00