Commit Graph

2770 Commits

Author SHA1 Message Date
Zbigniew Mandziejewicz
8637612908 Add GLFW_DLL to target interface 2016-02-02 06:00:18 +01:00
Nicholas Vitovitch
a247f7d797 Include imported targets into module config file 2016-02-02 06:00:18 +01:00
Nicholas Vitovitch
23d34747f4 Rename export targets file to glfw3Targets.cmake 2016-02-02 06:00:18 +01:00
Zbigniew Mandziejewicz
6466c9d406 Fix CMake file install paths
Fixes #460.
Fixes #483.
Fixes #606.
2016-02-02 05:56:52 +01:00
Camilla Berglund
832c2ffa3b History work 2016-01-31 22:36:34 +01:00
Camilla Berglund
951a9583fa Add Doxygen aliases for custom paragraphs 2016-01-31 22:35:37 +01:00
Camilla Berglund
5499fd307a Contribution guide work 2016-01-31 21:32:04 +01:00
Camilla Berglund
e94fa1c9b3 Contribution guide work 2016-01-31 20:14:27 +01:00
Camilla Berglund
7e91b26bb1 Add initial CONTRIBUTING.md 2016-01-31 19:59:07 +01:00
Camilla Berglund
276b1bc07a Add check for EGL specific buffer swap issue
Fixes #675.
2016-01-31 19:17:21 +01:00
Camilla Berglund
12d49eaf6c Update changelog 2016-01-31 18:00:22 +01:00
Camilla Berglund
0ebdad53e8 Add asserts for public API pointer parameters 2016-01-31 17:56:36 +01:00
Camilla Berglund
d0649e6868 Fix confusing legacy parameter names 2016-01-27 03:26:32 +01:00
Camilla Berglund
2cc6caf182 Remove superfluous call 2016-01-10 20:08:14 +01:00
celestinmarot
80cef67580 Fix memory leak in X11 key LUT generation
Closes #662.
2016-01-10 20:06:43 +01:00
Camilla Berglund
d2d57c70e2 Fix pkg-config file generation regression
Fixes regression cased by 37c93ba031.

Fixes #664.
Closes #679.
2015-12-30 21:09:40 +01:00
Ioannis Tsakpinis
06899bd9a6 Fix SetProcessDpiAwareness case mismatch
Closes #678.
2015-12-30 15:31:55 +01:00
Jonas Ådahl
cf6c11cfaa wayland: Only set surface buffer scale when supported
Although very unlikely, the wl_compositor version might not support
wl_surface.set_buffer_scale while the wl_output emits a wl_output.scale
that is larger than 1. So for correctness, bail on changing the buffer
scale if we won't be able to set it later.
2015-12-27 10:46:23 +08:00
Emmanuel Gil Peyrot
06479ba535 Wayland: Implement HiDPI support
Windows now keep track of the monitors they are on, so we can calculate
the best scaling factor for them, by using the maximum of each of the
monitors.

The compositor scales down the buffer automatically when it is on a
lower density monitor, instead of the previous way where it was scaling
up the buffer on higher density monitors, which makes the application
look much better on those ones.
2015-12-27 10:35:46 +08:00
Camilla Berglund
ecd04539ec Add mention of command-line CMake option setting 2015-12-16 03:44:20 +01:00
Camilla Berglund
864ca4dd57 Remove duplicate inclusion 2015-12-15 22:37:25 +01:00
Camilla Berglund
f079d0625d Platform affix cleanup
Fixes #659.
2015-12-15 22:37:24 +01:00
Camilla Berglund
37c93ba031 Compiler flag cleanup 2015-12-15 22:37:23 +01:00
Camilla Berglund
addb977ef1 Use monitor callback event more strictly 2015-12-15 22:37:22 +01:00
Camilla Berglund
810bab7391 Add history to public types 2015-12-15 22:37:22 +01:00
Camilla Berglund
87883b592f Update .gitignore 2015-12-15 22:37:21 +01:00
Camilla Berglund
b56fce1570 Fix typo
Fixes regression cased by 10c0eb648a.
2015-12-15 22:35:59 +01:00
Camilla Berglund
10c0eb648a Cleanup 2015-12-15 15:21:25 +01:00
Camilla Berglund
ec9fe02a30 Sort initial joystick set on Linux
Fixes #654.
2015-12-15 14:57:02 +01:00
Camilla Berglund
6b0f660180 Fix EGL backend MinGW build errors 2015-12-13 16:56:11 +01:00
Camilla Berglund
12871db0f9 Only poll requested joystick on OS X 2015-12-13 15:15:50 +01:00
Camilla Berglund
45efb935c5 Use more GLFWbool 2015-12-13 15:09:33 +01:00
Camilla Berglund
2b52008405 Check Linux joystick init on Wayland and Mir 2015-12-13 14:51:44 +01:00
Camilla Berglund
7fec7a0569 Make source file names more consistent
Use platform prefix for files specific to that platform AND that have no
credible alternative API on that platform.

The exception is WinMM, which will be replaced before 3.2.
2015-12-13 14:51:44 +01:00
Camilla Berglund
12b6c56903 Add suffixes to platform specific helper functions
Also merge win32_tls.h into win32_platform.h.
2015-12-13 14:50:59 +01:00
Camilla Berglund
0a3b5952e0 Make WGL backend more readable 2015-12-13 14:49:55 +01:00
Camilla Berglund
66b462d6e1 Make GLX backend more readable 2015-12-13 14:49:55 +01:00
Camilla Berglund
02fdd6459e Make EGL backend more readable 2015-12-13 14:49:55 +01:00
Camilla Berglund
0df4e06f11 Make more RFC 2119 compliant use of may 2015-12-13 14:49:01 +01:00
Camilla Berglund
8f0f1cf6c1 Only poll requested joystick on Linux
This also performs minor cleanup.
2015-12-13 14:49:01 +01:00
Camilla Berglund
ee27930628 Update changelog 2015-12-12 20:35:26 +01:00
Camilla Berglund
a61d8dea36 Update .gitignore 2015-12-12 20:32:30 +01:00
Camilla Berglund
eea46be4e6 Fix missing MinGW import library prefix
Fixes #657.
2015-12-12 18:08:45 +01:00
Camilla Berglund
fdc65e49e4 Fix bad Win32 updates 2015-12-10 12:16:13 +01:00
Camilla Berglund
75f1dfaf8a Move DWM enabled test to file where it is used 2015-12-09 19:39:16 +01:00
Camilla Berglund
72632a846b Cleanup 2015-12-09 19:39:16 +01:00
Camilla Berglund
5668b64839 Fix segfault on DISP_CHANGE_RESTART
Fixes #647.
2015-12-09 19:39:16 +01:00
Camilla Berglund
b3d0bd6081 Fix type of OpenGL bundle reference 2015-12-08 15:10:23 +01:00
Camilla Berglund
1ea66b9033 Cleanup 2015-12-07 21:17:03 +01:00
Camilla Berglund
e82e2b7570 Fix full screen window position on OS X
Fixes #653.
2015-12-07 21:14:24 +01:00