summaryrefslogtreecommitdiff
path: root/src/utils
AgeCommit message (Collapse)AuthorFilesLines
2025-07-03Update 4 filesAndrew Hall3-7/+331
- /src/utils/filesystem.h - /src/utils/xml.cpp - /src/utils/xml.h - /src/log.h
2025-07-01On Windows: users can now edit in vscode. I also removed linking data files ↵Meway2-15/+158
to "program files (x86)" because this was not recommended by windows.
2025-07-01Just some changes to compile on windows - _nl_locale_name_default toMeway1-2/+5
setlocale TODO: what?
2025-07-01Just some changes to compile on windows - urlopen fixesMeway1-1/+7
TODO: shouldn't spaces be replaced with %20, which is URL encoded space?
2025-07-01Just some changes to compile on windows - fixes libxml compile errorMeway1-0/+5
TODO: review
2025-07-01Change the wrong, but mostly supported WIN64 macro to the correct _WIN64Fedja Beader1-1/+1
Addendum to !211
2025-07-01Change the wrong, but mostly supported WIN32 macro to the correct _WIN32Fedja Beader5-37/+37
ManaPlus was apparently forked before Mana 8954a7ca0f70bbf1. However, running a bulk sed replace was easier than cherry-picking, resolving 14 years of conflicts and then still having to do a bulk sed to catch the rest. Special thanks to Meway (for attempting to build on windows) and Bjorn (for pointing to that commit) **** mana/verse!211
2025-06-27Remove unnecessary includes in utils/performance.hFedja Beader1-4/+0
**** mana/plus!203
2025-06-25Split #include "utils/performance.h" out of localconsts.hFedja Beader3-3/+3
only about 160 out of 1500 files that include localconsts.h need to include performance.h Saves 12% from compile times (with profiler ON) and 0.1% with profiler OFF. **** mana/plus!189
2025-06-24Fix profiler compileFedja Beader1-8/+11
call of overloaded 'toString(long long unsigned int)' is ambiguous, see !189 Squashed with: * Apply perfo[r]mance typofixes that were missed in mana/plus!186 ... because USE_PROFILER was off/undefined. **** mana/plus!200
2025-06-05fix missing __xmlParserVersion() compat in newer libxml2, spotted by bakaiFedja Beader1-1/+7
libxml2 deprecated __xmlParserVersion() and added a pointer to constant string version in commit 2023-09-20 "globals: Don't store xmlParserVersion in global state" and added a compat function with it. This commit was made before v2.12.0 was released. Thus, any version *past* unreleased v2.12.0 is guaranteed to have the new API. The compat function was removed at some point later, causing a compile failure. **** mana/plus!190
2025-06-04Typofix perfo[R]manceFedja Beader2-13/+13
**** mana/plus!186
2025-05-24Switch source code headers to ManaVerse & update copyrights to 2025Fedja Beader101-303/+303
.. instead of manaplus's header. & update copyrights to 2025. Open problem: should it be "The ManaVerse Client", "the ManaVerse client" or something in between in "This file is part of ..." line? All caps is current situation. Squashed with: * update copyright dates for 2025 * Revert "Switch to branch of mplint that checks for manaverse copyright headers" * Change back to uppercase The Why? This line was changed 3 times in history and all had an uppercase The. PS: ManaVerse has no endorsment from the parent project, ManaPlus. * Change to "This file is part of the ManaVerse Client" poppet says 'the' instead of 'The' find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e 's/This file is part of The ManaPlus Client/This file is part of the ManaVerse Client/' {} \+ * Change 'The ManaPlus Client' to 'The ManaVerse Client' in headers find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e '2s/ManaPlus/ManaVerse/' {} \+ * Switch to branch of mplint that checks for manaverse copyright headers .. instead of manaplus's **** mana/plus!179
2025-04-15logger.h: de-duplicate __attribute__(__format__(..)) ifdefsFedja Beader2-17/+5
Squashed with: * Rename - it's member shift, not printf shift * So it seems that CILK PLUS either ignores the this argument of member functions or already considers it on its own. Besides.. is CILK PLUS even relevant today? Whatever.. Plus, deduplicate some more functions ..should this attribute be moved to its own file? * Correct indents * logger.h: de-duplicate __attribute__(__format__(..)) **** mana/plus!163
2025-03-30Remove weird/unnecessary newlining of __VA_ARGS__ in checkutils.hFedja Beader1-6/+3
**** mana/plus!150
2025-02-24added manaverse' copyright line to src/jak12-0/+2
Split from mana/plus!28 and rebased on master by specing. **** mana/plus!131
2025-02-24updated copyright -2020 for manaplusjak12-2/+2
In theory split out from mana/plus!28, in practice I (specing) just ran sed myself instead of bothering with splitting out changes. **** mana/plus!130
2024-08-28Squash gcc8 -Wformat-y2k warningFedja Beader1-1/+6
* Run gcc8 job again in this MR * Squash the %c strftime gcc warning **** mana/plus!100
2024-08-27Show mail expiry timeFedja Beader1-1/+2
Server does not communicate sent time.. or it did, until 2017 ?? See src/map/clif.c #if PACKETVER >= 20170419 The RODEX_EXPIRY constant seems not to be communicated either, preventing us from deducing send time from expiry time. **** mana/plus!90
2024-02-21Add missing include for libxml2ewewukek1-0/+4
2024-02-21Const correct variable to hold __xmlParserVersion() valueewewukek1-1/+1
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva99-99/+198
2023-04-07fixed gcc deprecation (unary & not1)jak11-5/+4
2021-12-18added ftp:// to url command also @@ftp:/foo.bar|baz@@ fixes #38jak11-2/+2
2021-12-18fixed ItemDB warning, parsing [00:00] timetampsjak11-0/+3
2019-11-18Fix warnings in gcc trunkAndrei Karas1-1/+1
2019-10-16Change type for some loop variables [ci skip]Andrei Karas1-1/+1
2019-06-24Fix code styleAndrei Karas1-6/+8
2019-03-07Add function for find first right separatorAndrei Karas2-0/+33
2019-01-01Update copyright year.Andrei Karas101-101/+101
2018-11-27Fix dispaly '+' on stats with negative values.Andrei Karas1-3/+12
2018-11-27Remove extra ; from different code.Andrei Karas10-26/+26
2018-11-05Fix code style.Andrei Karas1-1/+4
2018-10-29Fix code style.Andrei Karas3-11/+11
2018-09-20Remove extra include.Andrei Karas1-2/+1
2018-09-20Add check for compiled/linked libxml2 version.Andrei Karas1-1/+17
2018-09-10Fix cast issues.Andrei Karas1-1/+3
2018-09-09Fix code style.Andrei Karas1-2/+0
2018-09-09Fix style issues detected by clang tidy.Andrei Karas2-4/+4
2018-09-09Add default constructor mark into PerfStat.Andrei Karas1-0/+2
2018-09-08Add missing final keyword.Andrei Karas1-1/+1
2018-09-08Apply fps limiter after state logic.Andrei Karas1-3/+5
2018-09-07Add basic performance counters.Andrei Karas2-0/+189
Add in debug window new tab with this counters.
2018-06-03Add missing quotes in some char gm commands.Andrei Karas1-2/+3
2018-05-23Fix warnings in new clang5 builds.Andrei Karas1-0/+4
2018-04-30fix warnings on sunon compilation.Andrei Karas1-3/+5
2018-04-02Add some missing brackets in macroses.Andrei Karas2-7/+7
2018-03-14Add expired field into mailmessage.Andrei Karas1-0/+1
2018-03-03Add support for item stat ranges.Andrei Karas1-24/+52
Example: ... hp="10-15" mp="1-2" ...
2018-03-02Add unit tests for itemxmlutils.Andrei Karas1-0/+7