]> Pileus Git - ~andy/gtk/log
~andy/gtk
23 years agoupdated exports
Hans Breuer [Sun, 6 May 2001 14:07:49 +0000 (14:07 +0000)]
updated exports

2001-01-06  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def : updated exports

* gdk/win32/makefile.msc : -DGDK_ENABLE_BROKEN otherwise
gdk won't compile anymore

* gdk/win32/gdkevents-win32.c : initialize ret_val when
processing GDK_FILTER functions, initialize event.key->hardware_keycode.
Improved gdk_flush () to not only do pending drawing operations
but also process all currently pending events. This should make
the behaviour more similar to the X11 version.

* gdk/win32/gdkgc-win32.c (predraw_set_background) : a background
option needs to be set even if there is no GDK_GC_BACKGROUND.
(gdk_win32_hdc_get) : use predraw_set_background () independent
of value_mask. This allows to draw dashed lines leaving the original
background intact.

* gdk/win32/gdkimage-win32.c (gdk_image_new_bitamp) : free data
after processing, because we can't reuse it as the X11 version does.

* gtk/gtk.def : updated exports

* gtk/makefile.msc.in : added ATK, removed all test apps. (I
would like to get rid of this file again, and use straight
makefile.msc again, as the other Gtk+ subdirs do)

* test/makefile.msc (new file) : build the test apps here

(phase two: something has send me a broken pipe signal :)

23 years agoupdated exports
Hans Breuer [Sun, 6 May 2001 14:02:45 +0000 (14:02 +0000)]
updated exports

2001-01-06  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def : updated exports

* gdk/win32/makefile.msc : -DGDK_ENABLE_BROKEN otherwise
gdk won't compile anymore

* gdk/win32/gdkevents-win32.c : initialize ret_val when
processing GDK_FILTER functions, initialize event.key->hardware_keycode.
Improved gdk_flush () to not only do pending drawing operations
but also process all currently pending events. This should make
the behaviour more similar to the X11 version.

* gdk/win32/gdkgc-win32.c (predraw_set_background) : a background
option needs to be set even if there is no GDK_GC_BACKGROUND.
(gdk_win32_hdc_get) : use predraw_set_background () independent
of value_mask. This allows to draw dashed lines leaving the original
background intact.

* gdk/win32/gdkimage-win32.c (gdk_image_new_bitamp) : free data
after processing, because we can't reuse it as the X11 version does.

* gtk/gtk.def : updated exports

* gtk/makefile.msc.in : added ATK, removed all test apps. (I
would like to get rid of this file again, and use straight
makefile.msc again, as the other Gtk+ subdirs do)

* test/makefile.msc (new file) : build the test apps here

23 years agoRelease 1.3.5
Owen Taylor [Sat, 5 May 2001 14:07:45 +0000 (14:07 +0000)]
Release 1.3.5

Sat May  5 10:06:24 2001  Owen Taylor  <otaylor@redhat.com>

* Release 1.3.5

* configure.in (GTK_MICRO_VERSION): Up to 1.3.5

        * NEWS: Updated

* demos/gtk-demo/Makefile.am (EXTRA_DIST): Fix minor
Makefile breakage.

23 years agoFix typo in filename.
Owen Taylor [Sat, 5 May 2001 13:21:22 +0000 (13:21 +0000)]
Fix typo in filename.

Sat May  5 09:18:30 2001  Owen Taylor  <otaylor@redhat.com>

* demos/gtk-demo/images.c (progressive_timeout): Fix
typo in filename.

* gtk/gtktreeview.c (gtk_tree_view_row_activated): Comment
out FIXME warning; just too annoying.

23 years agoupdated azeri file
Pablo Saratxaga [Sat, 5 May 2001 10:27:13 +0000 (10:27 +0000)]
updated azeri file

23 years agoBetter error messages.
Alex Larsson [Fri, 4 May 2001 21:41:17 +0000 (21:41 +0000)]
Better error messages.

2001-05-04  Alex Larsson  <alla@lysator.liu.se>

* gdk/linux-fb/gdkcolor-fb.c:
Better error messages.

* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_new):
Initialize abs_x and abs_y.

* gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic):
Correct handling of stipple offset.

* gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init):
Treat directcolor framebuffers as truecolor.

23 years agoAdd dependency on Atk for accessibility support.
Owen Taylor [Thu, 3 May 2001 20:11:14 +0000 (20:11 +0000)]
Add dependency on Atk for accessibility support.

Thu May  3 14:13:49 2001  Owen Taylor  <otaylor@redhat.com>

        * INSTALL.in HACKING gtk/gtkaccessible.[ch] gtk/gtk.c: Add
dependency on Atk for accessibility support.

* configure.in **/Makefile.am: Major reworking of substituted
variables for CFLAGS/LIBS to make a lot more sane and
keep the the compile/link lines a bit shorter.

* gdk/x11/gdkkeys-x11.c: Fix #endif with trailing stuff.

23 years agoremove '.' from end of include directory
James Henstridge [Thu, 3 May 2001 14:43:15 +0000 (14:43 +0000)]
remove '.' from end of include directory

23 years agoFix return value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also, use
Owen Taylor [Thu, 3 May 2001 12:14:37 +0000 (12:14 +0000)]
Fix return value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also, use

Thu May  3 08:10:54 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktexttag.c (gtk_text_tag_class_init): Fix return
value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also,
use _gtk_boolean_handled_accumulator.

23 years agoPatch from Juan Pablo Mendoza Mendoza to fix things so clicking inside
Owen Taylor [Thu, 3 May 2001 11:15:26 +0000 (11:15 +0000)]
Patch from Juan Pablo Mendoza Mendoza to fix things so clicking inside

Thu May  3 07:00:09 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
to fix things so clicking inside selection leaves cursor
at point where clicked. (#50324)

* gtk/gtksettings.c (gtk_settings_class_init): Restore
sane value for default double click time.

* tests/testtext.c (test_init): Really path to input modules.

23 years agoFix trailing comma on enumeration. (#54071)
Owen Taylor [Thu, 3 May 2001 09:38:45 +0000 (09:38 +0000)]
Fix trailing comma on enumeration. (#54071)

Thu May  3 05:36:06 2001  Owen Taylor  <otaylor@redhat.com>

        * pixbuf.h: Fix trailing comma on enumeration. (#54071)

23 years agoinclude target-specific headers as done in testpixbuf-drawable.c
Sven Neumann [Thu, 3 May 2001 09:38:07 +0000 (09:38 +0000)]
include target-specific headers as done in testpixbuf-drawable.c

2001-05-03  Sven Neumann  <sven@convergence.de>

        * demos/testpixbuf-save.c: include target-specific headers as
        done in testpixbuf-drawable.c

23 years agoSplit the property editor code out for reuse, improve.
Owen Taylor [Thu, 3 May 2001 00:46:41 +0000 (00:46 +0000)]
Split the property editor code out for reuse, improve.

* tests/prop-editor.[ch] test/testtreeview.c tests/Makefile.am:
Split the property editor code out for reuse, improve.

23 years agoReduce new_text_length appropriately when we run into the size limit for
Owen Taylor [Thu, 3 May 2001 00:46:19 +0000 (00:46 +0000)]
Reduce new_text_length appropriately when we run into the size limit for

Wed May  2 20:36:38 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (gtk_entry_real_insert_text): Reduce
new_text_length appropriately when we run into the
size limit for the entry. (#53445, reported by Jeff Franks)

* tests/testgtk.c (create_entry): Remove most of the
property toggle buttons. Replace with a "Props" button
that brings up a property editor.

* tests/prop-editor.[ch] test/testtreeview.c tests/Makefile.am:
Split the property editor code out for reuse, improve.

23 years agoAlways trap errors around calls to XSetInputFocus since we have no way of
Owen Taylor [Wed, 2 May 2001 21:31:52 +0000 (21:31 +0000)]
Always trap errors around calls to XSetInputFocus since we have no way of

Wed May  2 17:26:22 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.c: Always
trap errors around calls to XSetInputFocus since we have
no way of knowing reliably whether we are viewable or
not. (#53947)

23 years agofix bug in dropping columns. Moving columns now basically works modula
Jonathan Blandford [Wed, 2 May 2001 05:25:09 +0000 (05:25 +0000)]
fix bug in dropping columns. Moving columns now basically works modula

Tue May  1 09:21:23 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
fix bug in dropping columns.  Moving columns now basically works
modula some fine tuning.

23 years agoAdd autoscroll support. It mostly works, but could use some fine tuning.
Jonathan Blandford [Tue, 1 May 2001 23:09:50 +0000 (23:09 +0000)]
Add autoscroll support. It mostly works, but could use some fine tuning.

Tue May  1 19:09:21 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_horizontal_autoscroll): Add
autoscroll support.  It mostly works, but could use some fine
tuning.
* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
Actually move the column.

23 years agoNew default theme! A slighly improved version of the 2.0 Raleigh theme,
Owen Taylor [Tue, 1 May 2001 01:36:33 +0000 (01:36 +0000)]
New default theme! A slighly improved version of the 2.0 Raleigh theme,

Mon Apr 30 20:29:27 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
     New default theme! A slighly improved version of the 2.0 Raleigh
  theme, with Windows-esque focus/drawing default.
  (GtkWidget::interior_focus defaults to TRUE.)

* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.

23 years agofix to work with gtk_paint_layout change
Havoc Pennington [Tue, 1 May 2001 01:32:41 +0000 (01:32 +0000)]
fix to work with gtk_paint_layout change

2001-04-30  Havoc Pennington  <hp@pobox.com>

* tests/testtext.c (line_numbers_expose): fix to work with
gtk_paint_layout change

23 years agoAdd an extra parameter use_text to gtk_paint_label() to deal with
Owen Taylor [Mon, 30 Apr 2001 23:23:54 +0000 (23:23 +0000)]
Add an extra parameter use_text to gtk_paint_label() to deal with

Mon Apr 30 19:18:07 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkstyle.[ch] gtk/gtkaccellabel.c gtk/gtkcellrenderertext.c
  gtk/gtkhruler.c gtk/gtkhscale.c gtk/gtklabel.c gtk/gtkprogressbar.c
  gtk/gtkvruler.c gtk/gtkvscale.c: Add an extra parameter
          use_text to gtk_paint_label() to deal with style->bg[] vs style->text[].

* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
  with GtkWidget::interior_focus = TRUE better.

* gtk/gtkbutton.c

* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
change that had to be made with g_object_get.

23 years agonew function. (gtk_tree_view_move_column_after): Clean up interface.
Jonathan Blandford [Mon, 30 Apr 2001 16:16:02 +0000 (16:16 +0000)]
new function. (gtk_tree_view_move_column_after): Clean up interface.

Sun Apr 29 20:13:40 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_get_columns): new function.
(gtk_tree_view_move_column_after): Clean up interface.

23 years agomoved GtkAnchorType and GtkSideType from gtkpacker.h to gtkenum.h.
Tim Janik [Sun, 29 Apr 2001 03:08:32 +0000 (03:08 +0000)]
moved GtkAnchorType and GtkSideType from gtkpacker.h to gtkenum.h.

Sun Apr 29 03:02:02 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkpacker.h:
        * gtk/gtkenums.h: moved GtkAnchorType and GtkSideType from gtkpacker.h
         to gtkenum.h.

        * gtk/gtkmain.c (gtk_main_do_event): silence compiler (GDK_SETTING not
        handled in switch).

        * gtk/Makefile.am:
        (gtk.defs): generate enum portions with  glib-mkenums.
        (gtktypebuiltins_evals.c): generate this with glib-mkenums.
        got rid of makeenums.pl and makeenums.awk in distributed tarballs.

        * gtk/gtkaccelgroup.c (gtk_accel_group_add): refined havocs warning
        addition.

        * docs/Changes-2.0.txt: keep a note on signal handlers now
        not getting emitted during the emission they were connected within.

23 years agofix bug in tooltip
Havoc Pennington [Sun, 29 Apr 2001 02:27:27 +0000 (02:27 +0000)]
fix bug in tooltip

2001-04-28  Havoc Pennington  <hp@pobox.com>

* gtk/gtkcolorsel.c (palette_new): fix bug in tooltip

23 years agovoc Pennington <hp@redhat.com>
Havoc Pennington [Sat, 28 Apr 2001 20:18:29 +0000 (20:18 +0000)]
voc Pennington  <hp@redhat.com>

* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_previous_line):
(gtk_text_layout_move_iter_to_next_line): fix these two for
invisible text, lots of other stuff still hosed.

* gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
new function, replaces the get/set palette stuff. This function
is intended for use by libgnomeui which should set the hook to a
thing which sets the palette in GConf, and we need the
GConf-to-xsettings proxy which will result in the change being
propagated back to the GTK app.

* gtk/gtkaccelgroup.c (gtk_accel_group_add): add note to warning
about unusable signals that it may be because the signal has
parameters.

* gtk/gtkwidget.c (gtk_widget_modify_style): always copy the
style, otherwise gtkrc.c won't know to create a new GtkStyle for
it.
(gtk_widget_modify_color_component): call
gtk_widget_modify_style() so the rc style will get copied.
(gtk_widget_modify_font): ditto

* gtk/gtkrc.c: make a couple variables static

* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): hide
help button by default, since it does nothing

* gtk/gtkcolorsel.c: add tooltips, work on key navigation, fool
around with UI

* gtk/gtkentry.c (gtk_entry_realize): request enter/leave notify
so we can have tooltips

* gtk/gtkhsv.c (gtk_hsv_realize): request enter/leave notify so we
can have tooltips

* gdk/gdkimage.h: mark gdk_image_new_bitmap with
GDK_ENABLE_BROKEN, because its memory behavior is completely
hosed.

* gtk/gtknotebook.c: remove key press handler, replace with
binding set, add numeric keypad support

* gtk/gtktextview.c (gtk_text_view_class_init): accept KP_Delete

* gtk/gtktext.c (gtk_text_key_press): add a bunch of KP keysyms

* gtk/gtkentry.c (gtk_entry_class_init): accept GDK_KP_Delete in
addition to plain Delete

* gtk/gtktextview.c (gtk_text_view_key_press_event): accept
GDK_KP_Enter in addition to GDK_Return

* gtk/gtkfontsel.c (gtk_font_selection_size_key_press): connect to
activate on entry instead of key press
(gtk_font_selection_on_clist_key_press): get
rid of this signal handler, not needed with new font sel.

* gtk/gtkfilesel.c (gtk_file_selection_key_press): remove a
no-longer-needed emit_stop_by_name(), just return TRUE

* gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.c: remove keybindings
cruft, this widget is no longer focusable.

* gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkvscale.c,
gtk/gtkhscale.c: Get rid of trough_keys virtual function, add
move_slider action signal, add binding set for vscale/hscale, in
the process support numeric keypad

* gtk/gtkentry.c (gtk_entry_class_init): Add keypad bindings;
make GDK_Return and GDK_KP_Enter activate the entry via
binding set, instead of hardcoded.

23 years agos/G_PARAM_WRITE/G_PARAM_WRITABLE/
James Henstridge [Sat, 28 Apr 2001 05:17:31 +0000 (05:17 +0000)]
s/G_PARAM_WRITE/G_PARAM_WRITABLE/

obvious fix to make it compile

23 years agoMassive reorder/cleanup of a lot of the code. Some documentation added.
Jonathan Blandford [Sat, 28 Apr 2001 00:29:34 +0000 (00:29 +0000)]
Massive reorder/cleanup of a lot of the code. Some documentation added.

Fri Apr 27 20:27:21 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
code.  Some documentation added.

23 years agofix warning
Havoc Pennington [Sat, 28 Apr 2001 00:12:47 +0000 (00:12 +0000)]
fix warning

2001-04-27  Havoc Pennington  <hp@redhat.com>

* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning

* gtk/gtkmessagedialog.c (gtk_message_dialog_init): make messages selectable

* gtk/gtkentry.c (gtk_entry_real_insert_text): don't strip
line/para separators
(gtk_entry_create_layout): set single paragraph mode on the layout

* gtk/gtkbutton.c (gtk_button_new_from_stock): don't put much
spacing between the image and label; instead, inside a button box
the button will get extra space that will go there, but if people
configure button box for 0 chubbiness, then there's no spacing.

* gtk/gtkbbox.c (gtk_button_box_class_init): Make child ipadding
and min/max size style properties, so people can tune their
chubbiness.

* tests/testgtk.c (make_toolbar): remove calls to removed toolbar
functions

* gtk/gtktoolbar.c (gtk_toolbar_class_init): Make space_size,
space_style, and button_relief into style properties, remove
functions for setting them

* gtk/gtkmenu.c (gtk_menu_key_press): handle menu bar accel to pop
it back down

* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): free boxed
types from gtk_widget_style_get

* gtk/gtkmenubar.c (gtk_menu_bar_set_shadow_type): Remove, replace
with a style property.

* gdk/x11/gdkevents-x11.c: namespace the settings

* gtk/gtkmenubar.c: Add F10 accelerator to move between menubars.

* gtk/gtksettings.c (gtk_settings_class_init): remove code with
side effects from inside g_assert(), so that G_DISABLE_ASSERT can
be used. Also, translate doc strings for settings. Also, namespace
the double-click-time property. Also, remove bell properties crap.

23 years agobefore creating links, check if pkg-config files exist for the default
Sven Neumann [Fri, 27 Apr 2001 01:38:54 +0000 (01:38 +0000)]
before creating links, check if pkg-config files exist for the default

2001-04-27  Sven Neumann  <sven@gimp.org>

* Makefile.am: before creating links, check if pkg-config files
exist for the default target. Otherwise link to the pkg-config files
that got installed with this build.

23 years agoremoved invalid multibyte sequence. fixed invalid end-of-line.
Michael Natterer [Thu, 26 Apr 2001 23:33:50 +0000 (23:33 +0000)]
removed invalid multibyte sequence. fixed invalid end-of-line.

2001-04-27  Michael Natterer  <mitch@convergence.de>

* da.po: removed invalid multibyte sequence.
* jp.po: fixed invalid end-of-line.

23 years agoclean up column dragging code. Revealed some (potential) GdkWindow bugs.
Jonathan Blandford [Thu, 26 Apr 2001 23:17:36 +0000 (23:17 +0000)]
clean up column dragging code. Revealed some (potential) GdkWindow bugs.

Thu Apr 26 19:11:46 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_motion): clean up column
dragging code.  Revealed some (potential) GdkWindow bugs.

* gdk/x11/gdkwindow-x11.c (gdk_window_reparent): add
_gdk_window_init_position to the end of reparent to fix the case
of reparenting when new_x != old_x and new_y != old_y.

23 years agoAdded Hebrew Punctuation/Point Marks to the text.
Chookij Vanatham [Thu, 26 Apr 2001 19:03:58 +0000 (19:03 +0000)]
Added Hebrew Punctuation/Point Marks to the text.

23 years agoremove some left-over files
Owen Taylor [Thu, 26 Apr 2001 18:39:06 +0000 (18:39 +0000)]
remove some left-over files

23 years agoFix optimization that was correct for the use here, but completely
Owen Taylor [Thu, 26 Apr 2001 14:57:13 +0000 (14:57 +0000)]
Fix optimization that was correct for the use here, but completely

Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (strstr_len): Fix optimization that
was correct for the use here, but completely incorrect
in general.

23 years agoRemove deprecation of gtk_window_set_default_size() until patch adding
Owen Taylor [Thu, 26 Apr 2001 14:42:41 +0000 (14:42 +0000)]
Remove deprecation of gtk_window_set_default_size() until patch adding

Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
until patch adding gtk_window_set_size() is recommitted.

* **Makefile.am configure.in gdk/x11/gdkim-11.c
  gtk/gtkmain.c gtk/gtkimmulticontext.c gtk/gtkmain.c
  gtk/gtkrc.c: Remove all traces of -DX_LOCALE support.
  (#10784)

23 years agoAdd note about GTK_ENABLE_BROKEN.
Owen Taylor [Wed, 25 Apr 2001 16:34:09 +0000 (16:34 +0000)]
Add note about GTK_ENABLE_BROKEN.

Wed Apr 25 12:33:03 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/tmpl/gtktreeitem.sgml: Add note about GTK_ENABLE_BROKEN.

23 years agoTest for window == NULL in a number of cases.
Owen Taylor [Wed, 25 Apr 2001 16:17:46 +0000 (16:17 +0000)]
Test for window == NULL in a number of cases.

Wed Apr 25 12:16:36 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/X11/gdkevents-x11.c (gdk_event_translate): Test for
window == NULL in a number of cases.

* tests/testdnd.c: Set module path for gdk-pixbuf.

23 years agoset_decorations_hint and set_functions_hint were still in the header
Havoc Pennington [Wed, 25 Apr 2001 14:15:04 +0000 (14:15 +0000)]
set_decorations_hint and set_functions_hint were still in the header

2001-04-25  Havoc Pennington  <hp@pobox.com>

* gtk/gtkwindow.h: set_decorations_hint and set_functions_hint
were still in the header

23 years agoForgot the ChangeLog entry.
Alexander Larsson [Tue, 24 Apr 2001 14:59:12 +0000 (14:59 +0000)]
Forgot the ChangeLog entry.

23 years agoi2001-04-24 Alexander Larsson <alexl@redhat.com>
Alexander Larsson [Tue, 24 Apr 2001 14:58:33 +0000 (14:58 +0000)]
i2001-04-24  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkclist.[ch]:
* gtk/gtkctree.c:
When there is a row highlighted for D'n'D it must alse
be painted hightlighted on exposes. Otherwise exposes from
the icon being dragged will mess up the hightlight.

* gtk/gtkfontsel.c:
Don't recenter selected font when exposing the font family
clist. This means you can now actually scroll the font family
list.

* gtk/gtknotebook.c:
Fix focus movement on scrolling tabs that are placed on the left
and right.

23 years agohandle 0-height empty/invisible lines.
Havoc Pennington [Tue, 24 Apr 2001 12:24:35 +0000 (12:24 +0000)]
handle 0-height empty/invisible lines.

2001-04-21  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height
empty/invisible lines.

* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset)
(gtk_text_iter_set_visible_line_index): new functions to set
indexes excluding invisible text

* gtk/gtktextlayout.c (line_display_iter_to_index): get visible
index

* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index)
(gtk_text_iter_get_visible_line_offset): new functions to
get indexes excluding invisible text

* gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a
bunch of extra padding that served no purpose

* gtk/gtkdialog.c: Make all the spacings configurable via style
properties, for chubbiness configuration in themes

* tests/testtext.c: fix path to the immodules.

23 years agoadd missing '}' that got munched by #endif.
Jonathan Blandford [Mon, 23 Apr 2001 23:03:53 +0000 (23:03 +0000)]
add missing '}' that got munched by #endif.

Mon Apr 23 18:57:03 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtksocket.c (gtk_socket_filter_func): add missing '}' that
got munched by #endif.

* gtk/Makefile.am (gtk_plug_c_sources): add missing '\'

* gtk/gtktreeview.c: Refactored code to clean up a number of
events.

* gtk/gtktreemodel.c (gtk_tree_path_compare): Switched return
values to make consistent with other functions.  Spotted by Jeff
Franks <jcf@tpg.com.au>.

* gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal
declaration spotted by Jeff Franks <jcf@tpg.com.au>.

23 years agogtk/Makefile.am gtk/gtkplug.c on request of Owen, reverted my last change
Sven Neumann [Mon, 23 Apr 2001 19:51:06 +0000 (19:51 +0000)]
gtk/Makefile.am gtk/gtkplug.c on request of Owen, reverted my last change

2001-04-23  Sven Neumann  <sven@gimp.org>

        * gtk/Makefile.am
        * gtk/gtkplug.c
        * gtk/gtksocket.c: on request of Owen, reverted my last change
        and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets

23 years agoput into #ifdef GDK_WINDOWING_X11 to make GTK+ compile for non-X11 targets
Sven Neumann [Mon, 23 Apr 2001 18:20:44 +0000 (18:20 +0000)]
put into #ifdef GDK_WINDOWING_X11 to make GTK+ compile for non-X11 targets

2001-04-23  Sven Neumann  <sven@gimp.org>

* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
compile for non-X11 targets again

23 years agoAdd $(MATH_LIB).
Owen Taylor [Sun, 22 Apr 2001 19:52:55 +0000 (19:52 +0000)]
Add $(MATH_LIB).

Sun Apr 22 15:51:32 2001  Owen Taylor  <otaylor@redhat.com>

* Makefile.am (LDADDS): Add $(MATH_LIB).

23 years agoTranslations from Keld
Keld Jørn Simonsen [Sun, 22 Apr 2001 12:06:57 +0000 (12:06 +0000)]
Translations from Keld
evolution/po/da.po galeon/po/da.po gb/po/da.po gernel/po/da.po
gimp/po/da.po glade/po/da.po gnome-applets/po/da.po
gnome-core/po/da.po gnome-db/po/da.po gnome-pim/po/da.po
gnomeicu/po/da.po gnumeric/po/da.po gtk+/po/da.po
gtranslator/po/da.po nautilus/po/da.po pong/po/da.po
sodipodi/po/da.po ximian-setup-tools/po/da.po

23 years agoTranslations from keld
Kenneth Christiansen [Sat, 21 Apr 2001 21:19:39 +0000 (21:19 +0000)]
Translations from keld
control-center/po/da.po eog/po/da.po gb/po/da.po
gernel/po/da.po gimp/po/da.po gnome-db/po/da.po
gnome-libs/po/da.po gnome-lokkit/po/da.po gnome-print/po/da.po
gnomeicu/po/da.po gphoto/po/da.po gtk+/po/da.po
gtranslator/po/da.po libgda/po/da.po mc/po/da.po pan/po/da.po
pong/po/da.po sodipodi/po/da.po ximian-setup-tools/po/da.po

23 years agoAPI Change. Take GdkColor arguments instead of gdouble *. Leave the old
Alexander Larsson [Fri, 20 Apr 2001 10:59:48 +0000 (10:59 +0000)]
API Change. Take GdkColor arguments instead of gdouble *. Leave the old

2001-04-20  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkcolorsel.[ch]:
API Change. Take GdkColor arguments instead of gdouble *.
Leave the old gtk_color_selection_set_color for compatibility,
but marked deprecated.
Do correct rounding when converting RGB <-> HSV.

* gtk/gtkcolorseldialog.c:
* tests/testgtk.c:
Use new GtkColorSelection API.

* gtk/gtkhsv.c:
Fix problem selecting colors in triangle when Hue is 330.
Fix some black dots around the HSB triangle.

* gtk/gtkfilesel.c:
return FALSE from the focus_in_event handler to fix focus problems.

23 years agoFile containing #defines for XEMBED protocol.
Owen Taylor [Thu, 19 Apr 2001 20:36:46 +0000 (20:36 +0000)]
File containing #defines for XEMBED protocol.

Thu Apr 19 16:11:07 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/Makefile.am xembed.h: File containing #defines
for XEMBED protocol.

* gtk/gtkplug.[ch] gtk/gtksocket.[ch]:

- Change protocol from old plug/socket specific protocol
  to XEMBED draft
- Various fixes to work with GTK+-2.0

Still quite a bit of work to do here to handle initiation
from the socket side (as specified by XEMBED), to handle
the more advanced features of XEMBED, and to figure out
a good way to handle same-app embedding with less overhead
than using full XEMBED.

23 years agoadd signals and binding set, so keybindings are configurable
Havoc Pennington [Wed, 18 Apr 2001 22:21:45 +0000 (22:21 +0000)]
add signals and binding set, so keybindings are configurable

2001-04-18  Havoc Pennington  <hp@redhat.com>

* gtk/gtkwindow.c (gtk_window_class_init): add signals and binding
set, so keybindings are configurable
(gtk_window_activate_default): Change to activate the focus widget
instead if there's a focus widget, to be consistent with the
behavior that previously existed in key_press_event

23 years agoHandle numeric keypad keysyms; bug #50201
Havoc Pennington [Wed, 18 Apr 2001 20:33:26 +0000 (20:33 +0000)]
Handle numeric keypad keysyms; bug #50201

2001-04-18  Havoc Pennington  <hp@redhat.com>

* gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201

23 years agoClose bug #50615:
Havoc Pennington [Wed, 18 Apr 2001 20:16:38 +0000 (20:16 +0000)]
Close bug #50615:

2001-04-18  Havoc Pennington  <hp@redhat.com>

        Close bug #50615:

* gtk/gtkstyle.c (gtk_default_draw_layout): Use text_gc to draw
the layout

* gtk/gtktext.c: Use base/text instead of bg/fg throughout

* gtk/gtkentry.c: Use base/text instead of bg/fg throughout

* gtk/gtktextdisplay.c: Use base/text instead of bg/fg throughout

* gtk/gtkstyle.c (gtk_style_init): make GTK_STATE_SELECTED default
to blue for base, in addition to bg

23 years agoallow shrinking the image window to test that we clip to allocation.
Havoc Pennington [Wed, 18 Apr 2001 19:56:48 +0000 (19:56 +0000)]
allow shrinking the image window to test that we clip to allocation.

2001-04-18  Havoc Pennington  <hp@redhat.com>

* tests/testgtk.c (create_image): allow shrinking the image window
to test that we clip to allocation.

* gtk/gtkimage.c (gtk_image_expose): clip to allocation,
#9845

* gtk/gtkenums.h: move GtkWrapMode in here, #50472

23 years agoTry changing mode on shm segments to 0600. We'll see who complains.
Owen Taylor [Wed, 18 Apr 2001 18:28:19 +0000 (18:28 +0000)]
Try changing mode on shm segments to 0600. We'll see who complains.

Wed Apr 18 14:23:14 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkimage-x11.c (gdk_image_new): Try changing
mode on shm segments to 0600. We'll see who complains.

* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Call
_gdk_windowing_window_destroy() AFTER recursing through
children.

* tests/Makefile.am (noinst_PROGRAMS): Build testsocket,
testsocket_child on X.

* tests/testsocket[_child].c: Fix uses of
gtk_window_get_default_accel_group().

[ Merge patch from Ramiro Estrugo  <ramiro@eazel.com> from gtk-1-2 ]

* gdk/gdkimage.c: (gdk_image_get):
Deal with the possibility that XGetImage() might return NULL.
Allocate the GdkImagePrivate structure only after XGetImage()
succeeds in order not to dereference a NULL ximage pointer.  This
prevents a core dump when XGetImage() fails - which is unlikely,
but can happen due to race conditions accessing the geometries of
drawables.  An x error will still be triggered, but the gdk image
wrapper at least wont seg fault.

23 years agofix to properly queue resizes when the image is set
Havoc Pennington [Wed, 18 Apr 2001 18:09:18 +0000 (18:09 +0000)]
fix to properly queue resizes when the image is set

2001-04-18  Havoc Pennington  <hp@redhat.com>

* gtk/gtkimage.c: fix to properly queue resizes when the image is
set

* gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste
if the insertion point isn't editable

* demos/gtk-demo/images.c: Added a GtkImage demo

* demos/gtk-demo/drawingarea.c: drawing area demo

* demos/gtk-demo/menus.c (create_menu): cleanups

2001-04-18  Havoc Pennington  <hp@redhat.com>

* gdk-pixbuf.c (gdk_pixbuf_fill): Function to fill pixbuf with a
given color.

23 years agoIntroduce an extra child of toplevel windows that serves to hold the focus
Owen Taylor [Wed, 18 Apr 2001 17:57:36 +0000 (17:57 +0000)]
Introduce an extra child of toplevel windows that serves to hold the focus

Wed Apr 18 12:15:52 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkwindow-x11.c gdk/x11/gdkwindow-x11.h
  gdk/x11/gdkevents-x11.c: Introduce an extra child
of toplevel windows that serves to hold the focus to
avoid events being delivered to embedded windows.

* gdk/x11/gdkwindow-x11.c (gdk_window_new): Introduce
some extra variables to clean up code and reduce the
number of casts.

* gdk/x11/gdkwindow-x11.h (struct _GdkXPositionInfo): Use
guint for 1 bit bit fields, not gboolean.

23 years agoReturn FALSE, not TRUE. (Fixes #52925)
Owen Taylor [Wed, 18 Apr 2001 14:05:49 +0000 (14:05 +0000)]
Return FALSE, not TRUE. (Fixes #52925)

Wed Apr 18 10:04:23 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktooltips.c (gtk_tooltips_paint_window): Return FALSE,
not TRUE. (Fixes #52925)

23 years agoReleased 1.3.4
Owen Taylor [Tue, 17 Apr 2001 23:21:18 +0000 (23:21 +0000)]
Released 1.3.4

Tue Apr 17 18:05:34 2001  Owen Taylor  <otaylor@redhat.com>

* Released 1.3.4

* NEWS: Updated

* gtk/gtktextview.c (gtk_text_view_class_init): Fix to not
use GTK_TYPE_ENUM.

23 years agoDon't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS
Owen Taylor [Tue, 17 Apr 2001 19:19:09 +0000 (19:19 +0000)]
Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS

Tue Apr 17 13:47:12 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in: Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS

* gtk/gtktypeutils.h gtk/gtksignals.h: Restore proper parameter
names to compatibility #defines so docs work.

* gtk/gtkenums.h: Remove GtkMenuFactoryType

* gtk/gtkwindow.c gtk/gtkdnd.c: Docs cleanups.

* configure.in: Don't include -lgthread in GLIB_LIBS, GLIB_DEPLIBS

* tests/testgtkrc: No magenta cursors, please.

* README.in INSTALL.in HACKING README.cvs-commits: Updated.

* gtk/gtkenums.h (enum): Remove left over GtkMenuFactoryType.

23 years agoRemove -DGTK_DISABLE_COMPAT add -DGTK_ENABLE_BROKEN
Owen Taylor [Tue, 17 Apr 2001 18:12:46 +0000 (18:12 +0000)]
Remove -DGTK_DISABLE_COMPAT add -DGTK_ENABLE_BROKEN

Tue Apr 17 10:59:13 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am (GTKDOC_CFLAGS): Remove -DGTK_DISABLE_COMPAT
        add -DGTK_ENABLE_BROKEN

        * {gtk/gtk,gdk/gdk}-sections.txt: Updated

23 years agoRemove explicit pointer grabs, since they are no longer necessary.
Owen Taylor [Mon, 16 Apr 2001 20:33:03 +0000 (20:33 +0000)]
Remove explicit pointer grabs, since they are no longer necessary.

Mon Apr 16 14:38:41 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklist.c gtk/gtklistitem.c: Remove explicit pointer
grabs, since they are no longer necessary.

* gtk/gtkcombo.c (gtk_combo_popup_button_press): Fix #52926
by signal_connect() and call gtk_button_pressed() rather
than signal_connect_after().

* tests/testgtk.c: Restore radio menu items to combos
since they'll look OK with Raleigh, and it is easier
than finishing the process of removing them that was
started earlier.

23 years agoadded all exports required to link PyGtk 0.7.1
Hans Breuer [Mon, 16 Apr 2001 12:46:02 +0000 (12:46 +0000)]
added all exports required to link PyGtk 0.7.1

2001-04-16  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def :
* gtk/gtk.def : added all exports required to link PyGtk 0.7.1

* gdk/gdkfont.h : #define GDK_TYPE gdk_font_get_type ()
we are interested in the functions return value not the function address
* gdk/gdkvisual.h : same for GDK_TYPE_VISUAL

* gtk/makefile.msc.in : reflect movement of GDK_TYPEs from gtk to gdk

23 years agoupdated
Hans Breuer [Fri, 13 Apr 2001 23:56:19 +0000 (23:56 +0000)]
updated

2001-04-14  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def :
* gdk/makefile.msc : updated

* gdk/win32/gdkdrawable.win32 (gdk_win32_draw_rectangle) : if modus is
"fill with tile" do so with new helper function gdk_win32_draw_tiles
(the testgtk::text backgound pixmap is drawn again)
Changed SetTextAlign before pango_win32_render to TA_BASELINE to reflect
Win32 Pango change
* gdk/win32/gdkprivate-win32.h : prototype for gdk_win32_draw_tiles

* gdk/win32/gdkproperty-win32.c : first implementation of gdk_setting_get
Not sure if the returned settings have the right unit, because I couldn't
find any docs for the X version ...

* gtk/gtk.def :
* gtk/makefile.msc.in : updated

23 years agoFix up to refer to GTK+, not to GLib; fix some wording problems. (Compared
Owen Taylor [Fri, 13 Apr 2001 18:00:02 +0000 (18:00 +0000)]
Fix up to refer to GTK+, not to GLib; fix some wording problems. (Compared

Thu Apr 12 17:41:17 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk-2.0.m4: Fix up to refer to GTK+, not to GLib; fix some
        wording problems. (Compared to version from Johannes Stezenbach to
        check correctness.)

23 years agoAdd $(top_builddir) to includes as necessary, Run gtkdoc-scangobj from
Owen Taylor [Fri, 13 Apr 2001 14:48:28 +0000 (14:48 +0000)]
Add $(top_builddir) to includes as necessary, Run gtkdoc-scangobj from

Fri Apr 13 10:41:10 2001  Owen Taylor  <otaylor@redhat.com>

        * */Makefile.am: Add $(top_builddir) to includes as necessary,
        Run gtkdoc-scangobj from builddir, not srcdir, don't distribute
        foo-doc.{top,bottom}, recomment in code to distribute HTML
        images, with shell fixes.

        * gtk/gtk.hierarchy gdk-pixbuf/gdk-pixbuf.{args,signals,hierarchy}:
        Remove generated files.

23 years agoget this to compile.
Tim Janik [Thu, 12 Apr 2001 19:04:08 +0000 (19:04 +0000)]
get this to compile.

Thu Apr 12 21:04:26 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): get
        this to compile.

23 years agoIt's pixbuf_pos, not pixbufpos.
Anders Carlsson [Thu, 12 Apr 2001 18:16:13 +0000 (18:16 +0000)]
It's pixbuf_pos, not pixbufpos.

2001-04-12  Anders Carlsson  <andersca@codefactory.se>

* gtk/gtkcellrenderertextpixbuf.c (gtk_cell_renderer_text_pixbuf_class_init): It's pixbuf_pos,
not pixbufpos.

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Fix small typo.

* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property): xpad and ypad
are unsigned insts, therefore use g_value_set_uint.
(gtk_cell_renderer_set_property): Likewise, use g_value_get_uint.

23 years agofix a fixme.
Jonathan Blandford [Thu, 12 Apr 2001 16:11:54 +0000 (16:11 +0000)]
fix a fixme.

Sun Apr  8 05:36:06 2001  Jonathan Blandford  <jrb@webwynk.net>

        * gtk/gtktextview.c (gtk_text_view_class_init): fix a fixme.

        * gtk/gtkcellrendertoggle.c: change GTK_TYPE_POINTER to
        GTK_TYPE_STRING.

        * gtk/gtktreeview.c: New functions to allow initial column
        dragging work.

        * gtk/gtktreeviewcolumn.c: Initial column dragging support.

        * tests/testtreefocus.c: give dave some love.

        * tests/testtreesort.c: Modify test to check really long samples.

23 years agoFixed Swedish translation. Thanks to Göran Uddeborg
Christian Rose [Thu, 12 Apr 2001 00:59:45 +0000 (00:59 +0000)]
Fixed Swedish translation. Thanks to Göran Uddeborg
<goeran@uddeborg.pp.se>.

23 years agoPass pkg-config options before the other args so it works even if
Alexander Larsson [Wed, 11 Apr 2001 15:45:12 +0000 (15:45 +0000)]
Pass pkg-config options before the other args so it works even if

2001-04-11  Alexander Larsson  <alexl@redhat.com>

* gtk-2.0.m4: Pass pkg-config options
before the other args so it works even if
POSIXLY_CORRECT is set.

23 years agoUpdated Swedish translation.
Christian Rose [Tue, 10 Apr 2001 23:54:16 +0000 (23:54 +0000)]
Updated Swedish translation.

23 years agoincrement version to 1.3.4 (binary 0, interface 0).
Tim Janik [Mon, 9 Apr 2001 17:47:15 +0000 (17:47 +0000)]
increment version to 1.3.4 (binary 0, interface 0).

Mon Apr  9 19:02:07 2001  Tim Janik  <timj@gtk.org>

        * configure.in (GTK_MICRO_VERSION): increment version to 1.3.4 (binary
        0, interface 0).

23 years agogtk_calendar_button_press: check for action_func != NULL
Denis Oliver Kropp [Wed, 4 Apr 2001 21:16:47 +0000 (21:16 +0000)]
gtk_calendar_button_press: check for action_func != NULL

23 years agocorrected path to gtk.immodules
Sven Neumann [Wed, 4 Apr 2001 18:28:37 +0000 (18:28 +0000)]
corrected path to gtk.immodules

2001-04-04  Sven Neumann  <sven@gimp.org>

* tests/testgtk.c (test_init): corrected path to gtk.immodules

23 years agoUpdated russian translation.
Valek Frob [Wed, 4 Apr 2001 11:23:40 +0000 (11:23 +0000)]
Updated russian translation.

23 years agoReleased Gtk+-1.3.3.
Tim Janik [Wed, 4 Apr 2001 07:20:41 +0000 (07:20 +0000)]
Released Gtk+-1.3.3.

Wed Apr  4 09:18:18 2001  Tim Janik  <timj@gtk.org>

        * Released Gtk+-1.3.3.

Wed Apr  4 07:42:23 2001  Tim Janik  <timj@gtk.org>

        * gdk/Makefile.am (EXTRA_DIST): add makeenums.pl to EXTRA_DIST.

23 years agostay in builddir and read/write files to/from source dir. (if we don't
Tim Janik [Wed, 4 Apr 2001 03:01:35 +0000 (03:01 +0000)]
stay in builddir and read/write files to/from source dir. (if we don't

Wed Apr  4 04:13:18 2001  Tim Janik  <timj@gtk.org>

        * gtk/stock-icons/Makefile.am: stay in builddir and read/write
        files to/from source dir. (if we don't stay in builddir, we
        can't reach make-inline-pixbuf.

        * gdk/Makefile.am (gdkenumtypes.c): add $(srcdir) to mekeenums.pl
        deps.

        * configure.in (GTK_MICRO_VERSION): up and away (1.3.3 bin/interface
        ages 0).

Wed Apr  4 01:26:04 2001  Tim Janik  <timj@gtk.org>

        * gdk-pixbuf/Makefile.am: disabled "for i in $(HTML_IMAGES) ;"
        dist-hook because $(HTML_IMAGES) is empty.
        * gtk/Makefile.am: same here.
        * gdk/Makefile.am: same here. touched gdk.types since make rules
        require it ;(

Wed Apr  4 01:41:02 2001  Tim Janik  <timj@gtk.org>

        * pixops/Makefile.am (noinst_LTLIBRARIES): include $top_srcdir
        so we don't try to get <gtk/gtkobject.h> from standard search
        paths.

        * Makefile.am (gdk-pixbuf-marshal.c): use deps from srcdir.
        add gdk-pixbuf-marshal.list to EXTRA_DIST.
        take gdk-pixbuf-marshal.h out of _la sources.

23 years agosorry, I only wanted to commit .cvsignore
Sven Neumann [Tue, 3 Apr 2001 23:14:26 +0000 (23:14 +0000)]
sorry, I only wanted to commit .cvsignore
I'm stupid and perhaps a bit tired ...

23 years agoshut up CVS
Sven Neumann [Tue, 3 Apr 2001 23:11:15 +0000 (23:11 +0000)]
shut up CVS

23 years agoremoved set_sort_column, as it was moved to the GtkTreeSortable interface.
Jonathan Blandford [Tue, 3 Apr 2001 19:13:08 +0000 (19:13 +0000)]
removed set_sort_column, as it was moved to the GtkTreeSortable interface.

Tue Apr  3 15:04:45 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodelsort.h:  removed set_sort_column, as it was
moved to the GtkTreeSortable interface.

* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
Make more efficient (fixes #50262).

23 years agoUpdated.
Owen Taylor [Tue, 3 Apr 2001 18:48:46 +0000 (18:48 +0000)]
Updated.

Tue Apr  3 13:55:37 2001  Owen Taylor  <otaylor@redhat.com>

* NEWS: Updated.

* configure.in: Remove support for uninstalled glib.

* gtk/gtkdnd.c (gtk_drag_highlight_expose): Return FALSE as
so as not to stop emission.

* gtk-config-2.0.in: Exit with an error message that gtk-config-2.0
is no longer supported.

* Makefile.am gtk/Makefile.am tests/*: Moved all tests
into tests, change build order to build modules before
gtk/.

* modules/input/Makefile.am: Move gtk-query-immodules-2.0 invocation
to here.

23 years agochanged gtk_item_factory_dump_items() and gtk_item_factory_dump_rc()
Tim Janik [Tue, 3 Apr 2001 13:18:00 +0000 (13:18 +0000)]
changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc()

Tue Apr  3 13:52:57 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkitemfactory.[hc]: changed gtk_item_factory_dump_items()
        and gtk_item_factory_dump_rc() GtkPatternSpec argument to
        GPatternSpec. this is actually unlikely to cause breakage in
        third-party apps since except for gle, pretty much ever caller
        passes NULL here.

        * gtk/gtkbindings.[hc]: removed gtk_pattern_*() API.

        * *.c: use g_pattern_*() API.

        * docs/Changes-2.0.txt: GtkPatternSpec->GPatternSpec updates.

        * gtk/gtkstyle.c (gtk_default_draw_resize_grip): assert unhandled
        directions aren't passed in.

        * gtk/gtksettings.[hc] (_gtk_settings_parse_convert): export conversion
        functionality to be usable from gtkstyle.c as well, give precedence
        for conversion to user-supplied parsers.
        s/_gtk_rc_property_parser_for_type/_gtk_rc_property_parser_from_type/;

        * gtk/gtkstyle.c (_gtk_style_peek_property_value): use
        _gtk_settings_parse_convert() for rcporperty value conversion.

23 years agoAdd empty gdk_setting_get().
Alexander Larsson [Tue, 3 Apr 2001 08:39:28 +0000 (08:39 +0000)]
Add empty gdk_setting_get().

2001-04-03  Alexander Larsson  <alexl@redhat.com>

* gdk/linux-fb/gdkevents-fb.c:
Add empty gdk_setting_get().

23 years agouse more elaborate variable names.
Tim Janik [Tue, 3 Apr 2001 04:29:58 +0000 (04:29 +0000)]
use more elaborate variable names.

Tue Apr  3 05:09:07 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkmain.c (_gtk_boolean_handled_accumulator): use more elaborate
        variable names.

        * gtk/makeenums.pl: touch this so enum files get remade.

23 years agoBug fix to make trees work again when not sorted.
Jonathan Blandford [Mon, 2 Apr 2001 23:38:54 +0000 (23:38 +0000)]
Bug fix to make trees work again when not sorted.

Mon Apr  2 19:36:57 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreestore.c (gtk_tree_store_init):  Bug fix to make trees
work again when not sorted.

* gtk/gtktreeview.c (gtk_tree_view_class_init): Add "collapse_row"
and "expand_row" signal, closing bug 52578.

* gtk/gtktreeview.c (gtk_tree_view_expand_row): Add signal
support.

* gtk/gtktreeview.c (gtk_tree_view_collapse_row): Add signal
support.

23 years agoAdd GdkEventSetting event for notification of changes to system settings,
Owen Taylor [Mon, 2 Apr 2001 23:33:47 +0000 (23:33 +0000)]
Add GdkEventSetting event for notification of changes to system settings,

Mon Apr  2 18:18:07 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkevents.h: Add GdkEventSetting event for notification
of changes to system settings, gdk_setting_get() to retrieve
a single system setting.

* gdk/x11/gdkevents-x11.c: Bridge gdk_setting_get() and GdkEventSetting
to the draft XSETTINGS mechanism.

* gdk/x11/xsettings-{common,client}.[ch]: Sample-implementation of
XSETTINGS.

* gtk/gtkmain.c gtk/gtksettings.[ch]: Propagate notification
of GDK settings changes to the GtkSettings object.

* gdk/gdkevents.[ch] gdk/gtk/gtksettings.c: Hook up the
double-click-timeout property to GDK.

* gdk/gdkcolor.[ch] gdk/gdkvisual.h gdk/gdkevent.[ch] gdk/gdkfont.[ch]:
Define GDK boxed types here.

* gdk/Makefile.am gdk/makeenums.pl: Generate source files
gdk/gdkenumtypes.[ch] for enum definitions.

* gtk/gtkcompat.h: Add defines for GTK_TYPE_GDK_*
* gtk/gtk-boxed.defs: Comment out GDK types
* gtk/gtktypeutils.h: Remove GDK types
* gtk/Makefile.am: No longer scan GDK headers for enumerataions

23 years agoApplied patch from Ron Steinke to add signal accumulators so that signals
Owen Taylor [Mon, 2 Apr 2001 22:45:19 +0000 (22:45 +0000)]
Applied patch from Ron Steinke to add signal accumulators so that signals

Mon Apr  2 16:41:08 2001  Owen Taylor  <otaylor@redhat.com>

* Applied patch from Ron Steinke to add signal accumulators
so that signals with the convention 'TRUE return means
handled' stop emission on a TRUE return.

* gtk/gtkmain.[ch]: Add private accumulator
_gtk_boolean_handled_accumulator, used throughout GTK+.

* gtk/gtkspinbutton.c: Add accumulator for ::output.

* gtk/gtktipsquery.c: Add accumulator for ::widget_selected

* gtk/gtkwidget.c: Add accumulators for event signals,
::drag_motion, ::drag_drop. Use _gtk_boolean_handled_accumator
for ::mnemonic-activate.

* gtk/gtkwindow.c: Add accumulator for ::frame_event

Mon Apr  2 16:24:21 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c: Add missing include.

23 years agoBOXED,BOXED,BOXED,BOXED): new marshaller.
Jonathan Blandford [Mon, 2 Apr 2001 20:56:55 +0000 (20:56 +0000)]
BOXED,BOXED,BOXED,BOXED): new marshaller.

Mon Apr  2 16:56:15 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkmarshal.list (VOID:BOXED,BOXED,BOXED,BOXED): new
marshaller.

* gtk/gtktreemodel.c (gtk_tree_model_range_changed): change
"changed" signal to "range_changed".

* gtk/gtktreeview.c (gtk_tree_view_set_model): fix small bug where
removing a tree from one model would remove all trees from that
model.
* gtk/gtktreeview.c (gtk_tree_view_range_changed): use range
changed signal instead.

23 years agoAdd missing changelog entry.
Owen Taylor [Mon, 2 Apr 2001 20:15:31 +0000 (20:15 +0000)]
Add missing changelog entry.

23 years agoAvoid chaining up to parent impl, since we have a INPUT_ONLY window.
Owen Taylor [Mon, 2 Apr 2001 20:15:18 +0000 (20:15 +0000)]
Avoid chaining up to parent impl, since we have a INPUT_ONLY window.

Mon Apr  2 16:13:58 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkinvisible.c (gtk_invisible_style_set): Avoid
chaining up to parent impl, since we have a INPUT_ONLY
window.

* gtk/gtkentry.[ch]: Add a cursor_color property to set the
foreground color for the cursor.

23 years agoReference param spec when caching property values, since we unref it later
Owen Taylor [Mon, 2 Apr 2001 19:09:56 +0000 (19:09 +0000)]
Reference param spec when caching property values, since we unref it later

Mon Apr  2 15:06:13 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkstyle.c (_gtk_style_peek_property_value): Reference
param spec when caching property values, since we unref it
later when we free the style.

* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Dont' free
values since they are retrieved with G_VALUE_NO_COPY_CONTENTS.

23 years agoFix G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPE
Owen Taylor [Mon, 2 Apr 2001 15:51:28 +0000 (15:51 +0000)]
Fix G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPE

Mon Apr  2 10:47:57 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_class_init): Fix
G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPE
stupidity.

Mon Apr  2 00:51:11 2001  Owen Taylor  <otaylor@redhat.com>

[ First pass at adding style properties. Still needs some definite
fine-tuning. ]

        * gtk/gtkbutton.c: Add ::default_spacing style property.

* gtk/gtkcheckbutton.[ch] gtkradiobutton.c: Add ::indicator_size,
::indicator_spacing style properties.

* gtk/gtkoptionmenu.c: Add ::indicator_size, ::indicator_spacing
style properties.

* gtk/gtk{,h,v}paned.[ch]: Make handle_size a style property
rather than a normal property.

* gtk/gtkwidget.c: Add an ::interior_focus style property to
draw focus inside buttons, in the Windows/Java Metal/etc. style.

* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtktogglenbutton.c:
Honor ::interior_focus.

* gtk/gtkentry.c: Don't draw focus at all when ::interior_focus is
TRUE.

* gtk/gtkrange.[ch] gtk/gtk{h,v}scrollbar.c gtk/gtk{h,v}scale.c:
Add ::slider_width, ::trough_border, ::stepper_size,
::stepper_spacing style properties.

* gtk/gtkscale.[ch] Add ::slider-length style property.

23 years agoAdd gdk_window_begin_resize_drag and gdk_window_begin_move_drag. Remove
Alexander Larsson [Mon, 2 Apr 2001 07:15:30 +0000 (07:15 +0000)]
Add gdk_window_begin_resize_drag and gdk_window_begin_move_drag. Remove

2001-04-02 Alexander Larsson   <alexl@redhat.com>

* gdk/linux-fb/gdkwindow-fb.c:
Add gdk_window_begin_resize_drag and gdk_window_begin_move_drag. Remove some
warnings that were spewed on startup.

* gtk/gtkwindow-decorate.c:
gtk_window_reposition -> _gtk_window_reposition

23 years agoAdd boxed type for GtkRequistion. Use it for ::size-request.
Owen Taylor [Mon, 2 Apr 2001 03:47:25 +0000 (03:47 +0000)]
Add boxed type for GtkRequistion. Use it for ::size-request.

Sun Apr  1 21:37:22 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs:
Add boxed type for GtkRequistion. Use it for ::size-request.

* gtk/gtkstyle.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs:
        Add a new GtkBorder structure useful for geometry properties
for widgets. Add corresponding GTK_TYPE_BORDER.

* gtk/gtkwidget.c (gtk_widget_class_install_style_property):
Support automatic parser selection like
gtk_settings_install_property_parser().

* gtk/gtksettings.c (_gtk_rc_property_select_parser): Export
functionality for use by gtk_widget_class_install_style_property.
Support GTK_TYPE_BORDER, GTK_TYPE_REQUISITION.

Sun Apr  1 20:48:59 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (gtk_entry_class_init): Make invisible-char
g_param_spec_unichar().

23 years agoraise window for non _NET window managers.
Tim Janik [Sun, 1 Apr 2001 22:29:26 +0000 (22:29 +0000)]
raise window for non _NET window managers.

Sun Apr  1 23:41:37 2001  Tim Janik  <timj@gtk.org>

        * gdk/x11/gdkwindow-x11.c (gdk_window_focus): raise window for non
        _NET window managers.

        * gtk/gtkmenufactory.[hc]: cvs removed those files now.

23 years agogot rid of gtk_widget_popup(), a function that bad needs to be nuked, not
Tim Janik [Sun, 1 Apr 2001 07:32:41 +0000 (07:32 +0000)]
got rid of gtk_widget_popup(), a function that bad needs to be nuked, not

Sun Apr  1 08:00:13 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.[hc]: got rid of gtk_widget_popup(), a function that
        bad needs to be nuked, not just deprecated.

        * gtk/gtktooltips.c (gtk_tooltips_draw_tips): don't use
        gtk_widget_popup().

        * gtk/*.[hc]: s/activate_mnemonic/mnemonic_activate/g;

        * gtk/gtkmenufactory.[hc]: removed this long-standingly deprecated
        widget.

        * docs/Changes-2.0.txt: updates.

23 years agofor (i = 0; i < 100; i ++) g_print ("I will confirm it compile before
Jonathan Blandford [Sun, 1 Apr 2001 06:02:09 +0000 (06:02 +0000)]
for (i = 0; i < 100; i ++) g_print ("I will confirm it compile before

Sun Apr  1 01:02:54 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed):
for (i = 0; i < 100; i ++)
  g_print ("I will confirm it compile before committing\n");

23 years agoInitial work on implementing the GtkTreeSortable interface. Basicaly a big
Jonathan Blandford [Sun, 1 Apr 2001 05:52:23 +0000 (05:52 +0000)]
Initial work on implementing the GtkTreeSortable interface. Basicaly a big

Sun Apr  1 00:52:06 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreestore.c: Initial work on implementing the
GtkTreeSortable interface.  Basicaly a big cut'n'paste job.

23 years agofixups.
Tim Janik [Sun, 1 Apr 2001 04:20:08 +0000 (04:20 +0000)]
fixups.

23 years agofixed a bunch of notifications, added reference counts around emissions
Tim Janik [Sun, 1 Apr 2001 04:05:42 +0000 (04:05 +0000)]
fixed a bunch of notifications, added reference counts around emissions

Sun Apr  1 03:28:14 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c: fixed a bunch of notifications, added
        reference counts around emissions where the widget is used afterwards.
        added freeze/thaws around multiple properties being notified.
        (_gtk_widget_get_aux_info): cleanups.

        * gtk/gtksettings.c (gtk_settings_install_property): provide
        default parsing functions for gdkcolor, enums and flags.

        * gtk/gtkwindow.[hc]: partially reverted patch from havoc,
        applied by owen.
        kept a flag in GtkWindowGeometryInfo to handle user
        resetting default sizes.
        cleaned up ZVT comments.
        bunch of assorted bug fixes, notification fixes.
        (_gtk_window_reposition): make this a really internal function.

        * gtk/testgtk.c: fixups.

23 years agodisable USE_MMX for msvc build cause the assembler doesn't fit and is out
Hans Breuer [Sat, 31 Mar 2001 19:33:49 +0000 (19:33 +0000)]
disable USE_MMX for msvc build cause the assembler doesn't fit and is out

2001-03-31  Hans Breuer  <hans@breuer.org>

* config.h.win32.in : disable USE_MMX for msvc build cause
the assembler doesn't fit and is out of my scope. Disable
USE_GMODULE for msvc build as wel. The right way to share
binaries on win32 would be to use libtiff.dll etc. To reduce
installation hassles IMO it's better to include all fileformats
builtin to gdk-pixbuf

* gdk-pixbuf/makefile.msc : new file

* gdk/gdk.def : updated

* gdk/win32/gdkevents-win32.c : don't erase the background if
.no_bg is set. It improves the scrolling (e.g. of testgtk main
buttons
* gdk/win32/gdkgeometry-win32.c : added comment about the above

* gdk/win32/gdkwindow-win32.c : added three new functions like
the X version. Only one is implemented, because the other two
"gdk_window_begin_(resize|move)_drag" got no docs and appear to
be default behaviour on win32 anyway ...

* gtk/gtk.def : updated

* gtk/makefile.msc.in : update for new files, use glib-genmarshal
from where it was built and add an additional rule to automagically
build gtkmarshal.[hc]

* gtk/gtkfilesel.c (open_new_dir) : don't increase n_entries
before array access for the current entry isn't finished

* gtk/gtktreeitem.c (gtk_tree_item_subtree_button_click) :
use g_return_val_if_fail

* gtk/testgtk.c (window_controls) : don't use the *wrong* size
for the static array, but let the compiler calculate it. It
makes me wonder if gcc isn't capable to catch bugs like this ...