summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)AuthorFilesLines
2016-07-14Changed mmo_charstatus::status_point and mmo_charstatus::skill_point to intHaru1-1/+1
Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed mmo_charstatus::base_level and mmo_charstatus::job_level to intHaru1-1/+1
Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-12HPM Hooks UpdateHaru2-0/+11
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the grfio interfaceHaru2-188/+330
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Dropped unnecessary typedefs from grfioHaru1-24/+26
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface grfio.chemagx3-14/+39
2016-07-12HPM Hooks UpdateHaru2-1/+12
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the thread interfaceHaru2-116/+135
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Removed unnecessary typedefs from thread and spinlockHaru5-74/+86
- SPIN_LOCK -> struct spin_lock - rAthread -> struct thread_handle - rAthreadProc -> threadFunc - RATHREAD_PRIO -> enum thread_priority - RAT_PRIO_LOW -> THREADPRIO_LOW - RAT_PRIO_NORMAL -> THREADPRIO_NORMAL - RAT_PRIO_HIGH -> THREADPRIO_HIGH - RA_THREADS_MAX -> THREADS_MAX Signed-off-by: Haru <haru@dotalux.com> fixupthread
2016-07-12Interface thread.chemagx5-139/+173
2016-07-12HPM Hooks UpdateHaru2-0/+11
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the random interfaceHaru2-26/+76
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface random.chemagx3-20/+53
2016-07-12HPM Hooks UpdateHaru2-0/+11
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the mutex interfaceHaru2-51/+70
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Removed unnecessary typedefs from mutex.hHaru3-57/+56
- ramutex -> struct mutex_data - racond -> struct cond_data Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface mutex.chemagx4-85/+114
2016-07-12HPM Hooks UpdateHaru2-0/+11
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the md5 interfaceHaru2-69/+104
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface md5calc.chemagx3-12/+27
2016-07-12HPM Hooks UpdateHaru2-1/+8
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the des interfaceHaru3-82/+108
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Removed unnecessary typedefs from des.hHaru3-25/+31
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface des.chemagx4-11/+29
2016-07-08Add comments into defines in socket.cAndrei Karas1-70/+70
2016-07-08Added epoll as event-dispatcher on linux (instead of select())Florian Wilkemeyer1-5/+165
Note: It will be enabled by default if configure detects that the system has support for epoll To enforce usage of select run configure with --enable-epoll=no
2016-07-07Dont show compilation warnings about root if building for ci.Andrei Karas1-0/+6
And allow run under root in ci.
2016-07-04Added messages to discourage running Hercules as root.Haru1-4/+61
- You should not run Hercules as root, period. - If you understand all of the security implications, and still want to do so (and you don't want to be bothered by the warning messages), open core.c and uncomment the line: "//#define I_AM_AWARE_OF_THE_RISK_AND_STILL_WANT_TO_RUN_HERCULES_AS_ROOT" - If you're running Hercules as root because your provider forces (or encourages) you to do so, it means they're really doing it wrong, so please complain to them and ask them for an alternative. - More info on the topic: http://www.tldp.org/HOWTO/Security-HOWTO/local-security.html https://wiki.debian.org/sudo http://wiki.centos.org/TipsAndTricks/BecomingRoot http://fedoraproject.org/wiki/Configuring_Sudo https://help.ubuntu.com/community/RootSudo http://www.freebsdwiki.net/index.php/Root Signed-off-by: Haru <haru@dotalux.com>
2016-07-03Replace all warnings to errors if build bot configure option enabled.Andrei Karas1-0/+4
2016-07-03Add into travis configure option --enable-buildbot.Andrei Karas1-0/+2
Also disable all known default warnings if build bot option enabled.
2016-07-02HPM Hooks UpdateHercules.ws2-0/+4
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-07-02Trivialities: indentation fixesHaru2-9/+9
Signed-off-by: Haru <haru@dotalux.com>
2016-06-30Use item attribute as flags varible. Now only ATTR_BROKEN flag exists.Andrei Karas1-0/+5
2016-06-30Add #ifndef for different constants in mmo.hAndrei Karas1-0/+68
2016-06-25Correctly escaped special characters in the generated_translations.potHaru1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25HPM Hooks UpdateHaru1-0/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Implemented VECTOR_TRUNCATEHaru1-0/+10
- Clears a VECTOR, without freeing its data (truncates length, preserving capacity) Signed-off-by: Haru <haru@dotalux.com>
2016-05-14Removed dead leftover code from some testing a while ago.Matheus Macabu1-18/+0
2016-05-08Removed some legacy checks for MSVC <= 2003Haru3-11/+7
Signed-off-by: Haru <haru@dotalux.com>
2016-05-08Removed 'temporary fix for bugreport:4961', no longer necessaryHaru1-10/+0
- The provided test cases return success on all currently supported FreeBSD versions (9 and 10) - Fixes #1283
2016-05-08Removed some old Subversion <=1.6 support codeHaru1-34/+0
Signed-off-by: Haru <haru@dotalux.com>
2016-05-08Removed some old MySQL 4 compatibility codeHaru1-15/+0
Long overdue, since MySQL 4.x was already unsupported for quite a while (to be fair, we're about to deprecate support for MySQL 5.0 and 5.1) Signed-off-by: Haru <haru@dotalux.com>
2016-05-08Fixed various issues pointed out by cppcheckHaru4-13/+10
Signed-off-by: Haru <haru@dotalux.com>
2016-05-01Merge pull request #1253 from HerculesWS/hpmhookingAndrei Karas5-38/+38
Hpmhooking improvements
2016-05-01Fix one issue found by gcc 6 with -O3.Andrei Karas1-0/+1
2016-04-30HPM Hooks UpdateHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Moved HPMHooking-related definitions to plugins/HPMHooking.hHaru4-37/+37
- Plugins that want to make use of the HPMHooking must now include "plugins/HPMHooking.h". Signed-off-by: Haru <haru@dotalux.com>
2016-04-27Add checks for wrong timer id. Some times in code it can be 0 and not -1.Andrei Karas1-2/+8
Now tid is illegal, and tid start counting from 1.
2016-04-25HPM Hooks UpdateHercules.ws1-0/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-23HPM Hooks UpdateHaru1-0/+2
Signed-off-by: Haru <haru@dotalux.com>