Update comment in include/define.h: about INORGANIC (type 73) including dragon scales. Making them type flesh had negative consequences such as making them edible and causing them to weigh 50000Kg instead of 25Kg each
7 lines of code changed in 2 files:
common/player.c, include/libproto.h, server/player.c: Fix a few memory leaks
if player selects "play again" after logging out.
35 lines of code changed in 4 files:
plugins/cfpython/cfpython.c: Remove some Py_DECREF() calls in the python module.
This fixes bug #2459929 (DECREF error, bombs server if python is strict).
However, I'm not sure this is the correct way to fix that bug.
12 lines of code changed in 2 files:
macros/cf_python.m4: Add python 2.6 to the python path search lists as well.
Arvid Norlander 2009-01-28
6 lines of code changed in 2 files:
Remove MapMode type/mapmode field since only one mode is supported.
4 lines of code changed in 4 files:
common/shstr.c, common/arch.c, common/path.c: Fix some int that should have been
size_t, found using splint.
common/arch.c: Also fix an "int" that should have been "unsigned long".
include/libproto.h, include/path.h: Update prototypes where needed for these int
to size_t changes.
22 lines of code changed in 6 files:
macros/libtool.m4: Removed this file as it depends on which libtool version is
installed on the system running autogen.sh. configure will fail with an error
if version doesn't match between this file and the generated (non-versioned)
file utils/ltmain.sh. autogen.sh will install the correct version of
macros/libtool.m4 as long as a newer version doesn't exist. Thus removing this
file from SVN is the correct way to solve the issue. This file _should_
however be included in release tarballs since utils/ltmain.sh will also be
included there.
macros/: Added svn:ignore for libtool.m4
11 lines of code changed in 2 files:
server/plugins.c: Set plugins_list to NULL when unloading plugins at exit to
prevent some possible issues if someone tries to mess with plugins afterwards.
6 lines of code changed in 2 files:
include/libproto.h, common/arch.c: Make hasharch() in arch.c static since it
wasn't (and shouldn't be) used anywhere else.
5 lines of code changed in 3 files:
test/unit/common/check_shstr.c: Fix small memory leak in the shstr unit test.
common/arch.c: Make free_all_archs() also clear the hash table for archetypes,
this fixes an invalid read in test/unit/common/check_arch.c.
8 lines of code changed in 3 files:
Use a subdirectory for aclocal macros instead of the old-style acinclude.m4.
This will make it simpler to maintain and update to current upstream copies of
the various autoconf macros. This commit does not update to current upstream
copies, but extracts the version crossfire used from the old acinclude.m4.
7353 lines of code changed in 10 files:
Remove redundant semicolons.
8 lines of code changed in 7 files:
Whitespace changes.
32 lines of code changed in 16 files:
lib/Makefile.am, lib/adm/collect_images.pl: Make out of tree builds work. Note
that the arch symlink in lib should be placed in the build tree. Further: the
Perl script change might be suboptimal, I'm not a Perl expert.
20 lines of code changed in 3 files:
Whitespace changes.
12 lines of code changed in 1 file:
types/transport/transport.c: Add missing braces to if clause in
transport_type_process().
MSW 2009-01-24
6 lines of code changed in 2 files:
Server part of client window resizing. When server gets a mapsize request,
it now clears its map data so it does a complete refresh of the map to the
client. This fixes drawing issues.
---
include/sockproto.h: Change map_newmap_cmd() definition
server/move.c, server/plugins.c, server/server.c, server/spell_effect.c:
Change call to map_newmap_cmd()
socket/request.c: Add call to map_new_cmd() in setup area. Change
map_newmap_cmd() to take a socket structure instead of player -
the setup only has socket pointer and not player pointer to use.
---
MSW 2009-01-24
29 lines of code changed in 7 files:
Fix compiler warnings.
182 lines of code changed in 7 files:
Fix ChangeLog.
2 lines of code changed in 1 file:
Fix failing regression test.
3 lines of code changed in 2 files:
Whitespace change.
1 lines of code changed in 1 file:
test/unit/common/check_object.c: Make the test_count_free test work in a build
with MEMORY_DEBUG turned on as well.
11 lines of code changed in 2 files:
Fix crash if read_bmap_names() is called more than once.
3 lines of code changed in 2 files:
Fix failing regression test.
5 lines of code changed in 2 files:
Whitespace change.
0 lines of code changed in 1 file:
common/readable.c, common/dialog.c, common/loader.l, common/treasure.c,
common/image.c, socket/item.c: Add missing ending \n to LOG() calls.
16 lines of code changed in 7 files:
socket/info.c: Fix stack smashing in magic_mapping_mark() on maps wider than 50
tiles.
8 lines of code changed in 2 files:
Fix failing regression test.
5 lines of code changed in 2 files:
Whitespace changes: consistently reformat code.
105 lines of code changed in 9 files:
Whitespace changes: consistently reformat code.
5274 lines of code changed in 110 files:
Whitespace changes: consistently reformat code.
943 lines of code changed in 5 files:
Whitespace changes: consistently reformat code.
2180 lines of code changed in 24 files:
Whitespace changes: consistently reformat code.
1868 lines of code changed in 61 files:
plugins/common/hashtable.c: Rewrite the code documentation to doxygen style.
55 lines of code changed in 2 files:
plugins/cflogger/cflogger.c: Make non-direct kills (kill by spell, kill by
poison, kill by golem and so on) register properly.
12 lines of code changed in 2 files:
plugins/cflogger/cflogger.c: Slight error in last commit, turns out time table
can't use real time as primary key. Change database schema to format 3.
Upgrades directly from version 1 not run into the issue.
51 lines of code changed in 2 files:
plugins/cflogger/cflogger.c: Clean out some of the messy and broken SQL (didn't
use indexes, was missing important constraints and so on) in cflogger. This
includes introducing a new version of the SQL schema used. The database will
be automatically upgraded at next run. Be aware of that older versions were
missing a check for too new format, thus once you upgraded the format you
should not run it with an older version of the server. Changes to the schema
includes adding some indexes and similar.
170 lines of code changed in 2 files:
plugins/cflogger/cflogger.c, plugins/cfnewspaper/cfnewspaper.c: Now handles
random maps the way the source code comments claims it does.
plugins/cfnewspaper/cfnewspaper.c: Make info about kills from a specific region
work.
15 lines of code changed in 3 files:
Whitespace changes: consistently reformat code.
848 lines of code changed in 9 files:
Whitespace changes: consistently reformat code.
9654 lines of code changed in 27 files:
Whitespace changes: consistently reformat code.
34 lines of code changed in 11 files:
Whitespace changes: consistently reformat code.
2575 lines of code changed in 18 files:
common/object.c: Add missing newline to log message that is shown if
MEMORY_DEBUG is defined.
5 lines of code changed in 2 files:
common/arch.c: Fix memory leak in archetypes when discrete damage is used.
5 lines of code changed in 2 files:
server/plugins.c: Remove forgotten debug output.
plugins/cflogger/cflogger.c, plugins/cfnewspaper/cfnewspaper.c: Add missing
newline in log output.
plugins/cfnewspaper/cfnewspaper.c: Close the second sqlite database as well.
12 lines of code changed in 4 files:
server/plugins.c, server/server.c: Run closePlugin() in the various plugins at
server shutdown. Previously it was only run when the wiz command plugout was
used. This change is needed to properly close the sqlite database handles in
cflogger and cfnewspaper.
include/sproto.h: Run make proto in server/ to include the newly added
cleanupPlugins() in server/plugins.c. This caused some other changes, such as
reordering and adding some other functions.
42 lines of code changed in 4 files:
Whitespace changes: consistently reformat code.
397 lines of code changed in 24 files:
Whitespace changes: consistently reformat code.
3225 lines of code changed in 31 files:
Fix broken error checking in plugin loading code.
4 lines of code changed in 2 files:
Fix a rare bug that caused the use of an uninitialised variable in god_info_msg() for gods denies summoning (such as valkyrie).
6 lines of code changed in 2 files:
Whitespace changes: consistently reformat code.
282 lines of code changed in 23 files:
Whitespace changes: consistently reformat code.
34 lines of code changed in 1 file:
Whitespace changes: consistently reformat code.
5839 lines of code changed in 33 files: