platform/core/csapi/opentk.git
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 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.

7 years agoEliminated additional step for division operations.
Jarl Gullberg [Fri, 2 Jun 2017 17:32:22 +0000 (19:32 +0200)]
Eliminated additional step for division operations.

7 years agoMerge branch 'fscheck-testing-rebased' into fix-vector4-clamp
Jarl Gullberg [Fri, 2 Jun 2017 17:14:04 +0000 (19:14 +0200)]
Merge branch 'fscheck-testing-rebased' into fix-vector4-clamp

7 years agoFix additional compile inference errors under VS2015
varon [Fri, 2 Jun 2017 11:56:11 +0000 (13:56 +0200)]
Fix additional compile inference errors under VS2015

7 years agoMerge branch 'nihlus_fscheck_testing2' into fscheck_testing
varon [Fri, 2 Jun 2017 11:49:46 +0000 (13:49 +0200)]
Merge branch 'nihlus_fscheck_testing2' into fscheck_testing

7 years agoMerge pull request #2 from Nihlus/fscheck-testing-rebased
varon [Fri, 2 Jun 2017 11:49:01 +0000 (13:49 +0200)]
Merge pull request #2 from Nihlus/fscheck-testing-rebased

Unit coverage, test porting and more tests

7 years agoFix compile inference error under VS2015
varon [Fri, 2 Jun 2017 11:48:29 +0000 (13:48 +0200)]
Fix compile inference error under VS2015

7 years agoAdded test of multiplication operators.
Jarl Gullberg [Fri, 2 Jun 2017 08:56:02 +0000 (10:56 +0200)]
Added test of multiplication operators.

7 years agoAdded extra filtering to generated Quaternions.
Jarl Gullberg [Fri, 2 Jun 2017 08:39:13 +0000 (10:39 +0200)]
Added extra filtering to generated Quaternions.

7 years agoIncreased delta bits and changed quaternion generator.
Jarl Gullberg [Thu, 1 Jun 2017 21:22:57 +0000 (23:22 +0200)]
Increased delta bits and changed quaternion generator.

7 years agoRemoved fake casts.
Jarl Gullberg [Thu, 1 Jun 2017 20:09:04 +0000 (22:09 +0200)]
Removed fake casts.

7 years agoAdded transformation by quaternion test.
Jarl Gullberg [Thu, 1 Jun 2017 19:26:34 +0000 (21:26 +0200)]
Added transformation by quaternion test.

7 years agoStrip trailing spaces.
Jarl Gullberg [Thu, 1 Jun 2017 19:12:59 +0000 (21:12 +0200)]
Strip trailing spaces.

7 years agoImproved test naming.
Jarl Gullberg [Thu, 1 Jun 2017 19:09:10 +0000 (21:09 +0200)]
Improved test naming.

7 years agoFixed use of incorrect components in clamping function.
Jarl Gullberg [Thu, 1 Jun 2017 17:58:25 +0000 (19:58 +0200)]
Fixed use of incorrect components in clamping function.

7 years agoSet CI report to always run, even if script fails.
Jarl Gullberg [Thu, 1 Jun 2017 17:54:05 +0000 (19:54 +0200)]
Set CI report to always run, even if script fails.

7 years agoAdded Vector4 tests.
Jarl Gullberg [Thu, 1 Jun 2017 17:53:32 +0000 (19:53 +0200)]
Added Vector4 tests.

7 years agoCorrected row variables.
Jarl Gullberg [Thu, 1 Jun 2017 14:07:21 +0000 (16:07 +0200)]
Corrected row variables.

7 years agoAdd row property tests.
Jarl Gullberg [Thu, 1 Jun 2017 14:05:14 +0000 (16:05 +0200)]
Add row property tests.

7 years agoMore tests.
Jarl Gullberg [Thu, 1 Jun 2017 14:05:02 +0000 (16:05 +0200)]
More tests.

7 years agoComplete coverage for Vector2.
Jarl Gullberg [Thu, 1 Jun 2017 14:04:51 +0000 (16:04 +0200)]
Complete coverage for Vector2.

7 years agoPorted more arithmetic tests.
Jarl Gullberg [Wed, 31 May 2017 20:38:54 +0000 (22:38 +0200)]
Ported more arithmetic tests.

7 years agoMissed one.
Jarl Gullberg [Wed, 31 May 2017 20:28:51 +0000 (22:28 +0200)]
Missed one.

7 years agoFixed normalization tests in Vector3 and ported some common tests to Vector2.
Jarl Gullberg [Wed, 31 May 2017 20:28:27 +0000 (22:28 +0200)]
Fixed normalization tests in Vector3 and ported some common tests to Vector2.

7 years agoAdded final multiplication test and split one test into two.
Jarl Gullberg [Wed, 31 May 2017 20:20:46 +0000 (22:20 +0200)]
Added final multiplication test and split one test into two.

7 years agoAdded additional multiplication and division tests.
Jarl Gullberg [Wed, 31 May 2017 20:09:04 +0000 (22:09 +0200)]
Added additional multiplication and division tests.

7 years agoAdded Vector4 constructor test.
Jarl Gullberg [Wed, 31 May 2017 19:40:44 +0000 (21:40 +0200)]
Added Vector4 constructor test.

7 years agoAdded preventing of division-by-zero cases when normalizing.
Jarl Gullberg [Wed, 31 May 2017 19:31:11 +0000 (21:31 +0200)]
Added preventing of division-by-zero cases when normalizing.

7 years agoIncreased approximation tolerance.
Jarl Gullberg [Wed, 31 May 2017 19:26:21 +0000 (21:26 +0200)]
Increased approximation tolerance.

7 years agoAdded additional check against nonmatrix objects.
Jarl Gullberg [Wed, 31 May 2017 18:21:16 +0000 (20:21 +0200)]
Added additional check against nonmatrix objects.

7 years agoPorted all Vector3 tests.
Jarl Gullberg [Wed, 31 May 2017 18:08:41 +0000 (20:08 +0200)]
Ported all Vector3 tests.

7 years agoPorted existing Matrix4 tests.
Jarl Gullberg [Wed, 31 May 2017 15:48:33 +0000 (17:48 +0200)]
Ported existing Matrix4 tests.

7 years agoEnsure that the vectors are different.
Jarl Gullberg [Wed, 31 May 2017 14:45:18 +0000 (16:45 +0200)]
Ensure that the vectors are different.

7 years agoCorrected badly formed tests.
Jarl Gullberg [Wed, 31 May 2017 14:39:19 +0000 (16:39 +0200)]
Corrected badly formed tests.

7 years agoAdded more tests for the Vector2 class.
Jarl Gullberg [Wed, 31 May 2017 14:14:04 +0000 (16:14 +0200)]
Added more tests for the Vector2 class.

7 years agoCorrected mangled reapplication.
Jarl Gullberg [Wed, 31 May 2017 13:01:06 +0000 (15:01 +0200)]
Corrected mangled reapplication.

7 years agoUpdated gitignore.
Jarl Gullberg [Wed, 31 May 2017 12:59:34 +0000 (14:59 +0200)]
Updated gitignore.

7 years agoRenamed Vectors.fs to Vector2Tests.fs.
Jarl Gullberg [Wed, 31 May 2017 12:46:50 +0000 (14:46 +0200)]
Renamed Vectors.fs to Vector2Tests.fs.

7 years agoAdded code coverage CI step.
Jarl Gullberg [Wed, 31 May 2017 12:45:23 +0000 (14:45 +0200)]
Added code coverage CI step.

7 years agoUpdate project deps
varon [Wed, 31 May 2017 12:13:17 +0000 (14:13 +0200)]
Update project deps

7 years agoMerge branch 'develop' into fscheck_testing
varon [Wed, 31 May 2017 12:08:32 +0000 (14:08 +0200)]
Merge branch 'develop' into fscheck_testing

Conflicts:
paket.lock

7 years agoMerge pull request #527 from Nihlus/rewriter-cecil-0.10
varon [Tue, 30 May 2017 19:51:35 +0000 (21:51 +0200)]
Merge pull request #527 from Nihlus/rewriter-cecil-0.10

Additional error check in rewriter

7 years agoAdded catching of error thrown when the assembly has been rewritten but the debug...
Jarl Gullberg [Tue, 30 May 2017 16:16:45 +0000 (18:16 +0200)]
Added catching of error thrown when the assembly has been rewritten but the debug symbols do not match.