Commit graph

6683 commits

Author SHA1 Message Date
David Jeske
3bbd31d66b Fix SetCapture() to use child_window instead of window. As using window was causing spurious WM_MOUSELEAVE events. Also change other mouse events to return IntPtr.Zero when handled 2017-06-11 19:09:50 -07:00
David Jeske
d5b43fb33c treat MouseMove events as handled by returning zero instead of calling DefWindowProc 2017-06-11 18:36:32 -07:00
varon
c697eaed75 Merge pull request #527 from Nihlus/rewriter-cecil-0.10
Additional error check in rewriter
2017-05-30 21:51:35 +02:00
Jarl Gullberg
b8975c5626
Added catching of error thrown when the assembly has been rewritten but the debug symbols do not match. 2017-05-30 19:09:27 +02:00
varon
c05ac4f7a0 Merge pull request #526 from Nihlus/rewriter-cecil-0.10
Update Generator.Rewriter to Cecil 0.10
2017-05-30 16:29:04 +02:00
Jarl Gullberg
1cda816b97
Changed signatures back to IEnumerable and added full enumeration to list where needed. 2017-05-29 22:22:26 +02:00
Jarl Gullberg
b420ce8735
Changed signature of RemoveNativeSignatures. 2017-05-29 22:08:48 +02:00
Jarl Gullberg
7b65131fb5
Pulled repeated logic out into a helper method. 2017-05-29 22:05:07 +02:00
Jarl Gullberg
86e0898811
Restricted access to internal and sealed the class. 2017-05-29 21:58:38 +02:00
Jarl Gullberg
ff413b8a6c
Dropped project target back down to 3.5. 2017-05-29 20:55:09 +02:00
Jarl Gullberg
8514b5c78e
Added static modifier to methods which could have it. 2017-05-29 20:19:17 +02:00
Jarl Gullberg
57de60ba96
Tightened variable identifier picking even more. 2017-05-29 20:16:43 +02:00
Jarl Gullberg
dd0de0a75b
Added additional identifier constraints. 2017-05-29 19:47:00 +02:00
Jarl Gullberg
879da06b29
Added additional identifier constraints. 2017-05-29 19:45:38 +02:00
Jarl Gullberg
19995fdc2e
Removed unused using statement. 2017-05-29 19:00:12 +02:00
Jarl Gullberg
71c900630f
Added ordinal comparison to string index search. 2017-05-29 18:59:37 +02:00
Jarl Gullberg
760e68ed4e
Removed uses of out variables and introduced a generated variable identifier class. 2017-05-29 18:57:13 +02:00
Jarl Gullberg
092ffb480c
Added a class that can identify a generated variable. 2017-05-29 18:31:39 +02:00
Jarl Gullberg
bc981ceccf
Better variable naming and line breaks. 2017-05-29 18:23:33 +02:00
Jarl Gullberg
f3f90691e6
Changed manual stream closing to a using statement. 2017-05-29 18:15:49 +02:00
Jarl Gullberg
9f4eb8546e
Removed obsolete manual detection of debug symbol file. 2017-05-29 18:14:46 +02:00
Jarl Gullberg
a29f72663c
Changed uses of IEnumerable to List in order to prevent multiple enumerations. 2017-05-29 18:12:43 +02:00
Jarl Gullberg
da71abb963
Updated Generator.Rewrite to use the new Cecil API. Dirty fix. 2017-05-26 13:48:00 +02:00
varon
9c2c0815d1 Merge pull request #521 from tzachshabtay/develop
IOS- added a method to resize the framebuffer on device rotation
2017-05-13 10:33:42 +02:00
varon
d490fa4b3c Fix formatting in markdown news 2017-05-08 23:00:25 +02:00
varon
239a47a559 update readme about 3.0.0-pre release 2017-05-08 22:58:47 +02:00
varon
de6a4a796f Merge branch 'develop' of github.com:opentk/opentk into develop 2017-05-08 22:50:38 +02:00
varon
fffb05a917 Release 3.0.0-pre 2017-05-08 22:48:40 +02:00
varon
fa449fc8aa Merge pull request #518 from yas-online/fix-angle-mobile
Fix AngleWindowInfo compile errors on mobile introduced by #458
2017-05-01 09:14:13 +02:00
Neico
974e02b03e fix AngleWindowInfo compile errors on mobile introduced by #458 2017-04-30 23:20:56 +02:00
varon
5acdf69aa8 Merge pull request #516 from ShardTheBroken/Issue/514
Fixed typos in documentation comments
2017-04-27 10:45:51 +02:00
Shard White
5fd4e9acd7 Fixed typos in documentation comments 2017-04-27 08:43:21 +01:00
varon
47ef73fae7 Merge pull request #510 from UnknownShadow200/develop
Fix default input directories for Generator.Bind
2017-03-23 10:20:21 +02:00
UnknownShadow200
5eb75fefa7 Fix default input directories for Generator.Bind 2017-03-23 15:54:40 +11:00
Tzach Shabtay
269c336719 IOS- added a method to resize the buffer on device rotation
This allows to keep aspect ratio when rotating to landscape, see here:
http://stackoverflow.com/questions/20326947/opengl-what-need-to-reconfig
-when-rotate-screen, and also here:
https://gamedev.stackexchange.com/questions/75965/how-do-i-reconfigure-m
y-gles-frame-buffer-after-a-rotation
2017-03-22 23:30:48 -04:00
varon
4e2d1ae520 Merge pull request #458 from mzanin/angle-es3
Allow using OpenGL ES3 with Angle and extract a Direct3D shared handle
2017-03-21 12:46:11 +02:00
Manuel Zanin
70ac147b5c Addressed comments 2017-03-21 10:21:22 +01:00
varon
f6af0d0f4a Merge pull request #487 from spellizzari/develop
XInputGetStateEx obtained through ordinal
2017-03-20 19:48:36 +02:00
varon
027fd80990 Merge pull request #508 from tzachshabtay/develop
IOS- fixed crash on first tick
2017-03-20 18:46:00 +02:00
Tzach Shabtay
2b15ae3700 IOS- fixed crash on first tick
FrameEventArgs throws an exception when setting the Time to a value <=
0. With that knowledge, both the Android and the IOS implementations
had a bug when setting the time.
On IOS, that bug would cause a crash on the first tick, as the first
tick would always set to 0.
On Android the bug was probably harmless but there was a redundant
check there (and also removed the unneeded allocation that was there on
every tick).
2017-03-19 23:49:09 -04:00
varon
fe9e300e09 Merge pull request #506 from pragmatrix/angle
ANGLE: keep the backbuffer's size updated when the window resizes
2017-03-19 18:40:48 +02:00
Armin Sander
89e792ee47 be sure the current context is set before calling Egl.WaitClient() 2017-03-19 15:29:00 +01:00
varon
a21313b41b Merge pull request #485 from leezer3/develop
Fix: Joystick hats sticking in last position on Linux
2017-03-19 12:29:00 +02:00
varon
44ec9e6aa7 Merge pull request #504 from leezer3/AndroidIOS
FIx: JoystickButton.cs not removed from Android / IOS projects
2017-03-19 11:42:04 +02:00
varon
0097720cd1 Merge pull request #505 from pragmatrix/editorconfig
Add .editorconfig
2017-03-18 18:33:39 +02:00
Armin Sander
30752ed36d ANGLE: keep the backbuffer size updated when the window resizes 2017-03-18 14:25:34 +01:00
Armin Sander
92636581af add .editorconfig 2017-03-18 13:46:39 +01:00
Christopher Lees
969429d54c FIx: JoystickButton.cs not removed from Android / IOS projects 2017-03-16 22:18:14 +00:00
varon
cd3138f9e3 Merge pull request #503 from UnknownShadow200/develop
Fix pointless warning when compiling Box2.cs
2017-03-15 14:39:15 +02:00
UnknownShadow200
9401b4dd84 Fix pointless warning when compiling Box2.cs
Showed warning "Missing XML comment for publicly visible type or member 'OpenTK.Box2.GetHashCode()' (CS1591) ", because there were five / instead of three / to indicate an XML comment.
2017-03-15 23:25:44 +11:00