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

7 years agoEmit CountAttributes during binding
Fraser Waters [Mon, 17 Jul 2017 09:39:21 +0000 (10:39 +0100)]
Emit CountAttributes during binding

Adds a new parameter attribute CountAttribute that is emitted during
binding. CountAttribute is based on the "len" attribute in the
specifications. It describes what the expected count/length of the
parameter is.

During rewrite we remove these attributes.

7 years agoUpdate Bind project to Framework 4.6.1
Fraser Waters [Sat, 22 Jul 2017 13:51:10 +0000 (14:51 +0100)]
Update Bind project to Framework 4.6.1

7 years agoMerge pull request #602 from Nihlus/unix-unofficial-xamarin-android
Jarl Gullberg [Thu, 27 Jul 2017 14:56:26 +0000 (16:56 +0200)]
Merge pull request #602 from Nihlus/unix-unofficial-xamarin-android

Support building OpenTK.Android on Linux

7 years agoMerge pull request #606 from Frassle/runbind
Jarl Gullberg [Thu, 27 Jul 2017 10:40:50 +0000 (12:40 +0200)]
Merge pull request #606 from Frassle/runbind

Run Generator.Bind

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

Fixes a load of whitespace errors and missing access modifies in ES.
Changes WaitSync to no longer return WaitSyncStatus (correct according to
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glWaitSync.xhtml,
looks like 020bb696f6acdf1b0a9454a713c16e54713cf267 fixed this in the override
but Bind wasn't rerun).

7 years agoMerge pull request #605 from Nihlus/myget-parameter-workaround
Jarl Gullberg [Thu, 27 Jul 2017 10:14:59 +0000 (12:14 +0200)]
Merge pull request #605 from Nihlus/myget-parameter-workaround

Set NuGet packages to always build when building via MyGet

7 years agoAdd declaration of BuildTarget outside of the condition.
Jarl Gullberg [Thu, 27 Jul 2017 10:01:21 +0000 (12:01 +0200)]
Add declaration of BuildTarget outside of the condition.

7 years agoStrip trailing newlines.
Jarl Gullberg [Thu, 27 Jul 2017 09:58:41 +0000 (11:58 +0200)]
Strip trailing newlines.

7 years agoAdd check for MyGet as the build runner and strip trailing newlines.
Jarl Gullberg [Thu, 27 Jul 2017 09:58:30 +0000 (11:58 +0200)]
Add check for MyGet as the build runner and strip trailing newlines.

7 years agoMerge pull request #598 from ppy/no-child-window
varon [Wed, 26 Jul 2017 18:05:58 +0000 (20:05 +0200)]
Merge pull request #598 from ppy/no-child-window

Remove child_window to support exclusive full screen in more scenarios

7 years agoMerge pull request #604 from Nihlus/enable-glwidget-nupack
varon [Wed, 26 Jul 2017 17:59:42 +0000 (19:59 +0200)]
Merge pull request #604 from Nihlus/enable-glwidget-nupack

Remove GLWidget exclusion from nuget packing

7 years agoRemove GLWidget exclusion from nuget packing.
Jarl Gullberg [Wed, 26 Jul 2017 15:07:11 +0000 (17:07 +0200)]
Remove GLWidget exclusion from nuget packing.

7 years agoReadd missing drawing namespace.
Jarl Gullberg [Wed, 26 Jul 2017 13:19:16 +0000 (15:19 +0200)]
Readd missing drawing namespace.

7 years agoAdd conditional directory overrides for Unix.
Jarl Gullberg [Wed, 26 Jul 2017 13:18:59 +0000 (15:18 +0200)]
Add conditional directory overrides for Unix.

7 years agoRemoved accidental terminal command. Window focusing is hard.
Jarl Gullberg [Wed, 26 Jul 2017 14:22:52 +0000 (16:22 +0200)]
Removed accidental terminal command. Window focusing is hard.

7 years agoMake sure that StyleCop.Analyzers is excluded from NuGet dependencies.
Jarl Gullberg [Wed, 26 Jul 2017 13:57:16 +0000 (15:57 +0200)]
Make sure that StyleCop.Analyzers is excluded from NuGet dependencies.

7 years agoDrop Link attribute in favor of Link tag to allow building with MSBuild 14
Jarl Gullberg [Tue, 25 Jul 2017 21:32:26 +0000 (23:32 +0200)]
Drop Link attribute in favor of Link tag to allow building with MSBuild 14

7 years agoAdded three undocumented rules.
Jarl Gullberg [Tue, 25 Jul 2017 21:24:34 +0000 (23:24 +0200)]
Added three undocumented rules.

7 years agoMove exception rule to its corresponding block.
Jarl Gullberg [Tue, 25 Jul 2017 20:49:20 +0000 (22:49 +0200)]
Move exception rule to its corresponding block.

7 years agoEnabled compliant rules in the SA15 block.
Jarl Gullberg [Tue, 25 Jul 2017 20:48:40 +0000 (22:48 +0200)]
Enabled compliant rules in the SA15 block.

7 years agoEnabled compliant rules in the SA14 block.
Jarl Gullberg [Tue, 25 Jul 2017 20:33:21 +0000 (22:33 +0200)]
Enabled compliant rules in the SA14 block.

7 years agoEnabled compliant rules in the SA13 block.
Jarl Gullberg [Tue, 25 Jul 2017 14:57:23 +0000 (16:57 +0200)]
Enabled compliant rules in the SA13 block.

7 years agoAdded intentional metadata to some rules and enabled compliant ones in the SA12 block.
Jarl Gullberg [Tue, 25 Jul 2017 14:26:31 +0000 (16:26 +0200)]
Added intentional metadata to some rules and enabled compliant ones in the SA12 block.

7 years agoDisabled noncompliant rules after scanning the other projects.
Jarl Gullberg [Tue, 25 Jul 2017 14:14:23 +0000 (16:14 +0200)]
Disabled noncompliant rules after scanning the other projects.

7 years agoForgot to add StyleCop.Analyzers to the other projects as well.
Jarl Gullberg [Tue, 25 Jul 2017 13:49:07 +0000 (15:49 +0200)]
Forgot to add StyleCop.Analyzers to the other projects as well.

7 years agoEnabled compliant rules in the SA10 block.
Jarl Gullberg [Tue, 25 Jul 2017 13:23:49 +0000 (15:23 +0200)]
Enabled compliant rules in the SA10 block.

7 years agoEnabled SA1004.
Jarl Gullberg [Tue, 25 Jul 2017 12:55:00 +0000 (14:55 +0200)]
Enabled SA1004.

7 years agoEnabled SA1003.
Jarl Gullberg [Tue, 25 Jul 2017 12:54:10 +0000 (14:54 +0200)]
Enabled SA1003.

7 years agoEnabled some adhered rules.
Jarl Gullberg [Tue, 25 Jul 2017 12:52:54 +0000 (14:52 +0200)]
Enabled some adhered rules.

7 years agoEnabled StyleCop inspections for all projects. This replaces AllRules.
Jarl Gullberg [Tue, 25 Jul 2017 12:47:07 +0000 (14:47 +0200)]
Enabled StyleCop inspections for all projects. This replaces AllRules.

7 years agoAdded stylecop configuration file and rule set.
Jarl Gullberg [Tue, 25 Jul 2017 12:29:00 +0000 (14:29 +0200)]
Added stylecop configuration file and rule set.

7 years agoAdded StyleCop.Analyzers to OpenTK.GLWidget
Jarl Gullberg [Tue, 25 Jul 2017 11:36:25 +0000 (13:36 +0200)]
Added StyleCop.Analyzers to OpenTK.GLWidget

7 years agoAdded StyleCop.Analyzers to the solution.
Jarl Gullberg [Tue, 25 Jul 2017 11:33:57 +0000 (13:33 +0200)]
Added StyleCop.Analyzers to the solution.

7 years agoMerge pull request #603 from Nihlus/nuget-include-debugging-symbols
Jarl Gullberg [Wed, 26 Jul 2017 14:40:27 +0000 (16:40 +0200)]
Merge pull request #603 from Nihlus/nuget-include-debugging-symbols

Ensure that all projects bundle their debugging symbols

7 years agoEnsure that all projects bundle their debugging symbols.
Jarl Gullberg [Wed, 26 Jul 2017 14:13:20 +0000 (16:13 +0200)]
Ensure that all projects bundle their debugging symbols.

7 years agoMerge pull request #601 from UnknownShadow200/develop
Fraser Waters [Wed, 26 Jul 2017 07:58:52 +0000 (08:58 +0100)]
Merge pull request #601 from UnknownShadow200/develop

Update bugs/issues urls to point to OpenTK github issues instead of defunct OpenTK.com

7 years agoUpdate bugs/issues urls to point to OpenTK github issues instead of defunct OpenTK.com
UnknownShadow200 [Wed, 26 Jul 2017 07:20:00 +0000 (17:20 +1000)]
Update bugs/issues urls to point to OpenTK github issues instead of defunct OpenTK.com

7 years agoRemove child_window to support exclusive full screen in more scenarios
Dean Herbert [Tue, 25 Jul 2017 02:37:16 +0000 (11:37 +0900)]
Remove child_window to support exclusive full screen in more scenarios

7 years agoMerge pull request #594 from VPeruS/sdl-position
Jarl Gullberg [Mon, 24 Jul 2017 22:36:01 +0000 (00:36 +0200)]
Merge pull request #594 from VPeruS/sdl-position

Fix cursor incorreclty moved out of window

7 years agoFix cursor incorreclty moved out of window
Vlad Kalyuzhny [Mon, 24 Jul 2017 21:36:33 +0000 (00:36 +0300)]
Fix cursor incorreclty moved out of window

7 years agoMerge pull request #586 from Nihlus/mark-cls-compliant
Jarl Gullberg [Mon, 24 Jul 2017 15:22:52 +0000 (17:22 +0200)]
Merge pull request #586 from Nihlus/mark-cls-compliant

Mark methods and classes in GLWidget with their CLS compliance

7 years agoRemoved redundant CLS-compliant attributes.
Jarl Gullberg [Mon, 24 Jul 2017 14:11:45 +0000 (16:11 +0200)]
Removed redundant CLS-compliant attributes.

7 years agoMerge pull request #591 from Frassle/buildwarnings
Jarl Gullberg [Mon, 24 Jul 2017 14:08:26 +0000 (16:08 +0200)]
Merge pull request #591 from Frassle/buildwarnings

Fix some simple build warnings

7 years agoMerge pull request #592 from Frassle/bindings_style
Jarl Gullberg [Mon, 24 Jul 2017 14:06:05 +0000 (16:06 +0200)]
Merge pull request #592 from Frassle/bindings_style

Fix the binding generator to match recent handmade changes

7 years agoRemove trailing space from bindings
Fraser Waters [Sun, 23 Jul 2017 22:04:03 +0000 (23:04 +0100)]
Remove trailing space from bindings

7 years agoEmit private modifier for binding points
Fraser Waters [Sun, 23 Jul 2017 22:03:44 +0000 (23:03 +0100)]
Emit private modifier for binding points

7 years agoRemove trailing space in License file
Fraser Waters [Sun, 23 Jul 2017 22:03:02 +0000 (23:03 +0100)]
Remove trailing space in License file

7 years agoRemove unused fields in MouseDevice
Fraser Waters [Sun, 23 Jul 2017 10:06:22 +0000 (11:06 +0100)]
Remove unused fields in MouseDevice

7 years agoPrint Exception variable in Rewrite
Fraser Waters [Sun, 23 Jul 2017 10:06:04 +0000 (11:06 +0100)]
Print Exception variable in Rewrite

7 years agoMerge pull request #585 from Nihlus/cleanup-6-remove-unused-usings
Jarl Gullberg [Fri, 21 Jul 2017 10:02:33 +0000 (12:02 +0200)]
Merge pull request #585 from Nihlus/cleanup-6-remove-unused-usings

Remove unused using statements

7 years agoMarked some methods and classes in GLWidget with their CLS compliance.
Jarl Gullberg [Fri, 21 Jul 2017 09:29:48 +0000 (11:29 +0200)]
Marked some methods and classes in GLWidget with their CLS compliance.

7 years agoRemoved now empty preprocessor statement.
Jarl Gullberg [Thu, 20 Jul 2017 19:42:58 +0000 (21:42 +0200)]
Removed now empty preprocessor statement.

7 years agoRestore removed using statements from minimal classes.
Jarl Gullberg [Thu, 20 Jul 2017 19:41:38 +0000 (21:41 +0200)]
Restore removed using statements from minimal classes.

7 years agoCorrect malformed formatting.
Jarl Gullberg [Thu, 20 Jul 2017 19:36:47 +0000 (21:36 +0200)]
Correct malformed formatting.

7 years agoRemove now empty preprocessor statement.
Jarl Gullberg [Thu, 20 Jul 2017 19:36:11 +0000 (21:36 +0200)]
Remove now empty preprocessor statement.

7 years agoRemoved unused using statements.
Jarl Gullberg [Thu, 20 Jul 2017 19:32:51 +0000 (21:32 +0200)]
Removed unused using statements.

7 years agoMerge pull request #575 from Nihlus/cleanup-5-enforce-braces
Jarl Gullberg [Thu, 20 Jul 2017 19:22:18 +0000 (21:22 +0200)]
Merge pull request #575 from Nihlus/cleanup-5-enforce-braces

Enforce the use of braces for conditional statements

7 years agoMerge pull request #582 from Nihlus/disable-redundant-warnings
Jarl Gullberg [Thu, 20 Jul 2017 19:19:29 +0000 (21:19 +0200)]
Merge pull request #582 from Nihlus/disable-redundant-warnings

Disable superfluous warnings in native interop code.

7 years agoMerge pull request #583 from Nihlus/add-missing-xml
Jarl Gullberg [Thu, 20 Jul 2017 17:58:38 +0000 (19:58 +0200)]
Merge pull request #583 from Nihlus/add-missing-xml

Add missing XML comments for GLHelper.

7 years agoAdd comment for #pragma disable
Jarl Gullberg [Thu, 20 Jul 2017 17:58:10 +0000 (19:58 +0200)]
Add comment for #pragma disable

7 years agoRemove references to unused function GetWindowDC.
Jarl Gullberg [Thu, 20 Jul 2017 15:49:44 +0000 (17:49 +0200)]
Remove references to unused function GetWindowDC.

7 years agoRemoved redundant literal variable name specifier.
Jarl Gullberg [Thu, 20 Jul 2017 15:31:36 +0000 (17:31 +0200)]
Removed redundant literal variable name specifier.

7 years agoCorrected preprocessor alignment.
Jarl Gullberg [Thu, 20 Jul 2017 15:30:46 +0000 (17:30 +0200)]
Corrected preprocessor alignment.

7 years agoCorrected malformed formatting in GameWindow.
Jarl Gullberg [Thu, 20 Jul 2017 15:29:12 +0000 (17:29 +0200)]
Corrected malformed formatting in GameWindow.

7 years agoAdd missing XML comments for GLHelper.
Jarl Gullberg [Thu, 20 Jul 2017 15:26:08 +0000 (17:26 +0200)]
Add missing XML comments for GLHelper.

7 years agoMerge pull request #581 from Nihlus/correct-xml-comment
Jarl Gullberg [Thu, 20 Jul 2017 11:41:53 +0000 (13:41 +0200)]
Merge pull request #581 from Nihlus/correct-xml-comment

Corrected XML comments to reflect now removed JoystickAxis enumeration.

7 years agoMerge pull request #580 from Nihlus/remove-unused-field
Jarl Gullberg [Thu, 20 Jul 2017 11:41:46 +0000 (13:41 +0200)]
Merge pull request #580 from Nihlus/remove-unused-field

Remove unused backing field from FileDropEventArgs.

7 years agoDisable superfluous warnings in native interop code.
Jarl Gullberg [Thu, 20 Jul 2017 10:57:42 +0000 (12:57 +0200)]
Disable superfluous warnings in native interop code.

7 years agoCorrected XML comments to reflect now removed JoystickAxis enumeration.
Jarl Gullberg [Thu, 20 Jul 2017 10:49:03 +0000 (12:49 +0200)]
Corrected XML comments to reflect now removed JoystickAxis enumeration.

7 years agoRemove unused backing field from FileDropEventArgs.
Jarl Gullberg [Thu, 20 Jul 2017 10:45:01 +0000 (12:45 +0200)]
Remove unused backing field from FileDropEventArgs.

7 years agoMerge pull request #577 from akrolsmir/develop
Jarl Gullberg [Wed, 19 Jul 2017 17:50:31 +0000 (19:50 +0200)]
Merge pull request #577 from akrolsmir/develop

Fix broken Android and iOS builds

7 years agoFix broken Android and iOS builds
Austin Chen [Wed, 19 Jul 2017 07:24:43 +0000 (00:24 -0700)]
Fix broken Android and iOS builds

7 years agoEnforced the use of braces for conditional statements.
Jarl Gullberg [Mon, 17 Jul 2017 17:24:51 +0000 (19:24 +0200)]
Enforced the use of braces for conditional statements.

7 years agoMerge pull request #564 from Nihlus/cleanup-4-explicit-modifiers
Jarl Gullberg [Mon, 17 Jul 2017 17:07:16 +0000 (19:07 +0200)]
Merge pull request #564 from Nihlus/cleanup-4-explicit-modifiers

Enforce use of explicit access modifiers

7 years agoEnforced use of explicit private modifiers.
Jarl Gullberg [Fri, 7 Jul 2017 15:40:24 +0000 (17:40 +0200)]
Enforced use of explicit private modifiers.

7 years agoMerge pull request #574 from Frassle/bind_settings
Fraser Waters [Mon, 17 Jul 2017 16:20:31 +0000 (17:20 +0100)]
Merge pull request #574 from Frassle/bind_settings

Update Generator.Bind default settings for new repo layout

7 years agoMerge pull request #572 from Nihlus/converter-better-options
Jarl Gullberg [Mon, 17 Jul 2017 16:04:49 +0000 (18:04 +0200)]
Merge pull request #572 from Nihlus/converter-better-options

Replace bundled Mono.Options in Converter

7 years agoUpdate Generator.Bind default settings for new repo layout
Fraser Waters [Mon, 10 Jul 2017 17:37:12 +0000 (18:37 +0100)]
Update Generator.Bind default settings for new repo layout

7 years agoMerge pull request #565 from leezer3/JoystickAxis
Jarl Gullberg [Sun, 16 Jul 2017 20:31:16 +0000 (22:31 +0200)]
Merge pull request #565 from leezer3/JoystickAxis

Change: Bump joystick axis limit to 64 & remove JoystickAxis enum

7 years agoChange: Use MaxAxes, not inlined constants
Christopher Lees [Sun, 16 Jul 2017 19:49:00 +0000 (20:49 +0100)]
Change: Use MaxAxes, not inlined constants

7 years agoAttempted AppVeyor compilation fix by target version bump.
Jarl Gullberg [Sun, 16 Jul 2017 13:53:29 +0000 (15:53 +0200)]
Attempted AppVeyor compilation fix by target version bump.

7 years agoRenamed "Parser" to "XmlParser" to not conflict with the command line parser.
Jarl Gullberg [Sun, 16 Jul 2017 13:40:22 +0000 (15:40 +0200)]
Renamed "Parser" to "XmlParser" to not conflict with the command line parser.

7 years agoBumped Mono.Cecil version to correct build errors.
Jarl Gullberg [Sat, 15 Jul 2017 16:31:32 +0000 (18:31 +0200)]
Bumped Mono.Cecil version to correct build errors.

7 years agoUpdated and renamed README file.
Jarl Gullberg [Sat, 15 Jul 2017 13:47:16 +0000 (15:47 +0200)]
Updated and renamed README file.

7 years agoRemoved old options usage from Main.cs.
Jarl Gullberg [Sat, 15 Jul 2017 13:42:51 +0000 (15:42 +0200)]
Removed old options usage from Main.cs.

7 years agoImplemented options class.
Jarl Gullberg [Sat, 15 Jul 2017 13:40:03 +0000 (15:40 +0200)]
Implemented options class.

7 years agoBumped framework target of Generator.Convert and updated to v2 of CommandLineParser.
Jarl Gullberg [Sat, 15 Jul 2017 13:23:04 +0000 (15:23 +0200)]
Bumped framework target of Generator.Convert and updated to v2 of CommandLineParser.

7 years agoAdded CommandLineParser to Generator.Converter
Jarl Gullberg [Sat, 15 Jul 2017 12:55:04 +0000 (14:55 +0200)]
Added CommandLineParser to Generator.Converter

7 years agoChange: Remove unnecessary assignments from OS-X HID driver
Christopher Lees [Thu, 13 Jul 2017 17:47:06 +0000 (18:47 +0100)]
Change: Remove unnecessary assignments from OS-X HID driver

7 years agoChange: Remove unncessary int assignment from GamePadConfiguration.cs
Christopher Lees [Wed, 12 Jul 2017 21:01:58 +0000 (22:01 +0100)]
Change: Remove unncessary int assignment from GamePadConfiguration.cs

7 years agoMerge pull request #571 from UnknownShadow200/develop
Jarl Gullberg [Wed, 12 Jul 2017 13:28:34 +0000 (15:28 +0200)]
Merge pull request #571 from UnknownShadow200/develop

Fix X11 drag-n-drop returning wrong filename, and crashing

7 years agoMerge pull request #567 from Frassle/issue259
Jarl Gullberg [Wed, 12 Jul 2017 13:20:15 +0000 (15:20 +0200)]
Merge pull request #567 from Frassle/issue259

Wait for XEvents when changing window size

7 years agoFix X11 drag-n-drop returning wrong filename, and crashing
UnknownShadow200 [Wed, 12 Jul 2017 07:15:33 +0000 (17:15 +1000)]
Fix X11 drag-n-drop returning wrong filename, and crashing

Wrong filename being returned was due to the filename being URL encoded.
Crashing was due to the offset being past the end of the buffer returned from Marshal.AllocHGlobal.

Fixes #570.

7 years agoMerge pull request #568 from leezer3/JoystickPatch2
Jarl Gullberg [Tue, 11 Jul 2017 11:52:21 +0000 (13:52 +0200)]
Merge pull request #568 from leezer3/JoystickPatch2

Fix: Some joystick hats not returning centered correctly on Windows HID