Vladislav Belov
cedd5e89a0
Uses make_unique_for_overwrite in LinearAllocator
...
We don't need to initialize that memory. libcxx currently doesn't support
that. Also fixed wrong initialization order in the constructor.
2026-10-30 21:27:33 +01:00
Vladislav Belov
ddc07f92b9
Replaces legacy ProxyAllocator by AllocatorAdapter
2026-10-22 23:22:33 +02:00
Vladislav Belov
38dff62cff
Adds AllocatorAdapter written against C++20
2026-10-22 23:22:30 +02:00
Ceres
cf92509985
Add simRate determinism regression test
2026-10-22 16:13:00 +02:00
Ceres
f63fb1578a
Remove game startup diagnostic
2026-10-22 16:13:00 +02:00
Ceres
910e6de7d7
Allow headless game updates without a view
2026-10-22 16:13:00 +02:00
Ralph Sennhauser
830c97c521
Use XMPP Roster for BuddyList
...
This allows the same user to keep the buddy list across clients and
config resets. At the same time this allows for per lobby buddy lists
which is needed as the same nickname may refer to different people.
Use lower case comparison for buddy names. This is in line with the idea
of local part of jid should be seen as normalized nick and is used
server-side to compare user names.
The migration is kept simple. I.e. only attempted if the roster is
empty and the config indicates no migration was done before.
Fixes : #6824
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2026-10-19 20:31:27 +02:00
Vladislav Belov
a8d31f4353
Increases HW report version
2026-10-17 15:53:09 +02:00
Vladislav Belov
24d9658f44
Replaces x86-64 only cpu features by SDL calls
2026-10-17 15:53:07 +02:00
Vladislav Belov
3f557c7833
Removes os_cpu_NumProcessors from HW reports
...
The number of possible threads is already reported by SDL and STL.
2026-10-17 15:53:05 +02:00
Vladislav Belov
a5b5a57b9c
Removes CPU frequency from HW reports
...
It wasn't represeting maximumum or average CPU frequency. Just a
frequency calculated at the time of HW report. Also it was
working only for Windows and x86-64.
2026-10-17 15:53:03 +02:00
Vladislav Belov
f9d4333e4c
Removes custom memory counters from HW report
...
We already count memory reported by SDL.
2026-10-17 15:53:01 +02:00
Vladislav Belov
3d93cf7b4c
Removes NUMA from HW reports
...
NUMA is needed for multiprocessors systems like server ones. We don't
target such platform. OS shouldn't handle that for us.
Also we had NUMA support only for Windows.
2026-10-17 15:52:59 +02:00
Ralph Sennhauser
67fdc35ee6
Fix building with --without-lobby
...
Ifdef what is needed to let the game compile and link without gloox.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2026-10-07 13:16:50 +02:00
phosit
369a7e7e5d
Use fmt::format for LOGERROR
...
The format string can be checked at compile time. It will be easier to
transition to `std::format`.
2026-10-05 20:29:26 +02:00
phosit
ba158aa3ff
Use fmt::format for LOGWARNING
...
The format string can be checked at compile time. It will be easier to
transition to `std::format`.
2026-10-05 20:29:25 +02:00
phosit
d686708c92
Use fmt::format for LOGMESSAGERENDER
...
The format string can be checked at compile time. It will be easier to
transition to `std::format`.
2026-10-05 20:29:25 +02:00
phosit
43cb3100b6
Use fmt::format for LOGMESSAGE
...
The format string can be checked at compile time. It will be easier to
transition to `std::format`.
2026-10-05 20:29:25 +02:00
phosit
7b188fb71c
Remove lib/types.h
...
This file is now almost empty.
It was included in some files which didn't required it.
2026-09-21 18:12:08 +02:00
phosit
281e8cd862
Remove uint
...
It's better to use the native types.
2026-09-21 18:11:47 +02:00
phosit
ae7801c9c7
Remove u64
...
It's better to use types from the standard library.
2026-09-21 18:11:38 +02:00
phosit
6a0c8c1a5a
Remove u32
...
It's better to use types from the standard library.
2026-09-21 18:11:31 +02:00
phosit
500606e587
Remove u16
...
It's better to use types from the standard library.
2026-09-21 18:11:22 +02:00
phosit
00ee825374
Remove u8
...
It's better to use types from the standard library.
2026-09-21 18:11:14 +02:00
Vladislav Belov
9dec9c1d53
Removes SMBIOS
...
It was implemented on Windows only. It doesn't really contain a useful
for us information which can not be obtained by diagnostic tools like
dxdiag when needed.
2026-09-21 01:10:35 +02:00
Vladislav Belov
0650721b19
Replaces round to closest power of two by std ones
2026-09-21 00:47:13 +02:00
phosit
a56456495c
Remove debug_printf filtering
...
The filter was rarely used. The implementation was overly complex and
might have filtered out strings that should have been printed.
Tags like "FILES|" have been removed.
For the loader a macro `LOADER_LOG` has been introduced.
2026-09-19 08:52:27 +02:00
Vladislav Belov
58e2c59466
Adds Load with unique_ptr to VFS
...
Also replaces some usages of Load with shared_ptr by unique_ptr.
2026-09-10 16:39:29 +02:00
Vladislav Belov
aecd2b4245
Uses span for vfs instead of passing shared_ptr
2026-09-10 16:39:24 +02:00
Vladislav Belov
4ae50fd4a4
Reduces memory peak during window resize
2026-09-10 15:38:55 +02:00
phosit
7bcee2ea0e
Remove XERO_ITER_EL
2026-09-08 10:32:51 +02:00
phosit
f8ea2c0d49
Remove XERO_ITER_ATTR
2026-09-08 10:32:51 +02:00
Vladislav Belov
551071c5a4
Replaces shared_ptr by span for LoadFile and Store
2026-09-05 12:33:46 +02:00
phosit
d37db2ba07
Remove CStr::ReverseFind
...
It was only used once. In this case a normal `std::string::find` can be
used.
2026-08-28 09:50:01 +02:00
phosit
89c7aa47ce
Remove CStr functions related to std::u16string
...
It wasn't used. The conversion to `std::u16string` wasn't even defined.
2026-08-28 09:50:01 +02:00
phosit
73d043fde5
Remove CStr::Pad
...
It was only used once. It can be replaced by fmt.
2026-08-28 09:50:01 +02:00
phosit
058cdf78d9
Remove CStr::Right
...
It was only a wrapper around `std::string::substr`. The interface
matches the usecase more. In some places it's better to use
`std::string::ends_with`.
2026-08-24 14:05:00 +02:00
phosit
60824e77b9
Remove CStr::Left
...
It was only a wrapper around `std::string::substr`. In some places it's
better to use `std::string::starts_with`.
2026-08-24 13:34:37 +02:00
phosit
d8bb617962
Remove CStr::Find(int, char)
...
It was only a wrapper around `std::string::find`. It is unused.
2026-08-23 17:47:02 +02:00
phosit
5071b27bb1
Remove CStr::Find(char)
...
It was only a wrapper around `std::string::find`. It is only used once.
2026-08-23 17:47:02 +02:00
phosit
982ede2a55
Remove CStr::Find(CStr)
...
It was only a wrapper around `std::string::find`. In some places it's
now better to use `std::string::starts_with`.
2026-08-23 17:46:52 +02:00
phosit
45ea0432a2
Remove CStr::FromDouble
...
In most places `fmt::format` is used because it's locale indidendant.
For the user reporter the locale dependant form of `fmt::format` is used
because it's shown to the user.
2026-08-23 12:01:33 +02:00
phosit
d6bdf51d83
Remove CStr::FromInt64$
...
For the usecase it's better to use `fmt::format`.
2026-08-06 18:03:05 +02:00
phosit
ae936e8177
Remove CStr::FromUInt
...
There is `std::to_string` which does the same. For most uses it's better
to use `fmt::format`.
2026-08-06 18:03:05 +02:00
phosit
06e199b12a
Remove CStr::FromInt
...
There is `std::to_string` which does the same. For most uses it's better
to use `fmt::format`.
2026-08-06 18:03:05 +02:00
phosit
e712601602
PreInitGame and InitGame in the Loader
...
This makes the frame before the simulation starts less stuttery. Doing
it in the Loader also allows to make the progressbar more acurate.
2026-08-02 14:03:28 +02:00
phosit
c7953026dd
Use switchPage in autostart
...
Autostart used `OpenChildPage` to open the loading page. Because it's
started as child page the program doesn't end when closing it.
2026-07-30 12:36:51 +02:00
phosit
4122f0bfb3
Use atomic instead of COMPILER_FENCE for Profiler2
2026-07-24 17:22:44 +02:00
Vantha
6456bccebe
Replace old GetState and SetState calls
...
966727b52e made the player state an enum and introduced more descriptive
functions to achieve the same thing, but it seems they were forgotten to
be replaced in a few places, which this patch fixes.
2026-07-22 23:51:49 +02:00
Ralph Sennhauser
6244d25f90
Don't generate SDL events on Atlas shutdown
...
WX may still generate mouse events after calling CVideoMode::Shutdown(),
so don't create SDL events triggering assertions.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2026-07-19 08:59:06 +02:00