summaryrefslogtreecommitdiff
path: root/platform/x11
AgeCommit message (Collapse)Author
2016-11-23Revert "X11: Fix maximized boot splash"Rémi Verschelde
This reverts commit 8d3efe2b7de494c0971d4b7f7af6ed0dc2f4613c. It introduced crashes for some users when trying to capture the XConfigureNotify event.
2016-11-21Merge pull request #7125 from Hinsbart/x11_maximizeRémi Verschelde
X11: Fix maximized boot splash
2016-11-19png: Allow building shared freetype with bundled libpngRémi Verschelde
This was the behaviour when building Godot 2.1, which allows to build against Ubuntu 12.04 and its freetype that links old libpng12, while still bundling libpng16.
2016-11-19Revert "libpng: Fix erroneously linking against libpng12 on old distros"Rémi Verschelde
This reverts commits 5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa and ec4be71fade1ee5c6171e323d09197f3bf528499. Looks like Debian/Ubuntu are not even shipping libpng16 nowadays in their stable releases, we'll have to go back to statically linking our own libpng16 to wait for them to stop being 5 years behind everybody.
2016-11-19libpng: Fix erroneously linking against libpng12 on old distrosRémi Verschelde
This bit us for 2.1.1 binaries built on Ubuntu 12.04 LTS where libpng.pc apparently prioritizes libpng12.
2016-11-16X11: Fix maximized boot splashAndreas Haas
When instructing the window manager to (un)maximize a window, the resulting resolution is recieved via an XEvent of type "ConfigureNotify". The problem here was that these events were only handled in the `OS_X11::process_xevents()` method, which is initially called on the first iteration of the main loop. Because of this, the VideoMode still hadn't been updated yet when doing the boot splash setup.
2016-11-08vsnc --> vsyncISylvox
2016-11-03scons: Reorder options for clarityRémi Verschelde
Also prefix all thirdparty-related toggles with `builtin`.
2016-11-01style: Fix PEP8 blank lines issues in Python filesRémi Verschelde
Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
2016-11-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
2016-10-30Merge pull request #6490 from zaps166/webm-prRémi Verschelde
Add WebM support
2016-10-23Add WebM moduleBłażej Szczygieł
Use already existing libraries: libvorbis and libopus. Also use newly added libraries: libvpx, libwebm, libsimplewebm.
2016-10-17SCons: Use colored output if available, change "colored"->"verbose"Błażej Szczygieł
2016-10-17Merge pull request #6850 from akien-mga/pr-scsub-shebangRémi Verschelde
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-16Theora: Don't compile unnecessary files, rename "x86_opt_*"Błażej Szczygieł
2016-10-15freetype: Make it a module and split thirdparty libraryRémi Verschelde
Comment out the weird workaround for building on Windows at it might not be needed anymore. Testing needed to confirm.
2016-10-15zlib: Split thirdparty files, simplify scons optionRémi Verschelde
2016-10-15glew: Split thirdparty files and isolate envRémi Verschelde
Not fully happy about the way this one interacts with the various platforms. Maybe the platform_config.h should be generated by the SCsub instead of passing a define just to know where is the header.
2016-10-15squish: Move to a module and split thirdparty libRémi Verschelde
2016-10-15theora: Move to a module and split thirdparty libRémi Verschelde
Same rationale as the previous commits.
2016-10-15openssl: Move to a module and split thirdparty libRémi Verschelde
Same rationale as the previous commits.
2016-10-15ogg/vorbis/opus: Make them modules and unbundle thirdparty libsRémi Verschelde
Took the opportunity to undo the Godot changed made to the opus source. The opus module should eventually be built in its own environment to avoid polluting others with too many include dirs and defines. TODO: Fix the platform/ stuff for opus.
2016-10-15webp: Make it a module and unbundle libwebp thirdparty filesRémi Verschelde
Note that there are two Godot-specific changes made to libwebp for the javascript/HTML5 platform. They are documented in the README.md.
2016-10-15enet: Split enet thirdparty files and allow unbundlingRémi Verschelde
Building against shared libraries only implemented for Linux X11 so far. TODO: Document Godot's modifications of upstream enet.
2016-10-15png: Split library to thirdparty dir and allow unbundlingRémi Verschelde
Uses the new structure agreed upon in #6157, but the thirdparty/ folder does not behave following a logic similar to that of modules/ yet. The png driver can't be moved to a module as discussed in #6157, as it's required by core together with a few other ImageLoader implementations (see drivers/register_driver_types.cpp:register_core_driver_types()) Dropped the possibility to disable PNG support, it's a core component of Godot.
2016-09-23Use pkgconfig to locate ALSA libs (#6119)romeojulietthotel
* This allows building when ALSA libs are in a non-standard location. PKG_CONFIG_PATH alone is not enough as the final link fails. Adding this makes the final link succeed. * The extra LIBS flag for alsa is not needed so removing.
2016-09-22x11: Fix event.is_action() for release of modifier keysAndreas Haas
The bug was that the release events for these also had the modifier state set, so the event comparison failed. Fixes #5901
2016-08-11x11: Use proper sonames for loading libXrandr.Andreas Haas
2016-07-22Merge pull request #5845 from hurikhan/x11_cleanupRémi Verschelde
Code cleanup in platform/x11
2016-07-21Code cleanup in platform/x11Mario Schlack
2016-07-21Implement OS.request_attention() for X11Mario Schlack
2016-07-18remove GLU dependency, closes #3787Juan Linietsky
2016-07-09line/col label was changing size with each cursor move, forcing the GUI to ↵Juan Linietsky
resize upwards and costing considerably CPU usage. It has been changed so it won't resize the UI when modified. This will make the code editor feel a lot smoother.
2016-07-08Avoid crash if setting modifiers fails, closes #5158Juan Linietsky
2016-07-07Removed unused variables (first pass)Rémi Verschelde
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-04Link libdl only on Linux, fix BSD buildeska
2016-06-27Fix compiling for X11 on non-86, this fixes #5444Ferdinand Thiessen
2016-06-25Changes X11 res_name to "Godot_Engine"paper-pauper
Add additional/alternative WM_CLASS; only affects the game window, avoids redundancy and allows finer control in WMs (#5265)
2016-06-22Fixed iCCp chunk in pngsJ08nY
neccesary for libpng 1.6.27 to work silently
2016-06-20Remove the vibration effect from the joystick when stoppingWilhem Barbier
2016-06-19fix memset callsDennis Brakhane
Order is "mem, val, count", not "mem, count, val"
2016-06-18Add missing license headers in our source files (#5255)Rémi Verschelde
Also removes a couple wrong Godot headers from third-party source files.
2016-06-15Add joystick vibration support on Linux (#5043)Wilhem Barbier
2016-06-12x11: fix XRandr GetMonitorsAndreas Haas
2016-06-11Merge pull request #4905 from Hinsbart/x11_dpiJuan Linietsky
x11: Implemented dpi detection
2016-06-09-make freetype build for all platforms the same, default as builtin except ↵Juan Linietsky
on x11. closes #5119
2016-06-09x11: Implemented dpi detectionAndreas Haas
depends on XRandR. Had to dynamically load `XRRGetMonitors` as Ubuntu 12.04 doesn't have it. Also removed libudev from travis install list.
2016-06-08GLEW: Define static + enabled and includes via SConsRémi Verschelde
This allows us not to have to hack our definitions in the upstream files, making it easier to upgrade to newer versions in the future. For the include paths to work, the headers are moved to a GL subfolder to match their upstream location.