Commit Graph

535 Commits

Author SHA1 Message Date
Alberto Fanjul
af6c86ad19
Fix: Implement custom procfs watcher for connect / disconnect events (#7)
* Fix: Implement custom procfs watcher for connect / disconnect events

* fix encoding on build files

* Update travis CI

* Use last supported framework on CI

Co-authored-by: Christopher Lees <leezer3@gmail.com>
2020-11-05 20:35:54 +00:00
emmauss
bf2d7049a1
Merge kb to master (#8)
* bump version 1.0.4

* nuget

* fix windows keyboard(for real this time)

* fix keyboard

* update gitignore

* fix source files corruption

* test

* Fix x11 window creation. (#3)

Co-authored-by: Emmanuel <nhv3@localhost.localdomain>
Co-authored-by: riperiperi <rhy3756547@hotmail.com>
2020-10-26 22:22:01 +00:00
emmauss
ef33f1e08e
Update master (#2)
* bump version 1.0.4

* nuget

* fix windows keyboard(for real this time)

* fix keyboard

* update gitignore

* fix source files corruption

* test

Co-authored-by: Emmanuel <nhv3@localhost.localdomain>
2020-05-25 15:03:13 +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
fec7e76578 modified readme and added missing files 2018-06-16 17:51:56 +00: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