Commit graph

31 commits

Author SHA1 Message Date
iRon 0a5c346c52 Fix to able to recover from GraphicsModeException in the override OnH… (#658)
* Fix to able to recover from GraphicsModeException in the override OnHandleCreated.

* Changes according to comments:
- m_implementation and m_context is now always set. To DummyGLControl if CreateContext fails
- Changed FailedCreateContext -> HasValidContext
- Changed all if{} to short style with braces.
- Added null propagation when applicable
- Renamed member variables to have 'm_' infront.
- and more ...

* Changed 'm_' prefix into '_'
Added braces to be using Allman Style

* Fixed:

  2) SA1003: GLControl.cs(226,47): Operator '(IGraphicsContextInternal)' must not be followed by whitespace.
  3) SA1003: GLControl.cs(412,49): Operator '(float)' must not be followed by whitespace.

* Removed Paket.Restore.targets from sourcecontrol
Added *.Restore.targets to .gitignore

* Fixed comments
Added *.DotSettings to .gitignore

* Removed *.DotSettings from GitIgnore
Moved *.Restore.targets to Paket section
2018-01-08 22:31:45 +01:00
Fraser Waters 77ec751dcc Remove conditional StyleCop support 2018-01-05 12:56:26 +00:00
Fraser Waters 9610f20258 Remove and ignore AsssemblyInfo files (built by FAKE) 2018-01-01 19:33:25 +00:00
Fraser Waters 3971e8af78 Add ability to disable/enable stylecop rules 2017-12-27 21:03:55 +00:00
Fraser Waters 531167454c Fix StyleCop issues in GLControl 2017-12-27 21:00:49 +00:00
Fraser Waters 1106a9ab07 Revert GLControl and GLWidget to target 2.0 framework 2017-08-22 11:54:02 +01: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 b72c04bb3d
Enabled StyleCop inspections for all projects. This replaces AllRules. 2017-07-26 16:41:26 +02:00
Jarl Gullberg eb932264ad
Ensure that all projects bundle their debugging symbols. 2017-07-26 16:13:20 +02:00
Jarl Gullberg 094580daa3
Removed unused using statements. 2017-07-20 21:32:51 +02:00
Jarl Gullberg 4f60f95607
Enforced the use of braces for conditional statements. 2017-07-17 19:24:51 +02:00
Jarl Gullberg 5f2d3144c4
Enforced use of explicit private modifiers. 2017-07-17 18:51:54 +02:00
Jarl Gullberg 11061bc172
Attempted AppVeyor compilation fix by target version bump. 2017-07-16 15:53:29 +02:00
Jarl Gullberg 127c6fd67d
Transformed compatible properties into auto-properties where possible. 2017-07-07 11:52:32 +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 f11ecd016d
Removed region declarations across the codebase. 2017-07-05 14:09:27 +02:00
Jarl Gullberg a67340e2b3
Added deterministic option to all relevant projects. 2017-07-05 13:49:08 +02:00
Jarl Gullberg 094e79a570
Removed obsolete screenshot function. 2017-06-22 18:34:48 +02:00
Jarl Gullberg 65d0cf4c58
Removed obsolete and unused function. 2017-06-22 18:34:47 +02:00
varon 4ee0700bab Update project deps 2017-05-31 14:13:17 +02:00
varon fffb05a917 Release 3.0.0-pre 2017-05-08 22:48:40 +02:00
varon 2afe5c1f1a Converted paket templates to project types again 2016-08-14 00:18:16 +02:00
varon ea1e42a65e Corrected project exclusions 2016-08-14 00:18:15 +02:00
varon cdacb73f0b Added necessary paket files 2016-08-14 00:18:10 +02:00
varon f03f55f24d Updated assemblyinfo 2016-08-14 00:18:10 +02:00
varon c4e938a7db Removed old build configurations from projects 2016-07-17 22:36:57 +02:00
varon 63ea75330b Fixed release build output locations 2016-07-17 22:34:43 +02:00
varon 8504e0f543 Removed GlobalAssemblyInfo references 2016-07-17 22:10:06 +02:00
varon bae84f2dfa Changed debug build output locations for projects 2016-07-17 22:09:12 +02:00
varon fe7be9e63a Renamed GLControl to OpenTK.GLControl 2016-07-17 21:59:59 +02:00