summaryrefslogtreecommitdiff
path: root/platform/x11
AgeCommit message (Collapse)Author
2017-09-02Fix typos 'a' and 'an'Poommetee Ketson
2017-08-31Merge pull request #10148 from leezh/pcre2Rémi Verschelde
Replacement of internal RegEx with PCRE2
2017-08-30Disable -ffast-math for etc2compHein-Pieter van Braam
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
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-27Merge pull request #10598 from Rubonnek/free-memoryRémi Verschelde
Free memory when Main::setup returns an error
2017-08-26Added/Fixed null pointer checksWilson E. Alvarez
2017-08-25Free memory when Main::setup returns an errorWilson 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-19Replacement of internal RegEx with PCRE2Zher Huei Lee
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.
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-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-07Merge pull request #10045 from marcelofg55/audioserver_finishRémi Verschelde
Fix double finalisation of audio drivers
2017-08-06Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov
Closes #7695
2017-08-02Fix double finalisation of audio driversMarcelo Fernandez
2017-07-27Merge pull request #9887 from StraToN/power-fix-x11Rémi Verschelde
Fix power management on x11 platform and removes explicit NULL pointer dereference
2017-07-26Fixes power management on x11 platform and removes explicit NULL pointer ↵Julian Murgia
dereference.
2017-07-26Remove duplicate keycode constant for Numpad Enter key.bruvzg
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-07-03Merge pull request #9396 from sowfelicity/x11-ime-echoRémi Verschelde
Workaround for IME and echo events on Linux (fixes #29 #7106 #9381):
2017-07-01Buildsystem: Improve detect.py readability and fix issuesRémi Verschelde
Tried to organize the configure(env) calls in sections, using the same order for all platforms whenever possible. Apart from cosmetic changes, the following issues were fixed: - Android: cleanup linkage, remove GLESv1_CM and GLESv2 - iPhone: Remove obsolete "ios_gles22_override" option - OSX: * Fix bits detection (default to 64) and remove obsolete "force_64_bits" option (closes #9449) * Make "fat" bits argument explicit - Server: sync with X11 - Windows: clean up old DirectX 9 stuff - X11: * Do not require system OpenSSL for building (closes #9443) * Fix typo'ed use_leak_sanitizer option * Fix .llvm suffix overriding custom extra_suffix
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-25Merge pull request #9334 from Noshyaar/pr-genhRémi Verschelde
BuildSystem: generated files have .gen.extension
2017-06-25BuildSystem: generated files have .gen.extensionPoommetee Ketson
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-05-07Improve documentation of thirdparty code snippetsRémi Verschelde
2017-05-06X11: Abort build if using OpenSSL 1.1.0+Rémi Verschelde
Workaround until #8624 is fixed.
2017-04-23Fix property warnings and hide some debug printsRémi Verschelde
"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.
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-27Merge pull request #8159 from Hinsbart/last_idRémi Verschelde
Input: Remove usage of platform dependent event IDs.
2017-03-26SCons: Add option to toggle warnings (on by default)Rémi Verschelde
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)
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...