summaryrefslogtreecommitdiffhomepage
path: root/src/external/glfw
AgeCommit message (Collapse)Author
2022-09-30fix issue #2728 (#2731)Random
* fix issue #2728 * updated gamecontrollerdb: fixes GLFW warning due to invalid entry
2022-09-29Update gamepad mappings with latest gamecontrollerdb, fix #2725Ray
2022-08-28Reviewed GLFW compilation requirements on Linux: `_GNU_SOURCE`Ray
Reasons to NOT define `_GNU_SOURCE`: - access to lots of nonstandard GNU/Linux extension functions - access to traditional functions which were omitted from the POSIX standard (often for good reason, such as being replaced with better alternatives, or being tied to particular legacy implementations) - access to low-level functions that cannot be portable, but that you sometimes need for implementing system utilities like mount, ifconfig, etc. - broken behavior for lots of POSIX-specified functions, where the GNU folks disagreed with the standards committee on how the functions should behave and decided to do their own thing.
2022-08-28Reviewed GLFW issue with `ppoll()` functionRay
2022-08-28Update posix_poll.cRay
2022-08-28WARNING: UPDATED GLFW to latest master branch!Ray
WARNING: This could be a BREAKING CHANGE for some platforms! I'm afraid something could be wrong on `rglfw.c` module. To be able to compile on Windows I had to modify `glfw/src/platform.c` line 74. I couldn't manage to compile without that change, help is welcome!
2022-08-21Win32: resolve some symbols re-definition of windows.h in glfw3native.h (#2643)Daijiro Fukuda
* Win32: resolve some symbols re-definition of windows.h in glfw3native.h This reflects GLFW's fix: https://github.com/glfw/glfw/issues/1348 This enables to build with a external GLFW containing the following fix: * https://github.com/glfw/glfw/commit/05f6c13d119ea2662c97527d2421fb4cffd3dbfc Currently, glfw3native.h of the internal GLFW is customized at https://github.com/raysan5/raylib/commit/2feea87b616292b5bce4454a42c2d048f1cce7d8 This fix is compatible with the current customized glfw3native.h. This fix enables us to update it to the latest and remove the customization. * Win32: remove unneeded typedef
2021-09-19Fix mappings.h issue from glfw update (#1995)Chris
- Ran GenerateMappings.cmake to restore mapping changes
2021-06-08Update GLFW to latest version #1817Ray
2021-01-02Update mappings.h in glfw using GenerateMappings.cmake (#1505)Chris
2020-12-02Update CMakeLists.txtRay
2020-12-01Update CMakeLists.txtRay
2020-11-30Updated GLFW to latest 3.4 (github master - 16Nov2020)Ray
WARNING: Some CMake files not changed WARNING: glfw_native.h contains custom changes
2020-09-19Updated joystick mappings with latest version of gamecontrollerdb (executed ↵coderoth
GenerateMappings.cmake), so that raylib can identify more joysticks (#1381)
2020-02-06Update GLFW to latest masterRay
2019-12-05external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS}Ahmad Fatoum
We were doing this before, but it was deleted during the last GLFW update. Readd it to fix the associated macOS CI failure. Fixes: ea5cd42e6 ("Update GLFW to version 3.4")
2019-12-01Update GLFW to version 3.4Ray
2019-05-15external: glfw: Revert "Added WinMM library"Ahmad Fatoum
This reverts commit 4773de26a50c29ae918e306c9936ad9d4ebf80aa. which adds -lwinmm at the wrong place. It should be in the raylib linker flags, not GLFW's.
2019-05-07Added WinMM libraryRay
Required for high resolution timer
2019-05-04external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS}Ahmad Fatoum
We were doing this before, but it was deleted during the last GLFW update. Readd it to fix the associated macOS CI failure. Fixes: cd934c9f6 ("Update GLFW to 3.3.1")
2019-04-23Remove unnecesary GLFW deps (used by examples)Ray
2019-04-22Update GLFW to 3.3.1Ray
2019-01-08glfw: Update GLFW to current masterAhmad Fatoum
glfw/glfw@5595fa3ae6 implements a proper fix for the macOS Mojave problem of OpenGL windows not being rendered until moved or manually updated. Pull in the current master and rebase the three patches we have on top: - two commits we have for reuse of the GLFW CMake build system for Wayland It hasn't yet to be acknowledged upstream. - one commit removing #include <windows.h> in glfw3native.h to avoid duplicate declarations. Fixes #655 and #665.
2018-10-08Corrected issue with dirent.h inclusion...Ray
...and MacOSX OBJC types definition...
2018-10-08Avoid multiple gl.h inclusionsRay
Expose native Cocoa Window again...
2018-10-08Multiple changes, check descriptionRay
REVIEW: Reorganized global variables for consistency ADDED: GetWindowHandle() to get native window handle ADDED: GetDirectoryFiles() to get files list for a DIR
2018-07-29Sync with upstream GLFW pull requestAhmad Fatoum
The GLFW tree distributed with raylib has two modifications: - GLFW_PKG_{DEPS,LIBS} are exported to PARENT_SCOPE, so we can use them in our pkg-config file - An intermediary glfw_objlib target is added, so we can reexport GLFW symbols from libraylib.a rglfw can fix the second point, but for Wayland usage, we would have to replicate protocol generation, so we just leverage GLFW's existing support instead. To make maintenance easier, I have submitted a pull request for including these modifications to upstream GLFW. And to make that one easier, this patch dog-foods the modifications, so raylib users can help find regressions. :-) glfw/glfw#1307
2018-07-03CMake: Reuse libraries found by glfw CMake configAhmad Fatoum
if (${PLATFORM} MATCHES "Desktop") target_link_libraries(${RAYLIB}_shared glfw ${GLFW_LIBRARIES}) was never true because PLATFORM STREQUAL "PLATFORM_DESKTOP"... This fixes #551 and makes the changes suggested in #552 (commited as 965cc8ab) unnecessary.
2018-06-12Corrected breaking buildRay San
2018-06-02Update GLFW to latest dev version (master branch)Ray
2018-05-12CMake: (Properly) build glfw separately with CMakeAhmad Fatoum
This reverts commit 2d6fb5c628068757387525e190c3afdbe33ae9c6, and adds a fix for Alien::raylib's test failures. The tests failed because the resulting static library didn't reexport GLFW symbols. As a fix, we now have GLFW create a CMake "object library" target that we can link with both the static and shared raylib. This is arguably ugly... Proper fix would probably be a GLFW upstream object library target. Closes #536.
2018-05-10Add GLFW source tree to src/externalAhmad Fatoum
We need the CMake stuff for wayland configuration. Otherwise, we would have to replicate that ourselves. This is the full 7ef34eb06de54dd9186d3d21a401b2ef819b59e7 tree except for tests/ examples/ and docs/
2018-03-03Updated GLFW library to latest versionraysan5
2018-01-27GLFW: Fix build error on Linux < v2.6.39Ahmad Fatoum
Cherry-pick from upstream glfw/glfw#1196 Found in CPANtesters test of Alien::raylib: http://www.cpantesters.org/cpan/report/d956d128-0339-11e8-b0d1-b6c4abd39192
2017-12-09Added Wayland supportraysan5
Updated to latest GLFW library and working on Wayland support, still looking how to implement it on raylib because it just exposes PLATFORM_DESKTOP and defaults to X11 windowing system on Linux...
2017-11-22Removed useless fileRay San
2017-11-17Remove unneeded glfw dependenciesRay San
Only required by examples
2017-11-13Added GLFW sources to raylibRay San
Compiling GLFW library with raylib avoids external dependencies, this way we solve version problems in some platforms