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

7 years agoMerge pull request #553 from VPeruS/interop-macos-set-position
varon [Tue, 4 Jul 2017 19:42:36 +0000 (21:42 +0200)]
Merge pull request #553 from VPeruS/interop-macos-set-position

Wrong cast for interop when setting mouse position(MacOS)

7 years agoMerge pull request #542 from VPeruS/drag-and-drop
varon [Tue, 4 Jul 2017 19:40:26 +0000 (21:40 +0200)]
Merge pull request #542 from VPeruS/drag-and-drop

Drag and drop support

7 years agoMerge pull request #549 from Nihlus/remove-obsolete-code
varon [Tue, 4 Jul 2017 19:37:15 +0000 (21:37 +0200)]
Merge pull request #549 from Nihlus/remove-obsolete-code

Remove code marked obsolete

7 years agoMerge pull request #524 from Nihlus/glwidget-gtk3
varon [Tue, 4 Jul 2017 19:35:21 +0000 (21:35 +0200)]
Merge pull request #524 from Nihlus/glwidget-gtk3

GTK3 updates for GLWidget

7 years agoMerge pull request #557 from Frassle/parser
varon [Tue, 4 Jul 2017 19:31:53 +0000 (21:31 +0200)]
Merge pull request #557 from Frassle/parser

Two small Parser changes

7 years agoMove Enum/FuncPrefix and TrimName to base Parser object
Fraser Waters [Sun, 2 Jul 2017 22:11:05 +0000 (23:11 +0100)]
Move Enum/FuncPrefix and TrimName to base Parser object

Doesn't seem to be that useful alone but a Vulkan parser is different
enough to OpenGL to need a new Parser object but name trimming is pretty
much the same.

7 years agoRemove unused property Version in Converter
Fraser Waters [Sun, 2 Jul 2017 22:03:34 +0000 (23:03 +0100)]
Remove unused property Version in Converter

The property Version on the Parser class was never used. Removed it and
the command line argument in main that was used to set it.

7 years agoMerge pull request #556 from Frassle/develop
Jarl Gullberg [Sun, 2 Jul 2017 16:54:48 +0000 (18:54 +0200)]
Merge pull request #556 from Frassle/develop

Remove refernce to old Examples.csproj from .sln

7 years agoRemove refernce to old Examples.csproj from .sln
Fraser Waters [Sun, 2 Jul 2017 13:29:22 +0000 (14:29 +0100)]
Remove refernce to old Examples.csproj from .sln

7 years agoCorrected usages of tabs instead of spaces.
Jarl Gullberg [Sun, 25 Jun 2017 11:49:04 +0000 (13:49 +0200)]
Corrected usages of tabs instead of spaces.

7 years agoMerge branch 'develop' into glwidget-gtk3
Jarl Gullberg [Sun, 25 Jun 2017 11:45:05 +0000 (13:45 +0200)]
Merge branch 'develop' into glwidget-gtk3

7 years agoRemoved bundled GLXAttribute enum.
Jarl Gullberg [Sun, 25 Jun 2017 11:44:19 +0000 (13:44 +0200)]
Removed bundled GLXAttribute enum.

7 years agoSet GLXAttribute access to public.
Jarl Gullberg [Sun, 25 Jun 2017 11:44:01 +0000 (13:44 +0200)]
Set GLXAttribute access to public.

7 years agoWrong cast for interop when setting position(MacOS)
VPeruS [Sun, 25 Jun 2017 00:43:48 +0000 (03:43 +0300)]
Wrong cast for interop when setting position(MacOS)

7 years agoRemoved obsolete VSync property.
Jarl Gullberg [Tue, 20 Jun 2017 14:00:48 +0000 (16:00 +0200)]
Removed obsolete VSync property.

7 years agoRemoved obsolete input driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:56:04 +0000 (15:56 +0200)]
Removed obsolete input driver.

7 years agoRemoved obsolete keyboard driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:55:39 +0000 (15:55 +0200)]
Removed obsolete keyboard driver.

7 years agoRemoved obsolete joystick driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:55:21 +0000 (15:55 +0200)]
Removed obsolete joystick driver.

7 years agoRemoved obsolete mouse driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:54:57 +0000 (15:54 +0200)]
Removed obsolete mouse driver.

7 years agoRemoved obsolete functions which accessed the obsolete joystick driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:54:28 +0000 (15:54 +0200)]
Removed obsolete functions which accessed the obsolete joystick driver.

7 years agoRemoved obsolete legacy joystick driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:53:06 +0000 (15:53 +0200)]
Removed obsolete legacy joystick driver.

7 years agoRemoved obsolete legacy input driver.
Jarl Gullberg [Tue, 20 Jun 2017 13:52:16 +0000 (15:52 +0200)]
Removed obsolete legacy input driver.

7 years agoRemoved obsolete screenshot function.
Jarl Gullberg [Tue, 20 Jun 2017 13:49:45 +0000 (15:49 +0200)]
Removed obsolete screenshot function.

7 years agoRemoved obsolete compatibility properties.
Jarl Gullberg [Tue, 20 Jun 2017 13:48:04 +0000 (15:48 +0200)]
Removed obsolete compatibility properties.

7 years agoRemoved obsolete INativeGLWindow class.
Jarl Gullberg [Tue, 20 Jun 2017 13:47:05 +0000 (15:47 +0200)]
Removed obsolete INativeGLWindow class.

7 years agoRemoved obsolete CreateDummyContext functions and added constructor
Jarl Gullberg [Tue, 20 Jun 2017 13:45:49 +0000 (15:45 +0200)]
Removed obsolete CreateDummyContext functions and added constructor
constructor comments which explain how to create a dummy context.

7 years agoRemoved obsolete compatibiliy fields.
Jarl Gullberg [Tue, 20 Jun 2017 13:41:39 +0000 (15:41 +0200)]
Removed obsolete compatibiliy fields.

7 years agoRemoved warning disables.
Jarl Gullberg [Tue, 20 Jun 2017 13:40:56 +0000 (15:40 +0200)]
Removed warning disables.

7 years agoRemoved obsolete compatibility wrapper functions.
Jarl Gullberg [Tue, 20 Jun 2017 13:40:12 +0000 (15:40 +0200)]
Removed obsolete compatibility wrapper functions.

7 years agoRemoved obsolete compatibility function.
Jarl Gullberg [Tue, 20 Jun 2017 13:38:40 +0000 (15:38 +0200)]
Removed obsolete compatibility function.

7 years agoRemoved obsolete Matrix functions.
Jarl Gullberg [Tue, 20 Jun 2017 13:22:51 +0000 (15:22 +0200)]
Removed obsolete Matrix functions.

7 years agoRemoved obsolete function accessor.
Jarl Gullberg [Tue, 20 Jun 2017 13:21:18 +0000 (15:21 +0200)]
Removed obsolete function accessor.

7 years agoRemoved CreateGraphicsContext helper wrapper.
Jarl Gullberg [Tue, 20 Jun 2017 13:19:44 +0000 (15:19 +0200)]
Removed CreateGraphicsContext helper wrapper.

7 years agoRemoved obsolete Mult functions and renamed region.
Jarl Gullberg [Tue, 20 Jun 2017 13:19:14 +0000 (15:19 +0200)]
Removed obsolete Mult functions and renamed region.

7 years agoRemoved obsolete property.
Jarl Gullberg [Tue, 20 Jun 2017 13:18:51 +0000 (15:18 +0200)]
Removed obsolete property.

7 years agoRemoved obsolete multiplication functions and renamed region.
Jarl Gullberg [Tue, 20 Jun 2017 13:18:27 +0000 (15:18 +0200)]
Removed obsolete multiplication functions and renamed region.

7 years agoRemoved obsolete property.
Jarl Gullberg [Tue, 20 Jun 2017 13:17:32 +0000 (15:17 +0200)]
Removed obsolete property.

7 years agoRemoved obsolete methods from vector classes.
Jarl Gullberg [Tue, 20 Jun 2017 13:16:47 +0000 (15:16 +0200)]
Removed obsolete methods from vector classes.

7 years agoRemoved obsolete constructors from Vector2.
Jarl Gullberg [Tue, 20 Jun 2017 13:12:23 +0000 (15:12 +0200)]
Removed obsolete constructors from Vector2.

7 years agoRemoved obsolete mathematics class.
Jarl Gullberg [Tue, 20 Jun 2017 13:11:59 +0000 (15:11 +0200)]
Removed obsolete mathematics class.

7 years agoRemoved obsolete property.
Jarl Gullberg [Tue, 20 Jun 2017 13:10:02 +0000 (15:10 +0200)]
Removed obsolete property.

7 years agoRemoved obsolete constructor.
Jarl Gullberg [Tue, 20 Jun 2017 13:09:01 +0000 (15:09 +0200)]
Removed obsolete constructor.

7 years agoRemoved unused and obsolete fields.
Jarl Gullberg [Tue, 20 Jun 2017 13:08:34 +0000 (15:08 +0200)]
Removed unused and obsolete fields.

7 years agoRemoved obsolete SetWindowAttributes structure.
Jarl Gullberg [Tue, 20 Jun 2017 13:07:24 +0000 (15:07 +0200)]
Removed obsolete SetWindowAttributes structure.

7 years agoRemoved obsolete and unused function.
Jarl Gullberg [Tue, 20 Jun 2017 13:06:08 +0000 (15:06 +0200)]
Removed obsolete and unused function.

7 years agoMerge pull request #547 from Nihlus/expand-gitignore
Jarl Gullberg [Thu, 22 Jun 2017 16:27:39 +0000 (18:27 +0200)]
Merge pull request #547 from Nihlus/expand-gitignore

Expand .gitignore

7 years agoTurn comments into XML docs. Change NSDragOperation visibility
Vlad K [Wed, 21 Jun 2017 20:08:34 +0000 (23:08 +0300)]
Turn comments into XML docs. Change NSDragOperation visibility

7 years agoCode sanity
Vlad K [Wed, 21 Jun 2017 19:10:11 +0000 (22:10 +0300)]
Code sanity

7 years agoDelete region keyword
Vlad K [Wed, 21 Jun 2017 19:07:32 +0000 (22:07 +0300)]
Delete region keyword

7 years agoReindented with spaces instead of tabs.
Jarl Gullberg [Wed, 21 Jun 2017 16:28:36 +0000 (18:28 +0200)]
Reindented with spaces instead of tabs.

7 years agoRider is handled by the JetBrains section.
Jarl Gullberg [Sun, 18 Jun 2017 15:43:21 +0000 (17:43 +0200)]
Rider is handled by the JetBrains section.

7 years agoUpdated .gitignore.
Jarl Gullberg [Sun, 18 Jun 2017 15:40:58 +0000 (17:40 +0200)]
Updated .gitignore.

7 years agoAnsi to Auto
Vlad K [Sun, 18 Jun 2017 21:20:07 +0000 (00:20 +0300)]
Ansi to Auto

7 years agoSome docs
Vlad K [Sun, 18 Jun 2017 21:19:11 +0000 (00:19 +0300)]
Some docs

7 years agoSDL2 rewrite c string to c# shtring + some docs
Vlad K [Sun, 18 Jun 2017 20:44:47 +0000 (23:44 +0300)]
SDL2 rewrite c string to c# shtring + some docs

7 years agoRemoved license headers.
Jarl Gullberg [Sun, 18 Jun 2017 20:09:20 +0000 (22:09 +0200)]
Removed license headers.