platform/core/csapi/opentk.git
7 years agoMerge pull request #571 from UnknownShadow200/develop
Jarl Gullberg [Wed, 12 Jul 2017 13:28:34 +0000 (15:28 +0200)]
Merge pull request #571 from UnknownShadow200/develop

Fix X11 drag-n-drop returning wrong filename, and crashing

7 years agoMerge pull request #567 from Frassle/issue259
Jarl Gullberg [Wed, 12 Jul 2017 13:20:15 +0000 (15:20 +0200)]
Merge pull request #567 from Frassle/issue259

Wait for XEvents when changing window size

7 years agoFix X11 drag-n-drop returning wrong filename, and crashing
UnknownShadow200 [Wed, 12 Jul 2017 07:15:33 +0000 (17:15 +1000)]
Fix X11 drag-n-drop returning wrong filename, and crashing

Wrong filename being returned was due to the filename being URL encoded.
Crashing was due to the offset being past the end of the buffer returned from Marshal.AllocHGlobal.

Fixes #570.

7 years agoMerge pull request #568 from leezer3/JoystickPatch2
Jarl Gullberg [Tue, 11 Jul 2017 11:52:21 +0000 (13:52 +0200)]
Merge pull request #568 from leezer3/JoystickPatch2

Fix: Some joystick hats not returning centered correctly on Windows HID

7 years agoChange: Simplify bounds checking
Christopher Lees [Tue, 11 Jul 2017 11:38:05 +0000 (12:38 +0100)]
Change: Simplify bounds checking

7 years agoNew: Add 4-position hat switches to Windows HID driver
Christopher Lees [Tue, 11 Jul 2017 10:58:04 +0000 (11:58 +0100)]
New: Add 4-position hat switches to Windows HID driver

7 years agoFix: Some joystick hats not returning centered correctly on Windows HID
Christopher Lees [Tue, 11 Jul 2017 10:46:54 +0000 (11:46 +0100)]
Fix: Some joystick hats not returning centered correctly on Windows HID

7 years agoWait for XEvents when changing window size
Fraser Waters [Mon, 10 Jul 2017 15:57:40 +0000 (16:57 +0100)]
Wait for XEvents when changing window size

Fixes #259

Reading from GameWindow.ClientSize after assigning a new value to it
could often return the old value on X systems.
This was due to ClientSize being set by a ConfigureNotify event sent
by the X server that we would sometimes not during the ProcessEvents
started by the ClientSize setter (due to the asynchronous nature or
client/server).

This commit adds a way to wait for a specific event type in
ProcessEvents. Just before calling ProcessEvents in the ClientSize
setter we set the wait type to ConfigureNotify. This should ensure
that ClientSize will not return until we've received the new size of
the window from the X server and updated our internal values for the
size of the window. Thus when ClientSize is then read immediately
after it is always the new size.

It's likely that some of the other property setters we have which call
ProcessEvents need a similar fix.

7 years agoMerge pull request #563 from Nihlus/cleanup-3-auto-property
Jarl Gullberg [Fri, 7 Jul 2017 11:27:53 +0000 (13:27 +0200)]
Merge pull request #563 from Nihlus/cleanup-3-auto-property

Transform compatible properties to auto-properties

7 years agoTransformed compatible properties into auto-properties where possible.
Jarl Gullberg [Fri, 7 Jul 2017 09:51:45 +0000 (11:51 +0200)]
Transformed compatible properties into auto-properties where possible.

7 years agoMerge pull request #562 from leezer3/FileDropString
Fraser Waters [Thu, 6 Jul 2017 21:02:39 +0000 (22:02 +0100)]
Merge pull request #562 from leezer3/FileDropString

Fix file drop string marshalling

7 years agoFix file drop string marshalling
Christopher Lees [Wed, 5 Jul 2017 21:58:40 +0000 (22:58 +0100)]
Fix file drop string marshalling

7 years agoMerge pull request #560 from Nihlus/cleanup-2-tabs-to-spaces
Jarl Gullberg [Wed, 5 Jul 2017 21:07:37 +0000 (23:07 +0200)]
Merge pull request #560 from Nihlus/cleanup-2-tabs-to-spaces

Normalize indentation style

7 years agoReplaced tabs with four spaces across the codebase.
Jarl Gullberg [Wed, 5 Jul 2017 15:45:42 +0000 (17:45 +0200)]
Replaced tabs with four spaces across the codebase.

7 years agoMerge pull request #559 from Nihlus/purge-region
Jarl Gullberg [Wed, 5 Jul 2017 18:22:59 +0000 (20:22 +0200)]
Merge pull request #559 from Nihlus/purge-region

Purge region declarations

7 years agoReplaced tabs with spaces in malformed file.
Jarl Gullberg [Wed, 5 Jul 2017 17:17:25 +0000 (19:17 +0200)]
Replaced tabs with spaces in malformed file.

7 years agoCorrected malformed indendation.
Jarl Gullberg [Wed, 5 Jul 2017 17:16:53 +0000 (19:16 +0200)]
Corrected malformed indendation.

7 years agoRemoved commented region.
Jarl Gullberg [Wed, 5 Jul 2017 12:23:06 +0000 (14:23 +0200)]
Removed commented region.

7 years agoMerge pull request #558 from Nihlus/deterministic-build
Jarl Gullberg [Wed, 5 Jul 2017 12:21:58 +0000 (14:21 +0200)]
Merge pull request #558 from Nihlus/deterministic-build

Enable deterministic builds

7 years agoRemoved region declarations across the codebase.
Jarl Gullberg [Fri, 23 Jun 2017 17:35:32 +0000 (19:35 +0200)]
Removed region declarations across the codebase.

7 years agoRemoved leftover Paket options from merge.
Jarl Gullberg [Wed, 5 Jul 2017 11:52:34 +0000 (13:52 +0200)]
Removed leftover Paket options from merge.

7 years agoAdded deterministic option to all relevant projects.
Jarl Gullberg [Sun, 25 Jun 2017 17:48:14 +0000 (19:48 +0200)]
Added deterministic option to all relevant projects.

7 years agoMerge pull request #543 from VPeruS/fix-mouse-wheel
Jarl Gullberg [Wed, 5 Jul 2017 11:43:38 +0000 (13:43 +0200)]
Merge pull request #543 from VPeruS/fix-mouse-wheel

Fix interop for wheel events(MacOS)

7 years agoMerge pull request #553 from VPeruS/interop-macos-set-position
varon [Tue, 4 Jul 2017 19:42:36 +0000 (21:42 +0200)]
Merge pull request #553 from VPeruS/interop-macos-set-position

Wrong cast for interop when setting mouse position(MacOS)

7 years agoMerge pull request #542 from VPeruS/drag-and-drop
varon [Tue, 4 Jul 2017 19:40:26 +0000 (21:40 +0200)]
Merge pull request #542 from VPeruS/drag-and-drop

Drag and drop support

7 years agoMerge pull request #549 from Nihlus/remove-obsolete-code
varon [Tue, 4 Jul 2017 19:37:15 +0000 (21:37 +0200)]
Merge pull request #549 from Nihlus/remove-obsolete-code

Remove code marked obsolete

7 years agoMerge pull request #524 from Nihlus/glwidget-gtk3
varon [Tue, 4 Jul 2017 19:35:21 +0000 (21:35 +0200)]
Merge pull request #524 from Nihlus/glwidget-gtk3

GTK3 updates for GLWidget

7 years agoMerge pull request #557 from Frassle/parser
varon [Tue, 4 Jul 2017 19:31:53 +0000 (21:31 +0200)]
Merge pull request #557 from Frassle/parser

Two small Parser changes

7 years agoMove Enum/FuncPrefix and TrimName to base Parser object
Fraser Waters [Sun, 2 Jul 2017 22:11:05 +0000 (23:11 +0100)]
Move Enum/FuncPrefix and TrimName to base Parser object

Doesn't seem to be that useful alone but a Vulkan parser is different
enough to OpenGL to need a new Parser object but name trimming is pretty
much the same.

7 years agoRemove unused property Version in Converter
Fraser Waters [Sun, 2 Jul 2017 22:03:34 +0000 (23:03 +0100)]
Remove unused property Version in Converter

The property Version on the Parser class was never used. Removed it and
the command line argument in main that was used to set it.

7 years agoMerge pull request #556 from Frassle/develop
Jarl Gullberg [Sun, 2 Jul 2017 16:54:48 +0000 (18:54 +0200)]
Merge pull request #556 from Frassle/develop

Remove refernce to old Examples.csproj from .sln

7 years agoRemove refernce to old Examples.csproj from .sln
Fraser Waters [Sun, 2 Jul 2017 13:29:22 +0000 (14:29 +0100)]
Remove refernce to old Examples.csproj from .sln

7 years agoCorrected usages of tabs instead of spaces.
Jarl Gullberg [Sun, 25 Jun 2017 11:49:04 +0000 (13:49 +0200)]
Corrected usages of tabs instead of spaces.

7 years agoMerge branch 'develop' into glwidget-gtk3
Jarl Gullberg [Sun, 25 Jun 2017 11:45:05 +0000 (13:45 +0200)]
Merge branch 'develop' into glwidget-gtk3

7 years agoRemoved bundled GLXAttribute enum.
Jarl Gullberg [Sun, 25 Jun 2017 11:44:19 +0000 (13:44 +0200)]
Removed bundled GLXAttribute enum.

7 years agoSet GLXAttribute access to public.
Jarl Gullberg [Sun, 25 Jun 2017 11:44:01 +0000 (13:44 +0200)]
Set GLXAttribute access to public.

7 years agoWrong cast for interop when setting position(MacOS)
VPeruS [Sun, 25 Jun 2017 00:43:48 +0000 (03:43 +0300)]
Wrong cast for interop when setting position(MacOS)

7 years agoRemoved obsolete VSync property.
Jarl Gullberg [Tue, 20 Jun 2017 14:00:48 +0000 (16:00 +0200)]
Removed obsolete VSync property.

7 years agoRemoved obsolete input driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:56:04 +0000 (15:56 +0200)]
Removed obsolete input driver.

7 years agoRemoved obsolete keyboard driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:55:39 +0000 (15:55 +0200)]
Removed obsolete keyboard driver.

7 years agoRemoved obsolete joystick driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:55:21 +0000 (15:55 +0200)]
Removed obsolete joystick driver.

7 years agoRemoved obsolete mouse driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:54:57 +0000 (15:54 +0200)]
Removed obsolete mouse driver.

7 years agoRemoved obsolete functions which accessed the obsolete joystick driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:54:28 +0000 (15:54 +0200)]
Removed obsolete functions which accessed the obsolete joystick driver.

7 years agoRemoved obsolete legacy joystick driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:53:06 +0000 (15:53 +0200)]
Removed obsolete legacy joystick driver.

7 years agoRemoved obsolete legacy input driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:52:16 +0000 (15:52 +0200)]
Removed obsolete legacy input driver.

7 years agoRemoved obsolete screenshot function.
Jarl Gullberg [Tue, 20 Jun 2017 13:49:45 +0000 (15:49 +0200)]
Removed obsolete screenshot function.

7 years agoRemoved obsolete compatibility properties.
Jarl Gullberg [Tue, 20 Jun 2017 13:48:04 +0000 (15:48 +0200)]
Removed obsolete compatibility properties.

7 years agoRemoved obsolete INativeGLWindow class.
Jarl Gullberg [Tue, 20 Jun 2017 13:47:05 +0000 (15:47 +0200)]
Removed obsolete INativeGLWindow class.

7 years agoRemoved obsolete CreateDummyContext functions and added constructor
Jarl Gullberg [Tue, 20 Jun 2017 13:45:49 +0000 (15:45 +0200)]
Removed obsolete CreateDummyContext functions and added constructor
constructor comments which explain how to create a dummy context.

7 years agoRemoved obsolete compatibiliy fields.
Jarl Gullberg [Tue, 20 Jun 2017 13:41:39 +0000 (15:41 +0200)]
Removed obsolete compatibiliy fields.

7 years agoRemoved warning disables.
Jarl Gullberg [Tue, 20 Jun 2017 13:40:56 +0000 (15:40 +0200)]
Removed warning disables.

7 years agoRemoved obsolete compatibility wrapper functions.
Jarl Gullberg [Tue, 20 Jun 2017 13:40:12 +0000 (15:40 +0200)]
Removed obsolete compatibility wrapper functions.

7 years agoRemoved obsolete compatibility function.
Jarl Gullberg [Tue, 20 Jun 2017 13:38:40 +0000 (15:38 +0200)]
Removed obsolete compatibility function.

7 years agoRemoved obsolete Matrix functions.
Jarl Gullberg [Tue, 20 Jun 2017 13:22:51 +0000 (15:22 +0200)]
Removed obsolete Matrix functions.

7 years agoRemoved obsolete function accessor.
Jarl Gullberg [Tue, 20 Jun 2017 13:21:18 +0000 (15:21 +0200)]
Removed obsolete function accessor.

7 years agoRemoved CreateGraphicsContext helper wrapper.
Jarl Gullberg [Tue, 20 Jun 2017 13:19:44 +0000 (15:19 +0200)]
Removed CreateGraphicsContext helper wrapper.

7 years agoRemoved obsolete Mult functions and renamed region.
Jarl Gullberg [Tue, 20 Jun 2017 13:19:14 +0000 (15:19 +0200)]
Removed obsolete Mult functions and renamed region.

7 years agoRemoved obsolete property.
Jarl Gullberg [Tue, 20 Jun 2017 13:18:51 +0000 (15:18 +0200)]
Removed obsolete property.

7 years agoRemoved obsolete multiplication functions and renamed region.
Jarl Gullberg [Tue, 20 Jun 2017 13:18:27 +0000 (15:18 +0200)]
Removed obsolete multiplication functions and renamed region.

7 years agoRemoved obsolete property.
Jarl Gullberg [Tue, 20 Jun 2017 13:17:32 +0000 (15:17 +0200)]
Removed obsolete property.

7 years agoRemoved obsolete methods from vector classes.
Jarl Gullberg [Tue, 20 Jun 2017 13:16:47 +0000 (15:16 +0200)]
Removed obsolete methods from vector classes.

7 years agoRemoved obsolete constructors from Vector2.
Jarl Gullberg [Tue, 20 Jun 2017 13:12:23 +0000 (15:12 +0200)]
Removed obsolete constructors from Vector2.

7 years agoRemoved obsolete mathematics class.
Jarl Gullberg [Tue, 20 Jun 2017 13:11:59 +0000 (15:11 +0200)]
Removed obsolete mathematics class.

7 years agoRemoved obsolete property.
Jarl Gullberg [Tue, 20 Jun 2017 13:10:02 +0000 (15:10 +0200)]
Removed obsolete property.

7 years agoRemoved obsolete constructor.
Jarl Gullberg [Tue, 20 Jun 2017 13:09:01 +0000 (15:09 +0200)]
Removed obsolete constructor.

7 years agoRemoved unused and obsolete fields.
Jarl Gullberg [Tue, 20 Jun 2017 13:08:34 +0000 (15:08 +0200)]
Removed unused and obsolete fields.

7 years agoRemoved obsolete SetWindowAttributes structure.
Jarl Gullberg [Tue, 20 Jun 2017 13:07:24 +0000 (15:07 +0200)]
Removed obsolete SetWindowAttributes structure.

7 years agoRemoved obsolete and unused function.
Jarl Gullberg [Tue, 20 Jun 2017 13:06:08 +0000 (15:06 +0200)]
Removed obsolete and unused function.

7 years agoMerge pull request #547 from Nihlus/expand-gitignore
Jarl Gullberg [Thu, 22 Jun 2017 16:27:39 +0000 (18:27 +0200)]
Merge pull request #547 from Nihlus/expand-gitignore

Expand .gitignore

7 years agoTurn comments into XML docs. Change NSDragOperation visibility
Vlad K [Wed, 21 Jun 2017 20:08:34 +0000 (23:08 +0300)]
Turn comments into XML docs. Change NSDragOperation visibility

7 years agoCode sanity
Vlad K [Wed, 21 Jun 2017 19:10:11 +0000 (22:10 +0300)]
Code sanity

7 years agoDelete region keyword
Vlad K [Wed, 21 Jun 2017 19:07:32 +0000 (22:07 +0300)]
Delete region keyword

7 years agoReindented with spaces instead of tabs.
Jarl Gullberg [Wed, 21 Jun 2017 16:28:36 +0000 (18:28 +0200)]
Reindented with spaces instead of tabs.

7 years agoRider is handled by the JetBrains section.
Jarl Gullberg [Sun, 18 Jun 2017 15:43:21 +0000 (17:43 +0200)]
Rider is handled by the JetBrains section.

7 years agoUpdated .gitignore.
Jarl Gullberg [Sun, 18 Jun 2017 15:40:58 +0000 (17:40 +0200)]
Updated .gitignore.

7 years agoAnsi to Auto
Vlad K [Sun, 18 Jun 2017 21:20:07 +0000 (00:20 +0300)]
Ansi to Auto

7 years agoSome docs
Vlad K [Sun, 18 Jun 2017 21:19:11 +0000 (00:19 +0300)]
Some docs

7 years agoSDL2 rewrite c string to c# shtring + some docs
Vlad K [Sun, 18 Jun 2017 20:44:47 +0000 (23:44 +0300)]
SDL2 rewrite c string to c# shtring + some docs

7 years agoRemoved license headers.
Jarl Gullberg [Sun, 18 Jun 2017 20:09:20 +0000 (22:09 +0200)]
Removed license headers.

7 years agoRename Drop event, remove licenses
Vlad K [Sun, 18 Jun 2017 19:37:16 +0000 (22:37 +0300)]
Rename Drop event, remove licenses

7 years agoRemoved duplicate structures, and set to use already existing ones.
Jarl Gullberg [Sun, 18 Jun 2017 19:17:00 +0000 (21:17 +0200)]
Removed duplicate structures, and set to use already existing ones.

7 years agoSet XVisualInfo to public.
Jarl Gullberg [Sun, 18 Jun 2017 19:16:21 +0000 (21:16 +0200)]
Set XVisualInfo to public.

7 years agoMerge pull request #541 from varon/malcomstill-pr-471v2
Jarl Gullberg [Sun, 18 Jun 2017 15:16:03 +0000 (17:16 +0200)]
Merge pull request #541 from varon/malcomstill-pr-471v2

Updated Linux/KMS platform to work with recent versions of libinput / Fix for Linux/KMS rendering glitches

7 years agoFix interop for wheel events
VPeruS [Sat, 17 Jun 2017 14:30:01 +0000 (17:30 +0300)]
Fix interop for wheel events

7 years agoMerge pull request #540 from VPeruS/macx64-cursor-fix
varon [Fri, 16 Jun 2017 19:46:27 +0000 (21:46 +0200)]
Merge pull request #540 from VPeruS/macx64-cursor-fix

Macx64 cursor fix

7 years agoFix wrong path
Vlad K [Fri, 16 Jun 2017 19:38:40 +0000 (22:38 +0300)]
Fix wrong path

7 years agoMacOS d&d support
Vlad K [Wed, 7 Jun 2017 14:56:46 +0000 (17:56 +0300)]
MacOS d&d support

7 years agoAdd Xdnd support
Vlad K [Mon, 22 May 2017 14:07:31 +0000 (17:07 +0300)]
Add Xdnd support

7 years agoInitial d&d x11 event support
Vlad K [Tue, 16 May 2017 21:03:03 +0000 (00:03 +0300)]
Initial d&d x11 event support

7 years agoClean up
Vlad K [Tue, 9 May 2017 10:11:39 +0000 (13:11 +0300)]
Clean up

7 years agoAdded Windows D&D support
Vlad K [Tue, 9 May 2017 02:23:22 +0000 (05:23 +0300)]
Added Windows D&D support

7 years agoFix of memory leak
Vlad K [Tue, 9 May 2017 02:36:54 +0000 (05:36 +0300)]
Fix of memory leak

7 years agoAdd initial d&d support for GameWindow. Add SDL2 d&d support
Vlad K [Thu, 4 May 2017 20:03:50 +0000 (23:03 +0300)]
Add initial d&d support for GameWindow. Add SDL2 d&d support

7 years agoMerge branch 'develop' of github.com:malcolmstill/opentk into develop
Malcolm Still [Tue, 13 Jun 2017 22:30:43 +0000 (17:30 -0500)]
Merge branch 'develop' of github.com:malcolmstill/opentk into develop

7 years agoAdd requsted changes
VPeruS [Tue, 13 Jun 2017 21:56:42 +0000 (00:56 +0300)]
Add requsted changes

7 years agoRemove Fixed24 struct
Malcolm Still [Tue, 13 Jun 2017 21:19:50 +0000 (16:19 -0500)]
Remove Fixed24 struct

7 years agoRemove DRM cursor on Dispose.
Malcolm Still [Thu, 12 Jan 2017 16:58:48 +0000 (16:58 +0000)]
Remove DRM cursor on Dispose.

7 years agoMoving the LockSurface after waiting for the page flip stops the rendering glitches...
Malcolm Still [Wed, 11 Jan 2017 21:30:33 +0000 (21:30 +0000)]
Moving the LockSurface after waiting for the page flip stops the rendering glitches on Linux/KMS.

7 years agoSome casts required in the absolute motion handler now that the query functions retur...
Malcolm Still [Fri, 6 Jan 2017 15:40:18 +0000 (15:40 +0000)]
Some casts required in the absolute motion handler now that the query functions return doubles.

7 years agoMistake in change. The Debug.Print statement should not be there.
Malcolm Still [Fri, 6 Jan 2017 15:37:14 +0000 (15:37 +0000)]
Mistake in change. The Debug.Print statement should not be there.