aboutsummaryrefslogtreecommitdiff
path: root/platform/x11 (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * BuildSystem: generated files have .gen.extensionPoommetee Ketson2017-06-251-1/+1
| |
* | Workaround for IME on Linux(fixes #29 #7106):Jia Wang2017-06-253-10/+129
|/ | | | | | | | | | Workaround for supporting input method frameworks like SCIM, IBus, Fcitx, etc. The locale is set when the application starts. Workaround for input when the input context within the specified input method is not available.
* -Restored multithread capability to VisualServerJuan Linietsky2017-06-091-4/+5
| | | | -Restored resource previews!
* InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-4/+4
| | | | Make the naming consistent with other classes.
* X11: Turn warning about not finding cursor theme into verbose output.Andreas Haas2017-05-291-1/+3
| | | | | | Failing to get the cursor theme should not cause any issues since we're then using the default one anyway. So I removed the warning and made it a verbose-only print instead, as people tend to mistake it for a real error.. (pretty much like `iCCP: known incorrect sRGB profile` :P)
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-202-65/+52
| | | | this might cause bugs I haven't found yet..
* Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-173-9/+9
|
* Improve documentation of thirdparty code snippetsRémi Verschelde2017-05-071-0/+25
|
* X11: Abort build if using OpenSSL 1.1.0+Rémi Verschelde2017-05-061-0/+9
| | | | Workaround until #8624 is fixed.
* Fix property warnings and hide some debug printsRémi Verschelde2017-04-231-2/+0
| | | | | | | | | | "ALL IS GOOD" was a lie. In particular, removes verbose "path not recognized" false positive. The actual logic is to (somewhat naively) check all ResourceFormatLoaders and to pick the first good match, so no need to warn about the formats that do not match the type hint.
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-102-4/+4
| | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0814-0/+14
|
* Revert "8145 - Mouse Position is unknown until first mouse event on X11"Juan Linietsky2017-04-061-8/+1
|
* 8145 - Mouse Position is unknown until first mouse event on X11 & WinSergey Pusnei2017-03-281-1/+8
| | | | | - X11 update input->pos on EnterNotify - X11 & Win call first-time events processing before main initialization
* Merge pull request #8159 from Hinsbart/last_idRémi Verschelde2017-03-274-16/+9
|\ | | | | Input: Remove usage of platform dependent event IDs.
| * Input: Remove usage of platform dependent event IDs.Andreas Haas2017-03-264-16/+9
| | | | | | | | | | The ID property for InputEvents is set by `SceneTree` when sending the event down the tree. So there's no need for the platform specific code to set this value when it will later be overriden anyway...
* | SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-261-2/+2
|/ | | | | | | | All the warnings are factored out of the platform-specific files and moved to SConstruct. Will have to check that it does not introduce regressions on some platforms/compilers. (cherry picked from commit 31107daa1a41fe9ab3c7c1868479e78e16848333)
* Fix typos in source code using codespellRémi Verschelde2017-03-241-3/+3
| | | | From https://github.com/lucasdemarchi/codespell
* Export working (for linux at least)Juan Linietsky2017-03-211-1/+5
|
* X11: Don't reset mouse cursor theme.Andreas Haas2017-03-181-2/+1
| | | | | | On KDE (and possibly others) the "default" cursor theme is actually some system default, not the one you've set in the desktop setting. This was especially annoying when using a white cursor, as Godot would then reset back to a dark one. In my case it was also keeping the cursor from changing its shape.
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0512-1183/+1089
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-052-4/+4
|
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-1/+1
| | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
* Add API to access battery power stateJulian Murgia2017-03-045-0/+663
| | | | | | | | | | | | | | Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
* Fix failing build on mageia v6 x64 linux.Shlomi Fish2017-02-271-0/+1
| | | | There was an error about undeclared malloc()+free().
* Merge pull request #7862 from Hinsbart/joypad_connectionsRémi Verschelde2017-02-262-11/+1
|\ | | | | Better handling of joypad device IDs.
| * Better handling of joypad device IDs.Andreas Haas2017-02-262-11/+1
| | | | | | | | | | | | | | Now InputDefault is responsible for giving out joypad device IDs to the platform, instead of each platform handling this itself. This makes it possible for c++ modules to add their own "custom" gamepad devices, without the risk of messing up events in case the user also has regular gamepads attached (using the OS code). For now, it's implemented for the main desktop platforms. Possible targets for future work: android, uwp, javascript
* | Merge pull request #7834 from hpvb/x11-return-to-cwd-at-exitRémi Verschelde2017-02-261-0/+9
|\ \ | | | | | | X11 return to cwd at exit
| * | X11 return to cwd at exitHein-Pieter van Braam2017-02-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During runtime godot calls chdir() several times. This doesn't really matter normally but when using tools such as gprof the location of the profiling data is kind of hard to intuit. With this PR we simply store the current working directory at start and restore it once we're almost done exiting. This doesn't use the OS abstractions as when we need to get the current workdir we haven't yet initialized it (by necessity). This would break if we tried to build X11 for windows, but since the X11 target is hardcoded to use the UNIX abstractions I don't think it matters.
* | | Fix some compilation warnings.Shlomi Fish2017-02-211-1/+1
| |/ |/| | | | | | | | | Redone the commit based on the input in https://github.com/godotengine/godot/pull/7851 . Not all warnings were fixed but it's a start.
* | Editor Export Settings Dialog is completed!! Now on to make some exporters..Juan Linietsky2017-02-191-3/+20
|/
* X11: Move audio driver finalize to the start of cleanupHein-Pieter van Braam2017-02-171-4/+4
| | | | | | | The audio driver cleanup needs to happen at the start of finish otherwise a race still seems to exist with the destruction of the audioserver. I think that destroying the X resoures before has something to do with it.
* X11: Finalize audiodrivers on exitHein-Pieter van Braam2017-02-171-1/+4
| | | | | | | The audiodrivers loaded by OS_X11 are not destroyed before the audioserver is. This causes a segfault on exit. The code is taken from os_windows.cpp which did have the cleanup code.
* Merge pull request #7578 from baekdahl/masterRémi Verschelde2017-02-021-7/+0
|\ | | | | x11: don't wait for window to be mapped
| * x11: don't wait for window to be mappedJesper Bækdahl2017-01-191-7/+0
| |
* | Merge pull request #7683 from marcelofg55/masterRémi Verschelde2017-02-021-9/+27
|\ \ | | | | | | Fix issues with set_window_resizable on x11
| * | Fix issues with set_window_resizable on x11marcelofg552017-01-301-9/+27
| | |
* | | Merge pull request #7645 from tagcup/x11_optimization_flags_v2Rémi Verschelde2017-02-021-9/+16
|\ \ \ | |/ / |/| | Use -Ofast on x11. Also introduced use_lto option.
| * | Use -Ofast on x11. Also introduced use_lto option.Ferenc Arn2017-01-261-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | debug_release doesn't turn off optimizations for release target now. Ensure that sanitizer options apply to both C and C++ files. Built-in optimization/debug flags are prepended such that user-specified flags can override them. Based on and around the discussion in PR #5194.
* | | Removed import/export system, will start new one from scratch.Juan Linietsky2017-01-251-1/+2
|/ /
* | Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov2017-01-252-20/+41
| | | | | | | | mode (#7162)
* | WIP new AudioServer, with buses, effects, etc.Juan Linietsky2017-01-211-0/+1
|/
* Style: Various fixes to play nice with clang-formatRémi Verschelde2017-01-161-9/+8
|
* Oops! Audio engine has vanished :DJuan Linietsky2017-01-152-40/+16
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-144-10/+12
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
|
* Rename "joypad_linux" class to "JoypadLinux"Andreas Haas2017-01-084-26/+25
| | | | Named this class in GodotCase, so it fits with the rest of the codebase.
* Finish replacement of joystick by joypadRémi Verschelde2017-01-084-5/+6
| | | | Some parts were forgotten in 547a577.
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-084-78/+78
|
* x11: Improve logic for cross-dependencies between freetype, zlib and libpngRémi Verschelde2017-01-081-2/+13
| | | | Fixes #7373.