Commit graph

7319 commits

Author SHA1 Message Date
emmaus
c847e1f0e4 fix keyboard detection on windows, removed minimal 2018-10-13 10:22:50 +00:00
emmaus
835af54e12 fix build 2018-10-10 19:40:37 +00:00
ReinUsesLisp
33da7b7761 Vulkan bindings (#1)
* Initial Vulkan support
2018-10-10 19:40:36 +00:00
emmaus
562882ad0d fix marshalling xsetwindowattribute 2018-10-10 19:40:34 +00:00
emmaus
6cac24a9aa fix platform detection in nativelibrary 2018-10-10 19:40:33 +00:00
emmaus
cc02000e6d dynamically load openal libs using mellinoe's code 2018-10-10 19:40:32 +00:00
emmaus
a01978c895 dynamically load sdl libs using mellinoe's code 2018-10-10 19:40:32 +00:00
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
varon
924781c921
Merge pull request #817 from acid-chicken/patch-1
Fix document typo
2018-10-01 17:23:41 +02:00
Acid Chicken (硫酸鶏)
428bf02b75
Update MathHelper.cs 2018-10-01 09:03:43 +09:00
Dylan Perks
e5e3bf5c42 Add official discord badge to readme (#814) 2018-09-23 14:26:18 +02:00
FreezyLemon
3c6d725629 Fix two typos (#784) 2018-07-17 18:38:33 +02: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
Jarl Gullberg
b8f8299b93
Update CONTRIBUTING.md 2018-07-03 22:33:37 +02:00
VperuS
a55206d837 Drop gitter chat from readme (#770)
Bridge isn't stable, sometimes messages didn't redirected to discord, it lead people to wrong area to ask
2018-07-03 22:23:17 +02: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