summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-02-19Add noreturn attributes.Andrei Karas5-5/+72
Also add compiler flag for check for missing noreturn attributes.
2016-02-19Fix missing include dirs. Add compiler flag -Wmissing-include-dirs.Andrei Karas3-4/+56
2016-02-19Fix all known warnings from compiler flags -Wformat*Andrei Karas43-248/+408
Add all missing -Wformat flags into configure.
2016-02-19Fix some cast discards 'const' qualifier from pointer target type warnings.Andrei Karas11-41/+46
Add -Wcast-qual into configure comment.
2016-02-18Merge pull request #1160 from MishimaHaruna/libconfigAndrei Karas61-1900/+3637
Libconfig: update to 1.5 and various improvements
2016-02-17Replaced some now unnecessary includes with forward declarations in header filesHaru14-11/+19
Added some forgotten <stdio.h> and "common/conf.h" includes to .c files, that were previously masked by the above. Signed-off-by: Haru <haru@dotalux.com>
2016-02-17HPM Hooks UpdateHaru3-696/+696
2016-02-17Removed unnecessary typedefs from libconfigHaru33-554/+557
Signed-off-by: Haru <haru@dotalux.com>
2016-02-17HPM Hooks UpdateHaru9-39/+39
2016-02-17Renamed config->read_file to config->load_fileHaru17-54/+54
- The return value is now consistent with the libconfig standard (CONFIG_TRUE/CONFIG_FALSE). - Removed some redundant error messages. Signed-off-by: Haru <haru@dotalux.com>
2016-02-17libconfig: report file name in case of i/o errorHaru1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-02-17HPM Hooks UpdateHaru9-0/+960
2016-02-17Added new set of functions to libconfig in order to handle other data typesHaru2-0/+261
- New data types supported: - uint16 - int16 - uint32 - bool - mutable string - Documented conf_read_file Ported to modern Hercules and cleaned up from Panikon's commits fa09661f1bdbe41060fa97f5e63810523feadcc0, cbb3e3b6ad987eeeaac0c75236feabfd2206cf07, cd79c70101638cff476c40d31e2b7cd031915284, 126f9b2dc1ab5af223ef37be6000346fe18a0a96, b9bf380edc30dab038abef41568081037a75ffb5. Signed-off-by: Haru <haru@dotalux.com>
2016-02-17HPM Hooks UpdateHaru9-186/+186
2016-02-17Updated libconfig to version 1.5Haru25-523/+1027
- Based on https://github.com/hyperrealm/libconfig/releases/tag/v1.5 f9f23d7a95608936ea7d839731dbd56f1667b7ed - Improvements that come with this libconfig version: * Don't fclose() a null pointer. * check if file being opened is a directory * added config_set_options(), config_get_options(), setOptions(), getOptions(). * renamed config_setting_lookup_from() to config_setting_lookup() and documented it * floating point precision loss patch * scanner code cleanup * parser code cleanup * bugfix; capture root filename - Parser generated with Bison 2.7 - Scanner generated with flex 2.6 - This includes the windows-compatibility commit 909b06c07e30e456cc63f58d31b0e2f3aad4cc43 from upstream (although not part of version 1.5) Signed-off-by: Haru <haru@dotalux.com>
2016-02-15MobDB SQL SyncHercules.ws1-1001/+1024
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-15Replaced a call to sleep() with HSleep()Haru1-8/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-02-15Fixed a missing include in utils.hHaru1-0/+3
Signed-off-by: Haru <haru@dotalux.com>
2016-02-09Corrected HPMHooking_map include pathsHaru4-8/+8
- Fixes #1152 Signed-off-by: Haru <haru@dotalux.com>
2016-02-09Small tweaks to mob_drop_adjustHaru1-7/+13
Related to #1152 Signed-off-by: Haru <haru@dotalux.com>
2016-02-07Fix blind defined macro WFIFO2PTRhemagx1-1/+1
Follow up b77735473db348a65b749a79549852713f142dc1
2016-02-07Merge pull request #1110 from dastgir/22-ScriptClean-Phase2Haru448-5096/+5096
Script CleanUp Phase 2
2016-02-06HPM Hooks UpdateHercules.ws1-5/+5
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-06Merge pull request #1143 from MishimaHaruna/usrlocalAndrei Karas4-83/+71
Improved ./configure on systems that rely on /usr/local
2016-02-06Removed special handling of zlib in the configure scriptHaru2-59/+5
Now it's handled like all other libraries, and no longer adds an useless -I/usr/include option Signed-off-by: Haru <haru@dotalux.com>
2016-02-06Changed PCRE to properly use the system-provided pcre.hHaru4-25/+43
Signed-off-by: Haru <haru@dotalux.com>
2016-02-06Added /usr/local path to the header and library search pathsHaru2-1/+25
- This fixes PCRE search failures on FreeBSD and on OS X with Homebrew - Thanks to ultramage Signed-off-by: Haru <haru@dotalux.com>
2016-02-06Merge pull request #1142 from 4144/pluginsfixHaru1-1/+4
Fix memory corruption if plugin add command line parameter without he…
2016-02-06HPM Hooks UpdateHercules.ws9-0/+96
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-06Merge pull request #1133 from 4144/visiblefixHaru2-2/+2
Remove from configure flag -fvisibility=hidden.
2016-02-06Merge pull request #1131 from 4144/timersHaru5-6/+77
Add to system information also information about clock function.
2016-02-06Fix memory corruption if plugin add command line parameter without ↵Andrei Karas1-1/+4
help/description.
2016-02-05ItemDB SQL SyncHercules.ws1-24/+24
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-05Merge pull request #1140 from SamuelHercules/renewalcardsDastgir1-0/+28
Mob DB Update - Added card drops
2016-02-05Mob DB Update - Added card dropsSamuelHercules1-0/+28
- Lighthalzen Biolab F4 - Hall of Abyss - Old Glast Heim Merged rAthena @ f987f1bcbe22ccd4f75fa15e21193b7419aa7f5c Credit: secretdataz
2016-02-05Fixes #543Dastgir2-4/+32
Added missing items from Gift Box
2016-02-05Merge pull request #1081 from Jedzkie/PR_MAGNIFICATDastgir1-0/+4
PR_MAGNIFICAT Skill Fix.
2016-02-05Merge pull request #1087 from csnv/songsDastgir1-17/+62
Revamped Aegis style songs behavior. Fixes #835
2016-02-05Remove from configure flag -fvisibility=hidden.Andrei Karas2-3/+3
It prevent for show funcstion names in stack in asserts.
2016-02-05Clear timer function after auto remove timer ended.Andrei Karas1-0/+1
2016-02-05Add missing checks into timer.cAndrei Karas1-5/+58
2016-02-05Add to system information also information about clock function.Andrei Karas4-1/+18
I think issues with stuck skills delay/cooldown related to timers/clock. This change allow to see with what clock functions issue can be reproduced.
2016-02-04ItemDB SQL SyncHercules.ws2-1048/+1103
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-04HPM Hooks UpdateHercules.ws3-34/+66
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-05Merge pull request #993 from HerculesWS/mobdb2sqlAndrei Karas30-19438/+21152
Mob DB support for the db2sql plugin
2016-02-04Merge pull request #1129 from hemagx/map-clif_rewriteHaru4-16/+24
Move P2PTR Macro and Define Packet DB enums
2016-01-31Move P2PTR Macro to socket header and split the macro into two macros for ↵hemagx4-16/+24
WFIFO/RFIFO. Change packet database enums to defines in mmo.h
2016-01-30Fixes conditions in itembind.txtDastgir1-4/+9
2016-01-29Merge pull request #1108 from 4144/pcreconfigureHaru44-302/+82
Enable pcre by default in configure and show error if pcre missing.
2016-01-29Merge pull request #1105 from dastgir/20-SendFixHaru1-7/+11
Fixes crash with @send