iRon [Mon, 8 Jan 2018 21:31:45 +0000 (22:31 +0100)]
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
Fraser Waters [Sun, 7 Jan 2018 10:32:23 +0000 (10:32 +0000)]
Merge pull request #715 from Nihlus/improve-gitignore
Improve .gitignore
Jarl Gullberg [Sat, 6 Jan 2018 20:24:16 +0000 (21:24 +0100)]
Merge pull request #711 from copygirl/patch-1
Replace NativeWindow cursor_visible field with implementation's CursorVisible
copygirl [Sat, 6 Jan 2018 20:18:48 +0000 (21:18 +0100)]
Fix brace formatting in NativeWindow.CursorVisible
Jarl Gullberg [Sat, 6 Jan 2018 19:52:35 +0000 (20:52 +0100)]
Merge pull request #714 from ThomasD13/quaternion
Quaternion
Unknown [Sat, 6 Jan 2018 19:16:36 +0000 (20:16 +0100)]
Removed empty lines
Unknown [Sat, 6 Jan 2018 18:50:03 +0000 (19:50 +0100)]
Fixed params and names
Jarl Gullberg [Sat, 6 Jan 2018 10:20:24 +0000 (11:20 +0100)]
Merge pull request #705 from Nihlus/add-contributing-guidelines
Add contribution guidelines
copygirl [Fri, 5 Jan 2018 17:43:03 +0000 (18:43 +0100)]
Update conditionals and formatting
copygirl [Fri, 5 Jan 2018 14:30:02 +0000 (15:30 +0100)]
Remove an unneeded check and comment
copygirl [Tue, 2 Jan 2018 00:30:35 +0000 (01:30 +0100)]
Move cursor visible check into implementations
copygirl [Mon, 1 Jan 2018 20:20:17 +0000 (21:20 +0100)]
Replace cursor_visible with implementation
INativeWindow implementations already have their own private fields storing cursor visibility
Jarl Gullberg [Fri, 5 Jan 2018 15:02:18 +0000 (16:02 +0100)]
Merge pull request #707 from Frassle/paket
Sync paket project and add CI support
Fraser Waters [Fri, 5 Jan 2018 12:58:23 +0000 (12:58 +0000)]
Run paket install
Fraser Waters [Fri, 5 Jan 2018 12:55:22 +0000 (12:55 +0000)]
Remove conditional StyleCop support
Unknown [Wed, 3 Jan 2018 19:36:29 +0000 (20:36 +0100)]
Restructured Quaternion tests
Unknown [Wed, 3 Jan 2018 18:40:11 +0000 (19:40 +0100)]
Refactored helper unit test classes
Extracted classes which provides data and verify test results into seperate files.
Replaced String with string and removed the System namespace.
Jarl Gullberg [Wed, 3 Jan 2018 14:10:58 +0000 (15:10 +0100)]
Update .gitignore.
Jarl Gullberg [Wed, 3 Jan 2018 13:20:37 +0000 (14:20 +0100)]
Reformat document to conform to typical column width.
Jarl Gullberg [Wed, 3 Jan 2018 13:08:58 +0000 (14:08 +0100)]
Remove bad style guide link, replace with explanation.
Jarl Gullberg [Tue, 2 Jan 2018 20:08:51 +0000 (21:08 +0100)]
Correct typo.
Unknown [Tue, 2 Jan 2018 19:24:15 +0000 (20:24 +0100)]
Fixed typos
Unknown [Tue, 2 Jan 2018 16:53:04 +0000 (17:53 +0100)]
Provide fix for converting euler angles to quaternion
Fixed API documentation and changed convertion from euler angles to quaterion:
Rotation will applied in following order: 1. xAxis, 2. yAxis, 3. zAxis.
Right hand rule is used here. Rotation is interpreted counter clock wise, in viewing direction of positive axis. Still need to double check that with unit tests.
Unknown [Tue, 2 Jan 2018 16:47:33 +0000 (17:47 +0100)]
Add unit tests which reveal converting problems with euler angles
Partly covered methods which converts between euler angles and quaternions.
Whats still missing here is applied rotation axis and rotation orientation (counter clockwise + right hand rule)
Fraser Waters [Tue, 2 Jan 2018 13:51:25 +0000 (13:51 +0000)]
Merge pull request #712 from VPeruS/patch-2
Fix formating in MathHelper.cs
VperuS [Tue, 2 Jan 2018 13:06:09 +0000 (15:06 +0200)]
Fix formating in MathHelper.cs
Fraser Waters [Sat, 30 Dec 2017 17:29:41 +0000 (17:29 +0000)]
Add paket checks to CI
Jarl Gullberg [Mon, 1 Jan 2018 21:25:34 +0000 (22:25 +0100)]
Merge pull request #708 from Frassle/xunitmath
xUnit math tests
Fraser Waters [Wed, 27 Dec 2017 16:05:13 +0000 (16:05 +0000)]
xUnit math tests
Fraser Waters [Mon, 1 Jan 2018 19:51:22 +0000 (19:51 +0000)]
Merge pull request #709 from Frassle/buildfixes
Couple of build system fixes
Fraser Waters [Sat, 30 Dec 2017 18:43:26 +0000 (18:43 +0000)]
Fix issues with GenerateBindings target
generateBindings was let bound as a value and thus ran at startup before
any other target. Changed so all the code for generating the bindings is
in the target and the target is added a build dependency.
Fraser Waters [Sat, 30 Dec 2017 18:16:10 +0000 (18:16 +0000)]
Remove and ignore AsssemblyInfo files (built by FAKE)
Jarl Gullberg [Sun, 31 Dec 2017 19:12:47 +0000 (20:12 +0100)]
Update based on feedback.
Fraser Waters [Sat, 30 Dec 2017 16:42:53 +0000 (16:42 +0000)]
Merge pull request #706 from Nihlus/discord-in-readme
Add Discord chat link to the README
Jarl Gullberg [Sat, 30 Dec 2017 14:04:08 +0000 (15:04 +0100)]
Merge pull request #697 from Frassle/cecil
Use custom cecil assembly resolver
Jarl Gullberg [Thu, 17 Aug 2017 10:27:14 +0000 (12:27 +0200)]
Add Discord chat link to the README.
Jarl Gullberg [Sun, 25 Jun 2017 17:24:37 +0000 (19:24 +0200)]
Added contribution guidelines.
Jarl Gullberg [Sat, 30 Dec 2017 13:40:20 +0000 (14:40 +0100)]
Merge pull request #700 from Frassle/stylecop
Conditional stylecop activation
Jarl Gullberg [Sat, 30 Dec 2017 13:40:05 +0000 (14:40 +0100)]
Merge pull request #704 from Frassle/paket
Update paket conditions and references
Fraser Waters [Wed, 27 Dec 2017 22:25:07 +0000 (22:25 +0000)]
Run paket install
Fraser Waters [Wed, 27 Dec 2017 21:28:34 +0000 (21:28 +0000)]
Add .paket/Paket.Restore.targets to .gitignore
Fraser Waters [Wed, 27 Dec 2017 08:03:29 +0000 (08:03 +0000)]
Add ability to disable/enable stylecop rules
Fraser Waters [Wed, 27 Dec 2017 08:30:36 +0000 (08:30 +0000)]
Fix StyleCop issues in GLControl
Jarl Gullberg [Wed, 27 Dec 2017 20:52:42 +0000 (21:52 +0100)]
Merge pull request #703 from Nihlus/remove-bindings-from.git
Remove bindings from Git
Jarl Gullberg [Wed, 27 Dec 2017 20:22:37 +0000 (21:22 +0100)]
Use Path.Combine instead of absolute path.
Jarl Gullberg [Wed, 27 Dec 2017 19:46:39 +0000 (20:46 +0100)]
Update README.md
Jarl Gullberg [Wed, 27 Dec 2017 19:04:37 +0000 (20:04 +0100)]
Add binding generation as an additional onetime build step.
Jarl Gullberg [Wed, 27 Dec 2017 19:04:04 +0000 (20:04 +0100)]
Remove bindings from source control.
Jarl Gullberg [Wed, 27 Dec 2017 18:48:33 +0000 (19:48 +0100)]
Merge branch 'develop' of github.com:opentk/opentk into remove-bindings-from.git
Jarl Gullberg [Wed, 27 Dec 2017 18:48:27 +0000 (19:48 +0100)]
Add binding generation step to build script.
Jarl Gullberg [Wed, 27 Dec 2017 17:57:12 +0000 (18:57 +0100)]
Merge pull request #698 from Frassle/specupdate
Update bindings from OpenGL-Registry
Fraser Waters [Tue, 26 Dec 2017 21:24:03 +0000 (21:24 +0000)]
Merge pull request #663 from Frassle/issue656
Skip null entries when enumerating DeviceCollection
Fraser Waters [Tue, 26 Dec 2017 21:19:36 +0000 (21:19 +0000)]
Add DebugProc to ES11
Fraser Waters [Tue, 26 Dec 2017 19:50:09 +0000 (19:50 +0000)]
Merge pull request #699 from Frassle/testrm
Remove Test.API.Desktop
Fraser Waters [Tue, 26 Dec 2017 18:42:20 +0000 (18:42 +0000)]
Remove Test.API.Desktop
Fraser Waters [Tue, 26 Dec 2017 18:38:18 +0000 (18:38 +0000)]
Rerun Generator.Bind
Fraser Waters [Tue, 26 Dec 2017 18:37:26 +0000 (18:37 +0000)]
Regenerate signatures.xml from OpenGL-Registry
Generated from commit
681c365c012ac9d3bcadd67de10af4730eb460e0
https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/
681c365c012ac9d3bcadd67de10af4730eb460e0/xml/gl.xml
Fraser Waters [Tue, 26 Dec 2017 18:33:30 +0000 (18:33 +0000)]
Update Converter README to refer to new github xml specs
Fraser Waters [Thu, 7 Sep 2017 16:10:39 +0000 (17:10 +0100)]
Use custom cecil assembly resolver
Fixes #642, until https://github.com/jbevain/cecil/pull/477 is merged
and released and we can update our Mono.Cecil dependency to that
version.
This custom resolver takes into account Mono reference assemblies for
mscorlib. This ensures we don't add spurious references to mscorlib
4.0.
Jarl Gullberg [Mon, 25 Dec 2017 23:15:24 +0000 (00:15 +0100)]
Merge pull request #695 from tzachshabtay/develop
Game Window- allow configuring separate update thread
Tzach Shabtay [Sat, 23 Dec 2017 06:58:07 +0000 (01:58 -0500)]
Game Window- allow configuring separate update thread
Tzach Shabtay [Wed, 20 Dec 2017 03:35:10 +0000 (22:35 -0500)]
Merge remote-tracking branch 'opentk/develop' into develop
varon [Mon, 11 Dec 2017 09:40:16 +0000 (11:40 +0200)]
Merge pull request #691 from SparkusK/develop
Stop taking X locks on display when attempting MakeCurrent() calls.
Shane Kelly [Sat, 9 Dec 2017 10:19:41 +0000 (12:19 +0200)]
Remove a lock on a read-only operation, in IsCurrent()
Shane Kelly [Sat, 9 Dec 2017 07:49:12 +0000 (09:49 +0200)]
Merge branch 'develop' of https://github.com/opentk/opentk into develop
Shane Kelly [Sat, 9 Dec 2017 07:39:44 +0000 (09:39 +0200)]
Stop using DisplayLocks for every MakeCurrent context call.
varon [Wed, 6 Dec 2017 14:51:48 +0000 (16:51 +0200)]
Merge pull request #681 from VPeruS/missing-xml
Add xml docs based on HelpText
VperuS [Mon, 20 Nov 2017 23:40:51 +0000 (01:40 +0200)]
English grammar in comments
VperuS [Mon, 20 Nov 2017 04:14:44 +0000 (06:14 +0200)]
Apply required changes
VperuS [Sat, 18 Nov 2017 16:24:46 +0000 (18:24 +0200)]
Add xml docs based on HelpText
Jarl Gullberg [Thu, 2 Nov 2017 10:29:43 +0000 (11:29 +0100)]
Merge pull request #662 from Frassle/outstr
Add required count attribute overrides
Fraser Waters [Thu, 5 Oct 2017 17:28:36 +0000 (18:28 +0100)]
Add missing count attribute to ExtGetProgramBinarySourceQCOM
Also extends Rewrite to understand the new syntax of "*name".
Fraser Waters [Thu, 5 Oct 2017 15:26:22 +0000 (16:26 +0100)]
Add count attribute to GetTranslatedShaderSource out string parameter
Fraser Waters [Thu, 5 Oct 2017 15:07:04 +0000 (16:07 +0100)]
Add count attribute to GetPerfQueryInfoINTEL out string parameter
Fraser Waters [Thu, 5 Oct 2017 14:46:15 +0000 (15:46 +0100)]
Add count attributes to GetPerfCounterInfoINTEL out string/array parameters
Fraser Waters [Wed, 4 Oct 2017 12:49:33 +0000 (13:49 +0100)]
Override flow direction for glGetPerfQueryIdByNameINTEL
The function in the OpenGL specification is not const correct.
Fraser Waters [Wed, 4 Oct 2017 10:35:26 +0000 (11:35 +0100)]
Fix bug in Rewrite that didn't detect missing CountAttributes
Jarl Gullberg [Thu, 19 Oct 2017 19:06:19 +0000 (21:06 +0200)]
Merge pull request #661 from Frassle/bindfix
Binding Generator fixes related to legacy array overloads
Jarl Gullberg [Thu, 19 Oct 2017 19:03:11 +0000 (21:03 +0200)]
Merge pull request #652 from Nihlus/glwidget-glarea
Base GLWidget on GLArea instead of DrawingArea
Jarl Gullberg [Thu, 19 Oct 2017 18:59:55 +0000 (20:59 +0200)]
Merge pull request #667 from anegostudios/doctyron
Fix broken manual link in README.md using archive.org
Tyron Madlener [Thu, 12 Oct 2017 09:58:56 +0000 (11:58 +0200)]
Use older version where more links work
Tyron Madlener [Thu, 12 Oct 2017 09:55:41 +0000 (11:55 +0200)]
Fix dead manual link using archive.org
Fraser Waters [Thu, 5 Oct 2017 21:47:08 +0000 (22:47 +0100)]
Skip null entries when enumerating DeviceCollection
Fixes #656.
DeviceCollection used the underlying List<T>'s enumerator. But we replace
entries in the list with nulls to save memory movement. This commit adds a
custom enumerator that skips nulls in the list.
Fraser Waters [Thu, 5 Oct 2017 14:32:39 +0000 (15:32 +0100)]
Fix bug where count overrides didn't effect ComputeSize
ComputeSize and ElementCount should match each other (and they do when
read direct from XML spec files). However when using the override file to
change count only ElementCount was effected. This is now fixed so that
ComputeSize is set and also so that ElementCount gets reset to 0 if the
count value isn't an integer.
Fraser Waters [Thu, 5 Oct 2017 14:29:56 +0000 (15:29 +0100)]
Generate legacy overloads for GetProgramResourceiv
Fraser Waters [Thu, 5 Oct 2017 14:27:42 +0000 (15:27 +0100)]
Generate legacy overloads for GetProgramResourceName
Fraser Waters [Thu, 5 Oct 2017 14:20:24 +0000 (15:20 +0100)]
Generate legacy overloads for GetProgramBinary
Fraser Waters [Thu, 5 Oct 2017 14:17:59 +0000 (15:17 +0100)]
Generate legacy overloads for GetTranslatedShaderSource
Fraser Waters [Thu, 5 Oct 2017 14:06:10 +0000 (15:06 +0100)]
Generate legacy overloads for QCOM_extended_get
Fraser Waters [Thu, 5 Oct 2017 13:58:19 +0000 (14:58 +0100)]
Generate legacy overloads for GetProgramPipelineInfoLog
Fraser Waters [Thu, 5 Oct 2017 13:51:48 +0000 (14:51 +0100)]
Remove unused GetPointerv overloads
Fraser Waters [Thu, 5 Oct 2017 12:41:25 +0000 (13:41 +0100)]
Generate legacy overloads for VertexAttrib1fv
Fraser Waters [Thu, 5 Oct 2017 12:31:04 +0000 (13:31 +0100)]
Generate legacy overloads for GetObjectPtrLabel
Fraser Waters [Thu, 5 Oct 2017 11:33:07 +0000 (12:33 +0100)]
Generate legacy overloads for GetObjectLabel
Fraser Waters [Thu, 5 Oct 2017 11:37:02 +0000 (12:37 +0100)]
Generate legacy overloads for EdgeFlagv
Fraser Waters [Thu, 5 Oct 2017 11:33:19 +0000 (12:33 +0100)]
Add feature to Bind to generate legacy array overloads
Fraser Waters [Wed, 4 Oct 2017 21:26:49 +0000 (22:26 +0100)]
Remove ShaderSource override that had no effect
Fraser Waters [Wed, 4 Oct 2017 19:00:53 +0000 (20:00 +0100)]
Removing some dead code in Bind
This change doesn't effect the output of Bind.
Fraser Waters [Wed, 4 Oct 2017 13:32:19 +0000 (14:32 +0100)]
Remove trailing whitespace from overrides.xml
Fraser Waters [Tue, 3 Oct 2017 11:16:59 +0000 (12:16 +0100)]
Merge pull request #641 from Frassle/vector
Add Distance[Squared] methods to Vector(2/3)[d]