thefiddler
e5e9ae0929
[Mac]] Add NSApplication.IsUIThread property
...
This can be used to check whether it is safe to access UI components in
the calling thread.
2014-07-23 21:14:47 +02:00
thefiddler
050a93d4af
[Mac] Resource registration moved to the facades
2014-07-23 14:36:09 +02:00
thefiddler
ac2ae4a4bb
[Mac] Ensure Cocoa bindings are initialized first
2014-07-23 14:35:51 +02:00
thefiddler
6abca6ddf7
[OpenTK] Register GraphicsContext and NativeWindow
2014-07-23 14:35:33 +02:00
thefiddler
ab75ca05c4
[OpenTK] Added IPlatformFactory.RegisterResource()
2014-07-23 14:34:52 +02:00
thefiddler
5d66aaa034
[Mac] Do not set callback delegates to null
...
This is done automatically by the GC once they are eligible for
collection.
2014-07-23 10:10:37 +02:00
thefiddler
4093b39fac
[Mac] Store a reference to callback delegates
...
This avoids a potential crashes by the GC reclaiming the delegates
prematurely.
2014-07-23 10:10:08 +02:00
thefiddler
e81d8da068
[OpenTK] Reduce duplication in GraphicsContextBase
...
Inheritors now take advantage of base class functionality to avoid
duplicating finalizers and warning messages.
2014-07-23 10:08:57 +02:00
thefiddler
8f03b09dad
[Mac] Register platform resources for disposal
2014-07-23 09:21:28 +02:00
thefiddler
77a44b2c8e
[OpenTK] Add allocated resource registry
2014-07-23 09:21:20 +02:00
thefiddler
864cc84019
[Mac] Do not execute run loop prematurely
...
Fixes a potential crash when destroying and recreating OpenTK.Toolkit.
2014-07-23 09:20:51 +02:00
thefiddler
b0ceef3ec9
[OpenTK] Additional constructor and doc cleanup
2014-07-23 09:05:29 +02:00
thefiddler
0a0a5d0af7
[Mac] More defensive programming
...
CocoaNativeWindow now checks for and reports failures to allocate
resources in its constructor. Additionally, it no longer calls UI
methods in the finalizer thread, as those methods will crash on Cocoa.
2014-07-23 09:05:01 +02:00
thefiddler
7cc3e922ee
[OpenTK] Re-add static Factory constructor
...
There are static methods that rely on `OpenTK.Platform.Factory` having
a static constructor. We need to fix those first, before we can remove
this constructor.
2014-07-23 09:03:18 +02:00
thefiddler
9d6b6891e6
[Mac] CursorVisible should only apply when changed
...
This fixes an issue where `NativeWindow.Dispose()` would move the mouse
cursor.
2014-07-22 21:02:33 +02:00
thefiddler
0c4081f6ef
[Mac] Do not use Autorelease pool
2014-07-22 16:29:52 +02:00
thefiddler
5501689d37
[Mac] Added objc_disposeClassPair binding
2014-07-22 16:29:37 +02:00
thefiddler
0e40f63cf2
[Mac] Close CocoaNativeWindow in Dispose()
...
Also fix various memory management issues regarding the `MouseCursor`
and `Icon` properties.
2014-07-22 16:29:21 +02:00
thefiddler
7956126c8d
[Mac] Retain CFRunLoop while it is in use
2014-07-22 16:20:46 +02:00
thefiddler
42e4e0b27e
[Mac] Added CFRetain binding
2014-07-22 16:19:43 +02:00
thefiddler
35bdf16f85
[OpenTK] Correctly reinitialize platform factory
2014-07-22 14:29:20 +02:00
thefiddler
a047c08d3d
[Mac] Correctly shutdown HID input driver
2014-07-22 14:28:48 +02:00
thefiddler
bdff76c639
[Docs] Updated documentation for release
2014-07-21 18:07:23 +02:00
thefiddler
2a84104262
Merge pull request #157 from thefiddler/warnfix
...
Fix all build warnings on VS2013 and Mono 3.4.0
2014-07-21 18:05:20 +02:00
thefiddler
7c98a9c58d
Merge pull request #156 from thefiddler/buildfix
...
Use "Preserve Newest" option on OpenTK.dll.config
2014-07-21 17:56:10 +02:00
thefiddler
4bde589225
Fixed compilation warnings on Mono 3.4.0
2014-07-21 17:55:12 +02:00
thefiddler
d739085cca
Fixed compilation warnings on Mono 3.4.0
2014-07-21 17:52:17 +02:00
thefiddler
333503d70e
Fixed compilation warnings on Mono 3.4.0
2014-07-21 17:48:14 +02:00
thefiddler
00b531fdef
Fixed compilation warnings on Mono 3.4.0
2014-07-21 17:46:39 +02:00
thefiddler
7a064c382a
[Examples] Fixed all warnings
2014-07-21 17:20:19 +02:00
thefiddler
98399c2f48
[Compat] Use Preserve Newest in dll.config
...
This speeds up compilation times significantly.
2014-07-21 16:55:07 +02:00
thefiddler
f0484879ef
[ES][GL] Regenerated bindings
2014-07-21 16:53:36 +02:00
thefiddler
ffd7682eeb
[ES][GL] Added missing documentation comments
2014-07-21 16:53:24 +02:00
thefiddler
093dd1d1ca
[Bind] Fixed an issue where CLS-compliance was incorrectly overriden
2014-07-21 16:53:02 +02:00
thefiddler
e0a3b73130
Cleaned up the remaining obsolete warnings
2014-07-21 16:49:24 +02:00
thefiddler
461fbce45f
Cleaned up a number of obsolete warnings
2014-07-21 16:39:58 +02:00
thefiddler
6d1149cccd
[GL] BufferObjects and TextureUnit are not obsolete
2014-07-21 16:34:21 +02:00
thefiddler
c046584aaf
[Bind] Implemented CLS-compliant checks for Enums
2014-07-21 16:25:21 +02:00
thefiddler
ead151ea4f
Fixed a large number of warnings
2014-07-21 16:03:37 +02:00
thefiddler
bf65005e7b
[Bind] Added Enum.Obsolete property
2014-07-21 16:02:56 +02:00
thefiddler
33c9fe5025
[ES] Marked obsolete enums as such
2014-07-21 16:02:32 +02:00
thefiddler
cab9e85386
[Bind] Enums can now be marked as obsolete
2014-07-21 16:02:18 +02:00
thefiddler
ec34d17b21
Fixed a large number of build warnings
2014-07-21 15:03:24 +02:00
thefiddler
b07e5941dd
[Build] Updated mono version to 3.4.0.
2014-07-21 14:43:26 +02:00
thefiddler
b5dd2f9c87
Merge pull request #155 from thefiddler/relnotes_july2014
...
[Docs] Updated documentation for July 2014 release
2014-07-21 14:37:44 +02:00
thefiddler
de109bb714
Merge pull request #154 from opentk/glspecs_july2014
...
[ES][GL] Sync with July 2014 specification
2014-07-21 14:37:34 +02:00
thefiddler
6ab1a9db87
Use "Preserve Newest" option on OpenTK.dll.config
...
OpenTK.dll.config was previously set to be always copied to the
output directory. This caused constant rebuilds in Visual Studio.
Setting this to "Preserve Newest" improves build times
significantly.
2014-07-21 14:32:08 +02:00
thefiddler
3961b1ffcc
[Docs] Updated documentation for July 2014 release
2014-07-21 14:28:24 +02:00
thefiddler
f756b97ffb
[ES][GL] Regenerated bindings
2014-07-21 09:19:39 +02:00
thefiddler
5cac37a4f5
[GL] Synced with the July 2014 Khronos spec
...
This version fixes various issues in the OES_byte_coordinates extension
and improves the documentation on parameter lengths.
2014-07-21 09:19:29 +02:00