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

7 years agoChange: Simplify bounds checking
Christopher Lees [Tue, 11 Jul 2017 11:38:05 +0000 (12:38 +0100)]
Change: Simplify bounds checking

7 years agoNew: Add 4-position hat switches to Windows HID driver
Christopher Lees [Tue, 11 Jul 2017 10:58:04 +0000 (11:58 +0100)]
New: Add 4-position hat switches to Windows HID driver

7 years agoFix: Some joystick hats not returning centered correctly on Windows HID
Christopher Lees [Tue, 11 Jul 2017 10:46:54 +0000 (11:46 +0100)]
Fix: Some joystick hats not returning centered correctly on Windows HID

7 years agoWait for XEvents when changing window size
Fraser Waters [Mon, 10 Jul 2017 15:57:40 +0000 (16:57 +0100)]
Wait for XEvents when changing window size

Fixes #259

Reading from GameWindow.ClientSize after assigning a new value to it
could often return the old value on X systems.
This was due to ClientSize being set by a ConfigureNotify event sent
by the X server that we would sometimes not during the ProcessEvents
started by the ClientSize setter (due to the asynchronous nature or
client/server).

This commit adds a way to wait for a specific event type in
ProcessEvents. Just before calling ProcessEvents in the ClientSize
setter we set the wait type to ConfigureNotify. This should ensure
that ClientSize will not return until we've received the new size of
the window from the X server and updated our internal values for the
size of the window. Thus when ClientSize is then read immediately
after it is always the new size.

It's likely that some of the other property setters we have which call
ProcessEvents need a similar fix.

7 years agoAdd XML-doc comments & remove unused imports.
Christopher Lees [Mon, 10 Jul 2017 10:35:37 +0000 (11:35 +0100)]
Add XML-doc comments & remove unused imports.

7 years agoChange: Tweak GamePadConfigurationSource constructor to be clearer
Christopher Lees [Mon, 10 Jul 2017 10:19:56 +0000 (11:19 +0100)]
Change: Tweak GamePadConfigurationSource constructor to be clearer

7 years agoChange: Bump joystick axis limit to 64 & remove JoystickAxis enum
Christopher Lees [Sun, 9 Jul 2017 18:58:54 +0000 (19:58 +0100)]
Change: Bump joystick axis limit to 64 & remove JoystickAxis enum

7 years agoMerge pull request #563 from Nihlus/cleanup-3-auto-property
Jarl Gullberg [Fri, 7 Jul 2017 11:27:53 +0000 (13:27 +0200)]
Merge pull request #563 from Nihlus/cleanup-3-auto-property

Transform compatible properties to auto-properties

7 years agoTransformed compatible properties into auto-properties where possible.
Jarl Gullberg [Fri, 7 Jul 2017 09:51:45 +0000 (11:51 +0200)]
Transformed compatible properties into auto-properties where possible.

7 years agoMerge pull request #562 from leezer3/FileDropString
Fraser Waters [Thu, 6 Jul 2017 21:02:39 +0000 (22:02 +0100)]
Merge pull request #562 from leezer3/FileDropString

Fix file drop string marshalling

7 years agoFix file drop string marshalling
Christopher Lees [Wed, 5 Jul 2017 21:58:40 +0000 (22:58 +0100)]
Fix file drop string marshalling

7 years agoMerge pull request #560 from Nihlus/cleanup-2-tabs-to-spaces
Jarl Gullberg [Wed, 5 Jul 2017 21:07:37 +0000 (23:07 +0200)]
Merge pull request #560 from Nihlus/cleanup-2-tabs-to-spaces

Normalize indentation style

7 years agoReplaced tabs with four spaces across the codebase.
Jarl Gullberg [Wed, 5 Jul 2017 15:45:42 +0000 (17:45 +0200)]
Replaced tabs with four spaces across the codebase.

7 years agoMerge pull request #559 from Nihlus/purge-region
Jarl Gullberg [Wed, 5 Jul 2017 18:22:59 +0000 (20:22 +0200)]
Merge pull request #559 from Nihlus/purge-region

Purge region declarations

7 years agoReplaced tabs with spaces in malformed file.
Jarl Gullberg [Wed, 5 Jul 2017 17:17:25 +0000 (19:17 +0200)]
Replaced tabs with spaces in malformed file.

7 years agoCorrected malformed indendation.
Jarl Gullberg [Wed, 5 Jul 2017 17:16:53 +0000 (19:16 +0200)]
Corrected malformed indendation.

7 years agoRemoved commented region.
Jarl Gullberg [Wed, 5 Jul 2017 12:23:06 +0000 (14:23 +0200)]
Removed commented region.

7 years agoMerge pull request #558 from Nihlus/deterministic-build
Jarl Gullberg [Wed, 5 Jul 2017 12:21:58 +0000 (14:21 +0200)]
Merge pull request #558 from Nihlus/deterministic-build

Enable deterministic builds

7 years agoRemoved region declarations across the codebase.
Jarl Gullberg [Fri, 23 Jun 2017 17:35:32 +0000 (19:35 +0200)]
Removed region declarations across the codebase.

7 years agoRemoved leftover Paket options from merge.
Jarl Gullberg [Wed, 5 Jul 2017 11:52:34 +0000 (13:52 +0200)]
Removed leftover Paket options from merge.

7 years agoAdded deterministic option to all relevant projects.
Jarl Gullberg [Sun, 25 Jun 2017 17:48:14 +0000 (19:48 +0200)]
Added deterministic option to all relevant projects.

7 years agoMerge pull request #543 from VPeruS/fix-mouse-wheel
Jarl Gullberg [Wed, 5 Jul 2017 11:43:38 +0000 (13:43 +0200)]
Merge pull request #543 from VPeruS/fix-mouse-wheel

Fix interop for wheel events(MacOS)