summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
Commit message (Collapse)AuthorAgeFilesLines
* Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-103-6/+12
| | | | | | | Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
* [Linux/Windows] Set pressure to 1.0f when primary button is pressed and ↵bruvzg2020-05-032-2/+10
| | | | device is not pressure sensitive.
* Merge pull request #37756 from madmiraal/fix-x11-pressure-tiltRémi Verschelde2020-05-032-34/+55
|\ | | | | Fix X11 pressure and tilt values.
| * Fix X11 pressure and tilt values.Marcel Admiraal2020-04-102-34/+55
| |
* | Merge pull request #37802 from ThakeeNathees/window-position-bug-osx-x11Rémi Verschelde2020-04-291-2/+4
|\ \ | | | | | | display server window position bug fix
| * | display server window position bug fix (#37323)Thakee Nathees2020-04-111-2/+4
| | |
* | | Rename InputFilter back to InputRémi Verschelde2020-04-286-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
* | | Update to bullet master (2.90)PouleyKetchoupp2020-04-271-3/+5
| | |
* | | Fixes leaks in ResourceCache, Vulkan and X11qarmin2020-04-151-1/+4
| |/ |/|
* | Fix loss of precision in X11 device info.Marcel Admiraal2020-04-101-4/+4
|/
* Replace NULL with nullptrlupoDharkael2020-04-027-70/+70
|
* Merge pull request #37504 from qarmin/out_of_bound_cursorRémi Verschelde2020-04-021-8/+9
|\ | | | | Fix array out of bounds access caused by uninitialised variables
| * Fix out of bound array access caused by unassigned variableRafał Mikrut2020-04-011-8/+9
| |
* | Fix Clang warnings on WindowsRémi Verschelde2020-04-011-1/+0
| | | | | | | | Fixes #37490.
* | SCons: Format buildsystem files with psf/blackRémi Verschelde2020-03-303-192/+200
|/ | | | | | | | | | | | | | | | | | | | | Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
* Renaming of servers for coherency.Juan Linietsky2020-03-273-7/+7
| | | | | | | | | | VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
* Add macOS DisplayServer implementation.bruvzg2020-03-262-0/+19
| | | | Change global menu to use Callable, add support for check items and submenus.
* Fixes to X11, still pretty brokenJuan Linietsky2020-03-262-27/+111
|
* Multiple changes to DisplayServerX11Mateo Kuruk Miccino2020-03-262-43/+131
| | | | | | | | | | | | | | | | - Travis: Change x11 to linuxbsd - SCons: Change x11 plataform to linuxbsd - Plugins: Remove ; to avoid fallthrough warning - DisplayServerX11: Implement set_icon - DisplayServerX11: Fix X11 bug when a window was erased from windows map, all the changes from that erased windows are sending to the main window - DisplayServerX11: Reorder create_window commands - DisplayServerX11: Change every Size2 to Size2i and Rect2 to Rect2i where it belongs + More X11 fixes which have been integrated directly back into reduz's original commits while rebasing the branch.
* Implemented drag and drop across windows, both OS and embedded.Juan Linietsky2020-03-262-1/+28
|
* Popups have also been converted to windowsJuan Linietsky2020-03-262-4/+10
| | | | Controls using the old modal API have been replaced to use popups.
* Fixes to window style flagsJuan Linietsky2020-03-262-4/+4
|
* Open sub-windows as embedded if the OS does not support themJuan Linietsky2020-03-262-8/+8
|
* Make DisplayServerX11 thread safeJuan Linietsky2020-03-262-3/+127
|
* Working multiple window support, including editorJuan Linietsky2020-03-262-16/+50
|
* Support for transient windowsJuan Linietsky2020-03-262-0/+48
|
* Refactored input, goes all via windows now.Juan Linietsky2020-03-266-43/+131
| | | | Also renamed Input to InputFilter because all it does is filter events.
* Added a Window node, and made it the scene root.Juan Linietsky2020-03-264-14/+30
| | | | Still a lot of work to do.
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-2626-0/+8473