48 Commits (bc846bb6b4321994dbd062f328382e49c00f5423)

Author SHA1 Message Date
Alibek Omarov 6c40104c66 public: better fix for ExtractFilePath 8 months ago
Alibek Omarov fe407fbe00 public: workaround when empty string is passed to COM_ExtractFilePath (should make safe COM_ExtractFilePath) 8 months ago
Alibek Omarov 4031f5cb01 public: allow matching anything in matchpattern 1 year ago
Alibek Omarov aee5e46516 public: rewrite Q_strncpy with standard C functions, make it inlined to allow compiler remove unneeded checks 1 year ago
Alibek Omarov ff436ae100 public: crtlib: add safe COM_DefaultExtension and COM_ReplaceExtension 1 year ago
Alibek Omarov ac39090f6e public: crtlib: add safe COM_FileBase implementation 1 year ago
Alibek Omarov 8f207362a5 public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead 1 year ago
Alibek Omarov b16fa8eddc public: remove Q_strcat and Q_strcpy, and patch the code that uses it 1 year ago
Alibek Omarov 37e3cf7e86 public: crtlib: remove unused functions 1 year ago
Alibek Omarov fb6e310eab public: move va() function back to engine, it's not recommended to use in shared modules 1 year ago
Alibek Omarov 3765686077 public: make va() buffer size public 1 year ago
Alibek Omarov 4684f174ee public: completely get rid of PATH_SEPARATOR macros 2 years ago
Alibek Omarov 75ccd2283b public: fix Q_memmem counting haystack size incorrectly 2 years ago
Alibek Omarov 07e622f224 public: add generic implementation for Q_memmem 2 years ago
Alibek Omarov e1ea3387ee common: rename PATH_SPLITTER to PATH_SEPARATOR, change it's type to character 2 years ago
Alibek Omarov 071638794a public: redefine Q_strpbrk to C standard version, add Q_strchrnul 2 years ago
Andrey Akhmichin 3488d4e65f public: simplified strings operations. 2 years ago
Alibek Omarov 7f1bb9b4a6 public: introduce Q_strnicmpext function 2 years ago
Alibek Omarov 5e4fc64430 filesystem: introduce new module, based on engine filesystem. 2 years ago
Alibek Omarov 5350d88f57 public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio 2 years ago
Alibek Omarov fb43a5590f public: Q_strstr should return pointer to non-const data 2 years ago
Alibek Omarov 12815bfbf2 public: remove naive implementations of standard function, add them with standard C with few extensions 2 years ago
Alibek Omarov ab6214142f public: remove custom str(r)chr functions 2 years ago
Velaron 15dc25d2cd engine: rename Q_cleanstr to something more meaningful 2 years ago
Velaron 568c7fd917 engine: strip color codes when writing to log 2 years ago
Alibek Omarov ccf90beb7d public: crtlib: add Q_isspace function 3 years ago
Alibek Omarov 4f89288ccf common: cleanup port.h 3 years ago
Alibek Omarov 3771a1d6c5 public: replace our Q_strlen with standard strlen with nullptr check in macro 3 years ago
Alibek Omarov 378c4f30f3 public: ParseFile drops const qualifier, return -1 length on overflow 3 years ago
Alibek Omarov 9e5d5e0ea3 public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking 3 years ago
Alibek Omarov 4723eb2586 public: crtlib: fix error in COM_SlashPathFix 3 years ago
Alibek Omarov 29902f48d5 public: oops, fix broken crtlib 3 years ago
Alibek Omarov d25a661701 public: moar int to size_t for string length 3 years ago
Alibek Omarov 6cc2205321 public: strlen must return size_t, not int 3 years ago
mittorn 5884cf88d3 crtlib: fix undefined behaviour when stripping extenstion from empty string 3 years ago
Gleb Mazovetskiy 5e0a0765ce Trim all trailing whitespace 4 years ago
Andrey Akhmichin abd9778ef3 engine: common: simplified strings operations. 4 years ago
Andrey Akhmichin 23ea7ecbcc public: optimize MD5_Print function. 4 years ago
Alibek Omarov 4c6fd79f07 tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already 4 years ago
Andrey Akhmichin 7a58813254 utils: add studio model decompiler. 4 years ago
Andrey Akhmichin 9a0da3cd4f public: crtlib.c: reduce memory usage. 4 years ago
Alibek Omarov 15924aebaa xash3d-fwgs: check if HAVE_TGMATH_H is set to positive value rather it's just defined 5 years ago
Alibek Omarov 78baf568ae engine: more double promotion fixes 5 years ago
Alibek Omarov 0577ecbccf public: initial fix of double promotion 5 years ago
Alibek Omarov e0d993a5a8 public: fix tautological-compare 5 years ago
Alibek Omarov 2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 5 years ago
Alibek Omarov e700a7498e engine: move matchpattern from old engine 5 years ago
Alibek Omarov fb6fd61cd9 public: initial moving some common code into static public library, that can be linked to any engine part 5 years ago
mittorn 4247af8fa8 Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone 5 years ago
Alibek Omarov 234507b7f1 ref: fix all undefined references 5 years ago