Граф коммитов

6438 Коммитов

Автор SHA1 Сообщение Дата
Fraser Waters bf74b7ea15 Merge pull request #314 from leezer3/leezer3-a
Fix: Insert key not working on Linux, due to typo in X11KeyMap.cs
2015-11-15 07:10:46 +00:00
leezer3 df690c6f7b Fix: Insert key not working on Linux, due to typo in X11KeyMap.cs 2015-11-14 22:23:40 +00:00
Fraser Waters 2683b9298f Merge pull request #306 from PowerOfCode/fix-nsis-config
Fix build configuration "Nsis"
2015-11-07 14:05:50 +00:00
Benjamin Klettbach feae3791fe Fix build configuration "Nsis"
- Generator.Rewrite can be build with Nsis
- OpenTK project can be build with Nsis and is getting rewritten with
  Rewrite.exe
2015-10-26 14:33:18 +01:00
Fraser Waters 833c6eac6d Merge pull request #304 from Frassle/travis
[travis] Remove mono 3.2.8 and 2.10.8 builds
2015-10-18 13:57:42 +01:00
Fraser Waters bfba2ba156 [travis] Remove mono 3.2.8 and 2.10.8 builds
Old versions of mono on travis didn't have nuget support that we now use to
fetch Mono.Cecil.
2015-10-18 13:32:35 +01:00
Fraser Waters 0013b91f65 Merge pull request #302 from Frassle/mouse
[Win32] Fix spurious mouse enter and leave messages
2015-10-17 23:24:33 +01:00
Fraser Waters a1cc67c70e [Win32] Fix spurious mouse enter and leave messages
Mouse tracking and mouse capture didn't work well together. Mouse capture was
also buggy in that it could release capture prematurely.

Mouse capture is now counted and tracked better, multiple requests to set
capture will only call SetCapture once. ReleaseCapture will only be called once
the same number of releases have been made as sets.
MW_MOUSELEAVE messages are now ignored if the mouse is captured.
Mouse tracking is renabled when mouse capture is released.
While the mouse is captured enter and leave events are genereated based on
tracking of the mouse inside MouseMove.

Fixes #301
2015-10-17 17:00:41 +01:00
Fraser Waters 616ac5a017 [GL] Add overloads for ProgramUniform
Fixes #293
2015-10-11 17:55:36 +01:00
Fraser Waters a3a3f31ca0 [Bind] Replace copies of cecil with nuget links
Use nuget to get cecil rather than storing the binaries in the repo.

Fixes #284
2015-10-11 15:11:04 +01:00
Fraser Waters 13f79437d5 [Bind] Declare key file is only read
Partly fixes #284
2015-10-01 12:19:21 +01:00
Fraser Waters 92a45d5f90 Merge pull request #295 from BikingGlobetrotter/develop
[GLControl] Destroy context after OnHandleDestroyed to allow cleanup
2015-09-07 12:31:12 +01:00
unknown f145745b25 Destroy context after OnHandleDestroyed to allow cleanup 2015-09-07 13:07:59 +02:00
Fraser Waters 339f184013 Merge pull request #292 from Frassle/cursorgrab
[X11] Fix CursorVisible
2015-08-28 19:01:56 +01:00
Fraser Waters d1654d70d5 [X11] Fix CursorVisible
Change X11 CursorVisible to only execute if a change is actually needed,
that is if we're going from visible to not visible or vice versa.

Fixes #281
2015-08-21 23:58:00 +01:00
Fraser Waters 99ff3d287c Revert changes to VS project version 2015-08-21 23:22:12 +01:00
Fraser Waters 71c9ff282b Merge pull request #262 from infinitespace-studios/develop
Fixed MINIMAL compilation
2015-08-20 21:17:53 +01:00
Dean Ellis 69e2f36725 Removed NO_SYSDRAWING in favour of just MINUMAL
Reverted changes to GLControl.cs
Updated sln to not build OpenTK.GLControl in MINIMAL mode
2015-08-12 11:56:12 +01:00
Dean Ellis c7e86d467b Fixed MINIMAL and NO_SYSDRAWING compilation 2015-08-12 11:53:20 +01:00
Fraser Waters 3026154989 Merge pull request #289 from Frassle/leak
[Win32] Fix leaks in Win32 Cursor property
2015-08-10 22:01:42 +01:00
Fraser Waters 33c06d4b35 [Win32] Fix leaks in Win32 Cursor property
GetIconInfo
(https://msdn.microsoft.com/en-us/library/windows/desktop/ms648070(v=vs.85).aspx)
creates bitmaps that must be deleted after the call to
CreateIconIndirect, which copies the bitmaps to the icon it creates.

bmpIcon created by Bitmap.GetHicon is now destroyed after being used.

The return value of SetCursor was used to retrieve the last cursor, as
it could have been set by another library (Some UI libraries change the
cursor using the .net Cursor) this could of leaked the cursor we created
and now lost track of. We now delete the handle we had set, not the one
returned by SetCursor.
2015-08-10 21:57:05 +01:00
Fraser Waters 8e7d66a2f4 Merge pull request #264 from Frassle/minimal
Remove NO_SYSDRAWING, replace with MINIMAL
2015-08-10 21:38:18 +01:00
Fraser Waters 9ad18583fe Remove NO_SYSDRAWING, replace with MINIMAL 2015-08-10 20:26:06 +01:00
Fraser Waters b82b2c0e8f Merge pull request #288 from zeldin/develop
[X11] Fix XIEventMask to work on any architecture
2015-08-09 10:27:40 +01:00
Marcus Comstedt f538b93ad3 Fix XIEventMask to work on any architecture
The mask part of an XIEventMask struct is actually not a pointer to an
integer containing the mask, but rather to an array of bytes each
holding 8 bits of the mask, with the first byte holding bit 0-7.
Therefore the old code would only work on little endian arches.
2015-08-08 23:46:18 +02:00
Fraser Waters bf3267c4a9 [Bind] Remove Zero-width space from overrides file 2015-07-30 18:46:30 +01:00
Fraser Waters b10ea601c6 Merge pull request #270 from Frassle/bind
[Bind] Cleaning up binding generator
2015-07-30 14:42:27 +01:00
Fraser Waters 263a1cce3e Regenerate bindings
Just white space changes.
2015-07-30 14:31:34 +01:00
Fraser Waters 0ffd3c595b [Bind] Remove Type.IndirectionLevel
Property wasn't used.
2015-07-30 14:16:10 +01:00
Fraser Waters 52ea9d68ed [Bind] Improve BindStreamWriter
Allows multiple calls to Write to build up one line of text. Splits on
new line characters even in Write. Only places tabs if line is not
otherwise empty.
2015-07-30 14:14:42 +01:00
Fraser Waters c487bafcd2 [Bind] Remove all C header code from Convert
Cleaning up old C header code from convert, we'll just deal with Khronos
XML files now. If there's a need for parsing C headers we should do that
as a separate tool that either parses and generates the OpenTK XML specs
directly generates Khronos XML specs that can then be parsed by Convert.
2015-06-08 15:38:08 +01:00
Fraser Waters 05c2e5f28f [Bind] Remove setting of DefaultOutputNamespace
Settings wasn't required to be set. The generator constructors set the
default namespace.
2015-06-07 23:16:55 +01:00
Fraser Waters 72cc73f2bf [Bind] Remove dirName
Wasn't used, always ended up as "GL2"
2015-06-07 23:01:46 +01:00
Fraser Waters e6e8b7a357 Merge pull request #261 from Frassle/resize
X11: Fix so ClientSize can resize windows with fixed borders
2015-05-29 10:40:35 +01:00
Fraser Waters 0fb149f97b X11: Fix so ClientSize can resize windows with fixed borders
Also fixes issue that NativeWindowBase.Height was setting non-client
height but Width was setting client Width. Both now set client size.

Fixes #259
2015-05-12 14:17:16 +01:00
thefiddler 788b039e32 Merge pull request #220 from Frassle/project
[Math] Vector3 Project and Unproject
2015-05-11 12:07:24 +02:00
thefiddler f3b30044d3 Merge pull request #228 from Frassle/spec
Clean up binding converter and generator
2015-05-11 12:05:13 +02:00
Fraser Waters 29e2876396 [EGL] ANGLE and EXT additions
Adds eglQuerySurfacePointerANGLE and a number of ANGLE related
constants.
Add eglGetPlatformDisplayEXT, eglCreatePlatformWindowSurfaceEXT and
eglCreatePlatformPixmapSurfaceEXT from EGL_EXT_platform_base.
2015-04-21 21:22:29 +01:00
Jonas Boesch d6779d986d GetStaticAddess checks for RenderableFlags.ES3 2015-04-21 14:36:09 +01:00
Jonas Boesch f57e411723 Added OPENGL_ES3_BIT 2015-04-21 14:34:35 +01:00
Jonas Boesch af4eab290e Updated binary dependencies for Angle
- From Chromium Repo: 05ae50dc71b4859baba5a95cb5d7ab04bbb8a47a
2015-04-21 14:11:11 +01:00
Fraser Waters bd9ff3a320 Merge pull request #247 from Frassle/travis
[travis] Use travis C# support
2015-04-12 11:37:26 +01:00
Fraser Waters ec11ad3a1b [travis] Use travis C# support
Travis now has proper support for C#,
http://docs.travis-ci.com/user/languages/csharp/
2015-04-12 11:32:59 +01:00
Fraser Waters c7ccc1908f Merge pull request #244 from Frassle/keypaddivide
[Windows] Fix detection of KeyboardDivide key
2015-04-11 09:40:50 +01:00
Fraser Waters a90db72e2d [Windows] Fix detection of KeyboardDivide key
Fixes #237
2015-04-10 23:29:20 +01:00
Fraser Waters 271fc3f235 Merge pull request #235 from looperhacks/patch-1
Fix links in Readme
2015-03-20 17:13:46 +00:00
Peter Jeschke eca035b372 Fix links in Readme 2015-03-20 17:43:42 +01:00
Fraser Waters 95d6779705 Merge pull request #193 from Frassle/threadevents
[Platform] Throw exception if ProcessEvents isn't called on main thread.
2015-03-16 15:37:06 +00:00
Fraser Waters 282f1d1f5b Merge pull request #223 from Frassle/angle
[Math] Fix NaN issue in CalculateAngle
2015-03-16 15:35:51 +00:00
Fraser Waters 3efb4e303d Merge pull request #211 from cra0zy/unixgamepad
I was hoping someone else on the project had OSX access but that's looking unlikely. The changes look fairly benign so I'm just going to merge this in. Move fast and break things right :)
2015-03-16 15:35:16 +00:00