Commit graph

7086 commits

Author SHA1 Message Date
Fraser Waters
feb8e8f6e3 Merge pull request #630 from UnknownShadow200/develop
Allocate SystemDefaultCharSize instead of 1 byte per char for buffer used in WinGLNative.HandleDropFiles
2017-08-06 17:55:32 +01:00
UnknownShadow200
5f158997b8 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.
2017-08-06 08:36:51 +10:00
UnknownShadow200
a3c0b05371 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
2017-08-05 23:56:42 +10:00
Jarl Gullberg
254f7e9bfb Merge pull request #620 from Nihlus/cleanup-9-symbol-spacing
[Cleanup] Symbol Spacing
2017-08-04 17:25:29 +02:00
Jarl Gullberg
3bfaeda99d
Correct arithmetic operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg
c06ce5658d
Correct equality comparsion operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg
205cb307ec
Correct base call operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg
b08acb758a
Correct cast operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg
5db88e0a8f
Correct cast operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg
af3aef4d9e
Remove redundant base constructor call. 2017-08-04 12:35:06 +02:00
Jarl Gullberg
7ac6812ce7
Enable SA1003. 2017-08-04 12:35:06 +02:00
Jarl Gullberg
fc98b8ea4d Merge pull request #619 from Nihlus/cleanup-8-semicolon-spacing
[Cleanup] Semicolon spacing
2017-08-04 12:30:10 +02:00
Jarl Gullberg
15551b015f
Correct semicolon spacing in XWindowInfoInitializer.cs 2017-08-04 12:04:59 +02:00
Jarl Gullberg
5dcbea8405
Correct semicolon spacing in API.cs 2017-08-04 12:04:46 +02:00
Jarl Gullberg
fb0c24a56c
Correct semicolon spacing in Generator.Bind. 2017-08-04 11:41:52 +02:00
Jarl Gullberg
3654fa4107
Correct semicolon spacing in OpenTK. 2017-08-04 11:41:52 +02:00
Jarl Gullberg
75f23590c8
Enable SA1002. 2017-08-04 11:41:52 +02:00
Jarl Gullberg
ca349145e8 Merge pull request #613 from Nihlus/cleanup-7-comma-spacing
[Cleanup] Comma spacing
2017-08-04 11:41:19 +02:00
Jarl Gullberg
0e7983f9b1
Extend travis timeout to 20m again. 2017-08-03 11:52:11 +02:00
Jarl Gullberg
557b44a54e
Remove travis timeout override. 2017-08-03 11:52:11 +02:00
Jarl Gullberg
f821690d45
Extend travis timeout to 30m. 2017-08-03 11:52:11 +02:00
Jarl Gullberg
c14b87b8de
Extend travis timeout to 20m. 2017-08-03 11:52:10 +02:00
Jarl Gullberg
8c434a2629
Correct comma spacing in DisplayService. 2017-08-03 11:50:46 +02:00
Jarl Gullberg
9ed5e53a92
Correct comma spacing in GLObsolete. 2017-08-03 11:50:44 +02:00
Jarl Gullberg
de030a97a5
Regenerate bindings to correct comma spacing. 2017-08-03 11:50:43 +02:00
Jarl Gullberg
048207425b
Correct method generation to account for SA1001. 2017-08-03 11:50:42 +02:00
Jarl Gullberg
cab25daf16
Correct comma spacing in OpenTK, excluding generated files. 2017-08-03 11:50:42 +02:00
Jarl Gullberg
e4d8be5658
Correct comma spacing in Generator.Rewrite. 2017-08-03 11:50:42 +02:00
Jarl Gullberg
85b362d12c
Enable SA1001. 2017-08-03 11:50:42 +02:00
Fraser Waters
bc3f33271f Merge pull request #590 from Frassle/gamewindowtests
GameWindow tests and some X11 fixes
2017-08-02 15:04:47 +01:00
Fraser Waters
302ec5001a Merge pull request #597 from ppy/fix-white-flash
Fix white flash when starting GameWindow based application on windows
2017-08-01 13:50:30 +01:00
Dean Herbert
cf572b3bb8 Add comment regarding performance 2017-07-31 22:31:02 +09:00
Dean Herbert
4fe58d9545 Add comment about setting background color 2017-07-31 15:52:46 +09:00
Fraser Waters
38e91eb91e Wait for ConfigureNotify when changing X11 Bounds 2017-07-30 22:36:26 +01:00
Fraser Waters
5213ec200e Change client_rectangle to client_size
The Location part of client_rectangle was never used.
2017-07-30 22:36:26 +01:00
Fraser Waters
26fac6f032 Change X11 entry assembly search and provide null fallback 2017-07-30 22:36:26 +01:00
Fraser Waters
80a9959247 Start a virtual framebuffer for travisCI 2017-07-30 22:36:26 +01:00
Fraser Waters
83429da3b4 Add GameWindow tests 2017-07-30 22:36:26 +01:00
Fraser Waters
662d6f14f5 Add debug actions to run xUnit to Tests.fsproj 2017-07-30 22:36:26 +01:00
Jarl Gullberg
257b977d57 Merge pull request #615 from Nihlus/fake-use-build-instead-of-rebuild
Use the Build target instead of Rebuild in FAKE
2017-07-30 22:53:57 +02:00
Jarl Gullberg
874bd78edb
Use the Build target instead of Rebuild in FAKE to avoid redundant rebuilds. 2017-07-30 22:36:16 +02:00
Jarl Gullberg
2aec010225 Merge pull request #614 from Nihlus/fix-stylecop-rules-release-rewrtier
Move StyleCop properties to global section for rewriter
2017-07-30 18:37:39 +02:00
Jarl Gullberg
80262863fd
Move StyleCop properties to global section. 2017-07-30 18:36:12 +02:00
Jarl Gullberg
e9422ab25c Merge pull request #608 from Nihlus/cleanup-6-keyword-spacing
Correct keyword spacing
2017-07-30 17:28:04 +02:00
Jarl Gullberg
b84f4e21c7 Merge pull request #609 from leezer3/RailDriver
Windows HID: Implement generic Consumer device which returns a button collection
2017-07-28 13:37:42 +02:00
Jarl Gullberg
7090695ac6
Correct keyword spacing in OpenTK. 2017-07-28 12:29:22 +02:00
Jarl Gullberg
1260fd0a6b
Correct keyword spacing in Generator.Bind. 2017-07-28 12:23:33 +02:00
Jarl Gullberg
6ea763c821 Merge pull request #607 from Nihlus/purge-regions-mobile
Correct mobile projects for StyleCop compliance.
2017-07-28 12:13:53 +02:00
Jarl Gullberg
1931919e2e
Use explicit modifiers for Android code. 2017-07-28 12:08:57 +02:00
Jarl Gullberg
016799060a
Use explicit modifiers for iOS code. 2017-07-28 12:06:13 +02:00