platform/core/csapi/opentk.git
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 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 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 agoRemoved license headers.
Jarl Gullberg [Sun, 18 Jun 2017 20:09:20 +0000 (22:09 +0200)]
Removed license headers.

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 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 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.

7 years agoRelative pointer motion should use the relative (Delta) query functions.
Malcolm Still [Fri, 6 Jan 2017 15:34:11 +0000 (15:34 +0000)]
Relative pointer motion should use the relative (Delta) query functions.

7 years agoUse new axis querying functions to update mouse scroll state.
Malcolm Still [Fri, 6 Jan 2017 15:31:58 +0000 (15:31 +0000)]
Use new axis querying functions to update mouse scroll state.

7 years agoUse new Libinput.CreateContext and Libinput.AssignSeat functions in Setup().
Malcolm Still [Fri, 6 Jan 2017 15:30:08 +0000 (15:30 +0000)]
Use new Libinput.CreateContext and Libinput.AssignSeat functions in Setup().

7 years agoRemoved @ symbol from IntPtr name
Malcolm Still [Fri, 6 Jan 2017 15:17:52 +0000 (15:17 +0000)]
Removed @ symbol from IntPtr name

7 years agoPointer coordinate query functions now return doubles.
Malcolm Still [Fri, 6 Jan 2017 15:15:45 +0000 (15:15 +0000)]
Pointer coordinate query functions now return doubles.

7 years agolibinput v0.8 removed libinput_event_pointer_get_axis and replace with libinput_event...
Malcolm Still [Fri, 6 Jan 2017 15:13:37 +0000 (15:13 +0000)]
libinput v0.8 removed libinput_event_pointer_get_axis and replace with libinput_event_pointer_has_axis and libinput_event_pointer_get_axis_value now takes a specified PointerAxis

7 years agolibinput v0.4 removed libinput_udev_create_for_seat and replaced with two functions...
Malcolm Still [Fri, 6 Jan 2017 15:06:10 +0000 (15:06 +0000)]
libinput v0.4 removed libinput_udev_create_for_seat and replaced with two functions libinput_udev_create_context and libinput_udev_assign_seat to separately create a context and assign it a seat name.

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

7 years agoRootWindow is now accessed through GDK.Screen instead. It is deprecated in GTK3.
Jarl Gullberg [Tue, 13 Jun 2017 21:06:39 +0000 (23:06 +0200)]
RootWindow is now accessed through GDK.Screen instead. It is deprecated in GTK3.

7 years agoAdded more method and class comments.
Jarl Gullberg [Tue, 13 Jun 2017 20:49:49 +0000 (22:49 +0200)]
Added more method and class comments.

7 years agoCorrect usage of variable name under GTK2.
Jarl Gullberg [Tue, 13 Jun 2017 20:46:28 +0000 (22:46 +0200)]
Correct usage of variable name under GTK2.

7 years agoGdkWindow is deprecated in GTK3. Splitting out into two accessors.
Jarl Gullberg [Tue, 13 Jun 2017 20:45:10 +0000 (22:45 +0200)]
GdkWindow is deprecated in GTK3. Splitting out into two accessors.

7 years agoSplit the different Destroy and Dispose signatures.
Jarl Gullberg [Tue, 13 Jun 2017 20:42:52 +0000 (22:42 +0200)]
Split the different Destroy and Dispose signatures.

7 years agoRevert "Removed redundant field initializers."
Jarl Gullberg [Tue, 13 Jun 2017 20:34:32 +0000 (22:34 +0200)]
Revert "Removed redundant field initializers."

This reverts commit 5abcfedf1116ce1d465b9f438febee519e602e13.

7 years agoRevert "Introduced optional parameters for GLWidget constructor, removing a redundant...
Jarl Gullberg [Tue, 13 Jun 2017 20:34:29 +0000 (22:34 +0200)]
Revert "Introduced optional parameters for GLWidget constructor, removing a redundant constructor."

This reverts commit 1634a652c2638669d1c725b13fdab782dcd96470.

7 years agoRevert "Converted GraphicsContextFlags into an auto-property."
Jarl Gullberg [Tue, 13 Jun 2017 20:34:26 +0000 (22:34 +0200)]
Revert "Converted GraphicsContextFlags into an auto-property."

This reverts commit be037bbdb0b61bd434ed5a7ab85a5261486063fd.

7 years agoRevert "Added ReSharper warning suppressions."
Jarl Gullberg [Tue, 13 Jun 2017 20:34:14 +0000 (22:34 +0200)]
Revert "Added ReSharper warning suppressions."

This reverts commit c98fbde35c77e3d2180f7ab3022a83643ff5340a.

7 years agoAdded ReSharper warning suppressions.
Jarl Gullberg [Tue, 13 Jun 2017 20:13:20 +0000 (22:13 +0200)]
Added ReSharper warning suppressions.

7 years agoConverted GraphicsContextFlags into an auto-property.
Jarl Gullberg [Tue, 13 Jun 2017 20:11:19 +0000 (22:11 +0200)]
Converted GraphicsContextFlags into an auto-property.

7 years agoIntroduced optional parameters for GLWidget constructor, removing a redundant constru...
Jarl Gullberg [Tue, 13 Jun 2017 20:10:49 +0000 (22:10 +0200)]
Introduced optional parameters for GLWidget constructor, removing a redundant constructor.

7 years agoRemoved redundant field initializers.
Jarl Gullberg [Tue, 13 Jun 2017 20:09:32 +0000 (22:09 +0200)]
Removed redundant field initializers.

7 years agoEnforced use of explicit private modifiers for clarity.
Jarl Gullberg [Tue, 13 Jun 2017 20:08:58 +0000 (22:08 +0200)]
Enforced use of explicit private modifiers for clarity.

7 years agoImproved comments.
Jarl Gullberg [Tue, 13 Jun 2017 20:08:23 +0000 (22:08 +0200)]
Improved comments.

7 years agoDeleted now obsolete code.
Jarl Gullberg [Tue, 13 Jun 2017 20:02:21 +0000 (22:02 +0200)]
Deleted now obsolete code.

7 years agoAdded new files to project.
Jarl Gullberg [Tue, 13 Jun 2017 20:01:34 +0000 (22:01 +0200)]
Added new files to project.

7 years agoReplaced in-class initialization with calls to platform-specific classes.
Jarl Gullberg [Tue, 13 Jun 2017 20:01:11 +0000 (22:01 +0200)]
Replaced in-class initialization with calls to platform-specific classes.

7 years agoBroke out window info initialization into their own classes.
Jarl Gullberg [Tue, 13 Jun 2017 20:00:41 +0000 (22:00 +0200)]
Broke out window info initialization into their own classes.

7 years agoDropped to C# 6.0 to maintain support for AppVeyor.
Jarl Gullberg [Tue, 13 Jun 2017 19:42:16 +0000 (21:42 +0200)]
Dropped to C# 6.0 to maintain support for AppVeyor.

7 years agoRemoved obsolete GtkSharp references.
Jarl Gullberg [Tue, 13 Jun 2017 18:43:44 +0000 (20:43 +0200)]
Removed obsolete GtkSharp references.

7 years agoMerge branch 'develop' into glwidget-gtk3
Jarl Gullberg [Tue, 13 Jun 2017 18:29:58 +0000 (20:29 +0200)]
Merge branch 'develop' into glwidget-gtk3

7 years agoRemoved invalid character.
Jarl Gullberg [Tue, 13 Jun 2017 18:24:38 +0000 (20:24 +0200)]
Removed invalid character.

7 years agoCorrected use of versioned folder.
Jarl Gullberg [Tue, 13 Jun 2017 18:22:08 +0000 (20:22 +0200)]
Corrected use of versioned folder.

7 years agoReverted use of SolutionDir.
Jarl Gullberg [Tue, 13 Jun 2017 18:12:09 +0000 (20:12 +0200)]
Reverted use of SolutionDir.

7 years agoUpdated FSharp.Core reference as a side effect.
Jarl Gullberg [Tue, 13 Jun 2017 17:59:58 +0000 (19:59 +0200)]
Updated FSharp.Core reference as a side effect.

7 years agoFixed incorrect chooser.
Jarl Gullberg [Tue, 13 Jun 2017 17:59:29 +0000 (19:59 +0200)]
Fixed incorrect chooser.

7 years agoReenabled building of GLWidget project.
Jarl Gullberg [Tue, 13 Jun 2017 17:59:04 +0000 (19:59 +0200)]
Reenabled building of GLWidget project.

7 years agoUpdated with new reference to gtk-sharp3.
Jarl Gullberg [Tue, 13 Jun 2017 17:58:49 +0000 (19:58 +0200)]
Updated with new reference to gtk-sharp3.

7 years agoChanged to a more recent GTK#3 NuGet package.
Jarl Gullberg [Tue, 13 Jun 2017 17:51:52 +0000 (19:51 +0200)]
Changed to a more recent GTK#3 NuGet package.

7 years agoAdded constant switching between GTK#2 and GTK#3 references in the project file.
Jarl Gullberg [Tue, 13 Jun 2017 17:51:14 +0000 (19:51 +0200)]
Added constant switching between GTK#2 and GTK#3 references in the project file.

7 years agoMerge pull request #539 from jeske/issue_488_input_events_fired_more_than_once
varon [Tue, 13 Jun 2017 15:28:04 +0000 (17:28 +0200)]
Merge pull request #539 from jeske/issue_488_input_events_fired_more_than_once

fix issue #488, input events fired more than once

7 years agoHIRect to NSRect. HISize to NSSize
VPeruS [Thu, 8 Jun 2017 20:30:51 +0000 (23:30 +0300)]
HIRect to NSRect. HISize to NSSize

7 years agoChange HIPoint to NSPoint, hipoint wasn't arch independent
VPeruS [Thu, 8 Jun 2017 19:25:59 +0000 (22:25 +0300)]
Change HIPoint to NSPoint, hipoint wasn't arch independent

7 years agoFix incorect type cast
VPeruS [Wed, 7 Jun 2017 04:14:54 +0000 (07:14 +0300)]
Fix incorect type cast

7 years agoFix macos x64 wrong mouse input
Vperus [Tue, 6 Jun 2017 21:05:06 +0000 (00:05 +0300)]
Fix macos x64 wrong mouse input

7 years agoRevert "Fix duplicate scroll input on windows 10"
David Jeske [Mon, 12 Jun 2017 16:16:32 +0000 (09:16 -0700)]
Revert "Fix duplicate scroll input on windows 10"

This reverts commit 9ef456bf9a9ae61e66559ce79927605fb7fe3fdc.

7 years agoMerge branch 'issue_488_input_events_fired_more_than_once' into 488_fix2
David Jeske [Mon, 12 Jun 2017 16:16:01 +0000 (09:16 -0700)]
Merge branch 'issue_488_input_events_fired_more_than_once' into 488_fix2

7 years agoFix SetCapture() to use child_window instead of window. As using window was causing...
David Jeske [Mon, 12 Jun 2017 02:09:50 +0000 (19:09 -0700)]
Fix SetCapture() to use child_window instead of window. As using window was causing spurious WM_MOUSELEAVE events. Also change other mouse events to return IntPtr.Zero when handled

7 years agotreat MouseMove events as handled by returning zero instead of calling DefWindowProc
David Jeske [Mon, 12 Jun 2017 01:36:32 +0000 (18:36 -0700)]
treat MouseMove events as handled by returning zero instead of calling DefWindowProc

7 years agoMerge pull request #536 from varon/win10-scroll-fix
varon [Sun, 11 Jun 2017 23:37:06 +0000 (01:37 +0200)]
Merge pull request #536 from varon/win10-scroll-fix

Fix duplicate scroll input on windows 10

7 years agoMerge pull request #538 from varon/include-pdb
varon [Sun, 11 Jun 2017 23:27:13 +0000 (01:27 +0200)]
Merge pull request #538 from varon/include-pdb

Add pdb to nuget package

7 years agoMerge pull request #537 from UnknownShadow200/develop
varon [Sun, 11 Jun 2017 23:20:43 +0000 (01:20 +0200)]
Merge pull request #537 from UnknownShadow200/develop

Fix a nameof() using wrong variable in GeneratedVariableIdentifier

7 years agoAdd pdb to nuget package
varon [Sun, 11 Jun 2017 23:14:07 +0000 (01:14 +0200)]
Add pdb to nuget package

7 years agoFix a nameof() using wrong variable in GeneratedVariableIdentifier
UnknownShadow200 [Sun, 11 Jun 2017 23:10:09 +0000 (09:10 +1000)]
Fix a nameof() using wrong variable in GeneratedVariableIdentifier

7 years agoFix duplicate scroll input on windows 10
varon [Sun, 11 Jun 2017 22:19:39 +0000 (00:19 +0200)]
Fix duplicate scroll input on windows 10

7 years agoMerge pull request #532 from UnknownShadow200/develop
varon [Sun, 11 Jun 2017 19:04:11 +0000 (21:04 +0200)]
Merge pull request #532 from UnknownShadow200/develop

Directly expose the xyz and w fields of Quarternion and Quaterniond

7 years agoMerge branch 'develop' into glwidget-gtk3
Jarl Gullberg [Thu, 8 Jun 2017 11:35:29 +0000 (13:35 +0200)]
Merge branch 'develop' into glwidget-gtk3

7 years agoMerge pull request #507 from varon/fscheck_testing
varon [Thu, 8 Jun 2017 11:29:19 +0000 (13:29 +0200)]
Merge pull request #507 from varon/fscheck_testing

Property-based testing

7 years agoMerge pull request #6 from Nihlus/fix-equal-approxequal
varon [Wed, 7 Jun 2017 22:49:22 +0000 (00:49 +0200)]
Merge pull request #6 from Nihlus/fix-equal-approxequal

Add new approximation algorithm and replace current usages in tests

7 years agoCorrected bad search & replace.
Jarl Gullberg [Wed, 7 Jun 2017 13:24:20 +0000 (15:24 +0200)]
Corrected bad search & replace.

7 years agoChanged all tests to use the new method.
Jarl Gullberg [Wed, 7 Jun 2017 13:22:52 +0000 (15:22 +0200)]
Changed all tests to use the new method.

7 years agoAdded check for directly equal inputs.
Jarl Gullberg [Wed, 7 Jun 2017 13:22:37 +0000 (15:22 +0200)]
Added check for directly equal inputs.

7 years agoMerged new equivalence function.
Jarl Gullberg [Wed, 7 Jun 2017 12:27:36 +0000 (14:27 +0200)]
Merged new equivalence function.

7 years agoDirectly expose the xyz and w fields of Quarternion and Quaterniond
UnknownShadow200 [Mon, 5 Jun 2017 08:09:08 +0000 (18:09 +1000)]
Directly expose the xyz and w fields of Quarternion and Quaterniond

This addresses github issue #501. They replace the Xyz and W properties, which breaks backwards binary compatibility.

7 years agoAdded new and improved floating-point equality tester.
Jarl Gullberg [Sun, 4 Jun 2017 17:06:03 +0000 (19:06 +0200)]
Added new and improved floating-point equality tester.

7 years agoAdded new and improved floating-point equality tester.
Jarl Gullberg [Sun, 4 Jun 2017 17:05:43 +0000 (19:05 +0200)]
Added new and improved floating-point equality tester.

7 years agoChanged some Equals to ApproximatelyEquals.
Jarl Gullberg [Sat, 3 Jun 2017 20:42:39 +0000 (22:42 +0200)]
Changed some Equals to ApproximatelyEquals.

7 years agoMerge pull request #4 from Nihlus/fix-division-rounding
varon [Sat, 3 Jun 2017 18:12:46 +0000 (20:12 +0200)]
Merge pull request #4 from Nihlus/fix-division-rounding

Fixed rounding error in division operations.

7 years agoMerge pull request #5 from Nihlus/fix-vector-componentminmax
varon [Sat, 3 Jun 2017 18:12:07 +0000 (20:12 +0200)]
Merge pull request #5 from Nihlus/fix-vector-componentminmax

Mark Min/Max as obsolete and implement ComponentMin/Max and MagnitudeMin/Max for all vector classes.

7 years agoImproved ComponentMin/Max documentation.
Jarl Gullberg [Sat, 3 Jun 2017 13:14:39 +0000 (15:14 +0200)]
Improved ComponentMin/Max documentation.

7 years agoAlter division by reference to be by component and not by operator.
Jarl Gullberg [Fri, 2 Jun 2017 21:09:27 +0000 (23:09 +0200)]
Alter division by reference to be by component and not by operator.

7 years agoImprove comments.
Jarl Gullberg [Fri, 2 Jun 2017 20:59:24 +0000 (22:59 +0200)]
Improve comments.

7 years agoMerge pull request #3 from Nihlus/fix-vector4-clamp
varon [Fri, 2 Jun 2017 20:34:23 +0000 (22:34 +0200)]
Merge pull request #3 from Nihlus/fix-vector4-clamp

Fix Vector4 clamping functions

7 years agoImproved test name.
Jarl Gullberg [Fri, 2 Jun 2017 20:25:44 +0000 (22:25 +0200)]
Improved test name.

7 years agoDecreased approximation sensitivity even more.
Jarl Gullberg [Fri, 2 Jun 2017 18:44:30 +0000 (20:44 +0200)]
Decreased approximation sensitivity even more.

7 years agoDecreased approximation sensitivity again.
Jarl Gullberg [Fri, 2 Jun 2017 18:35:14 +0000 (20:35 +0200)]
Decreased approximation sensitivity again.

7 years agoFixed MagnitudeMin test.
Jarl Gullberg [Fri, 2 Jun 2017 18:34:13 +0000 (20:34 +0200)]
Fixed MagnitudeMin test.

7 years agoImplemented all ComponentMin/Max and MagnitudeMin/Max tests.
Jarl Gullberg [Fri, 2 Jun 2017 18:33:00 +0000 (20:33 +0200)]
Implemented all ComponentMin/Max and MagnitudeMin/Max tests.

7 years agoAdded filtering for vector generation to only produce valid vectors.
Jarl Gullberg [Fri, 2 Jun 2017 18:32:16 +0000 (20:32 +0200)]
Added filtering for vector generation to only produce valid vectors.

7 years agoImproved documentation.
Jarl Gullberg [Fri, 2 Jun 2017 18:31:54 +0000 (20:31 +0200)]
Improved documentation.

7 years agoObsoleted Min/Max methods.
Jarl Gullberg [Fri, 2 Jun 2017 17:42:08 +0000 (19:42 +0200)]
Obsoleted Min/Max methods.