frosch
|
61cec33be2
|
Codechange: Add 'const' to static variables, which are only initialised once.
|
2025-05-06 18:29:41 +02:00 |
|
Peter Nelson
|
2355d67e11
|
Codechange: Use EnumBitSet instead of Vector to record received content types. (#14214)
|
2025-05-05 08:55:34 +01:00 |
|
Rubidium
|
5e3c7c4146
|
Codechange: char* -> char *
|
2025-05-04 10:43:56 +02:00 |
|
Rubidium
|
96fd291693
|
Codechange: introduce GetEnv that returns optional based on std::getenv
|
2025-05-03 15:58:14 +02:00 |
|
frosch
|
9cf36dac39
|
Codechange: Use data() instead of c_str(), if no NUL termination is needed.
|
2025-04-30 19:33:56 +02:00 |
|
frosch
|
9e90d4ed79
|
Codefix: Do not assign nullptr to std::string_view.
|
2025-04-30 19:33:56 +02:00 |
|
frosch
|
afe3dfb3a4
|
Codechange: Use format instead of to_string.
|
2025-04-29 20:26:23 +02:00 |
|
Rubidium
|
af25eecc15
|
Codechange: use const for std::string_view where appropriate
|
2025-04-29 10:15:18 +02:00 |
|
Rubidium
|
9116f96e2e
|
Codechange: replace char * with std::string_view
|
2025-04-28 17:53:18 +02:00 |
|
Rubidium
|
c6ea0ce961
|
Codechange: use std::span for transferring data in network code
|
2025-04-28 17:53:18 +02:00 |
|
Rubidium
|
29ceaf0a84
|
Codechange: use std::string_view over const char *
|
2025-04-27 18:04:04 +02:00 |
|
Rubidium
|
30f381acee
|
Codechange: use std::string_view for NetworkAddress
|
2025-04-26 16:30:16 +02:00 |
|
Rubidium
|
42f0aa24f6
|
Codechange: use std::string_view for connection/URI strings
|
2025-04-26 16:30:16 +02:00 |
|
Rubidium
|
a5812a45f8
|
Codechange: use std::string view for URI and std::move for data
|
2025-04-26 16:30:16 +02:00 |
|
Rubidium
|
c13956a58a
|
Codechange: use std::string_view for connection strings
|
2025-04-20 22:43:24 +02:00 |
|
Rubidium
|
31433882a4
|
Codechange: use std::string_view for passing NetworkError strings
|
2025-04-20 22:43:24 +02:00 |
|
frosch
|
cb113cfed0
|
Codefix: Add missing header includes.
|
2025-04-20 22:06:18 +02:00 |
|
Rubidium
|
a0e4dab771
|
Codechange: use std::string_view for NetworkAddress::IsInNetmask of std::string
|
2025-04-20 13:31:41 +02:00 |
|
Peter Nelson
|
7b31f26611
|
Codechange: Pass ContentInfo by reference.
Many functions take a ContentInfo pointer, but do not check for nullptr.
Pass by reference instead to assure it is present.
|
2025-04-11 23:08:59 +01:00 |
|
Peter Nelson
|
5b9d171e63
|
Codechange: Use EnumBitSet for StringValidationSettings. (#13974)
|
2025-04-08 21:19:17 +01:00 |
|
Peter Nelson
|
6914d99778
|
Codechange: Split baseset type definitions into separate files.
|
2025-03-27 18:57:53 +00:00 |
|
Peter Nelson
|
2909a14374
|
Codechange: Include table/strings.h in files that use StringIDs.
Be consistent with how and where the file is incldued.
|
2025-03-21 12:53:40 +00:00 |
|
Peter Nelson
|
3b004c57bc
|
Codechange: Use EnumBitSet for AdminUpdateFrequency. (#13819)
|
2025-03-15 21:18:20 +00:00 |
|
Rubidium
|
754311a779
|
Codechange: use std::move when appropriate
|
2025-03-13 13:00:24 +01:00 |
|
Rubidium
|
0fde979b21
|
Codefix: check for errors in the function getting the socket error
|
2025-03-12 17:55:34 +01:00 |
|
Rubidium
|
486ad7d416
|
Codefix: check curl_easy_setopt executes properly, or show a debug message
|
2025-03-12 17:55:34 +01:00 |
|
Rubidium
|
d0ba6ed1f4
|
Codechange: explicitly initialise network pool item related member variables
|
2025-02-20 16:58:51 +01:00 |
|
Rubidium
|
b0eb8fe4db
|
Codechange: introduce ConvertibleThroughBase helpers
|
2025-02-16 14:02:18 +01:00 |
|
Peter Nelson
|
2d7d085e8e
|
Codechange: Use EncodedString for error messages. (#13569)
|
2025-02-16 10:04:32 +00:00 |
|
Jonathan G Rennison
|
d06b371254
|
Cleanup: Fix various spelling errors
|
2025-02-12 22:44:51 +01:00 |
|
Patric Stout
|
86841ba1f0
|
Codechange: no longer add "src" to the include-path (#13511)
|
2025-02-09 19:43:15 +00:00 |
|
Rubidium
|
760b8f74b7
|
Codechange: implement operator<=> and remove operators that are synthesized
|
2025-02-08 06:37:36 +01:00 |
|
Peter Nelson
|
6f52a977a8
|
Codechange: Use EnumBitSet for GRFConfigFlags.
This is renamed from `GCF_Flag` didn't match convention.
|
2025-02-02 10:49:45 +00:00 |
|
Peter Nelson
|
59354576d4
|
Codechange: Use EnumBitSet for LandscapeTypes and remove LandscapeID. (#13436)
|
2025-02-01 23:09:18 +00:00 |
|
Peter Nelson
|
5664b1e2f6
|
Codechange: Use std::vector for GRFConfig lists. (#10835)
This replaces the C-style custom managed linked-list and allows use of iterators etc.
|
2025-01-31 17:09:09 +00:00 |
|
Peter Nelson
|
afc0745aa2
|
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
|
2025-01-28 22:17:34 +00:00 |
|
Peter Nelson
|
77f4d776c4
|
Codechange: Remove ZeroedMemoryAllocator from network socket handlers. (#13377)
Prefer member default initialisation instead.
|
2025-01-28 19:10:00 +00:00 |
|
Rubidium
|
4099acb946
|
Codechange: replace BSWAP32/BSWAP16 with std::byteswap
|
2025-01-28 19:22:12 +01:00 |
|
Peter Nelson
|
9b947a37b8
|
Codechange: Pass GRFConfig by reference where feasible. (#13388)
In places where a GRFConfig is passed by pointer and not checked for nullptr, use a reference instead.
|
2025-01-26 22:41:08 +00:00 |
|
Rubidium
|
c6fc280ff1
|
Codechange: use std::vector over CallocT/free
|
2025-01-26 17:59:56 +01:00 |
|
Peter Nelson
|
f6ab2b69c6
|
Codechange: Define GRFConfigList alias and pass by reference. (#13358)
This adds the distinction between a single GRFConfig and a GRFConfig list, and simplifies how GRFConfig lists are passed to various functions.
|
2025-01-22 22:30:32 +00:00 |
|
Rubidium
|
c0df898ac5
|
Codechange: do not implicitly convert during assignment to StrongType
|
2025-01-01 21:32:51 +01:00 |
|
Rubidium
|
9b3f4dff4c
|
Codechange: swap int + year to year + int
This way the operator+ without implicit constructor call is used
|
2025-01-01 00:10:35 +01:00 |
|
Peter Nelson
|
9b6b6d50c3
|
Fix: Network clients incorrectly truncated all strings to NETWORK_COMPANY_NAME_LENGTH. (#13102)
This should no longer be necessary since we used std::strings.
|
2024-11-19 23:44:54 +00:00 |
|
Rubidium
|
4e026e448c
|
Feature: encrypt admin connection when using secure join
|
2024-07-01 17:16:55 +02:00 |
|
Rubidium
|
3094b0ce1d
|
Feature: admin support for password authentication without sending password
Using either password authenticated key exchange (PAKE) or authorized keys
|
2024-07-01 17:16:55 +02:00 |
|
Rubidium
|
b03ae8ad75
|
Codechange: add Authenticate status to the AdminStatus enum
|
2024-07-01 17:16:55 +02:00 |
|
Rubidium
|
b18d8d6574
|
Fix: ensure revision mismatch also considers random debugging status
|
2024-06-15 23:14:45 +02:00 |
|
Jonathan G Rennison
|
b2572c7ca8
|
Fix #12563: Race condition setting finish flag in WinHTTP
|
2024-05-23 19:31:45 +02:00 |
|
Rubidium
|
457d51fc49
|
Cleanup: remove company password hashing and anything related to it
|
2024-05-07 00:03:15 +02:00 |
|