Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-06-25 | Split parse_simpleexpr() in specialized sub-functions (HPM compatibility) | Haru | 2 | -182/+220 | |
- parse_simpleexpr_paren() - parse_simpleexpr_number() - parse_simplexpr_string() - parse_simpleexpr_name() Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | Correctly escaped special characters in the generated_translations.pot | Haru | 3 | -16/+13 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | Improved handling of nested function calls by the HULD | Haru | 1 | -17/+14 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | Re-implemented BUILDIN(sprintf) | Haru | 1 | -93/+188 | |
- The function now checks its arguments, rather than passing them to the system implementation (safer against arbitrary memory access or wrong variable type) - Implemented positional ('%1$d') specifiers (POSIX style) - See script_commands.txt for details about the supported format specifiers. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | HPM Hooks Update | Haru | 3 | -20/+23 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | Changed script->translation_buf to a VECTOR | Haru | 2 | -28/+26 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | Replaced script_code::script_buf with a VECTOR | Haru | 3 | -48/+58 | |
- Fixes various signed/unsigned comparisons. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | Replaced script->buf with a VECTOR | Haru | 2 | -125/+128 | |
- Fixes various signed/unsigned comparisons. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | Replaced struct script_string_buf definition with a VECTOR | Haru | 2 | -84/+77 | |
- Fixes various signed/unsigned comparisons. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | Implemented VECTOR_TRUNCATE | Haru | 1 | -0/+10 | |
- Clears a VECTOR, without freeing its data (truncates length, preserving capacity) Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-06-25 | Fix assert checks from commit e28a19cfff1f26457d6a0f6192d6782c8db7d3d2. | Andrei Karas | 1 | -3/+3 | |
2016-06-24 | HPM Hooks Update | Hercules.ws | 4 | -0/+34 | |
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome> | |||||
2016-06-24 | Move ammo check into separate function in battle.c | Andrei Karas | 2 | -32/+44 | |
2016-06-24 | Add missing checks in pc.c | Andrei Karas | 1 | -9/+115 | |
2016-06-24 | Add missing checks into path.c | Andrei Karas | 1 | -0/+5 | |
2016-06-24 | Add missing checks into party.c | Andrei Karas | 1 | -2/+47 | |
2016-06-24 | Add missing checks into npc_chat.c | Andrei Karas | 1 | -8/+28 | |
2016-06-24 | HPM Hooks Update | Hercules.ws | 4 | -0/+68 | |
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome> | |||||
2016-06-23 | Interface clif_bl_type now it's clif->bl_type | hemagx | 2 | -6/+8 | |
2016-06-23 | Interface disguised function, now it's clif->isdisguised. | hemagx | 2 | -51/+61 | |
2016-06-23 | Fix Possible Crash on clif_bl_type now it checks if vd is null | hemagx | 2 | -16/+51 | |
2016-06-18 | Move npc static variables into npc interface. | Andrei Karas | 2 | -47/+57 | |
2016-05-14 | Merge pull request #1289 from mkbu95/master | Haru | 1 | -18/+0 | |
Remove swap testing code (leftover in cbasetypes) | |||||
2016-05-14 | Fixed an issue that causes `@showmobs` to skip entries | Haru | 1 | -1/+1 | |
- Follow-up to b3c722ecf777aeeea6317755a6adfc0216b7a2bd Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-14 | Removed dead leftover code from some testing a while ago. | Matheus Macabu | 1 | -18/+0 | |
2016-05-14 | Removed leftover definition of BUILDIN(checkre) | Haru | 1 | -62/+0 | |
- The command was already deprecated in ca877ec and removed in 7e93d08 - Resolves #1288 Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-14 | Replaced 'int' with 'int32' (guaranteed size) in all packed structs | Haru | 1 | -45/+45 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-14 | Replaced 'char' (except 'char[]') with 'int8' (guaranteed size) in all ↵ | Haru | 1 | -11/+11 | |
packed structs Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-14 | Replaced 'short' with 'int16' (guaranteed size) in all packed structs | Haru | 1 | -202/+202 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-14 | Replaced 'unsigned int' with 'uint32' (guaranteed size) in all packed structs | Haru | 2 | -63/+63 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-14 | Replaced 'unsigned short' with 'uint16' (guaranteed size) in all packed structs | Haru | 1 | -39/+39 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-14 | Replaced 'unsigned char' with 'uint8' (guaranteed size) in all packed structs | Haru | 1 | -77/+77 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-08 | Removed some legacy checks for MSVC <= 2003 | Haru | 3 | -11/+7 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-08 | Removed 'temporary fix for bugreport:4961', no longer necessary | Haru | 1 | -10/+0 | |
- The provided test cases return success on all currently supported FreeBSD versions (9 and 10) - Fixes #1283 | |||||
2016-05-08 | Removed some old Subversion <=1.6 support code | Haru | 1 | -34/+0 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-08 | Removed some old MySQL 4 compatibility code | Haru | 1 | -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-08 | Fixed various issues pointed out by cppcheck | Haru | 18 | -100/+92 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-01 | Fixed truncation of `@request` messages | Haru | 1 | -2/+2 | |
- The `@request` command still makes an inter-server call. This will be fixed at a later point. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-05-01 | Merge pull request #1253 from HerculesWS/hpmhooking | Andrei Karas | 19 | -10652/+17803 | |
Hpmhooking improvements | |||||
2016-05-01 | Fix one issue found by gcc 6 with -O3. | Andrei Karas | 1 | -0/+1 | |
2016-04-30 | HPM Hooks Update | Haru | 4 | -8004/+8004 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-04-30 | Added one level of indirection to all variables in pre-hook functions | Haru | 1 | -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-30 | HPM Hooks Update | Haru | 4 | -7268/+7268 | |
2016-04-30 | Removed extra indirection level in HPMHooking post-hooks | Haru | 1 | -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-30 | HPM Hooks Update | Haru | 3 | -78/+39 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-04-30 | HPM Hooks Update | Haru | 5 | -1/+7095 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-04-30 | Added type-checking for the addHookPre() and addHookPost() macros | Haru | 3 | -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-30 | Moved HPMHooking-related definitions to plugins/HPMHooking.h | Haru | 11 | -41/+100 | |
- Plugins that want to make use of the HPMHooking must now include "plugins/HPMHooking.h". Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-04-30 | Fixed a warning in VS2015 | Haru | 1 | -6/+7 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-04-30 | Changed the name of two intif functions, incorrectly named mapif_* | Haru | 1 | -5/+6 | |
- mapif_parse_WisToGM_sub() renamed to intif_parse_WisToGM_sub() - mapif_parse_WisToGM() renamed to intif_parse_WisToGM_sub() Signed-off-by: Haru <haru@dotalux.com> |