summaryrefslogtreecommitdiff
path: root/platform/x11/os_x11.cpp
AgeCommit message (Collapse)Author
2017-09-02Fix typos 'a' and 'an'Poommetee Ketson
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-27Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde
Added/Fixed null pointer checks
2017-08-26Added/Fixed null pointer checksWilson E. Alvarez
2017-08-25Fixed several memory leaksWilson E. Alvarez
2017-08-22Merge pull request #10487 from marcelofg55/curscr_as_defaultRémi Verschelde
p_screen param from get_screen_* funcs now default to the current screen
2017-08-21p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-19Set the X11 class hint before mapping the windowRichard Adenling
Setting the class hint before mapping the window will allow some window managers to determine if a window should be treated specially. This is also in accordance with the ICCCM spec which says that WM_CLASS should only be changed when a window is in a withdrawn (unmapped) state. Fixes #10429
2017-08-02Fix double finalisation of audio driversMarcelo Fernandez
2017-07-26Fixes power management on x11 platform and removes explicit NULL pointer ↵Julian Murgia
dereference.
2017-07-25Workaround to allow pasting unicode characters from X selection.Jia Wang
Fixes #2491. Fixes #9787.
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)
2017-07-13Fix fullscreen on X11 for non-resizable windowsMarcelo Fernandez
2017-07-11IME window follow the input cursor.geequlim
Abstruct set_ime_position to OS class. Update ime position for LineEdit and TextEdit.
2017-07-08Refactor 'treshold' to 'threshold'Poommetee Ketson
2017-07-05Implemented borderless window functions on Linux.Marcelo Fernandez
2017-06-29Workaround for IME and echo events on Linux:Jia Wang
Request detectable auto-repeat (Require XKB extension) to support echo events and IME at the same time. Fixes #29, #7106 and #9381.
2017-06-25Revert "Workaround for IME on Linux."Juan Linietsky
2017-06-25Workaround for IME on Linux(fixes #29 #7106):Jia Wang
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.
2017-06-09-Restored multithread capability to VisualServerJuan Linietsky
-Restored resource previews!
2017-06-03InputEvent: Renamed "pos" property to "position"Andreas Haas
Make the naming consistent with other classes.
2017-05-29X11: Turn warning about not finding cursor theme into verbose output.Andreas Haas
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)
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
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
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06Revert "8145 - Mouse Position is unknown until first mouse event on X11"Juan Linietsky
2017-03-288145 - Mouse Position is unknown until first mouse event on X11 & WinSergey Pusnei
- X11 update input->pos on EnterNotify - X11 & Win call first-time events processing before main initialization
2017-03-26Input: Remove usage of platform dependent event IDs.Andreas Haas
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...
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
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-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-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-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-01-30Fix issues with set_window_resizable on x11marcelofg55
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-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-08renamed joystick to joypad everywhere around source code!Juan Linietsky
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
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!