aboutsummaryrefslogtreecommitdiff
path: root/platform/x11/os_x11.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Workaround to allow pasting unicode characters from X selection.Jia Wang2017-07-251-2/+14
| | | | | Fixes #2491. Fixes #9787.
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-0/+5
| | | | -Added system for feature overrides, it's pretty cool :)
* Fix fullscreen on X11 for non-resizable windowsMarcelo Fernandez2017-07-131-0/+27
|
* IME window follow the input cursor.geequlim2017-07-111-13/+8
| | | | | Abstruct set_ime_position to OS class. Update ime position for LineEdit and TextEdit.
* Refactor 'treshold' to 'threshold'Poommetee Ketson2017-07-081-2/+2
|
* Implemented borderless window functions on Linux.Marcelo Fernandez2017-07-051-0/+26
|
* Workaround for IME and echo events on Linux:Jia Wang2017-06-291-9/+163
| | | | | Request detectable auto-repeat (Require XKB extension) to support echo events and IME at the same time. Fixes #29, #7106 and #9381.
* Revert "Workaround for IME on Linux."Juan Linietsky2017-06-251-122/+10
|
* Workaround for IME on Linux(fixes #29 #7106):Jia Wang2017-06-251-10/+122
| | | | | | | | | | 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-201-64/+51
| | | | this might cause bugs I haven't found yet..
* Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-171-7/+7
|
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-3/+3
| | | | | | | | 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-081-0/+1
|
* 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
* Input: Remove usage of platform dependent event IDs.Andreas Haas2017-03-261-6/+1
| | | | | 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...
* Fix typos in source code using codespellRémi Verschelde2017-03-241-3/+3
| | | | From https://github.com/lucasdemarchi/codespell
* 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-051-692/+648
| | | | | | | | | | | | | | | | | | | | | | | | 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 API to access battery power stateJulian Murgia2017-03-041-0/+12
| | | | | | | | | | | | | | 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 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.
* 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.
* Fix issues with set_window_resizable on x11marcelofg552017-01-301-9/+27
|
* Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov2017-01-251-19/+40
| | | | 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-151-31/+15
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-6/+8
| | | | | 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-081-1/+1
| | | | Named this class in GodotCase, so it fits with the rest of the codebase.
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-3/+3
|
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-1/+1
| | | | renamed to PoolVector
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-9/+12
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Migrated from GLES to GLAD, fixes many issues.Juan Linietsky2016-11-221-1/+1
| |
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-8/+11
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | | | | | | | | | 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!
* | fix for crash when no ALSA or Pulse installed on linuxGustav Lund2016-12-121-0/+5
| |
* | Revert "X11: Fix maximized boot splash"Rémi Verschelde2016-11-231-21/+0
| | | | | | | | | | | | This reverts commit 8d3efe2b7de494c0971d4b7f7af6ed0dc2f4613c. It introduced crashes for some users when trying to capture the XConfigureNotify event.
* | X11: Fix maximized boot splashAndreas Haas2016-11-161-0/+21
| | | | | | | | | | | | | | | | | | 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.
* | vsnc --> vsyncISylvox2016-11-081-1/+1
|/
* x11: Fix event.is_action() for release of modifier keysAndreas Haas2016-09-221-0/+13
| | | | | | | The bug was that the release events for these also had the modifier state set, so the event comparison failed. Fixes #5901
* x11: Use proper sonames for loading libXrandr.Andreas Haas2016-08-111-3/+3
|
* Merge pull request #5845 from hurikhan/x11_cleanupRémi Verschelde2016-07-221-149/+34
|\ | | | | Code cleanup in platform/x11
| * Code cleanup in platform/x11Mario Schlack2016-07-211-149/+34
| |
* | Implement OS.request_attention() for X11Mario Schlack2016-07-211-0/+20
|/
* line/col label was changing size with each cursor move, forcing the GUI to ↵Juan Linietsky2016-07-091-1/+0
| | | | | | | 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.