Commit graph

7293 commits

Author SHA1 Message Date
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
Jarl Gullberg e7620a11b4
Remove regions from iOS and correct brace style. 2017-07-28 12:01:28 +02:00
Jarl Gullberg 15a0d86fe0
Remove regions from Android. 2017-07-28 12:01:12 +02:00
Jarl Gullberg 56bf133a78 Merge pull request #600 from Nihlus/stylecop-1-initial
Add StyleCop.Analyzers to projects
2017-07-28 11:22:32 +02:00
Jarl Gullberg 876b234872 Merge pull request #588 from Frassle/issue517
Change StringBuilder parameters to out Strings
2017-07-28 11:22:05 +02:00
Fraser Waters 62a2db426f Fix Helper methods to use out Strings 2017-07-28 06:16:53 +01:00
Fraser Waters c395841b34 Run Generator.Bind 2017-07-28 06:16:52 +01:00
Fraser Waters d547a81cab Use "out String" parameters instead of "StringBuilder" 2017-07-28 06:16:52 +01:00
Fraser Waters c296ebc0f5 Run Generator.Bind 2017-07-28 06:16:51 +01:00
Fraser Waters 34d7655274 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.
2017-07-28 06:16:48 +01:00
Fraser Waters ac05b22b11 Update Bind project to Framework 4.6.1 2017-07-27 16:50:11 +01:00
Christopher Lees bef43af969 Implement generic Consumer device which returns a button collection 2017-07-27 16:39:37 +01:00
Jarl Gullberg cd1bce55ef Merge pull request #602 from Nihlus/unix-unofficial-xamarin-android
Support building OpenTK.Android on Linux
2017-07-27 16:56:26 +02:00
Jarl Gullberg 7680969ae1 Merge pull request #606 from Frassle/runbind
Run Generator.Bind
2017-07-27 12:40:50 +02:00
Fraser Waters d6a05b4571 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 020bb696f6 fixed this in the override
but Bind wasn't rerun).
2017-07-27 11:22:49 +01:00
Jarl Gullberg 7da276864b Merge pull request #605 from Nihlus/myget-parameter-workaround
Set NuGet packages to always build when building via MyGet
2017-07-27 12:14:59 +02:00
Jarl Gullberg f6946c979f
Add declaration of BuildTarget outside of the condition. 2017-07-27 12:01:21 +02:00
Jarl Gullberg 22d659d3ac
Strip trailing newlines. 2017-07-27 11:58:41 +02:00
Jarl Gullberg 9386ca769d
Add check for MyGet as the build runner and strip trailing newlines. 2017-07-27 11:58:30 +02:00
varon bde5badee9 Merge pull request #598 from ppy/no-child-window
Remove child_window to support exclusive full screen in more scenarios
2017-07-26 20:05:58 +02:00
varon ea374e8cd0 Merge pull request #604 from Nihlus/enable-glwidget-nupack
Remove GLWidget exclusion from nuget packing
2017-07-26 19:59:42 +02:00
Jarl Gullberg bb5e4370ed
Remove GLWidget exclusion from nuget packing. 2017-07-26 17:07:11 +02:00
Jarl Gullberg 6eecf54c57
Readd missing drawing namespace. 2017-07-26 16:47:26 +02:00
Jarl Gullberg 3dc6ad223f
Add conditional directory overrides for Unix. 2017-07-26 16:47:26 +02:00
Jarl Gullberg e508cfdfde
Removed accidental terminal command. Window focusing is hard. 2017-07-26 16:42:19 +02:00
Jarl Gullberg b15d2dc622
Make sure that StyleCop.Analyzers is excluded from NuGet dependencies. 2017-07-26 16:42:19 +02:00
Jarl Gullberg ab8f2826e7
Drop Link attribute in favor of Link tag to allow building with MSBuild 14 2017-07-26 16:41:32 +02:00
Jarl Gullberg c80c17036b
Added three undocumented rules. 2017-07-26 16:41:32 +02:00
Jarl Gullberg 4739d53bfc
Move exception rule to its corresponding block. 2017-07-26 16:41:32 +02:00
Jarl Gullberg 5e4d548a40
Enabled compliant rules in the SA15 block. 2017-07-26 16:41:32 +02:00
Jarl Gullberg 6d3d59554a
Enabled compliant rules in the SA14 block. 2017-07-26 16:41:32 +02:00
Jarl Gullberg 5380c54742
Enabled compliant rules in the SA13 block. 2017-07-26 16:41:32 +02:00
Jarl Gullberg f95019a652
Added intentional metadata to some rules and enabled compliant ones in the SA12 block. 2017-07-26 16:41:32 +02:00
Jarl Gullberg 25ecf7e01c
Disabled noncompliant rules after scanning the other projects. 2017-07-26 16:41:32 +02:00
Jarl Gullberg 577fb4e098
Forgot to add StyleCop.Analyzers to the other projects as well. 2017-07-26 16:41:32 +02:00
Jarl Gullberg a8998fec91
Enabled compliant rules in the SA10 block. 2017-07-26 16:41:27 +02:00
Jarl Gullberg 5d0b6f808a
Enabled SA1004. 2017-07-26 16:41:27 +02:00
Jarl Gullberg 0ed06b8aa1
Enabled SA1003. 2017-07-26 16:41:26 +02:00
Jarl Gullberg b0edadb3aa
Enabled some adhered rules. 2017-07-26 16:41:26 +02:00
Jarl Gullberg b72c04bb3d
Enabled StyleCop inspections for all projects. This replaces AllRules. 2017-07-26 16:41:26 +02:00
Jarl Gullberg 2fd5486735
Added stylecop configuration file and rule set. 2017-07-26 16:41:14 +02:00
Jarl Gullberg 86f7c1945f
Added StyleCop.Analyzers to OpenTK.GLWidget 2017-07-26 16:41:14 +02:00
Jarl Gullberg 86113a4eeb
Added StyleCop.Analyzers to the solution. 2017-07-26 16:41:14 +02:00
Jarl Gullberg 047c2396ab Merge pull request #603 from Nihlus/nuget-include-debugging-symbols
Ensure that all projects bundle their debugging symbols
2017-07-26 16:40:27 +02:00