bucket
9e674ece11
fix shortened ipv6 parsing
2026-04-21 15:18:46 +02:00
Thaddeus Crews
925fbbc5c4
Style: Migrate root images to misc/logo/
2026-04-19 14:11:51 -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
d9b81615e5
Remove unused includes in platform with clangd-tidy
...
Handled Linux, Windows, Android, and (partially) Web.
2026-03-14 22:37:05 +01:00
Rémi Verschelde
e015e8bde4
Remove unused includes in core with clangd-tidy
2026-03-11 06:41:36 +01:00
StarryWorm
357fa00a4a
rm class_db.h from resource.h
2026-02-27 19:08:29 -05:00
Thaddeus Crews
abdde1b69d
Core: Remove class_db.h include from ref_counted.h
2026-02-26 18:14:23 -06:00
Thaddeus Crews
a7b74be08c
Tests: Tidy up compiled tests
2026-02-19 19:31:09 -06:00
Thaddeus Crews
dde6e84bc3
Tests: Compiled test conversion follow-up
2026-02-19 10:19:03 -06:00
Thaddeus Crews
5482b9e89e
Tests: Convert test headers to compilation files
...
• Excludes module tests, as they'd be a more involved process
2026-02-19 07:36:26 -06:00
Thaddeus Crews
833889aec0
Merge pull request #115710 from syntaxerror247/fix-seek
...
Fix `FileAccess.seek_end` behavior on Android
2026-02-09 15:07:07 -06:00
Anish Kumar
0c89904687
Fix FileAccess.seek_end behavior on Android
2026-02-08 00:16:34 +05:30
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
Thaddeus Crews
105ec00722
Merge pull request #108830 from bruvzg/pck_buf
...
[PCKPacker] Add method to add files from buffer.
2026-01-26 15:01:43 -06:00
Fabio Alessandrelli
65ce1360b4
network: Normalize IP parsing, fix IPv6, tests
2026-01-13 18:55:55 +01:00
Thaddeus Crews
ef0dd99a37
CI: Bump clang-format and clang-tidy versions
...
• clang-format: 20.1.0 → 21.1.7
• clang-tidy: 20.1.0 → 21.1.6
• `.clang-format`: 17.0.6 → 18.1.8 (keep 3 versions behind latest for compatibility)
2025-12-13 09:55:14 -06:00
metamuffin
6145b0ca29
Add Image.load_exr_from_buffer and enable tinyexr by default
2025-11-21 18:58:26 +01:00
Aaron Franke
cc13a376c5
Handle NaN and Infinity in JSON stringify function
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com >
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com >
2025-10-29 12:06:40 -07:00
Thaddeus Crews
881058009f
Merge pull request #111522 from Repiteo/core/to-from-native
...
Core: Support `INF`/`NAN` in JSON from/to native
2025-10-29 13:13:48 -05:00
Edward Moulsdale
b694fe661f
Add unit tests for StreamPeerTCP
2025-10-23 19:57:19 +01:00
Thaddeus Crews
b802229423
Core: Support INF/NAN in JSON from/to native
2025-10-13 13:57:55 -05:00
Clay John
8b06cdf277
Revert "Handle NaN and Infinity in JSON stringify function"
2025-10-10 18:22:24 -07:00
Thaddeus Crews
21e5b41642
Merge pull request #108837 from aaronfranke/json-handle-nan-inf
...
Handle NaN and Infinity in JSON stringify function
2025-10-10 10:25:55 -05:00
Michael Alexsander
fdaf00af0e
Fix compilation failure in resource test file
2025-10-07 10:45:00 -03:00
Thaddeus Crews
6b22951162
Merge pull request #107954 from stuartcarnie/unix_domain_socket_support
...
Add Core UNIX domain socket support
2025-09-30 18:35:08 -05:00
Thaddeus Crews
e256771e86
Merge pull request #108836 from aaronfranke/json-grisu
...
Use num_scientific (Grisu2) when stringifying JSON with full precision
2025-09-30 11:19:12 -05:00
Thaddeus Crews
f6fc2f4a08
Core: Remove skip_cr argument from String
2025-09-28 10:07:24 -05: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
Aaron Franke
a238af4d20
Use num_scientific (Grisu2) when stringifying JSON with full precision
2025-09-24 08:21:37 -07:00
BlueCube3310
666ed1b51c
Image: Make fill method also fill the mipmaps
2025-09-23 14:55:04 +02:00
Aaron Franke
e90cea9250
Handle NaN and Infinity in JSON stringify function
2025-08-24 10:09:43 -07:00
Pāvels Nadtočajevs
3b119ba465
[PCKPacker] Add method to add files from buffer.
2025-07-21 19:51:19 +03:00
Aaron Franke
b626695f70
Fix internal JSON stringify not preserving p_full_precision
2025-07-21 08:36:29 -07:00
kit
477a37a594
Fix Resource Duplication test errors
2025-06-15 12:48:03 -04:00
Thaddeus Crews
0f67c3e992
Merge pull request #104522 from Ivorforce/localvector-force-trivial-resize
...
Core: Add `resize_initialized` and `resize_uninitialized` to `Vector` and `LocalVector`
2025-05-27 09:39:27 -05:00
Lukas Tenbrink
4cb8a0c77e
Add resize_initialized and resize_uninitialized to Vector. These functions serve as replacements for resize, to make sure the caller understands whether elements need to be initialized 'by hand' after the call.
2025-05-26 18:35:41 +02:00
Pedro J. Estébanez
6841b45552
Add tests for resource duplication
2025-05-26 17:05:04 +02:00
aaronp64
f13b4b760a
Improve JSON::stringify performance
...
- Changed stringify to call static function _stringify directly, instead of creating JSON object
- Changed colon and end_statement from String to const char * to avoid extra allocations in each _stringify call
- Pass result String reference to each _stringify call to append to instead of allocating new String in each call
These changes make JSON::stringify around 2-3x faster in most cases
2025-05-06 18:27:32 -04:00
Daniel Kinsman
a0cc41b5ed
Use libjpeg-turbo for improved jpg compatibility and speed
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-05-02 11:47:56 +02:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Lukas Tenbrink
68f4502a5b
Fix FileAccessCompressed claiming one byte more than it actually has.
...
Add a unit test for fastlz compressed file access.
2025-04-08 15:19:58 +02:00
kobewi
75881f8322
Use initializer list in Arrays
2025-03-26 18:38:15 +01:00
Pablo Andres Fuente
e2bef7041e
Fix StreamPeerGZIP::finish() internal buffer size usage
...
Fixes #97201
Instead of using and arbitrary fixed size for the internal buffer,
the remaining available bytes of the internal `RingBuffer` is used.
Also add unit tests for `StreamPeerGZIP`.
2025-03-19 09:56:32 +01:00
A Thousand Ships
466590d0ec
Use get_slicec instead of get_slice for single character splitters
2025-03-08 20:36:37 +01:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
Pablo Andres Fuente
d1338528f9
Fix file loggin log rotation
...
Fixes #97066
`RBSet` were used on `RotatedFileLogger` because it guarantees that
iterating it is done via `operator<`. This is important because
`RotatedFileLogger` depends on this behavior to delete the oldest log file.
On #61194 `HashSet` was added and all `RBSet` uses were replaced by
`HashSet`.
When that happened, the iteration in order is guaranteed to be the insertion
order, wich made that `RotatedFileLogger` delete the newest log file.
As a bonus, I added unit test for `RotatedFileLogger` and `CompositeLogger`.
2025-02-10 21:57:07 +01:00
Thaddeus Crews
f0f5319b0b
Merge pull request #100107 from Faless/fix/net_tests
...
[Net] Fix TCP/UDP server network tests
2025-02-05 18:50:44 -06:00
Rémi Verschelde
35080c6df3
Merge pull request #100970 from anknetau/ank/godot-add-test-cases-for-uid-strings
...
Add some tests for `uid://` encoding and decoding
2025-01-10 23:05:59 +01:00
Andres Kievsky
2b5dd99d72
Add some tests for uid:// encoding and decoding
2025-01-10 23:41:12 +11:00
Yufeng Ying
34d8255947
Force build editor with regex module, remove checking code.
...
Fix include.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-01-07 19:43:23 +08:00