Commit graph

2198 commits

Author SHA1 Message Date
the_fiddler
3b72054480 * Source/OpenTK/Platform/X11/X11GLNative.cs: Refactored empty cursor
creation into its own function. Create one empty cursor for the
  lifetime of the window.
2010-10-20 09:19:34 +00:00
the_fiddler
9ec00014eb Take into account the fact that ShowCursor(true/false) calls are cumulative (we want boolean behavior instead). 2010-10-19 09:25:09 +00:00
the_fiddler
00311cdb13 Added initial code for mouse grabbing. Modified GameWindowStates to test this. 2010-10-19 09:20:59 +00:00
the_fiddler
a18825a062 * Source/OpenTK/Platform/MacOS/CarbonGLNative.cs: Removed unused
code.
2010-10-18 16:14:50 +00:00
the_fiddler
d5aaf4a794 * Source/OpenTK/Platform/Windows/API.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs: Implemented
  CursorVisible.
2010-10-18 16:14:38 +00:00
the_fiddler
f201c3bed9 * Source/Examples/OpenTK/Test/GameWindowStates.cs: Handle
MouseButtonUp event to make mouse visible.
2010-10-18 15:48:32 +00:00
the_fiddler
42e0880cbb * Source/OpenTK/NativeWindow.cs:
* Source/OpenTK/INativeWindow.cs:
* Source/OpenTK/Platform/X11/API.cs:
* Source/OpenTK/Platform/X11/X11GLNative.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs:
* Source/OpenTK/Platform/MacOS/CarbonGLNative.cs:
* Source/Examples/OpenTK/Test/GameWindowStates.cs: Initial
  implementation of CursorVisible API. See issue [#1560].
2010-10-18 15:25:25 +00:00
the_fiddler
d4d9d58a8a Added UNSIGNED_INT to ActiveUniformType enum. Fixes issue [#2077]: "Add UnsignedInt to ActiveUniformType". 2010-10-13 20:42:58 +00:00
the_fiddler
7f6fa886da Fixed issue [#2072]: "Box2 constructor bug". 2010-10-11 07:54:46 +00:00
the_fiddler
148578b1eb Fixed code formatting. 2010-10-09 19:59:06 +00:00
the_fiddler
0f80ff8f1d Avoid deprecated EnableClientState(EnableCap) in favor of EnableClientState(ArrayCap). 2010-10-09 19:56:33 +00:00
the_fiddler
8f9cd3decf Report Xinerama as not supported when it fails to detect any devices. Fixes issue on Nvidia drivers when Twinview is enabled. 2010-10-09 19:11:45 +00:00
the_fiddler
ddb51b25f7 Added XF86VM fallback when XRandR is missing (many thanks to jdomnitz!) 2010-10-09 19:10:39 +00:00
the_fiddler
8bb6af05d7 Set the correct, platform-specific GetCurrentContext implementation on startup. Ensures the correct function of dummy contexts. 2010-10-09 18:53:20 +00:00
the_fiddler
2c739cc96b Use current date as the 'readable' version (on installer/zip). 2010-10-06 16:53:53 +00:00
the_fiddler
0bb868e304 Updated documentation for release. 2010-10-06 16:09:10 +00:00
the_fiddler
31a407ec3e Do not skip Source/OpenTK when cloning the source tree. 2010-10-06 15:36:38 +00:00
the_fiddler
228a213dc5 Explicitly set assembly name and root namespace to "Build.UpdateVersion" in order to avoid conflicts with xbuild. 2010-10-06 15:17:29 +00:00
the_fiddler
878f40f2eb Do not add nsis installers to the zip! 2010-10-06 15:10:24 +00:00
the_fiddler
31a19b7328 Use mono to invoke Build.UpdateVersion.exe on non-Windows systems. 2010-10-06 15:07:12 +00:00
the_fiddler
60fa8bec42 Added Version.txt to ignore list. 2010-10-06 15:00:40 +00:00
the_fiddler
27ff0d807f Replaced all custom tasks with built-in tasks, because custom tasks cause builds through Visual Studio to fail. This is a known issue since VS2005 (the dll containing custom tasks gets loaded into the devenv AppDomain and remains locked, meaning you have to exit Visual Studio before rebuilding the project). 2010-10-06 14:59:13 +00:00
the_fiddler
10f8566351 Converted into an actual commandline tool to avoid using custom tasks. 2010-10-06 14:56:11 +00:00
the_fiddler
11817269e8 Fixed build target (was left into a debugging configuration) and replaced Run custom task with built-in Exec. 2010-10-06 14:54:37 +00:00
the_fiddler
2bab2d7728 Avoid all custom tasks, since this causes build issues in Visual Studio (Build.Tasks.dll gets loaded into the main AppDomain and remains locked, meaning you have to exit Visual Studio before rebuilding the project). 2010-10-06 14:18:10 +00:00
the_fiddler
fb9b355bcd Avoid all custom tasks, since this causes build issues in Visual Studio (Build.Tasks.dll gets loaded into the main AppDomain and remains locked, meaning you have to exit Visual Studio before rebuilding the project). 2010-10-06 14:14:15 +00:00
the_fiddler
61b4f2686e Update ignore lists. 2010-10-06 13:12:24 +00:00
the_fiddler
bd13f47d7f Do not build zip project on debug, documentation and release builds. 2010-10-06 13:10:44 +00:00
the_fiddler
f877bb6b21 Do not package zip files or data generated by the zip installer. 2010-10-06 13:09:42 +00:00
the_fiddler
2b625e4783 * Documentation/Doxyfile: Do not add source code snippets to the
function reference. Reduces pdf file size and speeds up
  documentation process immensely.
2010-10-06 08:50:07 +00:00
the_fiddler
2ae15ec6af * Installers/Nsis/opentk.nsi: Set correct output directory for
example source code.
2010-10-06 08:48:57 +00:00
the_fiddler
3b9d530126 * Installers/Zip/Build.Installer.Zip.csproj: Do not zip documentation
source, vshost.exe or copies of the source tree.
Make sure zip always operates on a fresh copy of the source tree.
2010-10-06 08:48:09 +00:00
the_fiddler
55f5691eb3 * Source/Build.Tasks/DateStamp.cs: Read/Write stamp from/to
Version.txt file. Allows a single stamp to be propagated throughout
  the build process.

* Source/Build.Tasks/GenerateAssemblyInfo.cs: Correctly invoke
  DateStamp task (need to call Execute() to generate the stamp).

* Source/Build.UpdateVersion/Build.UpdateVersion.csproj: Cleaned up
  'Rebuild' target.
Cleaned up 'GenerateAssemblyInfo' task invocation.
Attempted to generate GlobalAssemblyInfo.cs without using a custom
  task. Unfortunately, xbuild didn't wish to cooperate.
Remove Version.txt file to update the datestamp.
2010-10-06 08:47:01 +00:00
the_fiddler
100e52a7c7 Added project to create zip package for distribution. 2010-10-05 21:30:25 +00:00
the_fiddler
42f279ffeb Reorganize code for clarity. 2010-10-05 20:52:28 +00:00
the_fiddler
244b3f1881 Do not check whether the path exists before deletion (an exception will be caught anyway). 2010-10-05 20:51:47 +00:00
the_fiddler
cbeb09ebcb Log error message when a non-existent path is specified. 2010-10-05 20:38:44 +00:00
the_fiddler
8e7c717151 Really delete GlobalAssemblyInfo.cs this time. 2010-10-05 18:59:28 +00:00
the_fiddler
f80133a9cd Populate ImageList manually to avoid crash issue when cross-compiling from Mono. 2010-10-05 17:43:33 +00:00
the_fiddler
690a78a7b0 GlobalAssemblyInfo is autogenerated and should not be in version control. 2010-10-05 07:07:47 +00:00
the_fiddler
f9567b740e OpenAL installer is automatically downloaded from the web when necessary. 2010-10-05 07:07:18 +00:00
the_fiddler
366960a0b0 Consolidated DateStamp and AssemblyInfo generation. 2010-10-05 07:00:54 +00:00
the_fiddler
d4ee1512cf Ignore output of failed delete command when the specified files are not present. 2010-10-04 23:03:09 +00:00
the_fiddler
dd14644f6e Use custom property to select correct Build.Tasks.dll directory. 2010-10-04 23:02:31 +00:00
the_fiddler
d560fdcfc5 Update todo list. 2010-10-04 21:55:51 +00:00
the_fiddler
9d562fb683 All projects now read common AssemblyInfo items from GlobalAssemblyInfo.cs. The various AssemblyInfo.cs files now only contain project-specific information. Assembly versions are now controlled by Build.UpdateVersion. 2010-10-04 21:37:33 +00:00
the_fiddler
7fd64519bd Added Build.UpdateVersion project which generates a global AssemblyInfo file that is reused throughout the solution (TBD). 2010-10-04 21:30:42 +00:00
the_fiddler
3b65d6fb5a Added Rebuild target. 2010-10-04 21:28:58 +00:00
the_fiddler
ca1f98a593 Added GenerateAssemblyInfo task that specifies common assembly properties to a global AssemblyInfo file.
Modify Build.Tasks.dll search path depending on the current configuration.
2010-10-04 21:25:31 +00:00
the_fiddler
13a5b1d2b5 Added license information. 2010-10-04 20:49:12 +00:00