Commit Graph

4804 Commits

Author SHA1 Message Date
Camilla Berglund
33c68a24a0 Formatting
[ci skip]
2016-03-29 11:12:49 +02:00
Camilla Berglund
f96d865b93 Cleanup 2016-03-28 20:16:53 +02:00
Camilla Berglund
925208d28f Fix copypaste mistake 2016-03-28 12:44:50 +02:00
Camilla Berglund
7ab7d8b4b1 Make use of uint32_t where appropriate
This change does not affect the ABI.
2016-03-28 12:34:57 +02:00
Camilla Berglund
5661d03be8 Replace GLFWuint64 with uint64_t
C99 stdint.h is provided by VS 2010 and later.  GLFW has not provided
testing or binaries for VS 2008 for several releases.

For earlier versions of VS there are third-party alternatives:

https://msinttypes.googlecode.com/svn/trunk/stdint.h
http://www.azillionmonkeys.com/qed/pstdint.h

This change does not affect the ABI.
2016-03-28 12:34:44 +02:00
Camilla Berglund
5eb2e83c82 Cleanup 2016-03-28 12:26:08 +02:00
Camilla Berglund
c1e4c45c7a Replace Win32 window long with window property
Related to #25.
2016-03-28 10:57:19 +02:00
Camilla Berglund
3503cba5d9 Fix Ctrl+Pause reported as unknown key on Win32
Fixes #730
2016-03-24 21:26:57 +01:00
Camilla Berglund
728a088cd7 Fix event processing guide section 2016-03-18 12:08:43 +01:00
Camilla Berglund
17bcefeac1 Fix CGL context not being released until later
Fixes #721.
2016-03-18 12:01:48 +01:00
Camilla Berglund
6570d0c4b7 Add glfwSetWindowMonitor
This adds the ability to switch between windowed and full screen modes,
move a full screen window between monitors and update its desired
resolution and refresh rate.

Fixes #43.
2016-03-18 11:13:24 +01:00
Camilla Berglund
fb8a31ba3f Fix icon test destroying window from callback 2016-03-18 11:05:06 +01:00
Camilla Berglund
e37dbd8b8d Fix missing include in event wait timeout test 2016-03-18 10:36:33 +01:00
Camilla Berglund
fc3acdacf6 Remove pointless window hint from Boing example 2016-03-18 10:33:23 +01:00
Camilla Berglund
0365f1ec82 Fix warning when building for X11 on Cygwin 2016-03-18 10:32:14 +01:00
Camilla Berglund
99c925efd8 Add tracking of which window 'owns' a monitor 2016-03-16 16:16:29 +01:00
Camilla Berglund
ea888114fa Remove monitor from _GLFWwndconfig 2016-03-16 16:16:02 +01:00
Camilla Berglund
3a6fe042ea Cleanup 2016-03-16 16:15:49 +01:00
Camilla Berglund
0d1dd82b89 Move X11 PPosition hack to glfwSetWindowPos 2016-03-16 16:11:35 +01:00
Camilla Berglund
ea73ccf22d Add support for EWMH _NET_WM_WINDOW_TYPE 2016-03-16 16:07:22 +01:00
Camilla Berglund
86751b42a6 Fix OS X default max window size 2016-03-16 15:05:50 +01:00
Camilla Berglund
9a78fd049d Fix view not being made first responder 2016-03-16 14:48:53 +01:00
Camilla Berglund
cdea4209fc Add event wait timeout test 2016-03-16 13:35:43 +01:00
Camilla Berglund
89f438de5a Fix window focus regression
Regression caused by baf574494d.
2016-03-15 22:22:51 +01:00
Camilla Berglund
9dceda8a03 Fix Clang warnings 2016-03-15 19:21:04 +01:00
Camilla Berglund
4e4b8727fc Fix Win32 icon restoration 2016-03-11 14:41:58 +01:00
Camilla Berglund
d2338f3a49 Fix X11 icon image copy 2016-03-11 14:41:57 +01:00
Orson Peters
d998e3eebe Add icon test program 2016-03-11 14:41:57 +01:00
Camilla Berglund
b823f7151e Add glfwSetWindowIcon
Adds support for setting window icons programmatically on platforms
where this makes sense.

Fixes #453.
Closes #467.
2016-03-10 17:26:26 +01:00
Camilla Berglund
793eef1d0a Fix missing word 2016-03-08 15:29:03 +01:00
Camilla Berglund
1e51813d05 Fix incorrect changelog term 2016-03-07 15:03:01 +01:00
Camilla Berglund
ee33dcdf33 Fix speling
[ci skip]
2016-03-07 14:43:10 +01:00
Camilla Berglund
defaea3496 Documentation work 2016-03-07 13:36:54 +01:00
Camilla Berglund
46fce40fd5 Fix error lists for raw timer functions 2016-03-07 13:35:37 +01:00
Camilla Berglund
9f890bb6fa Add decoration option to multi-window test 2016-03-07 13:31:23 +01:00
Camilla Berglund
3b2e96e0b1 Improve cursor test animation
Only set cursor when it's time for a new frame.  Use
glfwWaitEventsTimeout when waiting for events during animation.
2016-03-07 12:33:32 +01:00
Camilla Berglund
fca5a8ab48 Fix Win32 custom cursor set for non-client area
Udating the cursor via glfwSetCursor incorrectly included the non-client
area of the window.
2016-03-07 12:30:25 +01:00
Camilla Berglund
5620895e88 Add glfwWaitEventsTimeout
This function will put the calling thread to sleep until an event
arrives or until the specified timeout has elapsed.
2016-03-06 17:28:40 +01:00
Camilla Berglund
337c77a39b Documentation work 2016-03-06 14:11:14 +01:00
Ian Clarkson
26cfd75d05 Add Xcode CMake output patterns to .gitignore
Closes #722.
2016-03-06 13:57:19 +01:00
Camilla Berglund
9fb00f2ad0 Fix speling 2016-03-06 11:51:32 +01:00
Camilla Berglund
487557b343 Relax thread constraints for glfwSetTime 2016-03-06 11:51:32 +01:00
Camilla Berglund
31f67dd3cc Add glfwGetTimerValue and glfwGetTimerFrequency
This adds raw timer access to the public API and builds the
floating-point time functions on top.  It also makes the GLFWuint64 type
public.
2016-03-06 11:51:23 +01:00
Camilla Berglund
8221aadea3 Include stddef.h unconditionally in public header 2016-03-06 09:40:16 +01:00
Camilla Berglund
3c9142f37e Add check for VULKAN_SDK envvar on Windows
The LunarG SDK will be standardizing on this name.
2016-03-05 23:56:46 +01:00
Camilla Berglund
663ee327b0 Decrease amount of Hocus Pocus 2016-03-02 23:15:02 +01:00
Camilla Berglund
de2d4c7763 Clarify pointer assertions 2016-03-02 17:58:05 +01:00
Camilla Berglund
5fa7e2faa4 Release autorelease pool last 2016-03-01 19:36:05 +01:00
Camilla Berglund
da44625970 Cleanup 2016-02-29 13:19:27 +01:00
Camilla Berglund
b2d2e30ac8 Make windows test wait for events 2016-02-28 19:16:50 +01:00