From mwedel at sonic.net Mon Feb 28 01:51:51 2005 From: mwedel at sonic.net (Mark Wedel) Date: Mon Feb 28 01:53:29 2005 Subject: [crossfire-announce] Crossfire client 1.7.1 release Message-ID: <4222CD97.9080401@sonic.net> A bit more time passed than expect from release of server components. Main changes: Largely bugfixes - memory leaks fixed, improved sound support, improved command table. No individual major changes. checksums (bsd): 47980 461 crossfire-client-1.7.1.tar.gz 55029 1909 crossfire-client-images-1.7.1.tar.gz checksums (md5): 310bdd69d02e776d5cea3fad94c58cf6 crossfire-client-1.7.1.tar.gz 30dc5c22e864694a3d01309a073642f9 crossfire-client-images-1.7.1.tar.gz Full changelog: Changes for 1.7.1: configure, configure.in: Rev for 1.7.1 release sound-src/Makefile.in: Add files to EXTRA_DIST, fix typo so that make arhive works. MSW 2005-02-27 Add 'show' command back in to list of commands. common/external.h: Change prototype of command_show() to match p_cmd.c prototype. common/p_cmd.c: Add 'show' to command dispatch table. gtk/gtkproto.h: rebuilt gtk/gx11.c: change declaration of command_show() to take const char *. gtk/sdl.c: Make drawsmooth_sdl() static so it won't be put into gtkproto.h file, which causes compilations to fail. x11/x11.c: change declaration of command_show() to take const char *. x11/x11proto.h: rebuilt MSW 2005-02-26 common/metaserver.c: Once we have read in limit of number of metaservers, don't do anymore processing - otherwise, client just crashes. MSW 2005-02-19 Sound cleanup and redo for ALSA9. The bulk of this is to break out the alsa9 code from the cfsndser.c and compile its own seperate cfsndserv-alsa9 executable. Add options to config file/gtk client to support setting which sound daemon to use. Note that ALSA9 sound now works all properly - significant changes had to get made to the code for this to happen. -- configure, configure.in: The existence of ALSA9 sound does not preclude compilation of OSS sound support (or others for that matter), so change the logic accordingly to set variables only used for ALSA9. Add SOUND_TARGETS that can be used by the makefile, change logic of setting SUBDIRS so we don't put sound-src in multiple times. common/client.c, common/client.h: Add sound_server variable. gtk/config.c: Add support for loading/saving sound_server line in gdefaults file. gtk/gcfclient.man: Update about -sound_server option. gtk/gx11.c: Update help and command line processing to support -sound_server option. gtk/sound.c: Change initialization of sound pipe to use sound_server variable (set by options above) instead of hard coded cfsndserv. Path can be either be absolute or relative to to bindir. Also change code so that pipe is set for non blocking output, so if the sound daemon gets hung up, won't effect rest of the client. sound-src/Makefile.in: Redone to handle cfsnserv-alsa9 binary. uses SOUND_TARGETS to know what to build. sound-src/cfsndserv.c: Remove all ALSA9 code, since that is now in alsa9.c file. sound-src/alsa9.c, sound-src/common.c: Nwe files - alsa9.c contains logic for playing sound. common.c is common routines. Idea being that other code could get pulled from cfsndserv.c and use the common.c routines for parsing sound file, etc. MSW 2005-02-13 common/script.c: fix broken script with a parameter change. gtk/help.c: use 'const gchar' instead of 'gchar' as widget text. gtk/win32/config.h: snprintf => _snprintf Ryo 2005-02-12 Makefile.in, common/Makefile.in, gnome/Makefile.in, gtk/Makefile.in, sound-src/Makefile.in, x11/Makefile.in: Add ${DESTDIR} prefix for installation into other directories. Patch from sourcefore #1061895 MSW 2005-02-09 common/external.h, common/init.c, common/player.c, common/proto.h, common/script.c, common/script.h, common/p_cmd.c (new file), common/p_cmd.h (new file), gtk/gtkproto.h, gtk/gx11.c, gtk/help.c (new file), gtk/keys.c, help/chelp.h, x11/x11.c, x11/x11proto.h, x11/xutil.c: Install command table for client side commands - makes adding commands a little easier, but also makes it easier to have better help. Bulk of the changes are in p_cmd.c file, which pulled some code out of player.c. Other source files modified to clean up function parameters (all now take const char * as the command options). Patch from sourceforge 1022245, with some work done by me. Addition fix in gtk/keys.c unbind - buffer overflow would result if unbinding very long binding. MSW 2005-02-09 common/client-types.h: use char instead of __int8 under Windows. common/commands.c: use 'const' for strings when possible. common/misc.c: use 'const' for strings when possible. common/newsocket.c: use 'const' for strings when possible. common/player.c: use 'const' for strings when possible. common/proto.h: use 'const' for strings when possible. gtk/gx11.c: use 'const' for strings when possible. gtk/keys.c: fix a buffer overflow in 'unbind' when displaying keys. Use 'const' for strings when possible. gtk/win32/config.h: don't define 'G_DISABLE_CONST_RETURNS' anymore, strings are now correctly const. Ryo 2005-02-05 Makefile.in: Fix up distclean directive to go into all directories. configure.in, configure: Fix configure so the --enable-feature and --disable-feature flags follow proper standard (from patch on sourceforge). Add check for -lossaudio. Modify check for -lSDL_image library - don't require it for SDL support (if we have it, we'll use it, but for newer versions of SDL, it doesn't seem to exist anymore) common/client-types.h: Minor formatting change. common/script.h: add defines for PF_LOCAL and AF_LOCAL if they are missing. gtk/Makefile.in: Install man page into section 6. sound-src/Makefile.in: Fix up depend command - had wrong variable. Fix up distclean to remove automatically generated files. x11/Makefile.in: Install man page into section 6. MSW 2005-02-04 gtk/gx11.c: send text first, then close popup. Else won't work under some circumstances, text is empty. Fix party password dialog containing only ':' (missing case in dialog handling). Ryo 2005-01-07 common/script.c: add 'signal.h' header, needed for NetBSD. gtk/keys.c: fix buffer overflow when binding a very long command. This fixes bug #1085729. gtk/win32/config.h: fix S_ISDIR macro, even if not used. Ryo 2004-12-21 gtk/win32/config.h: Add parentheses around arguments of sleep and usleep macros. Andreas Kirschbaum 2004-09-19 common/script.c: warn when script start failure (Linux), patch courtesy Kevin Rudat. Check there actually is a parameter to 'script', else that'd crash nicely. Ryo 2004-08-16 gnome/gnome.c, gtk/gx11.c: Fix improper access to history buffer variable. Andreas Kirschbaum 2004-05-24 gtk/gx11.c: Comment out printing of size when we receive config event. gtk/image.c: Remove some superfluos LIL_ENDIAN code that would never be used because it was already in an #ifdef LIL_ENDIAN/#else block. Fix up freeing of data - need to free the pixel info before freeing the surface, don't free the fog pixels since SDL will do that for us. MSW 2004-05-15 gtk/image.c: Patch from bug list to fix compilation on big endian machines. MSW 2004-05-11 gtk/gx11.c: Fix configure_event() to only allocate new data structures if the size of the map area has in fact change. This fixes a major memory leak, as it seems gtk erroneously generates configure events. gtk/map.c: Clean out some commented out code, clean up the formatting of the draw_map function - no actual code change. MSW 2004-05-08