166 Commits

Author SHA1 Message Date
Shauren
52add56a7f Core/DataStores: Reduce the number of string copies when loading db2 hotfixes 2025-07-12 15:44:43 +02:00
Shauren
27860c3316 Core/Database: Added std::span based functions to Field and PreparedStatement 2025-01-03 13:04:19 +01:00
Shauren
8ec9b5841e Core/DataStores: Refactor DBStorageIterator to make it usable with more std::ranges algorithms 2024-09-09 23:21:23 +02:00
Shauren
f0a862e71b Core/Misc: Modernize comparison operators 2023-08-24 00:51:26 +02:00
Shauren
f540477fed Core/DataStores: Optimized DB2Storage::begin to remove searching for lowest id on every call 2023-04-27 00:17:25 +02:00
Shauren
7395d75b5a Core/Misc: Fixed clang 15 warnings 2023-01-31 18:51:31 +01:00
Shauren
d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren
25c28c0c7d GCC build fix 2022-12-17 12:54:38 +01:00
Shauren
ba4c148a69 Core/DataStores: Devirtualize DB2Storage 2022-12-14 00:29:03 +01:00
Shauren
9d9e11f8ca Core/DataStores: Made DB2LoadInfo constexpr 2022-12-14 00:27:01 +01:00
Shauren
79ca6df27d Core/DataStores: Add const to DBStorageIterator dereference operators 2022-11-27 22:16:32 +01:00
Shauren
934a1ad498 Core/DataStores: Removed unused code from DB2DatabaseLoader 2022-04-09 00:25:16 +02:00
Shauren
cbcd149ce5 Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers 2022-02-11 14:33:35 +01:00
Treeston
c4b287c7bf Core/Misc: DBC std::array refactors, and |Hachievement unit tests
(cherry picked from commit 3fbbe7cfbe)
2022-02-04 23:37:29 +01:00
Shauren
96137fb30f Core/Misc: Future msvc warning fixes 2022-01-21 13:40:48 +01:00
jackpoz
68faf5bc4b Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
(cherry picked from commit 54c701cf0d)
2022-01-19 22:17:42 +01:00
Shauren
3bf6698116 Core/Misc: Fix appleclang 12 warnings 2021-10-01 11:18:29 +02:00
Shauren
47fc447bef Revert "Core/DataStores: Implemented [] operator on DB2Storage (#20494)"
This reverts commit c8974a91a6.
2021-03-14 14:42:53 +01:00
Shauren
2ff1fd0e95 Core/DataStores: Replace harcoded prepared statement offsets with named constants 2020-07-13 21:30:33 +02:00
Shauren
4499f203a3 Core/DataStores: Fixed sending localized hotfixes and improved db2 loading error messages 2020-07-01 00:34:51 +02:00
Shauren
40c71ea9fc Core/Misc: Remove unused variables 2020-06-29 09:23:38 +02:00
Shauren
2fcb79e2de Core/DataStores: Fixed loading db2 strings
Closes #24916
2020-06-29 00:10:37 +02:00
Shauren
deca201f77 Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection 2020-06-27 13:33:17 +02:00
Shauren
b47c19d506 Core/DataStores: Allow custom hotfixes (VerifiedBuild <= 0, has loading priority) to coexist with sniffed data (VerifiedBuild > 0) 2020-06-06 23:40:53 +02:00
Shauren
db7126de46 Core/DataStores: Fixed loading hotfixes crash when compiled with strict database type checking
Closes #24716
2020-06-01 00:15:33 +02:00
Shauren
af76dc6b88 Core/DataStores: Speedup loading hotfix database and change hotfix database character set to utf8mb4 2020-04-25 17:01:26 +02:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren
235ec18143 Core/DataStores: Work around buggy client db2 metadata 2019-11-28 00:23:09 +01:00
Shauren
e8e89f58fb Core/DBLayer: Prevent using prepared statements on wrong database 2019-07-27 01:00:37 +02:00
Shauren
6b29c4da76 Core/DataStores: Fixed crash when loading additional db2 locales 2019-06-12 20:24:33 +02:00
Shauren
bcaaa3d6f6 Core/DataStores: Updated db2 structures to 8.1.5 2019-06-08 17:10:00 +02:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
1188a48c94 Core/DataStores: Implemented WDC2 2018-09-16 16:57:43 +02:00
Shauren
9829c119c0 Core/DataStores: Fixed loading db2 locale strings 2018-05-12 16:24:41 +02:00
Shauren
6d5e25ddd4 Tools: Moved db2 metadata structures to a location shared by all tools 2018-03-25 19:28:36 +03:00
Shauren
12beb3dd1b Core/DataStores: Fixed writing hotfix packet for structures with uint64
Closes #21522
2018-03-07 18:08:15 +01:00
Shauren
75603fe1a0 Core/DataStores: Updated db2 structures to 7.3.5.25996 2018-02-18 16:33:50 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Štefan Lazový
c8974a91a6 Core/DataStores: Implemented [] operator on DB2Storage (#20494) 2017-10-07 22:48:05 +02:00
Gacko
25111b09df Fix non-PCH build. 2017-09-25 21:34:15 +02:00
Shauren
beb3316089 Core/Shared: Include cleanup 2017-05-13 11:49:09 +02:00
Shauren
7e538980a2 Core/Database: Include cleanup 2017-05-12 18:50:27 +02:00
Shauren
2f859ffd2e Core/Misc: Fixed issues found by coverity
CID 1374575, 1374574, 1374573, 1374572, 1374563, 1374556
2017-04-26 18:01:50 +02:00
Shauren
7b235ce6e4 Core/DataStores: Refactor DB2 loaders to be reusable by extractors 2017-03-08 18:10:02 +01:00
Shauren
2c27c5b5b9 Core/DataStores: Fixed crash in hotfix packet building
Closes #19218
2017-03-02 19:48:58 +01:00
Shauren
bc2380e105 Core/DataStores: Fixed Meta->Types/TypesString mixup causing crashes when trying to send hotfix for nonlocalized string
Closes #18882 (for real this time)
2017-02-26 15:00:46 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
8b2e07166f Core/DataStores: Fixed loading non-localized db2 strings
Closes #18451
2016-12-14 00:09:32 +01:00
Shauren
4acaf2dda4 Core/DataStores: Fixed crash with db2 loaders on gcc 4.9
Closes #18166
2016-11-02 00:06:09 +01:00
Shauren
505d3e24cc Core/DataStores: Removed the need to edit DB2Metadata automatically generated to account for non-localized string fields 2016-10-26 01:34:29 +02:00