Commit graph

7168 commits

Author SHA1 Message Date
varon
027fd80990 Merge pull request #508 from tzachshabtay/develop
IOS- fixed crash on first tick
2017-03-20 18:46:00 +02:00
Tzach Shabtay
2b15ae3700 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).
2017-03-19 23:49:09 -04:00
varon
fe9e300e09 Merge pull request #506 from pragmatrix/angle
ANGLE: keep the backbuffer's size updated when the window resizes
2017-03-19 18:40:48 +02:00
varon
de71367b4b Fix test assembly path 2017-03-19 16:43:28 +02:00
varon
33dfaa2df7 Fix div-by-zero in component division test 2017-03-19 16:43:19 +02:00
varon
4e93da0f41 fixed and disabled test with possibly broken implementation 2017-03-19 16:36:36 +02:00
varon
6e0f55a584 Add additional Vector2 tests 2017-03-19 16:32:37 +02:00
Armin Sander
89e792ee47 be sure the current context is set before calling Egl.WaitClient() 2017-03-19 15:29:00 +01:00
varon
3ef546b456 Add tests to build script 2017-03-19 16:18:13 +02:00
varon
68c4260f52 Slightly reduce approxEq bit equality accuracy 2017-03-19 16:17:53 +02:00
varon
3e38074a9f Use longs to avoid two's complement failure in approxEqual 2017-03-19 15:56:16 +02:00
varon
79ec4c89a3 Enhance testing; add more generators; add testing for approxEqual 2017-03-19 15:35:46 +02:00
varon
38efb29af0 Addint based floating point approximate comparison 2017-03-19 15:34:30 +02:00
varon
fee1cfe21b Improve vector test organization 2017-03-19 13:39:01 +02:00
varon
5cb6090343 Add property based testing framework + example for vectors 2017-03-19 13:35:00 +02:00
varon
c17b66c6fc Removed old tests 2017-03-19 12:50:11 +02:00
varon
a21313b41b Merge pull request #485 from leezer3/develop
Fix: Joystick hats sticking in last position on Linux
2017-03-19 12:29:00 +02:00
varon
44ec9e6aa7 Merge pull request #504 from leezer3/AndroidIOS
FIx: JoystickButton.cs not removed from Android / IOS projects
2017-03-19 11:42:04 +02:00
varon
0097720cd1 Merge pull request #505 from pragmatrix/editorconfig
Add .editorconfig
2017-03-18 18:33:39 +02:00
Armin Sander
30752ed36d ANGLE: keep the backbuffer size updated when the window resizes 2017-03-18 14:25:34 +01:00
Armin Sander
92636581af add .editorconfig 2017-03-18 13:46:39 +01:00
Christopher Lees
969429d54c FIx: JoystickButton.cs not removed from Android / IOS projects 2017-03-16 22:18:14 +00:00
varon
cd3138f9e3 Merge pull request #503 from UnknownShadow200/develop
Fix pointless warning when compiling Box2.cs
2017-03-15 14:39:15 +02:00
UnknownShadow200
9401b4dd84 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.
2017-03-15 23:25:44 +11:00
varon
99b9bf65f2 Merge pull request #495 from tzachshabtay/develop
Fix broken IOS bindings
2017-03-13 09:45:37 +02:00
Tzach Shabtay
e8aa0882c9 Fix broken iOS bindings 2017-03-03 22:29:47 -05:00
varon
fa25cbb5f8 Merge pull request #492 from txdv/grammar
Grammar fix.
2017-03-01 09:08:14 +02:00
Andrius Bentkus
200915a46c Grammar fix. 2017-02-28 16:26:22 +02:00
Sebastien Pellizzari
69bd4420cb XInputGetStateEx obtained through ordinal 2017-02-14 09:17:41 +01:00
Christopher Lees
87f50e17bb Fix: Joystick hats sticking in last position on Linux 2017-02-11 18:49:29 +00:00
varon
ae9c076748 Merge pull request #484 from leezer3/develop
Fix: Xbox controller D-Pad not working under Windows
2017-02-10 17:35:25 +02:00
varon
af68ee752a Merge pull request #453 from leezer3/Joystick2
Improve Joystick Buttons
2017-02-10 17:34:44 +02:00
Christopher Lees
5890656953 Fix: Xbox controller D-Pad not working under Windows 2017-02-10 14:24:58 +00:00
varon
519d13ccde Merge pull request #481 from leezer3/NegativeAxis
Fix: Joysticks with an axis range below zero were inverted
2017-02-09 11:31:11 +02:00
varon
4a1e1ba1f5 Merge pull request #478 from leezer3/develop
Fix: Incorrect documentation for MathHelper.NextPowerOfTwo
2017-02-09 10:50:37 +02:00
Christopher Lees
bf7e3ffb1e Fix: Joysticks with an axis range below zero were inverted 2017-02-05 21:36:45 +00:00
Tzach Shabtay
7f70cd27a2 Merge remote-tracking branch 'upstream/develop' into develop
Merge from upstream
2017-01-31 22:37:39 -05:00
Christopher Lees
02e1891098 Fix: Incorrect documentation for MathHelper.NextPowerOfTwo
Fix: Typo in readme
2017-01-31 14:19:39 +00:00
varon
0abd2cc361 Merge pull request #476 from leezer3/develop
Fix: Some joysticks return an invalid HID page of 1
2017-01-30 22:34:22 +02:00
varon
bd04c31369 Merge pull request #462 from tzachshabtay/Mobile_DebugPrintouts
Removed the stubs for System.Diagnostics.Debug from Android & IOS
2017-01-29 16:42:48 +02:00
Tzach Shabtay
f310f4a119 Merge remote-tracking branch 'opentk/develop' into develop 2017-01-28 21:17:32 -05:00
Christopher Lees
114f02ff49 Fix: Some joysticks return an invalid HID page of 1 2017-01-27 15:50:46 +00:00
Malcolm Still
77f3c7528c Remove DRM cursor on Dispose. 2017-01-12 16:58:48 +00:00
Malcolm Still
3c71e9b96f Moving the LockSurface after waiting for the page flip stops the rendering glitches on Linux/KMS. 2017-01-11 21:30:33 +00:00
Malcolm Still
5eb42f0e38 Some casts required in the absolute motion handler now that the query functions return doubles. 2017-01-06 15:40:18 +00:00
Malcolm Still
c5f6af87d0 Mistake in change. The Debug.Print statement should not be there. 2017-01-06 15:37:14 +00:00
Malcolm Still
ee69d2354f Relative pointer motion should use the relative (Delta) query functions. 2017-01-06 15:34:11 +00:00
Malcolm Still
a7ca0921df Use new axis querying functions to update mouse scroll state. 2017-01-06 15:31:58 +00:00
Malcolm Still
72f1e433b4 Use new Libinput.CreateContext and Libinput.AssignSeat functions in Setup(). 2017-01-06 15:30:08 +00:00
Malcolm Still
60a5315e32 Removed @ symbol from IntPtr name 2017-01-06 15:17:52 +00:00