Scripted removal of trailing whitespaces, also removing excessive newlines at
end of files (one final newline should be all).
39 lines of code changed in 15 files:
Change even more sprintf to snprintf.
134 lines of code changed in 22 files:
Change some more sprintf to snprintf.
74 lines of code changed in 17 files:
Change some sprintf to snprintf.
28 lines of code changed in 4 files:
Fix use of uninitialised variables in the plugin API and remove some dead code
from the plugin API (as in: never called from plugin_common.c) Also cleanup
indention in map.h, change order of members in some structs in face.h to pack
them a bit better.
62 lines of code changed in 5 files:
Fix the member order in global.h to match the one in init.c. Fix some extern
with wrong type (was char* instead of const char* const). Change some prototypes
to use const pointers. Change to strtol if it exists, and only fall back to
strtol_local if it doesn't.
50 lines of code changed in 11 files:
Fix a case of assigning and passing a string literal (const char*) as a char*.
Also pack one structure a bit better.
24 lines of code changed in 5 files:
Make server send size and data in one packet, this fix is suboptimal though as
it uses memcpy to do so, it should use writev instead.
21 lines of code changed in 2 files:
Change the order of some members in some of the large and often used structs in
order to pack them better. This will mainly help on x86_64, but also a bit on x86.
No actual functionality change. Some structs could be packed even better but that
would destroy the logical sectioning of the members in groups.
128 lines of code changed in 6 files:
Fix some more snprintf using a non-constant string as format parameter, and no
arguments to format string. Also change some more // comments to /**/, as crossfire
is C89 not C99. Add some missing prototypes to headers. Add missing value to a return.
Change from using strcasestr (GNU specific) to the already existing strcasestr_local
in one place.
36 lines of code changed in 13 files:
Fix some snprintf using a non-constant string as format parameter, and no
arguments to format string. Also change some // comments to /**/, as crossfire
is C89 not C99.
37 lines of code changed in 6 files:
Removed unused .cvsignore files, after all we use SVN since a long time.
7 lines of code changed in 46 files:
Add length parameter for some functions to be able to use snprintf instead of
sprintf in those. Fixed a char* that should have been const char* in plugin code.
Fixed some typos in protocol documentation. Also fixed indention in some code while
I was working on it anyway.
118 lines of code changed in 8 files:
Clean up autoconf/automake a bit: remove some unneeded tests for X, updated syntax, and more (see changelog for details).
178 lines of code changed in 6 files:
Fix typo in error message.
1 lines of code changed in 1 file:
Fix for bug #1965528.
6 lines of code changed in 2 files:
Change a lot of static variables to static const, as they are never modified.
Also remove some non-needed nested (inside a function) extern. Also fix some
compiler warning in cfanim (on x86_64 int is not same size as long int!).
71 lines of code changed in 17 files:
Fix wrong format string for 64-bit unsigned values. Fix confusing error log message in shop code (confusing due to not refering to the correct function).
9 lines of code changed in 3 files:
Remove an unused static const array. Not referenced anywhere.
4 lines of code changed in 2 files:
Add a 'message' command, that will display a message on the whole map the victim is on.
23 lines of code changed in 2 files:
Clean some stuff, allow animation to be specified through the message field of the event connector.
59 lines of code changed in 3 files:
The current configure.ac was already set to use the utils directory for auxillary
files, so the config.guess and config.sub in the top source directory were not
used, thus moved them to utils directory. (Before, locally created copies by
autogen.sh placed in utils/ would were used. Try removing them if svn complains
about already existing files). Also force update of all autoconf/automake files
to last versions. Also fix a minor issue with "inline" and "void" being in wrong
order in a function (gcc will handle it, but the C standard doesn't allow it).
3768 lines of code changed in 15 files:
Fix some cases of using snprintf function with potentially untrusted data as
format parameter. Change two sprintf into snprintf. Add return value for all
code paths in a non-void returning function.
32 lines of code changed in 5 files:
Just updates to svn:ignore property for various directories in the server source.
5 lines of code changed in 1 file:
Apply Patch #1966455: Fix for cut off NPC dialog messages.
29 lines of code changed in 2 files:
Apply Patch #1966113: Fix uninitialised range vector in monster.c.
5 lines of code changed in 2 files:
Increase base book max size, to try to get more various messages.
5 lines of code changed in 2 files:
Apply Patch #1967076: Fix crash in use command.
- Arvid Norlander
5 lines of code changed in 2 files:
Apply patch #1965969: Unit test for common/path.c.
91 lines of code changed in 4 files:
Apply patch #1964563: Fix compile error when "MEMORY_DEBUG" is defined in config.h.
4 lines of code changed in 2 files:
Apply patch #1964058: Fix missing \0 in buffer in add_object_to_socklist.
6 lines of code changed in 2 files:
Apply patch #1964051: Valgrind error fix: Bad format string.
7 lines of code changed in 3 files:
Fix incorrect boundary of the object type array, courtesy of Arvid Norlander.
4 lines of code changed in 2 files:
Fix memory leaks.
8 lines of code changed in 2 files:
Allow the server to be built from outside of its source directory.
11 lines of code changed in 6 files:
Updated the ChangeLog for the previous commit.
4 lines of code changed in 1 file:
Fix for bug #1962926 "Fix for crash on division by zero". Courtesy of Arvid Norlander
27 lines of code changed in 1 file:
Removed 'context' stuff as it isn't used here. Clean event handling.
31 lines of code changed in 4 files:
Bug fixes, add 'moveto' command and 'byname' victim type.
6 lines of code changed in 2 files:
Bug fixes, add 'moveto' command and 'byname' victim type.
167 lines of code changed in 4 files:
Wrapper for move_to(). Fix invalid move_to parameter order.
21 lines of code changed in 3 files:
Give access to find_string() to plugins. Fix invalid manual_apply parameter order.
34 lines of code changed in 3 files:
Detect correct prototype for strerror_r().
41 lines of code changed in 5 files:
Ansi C compatibility improvement: use prototypes.
69 lines of code changed in 23 files:
Ansi C compatibility improvement: use #include <errno.h>.
2 lines of code changed in 2 files:
Ansi C compatibility improvement: do not redeclare variable.
5 lines of code changed in 2 files:
Fix possible buffer overflows.
9 lines of code changed in 2 files:
Give access to move_to() to plugins.
30 lines of code changed in 4 files:
Make code Ansi C conforming.
1 lines of code changed in 1 file:
Fix incorrect printf arguments.
3 lines of code changed in 3 files:
Fix typo.
1 lines of code changed in 1 file:
Rewrite NPC communication system.
375 lines of code changed in 16 files:
Add 'move_to' function, that can be used later on for eg plugins.
38 lines of code changed in 4 files:
Merge NPC and MAGIC_EAR handling, add comments, fix prototype to use const.
62 lines of code changed in 3 files:
Document a few things.
92 lines of code changed in 3 files:
Fix bombs being really too powerful.
5 lines of code changed in 1 file:
First fix pass on CFAnim.
27 lines of code changed in 3 files:
Fix a few warnings.
7 lines of code changed in 3 files:
Rename some functions, fix documentation.
57 lines of code changed in 8 files:
Implement feature request #1961031: 'drop food' and 'drop flesh' buttons would be nice.
34 lines of code changed in 4 files:
Fix bug #1846018: artifact monster graphics broken.
22 lines of code changed in 3 files:
Also extract NPC messages for friendly living things.
5 lines of code changed in 2 files:
Potential fix for bug #1928570: x-ray vision now needs a push start.
8 lines of code changed in 2 files:
Fix a potential underflow, forbid players to create too powerful missiles.
12 lines of code changed in 2 files:
Remove unpaid items when returning a player to his savebed for map reset or after server-specific timeout.
25 lines of code changed in 4 files:
Generate NPC information page.
115 lines of code changed in 2 files:
Better and more logical fix for bug #1936178: Trying to remove removed object causes server crash.
16 lines of code changed in 2 files:
Fix artifact reading to (kind of) trim strings. Fix add missing artifacts to fix alchemy warning.
18 lines of code changed in 3 files:
Tentative fix for bug #1936178: Trying to remove removed object causes server crash.
32 lines of code changed in 2 files:
Tentative fix for bug #1956908: bolt wc can overflow.
15 lines of code changed in 2 files:
Fix bug #1929084: Wrong artifact stats on forged items.
9 lines of code changed in 4 files:
Remove obsolete code.
3 lines of code changed in 2 files:
Add min/max monster level information to maps.
20 lines of code changed in 3 files:
Remove unused #ifdef and useless LOG.
7 lines of code changed in 2 files: