Commit graph

532 commits

Author SHA1 Message Date
emmaus 48a5347eb5 fix mouse clicks 2018-10-10 19:40:31 +00:00
emmaus a8696f0664 modified readme and added missing files 2018-10-10 19:40:30 +00:00
emmaus f309876d16 added netstandard project 2018-10-10 19:40:26 +00:00
Jarl Gullberg 5426fcaa46
Revert "Fix document typo" (#821) 2018-10-07 17:15:18 +02:00
Acid Chicken (硫酸鶏) 428bf02b75
Update MathHelper.cs 2018-10-01 09:03:43 +09:00
TominoCZ 9b5bc1172b Fixed incorrect Quaternion/Vector rotation (#776)
The issue was related to referencing...
In OpenTK 2.0, Vector3.Transform(Quaternion) actually returned a new instance of the rotated vector, which was then changed in 3.0 so that no new vector instances were created for better performance. In short, this is what caused the issue at Vector3.Transform(Quaternion), returning incorrectly rotated vectors.
2018-07-06 14:37:34 +02:00
Christopher Lees 3e4740e527 Fix: Use invariant culture when parsing version in Generator.Bind
Closes https://github.com/opentk/opentk/issues/748
2018-04-22 18:31:17 +01:00
Callum 3a70472382 Change Matrix4 to use unsafe code for invert (#719)
* Change Matrix4 to use unsafe code for invert

* Fix stylecop error

* Isolate unsafe code

* Move unsafe block
2018-04-06 22:13:35 +02:00
VperuS 067cd4a5bc Remove exception handling from main event loop in SDL. Fixed #735 (#737)
* Rethrow exception from main event loop in SDL. Fixed  #735

* Remove try-catch
2018-04-06 22:13:23 +02:00
Shane Woolcock 8ec577b9ca Fixes an issue on macOS where having unprocessed events on the event queue on startup (mouse movements, etc.) would put the app in a partially-activated state and not take window focus (#732) 2018-02-08 22:21:51 +01:00
Fraser Waters 1d563f1749 Pin paket version and reinstall dependencies
Pinning the version of paket used should ensure that running of "paket
install" is reproducible ensuring our CI git diff check doesn't spuriously
fail.
2018-01-28 17:42:55 +00:00
Dan Balasescu b16e7faacc Fix Xamarin project compiles (#725)
* Fix Generator.Rewrite failing on iOS builds

* Fix incorrect path

* Directly link to Xamarin.iOS facades

* Fix Xamarin.Mac framework directory

* Add TVOS/WatchOS framework directories

* Add Android framework directory

* Remove unused framework dirs for now

Maybe we can add these back in later, when we have compiling support for these platforms.

* Remove ProjectExtensions
2018-01-23 10:13:27 +01:00
UnknownShadow200 f17fa4bc2d Fix pressing alt + [numpad numbers] raising OnKeyPress with '?' 2018-01-22 11:21:10 +01:00
Fraser Waters f505808c8b Remove assembly version checks from resolver
Not sure how this version check slipped in. It's not present in upstream
cecil code or the disassembled code from our current copy of
mono.cecil.dll.

Fixes #710
2018-01-14 23:18:25 +01:00
VperuS 1e2af5e648 Exit rewrite process if passed not existed file 2018-01-14 18:26:11 +01:00
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
Jarl Gullberg f11b6ce6ad
Merge pull request #711 from copygirl/patch-1
Replace NativeWindow cursor_visible field with implementation's CursorVisible
2018-01-06 21:24:16 +01:00
copygirl aee67bf80a Fix brace formatting in NativeWindow.CursorVisible 2018-01-06 21:18:48 +01:00
Jarl Gullberg 2665f338dd
Merge pull request #714 from ThomasD13/quaternion
Quaternion
2018-01-06 20:52:35 +01:00
copygirl 3d9d6d7ee3 Update conditionals and formatting 2018-01-05 18:43:19 +01:00
copygirl d86967eb7c Remove an unneeded check and comment 2018-01-05 18:43:19 +01:00
copygirl 673c922b72 Move cursor visible check into implementations 2018-01-05 18:43:19 +01:00
copygirl fe65c87d81 Replace cursor_visible with implementation
INativeWindow implementations already have their own private fields storing cursor visibility
2018-01-05 18:43:19 +01:00
Jarl Gullberg f28ea173dc
Merge pull request #707 from Frassle/paket
Sync paket project and add CI support
2018-01-05 16:02:18 +01:00
Fraser Waters 031320a15c Run paket install 2018-01-05 12:58:23 +00:00
Fraser Waters 77ec751dcc Remove conditional StyleCop support 2018-01-05 12:56:26 +00:00
Unknown 079f5c5242 Fixed typos 2018-01-02 20:24:15 +01:00
Unknown fca36b19b0 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.
2018-01-02 17:53:04 +01:00
VperuS f22a18587c
Fix formating in MathHelper.cs 2018-01-02 15:06:09 +02:00
Fraser Waters 9610f20258 Remove and ignore AsssemblyInfo files (built by FAKE) 2018-01-01 19:33:25 +00:00
Jarl Gullberg 4fefbf3e4e
Merge pull request #697 from Frassle/cecil
Use custom cecil assembly resolver
2017-12-30 15:04:08 +01:00
Jarl Gullberg 21bd3e2cff
Merge pull request #700 from Frassle/stylecop
Conditional stylecop activation
2017-12-30 14:40:20 +01:00
Fraser Waters cf33b96686 Run paket install 2017-12-27 22:53:52 +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
Jarl Gullberg 7fd3d75f6c
Remove bindings from source control. 2017-12-27 20:04:04 +01:00
Jarl Gullberg 991e36ca4f
Merge pull request #698 from Frassle/specupdate
Update bindings from OpenGL-Registry
2017-12-27 18:57:12 +01:00
Fraser Waters 9a40e81e73
Merge pull request #663 from Frassle/issue656
Skip null entries when enumerating DeviceCollection
2017-12-26 21:24:03 +00:00
Fraser Waters 0fc7f6d4aa Add DebugProc to ES11 2017-12-26 21:19:36 +00:00
Fraser Waters cea60cf034 Rerun Generator.Bind 2017-12-26 18:38:18 +00:00
Fraser Waters e5db83e3e5 Regenerate signatures.xml from OpenGL-Registry
Generated from commit 681c365c012ac9d3bcadd67de10af4730eb460e0

https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/681c365c012ac9d3bcadd67de10af4730eb460e0/xml/gl.xml
2017-12-26 18:37:26 +00:00
Fraser Waters 0ab78f73a4 Update Converter README to refer to new github xml specs 2017-12-26 18:33:30 +00:00
Fraser Waters 084dcbf062 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.
2017-12-26 18:12:30 +00:00
Tzach Shabtay 0f9552e39a Game Window- allow configuring separate update thread 2017-12-23 01:58:07 -05:00
Shane Kelly e335698c07 Remove a lock on a read-only operation, in IsCurrent() 2017-12-09 12:19:41 +02:00
Shane Kelly 0c1082892d Merge branch 'develop' of https://github.com/opentk/opentk into develop 2017-12-09 09:49:12 +02:00
Shane Kelly 67563520ff Stop using DisplayLocks for every MakeCurrent context call. 2017-12-09 09:39:44 +02:00
varon 81268371c4
Merge pull request #681 from VPeruS/missing-xml
Add xml docs based on HelpText
2017-12-06 16:51:48 +02:00
VperuS ce86006c8e
English grammar in comments 2017-11-21 01:40:51 +02:00
VperuS 24b0930381
Apply required changes 2017-11-20 06:14:44 +02:00