platform/core/csapi/opentk.git
10 years ago[Bind] Concatenate multiline documentation
thefiddler [Sun, 30 Mar 2014 08:29:11 +0000 (10:29 +0200)]
[Bind] Concatenate multiline documentation

10 years ago[Bind] Process documentation from subdirectories
thefiddler [Fri, 28 Mar 2014 19:08:38 +0000 (20:08 +0100)]
[Bind] Process documentation from subdirectories

Instead of using xslt, we now process the documentation in code. This
allows us to fix mismatches from e.g. invalid parameter names that
sometimes creep in the specs.

10 years ago[Bind] Added documentation files for OpenGL ES
thefiddler [Fri, 28 Mar 2014 19:06:55 +0000 (20:06 +0100)]
[Bind] Added documentation files for OpenGL ES

10 years ago[Build] Updated copyright information
thefiddler [Tue, 18 Mar 2014 13:29:41 +0000 (14:29 +0100)]
[Build] Updated copyright information

10 years ago[Build] Set revision to 0 outside source control
thefiddler [Tue, 18 Mar 2014 13:28:52 +0000 (14:28 +0100)]
[Build] Set revision to 0 outside source control

This ensures that properly built packages take precedence to incorrectly
built packages.

10 years ago[GL] Added missing [Rgba]16Snorm texture formats
thefiddler [Tue, 18 Mar 2014 11:08:02 +0000 (12:08 +0100)]
[GL] Added missing [Rgba]16Snorm texture formats

See https://www.opengl.org/sdk/docs/man4/html/glTexImage2D.xhtml or the
4.4 spec, section 8.5, table "Sized internal color formats".

10 years agoMerge pull request #85 from csantosbh/develop
thefiddler [Tue, 18 Mar 2014 08:50:03 +0000 (09:50 +0100)]
Merge pull request #85 from csantosbh/develop

Centering the cursor at (width/2, height/2) when the mouse is hidden

10 years agoCentering the cursor at (width/2, height/2), effectively fixing
csantos [Tue, 18 Mar 2014 04:44:52 +0000 (01:44 -0300)]
Centering the cursor at (width/2, height/2), effectively fixing
the issue described in https://github.com/mono/MonoGame/issues/2283

10 years ago[Docs] Removed Changelog.txt from Build.Docs project
thefiddler [Sun, 16 Mar 2014 23:58:48 +0000 (00:58 +0100)]
[Docs] Removed Changelog.txt from Build.Docs project

10 years ago[Docs] Removed Changelog.txt
thefiddler [Sun, 16 Mar 2014 23:56:04 +0000 (00:56 +0100)]
[Docs] Removed Changelog.txt

A complete changelog can be found using git or by browsing github

10 years ago[Docs] Updated documentation for 1.1.1 release
thefiddler [Sun, 16 Mar 2014 23:53:46 +0000 (00:53 +0100)]
[Docs] Updated documentation for 1.1.1 release

10 years agoMerge remote-tracking branch 'origin/issue64' into develop
thefiddler [Sun, 16 Mar 2014 23:51:28 +0000 (00:51 +0100)]
Merge remote-tracking branch 'origin/issue64' into develop

10 years ago[Win] Invert vertical axes to match 1.0 API
thefiddler [Sun, 16 Mar 2014 23:43:36 +0000 (00:43 +0100)]
[Win] Invert vertical axes to match 1.0 API

The 1.0 API defines +y as up and -y as down. This matches XInput but
disagrees with WinMM, where we have to invert the vertical axes.

10 years ago[Input] LegacyJoystickDriver now reports hat pos
thefiddler [Sun, 16 Mar 2014 23:30:19 +0000 (00:30 +0100)]
[Input] LegacyJoystickDriver now reports hat pos

10 years ago[Input] JoystickHatState is now IEquatable
thefiddler [Sun, 16 Mar 2014 23:30:04 +0000 (00:30 +0100)]
[Input] JoystickHatState is now IEquatable

10 years ago[Input] JoystickState.ToString now prints hat pos
thefiddler [Sun, 16 Mar 2014 23:29:45 +0000 (00:29 +0100)]
[Input] JoystickState.ToString now prints hat pos

10 years ago[Win] Joystick driver now reports hat positions
thefiddler [Sun, 16 Mar 2014 23:29:12 +0000 (00:29 +0100)]
[Win] Joystick driver now reports hat positions

10 years ago[Docs] Updated documentation for 1.1.1 release
thefiddler [Sun, 16 Mar 2014 22:29:21 +0000 (23:29 +0100)]
[Docs] Updated documentation for 1.1.1 release

10 years ago[SDL2] On Mac, OpenGL 3.0 or 3.1 should create 3.2 context
thefiddler [Sun, 16 Mar 2014 21:50:12 +0000 (22:50 +0100)]
[SDL2] On Mac, OpenGL 3.0 or 3.1 should create 3.2 context

SDL2/Mac fails to create a 3.0 or 3.1 OpenGL context. We implicitly
bump version to 3.2, otherwise 3.0 or 3.1 would give a 2.1 context.

10 years ago[ES] Fixed loading of OpenGL ES core API
thefiddler [Sun, 16 Mar 2014 18:40:49 +0000 (19:40 +0100)]
[ES] Fixed loading of OpenGL ES core API

eglGetProcAddress cannot be used to retrieve
entry points of core functions. Instead, we
use [DllImport] for core functions and function
pointers for extension functions.

Squashed commit of the following:

commit 0b84aa6ef78dfa3600b81fc412eb192f2a87e40c
Author: thefiddler <stapostol@gmail.com>
Date:   Sat Mar 15 02:24:58 2014 +0100

    [Examples] Rolled back changes to Example browser

commit 1acfbaac3d17184debdbbe872c58ac07d1b37c0a
Author: thefiddler <stapostol@gmail.com>
Date:   Sat Mar 15 02:20:57 2014 +0100

    [Examples] Rolled back WinForms example

commit 835d9d6035a890bd3426566929fbfd25c493eca0
Author: thefiddler <stapostol@gmail.com>
Date:   Sat Mar 15 01:15:01 2014 +0100

    [Examples] Rolled back erroneous GLControl mods

commit 056418014f0e835e83fb85b54b8749519a555364
Author: thefiddler <stapostol@gmail.com>
Date:   Fri Mar 14 23:11:11 2014 +0100

    [Rewrite] Remove calli prototypes

    When a function is called indirectly via a function pointer, its
    prototype is not required (the prototype is added as a callsite at the
    calli invocation.) Removing these prototypes reduces binary size by
    roughly 400KB.

commit 353a16ec2836c597150d2fab28581e7c264b2b39
Author: thefiddler <stapostol@gmail.com>
Date:   Fri Mar 14 22:31:25 2014 +0100

    [Rewrite] Call DllImports directly

    When a function does not have an allocated slot (i.e. slot = -1), then
    we will call its DllImport signature directly.

commit 9a5313e4b7afb10b698d255e4b5637887bf71cf3
Author: thefiddler <stapostol@gmail.com>
Date:   Fri Mar 14 22:30:04 2014 +0100

    [Bind] Do not allocate slots for DllImports

commit 6ac5342409363cac0e59f9dc669948b319bd20a9
Author: thefiddler <stapostol@gmail.com>
Date:   Fri Mar 14 22:29:07 2014 +0100

    [Bind] Added option to use DllImports

    This is necessary for the core functionality of OpenGL ES, where
    eglGetProcAddress returns null or garbage (the latter on Android.)

10 years ago[Graphics] Init OpenTK when creating external context
thefiddler [Thu, 13 Mar 2014 18:51:29 +0000 (19:51 +0100)]
[Graphics] Init OpenTK when creating external context

Fixes issue #52

10 years ago[Graphics] Regenerated with newest generator
thefiddler [Thu, 13 Mar 2014 18:44:33 +0000 (19:44 +0100)]
[Graphics] Regenerated with newest generator

10 years agoMerge branch 'gl_Mar2014' into develop
thefiddler [Thu, 13 Mar 2014 18:39:37 +0000 (19:39 +0100)]
Merge branch 'gl_Mar2014' into develop

10 years ago[Graphics] Documented parameter length
thefiddler [Thu, 13 Mar 2014 18:38:12 +0000 (19:38 +0100)]
[Graphics] Documented parameter length

Fixes issue #15

10 years agoMerge remote-tracking branch 'frassle/compsize' into develop
thefiddler [Thu, 13 Mar 2014 18:34:58 +0000 (19:34 +0100)]
Merge remote-tracking branch 'frassle/compsize' into develop

10 years ago[Graphics] Synced with Khronos repository
thefiddler [Thu, 13 Mar 2014 17:46:01 +0000 (18:46 +0100)]
[Graphics] Synced with Khronos repository

Adds:
- INTEL_performance_query extension
- “count” attribute fixes for multiple functions

10 years ago[Bind] Clean up BindStreamWriter implementation
thefiddler [Thu, 13 Mar 2014 17:44:36 +0000 (18:44 +0100)]
[Bind] Clean up BindStreamWriter implementation

Instead of inheriting and overriding StreamWriter methods, it now
forwards its parameters to an internal StreamWriter, after applying the
necessary formatting changes.

This shields us from the StreamWriter implementation differences
between .Net and Mono.

10 years ago[Bind] Added overloads for backwards compatibility
thefiddler [Thu, 13 Mar 2014 17:42:37 +0000 (18:42 +0100)]
[Bind] Added overloads for backwards compatibility

10 years ago[Graphics] Improve compatibility with Feb2014 release (WIP)
thefiddler [Thu, 13 Mar 2014 10:56:21 +0000 (11:56 +0100)]
[Graphics] Improve compatibility with Feb2014 release (WIP)

10 years agoFix discrepancies between mono and .net
thefiddler [Wed, 12 Mar 2014 17:13:05 +0000 (18:13 +0100)]
Fix discrepancies between mono and .net

10 years agoUpdated OpenGL definitions
thefiddler [Wed, 12 Mar 2014 17:12:38 +0000 (18:12 +0100)]
Updated OpenGL definitions

10 years agoFixed NRE when calling Toolkit.Dispose() more than once.
thefiddler [Tue, 11 Mar 2014 15:00:25 +0000 (16:00 +0100)]
Fixed NRE when calling Toolkit.Dispose() more than once.

10 years agoMerge branch 'issue69' into develop
thefiddler [Tue, 11 Mar 2014 14:01:09 +0000 (15:01 +0100)]
Merge branch 'issue69' into develop

10 years agoMerge remote-tracking branch 'frassle/warnings' into develop
thefiddler [Tue, 11 Mar 2014 13:57:36 +0000 (14:57 +0100)]
Merge remote-tracking branch 'frassle/warnings' into develop

10 years agoAdd length helper text to params.
Fraser Waters [Mon, 10 Mar 2014 22:13:53 +0000 (22:13 +0000)]
Add length helper text to params.

If a param has ComputeSize text add [length: {0}] helper text to the documentation.

10 years agoStore count attribue in ComputeSize.
Fraser Waters [Mon, 10 Mar 2014 22:13:26 +0000 (22:13 +0000)]
Store count attribue in ComputeSize.

Also remove the COMPSIZE() text if present.

10 years agoAdd string ComputeSize to Parameter.
Fraser Waters [Mon, 10 Mar 2014 21:40:26 +0000 (21:40 +0000)]
Add string ComputeSize to Parameter.

10 years ago[GameWindow] Do not override Target*Frequency in GameWindow.Run()
thefiddler [Thu, 6 Mar 2014 13:16:30 +0000 (14:16 +0100)]
[GameWindow] Do not override Target*Frequency in GameWindow.Run()

This patch makes the following code work as expected:
```csharp
var gw = new GameWindow();
gw.TargetRenderFrequency = 60;
gw.Run();
```
Fixes issue #69

10 years agoMerge remote-tracking branch 'sappharad/develop' into develop
thefiddler [Thu, 27 Feb 2014 19:09:01 +0000 (20:09 +0100)]
Merge remote-tracking branch 'sappharad/develop' into develop

10 years agoCall the new code instead of leaving the old version untouched
Paul Kratt [Wed, 26 Feb 2014 00:52:34 +0000 (18:52 -0600)]
Call the new code instead of leaving the old version untouched

10 years agoUpdate spacing and formatting to match existing style
Paul Kratt [Sat, 22 Feb 2014 17:28:14 +0000 (11:28 -0600)]
Update spacing and formatting to match existing style

10 years agoFix potential exception that I was ignoring.
Paul Kratt [Sat, 22 Feb 2014 03:36:22 +0000 (21:36 -0600)]
Fix potential exception that I was ignoring.

This can happen, so we should handle it

10 years agoMake GLControl work on OS X
Paul Kratt [Fri, 21 Feb 2014 02:27:17 +0000 (20:27 -0600)]
Make GLControl work on OS X

This isn’t the greatest solution, but at least it doesn’t require us to
reference WinForms in OpenTK and it works perfectly for what I’m using.

10 years agoRemove unused fields and variables.
Fraser Waters [Sat, 22 Feb 2014 21:02:46 +0000 (21:02 +0000)]
Remove unused fields and variables.

10 years agoModalLoopCallback is never assigned.
Fraser Waters [Sat, 22 Feb 2014 21:02:23 +0000 (21:02 +0000)]
ModalLoopCallback is never assigned.

ModalLoopCallback is never assigned, so always has it's default value
null. Replace all uses of ModalLoopCallback with null.

10 years agoDisable Obsolete warning.
Fraser Waters [Sat, 22 Feb 2014 21:01:19 +0000 (21:01 +0000)]
Disable Obsolete warning.

IGraphicsContext.VSync property is obsolete, but we have to call it in
the GraphicsContext.VSync implementation, so disable the obsolete
warning for this one use.

10 years agoFix XML documentation.
Fraser Waters [Sat, 22 Feb 2014 20:55:48 +0000 (20:55 +0000)]
Fix XML documentation.

10 years agoFix compile warnings in Converter.
Fraser Waters [Sat, 22 Feb 2014 20:25:24 +0000 (20:25 +0000)]
Fix compile warnings in Converter.

10 years agoFix compile warnings in Examples.
Fraser Waters [Sat, 22 Feb 2014 19:55:34 +0000 (19:55 +0000)]
Fix compile warnings in Examples.

This commit fixes every current warning in the Example code bar two.
Both due to the use of the OpenTK.GameWindow.Joysticks.

10 years agoMerge branch 'keymod' into develop
thefiddler [Tue, 25 Feb 2014 00:15:06 +0000 (01:15 +0100)]
Merge branch 'keymod' into develop

10 years ago[X11] Fixed KeyUp event arguments
thefiddler [Mon, 17 Feb 2014 23:30:32 +0000 (00:30 +0100)]
[X11] Fixed KeyUp event arguments

KeyUp event was incorrectly fired with KeyDownEventArgs instead of KeyUpEventArgs. This is now fixed.

10 years ago[Examples] Display modifier key information
thefiddler [Mon, 17 Feb 2014 22:28:29 +0000 (23:28 +0100)]
[Examples] Display modifier key information

10 years ago[X11] Implemented modifier keys
thefiddler [Mon, 17 Feb 2014 22:21:25 +0000 (23:21 +0100)]
[X11] Implemented modifier keys

10 years ago[Win] Implemented modifier keys
thefiddler [Mon, 17 Feb 2014 22:21:13 +0000 (23:21 +0100)]
[Win] Implemented modifier keys

10 years ago[Input] Implemented GetModifiers() method
thefiddler [Mon, 17 Feb 2014 22:21:01 +0000 (23:21 +0100)]
[Input] Implemented GetModifiers() method

10 years ago[SDL2] Implemented modifier keys
thefiddler [Mon, 17 Feb 2014 22:20:29 +0000 (23:20 +0100)]
[SDL2] Implemented modifier keys

Additionally, removed event watch callback in favor of calling
PollEvent() directly in ProcessEvents, which should be more efficient.

10 years ago[Input] Added modifier keys to KeyboardKeyEventArgs
thefiddler [Mon, 17 Feb 2014 22:18:51 +0000 (23:18 +0100)]
[Input] Added modifier keys to KeyboardKeyEventArgs

10 years ago[SDL2] Added PeepEvents/PollEvent functions
thefiddler [Mon, 17 Feb 2014 22:17:34 +0000 (23:17 +0100)]
[SDL2] Added PeepEvents/PollEvent functions

10 years ago[SDL2] Corrected win/alt key mapping (was swapped previously)
thefiddler [Mon, 17 Feb 2014 22:17:13 +0000 (23:17 +0100)]
[SDL2] Corrected win/alt key mapping (was swapped previously)

10 years ago[Mac] Implemented modifier keys
thefiddler [Mon, 17 Feb 2014 22:16:34 +0000 (23:16 +0100)]
[Mac] Implemented modifier keys

10 years ago[Input] Added KeyModifiers enumeration
thefiddler [Mon, 17 Feb 2014 19:32:42 +0000 (20:32 +0100)]
[Input] Added KeyModifiers enumeration

KeyModifiers are represented as a bitwise combination of the Alt,
Control and Shift keys.

10 years agoMerge branch 'calli' into develop
thefiddler [Tue, 25 Feb 2014 00:09:31 +0000 (01:09 +0100)]
Merge branch 'calli' into develop

10 years ago[Build] Added -debug to Rewrite commandline parameters
thefiddler [Mon, 24 Feb 2014 21:52:08 +0000 (22:52 +0100)]
[Build] Added -debug to Rewrite commandline parameters

10 years ago[Build] Fixed ErrorHelper local variable
thefiddler [Mon, 24 Feb 2014 21:33:12 +0000 (22:33 +0100)]
[Build] Fixed ErrorHelper local variable

We need to emit a ldloca instruction before constructing the
ErrorHelper instance, in order to reference it in the finally
block below.

10 years ago[Rewrite] Fixed exit from try-finally block
thefiddler [Mon, 24 Feb 2014 17:22:04 +0000 (18:22 +0100)]
[Rewrite] Fixed exit from try-finally block

10 years agoAdd ErrorHelper to bindings.
Fraser [Thu, 20 Feb 2014 20:12:38 +0000 (20:12 +0000)]
Add ErrorHelper to bindings.

Wrap new generated binding calls with using ErrorHelper. Sets up a try
to call the method in and a finally block to call Dispose on the
ErrorHelper. Currently hardcoded to only work for the graphics modules.

10 years agoSquashed commit of the following:
thefiddler [Mon, 24 Feb 2014 22:27:49 +0000 (23:27 +0100)]
Squashed commit of the following:

commit db75670cb94a61b78e4e096f995fab6d5349978a
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 23:26:49 2014 +0100

    [Build] Build both debug and release configurations

commit 2a4a1dbc19d7ef2e12d3f4bb63b0e29b108e5050
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 23:20:51 2014 +0100

    [Build] Invoke xbuild once now that build order is fixed

commit 63b724d70e6b969dee11a740e5ac50e343cdcc48
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 23:19:23 2014 +0100

    [Build] Maintain support for VS2012

commit d9aed1173373625d583b462bd8e0cad373246412
Author: Stefanos A <stapostol@gmail.com>
Date:   Mon Feb 24 23:16:57 2014 +0100

    [Build] Attempt to fix xbuild build order

10 years ago[Build] Test build OpenTK with mono 3.2.6 and 2.10.11
thefiddler [Mon, 24 Feb 2014 15:23:17 +0000 (16:23 +0100)]
[Build] Test build OpenTK with mono 3.2.6 and 2.10.11

Squashed commit of the following:

commit 15ec03cd3f5f09ed88c51b62393fd6fa3476b03a
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 15:53:18 2014 +0100

    [Build] Fixed missing '' typo

commit 9e3dcad6124db52ec9035a8e6126244d9c856bfd
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 15:27:07 2014 +0100

    [Build] Install mono either from pwd or from mounted /Volume

commit b7303b68eaf3f4867e73a89fd22bd11caecf4f38
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 15:21:40 2014 +0100

    [Build] Do not stop build when wget fails

    The build stops iff no valid mono framework can be installed

commit 875c23294e6adc5061589576c6eabd43894ae9dd
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 15:13:08 2014 +0100

    [Build] Fix 3.2.x and 2.10.x mono download urls

commit 7bcbc789ce89cd16e06d5a62b05dd249432fcba0
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 11:58:57 2014 +0100

    [Build] Use .pkg file for mono installation on Travis

commit 60fef5aa7db9929c99ef22a778c87f634bcba266
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 11:43:12 2014 +0100

    [Build] Detect *.yml as text files

commit 7fb42856f187cb0503494523d2e524df8bda1cbc
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 11:40:07 2014 +0100

    [Build] Move first xbuild run to pre-build scripts

commit e1cfcf76202ba82d196cc6dceabb25c93c24ef87
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 11:38:19 2014 +0100

    [Build] Fixed mono 3.2.6 download url

commit c6941844353b53a7e8fb614565243ffbc31679d7
Author: thefiddler <stapostol@gmail.com>
Date:   Mon Feb 24 11:32:16 2014 +0100

    [Build] Run xbuild twice for GlobalAssemblyInfo.cs

    This works around an issue in xbuild, where pre-build events
    are not resolved correctly. The first run generates
    GlobalAssemblyInfo.cs; the second run actually builds the project

10 years agoAdded Travis-CI build script
thefiddler [Mon, 24 Feb 2014 10:24:16 +0000 (11:24 +0100)]
Added Travis-CI build script

10 years ago[EGL] Removed unnecessary OpenTK.Platform.Windows reference
thefiddler [Fri, 21 Feb 2014 13:04:33 +0000 (14:04 +0100)]
[EGL] Removed unnecessary OpenTK.Platform.Windows reference

10 years agoFixed line breaks in release notes again
Benjamin Nitschke [Mon, 17 Feb 2014 18:46:22 +0000 (19:46 +0100)]
Fixed line breaks in release notes again

links require extra new lines

10 years agoFixed line breaks in release notes
Benjamin Nitschke [Mon, 17 Feb 2014 18:45:32 +0000 (19:45 +0100)]
Fixed line breaks in release notes

10 years agoAdded stable release notes and nuget package links
Benjamin Nitschke [Mon, 17 Feb 2014 18:44:15 +0000 (19:44 +0100)]
Added stable release notes and nuget package links

10 years ago[Doc] Generate oxygen reference for OpenGL/AL
thefiddler [Sun, 16 Feb 2014 16:10:49 +0000 (17:10 +0100)]
[Doc] Generate oxygen reference for OpenGL/AL

This is useful, even though it takes a lot of time and generates large
files.

10 years ago[Doc] Add links to OpenTK manual and API reference
thefiddler [Sun, 16 Feb 2014 16:10:10 +0000 (17:10 +0100)]
[Doc] Add links to OpenTK manual and API reference

10 years ago[Doc] Updated version number in doxygen documentation
thefiddler [Sun, 16 Feb 2014 15:21:30 +0000 (16:21 +0100)]
[Doc] Updated version number in doxygen documentation

10 years ago[Doc] Removed deprecated doxygen directives
thefiddler [Sun, 16 Feb 2014 14:30:38 +0000 (15:30 +0100)]
[Doc] Removed deprecated doxygen directives

10 years ago[Doc] Fixed doxygen latex-to-pdf conversion
thefiddler [Sun, 16 Feb 2014 14:30:22 +0000 (15:30 +0100)]
[Doc] Fixed doxygen latex-to-pdf conversion

pdflatex will fail when a <seealso> elements is placed within a
<summary> element. This is now fixed.

10 years ago[Doc] Removed pdf OpenGL/AL specifications in favor of html links
thefiddler [Sun, 16 Feb 2014 12:20:36 +0000 (13:20 +0100)]
[Doc] Removed pdf OpenGL/AL specifications in favor of html links

This reduces download size significantly without loss in functionality.

10 years ago[Doc] Updated documentation for release
Stefanos A. [Sun, 16 Feb 2014 11:01:52 +0000 (12:01 +0100)]
[Doc] Updated documentation for release

10 years ago[Win] Do not raise KeyPress for control chars
Stefanos A. [Thu, 13 Feb 2014 13:01:35 +0000 (14:01 +0100)]
[Win] Do not raise KeyPress for control chars

This matches the documented behavior of the GameWindow.KeyPress event.

10 years ago[OpenTK] Make VB.Net overload resolution happy
Stefanos A. [Wed, 12 Feb 2014 15:14:00 +0000 (16:14 +0100)]
[OpenTK] Make VB.Net overload resolution happy

GLHelper.cs contains a number of overloads that cannot be resolved by
VB.Net. We cannot remove them, as that will break
backward-compatibility, but we can hide them by moving them after the
autogenerated overloads in GL.cs.

Terrible hack, but it appears to work.

Issue originally reported at http://www.opentk.com/node/3554 as "OpenTK
1.1, VB.net and ambiguous functions."

10 years agoMerge pull request #58 from Frassle/develop
thefiddler [Tue, 11 Feb 2014 22:54:47 +0000 (23:54 +0100)]
Merge pull request #58 from Frassle/develop

Replace non-breaking space.

10 years agoRemove non-breaking space.
Fraser Waters [Tue, 11 Feb 2014 16:36:31 +0000 (16:36 +0000)]
Remove non-breaking space.

Causes the build on Ubuntu to fail.

10 years agoMerge branch 'joyhat' into develop
Stefanos A [Mon, 10 Feb 2014 09:54:22 +0000 (10:54 +0100)]
Merge branch 'joyhat' into develop

10 years ago[GL] Do not limit strings to StringBuilder.Capacity. Fixes issue #57
thefiddler [Fri, 7 Feb 2014 14:57:36 +0000 (15:57 +0100)]
[GL] Do not limit strings to StringBuilder.Capacity. Fixes issue #57

We let StringBuilder grow to fit the unmanaged string. This appears to
match the default CLR marshaling behavior, which was used in OpenTK 1.0.

10 years ago[GL][ES] Mark DebugProc* delegates as unmanaged function pointers
thefiddler [Thu, 6 Feb 2014 14:01:05 +0000 (15:01 +0100)]
[GL][ES] Mark DebugProc* delegates as unmanaged function pointers

Calling convention is platform-dependent: stdcall on Windows, cdecl
elsewhere. This maps to CallingConvention.Winapi in .Net parlance.

10 years agoMerge pull request #56 from l3m/matrix4d-axis-angle
thefiddler [Thu, 6 Feb 2014 09:33:09 +0000 (10:33 +0100)]
Merge pull request #56 from l3m/matrix4d-axis-angle

Updated Matrix4d.FromAxisAngle to mirror the Matrix4 version.

10 years ago[GL] Fixed invalid IL instruction in Get*() and Delete*() functions
thefiddler [Tue, 4 Feb 2014 15:07:58 +0000 (16:07 +0100)]
[GL] Fixed invalid IL instruction in Get*() and Delete*() functions

10 years ago[GL] Added missing ActiveUniformType.FloatMat3x2 token
thefiddler [Tue, 4 Feb 2014 13:26:52 +0000 (14:26 +0100)]
[GL] Added missing ActiveUniformType.FloatMat3x2 token

10 years agoUpdated Matrix4d.FromAxisAngle to mirror the Matrix4 version.
Jonas Boesch [Tue, 4 Feb 2014 13:03:59 +0000 (14:03 +0100)]
Updated Matrix4d.FromAxisAngle to mirror the Matrix4 version.

10 years agoMerged remote-tracking branch 'l3m/matrix4d-quat-fix' into develop
thefiddler [Mon, 3 Feb 2014 10:11:36 +0000 (11:11 +0100)]
Merged remote-tracking branch 'l3m/matrix4d-quat-fix' into develop

Updated the Matrix4d CreateFromQuaternion methods to actually create
Matrix4d. They now mirror the Matrix4 CreateFromQuaternion methods,
just using doubles and the -d classes.

Previously, Matrix4d.CreateFromQuaterion actually created a Matrix4
from a single-precision Quaterion.

10 years ago[Win] Do not create second WinMMJoystick instance
Stefanos A. [Sat, 1 Feb 2014 15:03:07 +0000 (16:03 +0100)]
[Win] Do not create second WinMMJoystick instance

10 years ago[Win] Query WinMM joysticks on devicechange event
Stefanos A. [Sat, 1 Feb 2014 15:02:02 +0000 (16:02 +0100)]
[Win] Query WinMM joysticks on devicechange event

10 years ago[Win] Cache WinMM joystick capabilities
Stefanos A. [Sat, 1 Feb 2014 15:01:33 +0000 (16:01 +0100)]
[Win] Cache WinMM joystick capabilities

10 years ago[Input] Fixed SetButton index check
Stefanos A. [Fri, 31 Jan 2014 15:40:57 +0000 (16:40 +0100)]
[Input] Fixed SetButton index check

10 years ago[Input] Fixed compilation error
Stefanos A. [Fri, 31 Jan 2014 15:37:36 +0000 (16:37 +0100)]
[Input] Fixed compilation error

10 years ago[Mac] Implemented JoystickHat support
thefiddler [Fri, 31 Jan 2014 15:17:04 +0000 (16:17 +0100)]
[Mac] Implemented JoystickHat support

10 years ago[Input] Added JoystickCapabilities.HatCount
thefiddler [Fri, 31 Jan 2014 14:40:07 +0000 (15:40 +0100)]
[Input] Added JoystickCapabilities.HatCount

10 years ago[SDL2] Implemented support for hat state
thefiddler [Fri, 31 Jan 2014 14:03:51 +0000 (15:03 +0100)]
[SDL2] Implemented support for hat state