Commit graph

7316 commits

Author SHA1 Message Date
emmaus 24585a1066 test 2020-02-04 22:29:00 +00:00
Emmanuel d1d3c04d7f fix source files corruption 2020-02-04 09:21:03 +00:00
Emmanuel c5f97fc94c update gitignore 2020-02-04 09:20:47 +00:00
Emmanuel c609933059 fix keyboard 2020-02-04 08:18:37 +00:00
emmaus bac73cd815 fix windows keyboard(for real this time) 2020-02-03 20:52:48 +00:00
emmaus 364d689452 nuget 2020-02-03 20:52:42 +00:00
emmaus 46c9654054 bump version 1.0.4 2018-06-20 09:28:17 +00:00
emmaus a5c9ddb1f4 fix marshalling xsetwindowattribute 2018-06-19 19:38:27 +00:00
emmaus 8780e5f3aa fix platform detection in nativelibrary 2018-06-19 19:04:35 +00:00
emmaus 92530a7544 dynamically load openal libs using mellinoe's code 2018-06-19 14:14:46 +00:00
emmaus 6f91916149 dynamically load sdl libs using mellinoe's code 2018-06-19 12:03:48 +00:00
emmaus 017b5fb62d fix mouse clicks 2018-06-19 10:46:02 +00:00
emmaus 19c8a97a7c Merge branch 'master' of https://github.com/Ryujinx/Opentk 2018-06-16 18:06:48 +00:00
emmaus fec7e76578 modified readme and added missing files 2018-06-16 17:51:56 +00:00
emmaus c73ba80a84 added netstandard project 2018-06-16 15:49:03 +00:00
Fraser Waters c455638dd1
Merge pull request #750 from leezer3/Patch3
Fix: Use invariant culture when parsing version in Generator.Bind
2018-04-22 18:56:29 +01: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 f3c545eef1
Merge pull request #729 from Frassle/paket
Pin paket version and reinstall dependencies
2018-01-28 21:20:04 +00: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
Jarl Gullberg 6ad8b92c84
Split FsCheck data generators into a helper library (#716)
* Move generators and assertions to helper library.

* Add example usage to bezier curve tests.

* Add FsCheck to OpenTK.Tests.Math via paket.

* Tweak fsharp msbuild settings for OpenTK.Tests.Generators.
2018-01-09 12:06:39 +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
Fraser Waters 0b3f17507c
Merge pull request #715 from Nihlus/improve-gitignore
Improve .gitignore
2018-01-07 10:32:23 +00: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
Unknown 113d380a2e Removed empty lines 2018-01-06 20:16:36 +01:00
Unknown c5d597c545 Fixed params and names 2018-01-06 19:50:03 +01:00
Jarl Gullberg cd49685c20
Merge pull request #705 from Nihlus/add-contributing-guidelines
Add contribution guidelines
2018-01-06 11:20:24 +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 a875bfe6b9 Restructured Quaternion tests 2018-01-03 20:36:29 +01:00
Unknown 5aed63e396 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.
2018-01-03 19:46:04 +01:00
Jarl Gullberg 81a4ed9aa6
Update .gitignore. 2018-01-03 15:31:36 +01:00
Jarl Gullberg 9529caab94
Reformat document to conform to typical column width. 2018-01-03 14:20:37 +01:00
Jarl Gullberg 4e31a412ae
Remove bad style guide link, replace with explanation. 2018-01-03 14:08:58 +01:00
Jarl Gullberg 9e6b27b643
Correct typo. 2018-01-02 21:08:51 +01: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