aboutsummaryrefslogtreecommitdiff
path: root/platform/x11 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12387 from santouits/x1111Rémi Verschelde2017-11-202-47/+40
|\ | | | | Fix x11 boot logo position in fullscreen and in maximized
| * Fix x11 boot logo position in fullscreen and in maximizedsantouits2017-10-262-47/+40
| |
* | Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde2017-11-202-1/+38
|\ \ | | | | | | Add support for XDG Base Directory spec
| * | Add initial support for the XDG Base Directory specRémi Verschelde2017-11-192-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde2017-11-171-1/+1
| | | | | | | | | | | | | | | Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
* | | Cleanup old references to GLES2 rendererRémi Verschelde2017-11-191-1/+1
|/ / | | | | | | | | | | | | | | | | 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.
* | Make video mode initialization more intuitive, fixes #12022Juan Linietsky2017-11-092-5/+0
| |
* | Merge pull request #12262 from AndreaCatania/pplugJuan Linietsky2017-11-033-18/+1
|\ \ | | | | | | Physics server plug
| * | Implemented physics plugAndreaCatania2017-11-043-18/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | SCons: make use_lto a global option and opt-in for iphoneRémi Verschelde2017-11-021-1/+0
| | | | | | | | | | | | Supersedes #12553, see discussion in #12552.
* | | Add Colemak keybindings to editor for osxN0hbdy2017-10-301-2/+2
| | |
* | | Implemented OS get_latin_keyboard_variant on x11Marcelo Fernandez2017-10-302-0/+34
| | |
* | | Travis: Simplify matrix, disable iphone and add X11 tools=no/clangRémi Verschelde2017-10-271-0/+4
| |/ |/| | | | | | | | | | | 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.
* | Fix BSD compile issuesMarcelo Fernandez2017-10-172-0/+9
|/
* Use binary names instead of absolute paths in calls to OS::execute.fix/use-bin-nameJ08nY2017-10-131-5/+5
| | | | | | 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.
* Drop unusued LEGACYGL_ENABLED checkRémi Verschelde2017-10-134-5/+5
| | | | [ci skip]
* Merge pull request #11575 from marcelofg55/move_path_to_trashPoommetee Ketson2017-10-022-0/+74
|\ | | | | FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
| * FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trashMarcelo Fernandez2017-09-252-0/+74
| |
* | Reduce gcc lto build time by telling the linker toFelix M. Cobos2017-09-261-1/+4
| | | | | | | | use the number of jobs indicated by -j
* | Use BoolVariable in platform-specific options.Elliott Sales de Andrade2017-09-251-16/+16
| |
* | Use BoolVariable for third-party options.Elliott Sales de Andrade2017-09-251-27/+27
| |
* | Use BoolVariable in target/component/advanced options.Elliott Sales de Andrade2017-09-251-1/+1
| |
* | Use EnumVariable for choice-based build options.Elliott Sales de Andrade2017-09-251-1/+2
|/
* Merge pull request #11519 from hpvb/fix-gcc-ltoRémi Verschelde2017-09-241-0/+3
|\ | | | | | | | | Fix gcc lto [ci skip]
| * Fix gcc ltoHein-Pieter van Braam2017-09-231-0/+3
| | | | | | | | | | This repairs LTO on X11 and adds it to MingW targets. The difference in linktime is substantial, but runtime performance is quite a bit better.
* | Merge pull request #11527 from QuLogic/system-zstdRémi Verschelde2017-09-241-0/+3
|\ \ | | | | | | Enable building against system zstd.
| * | Enable building against system zstd.Elliott Sales de Andrade2017-09-231-0/+3
| |/
* / Add support for OpenSSL 1.1.0.Elliott Sales de Andrade2017-09-241-9/+0
|/ | | | | | | | This release hides many struct members which provides easier forward compatibility but is a break from previous releases. A few small macros provide compatibility between both 1.1.0 and 1.0.x. Fixes #8624.
* Merge pull request #11243 from hpvb/add-debug-info-on-releaseRémi Verschelde2017-09-212-6/+16
|\ | | | | Create separate debug info files by default
| * Create separate debug info files by defaultHein-Pieter van Braam2017-09-162-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have a built-in stacktrace on a segfault it would be useful to have debug information on debug_release builds so that bugreports can include this information. Without this debug info we will still get function names in the backtrace but not file location. This commit will by default build all targets with minimal debug info and then strip the information into separate files. On MacOS this is a .dSYM file, on Linux/MingW this is a .debug file. MacOSX will automatically load a dSYM file if it exists in its debugger. On Linux/MingW we create a 'gnu debuglink' meaning that gdb and friends will automatically find the debug symbols if they exist. Existing workflow for developers does not change at all, except that we now create two instead of one build artifact by default. This commit also adds a 'debug_symbols' option to X11, MacOS, and MingW targets. The default is 'yes' which corresponds to -g1. The alternatives are 'no' (don't generate debug infos at all) or 'full' which runs with -g2. A target=debug build will now build with -g3.
* | Merge pull request #11141 from fcobos/x11_borderless_switch_fixRémi Verschelde2017-09-211-0/+10
|\ \ | | | | | | X11 - Adding borders back to a borderless window was not working.
| * | Adding borders back to a borderless window was not working.Felix M. Cobos2017-09-121-0/+10
| | |
* | | Rename pos to position in user facing methods and variablesletheed2017-09-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* | | Fix crash handler not including stdlib.hMarcelo Fernandez2017-09-191-0/+1
| | |
* | | Prevent running the crash_handler when a debugger is present on windowsMarcelo Fernandez2017-09-181-1/+1
| | |
* | | Merge pull request #11252 from marcelofg55/fix_noaudio_crashRémi Verschelde2017-09-172-39/+1
|\ \ \ | | | | | | | | Fix crash when no audio driver is available
| * | | Fix crash when no audio driver is availableMarcelo Fernandez2017-09-132-39/+1
| | | |
* | | | Fix x11 exported executables not getting the +x flagMarcelo Fernandez2017-09-171-0/+1
| |_|/ |/| |
* | | Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog2017-09-154-26/+26
|\ \ \ | | | | | | | | Fix enums bindings
| * | | Fix enums bindingsMaxim Sheronov2017-09-134-26/+26
| | |/ | |/| | | | | | | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* | | X11: Fix gamepads not being added whith udev.Andreas Haas2017-09-141-1/+0
| |/ |/| | | | | | | Seems like this property isn't present on some gamepads... Fixes #10958
* | Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez2017-09-136-6/+212
| |
* | Hint the window manager to disable desktop compositing in fullscreen mode.Felix M. Cobos2017-09-091-0/+11
|/
* Fix typos 'a' and 'an'Poommetee Ketson2017-09-021-1/+1
|
* Merge pull request #10148 from leezh/pcre2Rémi Verschelde2017-08-311-0/+5
|\ | | | | Replacement of internal RegEx with PCRE2
| * Replacement of internal RegEx with PCRE2Zher Huei Lee2017-08-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pattern and replacement matching behaviour has been changed purely due to the nature of switching to a standards-compliant library. One mistake in the previous behaviour was that named groups didn't have a number. This has been corrected. As names are actually just an alias of numbered groups, RegExMatch::get_name_dict() is now get_names() and is a dict referring to the group number it represents. Duplicate names are enabled and the with the first matching instance used. Due the lack of a suitable equivalent in PCRE2, RegExMatch::expand() was removed.
* | Disable -ffast-math for etc2compHein-Pieter van Braam2017-08-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | Apparently -ffast-math generates incorrect code with recent versions of GCC and Clang. The manual page for GCC warns about this possibility. In my tests it doesn't actually appear to be measurably slower in this case, and this is used in a batch process so it seems safe to disable this. This fixes #10758 and fixes #10070
* | Dead code tells no talesRémi Verschelde2017-08-272-32/+2
| |
* | Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2714-14/+14
| |
* | Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde2017-08-272-15/+12
|\ \ | | | | | | Added/Fixed null pointer checks