Directory server/trunk/test/unit/server/

Total Files:
45
Deleted Files:
3
Lines of Code:
4382

[root]/server/trunk/test/unit/server

Lines of Code

server/trunk/test/unit/server/ Lines of Code

Developers

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

Most Recent Commits

partmedia 2021-03-28 13:08 Rev.: 22047

Allow subdirectory builds

Submitted by: Steven Johnson (patch #390)

27 lines of code changed in 8 files:

  • server/trunk/test/unit/server: Makefile.am (+16 -12), check_account.c (+1), check_account_char.c (+1), check_attack.c (+1), check_c_object.c (+1), check_monster_change.c (+3 -2), check_shop.c (+2), comet_perf.c (+2)
ryo_saeba 2021-03-09 13:04 Rev.: 22033

Fix confusion disappearing when fix_object() is called.

19 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_attack.c (+19)
ryo_saeba 2021-02-27 05:11 Rev.: 22010

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:

  • server/trunk/test/unit/server: check_c_object.c (+145 -1)
crowbert 2020-08-17 11:34 Rev.: 21286

add missing #include to avoid missing prototype compiler warning

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_shop.c (+1)
crowbert 2020-08-17 11:22 Rev.: 21285

add missing #include to avoid warning about missing prototype

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_account_char.c (+1)
silvernexus 2018-02-03 22:03 Rev.: 20556

Improve change_object() to handle multi-tile objects. Also add unit test for this functionality.

190 lines of code changed in 2 files:

  • server/trunk/test/unit/server: Makefile.am (+1 -1), check_monster_change.c (new 189)
partmedia 2015-11-29 16:51 Rev.: 20108

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:

  • server/trunk/test/unit/server: Makefile.am (+1 -1), check_daemon.c (del)
partmedia 2015-02-16 23:44 Rev.: 19769

Update shop test

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_shop.c (+1 -1)
ryo_saeba 2014-06-18 12:58 Rev.: 19562

Fix unit test.

2 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_account.c (+2 -2)
partmedia 2014-06-15 08:47 Rev.: 19561

Rename a few confusing account functions

12 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_account.c (+12 -12)
partmedia 2014-06-09 18:11 Rev.: 19540

Fix unit test header files

While here, remove the explicit libdl linker flag.

10 lines of code changed in 2 files:

  • server/trunk/test/unit/server: Makefile.am (+1 -8), check_account_char.c (+9 -33)
partmedia 2014-04-25 19:00 Rev.: 19364

Refactor to use C99 integer type names.

Submitted by: Tolga Dalman

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_shop.c (+1 -1)
ryo_saeba 2013-08-15 05:24 Rev.: 18934

Correctly clean temporary account files and directories.

10 lines of code changed in 3 files:

  • server/trunk/test/unit/server: Makefile.am (+4), check_account.c (+3 -3), check_account_char.c (+3)
partmedia 2013-07-15 23:55 Rev.: 18787

Fix `make clean` for non-GNU make (e.g. FreeBSD).

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: Makefile.am (+1 -2)
ryo_saeba 2012-11-18 13:56 Rev.: 18523

Rename buy/sell flags to not conflict with those in newclient.h for item command.

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_shop.c (+1 -1)
ryo_saeba 2011-11-01 14:40 Rev.: 15379

Use 'const char*' instead of 'char*' for strings. Make functions static.

25 lines of code changed in 8 files:

  • server/trunk/test/unit/server: check_account.c (+3 -3), check_account_char.c (+3 -3), check_alchemy.c (+3 -3), check_attack.c (+3 -3), check_c_object.c (+3 -3), check_c_party.c (+3 -3), check_shop.c (+3 -3), comet_perf.c (+4 -4)
ryo_saeba 2011-03-22 18:03 Rev.: 14352

Expose a bug in query_cost().

44 lines of code changed in 2 files:

  • server/trunk/test/unit/server: Makefile.am (+2 -2), check_shop.c (+42 -3)
akirschbaum 2010-11-24 14:01 Rev.: 14125

Remove trailing whitespace.

10 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_account_char.c (+10 -10)
ryo_saeba 2010-11-07 11:05 Rev.: 14075

Adjust alchemy success chance to not depend on the ingredients.

35 lines of code changed in 2 files:

  • server/trunk/test/unit/server: Makefile.am (+2 -2), check_alchemy.c (+33 -3)
ryo_saeba 2010-09-08 11:47 Rev.: 13767

Fix unit test.

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: comet_perf.c (+1 -1)
ryo_saeba 2010-05-23 15:25 Rev.: 13295

Fix value.

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_account.c (+1 -2)
ryo_saeba 2010-04-18 12:19 Rev.: 12926

Fix unit test for accounts when tmp files are still around.

6 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_account.c (+6 -2)
mwedel 2010-04-07 02:15 Rev.: 12864

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:

  • server/trunk/test/unit/server: check_account.c (+5 -4)
mwedel 2010-03-13 22:54 Rev.: 12636

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:

  • server/trunk/test/unit/server: Makefile.am (+2 -1), check_account_char.c (new 187)
akirschbaum 2010-03-08 13:33 Rev.: 12599

Rename object_free() to object_free_drop_inventory() to hint about possible side-effects.

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_c_object.c (+1 -1)
mwedel 2010-01-29 02:03 Rev.: 12374

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:

  • server/trunk/test/unit/server: check_account.c (+12 -1)
mwedel 2010-01-08 02:06 Rev.: 12321

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:

  • server/trunk/test/unit/server: Makefile.am (+1 -1), check_account.c (new 235)
akirschbaum 2009-10-24 15:56 Rev.: 12217

Adapt regression test to changed spell parameters (r12127).

6 lines of code changed in 1 file:

  • server/trunk/test/unit/server: comet_perf.c (+6 -6)
akirschbaum 2009-06-24 14:17 Rev.: 12016

Replace most calls to object_insert_in_map() with object_insert_in_map_at().

6 lines of code changed in 1 file:

  • server/trunk/test/unit/server: comet_perf.c (+6 -27)
akirschbaum 2009-06-14 15:09 Rev.: 11878

Properly clean up empty parties.

32 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_c_party.c (+32 -14)
akirschbaum 2009-06-14 13:25 Rev.: 11870

Move party related code into party.c module.

17 lines of code changed in 2 files:

  • server/trunk/test/unit/server: Makefile.am (+2), check_c_party.c (+15 -15)
akirschbaum 2009-06-12 10:46 Rev.: 11817

Rename most functions in object.c to object_xxx().

36 lines of code changed in 3 files:

  • server/trunk/test/unit/server: check_attack.c (+8 -8), check_c_object.c (+13 -13), comet_perf.c (+15 -15)
akirschbaum 2009-01-24 15:41 Rev.: 11239

Fix failing regression test.

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_c_party.c (+1)
akirschbaum 2009-01-24 12:22 Rev.: 11229

Whitespace changes: consistently reformat code.

1884 lines of code changed in 42 files:

  • server/trunk/test/unit/server: check_alchemy.c (+42 -45), check_apply.c (+42 -45), check_attack.c (+46 -49), check_ban.c (+42 -45), check_build_map.c (+42 -45), check_c_chat.c (+42 -45), check_c_misc.c (+42 -45), check_c_move.c (+42 -45), check_c_new.c (+42 -45), check_c_object.c (+66 -68), check_c_party.c (+42 -44), check_c_range.c (+42 -45), check_c_wiz.c (+42 -45), check_commands.c (+42 -45), check_daemon.c (+42 -45), check_disease.c (+42 -45), check_egoitem.c (+42 -45), check_gods.c (+42 -45), check_hiscore.c (+42 -45), check_init.c (+42 -45), check_login.c (+42 -45), check_main.c (+42 -45), check_monster.c (+42 -45), check_move.c (+42 -45), check_pets.c (+42 -45), check_player.c (+42 -45), check_plugins.c (+42 -45), check_resurrection.c (+42 -45), check_rune.c (+42 -45), check_shop.c (+42 -45), check_skill_util.c (+42 -45), check_skills.c (+42 -45), check_spell_attack.c (+42 -45), check_spell_effect.c (+42 -45), check_spell_util.c (+42 -45), check_swamp.c (+42 -45), check_swap.c (+42 -45), check_time.c (+42 -45), check_timers.c (+42 -44), check_weather.c (+42 -45), check_win32.c (+42 -45), comet_perf.c (+134 -163)
ryo_saeba 2008-10-31 18:01 Rev.: 10234

Tentative fix for bug #2018391: Zero-cap or capless containers, also stacking containers.

84 lines of code changed in 1 file:

  • server/trunk/test/unit/server: check_c_object.c (+84 -16)
quinet 2008-07-20 04:49 Rev.: 9584

Automatic style fix: replace "foo* bar" by "foo *bar", remove extra spaces inside parentheses, etc.

8 lines of code changed in 3 files:

  • server/trunk/test/unit/server: check_attack.c (+5 -5), check_c_object.c (+1 -1), check_c_party.c (+2 -2)
anmaster 2008-06-01 11:40 Rev.: 9198

Set svn:eol-style to native on *.c and *.h files that were missing it.

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: comet_perf.c (+1)
anmaster 2008-05-25 05:03 Rev.: 9151

Removed unused .cvsignore files, after all we use SVN since a long time.

0 lines of code changed in 1 file:

  • server/trunk/test/unit/server: .cvsignore (del)
akirschbaum 2008-05-12 03:52 Rev.: 8973

Fix incorrect printf arguments.

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: comet_perf.c (+1 -1)
ryo_saeba 2008-03-29 04:47 Rev.: 8643

Remove free_map()'s second parameter, unused.

1 lines of code changed in 1 file:

  • server/trunk/test/unit/server: comet_perf.c (+1 -1)

(15 more)

Generated by StatSVN 0.7.0