summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
Commit message (Collapse)AuthorAgeFilesLines
* [Linux] Load dbus libraries dynamically.bruvzg2022-07-296-4/+3626
|
* [Linux] Replace fontconfig wrapper with a one generated from the older ↵bruvzg2022-07-292-259/+4
| | | | library version (2.12.6, Ubuntu 18.04 LTS).
* Load fontconfig libraries dynamically.bruvzg2022-07-276-6/+3148
|
* Fix Linux build without fontconfig.bruvzg2022-07-271-3/+3
|
* Merge pull request #62973 from bruvzg/sysfont_supportRémi Verschelde2022-07-273-0/+98
|\
| * Implement support for loading system fonts on Linux, macOS / iOS and Windows.bruvzg2022-07-263-0/+98
| |
* | Split up editor export code into multiple filesAaron Franke2022-07-262-1/+2
| |
* | Merge pull request #63096 from aaronfranke/exp-template-namesRémi Verschelde2022-07-261-1/+1
|\ \ | |/ |/|
| * Update export template names for Windows, Mac, and LinuxAaron Franke2022-07-221-1/+1
| |
* | Code quality: Fix header guards consistencyRémi Verschelde2022-07-256-9/+15
|/ | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Merge pull request #63278 from akien-mga/scons-linux-refactor-linkerRémi Verschelde2022-07-221-16/+33
|\
| * SCons: Refactor Linux linker options with `linker=<bfd|gold|lld|mold>`Rémi Verschelde2022-07-221-16/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new option is `linker` and lets the user specify the argument to the`-fuse_ld=` linker flag directly. The supported options are: - `default`: No change, typically uses GNU ld (bfd) unless the user or distro picked a different default `/usr/bin/ld`. - `bfd`: GNU ld from binutils - `gold`: GNU gold from binutils - `lld`: lld from LLVM - `mold`: mold, an extremely fast modern linker, not (yet) intended for use in production but great for development speed. Provided by distro `mold` package or needs to be compiled from source and installed to `/usr` otherwise. Removes the `use_lld=yes` option, and make lld actually usable with GCC too. Not all the above are compatible or recommend for LTO, we recommend using GNU ld with GCC LTO, or lld with LLVM ThinLTO.
* | Merge pull request #63303 from hansemro/x11-eraser-case-insensitiveRémi Verschelde2022-07-221-1/+1
|\ \ | |/ |/| [X11] Do case-insensitive search for pen inversion detection
| * [X11] Do case-insensitive search for pen inversion detectionHansem Ro2022-07-211-1/+1
| |
* | Improve `linuxbsd` headless building, cleanup build scriptsRiteo2022-07-202-53/+19
| | | | | | | | | | | | | | | | Now the `linuxbsd` platform can be built headlessly (e.g. without X11 development libraries). I also cleaned up some weird (old?) usages of the `env` variable which seem to make no difference and are used nowhere else.
* | Remove `-pipe` from `LINKFLAGS`Riteo2022-07-201-1/+0
|/ | | | For some reason this fixes the CI from going OOM.
* Improve DisplayServer.window_set_current_screenbruvzg2022-07-191-2/+2
| | | | | Prevent unnecessary fullscreen toggle animation on macOS, when screen is not changed Fix window position on Linux/X11
* Add static methods for creating Image and ImageTexturekobewi2022-07-081-6/+1
|
* Check if GL manager exist to prevent crash when using multithreaded renderer ↵bruvzg2022-07-061-2/+6
| | | | with Vulkan.
* Merge pull request #62212 from hansemro/eraser-detect-4Rémi Verschelde2022-07-042-2/+12
|\ | | | | Add inversion/eraser-end property for tablet pens
| * [macOS, Windows, X11] Add stylus inverted/eraser support toHansem Ro2022-07-042-2/+12
| | | | | | | | InputEventMouseMotion event
* | Fix exit code of --help and --version, and test them in CIJan Haller2022-07-021-0/+4
| | | | | | | | Corrects prior regression which caused ERROR output and exit code of 1.
* | Properly check for fullscreen toggle made through the Window ManagerWilson E. Alvarez2022-06-302-0/+49
|/ | | | | | Fixes #40007. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Adding function key support from F17 to F35gregcsokas2022-06-161-0/+42
| | | | | | OSX supports everything by default, Linux is also capable of supporting every function key, Windows as I know support only up to F24
* Add readable export errors.bruvzg2022-06-082-5/+17
|
* Remove mouse events that closed the popup from queue, to fix pop-up reopening.bruvzg2022-06-022-5/+12
|
* [Editor] LinuxBSD export reports Linux as OS name.Fabio Alessandrelli2022-05-241-1/+1
| | | | | | | | | This is in line with what's reported by the `OS` class on GNU/Linux, and is required by the extension exporter to identify the correct library. For BSD, we should either finish splitting the platform (into platform/bsd) or register a separate exporter with OS name BSD and proper templates detection.
* Add a new HashSet templatereduz2022-05-202-2/+2
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-164-25/+25
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Basic 3D renderingclayjohn2022-05-121-2/+2
|
* Crash handler: Use `print_error` to include backtrace in logsRémi Verschelde2022-05-051-10/+12
|
* Read and store joypad events in a separate thread on x11 platformMarcel Admiraal2022-05-052-173/+204
|
* Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-032-2/+2
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde2022-05-023-50/+20
| | | | | | | | | | | Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
* [Linux] Disable speech-dispatcher, pulse audio and udev wrapper builds, when ↵bruvzg2022-04-281-0/+3
| | | | library is not found.
* Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg2022-04-288-0/+1629
| | | | | | Windows. Implement TextServer word break method.
* Merge pull request #56093 from bruvzg/pck_section_loadRémi Verschelde2022-04-272-0/+87
|\ | | | | Improve embedded PCK loading and exporting.
| * Improve embedded PCK loading and exporting.bruvzg2022-04-202-0/+87
| | | | | | | | | | | | | | | | | | | | Windows export process: Limit size of executable with embedded PCK to 4 GB. Use "rcedit" before embedding PCK. Capture and process "rcedit" errors. Windows, Linux: Add support for PCK loading from executable "pck" section.
* | Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde2022-04-271-6/+5
|\ \
| * | Fix more issues found by cppcheck.bruvzg2022-04-201-6/+5
| |/
* | Merge pull request #60523 from akien-mga/linux-pkgconfig-nixosRémi Verschelde2022-04-271-4/+6
|\ \
| * | Linux: Use pkg-config for alsa, libudev and GL tooRémi Verschelde2022-04-261-4/+6
| |/ | | | | | | | | | | | | | | | | | | It's not needed on most distros as those are found in standard lib and include paths, but on NixOS they're all in non-standard prefixes, so we need to rely on information provided by pkg-config. Fixes #59913. Co-authored-by: David Lewis <davidalewis00@gmail.com>
* | Merge pull request #58272 from bruvzg/x11_backup_screen_infoRémi Verschelde2022-04-271-6/+19
|\ \ | |/ |/|
| * [Linux/X11] Fallback to the X server root window to get screen rects, if ↵bruvzg2022-02-181-6/+19
| | | | | | | | Xinerama is not available.
* | Fix sub-menu keyboard navigation.bruvzg2022-04-131-1/+1
| |
* | Narrow FileAccess scope to prevent deadlocks.bruvzg2022-04-121-3/+5
| |
* | Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-112-18/+12
| |
* | Fix some issues found by cppcheck.bruvzg2022-04-063-9/+8
| |
* | Merge pull request #59908 from bruvzg/fix_popup_close_raceRémi Verschelde2022-04-061-10/+23
|\ \ | | | | | | Fix a possible race condition on popup close, that might cause multiple deletions of the same list item.
| * | Fix a possible race condition on popup close, that might cause multiple ↵bruvzg2022-04-051-10/+23
| | | | | | | | | | | | deletions of the same list item.