[root]/server/trunk/test/unit/server
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 216 (100.0%) | 5318 (100.0%) | 24.6 |
akirschbaum | 135 (62.5%) | 2088 (39.3%) | 15.4 |
mwedel | 17 (7.9%) | 1390 (26.1%) | 81.7 |
gros | 2 (0.9%) | 1027 (19.3%) | 513.5 |
ryo_saeba | 37 (17.1%) | 559 (10.5%) | 15.1 |
silvernexus | 2 (0.9%) | 190 (3.6%) | 95.0 |
partmedia | 16 (7.4%) | 53 (1.0%) | 3.3 |
quinet | 3 (1.4%) | 8 (0.2%) | 2.6 |
crowbert | 2 (0.9%) | 2 (0.0%) | 1.0 |
anmaster | 2 (0.9%) | 1 (0.0%) | 0.5 |
Allow subdirectory builds
Submitted by: Steven Johnson (patch #390)
27 lines of code changed in 8 files:
Fix confusion disappearing when fix_object() is called.
19 lines of code changed in 1 file:
Rework get/take.
See https://sourceforge.net/p/crossfire/patches/385/ for details.
Commands can now accept "#1" for index-based operation, or "*melee" for multiple items.
Help texts updated in consequence.
145 lines of code changed in 1 file:
add missing #include to avoid missing prototype compiler warning
1 lines of code changed in 1 file:
add missing #include to avoid warning about missing prototype
1 lines of code changed in 1 file:
Improve change_object() to handle multi-tile objects. Also add unit test for this functionality.
190 lines of code changed in 2 files:
Remove server '-detach' flag
This feature is particularly platform-dependent and is better served
using platform-specific tools such as daemon(8).
1 lines of code changed in 2 files:
Update shop test
1 lines of code changed in 1 file:
Fix unit test.
2 lines of code changed in 1 file:
Rename a few confusing account functions
12 lines of code changed in 1 file:
Fix unit test header files
While here, remove the explicit libdl linker flag.
10 lines of code changed in 2 files:
Refactor to use C99 integer type names.
Submitted by: Tolga Dalman
1 lines of code changed in 1 file:
Correctly clean temporary account files and directories.
10 lines of code changed in 3 files:
Fix `make clean` for non-GNU make (e.g. FreeBSD).
1 lines of code changed in 1 file:
Rename buy/sell flags to not conflict with those in newclient.h for item command.
1 lines of code changed in 1 file:
Use 'const char*' instead of 'char*' for strings. Make functions static.
25 lines of code changed in 8 files:
Expose a bug in query_cost().
44 lines of code changed in 2 files:
Remove trailing whitespace.
10 lines of code changed in 1 file:
Adjust alchemy success chance to not depend on the ingredients.
35 lines of code changed in 2 files:
Fix unit test.
1 lines of code changed in 1 file:
Fix value.
1 lines of code changed in 1 file:
Fix unit test for accounts when tmp files are still around.
6 lines of code changed in 1 file:
Commit account management code. Seems mature enough for general use - probably
a few bugs. What this adds is an account that characters use to log in,
at which point they then choose what character they want to play.
---
doc/Developers/protocol: Fix some formatting, clarify some points, make
some revisions to account protocol commands.
include/account_char.h: Move MAX_CHARACTERS_PER_ACCOUNT to this
file so other files to access it.
include/newserver.h: Add login_method to socket structure.
include/sockproto.h: Update for new functions.
include/sproto.h: Update for new functions.
lib/Makefile.am: Have it make account directory if it does not exist.
server/account.c: Fix bug related to loading when only 1 character
is associated with account. Change account_exists() to return
proper name of account. Clean up some function declarations
and bugs. Add some new functions to get character/account
data.
server/account_char.c: Fix typo and minor errors in error message.
server/c_misc.c: Update check_login() for 2 params
server/init.c: Add call to load account information.
server/login.c: Save account information. Modify check_login() for
account logins which bypass password checking.
server/player.c: Make get_player() non static. Add enhancements
for new login code in play again.
socket/init.c: initialize login_method to 0.
socket/loop.c: Add new protocol commands with callbacks.
socket/request.c: Add loginmethod setup command. Add several new functions
to handle account management functionality.
test/unit/server/check_account.c: Update for new return semantics for
account_exists()
---
MSW 2010-04-06
5 lines of code changed in 1 file:
Update account handling - add character specific handling for the accounts,
add test case, and add some missing svn keywords. Still some more
work to be done here
---
doc/Developers/protocol: Clean up formatting some.
include/Makefile.am: Add new file
include/account_char.h: New file for account information
include/global.h: Include account_char.h
include/newserver.h: Add references to account information to socket
include/sproto.h: Add function prototypes
socket/init.c: And initialization & cleanup for account info in socket
server/Makefile.am: Add new file
server/account.c: Add creation time to account record
server/account_char.c: New file - character management
server/login.c: Add code to update character info in socket.
server/server.c: Add periodic saving of account information.
test/unit/server/Makefile.am: Update for new file
test/unit/server/check_account_char.c: New file - test for character
management
MSW 2010-03-09
189 lines of code changed in 2 files:
Rename object_free() to object_free_drop_inventory() to hint about possible side-effects.
1 lines of code changed in 1 file:
Tighten up string checking for accounts, since they will get used for
filenames. Add new checks for these new allowed characters.
Files: server/account.c test/unit/server/check_account.c
MSW 2010-01-21
12 lines of code changed in 1 file:
Add account handling code. This is work in progress - the checked in
piece is the backend piece. Protocol updates and client interface are
next steps to do. As part of this, split_string() was modified to take
as an argument the seperator - this is useful because the account code
stores the player names in a semicolon separated list.
MSW 2010-01-07
---
common/image.c: Update call to split_string()
common/utils.c: Modify split_string() to take as an argument the seperator -
this makes it more useful/general purpose.
include/libproto.h: Update split_string() prototype
include/sproto.h: Add prototypes for account.c
server/Makefile.am: Add account.c
server/hiscore.c: Update call to split_string()
server/swap.c: Update call to split_string()
test/unit/server/Makefile.am: Add check_account test.
test/unit/server/check_account.c: functional tests for account code.
test/unit/common/check_utils.c: Update split_string() call
236 lines of code changed in 2 files:
Adapt regression test to changed spell parameters (r12127).
6 lines of code changed in 1 file:
Replace most calls to object_insert_in_map() with object_insert_in_map_at().
6 lines of code changed in 1 file:
Properly clean up empty parties.
32 lines of code changed in 1 file:
Move party related code into party.c module.
17 lines of code changed in 2 files:
Rename most functions in object.c to object_xxx().
36 lines of code changed in 3 files:
Fix failing regression test.
1 lines of code changed in 1 file:
Whitespace changes: consistently reformat code.
1884 lines of code changed in 42 files:
Tentative fix for bug #2018391: Zero-cap or capless containers, also stacking containers.
84 lines of code changed in 1 file:
Automatic style fix: replace "foo* bar" by "foo *bar", remove extra spaces inside parentheses, etc.
8 lines of code changed in 3 files:
Set svn:eol-style to native on *.c and *.h files that were missing it.
1 lines of code changed in 1 file:
Removed unused .cvsignore files, after all we use SVN since a long time.
0 lines of code changed in 1 file:
Fix incorrect printf arguments.
1 lines of code changed in 1 file:
Remove free_map()'s second parameter, unused.
1 lines of code changed in 1 file:
(15 more)