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

7 years agoMerge pull request #526 from Nihlus/rewriter-cecil-0.10
varon [Tue, 30 May 2017 14:29:04 +0000 (16:29 +0200)]
Merge pull request #526 from Nihlus/rewriter-cecil-0.10

Update Generator.Rewriter to Cecil 0.10

7 years agoChanged signatures back to IEnumerable and added full enumeration to list where needed.
Jarl Gullberg [Mon, 29 May 2017 20:22:26 +0000 (22:22 +0200)]
Changed signatures back to IEnumerable and added full enumeration to list where needed.

7 years agoChanged signature of RemoveNativeSignatures.
Jarl Gullberg [Mon, 29 May 2017 20:08:48 +0000 (22:08 +0200)]
Changed signature of RemoveNativeSignatures.

7 years agoPulled repeated logic out into a helper method.
Jarl Gullberg [Mon, 29 May 2017 20:05:07 +0000 (22:05 +0200)]
Pulled repeated logic out into a helper method.

7 years agoRestricted access to internal and sealed the class.
Jarl Gullberg [Mon, 29 May 2017 19:58:38 +0000 (21:58 +0200)]
Restricted access to internal and sealed the class.

7 years agoDropped project target back down to 3.5.
Jarl Gullberg [Mon, 29 May 2017 18:55:09 +0000 (20:55 +0200)]
Dropped project target back down to 3.5.

7 years agoAdded static modifier to methods which could have it.
Jarl Gullberg [Mon, 29 May 2017 18:19:17 +0000 (20:19 +0200)]
Added static modifier to methods which could have it.

7 years agoTightened variable identifier picking even more.
Jarl Gullberg [Mon, 29 May 2017 18:16:43 +0000 (20:16 +0200)]
Tightened variable identifier picking even more.

7 years agoAdded additional identifier constraints.
Jarl Gullberg [Mon, 29 May 2017 17:47:00 +0000 (19:47 +0200)]
Added additional identifier constraints.

7 years agoAdded additional identifier constraints.
Jarl Gullberg [Mon, 29 May 2017 17:45:38 +0000 (19:45 +0200)]
Added additional identifier constraints.

7 years agoRemoved unused using statement.
Jarl Gullberg [Mon, 29 May 2017 17:00:12 +0000 (19:00 +0200)]
Removed unused using statement.

7 years agoAdded ordinal comparison to string index search.
Jarl Gullberg [Mon, 29 May 2017 16:59:37 +0000 (18:59 +0200)]
Added ordinal comparison to string index search.

7 years agoRemoved uses of out variables and introduced a generated variable identifier class.
Jarl Gullberg [Mon, 29 May 2017 16:57:13 +0000 (18:57 +0200)]
Removed uses of out variables and introduced a generated variable identifier class.

7 years agoAdded a class that can identify a generated variable.
Jarl Gullberg [Mon, 29 May 2017 16:31:39 +0000 (18:31 +0200)]
Added a class that can identify a generated variable.

7 years agoBetter variable naming and line breaks.
Jarl Gullberg [Mon, 29 May 2017 16:23:33 +0000 (18:23 +0200)]
Better variable naming and line breaks.

7 years agoChanged manual stream closing to a using statement.
Jarl Gullberg [Mon, 29 May 2017 16:15:49 +0000 (18:15 +0200)]
Changed manual stream closing to a using statement.

7 years agoRemoved obsolete manual detection of debug symbol file.
Jarl Gullberg [Mon, 29 May 2017 16:14:46 +0000 (18:14 +0200)]
Removed obsolete manual detection of debug symbol file.

7 years agoChanged uses of IEnumerable to List in order to prevent multiple enumerations.
Jarl Gullberg [Mon, 29 May 2017 16:12:43 +0000 (18:12 +0200)]
Changed uses of IEnumerable to List in order to prevent multiple enumerations.

7 years agoUpdated Generator.Rewrite to use the new Cecil API. Dirty fix.
Jarl Gullberg [Fri, 26 May 2017 11:48:00 +0000 (13:48 +0200)]
Updated Generator.Rewrite to use the new Cecil API. Dirty fix.

7 years agoMerge pull request #521 from tzachshabtay/develop
varon [Sat, 13 May 2017 08:33:42 +0000 (10:33 +0200)]
Merge pull request #521 from tzachshabtay/develop

IOS- added a method to resize the framebuffer on device rotation

7 years agoFix formatting in markdown news
varon [Mon, 8 May 2017 21:00:25 +0000 (23:00 +0200)]
Fix formatting in markdown news

7 years agoupdate readme about 3.0.0-pre release
varon [Mon, 8 May 2017 20:58:47 +0000 (22:58 +0200)]
update readme about 3.0.0-pre release

7 years agoMerge branch 'develop' of github.com:opentk/opentk into develop
varon [Mon, 8 May 2017 20:50:38 +0000 (22:50 +0200)]
Merge branch 'develop' of github.com:opentk/opentk into develop

7 years agoRelease 3.0.0-pre
varon [Mon, 8 May 2017 20:33:09 +0000 (22:33 +0200)]
Release 3.0.0-pre

7 years agoMerge pull request #518 from yas-online/fix-angle-mobile
varon [Mon, 1 May 2017 07:14:13 +0000 (09:14 +0200)]
Merge pull request #518 from yas-online/fix-angle-mobile

Fix AngleWindowInfo compile errors on mobile introduced by #458

7 years agofix AngleWindowInfo compile errors on mobile introduced by #458
Neico [Sat, 29 Apr 2017 19:33:33 +0000 (21:33 +0200)]
fix AngleWindowInfo compile errors on mobile introduced by #458

7 years agoMerge pull request #516 from ShardTheBroken/Issue/514
varon [Thu, 27 Apr 2017 08:45:51 +0000 (10:45 +0200)]
Merge pull request #516 from ShardTheBroken/Issue/514

Fixed typos in documentation comments

7 years agoFixed typos in documentation comments
Shard White [Thu, 27 Apr 2017 07:43:21 +0000 (08:43 +0100)]
Fixed typos in documentation comments

7 years agoMerge pull request #510 from UnknownShadow200/develop
varon [Thu, 23 Mar 2017 08:20:21 +0000 (10:20 +0200)]
Merge pull request #510 from UnknownShadow200/develop

Fix default input directories for Generator.Bind

7 years agoFix default input directories for Generator.Bind
UnknownShadow200 [Thu, 23 Mar 2017 04:54:40 +0000 (15:54 +1100)]
Fix default input directories for Generator.Bind

7 years agoIOS- added a method to resize the buffer on device rotation
Tzach Shabtay [Thu, 23 Mar 2017 03:30:48 +0000 (23:30 -0400)]
IOS- added a method to resize the buffer on device rotation

This allows to keep aspect ratio when rotating to landscape, see here:
http://stackoverflow.com/questions/20326947/opengl-what-need-to-reconfig
-when-rotate-screen, and also here:
https://gamedev.stackexchange.com/questions/75965/how-do-i-reconfigure-m
y-gles-frame-buffer-after-a-rotation

7 years agoMerge pull request #458 from mzanin/angle-es3
varon [Tue, 21 Mar 2017 10:46:11 +0000 (12:46 +0200)]
Merge pull request #458 from mzanin/angle-es3

Allow using OpenGL ES3 with Angle and extract a Direct3D shared handle

7 years agoAddressed comments
Manuel Zanin [Tue, 21 Mar 2017 09:21:22 +0000 (10:21 +0100)]
Addressed comments

7 years agoMerge pull request #487 from spellizzari/develop
varon [Mon, 20 Mar 2017 17:48:36 +0000 (19:48 +0200)]
Merge pull request #487 from spellizzari/develop

XInputGetStateEx obtained through ordinal

7 years agoMerge pull request #508 from tzachshabtay/develop
varon [Mon, 20 Mar 2017 16:46:00 +0000 (18:46 +0200)]
Merge pull request #508 from tzachshabtay/develop

IOS- fixed crash on first tick

7 years agoIOS- fixed crash on first tick
Tzach Shabtay [Mon, 20 Mar 2017 03:47:23 +0000 (23:47 -0400)]
IOS- fixed crash on first tick

FrameEventArgs throws an exception when setting the Time to a value <=
0. With that knowledge, both the Android and the IOS implementations
had a bug when setting the time.
On IOS, that bug would cause a crash on the first tick, as the first
tick would always set to 0.
On Android the bug was probably harmless but there was a redundant
check there (and also removed the unneeded allocation that was there on
every tick).

7 years agoMerge pull request #506 from pragmatrix/angle
varon [Sun, 19 Mar 2017 16:40:48 +0000 (18:40 +0200)]
Merge pull request #506 from pragmatrix/angle

ANGLE: keep the backbuffer's size updated when the window resizes

7 years agoFix test assembly path
varon [Sun, 19 Mar 2017 14:43:28 +0000 (16:43 +0200)]
Fix test assembly path

7 years agoFix div-by-zero in component division test
varon [Sun, 19 Mar 2017 14:43:19 +0000 (16:43 +0200)]
Fix div-by-zero in component division test

7 years agofixed and disabled test with possibly broken implementation
varon [Sun, 19 Mar 2017 14:36:36 +0000 (16:36 +0200)]
fixed and disabled test with possibly broken implementation

7 years agoAdd additional Vector2 tests
varon [Sun, 19 Mar 2017 14:32:37 +0000 (16:32 +0200)]
Add additional Vector2 tests

7 years agobe sure the current context is set before calling Egl.WaitClient()
Armin Sander [Sun, 19 Mar 2017 14:28:26 +0000 (15:28 +0100)]
be sure the current context is set before calling Egl.WaitClient()

7 years agoAdd tests to build script
varon [Sun, 19 Mar 2017 14:18:13 +0000 (16:18 +0200)]
Add tests to build script

7 years agoSlightly reduce approxEq bit equality accuracy
varon [Sun, 19 Mar 2017 14:17:53 +0000 (16:17 +0200)]
Slightly reduce approxEq bit equality accuracy

7 years agoUse longs to avoid two's complement failure in approxEqual
varon [Sun, 19 Mar 2017 13:56:16 +0000 (15:56 +0200)]
Use longs to avoid two's complement failure in approxEqual

7 years agoEnhance testing; add more generators; add testing for approxEqual
varon [Sun, 19 Mar 2017 13:35:46 +0000 (15:35 +0200)]
Enhance testing; add more generators; add testing for approxEqual

7 years agoAddint based floating point approximate comparison
varon [Sun, 19 Mar 2017 13:33:58 +0000 (15:33 +0200)]
Addint based floating point approximate comparison

7 years agoImprove vector test organization
varon [Sun, 19 Mar 2017 11:39:01 +0000 (13:39 +0200)]
Improve vector test organization

7 years agoAdd property based testing framework + example for vectors
varon [Sun, 19 Mar 2017 11:34:47 +0000 (13:34 +0200)]
Add property based testing framework + example for vectors

7 years agoRemoved old tests
varon [Sun, 19 Mar 2017 10:50:11 +0000 (12:50 +0200)]
Removed old tests

7 years agoMerge pull request #485 from leezer3/develop
varon [Sun, 19 Mar 2017 10:29:00 +0000 (12:29 +0200)]
Merge pull request #485 from leezer3/develop

Fix: Joystick hats sticking in last position on Linux

7 years agoMerge pull request #504 from leezer3/AndroidIOS
varon [Sun, 19 Mar 2017 09:42:04 +0000 (11:42 +0200)]
Merge pull request #504 from leezer3/AndroidIOS

FIx: JoystickButton.cs not removed from Android / IOS projects

7 years agoMerge pull request #505 from pragmatrix/editorconfig
varon [Sat, 18 Mar 2017 16:33:39 +0000 (18:33 +0200)]
Merge pull request #505 from pragmatrix/editorconfig

Add .editorconfig

7 years agoANGLE: keep the backbuffer size updated when the window resizes
Armin Sander [Sat, 18 Mar 2017 13:06:27 +0000 (14:06 +0100)]
ANGLE: keep the backbuffer size updated when the window resizes

7 years agoadd .editorconfig
Armin Sander [Sat, 18 Mar 2017 12:46:39 +0000 (13:46 +0100)]
add .editorconfig

7 years agoFIx: JoystickButton.cs not removed from Android / IOS projects
Christopher Lees [Thu, 16 Mar 2017 22:16:42 +0000 (22:16 +0000)]
FIx: JoystickButton.cs not removed from Android / IOS projects

7 years agoMerge pull request #503 from UnknownShadow200/develop
varon [Wed, 15 Mar 2017 12:39:15 +0000 (14:39 +0200)]
Merge pull request #503 from UnknownShadow200/develop

Fix pointless warning when compiling Box2.cs

7 years agoFix pointless warning when compiling Box2.cs
UnknownShadow200 [Wed, 15 Mar 2017 12:25:44 +0000 (23:25 +1100)]
Fix pointless warning when compiling Box2.cs

Showed warning "Missing XML comment for publicly visible type or member 'OpenTK.Box2.GetHashCode()' (CS1591) ", because there were five / instead of three / to indicate an XML comment.

7 years agoMerge pull request #495 from tzachshabtay/develop
varon [Mon, 13 Mar 2017 07:45:37 +0000 (09:45 +0200)]
Merge pull request #495 from tzachshabtay/develop

Fix broken IOS bindings

7 years agoFix broken iOS bindings
Tzach Shabtay [Sat, 4 Mar 2017 03:29:47 +0000 (22:29 -0500)]
Fix broken iOS bindings

7 years agoMerge pull request #492 from txdv/grammar
varon [Wed, 1 Mar 2017 07:08:14 +0000 (09:08 +0200)]
Merge pull request #492 from txdv/grammar

Grammar fix.

7 years agoGrammar fix.
Andrius Bentkus [Tue, 28 Feb 2017 14:26:22 +0000 (16:26 +0200)]
Grammar fix.

7 years agoXInputGetStateEx obtained through ordinal
Sebastien Pellizzari [Tue, 14 Feb 2017 08:17:41 +0000 (09:17 +0100)]
XInputGetStateEx obtained through ordinal

7 years agoFix: Joystick hats sticking in last position on Linux
Christopher Lees [Sat, 11 Feb 2017 18:49:29 +0000 (18:49 +0000)]
Fix: Joystick hats sticking in last position on Linux

7 years agoMerge pull request #484 from leezer3/develop
varon [Fri, 10 Feb 2017 15:35:25 +0000 (17:35 +0200)]
Merge pull request #484 from leezer3/develop

Fix: Xbox controller D-Pad not working under Windows

7 years agoMerge pull request #453 from leezer3/Joystick2
varon [Fri, 10 Feb 2017 15:34:44 +0000 (17:34 +0200)]
Merge pull request #453 from leezer3/Joystick2

Improve Joystick Buttons

7 years agoFix: Xbox controller D-Pad not working under Windows
Christopher Lees [Fri, 10 Feb 2017 14:24:58 +0000 (14:24 +0000)]
Fix: Xbox controller D-Pad not working under Windows

7 years agoMerge pull request #481 from leezer3/NegativeAxis
varon [Thu, 9 Feb 2017 09:31:11 +0000 (11:31 +0200)]
Merge pull request #481 from leezer3/NegativeAxis

Fix: Joysticks with an axis range below zero were inverted

7 years agoMerge pull request #478 from leezer3/develop
varon [Thu, 9 Feb 2017 08:50:37 +0000 (10:50 +0200)]
Merge pull request #478 from leezer3/develop

Fix: Incorrect documentation for MathHelper.NextPowerOfTwo

7 years agoFix: Joysticks with an axis range below zero were inverted
Christopher Lees [Sun, 5 Feb 2017 21:36:11 +0000 (21:36 +0000)]
Fix: Joysticks with an axis range below zero were inverted

7 years agoMerge remote-tracking branch 'upstream/develop' into develop
Tzach Shabtay [Wed, 1 Feb 2017 03:37:39 +0000 (22:37 -0500)]
Merge remote-tracking branch 'upstream/develop' into develop

Merge from upstream

7 years agoFix: Incorrect documentation for MathHelper.NextPowerOfTwo
Christopher Lees [Tue, 31 Jan 2017 14:19:39 +0000 (14:19 +0000)]
Fix: Incorrect documentation for MathHelper.NextPowerOfTwo

Fix: Typo in readme

7 years agoMerge pull request #476 from leezer3/develop
varon [Mon, 30 Jan 2017 20:34:22 +0000 (22:34 +0200)]
Merge pull request #476 from leezer3/develop

Fix: Some joysticks return an invalid HID page of 1

7 years agoMerge pull request #462 from tzachshabtay/Mobile_DebugPrintouts
varon [Sun, 29 Jan 2017 14:42:48 +0000 (16:42 +0200)]
Merge pull request #462 from tzachshabtay/Mobile_DebugPrintouts

Removed the stubs for System.Diagnostics.Debug from Android & IOS

7 years agoMerge remote-tracking branch 'opentk/develop' into develop
Tzach Shabtay [Sun, 29 Jan 2017 02:17:32 +0000 (21:17 -0500)]
Merge remote-tracking branch 'opentk/develop' into develop

7 years agoFix: Some joysticks return an invalid HID page of 1
Christopher Lees [Fri, 27 Jan 2017 15:48:32 +0000 (15:48 +0000)]
Fix: Some joysticks return an invalid HID page of 1

7 years agoMerge pull request #463 from tzachshabtay/RemoveRedundantPrintout
varon [Mon, 12 Dec 2016 07:25:40 +0000 (09:25 +0200)]
Merge pull request #463 from tzachshabtay/RemoveRedundantPrintout

Removed redundant printout for "OnMouseMove called without moving the mouse"

7 years agoMerge pull request #461 from tzachshabtay/OpenTK_AndroidCrashes
varon [Mon, 12 Dec 2016 07:24:18 +0000 (09:24 +0200)]
Merge pull request #461 from tzachshabtay/OpenTK_AndroidCrashes

Fix 2 crashes on Android

7 years agoRemoved redundant printout for "OnMouseMove called without moving the mouse"
Tzach Shabtay [Sun, 11 Dec 2016 23:11:56 +0000 (18:11 -0500)]
Removed redundant printout for "OnMouseMove called without moving the mouse"

This fixes #416.
The problem with this printout (as explained in the issue) is that on
Windows (at least for specific devices/OS) GetMouseMovePointsEx can
return duplicate points, so it’s either adding a check in the Windows
layer or remove the printout. Adding a check in the Windows layer looks
redundant though, as this is already checked in NativeWindowBase, so
removing the printout looks preferable.

7 years agoRemoved the stubs for System.Diagnostics.Debug from Android & IOS
Tzach Shabtay [Sun, 11 Dec 2016 23:03:29 +0000 (18:03 -0500)]
Removed the stubs for System.Diagnostics.Debug from Android & IOS

This looks like it was once a Xamarin limitation, but it’s not anymore.
Note: tested this on Android, but not on IOS (tested compilation on IOS
only).
Fixes #447

7 years agoAndroid- fix a crash when the game view is closed before it started running
Tzach Shabtay [Sun, 11 Dec 2016 22:50:38 +0000 (17:50 -0500)]
Android- fix a crash when the game view is closed before it started running

When the game view is closed, if it hasn’t started running yet the
stopwatch would still be null- added a null check.