platform/core/csapi/opentk.git
6 years agoUpdate options to the new v2 API.
Jarl Gullberg [Thu, 20 Jul 2017 20:43:13 +0000 (22:43 +0200)]
Update options to the new v2 API.

6 years agoUpdated calls to Rewrite in the OpenTK project.
Jarl Gullberg [Mon, 26 Jun 2017 19:24:32 +0000 (21:24 +0200)]
Updated calls to Rewrite in the OpenTK project.

6 years agoInverted unclear check and changed it check the dllimport option directly.
Jarl Gullberg [Mon, 26 Jun 2017 19:13:02 +0000 (21:13 +0200)]
Inverted unclear check and changed it check the dllimport option directly.

6 years agoRemoved passing of options and replaced checks with option object access.
Jarl Gullberg [Mon, 26 Jun 2017 19:11:59 +0000 (21:11 +0200)]
Removed passing of options and replaced checks with option object access.

6 years agoAdded some early argument verification.
Jarl Gullberg [Mon, 26 Jun 2017 19:05:58 +0000 (21:05 +0200)]
Added some early argument verification.

6 years agoAdded option parsing to the main program.
Jarl Gullberg [Mon, 26 Jun 2017 19:01:30 +0000 (21:01 +0200)]
Added option parsing to the main program.

6 years agoAdded help option and moved required argument to the top.
Jarl Gullberg [Mon, 26 Jun 2017 19:01:01 +0000 (21:01 +0200)]
Added help option and moved required argument to the top.

6 years agoAdded option class.
Jarl Gullberg [Mon, 26 Jun 2017 18:53:12 +0000 (20:53 +0200)]
Added option class.

6 years agoAdd CommandLineParser to Generator.Rewrite.
Jarl Gullberg [Fri, 4 Aug 2017 20:21:56 +0000 (22:21 +0200)]
Add CommandLineParser to Generator.Rewrite.

6 years agoMerge pull request #618 from Nihlus/myget-continuous-nuget
Jarl Gullberg [Mon, 14 Aug 2017 17:11:19 +0000 (19:11 +0200)]
Merge pull request #618 from Nihlus/myget-continuous-nuget

Add continuous MyGet package feed

6 years agoMerge pull request #623 from Nihlus/enable-xml-doc-output
Jarl Gullberg [Mon, 14 Aug 2017 17:11:07 +0000 (19:11 +0200)]
Merge pull request #623 from Nihlus/enable-xml-doc-output

Enable XML documentation output for supporting projects

6 years agoFix out String parameters
Fraser Waters [Sun, 13 Aug 2017 13:36:51 +0000 (14:36 +0100)]
Fix out String parameters

6 years agoRemove unused variables in Rewrite
Fraser Waters [Sun, 13 Aug 2017 13:34:19 +0000 (14:34 +0100)]
Remove unused variables in Rewrite

6 years agoMerge pull request #632 from UnknownShadow200/develop
Fraser Waters [Tue, 8 Aug 2017 16:53:41 +0000 (17:53 +0100)]
Merge pull request #632 from UnknownShadow200/develop

X11DisplayDevice - Use XRRSizes array directly if dev.Bounds is empty

6 years agoMissed one replacement of current_resolution_index to current_sizes_index
UnknownShadow200 [Tue, 8 Aug 2017 00:03:38 +0000 (10:03 +1000)]
Missed one replacement of current_resolution_index to current_sizes_index

6 years agoFix SA1000 in Platform\iPhoneOS\iPhoneOSGameView.cs
Fraser Waters [Mon, 7 Aug 2017 16:57:40 +0000 (17:57 +0100)]
Fix SA1000 in Platform\iPhoneOS\iPhoneOSGameView.cs

Fixes "The keyword 'typeof' must not be followed by a space."

6 years agoX11DisplayDevice - Use XRRSizes array directly if dev.Bounds is empty
UnknownShadow200 [Mon, 7 Aug 2017 14:13:23 +0000 (00:13 +1000)]
X11DisplayDevice - Use XRRSizes array directly if dev.Bounds is empty

Directly indexing into the array returned from XRRSizes is the way khronos recommends at https://www.khronos.org/opengl/wiki/Programming_OpenGL_in_Linux:_Changing_the_Screen_Resolution

The old way was multiplying that index by depths.Length, as an index into the available_res list. This is incorrect because it doesn't account for when a display device has multiple refresh rates.

6 years agoMerge pull request #625 from Frassle/opengl4.6
Fraser Waters [Sun, 6 Aug 2017 17:39:21 +0000 (18:39 +0100)]
Merge pull request #625 from Frassle/opengl4.6

Add OpenGL 4.6 Support

6 years agoMerge pull request #624 from Nihlus/cocoa-machport-leak-fix
Fraser Waters [Sun, 6 Aug 2017 17:11:09 +0000 (18:11 +0100)]
Merge pull request #624 from Nihlus/cocoa-machport-leak-fix

Fix leaking Cocoa Machports on macOS

6 years agoFix casting bug introduced in 127c6fd6
Fraser Waters [Sun, 6 Aug 2017 17:06:36 +0000 (18:06 +0100)]
Fix casting bug introduced in 127c6fd6

A "&" operator was accidently removed when updating variables to
auto-properties.

6 years agoMerge pull request #630 from UnknownShadow200/develop
Fraser Waters [Sun, 6 Aug 2017 16:55:32 +0000 (17:55 +0100)]
Merge pull request #630 from UnknownShadow200/develop

Allocate SystemDefaultCharSize instead of 1 byte per char for buffer used in WinGLNative.HandleDropFiles

6 years agoUse Marshal.SystemDefaultCharSize instead of hardcoding 2 bytes per char
UnknownShadow200 [Sat, 5 Aug 2017 22:36:51 +0000 (08:36 +1000)]
Use Marshal.SystemDefaultCharSize instead of hardcoding 2 bytes per char

Also move Marshal.FreeHGlobal up because buffer doesn't need to persist after PtrToStringAuto was called.

6 years agoAllocate 2 instead of 1 byte per char for buffer used in WinGLNative.HandleDropFiles
UnknownShadow200 [Sat, 5 Aug 2017 13:56:42 +0000 (23:56 +1000)]
Allocate 2 instead of 1 byte per char for buffer used in WinGLNative.HandleDropFiles

DragQueryFile returns number of characters. Previously, a buffer of 'number of characters' bytes was being allocated.

This change fixes crashing when the platform uses a character set with more than one byte per character. (unicode charset has 2 bytes)

Fixes #626

6 years agoCorrect documentation output directory.
Jarl Gullberg [Fri, 4 Aug 2017 16:47:47 +0000 (18:47 +0200)]
Correct documentation output directory.

6 years agoUse local variable instead of reusing the field.
Jarl Gullberg [Fri, 4 Aug 2017 16:46:17 +0000 (18:46 +0200)]
Use local variable instead of reusing the field.

6 years agoReuse selectors.
Jarl Gullberg [Fri, 4 Aug 2017 16:40:16 +0000 (18:40 +0200)]
Reuse selectors.

6 years agoMove early return out of the autorelease pool.
Jarl Gullberg [Fri, 4 Aug 2017 16:39:44 +0000 (18:39 +0200)]
Move early return out of the autorelease pool.

6 years agoUpdate README and RELEASE_NOTES
Fraser Waters [Fri, 4 Aug 2017 16:23:19 +0000 (17:23 +0100)]
Update README and RELEASE_NOTES

6 years agoRerun Generator.Bind
Fraser Waters [Fri, 4 Aug 2017 15:56:29 +0000 (16:56 +0100)]
Rerun Generator.Bind

6 years agoAdd two new types to Generator.Bind
Fraser Waters [Fri, 4 Aug 2017 15:55:59 +0000 (16:55 +0100)]
Add two new types to Generator.Bind

GLeglClientBufferEXT, and GLVULKANPROCNV. Both are mapped to IntPtrs.

6 years agoRegenerate signatures.xml from OpenGL-Registry
Fraser Waters [Fri, 4 Aug 2017 15:32:26 +0000 (16:32 +0100)]
Regenerate signatures.xml from OpenGL-Registry

Generated from commit c21e602b9fda1d3bbaecb08194592f67e6a0649b
https://github.com/KhronosGroup/OpenGL-Registry/raw/master/xml/gl.xml

6 years agoCorrect screwy formatting.
Jarl Gullberg [Fri, 4 Aug 2017 15:41:45 +0000 (17:41 +0200)]
Correct screwy formatting.

6 years agoBroke the autorelease code out into a class and replaced the usage.
Jarl Gullberg [Sun, 9 Jul 2017 21:13:32 +0000 (23:13 +0200)]
Broke the autorelease code out into a class and replaced the usage.

6 years agoMoved the autorelease pool to the context.
Jarl Gullberg [Thu, 29 Jun 2017 10:43:19 +0000 (12:43 +0200)]
Moved the autorelease pool to the context.

6 years agoImplemented an autorelease pool for Cocoa's NativeWindow implementation.
Jarl Gullberg [Fri, 23 Jun 2017 12:37:11 +0000 (14:37 +0200)]
Implemented an autorelease pool for Cocoa's NativeWindow implementation.

6 years agoCorrect missing parameter documentation.
Jarl Gullberg [Sun, 30 Jul 2017 16:58:19 +0000 (18:58 +0200)]
Correct missing parameter documentation.

6 years agoDocumented Options class in the converter.
Jarl Gullberg [Sun, 30 Jul 2017 16:57:18 +0000 (18:57 +0200)]
Documented Options class in the converter.

6 years agoDocumented WrapperTypes enum.
Jarl Gullberg [Sun, 30 Jul 2017 16:54:43 +0000 (18:54 +0200)]
Documented WrapperTypes enum.

6 years agoDocumented FunctionBody class.
Jarl Gullberg [Sun, 30 Jul 2017 16:52:44 +0000 (18:52 +0200)]
Documented FunctionBody class.

6 years agoAdd missing documentation, and pull indentation in by one.
Jarl Gullberg [Sun, 30 Jul 2017 16:47:40 +0000 (18:47 +0200)]
Add missing documentation, and pull indentation in by one.

6 years agoRemove documentation for missing parameter.
Jarl Gullberg [Sun, 30 Jul 2017 16:46:29 +0000 (18:46 +0200)]
Remove documentation for missing parameter.

6 years agoEnable XML documentation output for the supporting tools.
Jarl Gullberg [Sun, 30 Jul 2017 16:45:52 +0000 (18:45 +0200)]
Enable XML documentation output for the supporting tools.

6 years agoMerge pull request #620 from Nihlus/cleanup-9-symbol-spacing
Jarl Gullberg [Fri, 4 Aug 2017 15:25:29 +0000 (17:25 +0200)]
Merge pull request #620 from Nihlus/cleanup-9-symbol-spacing

[Cleanup] Symbol Spacing

6 years agoAdd comment explaining the release notes overwrite.
Jarl Gullberg [Fri, 4 Aug 2017 11:58:39 +0000 (13:58 +0200)]
Add comment explaining the release notes overwrite.

6 years agoCorrect arithmetic operator position.
Jarl Gullberg [Sun, 30 Jul 2017 15:59:19 +0000 (17:59 +0200)]
Correct arithmetic operator position.

6 years agoCorrect equality comparsion operator position.
Jarl Gullberg [Sun, 30 Jul 2017 15:59:09 +0000 (17:59 +0200)]
Correct equality comparsion operator position.

6 years agoCorrect base call operator position.
Jarl Gullberg [Sun, 30 Jul 2017 15:58:41 +0000 (17:58 +0200)]
Correct base call operator position.

6 years agoCorrect cast operator position.
Jarl Gullberg [Sun, 30 Jul 2017 15:58:15 +0000 (17:58 +0200)]
Correct cast operator position.

6 years agoCorrect cast operator position.
Jarl Gullberg [Sun, 30 Jul 2017 15:47:43 +0000 (17:47 +0200)]
Correct cast operator position.

6 years agoRemove redundant base constructor call.
Jarl Gullberg [Sun, 30 Jul 2017 15:46:43 +0000 (17:46 +0200)]
Remove redundant base constructor call.

6 years agoEnable SA1003.
Jarl Gullberg [Sun, 30 Jul 2017 15:46:28 +0000 (17:46 +0200)]
Enable SA1003.

6 years agoMerge pull request #619 from Nihlus/cleanup-8-semicolon-spacing
Jarl Gullberg [Fri, 4 Aug 2017 10:30:10 +0000 (12:30 +0200)]
Merge pull request #619 from Nihlus/cleanup-8-semicolon-spacing

[Cleanup] Semicolon spacing

6 years agoCorrect semicolon spacing in XWindowInfoInitializer.cs
Jarl Gullberg [Fri, 4 Aug 2017 10:04:59 +0000 (12:04 +0200)]
Correct semicolon spacing in XWindowInfoInitializer.cs

6 years agoCorrect semicolon spacing in API.cs
Jarl Gullberg [Fri, 4 Aug 2017 10:04:46 +0000 (12:04 +0200)]
Correct semicolon spacing in API.cs

6 years agoCorrect semicolon spacing in Generator.Bind.
Jarl Gullberg [Fri, 28 Jul 2017 11:43:22 +0000 (13:43 +0200)]
Correct semicolon spacing in Generator.Bind.

6 years agoCorrect semicolon spacing in OpenTK.
Jarl Gullberg [Fri, 28 Jul 2017 11:43:12 +0000 (13:43 +0200)]
Correct semicolon spacing in OpenTK.

6 years agoEnable SA1002.
Jarl Gullberg [Fri, 28 Jul 2017 11:40:52 +0000 (13:40 +0200)]
Enable SA1002.

6 years agoMerge pull request #613 from Nihlus/cleanup-7-comma-spacing
Jarl Gullberg [Fri, 4 Aug 2017 09:41:19 +0000 (11:41 +0200)]
Merge pull request #613 from Nihlus/cleanup-7-comma-spacing

[Cleanup] Comma spacing

6 years agoAdd a reference to MyGet in the README.
Jarl Gullberg [Fri, 4 Aug 2017 09:30:42 +0000 (11:30 +0200)]
Add a reference to MyGet in the README.

6 years agoAdd MyGet-specific version override.
Jarl Gullberg [Fri, 4 Aug 2017 09:27:34 +0000 (11:27 +0200)]
Add MyGet-specific version override.

6 years agoExtend travis timeout to 20m again.
Jarl Gullberg [Sun, 30 Jul 2017 21:45:56 +0000 (23:45 +0200)]
Extend travis timeout to 20m again.

6 years agoRemove travis timeout override.
Jarl Gullberg [Sun, 30 Jul 2017 21:13:06 +0000 (23:13 +0200)]
Remove travis timeout override.

6 years agoExtend travis timeout to 30m.
Jarl Gullberg [Sun, 30 Jul 2017 18:58:39 +0000 (20:58 +0200)]
Extend travis timeout to 30m.

6 years agoExtend travis timeout to 20m.
Jarl Gullberg [Sun, 30 Jul 2017 18:16:55 +0000 (20:16 +0200)]
Extend travis timeout to 20m.

6 years agoCorrect comma spacing in DisplayService.
Jarl Gullberg [Fri, 28 Jul 2017 11:34:33 +0000 (13:34 +0200)]
Correct comma spacing in DisplayService.

6 years agoCorrect comma spacing in GLObsolete.
Jarl Gullberg [Fri, 28 Jul 2017 11:34:23 +0000 (13:34 +0200)]
Correct comma spacing in GLObsolete.

6 years agoRegenerate bindings to correct comma spacing.
Jarl Gullberg [Fri, 28 Jul 2017 11:25:57 +0000 (13:25 +0200)]
Regenerate bindings to correct comma spacing.

6 years agoCorrect method generation to account for SA1001.
Jarl Gullberg [Fri, 28 Jul 2017 10:56:20 +0000 (12:56 +0200)]
Correct method generation to account for SA1001.

6 years agoCorrect comma spacing in OpenTK, excluding generated files.
Jarl Gullberg [Fri, 28 Jul 2017 10:43:10 +0000 (12:43 +0200)]
Correct comma spacing in OpenTK, excluding generated files.

6 years agoCorrect comma spacing in Generator.Rewrite.
Jarl Gullberg [Fri, 28 Jul 2017 10:38:54 +0000 (12:38 +0200)]
Correct comma spacing in Generator.Rewrite.

6 years agoEnable SA1001.
Jarl Gullberg [Fri, 28 Jul 2017 10:38:39 +0000 (12:38 +0200)]
Enable SA1001.

6 years agoMerge pull request #590 from Frassle/gamewindowtests
Fraser Waters [Wed, 2 Aug 2017 14:04:47 +0000 (15:04 +0100)]
Merge pull request #590 from Frassle/gamewindowtests

GameWindow tests and some X11 fixes

6 years agoMerge pull request #597 from ppy/fix-white-flash
Fraser Waters [Tue, 1 Aug 2017 12:50:30 +0000 (13:50 +0100)]
Merge pull request #597 from ppy/fix-white-flash

Fix white flash when starting GameWindow based application on windows

6 years agoAdd comment regarding performance
Dean Herbert [Mon, 31 Jul 2017 13:31:02 +0000 (22:31 +0900)]
Add comment regarding performance

6 years agoAdd comment about setting background color
Dean Herbert [Mon, 31 Jul 2017 05:55:43 +0000 (14:55 +0900)]
Add comment about setting background color

6 years agoWait for ConfigureNotify when changing X11 Bounds
Fraser Waters [Fri, 28 Jul 2017 16:02:59 +0000 (17:02 +0100)]
Wait for ConfigureNotify when changing X11 Bounds

6 years agoChange client_rectangle to client_size
Fraser Waters [Sun, 30 Jul 2017 20:22:33 +0000 (21:22 +0100)]
Change client_rectangle to client_size

The Location part of client_rectangle was never used.

6 years agoChange X11 entry assembly search and provide null fallback
Fraser Waters [Fri, 28 Jul 2017 15:26:46 +0000 (16:26 +0100)]
Change X11 entry assembly search and provide null fallback

6 years agoStart a virtual framebuffer for travisCI
Fraser Waters [Sun, 23 Jul 2017 15:30:58 +0000 (16:30 +0100)]
Start a virtual framebuffer for travisCI

6 years agoAdd GameWindow tests
Fraser Waters [Sun, 23 Jul 2017 09:50:25 +0000 (10:50 +0100)]
Add GameWindow tests

6 years agoAdd debug actions to run xUnit to Tests.fsproj
Fraser Waters [Sun, 23 Jul 2017 09:49:58 +0000 (10:49 +0100)]
Add debug actions to run xUnit to Tests.fsproj

6 years agoMerge pull request #615 from Nihlus/fake-use-build-instead-of-rebuild
Jarl Gullberg [Sun, 30 Jul 2017 20:53:57 +0000 (22:53 +0200)]
Merge pull request #615 from Nihlus/fake-use-build-instead-of-rebuild

Use the Build target instead of Rebuild in FAKE

6 years agoUse the Build target instead of Rebuild in FAKE to avoid redundant rebuilds.
Jarl Gullberg [Sun, 30 Jul 2017 20:36:16 +0000 (22:36 +0200)]
Use the Build target instead of Rebuild in FAKE to avoid redundant rebuilds.

6 years agoMerge pull request #614 from Nihlus/fix-stylecop-rules-release-rewrtier
Jarl Gullberg [Sun, 30 Jul 2017 16:37:39 +0000 (18:37 +0200)]
Merge pull request #614 from Nihlus/fix-stylecop-rules-release-rewrtier

Move StyleCop properties to global section for rewriter

6 years agoMove StyleCop properties to global section.
Jarl Gullberg [Sun, 30 Jul 2017 16:36:12 +0000 (18:36 +0200)]
Move StyleCop properties to global section.

6 years agoMerge pull request #608 from Nihlus/cleanup-6-keyword-spacing
Jarl Gullberg [Sun, 30 Jul 2017 15:28:04 +0000 (17:28 +0200)]
Merge pull request #608 from Nihlus/cleanup-6-keyword-spacing

Correct keyword spacing

7 years agoMerge pull request #609 from leezer3/RailDriver
Jarl Gullberg [Fri, 28 Jul 2017 11:37:42 +0000 (13:37 +0200)]
Merge pull request #609 from leezer3/RailDriver

Windows HID: Implement generic Consumer device which returns a button collection

7 years agoCorrect keyword spacing in OpenTK.
Jarl Gullberg [Fri, 28 Jul 2017 10:29:22 +0000 (12:29 +0200)]
Correct keyword spacing in OpenTK.

7 years agoCorrect keyword spacing in Generator.Bind.
Jarl Gullberg [Fri, 28 Jul 2017 10:23:33 +0000 (12:23 +0200)]
Correct keyword spacing in Generator.Bind.

7 years agoMerge pull request #607 from Nihlus/purge-regions-mobile
Jarl Gullberg [Fri, 28 Jul 2017 10:13:53 +0000 (12:13 +0200)]
Merge pull request #607 from Nihlus/purge-regions-mobile

Correct mobile projects for StyleCop compliance.

7 years agoUse explicit modifiers for Android code.
Jarl Gullberg [Fri, 28 Jul 2017 10:08:57 +0000 (12:08 +0200)]
Use explicit modifiers for Android code.

7 years agoUse explicit modifiers for iOS code.
Jarl Gullberg [Fri, 28 Jul 2017 10:06:13 +0000 (12:06 +0200)]
Use explicit modifiers for iOS code.

7 years agoRemove regions from iOS and correct brace style.
Jarl Gullberg [Fri, 28 Jul 2017 10:01:28 +0000 (12:01 +0200)]
Remove regions from iOS and correct brace style.

7 years agoRemove regions from Android.
Jarl Gullberg [Fri, 28 Jul 2017 10:01:12 +0000 (12:01 +0200)]
Remove regions from Android.

7 years agoMerge pull request #600 from Nihlus/stylecop-1-initial
Jarl Gullberg [Fri, 28 Jul 2017 09:22:32 +0000 (11:22 +0200)]
Merge pull request #600 from Nihlus/stylecop-1-initial

Add StyleCop.Analyzers to projects

7 years agoMerge pull request #588 from Frassle/issue517
Jarl Gullberg [Fri, 28 Jul 2017 09:22:05 +0000 (11:22 +0200)]
Merge pull request #588 from Frassle/issue517

Change StringBuilder parameters to out Strings

7 years agoFix Helper methods to use out Strings
Fraser Waters [Thu, 27 Jul 2017 11:21:21 +0000 (12:21 +0100)]
Fix Helper methods to use out Strings

7 years agoRun Generator.Bind
Fraser Waters [Thu, 27 Jul 2017 10:56:33 +0000 (11:56 +0100)]
Run Generator.Bind

7 years agoUse "out String" parameters instead of "StringBuilder"
Fraser Waters [Sun, 23 Jul 2017 10:54:40 +0000 (11:54 +0100)]
Use "out String" parameters instead of "StringBuilder"

7 years agoRun Generator.Bind
Fraser Waters [Thu, 27 Jul 2017 10:48:38 +0000 (11:48 +0100)]
Run Generator.Bind