summaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)AuthorFilesLines
2016-07-05HPM Hooks UpdateHercules.ws4-10/+259
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-07-02Fixed a rare crash in the db2sql pluginHaru1-9/+13
- Fixes a crash that would occur when an item_db2 inherited item was missing Script, OnEquipScript or OnUnequipScript while its item_db counterpart had it. Signed-off-by: Haru <haru@dotalux.com>
2016-07-02HPM Hooks UpdateHercules.ws13-0/+26
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-07-02Added 'GENERATED FILE DO NOT EDIT' to the auto-generated filesHaru2-2/+5
See https://github.com/Reviewable/Reviewable/wiki/FAQ#how-do-i-tell-reviewable-that-a-file-is-generated-and-should-not-be-reviewed Signed-off-by: Haru <haru@dotalux.com>
2016-06-25generate-translations: code style and optimizationsHaru1-30/+36
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Added mesf() command (combination of mes() and sprintf())Haru1-1/+3
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Added _$() macro to the script engine to mark a translatable string as ↵Haru1-4/+21
format string - Strings passed to sprintf should use the _$() macro instead of _(), to generate the .pot translation template with a directive to correctly handle the % sign. - Strings passed through _() are instead explicitly marked as regular (non format) strings if they contain '%'. Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Moved translations template generator to a pluginHaru1-0/+231
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25HPM Hooks UpdateHaru4-0/+169
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25HPM Hooks UpdateHaru2-20/+21
Signed-off-by: Haru <haru@dotalux.com>
2016-06-24HPM Hooks UpdateHercules.ws4-0/+34
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-06-24HPM Hooks UpdateHercules.ws4-0/+68
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-05-08Fixed various issues pointed out by cppcheckHaru1-15/+13
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru4-8004/+8004
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Added one level of indirection to all variables in pre-hook functionsHaru1-2/+3
- Previously, only scalar variables had their indirection level increased. Now pointers do as well (this allows users to override const pointers) Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru4-7268/+7268
2016-04-30Removed extra indirection level in HPMHooking post-hooksHaru1-4/+6
- The extra indirection level (necessary to override function arguments from a hook) isn't necessary in post-hooks, but only in pre-hooks. - This simplifies the syntax and code of post-hooks. Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru3-78/+39
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru4-0/+7094
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Added type-checking for the addHookPre() and addHookPost() macrosHaru3-4/+38
- The macros will now throw a warning at compile time if a plugin is using a wrong function type for a pre or post hook. This avoids some very subtle, hard to detect, issues. - The macros now require 3 arguments instead of 2. Example: old code: addHookPre("ifname->function" my_hook); becomes: addHookPre(ifname, function, my_hook); Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Moved HPMHooking-related definitions to plugins/HPMHooking.hHaru4-1/+60
- Plugins that want to make use of the HPMHooking must now include "plugins/HPMHooking.h". Signed-off-by: Haru <haru@dotalux.com>
2016-04-27HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-25HPM Hooks UpdateHercules.ws3-6/+100
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-23HPM Hooks UpdateHaru3-114/+114
Signed-off-by: Haru <haru@dotalux.com>
2016-04-23HPM Hooks UpdateHaru3-17/+112
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru3-0/+352
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru4-13/+48
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 7)hemagx1-0/+1
Added private interface in lclif.p.h Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru4-235/+367
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 6)hemagx1-1/+2
Moved login clif code to lclif.c/lclif.h Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru3-9/+9
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Updated GNU Make build system to support private headersHaru1-1/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru6-216/+216
Signed-off-by: Haru <haru@dotalux.com>
2016-04-04HPM Hooks UpdateHercules.ws5-665/+697
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-03-20Dropped typedef from DBMapHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Removed unnecessary typedefs from sql.hHaru1-0/+1
- Sql -> struct Sql - SqlStmt -> struct SqlStmt - SqlDataType -> enum SqlDataType This is expected to improve compile time, by removing #include cycles (and forward declaring instead) Signed-off-by: Haru <haru@dotalux.com>
2016-03-19HPM Hooks UpdateHercules.ws3-30/+62
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-03-11HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-03-11Hardcore Parameters from constant database to avoid synchronize issues with ↵hemagx1-0/+4
source now defining new parameters in the constants.conf database is deprecated and should be defined in source instead
2016-03-10HPM Hooks UpdateHercules.ws3-32/+0
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-03-06Added support for the textual "Job" field to the itemdb2sql converterHaru1-6/+109
Signed-off-by: Haru <haru@dotalux.com>
2016-02-28HPM Hooks UpdateHercules.ws1-20/+20
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-28Changed mob mode field to 32 bit, for future expansionHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-02-24HPM Hooks UpdateHercules.ws9-234/+426
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-23HPM Hooks UpdateHercules.ws1-3/+3
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-21HPM Hooks UpdateHercules.ws3-6/+68
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-20HPM Hooks UpdateHercules.ws1-3/+3
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-19Fix all known warnings from compiler flags -Wformat*Andrei Karas2-37/+37
Add all missing -Wformat flags into configure.
2016-02-17HPM Hooks UpdateHaru3-696/+696
2016-02-17Removed unnecessary typedefs from libconfigHaru1-5/+5
Signed-off-by: Haru <haru@dotalux.com>