Commit graph

7090 commits

Author SHA1 Message Date
Jarl Gullberg
eb53f2ce59
Bumped framework target of Generator.Convert and updated to v2 of CommandLineParser. 2017-07-15 15:23:04 +02:00
Jarl Gullberg
f6ee6e2a03
Added CommandLineParser to Generator.Converter 2017-07-15 14:55:04 +02:00
Christopher Lees
77bbb99f72 Change: Remove unnecessary assignments from OS-X HID driver 2017-07-13 19:06:43 +01:00
Christopher Lees
d0880ab1e6 Change: Remove unncessary int assignment from GamePadConfiguration.cs 2017-07-12 22:16:55 +01:00
Jarl Gullberg
31faf624da Merge pull request #571 from UnknownShadow200/develop
Fix X11 drag-n-drop returning wrong filename, and crashing
2017-07-12 15:28:34 +02:00
Jarl Gullberg
0c585b685c Merge pull request #567 from Frassle/issue259
Wait for XEvents when changing window size
2017-07-12 15:20:14 +02:00
UnknownShadow200
65e59d9f42 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.
2017-07-12 17:15:33 +10:00
Jarl Gullberg
1c5643f703 Merge pull request #568 from leezer3/JoystickPatch2
Fix: Some joystick hats not returning centered correctly on Windows HID
2017-07-11 13:52:21 +02:00
Christopher Lees
b1450bc2f2 Change: Simplify bounds checking 2017-07-11 12:38:05 +01:00
Christopher Lees
ac9a1fb697 New: Add 4-position hat switches to Windows HID driver 2017-07-11 11:58:04 +01:00
Christopher Lees
471dd5bf18 Fix: Some joystick hats not returning centered correctly on Windows HID 2017-07-11 11:47:47 +01:00
Fraser Waters
a7f43f3f05 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.
2017-07-10 16:57:40 +01:00
Christopher Lees
5c11f61729 Add XML-doc comments & remove unused imports. 2017-07-10 11:35:43 +01:00
Christopher Lees
5abbd6c57c Change: Tweak GamePadConfigurationSource constructor to be clearer 2017-07-10 11:19:56 +01:00
Christopher Lees
d00a2f982d Change: Bump joystick axis limit to 64 & remove JoystickAxis enum 2017-07-09 22:57:51 +01:00
Jarl Gullberg
9ea1f55139 Merge pull request #563 from Nihlus/cleanup-3-auto-property
Transform compatible properties to auto-properties
2017-07-07 13:27:53 +02:00
Jarl Gullberg
127c6fd67d
Transformed compatible properties into auto-properties where possible. 2017-07-07 11:52:32 +02:00
Fraser Waters
4d2b5722ee Merge pull request #562 from leezer3/FileDropString
Fix file drop string marshalling
2017-07-06 22:02:39 +01:00
Christopher Lees
89ed072d77 Fix file drop string marshalling 2017-07-06 21:44:14 +01:00
Jarl Gullberg
526fbddd29 Merge pull request #560 from Nihlus/cleanup-2-tabs-to-spaces
Normalize indentation style
2017-07-05 23:07:37 +02:00
Jarl Gullberg
af416b6e3a
Replaced tabs with four spaces across the codebase. 2017-07-05 20:28:30 +02:00
Jarl Gullberg
3cf88759eb Merge pull request #559 from Nihlus/purge-region
Purge region declarations
2017-07-05 20:22:59 +02:00
Jarl Gullberg
d230adb6d7
Replaced tabs with spaces in malformed file. 2017-07-05 19:17:25 +02:00
Jarl Gullberg
e27cf648b5
Corrected malformed indendation. 2017-07-05 19:16:53 +02:00
Jarl Gullberg
ad173ec802
Removed commented region. 2017-07-05 14:23:06 +02:00
Jarl Gullberg
942f8a940c Merge pull request #558 from Nihlus/deterministic-build
Enable deterministic builds
2017-07-05 14:21:58 +02:00
Jarl Gullberg
f11ecd016d
Removed region declarations across the codebase. 2017-07-05 14:09:27 +02:00
Jarl Gullberg
40bf97e280
Removed leftover Paket options from merge. 2017-07-05 13:52:34 +02:00
Jarl Gullberg
a67340e2b3
Added deterministic option to all relevant projects. 2017-07-05 13:49:08 +02:00
Jarl Gullberg
cc928f0e51 Merge pull request #543 from VPeruS/fix-mouse-wheel
Fix interop for wheel events(MacOS)
2017-07-05 13:43:38 +02:00
varon
4eb02d3012 Merge pull request #553 from VPeruS/interop-macos-set-position
Wrong cast for interop when setting mouse position(MacOS)
2017-07-04 21:42:36 +02:00
varon
09bd2d5d10 Merge pull request #542 from VPeruS/drag-and-drop
Drag and drop support
2017-07-04 21:40:26 +02:00
varon
7bf31b18e1 Merge pull request #549 from Nihlus/remove-obsolete-code
Remove code marked obsolete
2017-07-04 21:37:15 +02:00
varon
8c66c332ab Merge pull request #524 from Nihlus/glwidget-gtk3
GTK3 updates for GLWidget
2017-07-04 21:35:21 +02:00
varon
a21549aa71 Merge pull request #557 from Frassle/parser
Two small Parser changes
2017-07-04 21:31:53 +02:00
Fraser Waters
803ceefbc1 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.
2017-07-03 16:23:28 +01:00
Fraser Waters
be5712d85b 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.
2017-07-02 23:03:34 +01:00
Jarl Gullberg
cfda55cd8a Merge pull request #556 from Frassle/develop
Remove refernce to old Examples.csproj from .sln
2017-07-02 18:54:48 +02:00
Fraser Waters
566536e472 Remove refernce to old Examples.csproj from .sln 2017-07-02 14:29:22 +01:00
Jarl Gullberg
9309889a1a
Corrected usages of tabs instead of spaces. 2017-06-25 13:49:04 +02:00
Jarl Gullberg
13494f515c
Merge branch 'develop' into glwidget-gtk3 2017-06-25 13:45:05 +02:00
Jarl Gullberg
2186ad2293
Removed bundled GLXAttribute enum. 2017-06-25 13:44:19 +02:00
Jarl Gullberg
2f1e49c667
Set GLXAttribute access to public. 2017-06-25 13:44:01 +02:00
VPeruS
3f1d888ef4 Wrong cast for interop when setting position(MacOS) 2017-06-25 03:43:48 +03:00
Jarl Gullberg
6d96b57deb
Removed obsolete VSync property. 2017-06-22 18:34:49 +02:00
Jarl Gullberg
10859fbbe7
Removed obsolete input driver. 2017-06-22 18:34:49 +02:00
Jarl Gullberg
5474ee4426
Removed obsolete keyboard driver. 2017-06-22 18:34:49 +02:00
Jarl Gullberg
c43a4f03f1
Removed obsolete joystick driver. 2017-06-22 18:34:49 +02:00
Jarl Gullberg
d3e831038d
Removed obsolete mouse driver. 2017-06-22 18:34:49 +02:00
Jarl Gullberg
a5581d94af
Removed obsolete functions which accessed the obsolete joystick driver. 2017-06-22 18:34:48 +02:00