Commit graph

5344 commits

Author SHA1 Message Date
Stefanos A 4b3aac38b6 Merge branch 'no-reflect' of https://github.com/opentk/opentk
Conflicts:
	OpenTK.sln
2013-12-15 18:30:47 +01:00
parallels b31e0e8474 Compatibility fixes for Mono 2.10
The Mono 2.10 compiler fails when compiling extern methods that are not
marked as DllImport. We fix that by adding a method body that throws a
NotImplementedException instead.

Additionally, MonoDevelop 2.8 cannot open sln files with ToolsVersion 12.
The fix is to change ToolsVersion to 11.
2013-12-15 18:27:24 +01:00
Stefanos A 87030c0e68 Merge branch 'no-reflect'
Conflicts:
	OpenTK.sln
	Source/Bind/FuncProcessor.cs
	Source/OpenTK/Graphics/ES11/ES11.cs
	Source/OpenTK/Graphics/ES11/ES11Core.cs
	Source/OpenTK/Graphics/ES11/ES11Delegates.cs
	Source/OpenTK/Graphics/ES20/ES20.cs
	Source/OpenTK/Graphics/OpenGL/GL.cs
	Source/OpenTK/Graphics/OpenGL/GLCore.cs
	Source/OpenTK/Graphics/OpenGL/GLDelegates.cs
	Source/OpenTK/Graphics/OpenGL/GLObsolete.cs
2013-12-15 17:37:25 +01:00
Stefanos A d0e52f6de7 Maintain backwards compatibility with 1.1 2013-12-15 16:58:33 +01:00
Stefanos A dfd683ef49 Merge master into no-reflect 2013-12-15 16:36:37 +01:00
Stefanos A. 146208ad81 Build UpdateVersion before OpenTK 2013-12-15 15:36:24 +01:00
Stefanos A. 9a49008cc1 Generate debug symbols in release builds 2013-12-15 15:36:12 +01:00
Stefanos A. d022e4c020 Improved WindowState changes on SDL2 backend
SDL2 fails to report several different WindowState changes. OpenTK uses
a number of hacks to make it work to some extent, however real fixes
will have to be implemented upstream.
2013-12-15 15:35:57 +01:00
Stefanos A bc95084804 Merge branch 'sdlres' 2013-12-15 13:51:29 +01:00
Stefanos A. 9407b61116 Updated solution to VS2013 format. 2013-12-15 13:47:29 +01:00
Stefanos A. 72e919c0b5 Added nuget.exe to project items 2013-12-15 13:47:19 +01:00
Stefanos A. 1701f923ca Committed nuget cmdline tool to source control
This appears to be the simplest (only?) way to use nuget in a
cross-platform manner.
2013-12-15 13:36:00 +01:00
Stefanos A 38821d0a0e Merge branch 'nuget' 2013-12-15 13:23:16 +01:00
Stefanos A 1af4f60c45 Add OpenTK.dll.config as content 2013-12-15 13:21:22 +01:00
Stefanos A bf1a43be4f MonoDevelop insists on making these changes 2013-12-15 13:05:06 +01:00
Stefanos A 0fdaed5639 Updated description 2013-12-15 13:04:29 +01:00
Stefanos A 2b93e453cd Generate nuget package for OpenTK.GLControl 2013-12-15 13:03:56 +01:00
Stefanos A 4e77a508a1 Generate xml documentation for OpenTK.GLControl 2013-12-15 13:01:39 +01:00
Stefanos A b424673ef0 Improved nuget version information 2013-12-15 12:02:43 +01:00
Stefanos A e1ef842e02 Do not commit build timestamp to repository 2013-12-15 12:02:01 +01:00
Stefanos A 881015646f Generate both build timestamp and version information 2013-12-15 12:01:26 +01:00
parallels 61f334f3f5 Delay VisualInfo construction (fixes #17)
In OpenTK 1.1, GraphicsMode queries the platform for a mode id lazily.
By delaying VisualInfo selection until the GraphicsContext is constructed
we ensure that a concrete GraphicsMode is selected and ready for use.
2013-12-14 11:54:55 +01:00
Stefanos A 216a9778ab Copy build artifact to root directory regardless of artifact name 2013-12-14 00:20:39 +01:00
Stefanos A 37b44dd2e2 Added release notes for OpenTK 2013-12-14 00:19:18 +01:00
Stefanos A 4466a597a3 Added nuget lib directory to gitignore 2013-12-14 00:19:03 +01:00
Stefanos A a5fc0af5b6 Added nuget build target to OpenTK.sln 2013-12-13 10:52:11 +01:00
Stefanos A fe4f8166c8 Added nuget build target
This will create a nupkg file for OpenTK and copy it to the base
directory. Version information is currently hardcoded to 1.1 (this
should be fixed.)
2013-12-13 10:51:34 +01:00
Stefanos A 694869dc05 Implemented resolution change workaround on SDL2
SDL2 does not support changing display resolutions independently of an
SDL window. As a workaround, if the user uses ChangeResolution and then
makes a GameWindow fullscreen, we use old-style SDL fullscreen which
changes the resolution. If the user makes a GameWindow fullscreen
without calling ChangeResolution first, we use the new
fullscreen-desktop mode to match the other OpenTK backends.
2013-12-13 00:07:13 +01:00
Stefanos A 7582decf55 Cache size of char
BlittableValueType<char> caches the size of the type parameter. This
way, we avoid calling Marshal.SizeOf repeatedly for every keyboard
event.
2013-12-09 23:46:07 +01:00
Stefanos A 128d96994b Eliminated memory allocations in Keyboard events 2013-12-09 23:44:51 +01:00
Stefanos A 537a2f7b89 Do not generate KeyPress events for non-printable characters 2013-12-09 23:43:36 +01:00
Stefanos A 19d9beb6a4 Merge branch 'enumfix' 2013-12-08 21:07:46 +01:00
Stefanos A 0b5f03c094 Regenerated bindings 2013-12-08 16:20:30 +01:00
Stefanos A 2add888424 Added overloads for compatibility with 1.0 and 1.1 APIs 2013-12-08 16:20:22 +01:00
Stefanos A ac52bd9783 Maintain Obsolete property when cloning a function 2013-12-08 16:20:04 +01:00
Stefanos A cc25916f14 Create convenience overloads based on wrappers, not entry points
It makes sense to generate convenience overloads for each relevant
wrapper function, instead of each entry point. This way, we generate
convenience overloads for every wrapper in overrides.xml (even wrappers
for background compatibility), which would otherwise be ignored.
2013-12-08 16:19:46 +01:00
parallels b977ff13bb Fix for issue #16 "X11 misreported as unsupported platform" 2013-12-08 12:38:06 +01:00
Stefanos A 5b48564ec2 Ignore missing comments warning
The OpenGL manpages do not include extension methods. Ignore this
warning to let more important ones shine through.
2013-12-06 19:33:03 +01:00
Stefanos A. 94c405b6aa Regenerated bindings 2013-12-06 18:37:11 +01:00
Stefanos A. 95a9296df7 Updated to Revision 24389 2013-12-06 18:37:03 +01:00
Stefanos A. 9f4eabf8ed Improved handling of enum parameters
When a function parameter matches a strongly-typed enum, the parameter
type is explicitly set to that enum. This fixes issues with function
parameters referring to enums whose names change after translation.
2013-12-06 18:36:31 +01:00
Stefanos A. 8d7ba31e0c Cleaned up instructions for Converter.exe 2013-12-06 18:28:38 +01:00
Stefanos A 1d26917758 Updated license information 2013-12-06 09:23:56 +01:00
Stefanos A f1e93005b9 Added methods for 1.0 compatibility 2013-12-06 09:23:43 +01:00
Stefanos A. b41fd4ab60 Moved license files to license/ folder
This is simply a cosmetic change, to reduce clutter on the root
Dependencies/ directory.
2013-12-06 00:47:38 +01:00
Stefanos A. 21e59d7659 Updated dependency documentation
Added license files for ikvm, monolinker and cecil. Added usage
instructions for monolinker.
2013-12-06 00:46:32 +01:00
Stefanos A. a4f59f7384 Split binaries for library and supporting tools
Tools now go to the Binaries/Tools/[Debug|Release] directory. OpenTK
remains at BInaries/OpenTK/[Debug|Release].

Mono.Cecil and IKVM now reside under the Dependencies/managed/
directory.
2013-12-05 18:43:47 +01:00
Stefanos A. f32aee7497 ClientRectangle should not affect window location
Fixes issue #13
2013-12-05 17:44:13 +01:00
Stefanos A 0bdb871e90 Merge remote-tracking branch 'origin/master' into no-reflect 2013-12-05 14:53:37 +01:00
Stefanos A. 1812024594 Move installer to destination directory
This reduces the garbage left behind by the installer generation script.
2013-12-05 12:05:26 +01:00