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
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.
Jarl Gullberg [Mon, 29 May 2017 20:08:48 +0000 (22:08 +0200)]
Changed signature of RemoveNativeSignatures.
Jarl Gullberg [Mon, 29 May 2017 20:05:07 +0000 (22:05 +0200)]
Pulled repeated logic out into a helper method.
Jarl Gullberg [Mon, 29 May 2017 19:58:38 +0000 (21:58 +0200)]
Restricted access to internal and sealed the class.
Jarl Gullberg [Mon, 29 May 2017 18:55:09 +0000 (20:55 +0200)]
Dropped project target back down to 3.5.
Jarl Gullberg [Mon, 29 May 2017 18:19:17 +0000 (20:19 +0200)]
Added static modifier to methods which could have it.
Jarl Gullberg [Mon, 29 May 2017 18:16:43 +0000 (20:16 +0200)]
Tightened variable identifier picking even more.
Jarl Gullberg [Mon, 29 May 2017 17:47:00 +0000 (19:47 +0200)]
Added additional identifier constraints.
Jarl Gullberg [Mon, 29 May 2017 17:45:38 +0000 (19:45 +0200)]
Added additional identifier constraints.
Jarl Gullberg [Mon, 29 May 2017 17:00:12 +0000 (19:00 +0200)]
Removed unused using statement.
Jarl Gullberg [Mon, 29 May 2017 16:59:37 +0000 (18:59 +0200)]
Added ordinal comparison to string index search.
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.
Jarl Gullberg [Mon, 29 May 2017 16:31:39 +0000 (18:31 +0200)]
Added a class that can identify a generated variable.
Jarl Gullberg [Mon, 29 May 2017 16:23:33 +0000 (18:23 +0200)]
Better variable naming and line breaks.
Jarl Gullberg [Mon, 29 May 2017 16:15:49 +0000 (18:15 +0200)]
Changed manual stream closing to a using statement.
Jarl Gullberg [Mon, 29 May 2017 16:14:46 +0000 (18:14 +0200)]
Removed obsolete manual detection of debug symbol file.
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.
Jarl Gullberg [Fri, 26 May 2017 11:48:00 +0000 (13:48 +0200)]
Updated Generator.Rewrite to use the new Cecil API. Dirty fix.
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
varon [Mon, 8 May 2017 21:00:25 +0000 (23:00 +0200)]
Fix formatting in markdown news
varon [Mon, 8 May 2017 20:58:47 +0000 (22:58 +0200)]
update readme about 3.0.0-pre release
varon [Mon, 8 May 2017 20:50:38 +0000 (22:50 +0200)]
Merge branch 'develop' of github.com:opentk/opentk into develop
varon [Mon, 8 May 2017 20:33:09 +0000 (22:33 +0200)]
Release 3.0.0-pre
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
Neico [Sat, 29 Apr 2017 19:33:33 +0000 (21:33 +0200)]
fix AngleWindowInfo compile errors on mobile introduced by #458
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
Shard White [Thu, 27 Apr 2017 07:43:21 +0000 (08:43 +0100)]
Fixed typos in documentation comments
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
UnknownShadow200 [Thu, 23 Mar 2017 04:54:40 +0000 (15:54 +1100)]
Fix default input directories for Generator.Bind
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
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
Manuel Zanin [Tue, 21 Mar 2017 09:21:22 +0000 (10:21 +0100)]
Addressed comments
varon [Mon, 20 Mar 2017 17:48:36 +0000 (19:48 +0200)]
Merge pull request #487 from spellizzari/develop
XInputGetStateEx obtained through ordinal
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
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).
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
Armin Sander [Sun, 19 Mar 2017 14:28:26 +0000 (15:28 +0100)]
be sure the current context is set before calling Egl.WaitClient()
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
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
varon [Sat, 18 Mar 2017 16:33:39 +0000 (18:33 +0200)]
Merge pull request #505 from pragmatrix/editorconfig
Add .editorconfig
Armin Sander [Sat, 18 Mar 2017 13:06:27 +0000 (14:06 +0100)]
ANGLE: keep the backbuffer size updated when the window resizes
Armin Sander [Sat, 18 Mar 2017 12:46:39 +0000 (13:46 +0100)]
add .editorconfig
Christopher Lees [Thu, 16 Mar 2017 22:16:42 +0000 (22:16 +0000)]
FIx: JoystickButton.cs not removed from Android / IOS projects
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
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.
varon [Mon, 13 Mar 2017 07:45:37 +0000 (09:45 +0200)]
Merge pull request #495 from tzachshabtay/develop
Fix broken IOS bindings
Tzach Shabtay [Sat, 4 Mar 2017 03:29:47 +0000 (22:29 -0500)]
Fix broken iOS bindings
varon [Wed, 1 Mar 2017 07:08:14 +0000 (09:08 +0200)]
Merge pull request #492 from txdv/grammar
Grammar fix.
Andrius Bentkus [Tue, 28 Feb 2017 14:26:22 +0000 (16:26 +0200)]
Grammar fix.
Sebastien Pellizzari [Tue, 14 Feb 2017 08:17:41 +0000 (09:17 +0100)]
XInputGetStateEx obtained through ordinal
Christopher Lees [Sat, 11 Feb 2017 18:49:29 +0000 (18:49 +0000)]
Fix: Joystick hats sticking in last position on Linux
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
varon [Fri, 10 Feb 2017 15:34:44 +0000 (17:34 +0200)]
Merge pull request #453 from leezer3/Joystick2
Improve Joystick Buttons
Christopher Lees [Fri, 10 Feb 2017 14:24:58 +0000 (14:24 +0000)]
Fix: Xbox controller D-Pad not working under Windows
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
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
Christopher Lees [Sun, 5 Feb 2017 21:36:11 +0000 (21:36 +0000)]
Fix: Joysticks with an axis range below zero were inverted
Tzach Shabtay [Wed, 1 Feb 2017 03:37:39 +0000 (22:37 -0500)]
Merge remote-tracking branch 'upstream/develop' into develop
Merge from upstream
Christopher Lees [Tue, 31 Jan 2017 14:19:39 +0000 (14:19 +0000)]
Fix: Incorrect documentation for MathHelper.NextPowerOfTwo
Fix: Typo in readme
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
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
Tzach Shabtay [Sun, 29 Jan 2017 02:17:32 +0000 (21:17 -0500)]
Merge remote-tracking branch 'opentk/develop' into develop
Christopher Lees [Fri, 27 Jan 2017 15:48:32 +0000 (15:48 +0000)]
Fix: Some joysticks return an invalid HID page of 1
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"
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
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.
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
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.
Tzach Shabtay [Sun, 11 Dec 2016 22:47:26 +0000 (17:47 -0500)]
Android- Fix crash when querying for surface when window info was not created yet
HasSurface is called by ReadyToRender property to query if the surface
was created, but it’s possible that the window info was not created
yet, added a missing null check.
Manuel Zanin [Tue, 29 Nov 2016 10:34:16 +0000 (11:34 +0100)]
Moved AngleWindowInfo and EglAnglePlatformFactory under src
Jonas Boesch [Wed, 6 Jan 2016 14:29:34 +0000 (15:29 +0100)]
Use existing ANGLE definitions
Jonas Boesch [Tue, 21 Apr 2015 14:09:48 +0000 (16:09 +0200)]
Bugfix: Creating a second GraphicsContext forced context sharing.
This fix will keep existing behavior (forced sharing) in the default case, but adds a new constructor that allows explicitly specifying the shared context. A user can now explicitly specify null for the shared context to get a new non-shared context.
Jonas Boesch [Tue, 21 Apr 2015 14:09:29 +0000 (16:09 +0200)]
Added AngleWindowInfo and AnglePlatformFactory
Both WindowInfo and PlatformFactory wrap the actual platform-specific WindowInfo and PlatformFactory.
For offscreen rendering, AngleWindowInfo can be used with a DummyWindowInfo.
The API to add additional surfaces was added to IAngleWindowInfo, since all those calls need the Display parameter that is only available on EglWindowInfo (which is not exposed to users).
Jonas Boesch [Tue, 21 Apr 2015 14:08:50 +0000 (16:08 +0200)]
Added Angle-related enums and definitions
+ GraphicsContextFlags now has Angle and Offscreen flags.
+ Egl now has PLATFORM_ANGLE related const ints.
+ Added eglGetPlatformDisplayEXT p/invoke definition
+ Added eglQuerySurfacePointerANGLE p/invoke definition
+ EglWindowInfo.CreatePbufferSurface was commented out. Enabled and fixed it.
+ GraphicsContextFlags.Offscreen will make the context create a PbufferSurface instead of a WindowSurface in EglContext
+ SurfaceType enum to select surface type for SelectGraphicsMode
Jonas Boesch [Tue, 21 Apr 2015 14:08:20 +0000 (16:08 +0200)]
Bugfix: Non-null shared contexts for Egl threw Exception
The shared context parameter can be either the EglContext directly, or
the facade, and we cast to see what it is.
Christopher Lees [Wed, 23 Nov 2016 14:11:00 +0000 (14:11 +0000)]
Joystick Buttons:
* Remove JoystickButton enum (Use zero-based int as button index instead)
* Change to using a long to store button states
* Max buttons now 64 (Unable to go further without using an array)
varon [Fri, 25 Nov 2016 17:44:21 +0000 (19:44 +0200)]
Merge pull request #454 from leezer3/patch1
Fix wrong XML param name tag
varon [Fri, 25 Nov 2016 17:40:47 +0000 (19:40 +0200)]
Merge pull request #455 from rejurime/patch-1
Fix #440
René Juan Rico Mendoza [Wed, 23 Nov 2016 15:58:03 +0000 (12:58 -0300)]
Fix #440
Christopher Lees [Wed, 23 Nov 2016 14:42:29 +0000 (14:42 +0000)]
Fix wrong XML param name tag
varon [Tue, 22 Nov 2016 23:22:32 +0000 (01:22 +0200)]
Merge pull request #450 from varon/readme-maintainer-request
Add request for maintainers to readme
varon [Tue, 22 Nov 2016 23:10:30 +0000 (01:10 +0200)]
Add request for maintainers to readme
varon [Mon, 24 Oct 2016 10:20:14 +0000 (12:20 +0200)]
Merge pull request #434 from bawaaaaah/patch-1
Fix wrong obsolete message
Samuel Lemaitre [Fri, 30 Sep 2016 13:07:48 +0000 (15:07 +0200)]
Fix wrong obsolete message
Fix wrong obsolete message for method "public static Matrix4 Rotate(Quaternion q)"
from CreateRotation to CreateFromQuaternion
varon [Fri, 23 Sep 2016 18:51:52 +0000 (20:51 +0200)]
Update readme for 2.0.0 release news (#431)
* Update readme with 2.0.0 news
* Fix link; Add note about OpenTK.Next.
* better markdown formatting for older news entries
Harry [Fri, 23 Sep 2016 14:41:22 +0000 (16:41 +0200)]
Merge pull request #427 from varon/nuget-name-fix
Fix OpenTK assembly name error
varon [Sun, 18 Sep 2016 23:36:11 +0000 (01:36 +0200)]
fix OpenTK assembly name error.
Harry [Mon, 15 Aug 2016 08:23:06 +0000 (10:23 +0200)]
Merge pull request #418 from varon/fake-build-system
New build system
varon [Mon, 15 Aug 2016 07:41:55 +0000 (09:41 +0200)]
execute permission on build.sh
varon [Mon, 18 Jul 2016 16:02:28 +0000 (18:02 +0200)]
Converted paket templates to project types again
varon [Mon, 18 Jul 2016 09:43:00 +0000 (11:43 +0200)]
Added nuget packages to appveyor artifacts
varon [Mon, 18 Jul 2016 09:38:02 +0000 (11:38 +0200)]
Removed debug output from build.fsx
varon [Mon, 18 Jul 2016 09:23:11 +0000 (11:23 +0200)]
Corrected project exclusions
varon [Mon, 18 Jul 2016 00:00:20 +0000 (02:00 +0200)]
Updated CI server build commands to produce NuGet packages.
varon [Sun, 17 Jul 2016 23:59:29 +0000 (01:59 +0200)]
Temporarily disabled GLWidget from builds
varon [Sun, 17 Jul 2016 23:52:40 +0000 (01:52 +0200)]
Updated GLWidget to .net 4.5; Added GtkSharp dependency for it.
varon [Sun, 17 Jul 2016 23:45:12 +0000 (01:45 +0200)]
temporarily disabled Xamarin build elements for CI testing
varon [Sun, 17 Jul 2016 23:42:48 +0000 (01:42 +0200)]
Updated README instructions
varon [Sun, 17 Jul 2016 23:31:28 +0000 (01:31 +0200)]
Possible fix for mono pathing issues on CI