Commit Graph

625 Commits

Author SHA1 Message Date
NoctemCat 55df36126f Add missing includes for web single thread 2026-04-20 19:00:14 +09:00
TsFreddie 6c1306773c remove ERR_PRINT usage in forks 2026-04-12 18:13:32 +08:00
Thaddeus Crews cec809c09e Merge pull request #115437 from bruvzg/macos_sigh
Define `sighandler_t` only if `_GNU_SOURCE` is not defined.
2026-03-30 13:35:43 -05:00
Thaddeus Crews fb4a304dee Merge pull request #111965 from Ivorforce/memnew-typed
Make `memnew(RefCounted)` return `Ref`, to improve ownership safety
2026-03-19 15:39:15 -05:00
Thaddeus Crews 013fc6f92a Merge pull request #114102 from AR-DEV-1/13823-imp
Add tilde symbol (~) to the FileDialog
2026-03-19 10:20:04 -05:00
Lukas Tenbrink 05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
Rémi Verschelde 98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +01:00
Rémi Verschelde 0d7bd115da Remove unused includes in drivers with clangd-tidy 2026-03-14 22:38:02 +01:00
Pāvels Nadtočajevs 11dd17db17 Improve OS.is_process_running error messages. 2026-03-12 11:56:12 +02:00
Rémi Verschelde 727b06a79f Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Rémi Verschelde f0a448540e Misc dependency improvements for files depending on rendering_server.h
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 3s.
2026-02-25 20:17:27 +01:00
Thaddeus Crews 15558cb886 Merge pull request #108111 from Repiteo/core/sanitizer-restructure
Core: Restructure sanitizers
2026-02-18 12:04:30 -06:00
Johan Aires Rastén 2acdfdbbbc Print file path when failing to load dynamic library 2026-02-10 13:34:26 +01:00
Lukas Tenbrink c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
AR 92fe77d26a Logic for expansion of Tilde symbol
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2026-01-29 06:46:50 +05:00
Thaddeus Crews beda8dd027 Core: Restructure sanitizers 2026-01-28 09:13:16 -06:00
Pāvels Nadtočajevs 25e8c308e6 Define sighandler_t only is _GNU_SOURCE is not defined. 2026-01-27 12:22:54 +02:00
Rémi Verschelde 624d77d67a Merge pull request #109112 from bruvzg/mem_stat
[iOS/macOS] Improve `OS.get_memory_info`
2025-12-18 23:29:29 +01:00
Pāvels Nadtočajevs 6c6c184c32 [Unix] Remove leading .. from absolute paths and apply simplify_path to Unix current directory path. 2025-12-04 20:15:26 +02:00
Thaddeus Crews 158f13aebf Merge pull request #102232 from bruvzg/xattr
[FileAccess] Implement support for reading and writing extended file attributes/alternate data streams.
2025-11-25 09:52:37 -06:00
Thaddeus Crews 0da802cdd7 Merge pull request #111114 from bruvzg/sigpipe_ign
Suppress SIGPIPE when writing to a pipe.
2025-11-25 09:52:27 -06:00
Pāvels Nadtočajevs d454e1a1e0 [FileAccess] Implement support for reading and writing extended file attributes/alternate data streams. 2025-11-24 11:18:25 +02:00
Pāvels Nadtočajevs a7358ddd12 Add error message when trying to load project from CWD. 2025-11-20 23:19:09 +02:00
Thaddeus Crews 8cb0cc8a1f Merge pull request #110943 from GlitchedCode922/fix_backup_permissions
Fix permission handling for write backup files (`FileAccessUnix`)
2025-11-18 14:00:41 -06:00
Pāvels Nadtočajevs f7263b9517 [Android] Add export option to use "scrcpy" to run project from editor. 2025-10-14 15:12:48 +03:00
Rémi Verschelde 1043c3fd64 Merge pull request #111300 from stuartcarnie/net_unix_error_spam
Unix: Don't print an error if `bind` fails
2025-10-06 14:08:16 +02:00
Rémi Verschelde 6f0f5a9bd0 Merge pull request #111058 from timothyqiu/wnohang
Unix: Fix retrieval of PID exit code
2025-10-06 14:08:03 +02:00
Stuart Carnie 47d757d3dc Unix: Don't print an error if bind fails 2025-10-06 06:12:13 +11:00
Pāvels Nadtočajevs 3245230a40 Suppress SIGPIPE when writing to a pipe. 2025-10-01 13:39:29 +03:00
Aaron Franke 3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Haoyu Qiu d5738b5cdd Unix: Fix retrieval of PID exit code 2025-09-30 12:29:49 +08:00
GlitchedCode922 587c3134fb Fix permission handling for backup on write files 2025-09-27 18:49:39 +00:00
Stuart Carnie 7227fdd805 Core: Add UNIX domain socket support
> [!NOTE]
>
> Later versions of Windows has support for `AF_UNIX`, so it could be
> added.
2025-09-26 05:46:19 +10:00
Edward Moulsdale e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Thaddeus Crews ef44ec13d1 Merge pull request #109397 from bruvzg/execute_with_pipe_dsc_fix
[Unix] Fix `execute_with_pipe` closing wrong pipe handle.
2025-08-19 10:29:44 -05:00
Pāvels Nadtočajevs 9d13037653 [Unix] Fix execute_with_pipe closing wrong pipe handle. 2025-08-07 19:04:01 +03:00
Pāvels Nadtočajevs 8b4e34cda5 [Unix] Replace symlink target, not the link itself when using backup save mode. 2025-08-07 11:14:18 +03:00
Pāvels Nadtočajevs e904e17af7 [iOS/macOS] Improve OS.get_memory_info 2025-07-30 09:43:08 +03:00
Pāvels Nadtočajevs 80b39cd1bd [Linux] Fix narrowing conversion error in 32-bit builds. 2025-07-16 09:34:38 +03:00
Danil Alexeev 24494d840e Core: Unify display of error type prefixes 2025-06-09 20:18:51 +03:00
Pāvels Nadtočajevs d609cf62a0 Implement get_filesystem_type on macOS and Linux. 2025-05-23 23:05:06 +03:00
Pāvels Nadtočajevs 1501f447bf Fix execute_with_pipe / create_process exit code. 2025-05-22 08:56:37 +03:00
Stuart Carnie f658161619 macOS: Embedded window can be dismissed by clicking close
- Installed a SIGINT handler to terminate the application gracefully.
- Handle varying display scaling
2025-05-12 07:09:42 +10:00
Mikael Hermansson 31b90246e7 Fix empty lines being added for errors with no script backtrace 2025-05-05 13:27:21 +02:00
Thaddeus Crews 01fc9aee6c Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
Thaddeus Crews 5b9443ac93 Merge pull request #105768 from dsnopek/fix-web-dlsym-error
Web: Fix crash when built with `dlink_enabled=yes`
2025-04-25 18:25:13 -05:00
David Snopek 39ad4633a8 Web: Fix crash when built with dlink_enabled=yes 2025-04-25 15:14:25 -05:00
Thaddeus Crews 007717faf9 SCons: Remove check_c_headers
• Can instead check for headers directly with `__has_include`, a C++17 feature
2025-04-25 11:30:39 -05:00