[root]/trunk/client
Documentation
(0 files, 0 lines)
examples
(0 files, 0 lines)
script
(0 files, 0 lines)
common
(0 files, 0 lines)
gnome
(0 files, 0 lines)
gtk-v2
(0 files, 0 lines)
src
(0 files, 0 lines)
gtk
(0 files, 0 lines)
win32
(0 files, 0 lines)
help
(0 files, 0 lines)
macros
(0 files, 0 lines)
pixmaps
(0 files, 0 lines)
sound-src
(0 files, 0 lines)
utils
(0 files, 0 lines)
x11
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 861 (100.0%) | 53979 (100.0%) | 62.6 |
mwedel | 410 (47.6%) | 30980 (57.4%) | 75.5 |
reeve | 27 (3.1%) | 8003 (14.8%) | 296.4 |
cvs | 190 (22.1%) | 4886 (9.1%) | 25.7 |
uid200 | 45 (5.2%) | 3542 (6.6%) | 78.7 |
tchize | 11 (1.3%) | 3357 (6.2%) | 305.1 |
smacfiggen | 21 (2.4%) | 945 (1.8%) | 45.0 |
akirschbaum | 47 (5.5%) | 569 (1.1%) | 12.1 |
tanner | 25 (2.9%) | 554 (1.0%) | 22.1 |
ryo_saeba | 51 (5.9%) | 387 (0.7%) | 7.5 |
azzie | 3 (0.3%) | 238 (0.4%) | 79.3 |
rower | 3 (0.3%) | 219 (0.4%) | 73.0 |
qal21 | 4 (0.5%) | 205 (0.4%) | 51.2 |
cavesomething | 13 (1.5%) | 77 (0.1%) | 5.9 |
elsbernd | 4 (0.5%) | 9 (0.0%) | 2.2 |
hfukui | 1 (0.1%) | 5 (0.0%) | 5.0 |
pjka | 2 (0.2%) | 1 (0.0%) | 0.5 |
mids | 1 (0.1%) | 1 (0.0%) | 1.0 |
cvsread | 1 (0.1%) | 1 (0.0%) | 1.0 |
anonymous | 2 (0.2%) | 0 (0.0%) | 0.0 |
make branche directories, delete old trunk.
0 lines of code changed in 68 files:
gtk-v2/src/info.c: Add some notes about downloading font. Add support
for underline in extended text modes.
MSW 2006-09-17
4 lines of code changed in 1 file:
Rebuild configure.
194 lines of code changed in 1 file:
Fix opengl checks.
7 lines of code changed in 2 files:
Fix bug 1531060 - metaserver selection button is improperly activated.
Fix this by clearing the text box if an entry in the tree widget is selected -
if text is entered in the text box, unselect any selection - keeps it
very consistent what the connect button does. Have it greyed out until
there is either text in the text box or something selected in the treeview.
--
gtk-v2/gtk-v2.glade: add callback for key press events for text entry
box.
gtk-v2/src/callbacks.h,gtk-v2/src/interface.c: Rebuilt
gtk-v2/src/metaserver.c: Add code to activate/disable button based on
status. Add code to clear text box when treeview selected. Add code
to deselect treeview if data is entered in textbox.
MSW 2006-09-05
19 lines of code changed in 1 file:
gtk-v2/src/map.c: Clear clipmask and clear window in draw_splash() so that
splash is correctly redrawn.
gtk-v2/src/metaserver.c: Add call to draw_map() in metaserver selection just
to make sure splash is drawn correctly.
MSW 2006-09-04
gtk-v2/src/inventory.c: Fix bug 1528014 - when dropping all objects, display
isn't updated correctly. Remove checks for cpl.ob->inv - relying on
cpl.ob->inv_updated appears to work fine.
gtk-v2/src/keys.c: Fix bug 1527988 - message about unused keys isn't very
useful. Include meta and alt information about unused keys. Add
warning message to bind when trying to bind a key that may conflict
with an existing binding.
MSW 2006-09-04
15 lines of code changed in 1 file:
Add suggestion from bug 1528536 - some menu items should be disabled during
metaserver selection.
--
gtk-v2/gtk-v2.glade: Fix some incorrect name (meny vs menu)
gtk-v2/src/interface.c: Rebuilt
gtk-v2/src/menubar.c: Add enable_menu_items(), which enables/disables some
menu items.
gtk-v2/src/metaserver.c: Add calls to enable_menu_items() to disable
some menu items before metaserver selection, and to enable them after.
MSW 2006-09-04
gtk-v2/gtk-v2.glade: Add callback for pressed event on metaserver quit button -
allows alt-Q to work - fix for bug 1551373
gtk-v2/src/interface.c: Rebuilt
--
gtk-v2/server/metaserver.c: Make some changes related to bug 1548290 - cached
entries show 0 value in players. Add code to check list of servers from
metaserver - if we have a match in the cached server list, don't display
the cached entry - use the one from the metaserver instead. Also, add
logic to not display empty server if the default server is null.
--
gtk-v2/src/config.c: Make save_winpos() do actual saving, have
on_save_window_position_activate() call save_winpos() - fixes
bug 1551395 where savewinpos command does not work.
gtk-v2/src/main.c: Remove empty function save_winpos()
MSW 2006-09-04
27 lines of code changed in 1 file:
gtk-v2/src/stats.c: Remove extra Player: in the player name. Fixes bug
1528011. MSW 2006-09-03
3 lines of code changed in 1 file:
This change mainly adds support for the extended info messages for the gtkv2
client. Note that unlike the gtkv1 client, the gtkv2 client doesn't in any
way try to do pop up windows or fancy graphics - rather, the support is there
just so it can do font changes, color changes, etc, within the normal text
window.
--
common/newclient.h: Sync it back up with server version. Several new
MSG_ types added.
gtk-v2/src/info.c: Redo info pane handling - move all the relevant variables
into a structure - this should make it easier to add more panes in the
future, but right now, it means an integer can be passed in to functions
to control what pane to draw in. Add support for extended draw info -
notably, this means listing alternative fonts, and adding support
for different tags. Add callsbacks for the different message types. Add
code to process extended text message tags.
gtk-v2/src/keys.c: Change the grab focus after user enters command to use
the treeview_look widget instead fo the textview - given that the textview
is now stored away in a structure, harder to get to that variable.
MSW 2006-09-03
20 lines of code changed in 1 file:
Fix Win32 compilation
3 lines of code changed in 1 file:
gtk-v2: Fix bug 1528540 - if metaserver window is closed, client is unusable.
Take suggested fix - if metaserver window is closed, exit client. Just
another hook to last commit.
gtk-v2/gtk-v2.glade: Add callback for destroy event on metaserver window.
gtk-v2/src/interface.c: rebuilt.
MSW 2006-08-21
7 lines of code changed in 1 file:
gtk-v2: Fix bug 1530024 - errors when manually closing a window.
gtk-v2/gtk-v2.glade: Add callback for destroy event on main window.
gtk-v2/src/callbacks.h, gtk-v2/src/interface.c: Updated by glade with new
callback
gtk-v2/src/main.c: Code to handle callback
MSW 2006-08-20
7 lines of code changed in 1 file:
Hide input if asked for
3 lines of code changed in 1 file:
Add --enable-gtk2 to build gtk1 client with gtk2. Misc bugfixes.
137 lines of code changed in 3 files:
Make common/cconfig.h act as the default server if set, if not set, connect
to metaserver. Prior to this, it always went to the metaserver unless
-server option was given.
--
common/cconfig.h: Comment out SERVER so by default it connects to metaserver
common/client.c: Add handling to initialize server from SERVER if defined,
null otherwise.
common/metaserver.c: Don't present default server in metaserver selection
default is null.
gtk/gx11.c, gtk-v2/src/main.c, x11/x11.c: Change command line handling -
if server is set, use that as default to connect to.
--
MSW 2006-07-1
19 lines of code changed in 1 file:
x11/xutil.c: Use snprintf() to avoid possible buffer overflows.
1 lines of code changed in 1 file:
gtk/image.c gtk-v2/src/image.c gtk-v2/src/opengl.c: Remove superfluous casts.
1 lines of code changed in 1 file:
gnome/gnome.c, gtk/gx11.c, x11/x11.c: Remove unused macros.
1 lines of code changed in 1 file:
common/item.h: Remove unused macros.
1 lines of code changed in 1 file:
common/commands.c: In DeleteInventory() do not crash if an invalid object tag
was received.
2 lines of code changed in 1 file:
common/commands.c: Unify/fix calls to LOG().
1 lines of code changed in 1 file:
common/commands.c: In DeleteItem() do not crash if an invalid object tag was
received.
4 lines of code changed in 1 file:
Fix problem in gtk1 & gtk2 client when player issues disconnect command -
client would hang and consume all CPU time.
---
common/external.h: Add declaration to cleanup_connection()
common/p_cmd.c: In disconnect command, add call to cleanup_connection()
gtk/gx11.c, gtk-v2/src/main.c: Add cleanup_connection() - removes socket
from one of the gdk input device, call gtk_main_quit so it returns
to metaserver selection.
x11/x11.c: Add empty cleanup_connection() - x11 client doesn't need to
do anything special.
MSW 2006-07-06
12 lines of code changed in 1 file:
More changes related to default logging. Able to specify default log level
with configure. Note: you will need to re-run configure after this change,
as otherwise MINLOGLEVEL will not be defined in config.h.
---
configure.in, configure: Add --with-loglevel=<val> to specify default
loglevel.
crossfire-client.spec: Update to include --with-loglevel for building RPMs
common/config.h.in: Add MINLOGLEVEL #define.
common/misc.c: Modify to use the MINLOGLEVEL #define
MSW 2006-07-05
35 lines of code changed in 4 files:
Clean up some compile warnings. They generally fall into either wrong form
for variable (%lld vs %ld), or cast for data (char* vs uint8*)
---
common/client-types.h: Add FMT64 defines like done in the server. Removes
need for #ifdef WIN32 in many places.
common/client.c: Remove unneeded cast for ReplyInfoCmd(). Change type
of length parameter passed to getsockopt() to be a socklen_t.
common/commands.c: Change ReplyInfoCmd() to take a uint8*. Add several
char*/uint8* casts. Change TickCmd() to also take uint8*
common/external.h: Add extern void client_tick(uint32 tick).
common/image.c: load_image() so that its fourth param (checksum) is a uint32.
In finish_face_cmd() change filename to be a char*. Add some casts in
ImageCmd() & Image2Cmd(). Change display_newpng() so its first param
(face) is just a int, not a long. Change get_image_info() to take in
a uint8* for data, add some casts. Change get_image_sums() to take in
a char*
common/item.c: Change several buffers used by the socklist structure to
be uint8, add casts as needed.
common/newsocket.c: Change SockList_Init() so that the passed in buffer
is a uint8*, so that is what the target buffer type is. Add some
casts and update some types within the program.
common/player.c: Change a buffer from char to uint8.
common/proto.h: Rebuilt.
common/script.c: Change it to take in a uint8 for data. Change %lld
to use FMT64
common/script.h: Update declaration of script_watch()
gtk/config.c: Remove const from titles. While they may be used as a const,
the gtk function they are passed to isn't declared that way.
gtk/gx11.c: Remove unused function end_windows(). Replace %lld with
FMT64. Removed const from title declaration.
gtk/inventory.c: Remove const from titles declaration. re-enable cast
for image creation for tabs.
gtk/keys.c: Add note about compiler warning and bad code technique for
for getting the selection.
gtk/png.c: Removed unused variables/function - png_to_gdkpixmap()
gtk/text.c: Change void_callback() to match format of other callbacks
to prevent warning.
gtk-v2/src/gtk2proto.h: Rebuilt.
gtk-v2/src/png.c: Remove unused variable.
gtk-v2/src/stats.c: Replace %lld with FMT64.
pixmaps/question.111, pixmaps/stipple.111, pixmaps/stipple.112: Change
types to be char and not unsigned char, since that is what
the function tha uses this data expects.
x11/x11.c: Replace %lld with FMT64
---
MSW 2006-07-04
47 lines of code changed in 1 file:
Changes related to logging of version information.
aclocal, Makefiles.*: Rebuilt for new file in gtk-v2/src.
common/misc.c: Change MINLOG to be a variable so it can be changed via
command line options.
gtk/gx11.c: Have bug window display rcsid versions. Add -loglevel command
line option. Move printing of some log messages until after we process
command line options since that can change the log level.
gtk-v2/gtk-v2.glade: Add an about window for the gtkv2 client.
gtk-v2/src/Makefile.am: Add about.c file.
gtk-v2/src/about.c: file for about window.
gtk-v2/src/callbacks.h: on_about_close_clicked() added by glade.
gtk-v2/src/interface.c, interface.c: New logic for about window. New
function - create_about_window()
gtk-v2/src/main.c: Add -loglevel command line option. Move printing of some
log messages after we process command line options.
gtk-v2/src/menubar.c: remove menu_about() - now in about.c
MSW 2006-07-04
22 lines of code changed in 3 files:
common/misc.c: Make default log level 2 when not in debug mode. Normal users
probably don't want all the INFO log messages, and it never makes a good
impression about stability/quality if a program spews out lots of errors
or other messages.
MSW 2006-07-01
6 lines of code changed in 1 file:
Make some changes to the defaults so that the game is a bit more user friendly
to completely new users (eg, those that don't have a settings file):
--
common/init.c: Turn off popups (gtkv1 client) by default - general seems
that it isn't popular, and placement of the popups needs to be fixed.
gtk-v2/src/main.c: Change default map size to ask from server to be
25x25 - the gtkv2 client has default window size for that, so lets use
it.
x11/x11.c: Turn on scroll of text by default - non scroll is really ugly
and doesn't make any sense give the power of even very slow cpus now.
MSW 2006-07-01
12 lines of code changed in 1 file:
gtk-v2/src/config.c: Fix bug resulting in a crash when opening the
configuration dialogue if you have an empty gdefaults2 file.
MSW 2006-06-30
4 lines of code changed in 1 file:
Update for release 1.9.1
MSW 2006-06-28
24 lines of code changed in 4 files:
sound-src/alsa9.c: Fix up sound for alsa9+. Not positive exact change that
fixed the problem, but following changes made: Add SOUND_DEBUG_WRITES to
separate the debug from writes vs all the other debug messags. If using
16 bit data, always use unsigned no matter wit the sign config option
says. In alsa_recover(), if error is EAGAIN, just do nothing and return.
In audio_play(), don't write more bytes than chunk size (basically
largest block that alsa wants at one time). In play_sound(), don't
decrease volume based on maximum number of sounds that may be played
at once - this makes things too quiet.
MSW 2006-06-25
11 lines of code changed in 1 file:
gtk/gx11.c, gtk-v2/src/main.c: Add checks for csocket.fd==-1 after return
of DoClient. With change in DoClient to close the socket, the network
routines are not called again (like they used to be), and thus the
GUI was't really aware the socket was closed, and wouldn't prompt for
metaserver selection.
MSW 2006-05-21
7 lines of code changed in 1 file:
Make socket handling more robust.
11 lines of code changed in 1 file:
Fix unitialized variable.
3 lines of code changed in 1 file:
This commit adds client side support for the map2 & tick protocol commands.
In additional the the necessary decode logic, more layers are also added
to the map.
--
common/Makefile.am/.in: Fix proto directive
common/client.c: Add global tick variable. Add links to handle map2
and tick protocol commands. Update setup request sent to server
to request to use the tick and map2 commands.
common/client.h: Add additional fields to Animations structure. Increase
MAX_MAP_OFFSET to match the value on the server.
common/commands.c: Add parsing of return of map2 failures on setup command
so that client can fall back. Add additional initializations for
new fields in AnimCmd(). Change definition of NUM_LAYERS to match
what the map1 command wants/expects. Add Map2Cmd() to decode
map2 protocol command. Do some whitepsace clean of ExtSmooth().
Add TickCmd()
common/init.c: Add seeing of random number generator.
common/mapdata.c: Rewrite CLEAR_CELLS macro to handle additional layers.
Clear animation data in expand_clear_face(). Change MAXLAYERS to
MAP1_LAYERS since map2 increase MAXLAYERS. Add support functions for
setting data in the map2 command.
common/mapdata.h: Increase MAXLAYERS, add MAP1_LAYERS define to old number
of layers. Add animation data to MapCellLayer.
common/newclient.h: Add various defines related to the map2 data.
common/proto.h: Rebuilt
gtk/gx11.c: Add cleint_tick() to handle map animations. Update
do_timeout() to not do animations if we are getting tick data.
gtk-v2/src/config.c: Fix bug in config code where it wasn't enabling
darkness when player switched back from no darkness mode to some
mode.
gtk-v2/src/main.c: Add client_tick() to handle animations. Update
do_timeout() to not do animations if tick is set.
gtk-v2/src/opengl.c: Fix drawing logic where objects which were visible
but in which the bottom right corner was off the map was not being
drawn - only a problem in opengl since it only draws the object
when it finds the head, does not draw each piece.
sound-src/Makefile.am/.in: Fix creation of sounds file - was using
wrong variable name.
x11/xutil.c: Add basic client_tick() that is a callback from the common code.
MSW 2006-05-14
41 lines of code changed in 1 file:
use the same image hashing algorithm that the server uses for archetypes, increase the table size to 8192 to reduce collisions.
4 lines of code changed in 1 file:
Fix memory leaks and uninitialized variable.
7 lines of code changed in 1 file:
Yet more changes for gtkv2 clients, mostly aimed at making it usable on lower
resolution displays. Window can now be resized to 800x600, added save window
positions so it will remember where you moved the panes to (as well as root
window size). Unrelated change to this is that now the inventory list is
sortable like the metaserver and spell lists are - you can sort by name,
weight, or by item type (click on the icon for item type).
--
gtk-v2/gtk-v2.glade: Add new menu item for save window positions. Change
statbar area so there is a pane between stat bar and stat notebooks.
Change statbars so they resize smaller/larger.
gtk-v2/src/callbacks.h: callback for on_save_window_position_activate() added.
gtk-v2/src/config.c: Add on_save_window_position_activate() and
load_window_positions()
gtk-v2/src/interface.c: rebuilt.
gtk-v2/src/inventory.c: Add LIST_TYPE column for sorting. Change
table definitions so columns are sortable.
gtk-v2/src/main.c: Add code to allow resizing down to 800x600. Add
call to load_window_positions()
gtk-v2/src/map.c: Try to set map size based on window size - save
some memory.
---
MSW 2006-03-10
23 lines of code changed in 1 file:
sound-src/Makefile.in
4 lines of code changed in 1 file:
common/p_cmd.c: Update command table for auto-completion to all (non-DM)
server side commands. Also check for client side commands. Add a space
after a completed command so the player can enter arguments.
5 lines of code changed in 1 file:
(327 more)