Directory client/branches/gtk-v2-libglade/gtk-v2/src/

Directory Deleted:
2013-09-12 15:34
Total Files:
0
Deleted Files:
25
Lines of Code:
0

[root]/client/branches/gtk-v2-libglade/gtk-v2/src

Lines of Code

client/branches/gtk-v2-libglade/gtk-v2/src/ Lines of Code

Developers

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

Most Recent Commits

partmedia 2013-09-12 15:34 Rev.: 19033

Remove feature branch merged in long ago.

0 lines of code changed in 25 files:

  • client/branches/gtk-v2-libglade/gtk-v2/src: Makefile.am (del), Makefile.in (del), about.c (del), callbacks.h (del), config.c (del), gtk2proto.h (del), image.c (del), info.c (del), interface.c (del), interface.h (del), inventory.c (del), keys.c (del), magicmap.c (del), main.c (del), main.h (del), map.c (del), menubar.c (del), metaserver.c (del), opengl.c (del), pickup.c (del), sdl.c (del), spells.c (del), stats.c (del), support.c (del), support.h (del)
kbulgrien 2007-09-01 09:52 Rev.: 7098

- Merge changes from trunk revision 7097 in preparation to merge branch back
to trunk.

5 lines of code changed in 2 files:

  • client/branches/gtk-v2-libglade/gtk-v2/src: main.c (+1), metaserver.c (+4 -1)
kbulgrien 2007-09-01 00:52 Rev.: 7094

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: config.c (+282 -142), main.c (+36 -18), main.h (+3 -2)
kbulgrien 2007-08-20 19:53 Rev.: 6967

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: main.h (+3 -3)
kbulgrien 2007-08-19 20:27 Rev.: 6963

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: about.c (+4 -5), config.c (+1 -1), keys.c (+2 -1), main.c (+31 -14), main.h (+4 -3), metaserver.c (+2 -1), spells.c (+2 -1)
kbulgrien 2007-08-18 00:19 Rev.: 6951

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: Makefile.am (+1 -4), Makefile.in (+2 -8), about.c (+1 -3), config.c (-2), gtk2proto.h (+4 -2), info.c (-2), inventory.c (-3), keys.c (-3), magicmap.c (-4), main.c (-5), map.c (-1), menubar.c (+2 -3), metaserver.c (-2), pickup.c (-2), spells.c (-2), stats.c (-4), support.c (-2)
kbulgrien 2007-08-17 22:57 Rev.: 6950

- Back out change on make proto... misunderstood the -E option, and it did
not work properly.

2 lines of code changed in 2 files:

  • client/branches/gtk-v2-libglade/gtk-v2/src: Makefile.am (+1 -1), Makefile.in (+1 -1)
kbulgrien 2007-08-17 22:55 Rev.: 6949

- There is no about.h to #include...

0 lines of code changed in 1 file:

  • client/branches/gtk-v2-libglade/gtk-v2/src: about.c (-1)
kbulgrien 2007-08-17 22:36 Rev.: 6948

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: Makefile.am (+3 -4), Makefile.in (+3 -4)
kbulgrien 2007-08-17 22:30 Rev.: 6947

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: config.c (+16 -7)
kbulgrien 2007-08-17 22:24 Rev.: 6946

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: gtk2proto.h (new)
kbulgrien 2007-08-15 22:36 Rev.: 6941

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: main.c (+12 -2)
kbulgrien 2007-08-15 21:23 Rev.: 6939

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: main.c (+6 -1), main.h (+2)
kbulgrien 2007-08-15 21:00 Rev.: 6938

- Oops. Typo fix, and remove unused variable declaration.

1 lines of code changed in 1 file:

  • client/branches/gtk-v2-libglade/gtk-v2/src: config.c (+1 -1)
kbulgrien 2007-08-15 20:57 Rev.: 6937

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: config.c (+24 -20)
mwedel 2007-08-15 00:34 Rev.: 6926

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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: metaserver.c (+1)
kbulgrien 2007-08-12 22:08 Rev.: 6921

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: about.c (+5 -3), config.c (+13 -7), inventory.c (+6 -6), keys.c (+19 -15), main.c (+7), map.c (+6 -6), menubar.c (+177 -8), metaserver.c (+17 -13), spells.c (+11 -8)
kbulgrien 2007-08-11 21:07 Rev.: 6913

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: about.c (+4), config.c (+27 -20), inventory.c (+10), keys.c (+17), map.c (+9 -2), metaserver.c (+16 -1), spells.c (+9)
kbulgrien 2007-08-11 21:05 Rev.: 6912

- Add comment about calling glade_init().

2 lines of code changed in 1 file:

  • client/branches/gtk-v2-libglade/gtk-v2/src: main.c (+2)
kbulgrien 2007-08-11 14:33 Rev.: 6911

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: Makefile.am (+2 -2), Makefile.in (+4 -4)
kbulgrien 2007-08-11 11:37 Rev.: 6908

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: Makefile.am (new), Makefile.in (new)
kbulgrien 2007-08-11 00:05 Rev.: 6906

- Add #include glade/glade.

0 lines of code changed in 8 files:

  • client/branches/gtk-v2-libglade/gtk-v2/src: image.c (changed), magicmap.c (changed), opengl.c (new), sdl.c (new)
kbulgrien 2007-08-11 00:03 Rev.: 6905

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: info.c (new), inventory.c (changed), keys.c (new), map.c (changed), menubar.c (changed), pickup.c (changed), stats.c (new)
kbulgrien 2007-08-11 00:03 Rev.: 6904

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: about.c (changed), config.c (changed), metaserver.c (changed), spells.c (new)
kbulgrien 2007-08-11 00:02 Rev.: 6903

- Define new global pointer (xml) to window_root that is initialized in main.c.

0 lines of code changed in 2 files:

  • client/branches/gtk-v2-libglade/gtk-v2/src: main.h (new)
kbulgrien 2007-08-11 00:01 Rev.: 6902

- 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:

  • client/branches/gtk-v2-libglade/gtk-v2/src: main.c (changed)
Generated by StatSVN 0.7.0