summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
Commit message (Collapse)AuthorAgeFilesLines
* [Export] Add "export console script" option for Linux, macOS, and Windows ↵bruvzg2022-03-143-5/+123
| | | | exports.
* Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-111-2/+1
| | | | | | | | `DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* Merge pull request #58335 from maiself/fix-directory-delete-linuxRémi Verschelde2022-03-101-19/+20
|\
| * Fix deleting of directories on LinuxMai Lavelle2022-02-201-19/+20
| | | | | | | | | | Trailing slash of directories was mishandled, and incorrect derived paths were formed. Stripping the slash fixes this.
* | Remove unused Bullet module and thirdparty codeRémi Verschelde2022-03-091-21/+0
| | | | | | | | | | | | | | It has been disabled in `master` since one year (#45852) and our plan is for Bullet, and possibly other thirdparty physics engines, to be implemented via GDExtension so that they can be selected by the users who need them.
* | Add missing header for headless buildsMmAaXx5002022-03-091-0/+1
| |
* | [X11] Do not try to focus unmapped window.bruvzg2022-03-081-2/+6
| |
* | Fix X11 memory leak after drag & drop file into the editorHaoyu Qiu2022-03-041-12/+19
| |
* | Improve popup window handling.bruvzg2022-02-252-25/+178
|/ | | | Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-164-5/+6
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* Add an `OS.get_processor_name()` methodHugo Locurcio2022-02-152-0/+15
| | | | | | | | This method can be used to get the CPU model name. It can be used in conjunction with `RenderingServer.get_video_adapter_name()` and `RenderingServer.get_video_adapter_vendor()` for annotating benchmarks and automatic graphics quality configuration.
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-2/+0
|
* Fix typos with codespellRémi Verschelde2022-02-101-4/+4
| | | | | | | Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists.
* Core: Move generated `VERSION_HASH` to a `.cpp` fileRémi Verschelde2022-02-091-4/+3
| | | | | This lets us have its definition in `core/version.h` and avoid rebuilding a handful of files every time the commit hash changes.
* Merge pull request #57612 from maiself/improve-gamepad-detectionRémi Verschelde2022-02-081-2/+3
|\
| * Improve detection of gamepads on LinuxMai Lavelle2022-02-031-2/+3
| | | | | | | | Some devices (Nintendo Switch Right Joy-Con) report only a right stick.
* | [X11] Fix decoration reset when returning from fullscreen mode.bruvzg2022-02-081-1/+1
| |
* | Snap refresh rate to hundreths place on X11jordi2022-02-061-1/+3
| |
* | Merge pull request #57341 from bruvzg/win_multiwin_fsRémi Verschelde2022-02-041-0/+2
|\ \
| * | [Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to ↵bruvzg2022-02-041-0/+2
| |/ | | | | | | | | | | allow multi-window interface in full-screen. [Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
* | Merge pull request #57617 from bruvzg/char_cleanupRémi Verschelde2022-02-041-1/+1
|\ \
| * | Cleanup and move char functions to the `char_utils.h` header.bruvzg2022-02-041-1/+1
| |/
* | Merge pull request #57335 from jordigcs/display-refresh-rateRémi Verschelde2022-02-042-0/+61
|\ \ | |/ |/|
| * Add screen_get_refresh_rate to DisplayServerjordi2022-02-032-0/+61
| |
* | Merge pull request #57497 from Geometror/fix-mouse-modeRémi Verschelde2022-02-012-12/+15
|\ \
| * | Fix captured mouse modeHendrik Brucker2022-02-012-12/+15
| | |
* | | Merge pull request #56548 from madmiraal/fix-53894Rémi Verschelde2022-01-311-1/+1
|\ \ \ | |/ / |/| |
| * | Set window to focused when createdMarcel Admiraal2022-01-061-1/+1
| | |
* | | simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke2022-01-292-17/+30
| | |
* | | Merge pull request #56785 from bruvzg/nat_handles_4Rémi Verschelde2022-01-272-0/+20
|\ \ \ | |_|/ |/| |
| * | Add support for getting native display, window, and view handles.bruvzg2022-01-142-0/+20
| | |
* | | Fix memory leak when move to trash fails on LinuxHaoyu Qiu2022-01-251-5/+3
| | |
* | | Merge pull request #56754 from madmiraal/fix-45592Rémi Verschelde2022-01-241-1/+0
|\ \ \
| * | | Use mouse event relative motion to calculate mouse velocityMarcel Admiraal2022-01-131-1/+0
| | | |
* | | | Rename or refactor macros to avoid leading underscoresOmar Polo2022-01-201-1/+0
| | | | | | | | | | | | | | | | | | | | These are not used consistently and some can conflict with system-specific defines. While here, also delete some unused macros.
* | | | Window management improvements.bruvzg2022-01-182-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [macOS] Fix transient windows not working in the full-screen mode. [macOS] Fix moving transient windows to the other screen than parent window. [macOS] Fix popup menu switch on hover. [macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events). [macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected. [macOS/Windows] Fix moving fullscreen windows between the screens. Add auto refocusing of the parent window, when the focused transient window is closed. Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
* | | | Fix Actions mapped to triggers not using the full rangeMarcel Admiraal2022-01-142-23/+7
| |/ / |/| |
* | | Fix various typosluz paz2022-01-131-1/+1
|/ / | | | | Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
* | Merge pull request #56492 from akien-mga/remove-author-docstringsRémi Verschelde2022-01-121-2/+2
|\ \
| * | Style: Remove inconsistently used `@author` docstringsRémi Verschelde2022-01-041-2/+2
| |/ | | | | | | | | | | | | | | | | | | Each file in Godot has had multiple contributors who co-authored it over the years, and the information of who was the original person to create that file is not very relevant, especially when used so inconsistently. `git blame` is a much better way to know who initially authored or later modified a given chunk of code, and most IDEs now have good integration to show this information.
* | New OpenGL batching canvas rendererclayjohn2022-01-112-4/+0
| |
* | Merge pull request #56322 from madmiraal/fix-42450Rémi Verschelde2022-01-111-2/+2
|\ \
| * | Rename speed to velocity when it's a directional VectorMarcel Admiraal2021-12-291-2/+2
| | |
* | | Fix multiple missing UTF-8 decoding.bruvzg2022-01-061-2/+2
| |/ |/|
* | Merge pull request #56438 from madmiraal/fix-56428Rémi Verschelde2022-01-031-7/+11
|\ \ | | | | | | Fix tablet tilt values returning bad values
| * | Fix tablet tilt values returning bad valuesMarcel Admiraal2022-01-021-7/+11
| |/
* / Update copyright statements to 2022Rémi Verschelde2022-01-0322-44/+44
|/ | | | Happy new year to the wonderful Godot community!
* Merge pull request #56039 from Rubonnek/update-detect-prime-formatting-masterRémi Verschelde2021-12-201-4/+7
|\
| * Sync detect_prime_x11.cpp formatting changes from 3.x branchWilson E. Alvarez2021-12-171-4/+7
| |
* | Fix initialising of gl_manager and checking gl_manager and context_vulkan ↵Bastiaan Olij2021-12-181-12/+12
|/ | | | preventing crash issues.