Commit graph

7081 commits

Author SHA1 Message Date
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
Jarl Gullberg
eb932264ad
Ensure that all projects bundle their debugging symbols. 2017-07-26 16:13:20 +02:00
Fraser Waters
d9f40330e6 Merge pull request #601 from UnknownShadow200/develop
Update bugs/issues urls to point to OpenTK github issues instead of defunct OpenTK.com
2017-07-26 08:58:52 +01:00
UnknownShadow200
6e1d91ed4d Update bugs/issues urls to point to OpenTK github issues instead of defunct OpenTK.com 2017-07-26 17:20:00 +10:00
Dean Herbert
950cef3eae Remove child_window to support exclusive full screen in more scenarios 2017-07-25 14:22:29 +09:00
Dean Herbert
e44aba39ed Fix white flash when starting GameWindow based application on windows 2017-07-25 11:56:05 +09:00
Jarl Gullberg
541df66b1f Merge pull request #594 from VPeruS/sdl-position
Fix cursor incorreclty moved out of window
2017-07-25 00:36:01 +02:00
Vlad Kalyuzhny
2fca9b2b13 Fix cursor incorreclty moved out of window 2017-07-25 00:36:33 +03:00
Jarl Gullberg
a3df3b38e5 Merge pull request #586 from Nihlus/mark-cls-compliant
Mark methods and classes in GLWidget with their CLS compliance
2017-07-24 17:22:52 +02:00
Jarl Gullberg
ef89e71014
Removed redundant CLS-compliant attributes. 2017-07-24 16:11:45 +02:00
Jarl Gullberg
49244d26a4 Merge pull request #591 from Frassle/buildwarnings
Fix some simple build warnings
2017-07-24 16:08:26 +02:00
Jarl Gullberg
7aef9a19b6 Merge pull request #592 from Frassle/bindings_style
Fix the binding generator to match recent handmade changes
2017-07-24 16:06:05 +02:00
Fraser Waters
0dfaa414af Remove trailing space from bindings 2017-07-23 23:04:03 +01:00