Directory trunk/crossfire/utils/

Directory Created:
1999-04-02 14:10
Directory Deleted:
2006-09-19 02:24
Total Files:
0
Deleted Files:
39
Lines of Code:
0

[root]/trunk/crossfire/utils

Lines of Code

trunk/crossfire/utils/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 173 (100.0%) 12861 (100.0%) 74.3
mwedel 97 (56.1%) 5669 (44.1%) 58.4
tchize 21 (12.1%) 3914 (30.4%) 186.3
quinet 4 (2.3%) 1245 (9.7%) 311.2
akirschbaum 8 (4.6%) 1159 (9.0%) 144.8
uid200 11 (6.4%) 524 (4.1%) 47.6
cvs 5 (2.9%) 149 (1.2%) 29.8
tanner 16 (9.2%) 133 (1.0%) 8.3
garbled 4 (2.3%) 54 (0.4%) 13.5
qal21 1 (0.6%) 6 (0.0%) 6.0
peterm 1 (0.6%) 5 (0.0%) 5.0
mids 1 (0.6%) 2 (0.0%) 2.0
avogl 2 (1.2%) 1 (0.0%) 0.5
temitchell 1 (0.6%) 0 (0.0%) 0.0
ryo_saeba 1 (0.6%) 0 (0.0%) 0.0

Most Recent Commits

mwedel 2006-09-19 02:24 Rev.: 4942

make branche directories, delete old trunk.

0 lines of code changed in 39 files:

  • trunk/crossfire/utils: .cvsignore (del), Makefile.am (del), Makefile.in (del), ad2c.script (del), add_throw.perl (del), add_throw.perl.in (del), arch2xml.py (del), cfarches.xsl (del), cfmeta-rrd (del), checkInternalPrototype.sh (del), config.guess (del), config.sub (del), crossfire-loop.c (del), crossloop (del), crossloop.in (del), crossloop.pl (del), crossloop.pl.in (del), crossloop.pl.tmpl.in (del), crossloop.tmpl (del), crossloop.tmpl.in (del), crossloop.web.in (del), depcomp (del), flushlocks (del), generateEmptyCheck.sh (del), get_release (del), get_release.in (del), install-sh (del), loreCollect.py (del), ltmain.sh (del), maps.c (del), metaserver.pl (del), metaserver.pl.in (del), missing (del), mkinstalldirs (del), mktable.script (del), player_dl.html (del), player_dl.pl.in (del), scores.pl.in (del), update_rp (del)
quinet 2006-08-25 16:28 Rev.: 4836

configure, aclocal.m4, utils/config.guess, utils/config.sub,
utils/ltmain.sh, include/autoconf.h.in, */Makefile.in: regenerated using
slightly newer versions of libtoolize, aclocal, automake and autoconf.

1245 lines of code changed in 4 files:

  • trunk/crossfire/utils: Makefile.in (+10 -4), config.guess (+308 -273), config.sub (+77 -38), ltmain.sh (+850 -405)
ryo_saeba 2006-07-29 05:13 Rev.: 4727

Add .cvsignore files, courtesy Rapha��l Quinet - quinet

0 lines of code changed in 1 file:

  • trunk/crossfire/utils: .cvsignore (new)
tchize 2006-06-03 13:47 Rev.: 4623


Created 2 little script to detect functions that are dead or shuold go static and to extract check_prototypes

0 lines of code changed in 2 files:

  • trunk/crossfire/utils: checkInternalPrototype.sh (new), generateEmptyCheck.sh (new)
tchize 2006-06-01 14:07 Rev.: 4617


Fixed error in build process regarding unit test.
Our modularization is way broken, with have intredependent .a files, this should be solved.
Applied a compilation workaround suggest by gnu, twice every .a at link time. Applied an automake
workaround as we need to pass --preserver-dup-deps to autotools and to do this only current CVS
version can do it without a bit i hacking. Applied Hacking suggested by automake mailing list.

472 lines of code changed in 3 files:

  • trunk/crossfire/utils: config.guess (+106 -52), config.sub (+104 -35), ltmain.sh (+262 -332)
mwedel 2006-05-18 00:27 Rev.: 4568

This commit adds support for the map2 protocol command (10 layer map).
This changes how the data is stored and sent to the client. This also
implements the idea of client handling map animations, so adds some object
flags so that the server knows if it should let the client handle animations
or not. Support for the original map protocol command is removed.
---
aclocal.m4: rebuilt
configure.ac: Add checks for zlib.h, libz - not used right now, but will
probably be used in the future, so no reason to remove it.
common/loader.l: Add client_anim_sync, client_anim_random FLAGS.
common/map.c: Add add_face_layer() to set face for a layer. Redo/simplify
update_position to store faces away based on layering criteria.
common/time.c: Replace long pticks with a uint32, since size of a long will
vary, and we now send pticks to the client as a 32 bit value.
crossedit/CrEdit.c: Update the draw logic based on the fact there are more
layers now.
crossedit/Edit.c: Comment out some code that probably should be fixed.
Replace calls of SET_MAP_FACE with SET_MAP_FACE_OBJ
doc/Developers/protocol: Updated with map2, tick protocol additions.
Reorganize the parameters in the setup protocol command so they are now
listed in alphabetical order.
include/autoconf.h.in: Add HAVE_ZLIB_H define.
include/define.h: Update for the FLAG_CLIENT_ANIM values.
include/face.h: Remove MapLook structure - no longer used.
include/global.h: change extern type for pticks from long to uint32
include/map.h: Change MAP_LAYERS to 10. Add definitions for what each
map layer is. Remove GET/SET_MAP_FACE macro - no longer used,
GET/SET_MAP_FACE_OBJ replaces it. Add GET_MAP_FACE_OBJS which
returns pointer to all the object info for the space. Remove
faces from MapSpace structure.
include/newclient.h: Update with new defines used for map2 protocol
command.
include/newserver.h: Change type of faces in map_cell_struct to be
uint16 to be consistent. Change 'count' to 'darkness' to more
accurately describe what it represents. Add MAP2_COORD_OFFSET
define. Add Map2Cmd to MapMode enum. Add map_scroll_x/y
to socket structure so we send those as part of map2 command.
Add tick field to socket structure to know if we should send
tick data to the client.
server/login.c: Remove extern long pticks declaration - declared
in global.h - don't need to declare it again locally.
socket/info.c: Rewrite magic map code to use GET_MAP_FACE_OBJ
instead of GET_MAP_FACE macros.
socket/init.c: Initialize new fields in socket structure to 0.
socket/loop.c: If client wants tick data sent, send one each tick.
socket/request.c: Add setup responses for tick, map2 requests. Remove some
extra code in Map1a setup. Send error message to client if not using
at least Map1 protocol level. Modify map_newmap_cmd() to clear
scroll information when using Map2. Remove original (map0) protocol
logic. Update map_clearcell() to clear all 10 layers. Replace
MAX_LAYERS with MAP_LAYERS. Add add_head() to remove some of the
complication from update_space(). Add code in draw_client_map1()
to find which 3 layers to send to the client from the 10 we now have.
Add map2_add_ob(), map2_delete_layer(), check_space_for_heads(),
draw_client_map2() to handle map2 protocol. Add send_tick() -
sends tick to client, but also forces flush of data to reduce lag.
utils/config.guess.utils/config.sub,utils/ltmain.sh: rebuilt
MSW 2006-05-15

419 lines of code changed in 3 files:

  • trunk/crossfire/utils: config.guess (+52 -106), config.sub (+35 -104), ltmain.sh (+332 -262)
tchize 2006-05-03 16:50 Rev.: 4554



Added autogeneration of html and text report for test process.

6 lines of code changed in 1 file:

  • trunk/crossfire/utils: Makefile.in (+6)
tchize 2006-03-22 18:06 Rev.: 4546


updated configure.ac to automatically check availability of a few headers required by crossedit
Basically, it tries to compile a test code having only includes of xaw, posix, etc. Should be
enough to prevent most crossedit compilation issue but not perfect. (Should check version of lib and
try a few methods on them). crossedit/ and test/unit/crossedit are skipped by make if test fail.

1 lines of code changed in 1 file:

  • trunk/crossfire/utils: Makefile.in (+1)
tchize 2006-03-21 17:46 Rev.: 4543


Initial commit of unit tests (see doc/Developers/testplans)
This is it, initial commit of unit test framework. It contains empty testcases
for all unit tests. See test/unit/check_shstr.c for a completed example unit test :)

4 lines of code changed in 1 file:

  • trunk/crossfire/utils: Makefile.in (+4)
qal21 2006-01-31 23:27 Rev.: 4413

Fixed arch2xml.py script to parse comments

6 lines of code changed in 1 file:

  • trunk/crossfire/utils: arch2xml.py (+6 -2)
akirschbaum 2005-11-05 05:17 Rev.: 3980

aclocal.m4, configure, utils/config.guess, utils/config.sub, utils/ltmain.sh,
*Makefile.in, plugins/cfanim/Makefile, plugins/Makefile: Rebuilt.

472 lines of code changed in 3 files:

  • trunk/crossfire/utils: config.guess (+106 -52), config.sub (+104 -35), ltmain.sh (+262 -332)
mwedel 2005-08-11 01:22 Rev.: 3525

Update for release 1.8.0.
include/Makefile.am: missing quest.h file
Rest automatic rebuild
MSW 2005-08-10

414 lines of code changed in 3 files:

  • trunk/crossfire/utils: config.guess (+51 -90), config.sub (+28 -83), ltmain.sh (+335 -265)
akirschbaum 2005-07-16 13:14 Rev.: 3451

*Makefile.in, aclocal.m4, configure: Rebuilt generated files.

2 lines of code changed in 1 file:

  • trunk/crossfire/utils: Makefile.in (+2 -2)
mwedel 2005-07-08 20:03 Rev.: 3408

configure.ac, configure, aclocal.m4, */Makefile.in: Add AM_MAINTAINER_MODE
macro to configure.ac - this should hopefully supress auto regeneration of
makefiles.in
MSW 2005-07-08

6 lines of code changed in 1 file:

  • trunk/crossfire/utils: Makefile.in (+6 -3)
mwedel 2005-07-08 19:03 Rev.: 3403

Commit updated makefiles so files these depend on have been updated
(aclocal/include).
MSW 2005-07-08

202 lines of code changed in 1 file:

  • trunk/crossfire/utils: Makefile.in (+202 -112)
mwedel 2005-07-08 19:01 Rev.: 3402

Commit updated versions - likely result of config.sub and config.guess
in top level directory being updated.
MSW 2005-07-08

568 lines of code changed in 6 files:

  • trunk/crossfire/utils: config.guess (+1 -4), config.sub (+4 -15), depcomp (+131 -32), install-sh (+253 -180), missing (+74 -57), mkinstalldirs (+105 -54)
mwedel 2005-07-08 18:48 Rev.: 3397

random_maps/monster.c: Reduce monster density on random maps - take into account
size of monsters when calculating density.
utils/metaserver.pl.in: At a timeout value that limits how often clients can
ask for metaserver info.
MSW 2005-07-08

22 lines of code changed in 1 file:

  • trunk/crossfire/utils: metaserver.pl.in (+22 -10)
tchize 2005-05-06 16:10 Rev.: 3245


added a new command to identify the type of text send to client.
media tags can be included inside them. Those text types include
scrolls, books, message of the day, signs, aso.
See protocol doc for details

112 lines of code changed in 1 file:

  • trunk/crossfire/utils: Makefile.in (+112 -202)
mwedel 2005-04-14 01:49 Rev.: 3197

utils/Makefile.am: Add cfmeta-rrd to list of files to add to distributions
utils/cfmeta-rrd: Example of sample script that takes data and stores it into
rrd file and draws graphs (new file).
utils/metaserver.pl.in: Add recording of useful stats to external file so they
can be processed by other external scripts.
MSW 2005-04-13

87 lines of code changed in 4 files:

  • trunk/crossfire/utils: Makefile.am (+1 -1), Makefile.in (+3 -3), cfmeta-rrd (new 58), metaserver.pl.in (+25 -5)
akirschbaum 2005-03-09 14:17 Rev.: 3109

*Makefile.in, aclocal.m4, configure, utils/config.guess, utils/config.sub,
utils/ltmain.sh: Rebuild generated files.

685 lines of code changed in 4 files:

  • trunk/crossfire/utils: Makefile.in (+207 -109), config.guess (+65 -44), config.sub (+53 -24), ltmain.sh (+360 -292)
mwedel 2005-01-24 02:29 Rev.: 3053

common/object.c: Change CAN_MERGE() from an inline function, since
it calls itself and inline functions are not supposed to do that.
Update type check in insert_ob_in_map() to check against defined
type (EXIT) instead of hardcoded integer value (66).
crossedit/xutil.c: Update to just include Defines.h, which then includes
all the other necessary files, including global.h.
include/global.h: Add #ifdef checks for the UINT*_MAX types, as some
systems already define these values, which results in a redefinition
error. Also fix up // style comment.
include/shstr.h: Include proper cast in TOPBIT definition.
server/main.c: Don't display 'xyz left the game' messages if the player
is only at the get name or get password prompt. Prevents possible
spoofing of that message.
server/player.c: Clean up formatting of check_pick() function. If player
is using newpickup to pick up booze, also pick up poison unless
they know it is cursed.
socket/request.c: AskSmooth() - change buffer type to uint8 so that
it matches what the SockList structure wants.
utils/scores.pl.in: Use skill_praying to find players god, and not the
deprecated experience_wis object.
MSW 2005-01-23

1 lines of code changed in 1 file:

  • trunk/crossfire/utils: scores.pl.in (+1 -1)
tanner 2004-02-04 14:35 Rev.: 2592

Call me a linux bigot, but I believe all the open source operating systems and
many of the commerical operating systems install perl in /usr/bin/perl now.

1 lines of code changed in 1 file:

  • trunk/crossfire/utils: mktable.script (+1 -1)
tanner 2004-02-04 02:25 Rev.: 2581

Feed debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=168524
back into upstream source

50 lines of code changed in 2 files:

  • trunk/crossfire/utils: config.guess (+19 -2), config.sub (+31 -4)
mwedel 2004-01-21 03:13 Rev.: 2527

Rebuilt with up to date aclocal/automake/autoconf so that they all work
properly.
MSW 2004-01-20

220 lines of code changed in 1 file:

  • trunk/crossfire/utils: Makefile.in (+220 -97)
tchize 2004-01-18 05:51 Rev.: 2520



Rebuilded Makefile.in using autogen.sh because of recent add of a file in server/
Also rebuilded loader.c for linux because loader.l was modified by a windows developper.

2152 lines of code changed in 4 files:

  • trunk/crossfire/utils: Makefile.in (+97 -220), config.guess (+32 -8), config.sub (+32 -14), ltmain.sh (+1991 -740)
mwedel 2003-10-01 01:55 Rev.: 2364

utils/player_dl.html utils/player_dl.pl.in: New files - scripts for allowing
character directories to be downloaded over the web.
configure.ac: Add check for 'tar', so that we can put it in the script above.
Makefile.in (All of them): Changed because TAR variable propogated to them.
MSW 2003-09-30

261 lines of code changed in 4 files:

  • trunk/crossfire/utils: Makefile.am (+2 -2), Makefile.in (+8 -4), player_dl.html (new 14), player_dl.pl.in (new 237)
mwedel 2003-09-23 00:21 Rev.: 2338

Add conditional compilation to the stop level Makefile.am so that it
only tries to compile crossedit if we have X libraries. Also, rebuild
the files with older version of aclocal/autoheader/automake, so it
shouldn't have as many troubles with some peoples systems.
MSW 2003-09-22

39 lines of code changed in 1 file:

  • trunk/crossfire/utils: Makefile.in (+39 -92)
tchize 2003-06-19 05:59 Rev.: 2194


Added support for smoothing to the client.
This will allow (i hope) better graphical results while using very
little bandwidth overhead.
Changes done follows:
- Added protocol command MapExtendedInfos and smooth commands to server
- Added a SetUp paramater in protocol for activating smoothing
(disabled by default) or more general Extended map infos
- Added file lib/smooth a text file containing some smoothing info a
client might ask the server about.
- Changed loader.l to be able to mark an object as 'smoothed' in
archetypes (the smoothlevel parameter) and rebuild loader.c
accordingly
- Changed lib/Makefile.am to install lib/smooth file in shared folder
- Rebuild the Makefiles.am and the Configure script (using autogen.sh)

To be able to smooth, A client commit (the common part+ the gtk part)
will follow and an archetypes commit will also follow.

I will also detail changes to the protocol within a few days
Server has been tested with older client to check backward compatibility

511 lines of code changed in 4 files:

  • trunk/crossfire/utils: Makefile.in (+92 -39), config.guess (+137 -109), config.sub (+43 -21), ltmain.sh (+239 -196)
temitchell 2003-05-06 01:20 Rev.: 2116

- lore collection script in python.
- basic functionality for the curious until this can be written in
Perl or some such (FYI - Perl 5 book is right under the one for the C#
class I have to take for work...)

0 lines of code changed in 1 file:

  • trunk/crossfire/utils: loreCollect.py (new)
mwedel 2003-04-05 00:39 Rev.: 2087

acinclude.m4: Update path to find python includes, since aclocal.m4 gets
derived from this file.
configure.ac, configure: Add utils/scores.pl to list of files to substitute on.
common/loader.l, loader.c: Add subtype for objects - will be used in future work.
common/object.c: Add subtype diff check in CAN_MERGE()
common/porting.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have
hardcoded 777 permissions.
doc/Makefile.in, doc/Makefile.am, doc/Developers/Makefile.am,
doc/Developers/Makefile.in: Move some of the spell docs around and merge
them together
doc/Developers/objects: Add notes about subtype.
doc/Developers/spells: New file, contains preliminary work on spell objects.
include/config.h: Remove command about DM_MAIL and LIBDIR from file, as they
are options no longer present. Update comment about SAVE_MODE, and add
SAVE_DIR_MODE
include/object.h: Add subtype field to object.
server/login.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have
hardcoded 6700 permissions.
utils/Makefile.in: Updated to know about scores.pl
utils/scores.pl.in: New file - reads player file to generate HTML score
file.
MSW 2003-04-04

378 lines of code changed in 2 files:

  • trunk/crossfire/utils: Makefile.in (+4 -2), scores.pl.in (new 374)
mwedel 2003-02-25 02:18 Rev.: 2042

*/Makefile.in, related files: Updated for 1.5.0
server/attack.c: Don't change weak wall image if no damage was actually done.
server/c_object.c: Include math.h - needed for pow()
server/spell_effect.c: fix infinite loop in town_portal
MSW 2003-02-24

251 lines of code changed in 2 files:

  • trunk/crossfire/utils: Makefile.in (+39 -92), ltmain.sh (+212 -210)
tchize 2002-12-31 08:36 Rev.: 1905


Added crossfire-config to the build list of the configure.ac and regenerated the Makefiles and
configure.in to handle it

656 lines of code changed in 4 files:

  • trunk/crossfire/utils: Makefile.in (+92 -39), config.guess (+199 -153), config.sub (+155 -96), ltmain.sh (+210 -212)
mwedel 2002-12-03 02:40 Rev.: 1868

TODO: Move more items from my mailbox to the TODO list.
common/living.c: Init item_power in player to zero in fix_player() -
bogus results were getting generated as it just kept getting incremented.
common/porting.c: fix remove_directory so it works properly - checking
for . and .. entries too late, calling unlink instead of rmdir.
include/sproto.h: rebuilt
lib/animations, lib/archetypes, lib/bmaps, lib/bmaps.paths, lib/crossfire.0,
lib/crossfire.1, lib/faces: Rebuilt - new archs added, catch is_thrown
addition to thrown rock/boulder archs.
server/c_move.c, server/c_range.c: Add another parameter to do_skill() - part, which
is closest part of creature to target object - current only used
for the throw code. Update calls to this function to add additional
parameter.
server/c_object.c: Remove the NDI_UNIQUE from the 'item is too heavy
to pick up' so that it won't flood the client with them if players
goes onto space with lots of objects.
server/main.c: Minor cleanup to fix compiler warning about ambigous
if/else.
server/monster.c: Pass closest part of monster when having it use
a skill so that it doesn't throw rocks into itself. Update calls to
do_skill as described above.
server/player.c: Cal delete_player() when player quits - this properly
cleans up any per player unique maps they have. Also, check for
any such maps currently in memory, and delete those so that unique
maps don't get 'gifted' to the next character of the same name.
Update calls to do_skill as described above.
server/shop.c: Combine items of the same name together in the output
of the shop listings. Include the number of items, remove special
casing of some objects so that query_base_name is used for all item
types.
server/skill_util.c: Modify do_skill() to take additional param as
described above. Also, have do_skill return 1 on success,
0 on failur to use skill, and not return exp - otherwise,
monster code has no idea if skill was successfully used, as throw
doesn't grant exp, and this caused monsters to move into the
object they just threw. Update calls to do_skill as described
above.
server/skills.c: Clean up skill_throw function to return meaningfull
value. Also, pass along extra part of closest monster part
to target. Modify do_throw to return value, use closest
part of body as origin point for thwon object.
server/spell_effect.c: Use isqrt function instead of definining
ISQRT that used float version. Cleans up compile warning - most
likely not seen before as spell was #ifdef SPELL_ENCUMBERANCE out.
server/time.c: Put sanity checking for players speed_left in
move_player_mover() - got some reports of infinite negative speed
on metalforge, and this is the only place in the code where I could
see that happening given the description of the events.
utils/arch2xml.py, utils/cfarches.xsl: New script (and template) by
Todd Mitchell. Script can convert archs to xml, and the template
is usuable with mozilla to look at the output.
MSW 2002-12-02

159 lines of code changed in 2 files:

  • trunk/crossfire/utils: arch2xml.py (new 96), cfarches.xsl (new 63)
garbled 2002-10-29 05:24 Rev.: 1780

Hurray! Weather now works and functions. (still no game effect)
This commit adds the compute_sky routine. This routine takes all of the
conditions that make up the weather, and actually figures out what the real
weather is. Also, if we are in fastclock mode, we write the skymap out
occasionally, for debugging purposes. We never read the skymap, it is
allways computed on the fly.

Change the maps program to read the new skymap.

35 lines of code changed in 1 file:

  • trunk/crossfire/utils: maps.c (+35 -1)
garbled 2002-10-28 05:20 Rev.: 1773

Add code to make humidmap.ppm

18 lines of code changed in 1 file:

  • trunk/crossfire/utils: maps.c (+18)
garbled 2002-10-27 23:53 Rev.: 1763

utils/maps.c: This program will generate ppm files from each of the
weathermaps. Mostly for debugging, but curious DM's might find it useful
to see the weather.

0 lines of code changed in 1 file:

  • trunk/crossfire/utils: maps.c (new)
mwedel 2002-09-08 17:40 Rev.: 1714

Fix makefile for crossloop script.
MSW 2002-09-08

2 lines of code changed in 2 files:

  • trunk/crossfire/utils: Makefile.am (+1 -1), Makefile.in (+1 -1)
mwedel 2002-09-08 17:23 Rev.: 1713

Added missing file.
MSW 2002-09-08

0 lines of code changed in 1 file:

  • trunk/crossfire/utils: crossloop.tmpl (new)
mwedel 2002-09-07 17:59 Rev.: 1712

Add another missing file.

54 lines of code changed in 1 file:

  • trunk/crossfire/utils: mkinstalldirs (new 54)
mwedel 2002-09-07 17:55 Rev.: 1711

Rebuild/fix of makefiles:
Remove utils/flushlocks - player locking is no longer done, so no need
for that script.
Have crossedit put its proto.h file in the crossedit directory like it
did under old make system, and not in the include directory.
crossedit will probably go away sooner or later, so best to isolate
all of its code into its own directory.
MSW 2002-09-07

2 lines of code changed in 2 files:

  • trunk/crossfire/utils: Makefile.am (+1 -1), Makefile.in (+1 -1)

(24 more)

Generated by StatSVN 0.7.0