[root]/client/branches/gtk-v2-libglade/gtk-v2/src
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 127 (100.0%) | 816 (100.0%) | 6.4 |
kbulgrien | 101 (79.5%) | 815 (99.9%) | 8.0 |
mwedel | 1 (0.8%) | 1 (0.1%) | 1.0 |
partmedia | 25 (19.7%) | 0 (0.0%) | 0.0 |
Remove feature branch merged in long ago.
0 lines of code changed in 25 files:
- Merge changes from trunk revision 7097 in preparation to merge branch back
to trunk.
5 lines of code changed in 2 files:
- TODO
- Reformatted into a more aesthetic layout and moderately updated.
- src/config.c
- Add a pointer to a widget to support selection of the XML layout file.
- Set up a default datadir subdirectory for holding Glade XML layout files and
reduce hardcoding of the directory names inside function code.
- Reformat many block comments to better use 79 column screen width.
- Add function header comments for all functions that did not previously have
one.
- load_defaults() and save_defaults() now support XML layout file defaults.
- config_init() now sets up a combo box for XML layout file selection.
- scandir_filter() has been renamed to scandir_theme_filter() to allow other
scandir_filters to be created using a standard naming format.
- Added scandir_glade_filter() to select only files that end with .glade and
also to ignore the popup dialog definition file dialogs.glade.
- Factor code from setup_config_window() into fill_combobox_from_datadir() to
allow re-use of code to load combobox widgets that contain entries based on
the files in a directory. The factored code is now replaced by separate
calls to support both the theme combo box and the XML layout combo box.
- read_config_window() now updates the variable that tracks which layout on
the glade combo box is active.
- src/main.c
- Define new buffers to support the in-client Glade XML layout selection via
a combo box on the configuration popup dialog.
- Modify -window_xml and -dialog_xml command line option behavior to support
the in-client configuration features.
- Window and popup dialog loading now supports saved settings in the defaults
file, and still allows overriding the save layout selection via command-line
options.
- src/main.h
- Adjust some defines and set up an extern to support in-client selection of
the Glade XML layout file to use.
- glade/dialogs.glade
- Minor grammatical improvement on description text.
- Add config_combobox_glade to support selection of a Glade XML layout file.
321 lines of code changed in 3 files:
- Implement mwedel's idea of putting the distributed glade files into a
subdirectory off of the package data directory (like the theme files).
3 lines of code changed in 1 file:
- Factor common dialogs metaserver_window, keybinding_window, config_window,
spell_window, and about_window into a separate dialogs.glade project so
alternative game window layouts need not contain redundant descriptions
of the dialogs. crossfire-client-gtk2 now supports -window_xml and
-dialog_xml command-line arguments that may be used to select alternate
layout files.
- Add crossfire-client-gtk2 -dialog_xml argument to override the default
dialogs.glade layout for the common dialogs used by the client.
- Replace crossfire-client-gtk2 -xml_file argument with -window_xml.
- Remove the common dialogs from all layouts presently in SVN.
46 lines of code changed in 7 files:
- Rebuilt gtk2proto.h with `make proto`.
- Removed Glade generated file references: interface.c interface.h, callbacks.c
callbacks.h, support.c, and support.h.
- Adjust includes and remove calls to functions in generated files to correct
compilation errors caused by removal of Glade generated files.
10 lines of code changed in 18 files:
- Back out change on make proto... misunderstood the -E option, and it did
not work properly.
2 lines of code changed in 2 files:
- There is no about.h to #include...
0 lines of code changed in 1 file:
- Use of GTK2_CFLAGS and LIBGLADE_CFLAGS are redundant. Delete GTK2_CFLAGS.
Same for GTK2_LIBS vs. LIBGLADE_LIBS. Having both breaks make proto on
some systems.
- Fix proto: make target to use cproto -E $(CC) to work around broken cproto
on Mandriva 2007.0. It should be reasonable for other systems too.
6 lines of code changed in 2 files:
- Smarten up the gwinpos2 loading logic to avoid trying to set pane sizes
if the pane name isn't in the .glade file. This could happen when you
switch layouts. It also puts out a more sane message when that happens.
16 lines of code changed in 1 file:
- Add extern void spell_get_styles(void); by hand as `make proto` does not
work on my system. Remove implicit function declaration compile warning
for config.c.
0 lines of code changed in 2 files:
- Add a client command-line parameter "-xml_file <file>" to support selection
of a Glade XML layout from the command line.
12 lines of code changed in 1 file:
- Incremental improvement to Glade XML file load. Defines now determine the
location of a default XML file, and the client halts with an error message
printed to stderr if the .glade file is not found.
8 lines of code changed in 2 files:
- Oops. Typo fix, and remove unused variable declaration.
1 lines of code changed in 1 file:
- Client | Save Window Position now works as expected for any .glade file as
long as the .glade file hpaned and vpaned widgets are named with hpaned_
and vpaned_ prefices. Widgets are now dynamically found and processed.
24 lines of code changed in 1 file:
gtk-v2/src/metaserver.c: Add missing pthread_mutex_unlock() - resulted in
client hanging after disconnecting from server.
MSW 2007-08-14
1 lines of code changed in 1 file:
- Replace glade_xml_signal_connect() with g_signal_connect() due to online
hints that the "xml" flavor function is less than idea, and, because the
g_signal_connect() functions are exactly what Glade Designer generates
in interface.c, so it is easier to verify that all the signals are set
up as they should be simply by generating interface.c even though it is
not used in libglade applications.
- As needed, declare local GtkWidget *widget to add glade_xml_get_widget()
calls that were previously missing. This is a local variable since the
pointer is not required for use outside the initialization function.
- Added all g_connect_signal() calls found in interface.c but not previously
represented with glade_xml_signal_connect() calls.
261 lines of code changed in 9 files:
- Hookup all signals with glade_xml_signal_connect().
- Rename xml_local to xml_tree for consistency as needed.
92 lines of code changed in 7 files:
- Add comment about calling glade_init().
2 lines of code changed in 1 file:
- Change libglade_CFLAGS/LIBS to LIBGLADE_CFLAGS/LIBS for consistency with
common practice, and add AC_SUBST() to configure.in per libglade manual
suggestion.
6 lines of code changed in 2 files:
- Rework configure.in and gtk-v2/src/Makefile.am to support new libglade
dependency on gtk-v2 client. Other changes by autoconf/automake.
0 lines of code changed in 4 files:
- Add #include glade/glade.
0 lines of code changed in 8 files:
- Add #include glade/glade.h
- lookup_widget() converted to combination of glade_xml_get_widget_tree() and
glade_xml_get_widget().
0 lines of code changed in 14 files:
- Add #include glade/glade.h
- create_*_window() converted to glade_xml_get_widget().
- lookup_widget() converted to combination of glade_xml_get_widget_tree() and
glade_xml_get_widget().
0 lines of code changed in 8 files:
- Define new global pointer (xml) to window_root that is initialized in main.c.
0 lines of code changed in 2 files:
- Define new global pointer (xml) to window_root, and initialize the value
with glade_xml_new().
- Add #include glade/glade.h
- create_*_window() converted to glade_xml_get_widget().
- lookup_widget() converted to combination of glade_xml_get_widget_tree() and
glade_xml_get_widget().
- FIXME added. For now, the glade file name and location is hardcoded, and
make install does not yet install the glade file.
0 lines of code changed in 2 files: