Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 28 (100.0%) | 1602 (100.0%) | 57.2 |
mwedel | 7 (25.0%) | 1461 (91.2%) | 208.7 |
kbulgrien | 11 (39.3%) | 63 (3.9%) | 5.7 |
tchize | 1 (3.6%) | 53 (3.3%) | 53.0 |
ryo_saeba | 2 (7.1%) | 12 (0.7%) | 6.0 |
partmedia | 5 (17.9%) | 12 (0.7%) | 2.4 |
akirschbaum | 1 (3.6%) | 1 (0.1%) | 1.0 |
anmaster | 1 (3.6%) | 0 (0.0%) | 0.0 |
Adjust standard theme background colors
The colors are more muted, somewhat lighter, to give better contrast on
the default light colored background.
Submitted by: DraugTheWhopper (patch #372)
11 lines of code changed in 1 file:
Use install(DIRECTORY) for layouts and themes
0 lines of code changed in 1 file:
Remove autotools build system
0 lines of code changed in 1 file:
Add CMake support.
1 lines of code changed in 1 file:
Add dependency on GLib.
- Clean up unnecessary and redundant substitutions.
- Trim copyright header from Makefiles.
0 lines of code changed in 1 file:
- It's not CVS anymore.
0 lines of code changed in 1 file:
- Let's try that again. "silver" isn't a recognized color name and results
in a different error at server startup. The HTML RGB code for silver is
too dark anyway.
1 lines of code changed in 1 file:
- Fix [ INFO ] (spells.c::spell_get_styles) Unable to find style for
spell_normal.
- Remove some end-of-line whitespace.
18 lines of code changed in 2 files:
- Update the link to the server/trunk/include/shared folder to revision 12770
to pull in a new revision of shared/newclient.h for the purpose of updating
the message type/subtype for magic ears and magic mouths.
- Regenerate msgtypes.h to capture the changes from the updated
shared/newclient.h file.
- Rename msg_dialog_magic_mouth to msg_dialog_magic_ear in the theme files to
more accurately identify what is being themed. Magic mouths are signs, not
dialogs. It is the magic ears that are dialogs. This change is driven by
an update in common/shared/newclient.h and common/msg_types.h.
4 lines of code changed in 2 files:
- Add a comment header that summarizes the GTK font style strings used in the
theme files. Reference a couple of external documents that more detail is
available in. This might help someone tweak a style more easily as it can
clarify what options exist even if they are not used anywhere in the client
theme files that already exist.
35 lines of code changed in 2 files:
Remove some auto generated autotools files from the tree. Just run autogen.sh
to create them. This prevents the mess of different developers using different
versions of autotools, making commits a mess.
0 lines of code changed in 1 file:
General cleanup with propset svn:ignore && fixup oops due to not quite getting
how svn:ignore works.
1 lines of code changed in 1 file:
fix for [ 1832377 ] configure script should check for SDL_image.h
Also added configure summary lines at the end.
Rebuild using autogen.sh
53 lines of code changed in 1 file:
aclocal.m4
configure
Makefile.in
common/Makefile.in
gtk/Makefile.in
gtk-v2/Makefile.in
gtk-v2/themes/Makefile.in
gtk-v2/src/Makefile.in
gtk-v2/glade/Makefile.in
help/Makefile.in
pixmaps/Makefile.in
sound-src/Makefile.in
utils/Makefile.in
x11/Makefile.in
- Result of new and fixed m4 files.
autogen.sh
- Point aclocal at macros so that undefined macros do not crash ./configure
macros/gtk.m4
macros/sdl.m4
- ./configure should never crash, so add to remove errors as follows:
aclocal:configure.in:?: warning: macro `AM_PATH_GTK' not found in library
./configure: line ?: syntax error near unexpected token `1.0.0'
./configure: line ?: ` AM_PATH_GTK(1.0.0)'
aclocal:configure.in:?: warning: macro `AM_PATH_SDL' not found in library
./configure: line ?: syntax error near unexpected token `1.1.3'
./configure: line ?: ` AM_PATH_SDL(1.1.3)'
macros/curses.m4
macros/gnome-print-check.m4
macros/gnome-gettext.m4
macros/linger.m4
macros/need-declaration.m4
- Update .m4 files from a newer glade package to remove many warnings like
the following:
macros/linger.m4:4: warning: underquoted definition of AC_STRUCT_LINGER
2 lines of code changed in 1 file:
This is a merge of client/branches/gtk-v2-libglade to trunk. It converts the
GTK-V2 client to a libglade-2.0 client that supports changing the UI layout
with glade-2 generated .glade XML files. Various alternate client layouts
are included.
AUTHORS
- Reformatted for aesthetics.
- Added libglade-2.0 conversion author.
ChangeLog
- Summarize gtk-v2-libglade branch merge to trunk.
common/init.c
- Typo corrected in LOG message (inic.c --> init.c).
configure
- LIBGLADE_CFLAGS/LIBS addition.
- gtkv2 checks converted to HAVE_GTK2.
- gtk-v2/glade directory addition now supported.
- V2 client now depends on libglade2.0 instead of GTK+ 2.0.
- Some reformatting resulting from autoconf/automake changes flowing down.
configure.in
- gtk-v2/glade directory addition now supported.
- Update indenting; tab->space conversion for readability.
- Minor message updates for consistency like GTK2 -> GTK+ 2.0.
- V2 client dependency checks changed to require libglade-2.0 vs. gtk+-2.0.
gtk-v2/glade
gtk-v2/glade/Makefile
gtk-v2/glade/Makefile.am
gtk-v2/glade/Makefile.in
- A fully autoconf/automake supported directory to be used for the control
of glade-2 layouts compatible with this client.
gtk-v2/glade/AUTHORS
- A file to attribute the authors of the glade-2 XML layout projects in this
directory.
gtk-v2/glade/README
- A help file for prospective glade-2 XML layout creation that describes how
to create a new layout and workarounds for various issues that may arise.
gtk-v2/glade/caelestis.glade
gtk-v2/glade/caelestis.gladep
gtk-v2/glade/chthonic.glade
gtk-v2/glade/chthonic.gladep
gtk-v2/glade/gtk-v1.glade
gtk-v2/glade/gtk-v1.gladep
gtk-v2/glade/meflin.glade
gtk-v2/glade/meflin.gladep
- New layout files for the V2 client. make install places the .glade files
in the crossfire-client data directory, where they are detected by the
client in order to allow a user to select a new layout from the
configuration popup dialog.
gtk-v2/glade/dialogs.glade
gtk-v2/glade/dialogs.gladep
- This glade-2 XML layout project contains pop-up dialogs formerly contained
in the ../gtk-v2.glade files. It was created to reduce the overhead in
setting up a new main window layout. The client allows a user to specify
a new file at the command-line, but does not attempt to support in-client
selection of an alternate file.
- Various modification to the original pop-up dialogs have been made to
support the libglade-2.0 conversion. The generated code allowed the XML
file to have variations in it that cause problems for libglade.
- Minor alterations have been mode to appearance and/or text on various
dialogs.
gtk-v2/glade/gtk-v2.glade
gtk-v2/glade/gtk-v2.gladep
gtk-v2/gtk-v2.glade
gtk-v2/gtk-v2.gladep
- Moved to gtk-v2/glade sub-directory.
- This is the original gtk-v2 client layout by mwedel.
- All popup dialogs have moved into gtk-v2/glade/dialogs.glade.
gtk-v2/Makefile.am
gtk-v2/Makefile.in
- LIBGLADE_CFLAGS/LIBS addition
- gtk-v2/glade directory addition now supported.
- DIST_COMMON modifications by autoconf/automake to remove files not under
SVN control.
- Remove gtk-v2/gtk-v2.glade and gtk-v2/gtk-v2.gladep from EXTRA_DIST as they
are now located in the gtk-v2/glade subdirectory.
gtk-v2/README-dev
- Reformat for aesthetics and readability.
- Various updates to content based upon IRC or mailing list discussions.
- Rework content to third-party point-of-view to make it easier for other
developers to modify the document.
gtk-v2/src
- Inexplicable property changes to svn:ignore simply reposition .deps entry.
gtk-v2/src/about.c
gtk-v2/src/inventory.c
gtk-v2/src/keys.c
gtk-v2/src/map.c
gtk-v2/src/metaserver.c
gtk-v2/src/spells.c
- Include glade.h
- Remove includes of glade-2 generated source files.
- Conversion to libglade-2.0 requires use of glade_get_widget_tree() and
change from lookup_widget() to glade_xml_get_widget() and insertion of
g_signal_connect() to replace functionality previously found in glade-2
generated source files.
gtk-v2/src/config.c
- Include glade.h
- Various code comment improvements.
- Remove includes of glade-2 generated source files.
- All functions without a comment header now have one.
- Significant code comment reformatting to use of a 79 character line width
and to reduce line lengths over 80 characters.
- Add static char pointers themedir and gladedir to better support loading
combo box widgets from the crossfire-client data directory, and to reduce
the number of redundant hard-coded strings.
- The configuration popup dialog now supports in-client selection of an XML
layout file to redefine the root window appearance. Modified functions
include load_defaults(), save_defaults(), setup_config_window(), and
read_config_window(). New functions are scandir_glade_filter,
fill_combobox_from_datadir() which is derived from code factored out of
setup_config_window() so it can be used multiple times. Modifications to
save_winpos() and load_window_positions() alters screen position saving to
remove hard-coded copy/pasted code and more flexibly support multiple XML
UI layout files.
- Conversion to libglade-2.0 requires use of glade_get_widget_tree() and
change from lookup_widget() to glade_xml_get_widget() and insertion of
g_signal_connect() to replace functionality previously found in glade-2
generated source files.
- scandir_filter() renamed to scandir_theme_filter() for more consistent
naming for multiple scandir filter functions now required since the window
layout combo box also requires on.
gtk-v2/src/image.c
gtk-v2/src/opengl.c
gtk-v2/src/sdl.c
- Include glade.h
gtk-v2/src/info.c
gtk-v2/src/pickup.c
gtk-v2/src/stats.c
- Include glade.h
- Remove includes of glade-2 generated source files.
- Conversion to libglade-2.0 requires use of glade_get_widget_tree() and
change from lookup_widget() to glade_xml_get_widget().
gtk-v2/src/interface.c
gtk-v2/src/interface.h
gtk-v2/src/callbacks.h
gtk-v2/src/support.c
gtk-v2/src/support.h
- Remove glade-2 generated source files.
gtk-v2/src/magicmap.c
- Include glade.h
- Remove includes of glade-2 generated source files.
gtk-v2/src/main.c
gtk-v2/src/main.h
- Include glade.h
- General changes to support the conversion to libglade-2.0 require runtime
processing of the glade-2 XML layout file names and locations.
- Add support for command-line specification of glade-2 generated XML files
that describe the UI windows and pop-up dialogs.
- Conversion to libglade-2.0 requires use of glade_get_widget_tree() and
change from lookup_widget() to glade_xml_get_widget() and insertion of
g_signal_connect() to replace functionality previously found in glade-2
generated source files.
gtk-v2/src/Makefile.am
gtk-v2/src/Makefile.in
- LIBGLADE_CFLAGS/LIBS addition.
- Replace GTK2_CFLAGS/LIBS with LIBGLADE_CFLAGS/LIBS.
- Changes resulting from removal of glade-2 generated source files.
gtk-v2/src/menubar.c
- Include glade.h
- Remove includes of glade-2 generated source files.
- Include image.h and gtk2proto.h as support the libglade-2.0 conversion.
- Conversion to libglade-2.0 requires use of glade_get_widget_tree() and
change from lookup_widget() to glade_xml_get_widget() and insertion of
g_signal_connect() to replace functionality previously found in glade-2
generated source files.
gtk-v2/TODO
- Reformat for aesthetics and readability.
- Add todo for non-functional scroll bar handles on the map display.
- Adjust todo for lower screen resolution support since the libglade-2.0 port
at least partially addresses usability on smaller desktops.
help/about.h
- EOL whitespace removed.
- Minor reformat for aesthetics.
- Added libglade-2.0 conversion author.
Makefile.in
common/Makefile.in
gtk/Makefile.in
gtk/themes/Makefile.in
help/Makefile.in
pixmaps/Makefile.in
sound-src/Makefile.in
- LIBGLADE_CFLAGS/LIBS addition
x11/Makefile.in
- LIBGLADE_CFLAGS/LIBS addition
- DIST_COMMON modifications by autoconf/automake to remove files not under
SVN control.
2 lines of code changed in 1 file:
Add support for metaserver2 in client. For the X11/C clients, they use basic
interface (drawn in text window, select a number), so no changes to the GUI
portions of those clients was done - gtk2 uses window, so some extra work
there.
--
acinclude.m4: New file - added for LIBCURL_CHECK_CONFIG macro support.
aclocal.m4: Rebuilt
configure: Add --disable-metaserver2 option, check for Curl, pthread. Make
sure user either has curl installed or has used --disable-metaserver2
configure, */Makefile.in: Rebuilt with Curl support
common/cconfig.h: Add note about METASERVER2 (controlled via configure)
common/client.c: Add metaserver2 global
common/client.h: Add metaserver2 global
common/config.h.in: Rebuilt by autoheader.
common/init.c: Add call to init_metaserver()
common/metaserver.c: Support for metaserver2. More fields in Meta_Info.
Re-arrange file a little so logical functions are together.
common/metaserver.h: New fields in Meta_Info, some renamed to keep
it consistent accross all of metaserver2.
common/proto.h: rebuilt
gtk-v2/src/metaserver.c: Add support for threaded metaserver2 retrievals -
need to make sure data is accessed in thread safe way, also need to
add check for status of retrieval thread.
MSW 2007-08-08
8 lines of code changed in 1 file:
Rebuilt auto-generated files.
1 lines of code changed in 1 file:
Add theme support to the gtk2 client spell window.
gtk-v2/gtk-v2.glade: Remove the drawingarea boxes, add eventboxes and put
the labels in the eventbox - the labels now act as key, as it is easier
to do all of foreground, background, and font style there.
gtk-v2/src/config.c: Add calls to set spell styles and redraw spell window
gtk-v2/src/interface.c: Rebuilt
gtk-v2/src/inventory.c: Declare Style_Names static, since it is a generic
name and spells.c uses same name. Linewrap a long line.
gtk-v2/src/spells.c: Add theme handling - load up theme data, set entries
in the treeview widget, update code to draw keys.
gtk-v2/themes/Black, gtk-v2/themes/Standard: Add style information for the
spells.
MSW 2007-02-25
47 lines of code changed in 2 files:
Fix missing -llualib linking option.
3 lines of code changed in 1 file:
Apply patch #1560052: LUA client-side support.
9 lines of code changed in 1 file:
Add support for different themes in the gtk2 client. A lot of compiled
in defaults have also moved to the the theme file.
---
INSTALL: Added file - wanted by automake.
README: Move install directions to INSTALL file.
configure.in, configure: Add gtk-v2/themes/Makefile to list of Makefiles.
common/Makefile.in, common/Makefile.am: Add rule to make msgtypes.h file.
common/client.h: Add Msg_Type_Names file, used by msgtypes.h file.
common/msgtypes.h: File that holds names for the message type/subtype
values.
common/msgtypes.pl: Script to make msgtypes.h file - basically parses
newclient.h, pulling out the MSG_ structures.
common/newclient.h: Update to match server version.
gtk-v2/Makefile.am, gtk-v2/Makefile.in: Add themes to list of subdirectories.
gtk-v2/gtk-v2.glade: Add theme selection to config window.
gtk-v2/src/config.c: Add support for loading/saving theme to gdefaults2 file.
Add support for getting theme from config window, and changing appearance
without need for restart.
gtk-v2/src/gtk2proto.h: rebuilt for theme related functions.
gtk-v2/src/info.c: Remove hard coded font values. Add code to load
color, font, and msg type/subtype from theme file. Remove
a lot of the hardcoding for having 2 textviews - removes a lot
of redundant code. Change processing for adding messages to
to text buffers - don't create a new text tag - use the various
textags we have that match.
gtk-v2/src/interface.c: Rebuilt with theme selection for config window.
gtk-v2/src/inventory.c: Remove hard coded values for color on
inventory status. Add ability to specify more than just background
color for different status - can now also change font & foreground
color. Add code to load up style information. Change processing
for getting row style. Update code that adds entries to the rows.
gtk-v2/src/main.c: Ad usercolorname global array that provides a name
to color number mapping to be used in theme files. Add code to
load up user theme.
gtk-v2/src/stats.c: Add support for parsing theme data. Remove hard coded
color values for the stat bars. Removed hard coded value on number
of stat bars in lots of places.
gtk-v2/themes: New directory to hold the theme files.
---
MSW 2007-02-04
1406 lines of code changed in 4 files: