Thu Jul 30 23:36:46 EDT 1998 The Rasterman <raster@redhat.com>
* fixed another drawing buglet in the frame drawing code (actually
in the clearing code but anyway in gtkstyle.c)
Thu Jul 30 19:10:42 EDT 1998 The Rasterman <raster@redhat.com>
* Fixed defautl drawing code to no longer clobber the original style
pixmap bgs as it did and added a helper funciton in gtkstyle.c to
help with this.
Thu Jul 30 18:09:21 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups
* gtk/gtktooltips.c: Pass a widget (the window) to the
drawing function instead of the GtkTooltips.
Thu Jul 30 17:27:10 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c: Abstract out checking for shape
extension into a function.
* gtk/gtkwindow.c: Fix up gtk_window_expose()/draw().
Remove extra callls to gtk_window_draw().
Miscellaneous indentation fixes.
Thu Jul 30 14:51:34 EDT 1998 The Rasterman <raster@redhat.com>
* Moved all the themes to install cleanly the engine *.so's in
$(exec_prefix)/lib/gtk/themes/engines/ .
All the data for themes is now installed in
$(exec_prefix)/share/gtk/themes/theme_name/
All things build using GNU configure and autoconf and libtool now.
I have created a win95, motif and pixmap theme setup - i have to
work on the motif and win95 ones - pixmap theme also need work -
it partially parses a gtkrc for itself. This is goign to be a good
sample base to work from if you wish to write your own theme engines.
Thu Jul 30 11:18:43 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c gtk/gtkrc.c: Memory management fixups.
* themes/th_main.c: Moved messages around so they are
printed before destroying strings.
Wed Jul 29 16:56:07 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c: Fairly implementation of expose compression.
(No GraphicsExpose compression yet, always compress
with the equivalent of XtCompressMultiple - no compression
of Expose events across non-Expose events)
* gdk/gdk.h gdk/gdkrectangle.c: gdk_rectangle_union()
Find rectangle bounding two rectangles.
* gtk/gtkstyle.c: Set clip rects for a few extra GC's
in gdk_default_draw_shadow()
Wed Jul 29 16:03:20 EDT 1998 The Rasterman <raster@redhat.com>
* Fixed drawing functions to handle switching themes on the fly
gracefully and look decent.
Tue Jul 28 22:52:10 EDT 1998 The Rasterman <raster@redhat.com>
* Added all the theme drawing code to all widgets, fixed up minor
nigglies in some widgets when it comes to themes, seem to be
running into some funky behavior with clipping rects in GC's. Too
many files to list here. (all files that now use gtk_paint_* are
affected).
Tue Jul 28 22:49:16 1998 Owen Taylor <otaylor@redhat.com>
* themes/th_main.c themes/th_draw.c gtk/testgtkrc:
Set up the demo theme so it is loaded from the RC file.
* themes/th_draw.c: Alleviate the hardcoded paths a wee
bit. (use $HOME/themes/)
Tue Jul 28 22:49:16 1998 Owen Taylor <otaylor@redhat.com>
* themes/th_main.c themes/th_draw.c gtk/testgtkrc:
Set up the demo theme so it is loaded from the RC file.
* themes/th_draw.c: Alleviate the hardcoded paths a wee
bit. (use $HOME/themes/)
* gtk/gtkthemes.[ch] gtk/gtkmain.c: Load engines specified in
the RC file via dlopen()
nternal handling of styles and RC styles pretty much
completely reworked for Theme work.
* gtkthemes.[ch]:
- Added routines for virtualization of RcStyle and Style handling.
- Temporary "sample" inline theme-engine. (Does nothing
but print out a few messages.
* gtkrc.[ch]
- Made GtkRcStyle public, added flags to tell if particular
colors have been set.
- RC Styles are "transparent", and the final style for
a widget is the composition of all matching styles
- Added pointer to GtkThemeEngine, and gpointer engine_data
to RC style and style.
- Parse "engine" keyword, load the appropriate theme engine
and call the engine's parser.
* gtkstyle.[ch]
- Keep a GtkRcStyle * in styles created from Rc Styles.
- Load up images from RC file at style attachment time.
- Call ->engine->foo() at appropriate times.
- Don't use a GCache. All incarnations for a style are
just linked together in a list, depend on the RC style
code to find the existing copy.
Tue Jul 28 14:41:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Added the concept of queued redraws
of partial areas. This can be done either relative
to the existing windows (gtk_widget_queue_clear[_area]())
or relative to the future allocation of the widget
(gtk_widget_queue_draw[_area]).
The initial implementation is pretty braindead, but
can be improved.
* gtk/gtkwidget.[ch]: Removed calls to gdk_window_clear_area()
in favor of gtk_widget_queue_clear().
* gtk/gtklabel.[ch] gtk/gtkpixmap.[ch]: Removed needs_clear
flags in favor of gtk_widget_queue_clear()
[ Began a new branch for ongoing RHAD themes work ]
Tue Jul 28 00:15:28 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* docs/gdk.sgml: new format for GDK documentation. Eventually
plan to remove gdk.texi, but not quite yet. Just getting
started.
Mon Jul 27 09:18:13 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: GtkTree section from
David Huggins-Daines <bn711@freenet.carleton.ca>,
add a GtkText widget example
* examples/text/* example/tree/* : new examples for the
GtkTree and GtkText widgets
* docs/gtk_tut.sgml: added an appendix to hold complete code examples that aren't in a full form elsewhere in the
tutorial (e.g. scribble)
Mon Jul 27 09:18:13 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: GtkTree section from
David Huggins-Daines <bn711@freenet.carleton.ca>,
add a GtkText widget example
* examples/text/* example/tree/* : new examples for the
GtkTree and GtkText widgets
Mon Jul 27 04:18:26 1998 Tim Janik <timj@gtk.org>
* gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all
the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0.
Mon Jul 27 03:11:20 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.c (binding_compose_params): fixup, so that enum
values are looked up.
* gtk/gtktypeutils.h:
* gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and
gtk_type_enums_find_value to lookup enum values.
* gtk/gtkctree.h:
* gtk/gtkctree.c: change enum name from GtkCTreeExpansion to
GtkCTreeExpansionType. fixed signal creations to pass the enum
types not just the base type GTK_TYPE_ENUM.
* gtk/gtkclist.h:
* gtk/gtkclist.c: fixed signal creations to pass the real enum
types not just the base type GTK_TYPE_ENUM.
Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
* gtk/testgtkrc: introduce testbindings on C-1 for buttons,
to check out binding priorities. someone should really write
gtkrc-mode for emacs.
* gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
* gtk/testgtk.c (main): and move it here ;). this test says something
on release of C-9. (this works only if the mouse pointer is on a
spinbutton and there is no focus widget).
* gtk/gtkrc.h:
* gtk/gtkrc.c:
export gtk_rc_parse_color, gtk_rc_parse_state and a new function
gtk_rc_parse_priority to parse path priority types.
export rc tokens.
feature binding parsing.
Wed Jul 22 23:41:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.h:
* gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
feature binding parsing in rc files.
* gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
* gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
order the bindings with lowest priority first.
* gdk/gdkrgb.c: actually builds and runs properly on big endian machines
now, because we #include config.h. Also fixed up a compile error in the
WORDS_BIGENDIAN case in gdk_rgb_convert_565_gray. I made the fix by looking
at patterns in the other code; Raph can you verify this?
* gdk/gdkthreads.c: #include <unistd.h> to quell compiler warnings
-Yosh
Wed Jul 15 17:44:47 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.c (new_text_property): We free things from
the text property MemChunk, so it needs to be G_ALLOC_AND_FREE.
* Fix up line start cache when splitting a property
during an insert.
genmarshal.pl: Handle complex types, and functions with a return value but
no parameters.
genmarshal.pl gtkmarshal.* gtkwidget.c: Remove support for GDK_EVENT and
STYLE parameter types.
Tue Jul 21 06:32:43 1998 Stefan Jeske <stefan@gtk.org>
* gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of
activity indicator. It is settable now as a fraction of the
total width/height using gtk_progress_bar_set_activity_blocks.
Renamed gtk_progress_bar_set_number_of_blocks to
gtk_progress_bar_set_discrete_blocks.