summaryrefslogtreecommitdiff
path: root/platform/x11
AgeCommit message (Collapse)Author
2018-02-12Added OS::center_window to center the window precisely on desktop platformsMarcelo Fernandez
2018-02-01Fix inconsistencies and typos in argument namesPaolo Perkovic
2018-01-29Fix Copy/Paste problems on X11Hein-Pieter van Braam
The target of the TARGETS type should be XA_ATOM and not XA_TARGETS when requested. Since we are sending a number of ATOMS the size should be set to the integer size and not the char size. The size field of the atoms is also the number of atoms and not the size of the array. This caused some clients to wrongly interpret the data and read garbage in the X11 packet. I also add the more modern representation for UTF-8 and clarify the error message if a client attempts to request a type we don't know about. This fixes #10431
2018-01-26Make separate debug symbols opt-inHein-Pieter van Braam
This adds a separate_debug_symbols option to the x11, windows, and osx targets. This will default to adding normal debugging symbols to the artifacts and only splits them when separate_debug_symbols=yes on the Scons command line.
2018-01-26Bullet: allow unbundling only if > 2.87Rémi Verschelde
Looks like we are using cutting edge methods which are not even if the current stable 2.87.
2018-01-24Silence verbose stderr info message on X11Rémi Verschelde
2018-01-13SCons: Allow unbundling bullet on Linux (only 2.87+)Rémi Verschelde
2018-01-05SCons: Fix usage of LD when we meant LINKRémi Verschelde
Also made LINK and CXXFLAGS configurable as command line options. Note that LINK currently expects the *compiler* that will be used for linking and will call its configured linker behind the scenes (so g++, clang++, etc., not ld.gold). See #15364 for details.
2018-01-05X11: Add missing return in OS_X11::initialize().Andreas Haas
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond
2018-01-03Merge pull request #15092 from ↵Rémi Verschelde
guilhermefelipecgs/fix_infinite_loop_on_splash_screen Fix infinite loop on splash screen on tiling windows managers
2018-01-03Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursorRémi Verschelde
Custom hardware-accelerated mouse cursor
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-27Fix infinite loop introduced by 6f3486c4 on tiling windows managersGuilherme Silva
2017-12-24-Removed OpenMP support, replaced by a custom class.Juan Linietsky
-Disabled Opus, implementation is wrong.
2017-12-24x11: Fix maximized splash-boot screen bug.Enzo Nocera
Fixes #14336
2017-12-22Do not require OpenMP for non-tools builds (export templates)Rémi Verschelde
2017-12-17Add implementation for custom hardware cursorGuilherme Silva
2017-12-16Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.Juan Linietsky
Call needs to be routed via visual server to reach the proper thread.
2017-12-16Rename the debug symbol files to .debugsymbolsHein-Pieter van Braam
Some users were confused by the '.debug' suffix for the symbols.
2017-12-16Merge pull request #14597 from NathanWarden/linux_extensionsRémi Verschelde
Updated Linux template extensions to match architecture.
2017-12-14openmp: Simplify linking on X11, fixing clang buildRémi Verschelde
2017-12-14Fix type mismatch in OS::set_borderless_windowRémi Verschelde
Closes #14663.
2017-12-14openmp: Don't try to link GCC's implementation on ClangRémi Verschelde
Also disable openmp build on Travis, breaks on Trusty's Clang. Group deps more naturally.
2017-12-14Added indent_style to editorconfig, fixed inconsistent use of tabs and ↵Colin Kinloch
spaces in indentation.
2017-12-14-Add lightmapperJuan Linietsky
-Fixes to unwrapper (remove degenerates), makes Thekla not crash -Added optional cancel button in EditorProgress -Added function to force processing of events (needed for cancel button)
2017-12-12Updated Linux template extensions to match architecture.Nathan Warden
2017-12-10Fix no mouse if touch device present in X11Pedro J. Estébanez
Plus several improvements in this area. Sadly, grabbing has been disabled until a better solution is found. Fixes #14427.
2017-12-09X11: Process entire event queue at startup.Andreas Haas
Should fix #14336
2017-12-09Fixes vsync setting ignored when using a separate thread for renderingStefano Bonicatti
Setting the vsync in the main thread, after the rendering thread starts and takes the OpenGL context fails, so we need to do that before. Also, for some reason, the main thread cannot make current the context anymore. Fixes #13447
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-12-06Implement multitouch on X11Pedro J. Estébanez
2017-11-28disable caching for targets using helper functionsRhody Lugo
2017-11-28use the same cache for all branches for appveyorRhody Lugo
2017-11-20Merge pull request #12387 from santouits/x1111Rémi Verschelde
Fix x11 boot logo position in fullscreen and in maximized
2017-11-20Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde
Add support for XDG Base Directory spec
2017-11-19Add initial support for the XDG Base Directory specRémi Verschelde
Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html (latest as of this commit). Three virtual methods are added to OS for the various XDG paths we will use: - OS::get_data_path gives XDG_DATA_HOME, or if missing: ~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_config_path gives XDG_CONFIG_HOME, or if missing: ~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_cache_path gives XDG_CACHE_HOME, or if missing: ~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows So for Windows there are no changes, for Linux we follow the full split spec and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot. Support for system-wide installation of templates on Unix was removed for now, as it's a bit hackish and I don't think anyone uses it. user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by default, but when using the application/config/use_shared_user_dir option it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame. For now everything still goes in EditorSettings::get_settings_dir(), but this will be changed in a later commit to make use of the new splitting where relevant. Part of #3513.
2017-11-19Cleanup old references to GLES2 rendererRémi Verschelde
There are still some left in the Android Java code, even stuff to swap between GLES1 and GLES2 support from early Godot days... would be good to see some cleanup there too one day. The "graphics/api" option for Android exports is removed, as only GLES 3.0 is supported. It can be readded when GLES 2.0 support comes back. Fixes #13004.
2017-11-17Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde
Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
2017-11-09Make video mode initialization more intuitive, fixes #12022Juan Linietsky
2017-11-03Merge pull request #12262 from AndreaCatania/pplugJuan Linietsky
Physics server plug
2017-11-04Implemented physics plugAndreaCatania
Moved init_physics Implemented physics 2D plug Fix clang Fix clang Fix static check Fix clang Fix static check Moved physics server initialization Moved physics server settings initialization
2017-11-02SCons: make use_lto a global option and opt-in for iphoneRémi Verschelde
Supersedes #12553, see discussion in #12552.
2017-10-30Add Colemak keybindings to editor for osxN0hbdy
2017-10-30Implemented OS get_latin_keyboard_variant on x11Marcelo Fernandez
2017-10-27Travis: Simplify matrix, disable iphone and add X11 tools=no/clangRémi Verschelde
Travis always has massive backlog of macOS builds, so we can't rely on them too much. The iphone build was mostly useful to spot tools=no or target=release_debug issues, so replacing it by an appropriate X11 build.
2017-10-26Fix x11 boot logo position in fullscreen and in maximizedsantouits
2017-10-17Fix BSD compile issuesMarcelo Fernandez
2017-10-13Use binary names instead of absolute paths in calls to OS::execute.J08nY
Now that #12009 is merged, we should let the system find the binary on the users $PATH and don't assume we know where to look for them in different distributions.