summaryrefslogtreecommitdiff
path: root/src/common/utils.c
AgeCommit message (Expand)AuthorFilesLines
2020-02-09Define MAX_DIR_PATH for WIN32, tooKenpachi Developer1-4/+2
2020-02-09Add is_file() functionKenpachi Developer1-0/+40
2020-01-13Update copyright headers for year 2020Haru1-2/+2
2019-10-02Extend the findfile() function with a general purpose context argumentHaru1-8/+7
2018-07-01Change functions to static where possible (Part 1 - common)Haru1-15/+15
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2018-05-02Fix possible buffer overflow in common.Andrei Karas1-1/+1
2017-09-21Convert some functions from int32 types to int64.Andrei Karas1-0/+22
2016-10-28Fixed copyright year for 2016Lemongrass31101-1/+1
2016-10-04Add missing checks into utils.cAndrei Karas1-6/+23
2016-01-29Added apply_percentrate and apply_percentrate64 functionsHaru1-0/+43
2015-12-15Added GPL-compliant header to all sources and build scriptsHaru1-4/+20
2015-09-25More aggressive whitespace cleanup. Follow up to 51329e6Haru1-5/+1
2015-08-15HPM compatibility improvementsHaru1-0/+1
2015-06-19Cleaned up some #includesHaru1-4/+0
2015-06-19Removed ".." from include directivesHaru1-15/+15
2015-01-24Fixed 18 minor issuesHaru1-22/+35
2015-01-20Minor fixes and tweaks suggested by cppcheckHaru1-2/+3
2015-01-18Fixing 38 issuesshennetsind1-9/+12
2015-01-12Fix some compilation warnings with clang 3.6.Andrei Karas1-1/+1
2014-12-31Remove useless checks.Andrei Karas1-1/+1
2014-11-16Whitespace cleanup (no code changes)Haru1-33/+33
2014-08-07Corrected several format-string errors through the codeHaru1-10/+6
2014-05-30Fixed typos inside src/Shido1-3/+3
2014-05-13Removed trailing whitespace (sources)Haru1-2/+2
2014-05-10Re-commit of "Fixed order of includes in all source files"Haru1-17/+19
2014-05-10Revert "Fixed order of includes in all source files"panikon1-19/+17
2014-05-09Fixed order of includes in all source filesHaru1-17/+19
2014-05-06Bug fixes and other changespanikon1-0/+52
2013-11-16Introducing Character Ban Support.shennetsind1-0/+11
2013-09-06Added HCache key #defineshennetsind1-2/+3
2013-07-09Travis Report Fixesshennetsind1-3/+12
2013-07-08Follow up 0118a097c9626b3f8342dd29897392f3da4c1187shennetsind1-1/+1
2013-07-05HCache | Item Packages Updateshennetsind1-2/+2
2013-07-05HCache | Item Packages Updateshennetsind1-2/+97
2012-12-05- Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).brianluau1-198/+205
2012-11-25Applied AStyle code formating as discussed on tid:74602.greenboxal21-205/+198
2012-06-03cleaned up windows header usage (added one central file to use windows / wina...blacksirius1-2/+1
2012-04-15Fixed compiling warning with gcc on --enable-64bit mode.shennetsind1-2/+2
2012-01-30- Removed more trailing tabs.brianluau1-2/+2
2011-03-20* Random accumulated tweaks and fixes.ai4rei1-1/+1
2011-03-07* Cleaned up packet dumping code.ai4rei1-22/+48
2011-02-02* Fixed non-windows 'findfile' utils function missing a 'closedir' call (bugr...ai4rei1-0/+2
2010-12-07* Reverted r14563, due to multiple issues which render the source malfunction...ai4rei1-2/+2
2010-12-07Changed almost all instances of sprintf() to snprintf().Paradox924X1-2/+2
2010-11-30* Moved function 'exists' (file presense check) to utils.c, so that it is ava...ai4rei1-0/+9
2008-07-26Merged the /loginmerge branch (topic:192754)ultramage1-3/+3
2008-05-02Replaced the very ineffective clif_foreachclient() with map_foreachpc() since...ultramage1-1/+1
2008-05-01Replaced the integers+checking approach in r12679 with usage of floating poin...ultramage1-7/+15
2008-05-01Implemented get_percentage() for compact and safe calculation of percentual v...ultramage1-0/+16