summaryrefslogtreecommitdiff
path: root/platform/x11
AgeCommit message (Collapse)Author
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-21Export working (for linux at least)Juan Linietsky
2017-03-18X11: Don't reset mouse cursor theme.Andreas Haas
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.
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
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.
2017-03-04Add API to access battery power stateJulian Murgia
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
2017-02-27Fix failing build on mageia v6 x64 linux.Shlomi Fish
There was an error about undeclared malloc()+free().
2017-02-26Merge pull request #7862 from Hinsbart/joypad_connectionsRémi Verschelde
Better handling of joypad device IDs.
2017-02-26Better handling of joypad device IDs.Andreas Haas
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
2017-02-26Merge pull request #7834 from hpvb/x11-return-to-cwd-at-exitRémi Verschelde
X11 return to cwd at exit
2017-02-21Fix some compilation warnings.Shlomi Fish
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.
2017-02-19Editor Export Settings Dialog is completed!! Now on to make some exporters..Juan Linietsky
2017-02-18X11 return to cwd at exitHein-Pieter van Braam
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.
2017-02-17X11: Move audio driver finalize to the start of cleanupHein-Pieter van Braam
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.
2017-02-17X11: Finalize audiodrivers on exitHein-Pieter van Braam
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.
2017-02-02Merge pull request #7578 from baekdahl/masterRémi Verschelde
x11: don't wait for window to be mapped
2017-02-02Merge pull request #7683 from marcelofg55/masterRémi Verschelde
Fix issues with set_window_resizable on x11
2017-02-02Merge pull request #7645 from tagcup/x11_optimization_flags_v2Rémi Verschelde
Use -Ofast on x11. Also introduced use_lto option.
2017-01-30Fix issues with set_window_resizable on x11marcelofg55
2017-01-26Use -Ofast on x11. Also introduced use_lto option.Ferenc Arn
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.
2017-01-25Removed import/export system, will start new one from scratch.Juan Linietsky
2017-01-25Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov
mode (#7162)
2017-01-21WIP new AudioServer, with buses, effects, etc.Juan Linietsky
2017-01-19x11: don't wait for window to be mappedJesper Bækdahl
2017-01-16Style: Various fixes to play nice with clang-formatRémi Verschelde
2017-01-15Oops! Audio engine has vanished :DJuan Linietsky
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
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.
2017-01-13rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky
2017-01-08Rename "joypad_linux" class to "JoypadLinux"Andreas Haas
Named this class in GodotCase, so it fits with the rest of the codebase.
2017-01-08Finish replacement of joystick by joypadRémi Verschelde
Some parts were forgotten in 547a577.
2017-01-08renamed joystick to joypad everywhere around source code!Juan Linietsky
2017-01-08x11: Improve logic for cross-dependencies between freetype, zlib and libpngRémi Verschelde
Fixes #7373.
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-06Remove bundled glew, obsoleted by gladRémi Verschelde
Also make Haiku load the glad header for GLES3 too, though I haven't test it.
2017-01-06Move glad files to thirdparty dirRémi Verschelde
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-12-21Some BRDF fixesJuan Linietsky
2016-12-12fix for crash when no ALSA or Pulse installed on linuxGustav Lund
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-22Migrated from GLES to GLAD, fixes many issues.Juan Linietsky
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.