summaryrefslogtreecommitdiff
path: root/platform/linuxbsd
AgeCommit message (Collapse)Author
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-15Add an `OS.get_processor_name()` methodHugo Locurcio
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.
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-10Fix typos with codespellRémi Verschelde
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.
2022-02-09Core: Move generated `VERSION_HASH` to a `.cpp` fileRémi Verschelde
This lets us have its definition in `core/version.h` and avoid rebuilding a handful of files every time the commit hash changes.
2022-02-08Merge pull request #57612 from maiself/improve-gamepad-detectionRémi Verschelde
2022-02-08[X11] Fix decoration reset when returning from fullscreen mode.bruvzg
2022-02-06Snap refresh rate to hundreths place on X11jordi
2022-02-04Merge pull request #57341 from bruvzg/win_multiwin_fsRémi Verschelde
2022-02-04Merge pull request #57617 from bruvzg/char_cleanupRémi Verschelde
2022-02-04Merge pull request #57335 from jordigcs/display-refresh-rateRémi Verschelde
2022-02-04[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to ↵bruvzg
allow multi-window interface in full-screen. [Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-03Improve detection of gamepads on LinuxMai Lavelle
Some devices (Nintendo Switch Right Joy-Con) report only a right stick.
2022-02-03Add screen_get_refresh_rate to DisplayServerjordi
2022-02-01Merge pull request #57497 from Geometror/fix-mouse-modeRémi Verschelde
2022-02-01Fix captured mouse modeHendrik Brucker
2022-01-31Merge pull request #56548 from madmiraal/fix-53894Rémi Verschelde
2022-01-29simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke
2022-01-27Merge pull request #56785 from bruvzg/nat_handles_4Rémi Verschelde
2022-01-25Fix memory leak when move to trash fails on LinuxHaoyu Qiu
2022-01-24Merge pull request #56754 from madmiraal/fix-45592Rémi Verschelde
2022-01-20Rename or refactor macros to avoid leading underscoresOmar Polo
These are not used consistently and some can conflict with system-specific defines. While here, also delete some unused macros.
2022-01-18Window management improvements.bruvzg
[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`).
2022-01-14Fix Actions mapped to triggers not using the full rangeMarcel Admiraal
2022-01-14Add support for getting native display, window, and view handles.bruvzg
2022-01-13Fix various typosluz paz
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`
2022-01-13Use mouse event relative motion to calculate mouse velocityMarcel Admiraal
2022-01-12Merge pull request #56492 from akien-mga/remove-author-docstringsRémi Verschelde
2022-01-11New OpenGL batching canvas rendererclayjohn
2022-01-11Merge pull request #56322 from madmiraal/fix-42450Rémi Verschelde
2022-01-06Fix multiple missing UTF-8 decoding.bruvzg
2022-01-06Set window to focused when createdMarcel Admiraal
2022-01-04Style: Remove inconsistently used `@author` docstringsRémi Verschelde
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.
2022-01-03Merge pull request #56438 from madmiraal/fix-56428Rémi Verschelde
Fix tablet tilt values returning bad values
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-02Fix tablet tilt values returning bad valuesMarcel Admiraal
2021-12-29Rename speed to velocity when it's a directional VectorMarcel Admiraal
2021-12-20Merge pull request #56039 from Rubonnek/update-detect-prime-formatting-masterRémi Verschelde
2021-12-18Fix initialising of gl_manager and checking gl_manager and context_vulkan ↵Bastiaan Olij
preventing crash issues.
2021-12-17Sync detect_prime_x11.cpp formatting changes from 3.x branchWilson E. Alvarez
2021-12-10Misc build system fixesAaron Franke
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-11String: Remove `erase` method, bindings can't mutate StringRémi Verschelde
2021-11-09Merge pull request #54315 from nekomatata/x11-key-events-logRémi Verschelde
2021-11-04Fix BadWindow X11 errors when a window is closed while processing strutsPouleyKetchoupp
A window can be closed on the server side while processing results from _NET_CLIENT_LIST, which causes BadWindow fatal errors by default in XGetWindowProperty. The only way to safely catch this case is to set an error handler to ignore BadWindow errors while these commands are processed.
2021-11-01Add support for PowerPC familyDaniel Kolesa
2021-11-01Merge pull request #41565 from nekomatata/x11-usable-screen-sizeRémi Verschelde