Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 465 (100.0%) | 15808 (100.0%) | 33.9 |
mwedel | 224 (48.2%) | 10360 (65.5%) | 46.2 |
akirschbaum | 68 (14.6%) | 1827 (11.6%) | 26.8 |
crowbert | 18 (3.9%) | 1308 (8.3%) | 72.6 |
tchize | 69 (14.8%) | 1184 (7.5%) | 17.1 |
ryo_saeba | 65 (14.0%) | 880 (5.6%) | 13.5 |
cavesomething | 12 (2.6%) | 194 (1.2%) | 16.1 |
gros | 4 (0.9%) | 43 (0.3%) | 10.7 |
qal21 | 3 (0.6%) | 9 (0.1%) | 3.0 |
tanner | 1 (0.2%) | 2 (0.0%) | 2.0 |
reeve | 1 (0.2%) | 1 (0.0%) | 1.0 |
make branche directories, delete old trunk.
0 lines of code changed in 35 files:
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
104 lines of code changed in 1 file:
Fix Win32 compilation
3 lines of code changed in 1 file:
Add .cvsignore files, courtesy Rapha��l Quinet - quinet
0 lines of code changed in 1 file:
Add --enable-gtk2 to build gtk1 client with gtk2. Misc bugfixes.
2 lines of code changed in 2 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
17 lines of code changed in 3 files:
common/item.h: Remove unused macros.
0 lines of code changed in 1 file:
Change "if(ptr) free(ptr)" into "free(ptr)".
21 lines of code changed in 6 files:
common/commands.c: In DeleteInventory() do not crash if an invalid object tag
was received.
6 lines of code changed in 1 file:
common/commands.c: Unify/fix calls to LOG().
8 lines of code changed in 1 file:
common/commands.c: In DeleteItem() do not crash if an invalid object tag was
received.
8 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
9 lines of code changed in 2 files:
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
7 lines of code changed in 2 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
61 lines of code changed in 11 files:
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
5 lines of code changed in 1 file:
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
1 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
1 lines of code changed in 1 file:
Make socket handling more robust.
18 lines of code changed in 3 files:
Fix unitialized variable.
1 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
729 lines of code changed in 10 files:
use the same image hashing algorithm that the server uses for archetypes, increase the table size to 8192 to reduce collisions.
11 lines of code changed in 1 file:
Fix memory leaks and uninitialized variable.
6 lines of code changed in 2 files:
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.
48 lines of code changed in 1 file:
Fix bug #1442523 (Crash when pressing TAB during login). Also fix undefined
behavior due to overlapping strings passed to strncpy().
7 lines of code changed in 1 file:
More updates for the gtkv2 client. Add a config window to change the
config options. Note this isn't quite as cluttered as the gtkv1 config
window because only the options that affect the gtkv2 client are presented.
---
common/client.h: Add CFG_LT_NONE to use instead of 0.
common/init.c: Change 'sdl' config name to 'displaymode'. the CONFIG_
parameter was changed a while back, but still used this old name in the
save file.
gtk/config.c: Add some logic to handle 'sdl' legacy config mode.
gtk-v2/gtk-v2.glade: Updated with new config window.
gtk-v2/src/callbacks.h: rebuilt by glade-2
gtk-v2/src/config.c: Lots of new code to handle setting/getting of config
values in config window.
gtk-v2/src/gtk2proto.h: Rebuilt.
gtk-v2/src/interface.c: Rebuilt by glade-2
gtk-v2/src/interface.h: Rebuilt by glade-2
gtk-v2/src/main.c: Add call to config_init() to initialize config window.
MSW 2006-02-27
2 lines of code changed in 2 files:
Apply patch #1424583 (IPv6 patch for client) courtesy Christoph Hohmann (reboot)
45 lines of code changed in 2 files:
Win32 1.9.0 release
3 lines of code changed in 1 file:
Fix broken server cache
3 lines of code changed in 1 file:
Apply patch #1433271 (code-cleanup) by Stefan Huehner: Add const and static,
remove unused variables
37 lines of code changed in 13 files:
More improvements to the gtk-v2 client:
- Add spell selection window similar to that in the gtk-v1 client.
- Make it so that clicking on the headers in the metaserver and keybinding
selection windows will result in table be sorted by that header.
--
*/Makefile.in: Rebuilt by automake.
aclocal.m4: Updated by aclocal.
gtk-v2/TODO: Remove things that have been done, add other things mentioned
on mailing list that should be done.
gtk-v2/gtk-v2.glade: Updated with new spell selection window.
gtk-v2/src/Makefile.am: Add spells.c file
gtk-v2/src/spells.c: File that handles spell selection window.
gtk-v2/src/callbacks.h: Updated by glade
gtk-v2/src/gtk2proto.h: rebuilt
gtk-v2/src/interface.c: Updated by glade.
gtk-v2/src/interface.h: Updated by glade.
gtk-v2/src/keys.c: Add necessary calls to enable sorting of table by
clicking on headers.
gtk-v2/src/main.c: Add call to update_spell_information() if spell information
has changed.
gtk-v2/src/metaserver.c: Add necessary calls to enable sorting of table by
clicking on headers. Convert the idletime and number of players columns
to be ints - this makes the sort work as expected, and actually simplifies
the code a little.
gtk-v2/src/support.h: Rebuilt by glade.
MSW 2006-02-22
3 lines of code changed in 1 file:
common/player.c: Fix bug in that spell data wasn't being cleared when
logging on. Thus, if you logged on as one character, then another,
etc, it would just keep adding to the spell list, not being a
representative list of spells character knows.
MSW 2006-02-20
11 lines of code changed in 1 file:
Improvements to the gtkv2 client - Add free form text box to metaserver
selection window so server name can be manually entered, add keybinding
interface window to client similar to one in gtkv1 client, and disconnect
menu item to client. Note that this keybinding interfaces allows for
ALT and META modifiers in addition to SHIFT and CONTROL, hence minor changes
to the common code.
---
common/client.h: Add meta_on, alt_on to player structure.
gtk-v2/gtk-v2.glade: Updated with new elements - keybinding window, new
menubar, text box for metaserver window.
gtk-v2/src/callbacks.h: Generated by glade for new function prototypes
gtk-v2/src/gtk2proto.h: rebuilt for new function definitions.
gtk-v2/src/interface.c: Generated by glade for new features.
gtk-v2/src/interface.h: Generated by glade for new function prototypes
gtk-v2/src/keys.c: New initialization code for keybinding window. New
KEYF_ modifiers. New handling for meta and alt keys. Many new callbacks
for new code.
gtk-v2/src/main.c: Remove unused extern declartions.
gtk-v2/src/menubar.c: Add function for disconnect menu item.
gtk-v2/src/metaserver.c: Add metaserver_connect_to() to handle common
connection logic (pulled from on_treeview_metaserver_row_activated().
Add on_metaserver_text_entry_activate() for text entry server connections.
MSW 2006-02-19
2 lines of code changed in 1 file:
Apply modified patch #1432404 (Solve bug in watch stats script function) by
Benjamin Lerman: make watch stats command work if more than one stat changes
simultaneously.
127 lines of code changed in 1 file:
Apply patch #1430279 (code-cleanup: const, static, etc) by Stefan Huehner.
35 lines of code changed in 13 files:
Apply patch #1429975 (patch to support port numbers in metaserver host names)
by Marc Lehmann.
16 lines of code changed in 1 file:
common/metaserver.c, common/metaserver.h: Make cached_servers_loaded static
since it is not used elsewhere.
1 lines of code changed in 2 files:
General cleanup -- just whitespace changes; should not affect behavior.
242 lines of code changed in 1 file:
remove option to display resistances without a scrollbar
1 lines of code changed in 1 file:
remove coloured inventory and text options and support for black and white monitors, change cfclient to a grey colourscheme
33 lines of code changed in 2 files:
fix bug with reading the wrong bytes on an updspell packet
3 lines of code changed in 1 file:
(117 more)