Directory | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 33 (100.0%) | 116 (100.0%) | 3.5 |
server/trunk/common/ | 7 (21.2%) | 57 (49.1%) | 8.1 |
server/trunk/server/ | 16 (48.5%) | 41 (35.3%) | 2.5 |
server/trunk/ | 1 (3.0%) | 6 (5.2%) | 6.0 |
server/trunk/test/toolkit/ | 1 (3.0%) | 3 (2.6%) | 3.0 |
server/trunk/socket/ | 3 (9.1%) | 3 (2.6%) | 1.0 |
server/trunk/types/spellbook/ | 1 (3.0%) | 2 (1.7%) | 2.0 |
server/trunk/types/identify_altar/ | 1 (3.0%) | 2 (1.7%) | 2.0 |
server/trunk/include/ | 1 (3.0%) | 2 (1.7%) | 2.0 |
server/trunk/test/unit/common/ | 1 (3.0%) | 0 (0.0%) | 0.0 |
server/trunk/test/include/ | 1 (3.0%) | 0 (0.0%) | 0.0 |
Fix segfault when calling is_identifiable_type() on something with no typedata
Thanks to Preston Crow on crossfire-devel for the bug report.
5 lines of code changed in 1 file:
Reorder output of successful spellbook reading
On a successful read, it will now show you the contents of the book
(i.e. the spell description) followed by "you succeed in learning the
spell", rather than telling you that you succeed first and then
displaying the book contents.
8 lines of code changed in 2 files:
Removing trailing whitespace from a lot of files
This has no effect but to make the diffs cleaner, since a lot of people
(including me) use editors that strip trailing whitespace by default.
36 lines of code changed in 14 files:
Refactor need_identify into is_identifiable_type and is_identified
This should result in no functional changes, but makes a lot of code
that queries ID status a bit easier to read. It also replaces the
hard-coded list of object types in need_identify with a more general
approach of checking whether the object type has an associated
identifyskill.
64 lines of code changed in 13 files:
Fix test/unit/common to not require a crossfire install
Historically this has loaded confdir from $PREFIX, i.e. from your
installed copy of crossfire. This meant that if you didn't have
crossfire installed, you couldn't run the tests, and if you did, it
would use the confdata from the install rather than from the build tree.
With this change it automatically sets confdir based on datadir,
allowing all tests in test/unit/common/ to function without needing a
`make install` first. This problem still affects test/unit/server/ and
test/unit/bugfix, and will require more work to fix there.
3 lines of code changed in 3 files: