]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agoAdded Welsh file
Pablo Saratxaga [Sat, 23 Feb 2002 13:00:24 +0000 (13:00 +0000)]
Added Welsh file

22 years agolower case the key_val. (gtk_accel_group_connect_by_path) : ditto.
Jody Goldberg [Sat, 23 Feb 2002 07:56:41 +0000 (07:56 +0000)]
lower case the key_val. (gtk_accel_group_connect_by_path) : ditto.

2002-02-23  Jody Goldberg <jody@gnome.org>

* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
  key_val.
(gtk_accel_group_connect_by_path) : ditto.
(gtk_accel_group_disconnect_key) : ditto.

* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
(gtk_widget_real_key_press_event) : ditto.

22 years agoDocumented undocumented functions.
Jonathan Blandford [Sat, 23 Feb 2002 07:05:55 +0000 (07:05 +0000)]
Documented undocumented functions.

Sat Feb 23 00:28:47 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviecolumn.c: Documented undocumented functions.

22 years agoDocumented undocumented functions.
Jonathan Blandford [Sat, 23 Feb 2002 05:45:40 +0000 (05:45 +0000)]
Documented undocumented functions.

Sat Feb 23 00:28:47 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.c: Documented undocumented functions.

22 years agohonor min_width and max_width while resizing columns (pointed out by Jorn
Kristian Rietveld [Sat, 23 Feb 2002 02:13:10 +0000 (02:13 +0000)]
honor min_width and max_width while resizing columns (pointed out by Jorn

Sat Feb 23 03:10:20 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_key_press): honor min_width and
        max_width while resizing columns (pointed out by Jorn Baayen)

22 years agoPatch from Matthias Clasen (#54488)
Owen Taylor [Sat, 23 Feb 2002 00:36:49 +0000 (00:36 +0000)]
Patch from Matthias Clasen (#54488)

Fri Feb 22 19:17:46 2002  Owen Taylor  <otaylor@redhat.com>

        Patch from Matthias Clasen (#54488)

        * gtk/gtkwindow.c: Set/unset HAS_FOCUS flags here,
        and do ::has-focus notifications.

        * gtk/gtkclist.c gtk/gtkentry.c gtk/gtksocket.c
        gtk/gtktext.c gtk/gtktextview.c gtk/gtkwidget.c:
        Remove unecessary focus_in/out handles and unecessary
        flag setting.

        * gtk/gtkwidget.c: Adda missing notification on ::parent.

22 years agoFixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182.
Owen Taylor [Sat, 23 Feb 2002 00:13:17 +0000 (00:13 +0000)]
Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182.

Fri Feb 22 18:36:45 2002  Owen Taylor  <otaylor@redhat.com>

Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann,
#72182.

* demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c
gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c
gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h:
Squash trailing commas on enumerations.

* gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead
of 1 << 31 to work around AIX compiler problem. (C standard
seems to imply that compiler is required to use an unsigned
type for the enum value in this case.)

* gdk/gdkpixbuf-drawable.c: Fix lvalue casts.

* gtk/gtkwindow.h: Fix use of enum types for bitfields ...
compilers may choose to use a signed type for bitfields.

22 years agoLet's mention the bug number
Kristian Rietveld [Fri, 22 Feb 2002 23:40:52 +0000 (23:40 +0000)]
Let's mention the bug number

22 years agoleave threads before returning
Kristian Rietveld [Fri, 22 Feb 2002 23:37:56 +0000 (23:37 +0000)]
leave threads before returning

Sat Feb 23 00:34:01 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (validate_rows_handler): leave threads before
        returning

22 years agoRename icons.
Anders Carlsson [Fri, 22 Feb 2002 21:48:06 +0000 (21:48 +0000)]
Rename icons.

2002-02-22  Anders Carlsson  <andersca@gnu.org>

* gtk/stock-icons/*: Rename icons.

* gtk/stock-icons/Makefile.am: Update for new icon names.

* gtk/gtkiconfactory.c (init_icon_sizes): Set the
GTK_ICON_SIZE_BUTTON size to be 20x20.
(get_default_icons): Change stock names.

2002-02-22  Anders Carlsson  <andersca@gnu.org>

* gtk/Makefile.am (HTML_IMAGES): Update for name changes.

22 years agoadd last_single_clicked and last_single_clicked_2 rowrefs and add
Kristian Rietveld [Fri, 22 Feb 2002 21:36:48 +0000 (21:36 +0000)]
add last_single_clicked and last_single_clicked_2 rowrefs and add

Fri Feb 22 22:39:59 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeprivate.h: add last_single_clicked and
        last_single_clicked_2 rowrefs and add disable_popdown to the
        bitfield

        * gtk/gtktreeview.c (gtk_tree_view_destroy): add destroy stuff
        for two new rowrefs
        (gtk_tree_view_button_press): add some 'advanced' button handling,
        so double click is being handled right (double click madness was
        discovered by Anders Carlsson)

        * gtk/gtktreeview.c (gtk_tree_view_set_property): add missing
        break
        (gtk_tree_view_class_init): default value of headers_visible
        should be TRUE (both pointed out by Damon Chaplin, #71986)

        * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
        connect to populate_popup,
        (gtk_tree_view_search_disable_popdown): new function,
        (gtk_tree_view_real_search_enable_popdown): ditto,
        (gtk_tree_view_search_enable_popdown): ditto,
        (gtk_tree_view_search_dialog_destroy): check for
        gtk-tree-view-popdown-disabled (#71868)

        * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): move
        ->priv->reorderable assignment to bottom. (#72122)

22 years agosubtract 1 from line endpoint, to avoid cursor dirt in the text widget.
Havoc Pennington [Fri, 22 Feb 2002 17:16:59 +0000 (17:16 +0000)]
subtract 1 from line endpoint, to avoid cursor dirt in the text widget.

2002-02-22  Havoc Pennington  <hp@redhat.com>

* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): subtract 1 from
line endpoint, to avoid cursor dirt in the text widget.
zero-width lines appear to draw the endpoint always. #67999

22 years agoimplement more cleanly by using text_window->allocation.x/y instead of
Havoc Pennington [Fri, 22 Feb 2002 16:12:13 +0000 (16:12 +0000)]
implement more cleanly by using text_window->allocation.x/y instead of

2002-02-22  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (buffer_to_widget): implement more cleanly by
using text_window->allocation.x/y instead of recomputing it.
Fixes a bug caused by leaving out the border width here.

22 years agocall gtk_size_group_queue_resize to avoid invalidating the widget every
Havoc Pennington [Fri, 22 Feb 2002 15:55:14 +0000 (15:55 +0000)]
call gtk_size_group_queue_resize to avoid invalidating the widget every

2002-02-22  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (changed_handler): call
gtk_size_group_queue_resize to avoid invalidating the widget every
time its requisition changes. Instead we use the btree invalid
lines to know what to redraw. Fixes #71429

22 years agoremove conflict marker
Søren Sandmann Pedersen [Fri, 22 Feb 2002 13:35:03 +0000 (13:35 +0000)]
remove conflict marker

22 years agofeedback when check and radio buttons are depressed.
Soeren Sandmann [Fri, 22 Feb 2002 13:34:28 +0000 (13:34 +0000)]
feedback when check and radio buttons are depressed.

Fri Feb 22 14:08:38 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
gtktogglebutton.c: feedback when check and radio buttons are
depressed.

22 years agoremove C++-commented debug spew, reported by David L. Cooper
Havoc Pennington [Fri, 22 Feb 2002 02:00:57 +0000 (02:00 +0000)]
remove C++-commented debug spew, reported by David L. Cooper

2002-02-21  Havoc Pennington  <hp@pobox.com>

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove
C++-commented debug spew, reported by David L. Cooper

22 years agos/columns/rows/ in docs. (#70199)
Matthias Clasen [Fri, 22 Feb 2002 00:26:54 +0000 (00:26 +0000)]
s/columns/rows/ in docs. (#70199)

* gtk/gtktreeview.c (gtk_tree_view_set_reorderable):
s/columns/rows/ in docs.  (#70199)

* gtk/gtktreestore.c (gtk_tree_store_insert): s/before/after/ in
docs. (#71852, #68405)

* gtk/gtkcalendar.c (gtk_calendar_select_day): Correct a comment.

* gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkimage.sgml: s/%d/%%d/ in
examples.  (#71479)

* gtk/tmpl/gtkmenu.sgml: Document gtk_menu_set_active as
quasi-private.  (#69788)

* gtk/tmpl/gtkcalendar.sgml: Document month as zero-based and
selected_day as one-based.  (#57169)

22 years agoadd keynav handling for unselect all, focus column header, change focus
Kristian Rietveld [Thu, 21 Feb 2002 22:15:14 +0000 (22:15 +0000)]
add keynav handling for unselect all, focus column header, change focus

Thu Feb 21 23:02:29 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.[ch]: add keynav handling for unselect all,
        focus column header, change focus with arrow keys in column headers,
        column reordering, column resizing, small try to fix page up/down
        (this fixes #70889, and fixes a great deal of #53580)

22 years agoAdd GDK_ISO_Next_Group/Prev_Group/Level3_Shift/ First_Group/Last_Group to
Owen Taylor [Thu, 21 Feb 2002 22:03:09 +0000 (22:03 +0000)]
Add GDK_ISO_Next_Group/Prev_Group/Level3_Shift/ First_Group/Last_Group to

Thu Feb 21 16:51:17 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Add
        GDK_ISO_Next_Group/Prev_Group/Level3_Shift/
        First_Group/Last_Group to list of invalid accelerators.
        (A lot more that should be added, but probably would
        want a range mechanism. These are the ones found in
        the standard XFree86 config files.)

        * gtk/gtkbindings.c (gtk_bindings_activate): Fix problem
        that broke bindings for menus.

        * gtk/gtkwindow.[ch]: Export _gtk_window_activate_key()
        privately.

        * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Use
        _gtk_window_activate_key(), gtk_bindings_activate_event().

22 years agoRemove some workarounds for +/= and shift key handling.
Owen Taylor [Thu, 21 Feb 2002 17:29:01 +0000 (17:29 +0000)]
Remove some workarounds for +/= and shift key handling.

Thu Feb 21 12:24:22 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
        for +/= and shift key handling.

22 years agoImplement "fuzzy" key binding lookups; allow matches on key and level but
Owen Taylor [Thu, 21 Feb 2002 17:14:10 +0000 (17:14 +0000)]
Implement "fuzzy" key binding lookups; allow matches on key and level but

Wed Feb 20 14:26:47 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
        allow matches on key and level but not group. Also, implement
        ignoring "consumed modifiers correctly."

        * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using
        GtkKeyHash.

        * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in
        the group for key release events as well as key press events.

        * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
        Rename unused_modifiers to consumed_modifiers, make the docs and
        non-Xkb implementation match the Xkb implementation.

        * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate
        doc and parameter name changes.

        * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
        XkbTranslateKeyCode doesn't handle LockMask, we need to handle
        it ourselves.

        * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force
        <Shift>Tab to give GDK_ISO_Left_Tab, since we need consistency
        to allow dealing with ISO_Left_Tab.

        * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c
        gtk/gtkpaned.c gtk/gtkcombo.c  gtk/gtknotebook.c:
        Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab
        or <Shift>Tab both are equivalent as a binding specifier.)

        * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate
        GTK_RUN_ACTION, so you can bind an accelerator to it.

        * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call
        gdk_unicode_to_keyval on the mnemonic character.

        * tests/testgtk.c: Add a test for the new fuzzy key binding matching.

22 years agoUpdated.
Fatih Demir [Thu, 21 Feb 2002 14:44:51 +0000 (14:44 +0000)]
Updated.

22 years agoinconsitent files are .pngs too
jacob berkman [Thu, 21 Feb 2002 07:10:02 +0000 (07:10 +0000)]
inconsitent files are .pngs too

2002-02-21  jacob berkman  <jacob@ximian.com>

* gtk/theme-bits/Makefile.am (EXTRA_DIST): inconsitent files are
.pngs too

22 years agoSet the property as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
Owen Taylor [Thu, 21 Feb 2002 03:00:40 +0000 (03:00 +0000)]
Set the property as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)

Wed Feb 20 21:52:13 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkselection.c (gtk_selection_request): Set the property
        as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)

        * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
        of type ATOM_PAIR as well as properties of type ATOM.

22 years agoscreenshots of examples.
Matthias Clasen [Thu, 21 Feb 2002 00:40:16 +0000 (00:40 +0000)]
screenshots of examples.

* docs/tutorial/images/*.png: screenshots of examples.

* docs/tutorial/gtk-tut.sgml: remove deprecated widgets, add
screenshots, fix chapters 1-4 for GTK+ 2.0.

* demos/gtk-demo/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.

22 years agoMany cleanups and fixes. Draw exclusively in expose handler. Feedback when
Soeren Sandmann [Wed, 20 Feb 2002 23:36:28 +0000 (23:36 +0000)]
Many cleanups and fixes. Draw exclusively in expose handler. Feedback when

Thu Feb 21 00:31:41 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkspinbutton.c: Many cleanups and fixes. Draw exclusively
in expose handler. Feedback when buttons are depressed.

* gtk/gtkstyle.c: update for changes in gtkspinbutton.c. Fix
spinbuttons for RTL langauges.

22 years agonew radio buttons. handle inconsistent state for check- and radiobuttons.
Soeren Sandmann [Wed, 20 Feb 2002 22:09:25 +0000 (22:09 +0000)]
new radio buttons. handle inconsistent state for check- and radiobuttons.

Wed Feb 20 23:00:08 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkstyle.c: new radio buttons. handle inconsistent state for
check- and radiobuttons.

* gtk/theme-bits/check-13-inconsistent.png,
gtk/theme-bits/radio-13-inconsistent.png: new files

* gtk/theme-bits/radio-13.png: new radio buttons

* gtk/theme-bits/Makefile.am (EXTRA_DIST): add new
-inconsistent.png files

22 years agoAdd a XSETTING mapping for gtk-can-change-accels. (#70218, Thomas
Owen Taylor [Wed, 20 Feb 2002 21:22:22 +0000 (21:22 +0000)]
Add a XSETTING mapping for gtk-can-change-accels. (#70218, Thomas

Wed Feb 20 16:19:49 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkevents-x11.c: Add a XSETTING mapping for
gtk-can-change-accels. (#70218, Thomas Leonard.)

22 years agocheck handler_id before disconnecting the signal handler since it might
Sven Neumann [Wed, 20 Feb 2002 11:56:17 +0000 (11:56 +0000)]
check handler_id before disconnecting the signal handler since it might

2002-02-20  Sven Neumann  <sven@gimp.org>

* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
handler_id before disconnecting the signal handler since it might
have never been connected if the GtkColorSelection is destroyed
before it was realized.

22 years agoFold back Svens g_signal fixes from the examples.
Matthias Clasen [Wed, 20 Feb 2002 01:40:15 +0000 (01:40 +0000)]
Fold back Svens g_signal fixes from the examples.

* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
the examples.

* docs/tutorial/gtk-tut.sgml, examples/progressbar/progressbar.c,
examples/progressbar/Makefile: Make the progressbar example
deprecation-clean.

22 years agogtk/gtk-sections.txt updated for treeviewcolumn changes.
Sven Neumann [Tue, 19 Feb 2002 23:22:05 +0000 (23:22 +0000)]
gtk/gtk-sections.txt updated for treeviewcolumn changes.

2002-02-20  Sven Neumann  <sven@gimp.org>

* gtk/gtk-sections.txt
* gtk/tmpl/gtktreeviewcolumn.sgml: updated for treeviewcolumn changes.

22 years agoAnother fix -- get bug number right *grumble*
Kristian Rietveld [Tue, 19 Feb 2002 21:24:17 +0000 (21:24 +0000)]
Another fix -- get bug number right *grumble*

22 years agofixing ChangeLog
Kristian Rietveld [Tue, 19 Feb 2002 21:19:48 +0000 (21:19 +0000)]
fixing ChangeLog

22 years agonew function (gtk_tree_view_column_create_button): use g_signal_* instead
Kristian Rietveld [Tue, 19 Feb 2002 21:16:49 +0000 (21:16 +0000)]
new function (gtk_tree_view_column_create_button): use g_signal_* instead

Tue Feb 19 22:10:59 2002  Kristian Rietveld  <kris@gtk.org>

        * gtktreeviewcolumn.c (gtk_tree_view_column_mnemonic_activate): new
        function
        (gtk_tree_view_column_create_button): use g_signal_* instead of
        gtk_signal_*, hook up _mnemonic_activate callback
        (gtk_tree_view_column_update_button): use
        gtk_label_set_text_width_mnemonic instead of gtk_label_set_text
        (#69095)

        * gtktreeview.c (gtk_tree_view_class_init): remove key bindings
        for C-f and C-b, let treeview search use C-f (instead of C-s)
        (#61886)

        * gtkrc.key.emacs: add some GtkTreeView bindings

22 years agofix bug (skipping all black pixels).
Soeren Sandmann [Tue, 19 Feb 2002 19:59:37 +0000 (19:59 +0000)]
fix bug (skipping all black pixels).

Tue Feb 19 20:56:32 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
black pixels).

22 years agofinish conversion to g_signal_* functions by using G_OBJECT and G_CALLBACK
Sven Neumann [Tue, 19 Feb 2002 19:47:16 +0000 (19:47 +0000)]
finish conversion to g_signal_* functions by using G_OBJECT and G_CALLBACK

2002-02-19  Sven Neumann  <sven@gimp.org>

* examples/*/*.c: finish conversion to g_signal_* functions by
using G_OBJECT and G_CALLBACK and other assorted changes.

22 years agochange gtk_tree_view_column_cell_render, gtk_tree_view_column_cell_focus,
Kristian Rietveld [Tue, 19 Feb 2002 18:21:50 +0000 (18:21 +0000)]
change gtk_tree_view_column_cell_render, gtk_tree_view_column_cell_focus,

Tue Feb 19 17:36:31 2002  Kristian Rietveld  <kris@gtk.org>

        * gtktreeprivate.h, gtktreeviewcolumn.[ch], gtktreeview.c: change
        gtk_tree_view_column_cell_render,
        gtk_tree_view_column_cell_focus,
        gtk_tree_view_column_cell_draw_focus and
        gtk_tree_view_column_cell_set_dirty to be private functions.

        * gtktreeviewcolumn.[ch]: add install_handler argument to
        _cell_set_dirty to control if _mark_rows_col_dirty (which calls
        install_presize_handler) gets called, set widths correctly so
        autosizing works (#71870)

        * gtktreeview.c (gtk_tree_view_column_autosize): new function,
        (gtk_tree_view_button_press): make double click on column
        separator resize the row (#71870)
        (gtk_tree_view_get_dest_row_at_pos): change DnD threshold to 33%
        (#71869, suggestion by Anders Carlsson)

22 years agoAdd routines _gtk_find_module(), _gtk_get_module_path() to look up a
Owen Taylor [Tue, 19 Feb 2002 05:33:34 +0000 (05:33 +0000)]
Add routines _gtk_find_module(), _gtk_get_module_path() to look up a

Mon Feb 18 23:16:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmain.[ch]: Add routines _gtk_find_module(),
        _gtk_get_module_path() to look up a module of an arbitrary type in
        a standard fashion. (#68474)

        * gtk/gtkrc.c: Make module_path keyword warn and do
        nothing. Remove the im_module_path keyword.

        * gtk/gtkrc.c (gtk_rc_get_im_module_path): Fix
        to return the standard path instead of one determined
        from im_module_path and GTK_IM_MODULE_PATH.

        * gtk+-2.0.pc.in: Add gtk_host to go along with gtk_binary_version.

22 years agoTrivial formatting fixes to all examples, simple functional fixes to
Matthias Clasen [Tue, 19 Feb 2002 01:25:26 +0000 (01:25 +0000)]
Trivial formatting fixes to all examples, simple functional fixes to

* docs/tutorial/gtk-tut.sgml, docs/examples/*: Trivial formatting
fixes to all examples, simple functional fixes to rangewidgets example.

22 years agoSelect the right item in the family list. (Reported by Mark Patton, Patch
Owen Taylor [Mon, 18 Feb 2002 23:43:25 +0000 (23:43 +0000)]
Select the right item in the family list. (Reported by Mark Patton, Patch

Mon Feb 18 18:27:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Select
        the right item in the family list. (Reported by Mark Patton,
        Patch from Satajyit Kanungo, #64240)

        * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Update
        the size and face entry lists as well, fix memory leak.
        (Also #64240)

        * gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes):
        Allow fractional sizes, unselect the selected row if none
        matches.

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): Fix
        a bug where the scrolled window would always get focus
        when focusing out of the child.

22 years agoprocess WM_PAINT messages for bg_pixmap == GDK_NO_BG, fixes The GIMP's
Hans Breuer [Mon, 18 Feb 2002 22:56:57 +0000 (22:56 +0000)]
process WM_PAINT messages for bg_pixmap == GDK_NO_BG, fixes The GIMP's

2002-02-18  Hans Breuer  <hans@breuer.org>

* gdk/win32/gdkevents-win32.c : process WM_PAINT messages
for bg_pixmap == GDK_NO_BG, fixes The GIMP's canvas
rendering glitches on win32

* gdk/win32/gdkinput-win32.c : use g_object_new to create
GdkDevice instead of g_new

* gtk/gtkpaned.c : make LAST_SIGNAL the last in enum.
This avoids to smash totally unrelated static data and
resulting random crashes. (as reported on gtk-devel-list,
2002-02-10 : testgtk crashes)

* gtk/gtk.def : add new file selection entry points

22 years agoRemove support for the poorly defined text/plain type for now. (#55117)
Owen Taylor [Mon, 18 Feb 2002 22:36:04 +0000 (22:36 +0000)]
Remove support for the poorly defined text/plain type for now. (#55117)

Mon Feb 18 17:34:43 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c gtk/gtktextview.c: Remove support for
        the poorly defined text/plain type for now. (#55117)

22 years agoAdd some docs for GTK_NEED_REQUEST GTK_NEED_ALLOCATION.
Owen Taylor [Mon, 18 Feb 2002 22:08:41 +0000 (22:08 +0000)]
Add some docs for GTK_NEED_REQUEST GTK_NEED_ALLOCATION.

Mon Feb 18 16:44:00 2002  Owen Taylor  <otaylor@redhat.com>

        * docs/widget_system.txt: Add some docs for GTK_NEED_REQUEST
        GTK_NEED_ALLOCATION.

        * gtk/gtkmenu.c (gtk_menu_popup): Scroll the menu
        to the right place before showing the menu to
        avoid spurious enter events.

        * gtk/gtkmenu.c (gtk_menu_realize): Only scroll
        if there is an active menu item.

        * gtk/gtkwidget.c (gtk_widget_init): Set RESIZE_NEEDED
        ALLOC_NEEDED initially.

22 years agofix the version number in NEWS
Matthias Clasen [Mon, 18 Feb 2002 21:33:08 +0000 (21:33 +0000)]
fix the version number in NEWS

22 years agoack, remove conflict marker
Manish Singh [Mon, 18 Feb 2002 20:32:58 +0000 (20:32 +0000)]
ack, remove conflict marker

22 years agodon't comment out the lines to dist the packer example, just simply remove
Manish Singh [Mon, 18 Feb 2002 20:32:14 +0000 (20:32 +0000)]
don't comment out the lines to dist the packer example, just simply remove

2002-02-18  Manish Singh  <yosh@gimp.org>

        * Makefile.am: don't comment out the lines to dist the packer
        example, just simply remove it. (the continuation line confused
        make even though it was in the comment, barf)

22 years agoreally remove
Manish Singh [Mon, 18 Feb 2002 20:14:42 +0000 (20:14 +0000)]
really remove

22 years agoFix problems with stuck grab (#60132, reported by Nicolas Setton) and
Owen Taylor [Mon, 18 Feb 2002 20:03:34 +0000 (20:03 +0000)]
Fix problems with stuck grab (#60132, reported by Nicolas Setton) and

Mon Feb 18 14:40:22 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcombo.c (gtk_combo_popdown_list): Fix problems
with stuck grab (#60132, reported by Nicolas Setton) and
stuck prelighting. Combine duplicated code in three
places for popping down the list.

22 years agogtk/gtkclist.c (adjust_adjustments) gtk/gtklayout.c
Owen Taylor [Mon, 18 Feb 2002 19:20:31 +0000 (19:20 +0000)]
gtk/gtkclist.c (adjust_adjustments) gtk/gtklayout.c

Mon Feb 18 14:17:59 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkclist.c (adjust_adjustments)
        * gtk/gtklayout.c (gtk_layout_size_allocate)
        * gtk/gtktextview.c (gtk_text_view_size_allocate)
        * gtk/gtktreeview.c (gtk_tree_view_size_allocate)
        * gtk/gtkviewport.c (gtk_viewport_size_allocate):
        Standardize on a page increment of page minus 1 line
        rather than half a page (#51027, Eric Fischer)

        * gtk/gtkviewport.c (gtk_viewport_size_allocate):
        Change step increment to be 0.1 * page_size height rather than
        a fixed 10 pixels.

22 years agoDon't commit unless we got at least one hex digit. (#70619)
Owen Taylor [Mon, 18 Feb 2002 17:35:58 +0000 (17:35 +0000)]
Don't commit unless we got at least one hex digit. (#70619)

Mon Feb 18 12:31:52 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
Don't commit unless we got at least one hex digit. (#70619)

22 years agoReleased 1.3.14
Owen Taylor [Mon, 18 Feb 2002 03:29:00 +0000 (03:29 +0000)]
Released 1.3.14

Sun Feb 17 21:30:49 2002  Owen Taylor  <otaylor@redhat.com>

        * Released 1.3.14

        * configure.in: Version 1.3.14, interface, binary age 0.

        * gdk/gdkregion-generic.c (miSubtractO): Fix out-of-bounds
        read. (#71619, reported by Morten Welinder)

        * gtk/gtkmenu.c (gtk_menu_class_init): Fix setting default.

        * gtk/gtkfilesel.c (gtk_file_selection_class_init): Add
        a select_multiple property to go along with thenew
        get/set_select_multiple.

        * gdk/gdkwindow.c: Patch from Soeren Sandmann to improve
        update debugging code. (#71703)

22 years agoUpdated for filesel changes.
Owen Taylor [Mon, 18 Feb 2002 02:34:58 +0000 (02:34 +0000)]
Updated for filesel changes.

Sun Feb 17 21:33:33 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk-sections.txt: Updated for filesel changes.

22 years agoDon't set the PC_EXPLICIT flag for unused palette entries, that might have
Tor Lillqvist [Sun, 17 Feb 2002 22:03:29 +0000 (22:03 +0000)]
Don't set the PC_EXPLICIT flag for unused palette entries, that might have

2002-02-17  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkcolor-win32.c (free_colors): Don't set the
PC_EXPLICIT flag for unused palette entries, that might have
undesired side effects. Just set them to black. Black is always
present in a palette, so having superfluous black entries won't
cause any extra allocations from the system palette either when
realized.

* gdk/win32/gdkevents-win32.c
(gdk_event_translate:WM_QUERYNEWPALETTE): Don't do anything if the
system visual is static color, i.e. the user has told GDK to use
just the 16 static colors. In that case no need to redraw
anything, as the colors are static and by definition always
correctly mapped in the system palette.
(WM_PALETTECHANGED): Ditto, no need to call UpdateColors() either.

22 years agoMake the paned example deprecation-clean.
Matthias Clasen [Sun, 17 Feb 2002 19:59:33 +0000 (19:59 +0000)]
Make the paned example deprecation-clean.

* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
examples/paned/Makefile: Make the paned example deprecation-clean.

* various ChangeLog files: correct my email.

22 years agoremove the packer example files as they don't exist in CVS.
jacob berkman [Sun, 17 Feb 2002 06:51:31 +0000 (06:51 +0000)]
remove the packer example files as they don't exist in CVS.

2002-02-17  jacob berkman  <jacob@ximian.com>

* Makefile.am: remove the packer example files as they don't exist
in CVS.

22 years agohm, check buttons look better for below.
Manish Singh [Sun, 17 Feb 2002 01:26:52 +0000 (01:26 +0000)]
hm, check buttons look better for below.

2002-02-16  Manish Singh  <yosh@gimp.org>

        * tests/testgtk.c: hm, check buttons look better for below.

22 years agoredid the filesel test. Added a way to set select multiple as a toggle
Manish Singh [Sun, 17 Feb 2002 01:16:24 +0000 (01:16 +0000)]
redid the filesel test. Added a way to set select multiple as a toggle

2002-02-16  Manish Singh  <yosh@gimp.org>

        * tests/testgtk.c: redid the filesel test. Added a way to set select
        multiple as a toggle button, and made show/hide fileops toggle
        buttons as well. get_selections() is called on OK and all the
        filenames selected are printed.

22 years agoRemove comment about the gtk-1-3-win32-production branch having more
Tor Lillqvist [Sun, 17 Feb 2002 00:35:41 +0000 (00:35 +0000)]
Remove comment about the gtk-1-3-win32-production branch having more

2002-02-17  Tor Lillqvist  <tml@iki.fi>

* README.win32: Remove comment about the gtk-1-3-win32-production
branch having more functionality.

22 years agoMassive changes. Too many to list here, but I'll try a summary:
Tor Lillqvist [Sun, 17 Feb 2002 00:25:05 +0000 (00:25 +0000)]
Massive changes. Too many to list here, but I'll try a summary:

2002-02-17  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/*.c: Massive changes. Too many to list here, but I'll
try a summary:

1) Unify GdkPixmap and GdkImage implementation: For each
GdkPixmap, allocate a GdkImage, and vice versa.
GdkPixmapImplWin32Data has a pointer to the GdkImage.
GdkImage::windowing_data is a pointer to the GdkPixmap.

This simplifies many pixmap and image related functions a lot, and
reduces duplicated code snippets. For instance, there is only one
place in gdk/win32 where CreateDIBSection() is called, in the
function _gdk_win32_new_pixmap(). Converting a bitmap (GdkPixmap)
to a Windows region is almost trivial, with the bitmap bits being
readily accessible in the associated GdkImage.

All blitting between GdkPixmaps, GdkWindows and GdkImages goes
through handled the _gdk_win32_blit() function, which calls
different functions to handle the cases of blitting from pixmaps,
inside windows (scrolling), or from windows, which all require
somewhat different handling.

2) Support 256-color mode. This has long been very broken, now it
works more or less OK. Keep the logical palette for each colormap
as small as possible while allocating and freeing colors. Select
and realize the logical palette associated with a GdkColormap into
a DC before drawing or blitting.

When the display is in 256-color mode, make it possible for the
user to override the size of the palette(s) used with either the
GDK_WIN32_MAX_COLORS environment variable, or a -max-colors
command line option. It is possible to reduce the palette size all
the way down to using just the 16 static colors (which causes the
system visual to be of type GDK_VISUAL_STATIC_COLOR. This could
possibly be useful if one desperately wants to avoid color
flashing. (Note that in order for this to work properly, an as of
yet not commited fix to gdkrgb.c is needed.)

Handle the palette messages. On WM_PALETTECHANGED, call
UpdateColors() for the given window hierarchy. Do this only if a
window in some other top-level window hierarchy caused the palette
change (realized a palette). Do this max five times in a row (an
arbitrarily chosen limit), though, otherwise redraw by generating
expose events. On WM_QUERYNEWPALETTE, cause a redraw of the whole
window hierarchy by generating GDK_EXPOSE events.

3) Code cleanup in general. For instance, remove the "emulated"
X11 structs ColormapStruct, Visual and XStandardColormap. Use the
new GDK_DEBUG_* flags for debugging output in the relevant source
files. Remove the unused colormap hash table in gdkcolor-win32.c

4) Plug some resource leaks.

2002-02-14  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Use
g_filename_to_uri() to actually create legal URIs in the
text/uri-list data.

22 years agoAdded multiple selection API
Manish Singh [Sun, 17 Feb 2002 00:07:48 +0000 (00:07 +0000)]
Added multiple selection API

2002-02-16  Manish Singh  <yosh@gimp.org>

        * gtk/gtkfilesel.[ch]: Added multiple selection API

22 years agouse fabs() on a double instead of abs()
Manish Singh [Sun, 17 Feb 2002 00:06:00 +0000 (00:06 +0000)]
use fabs() on a double instead of abs()

2002-02-16  Manish Singh  <yosh@gimp.org>

        * gdk/linux-fb/miarc.c: use fabs() on a double instead of abs()

22 years ago More work on #71430.
Matthias Clasen [Sat, 16 Feb 2002 23:52:30 +0000 (23:52 +0000)]
More work on #71430.

* examples/*/Makefile (CFLAGS): add deprecation guards.

* docs/tutorial/gtk-tut.sgml, examples/*/*.c: make most examples
deprecation-clean; the major offenders right now are the examples
that make heavy use of completely deprecated or broken widgets:
list, tree, text, pixmap, paned and progressbar. These will have
to be redone from scratch.

* demos/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.

22 years agoThis commit lands the 'dy patch'.
Kristian Rietveld [Sat, 16 Feb 2002 23:13:37 +0000 (23:13 +0000)]
This commit lands the 'dy patch'.

Sun Feb 17 00:13:06 2002  Kristian Rietveld  <kris@gtk.org>

        This commit lands the 'dy patch'.

        * gtk/gtktreeview.c (validate_rows_handler): update top_row or dy,
        (gtk_tree_view_top_row_to_dy): new function,
        (gtk_tree_view_row_changed): update top_row or dy,
        (gtk_tree_view_rows_reordered): update top_row

22 years agorearrange rules to not emit the example start and end markers.
Matthias Clasen [Sat, 16 Feb 2002 18:31:14 +0000 (18:31 +0000)]
rearrange rules to not emit the example start and end markers.

* examples/extract.awk: rearrange rules to not emit the example
start and end markers.

* docs/tutorial/gtk-tut.sgml: turn the start and end markers into
SGML comments, so they don't clutter the formatted tutorial.

22 years agoForgot to actually remove these.
Matthias Clasen [Sat, 16 Feb 2002 18:05:19 +0000 (18:05 +0000)]
Forgot to actually remove these.

22 years agoUpdated Estonian translation.
Tõivo Leedjärv [Sat, 16 Feb 2002 16:51:54 +0000 (16:51 +0000)]
Updated Estonian translation.

2002-02-16  Tõivo Leedjärv  <leedjarv@interest.ee>

        * et.po: Updated Estonian translation.

22 years agotake GDK_HINT_RESIZE_INC into account, and handle negative coordinates
Havoc Pennington [Sat, 16 Feb 2002 14:41:15 +0000 (14:41 +0000)]
take GDK_HINT_RESIZE_INC into account, and handle negative coordinates

2002-02-16  Havoc Pennington  <hp@pobox.com>

* gtk/gtkwindow.c (gtk_window_parse_geometry): take
GDK_HINT_RESIZE_INC into account, and handle negative coordinates
correctly. (Can't email Owen - hope this is OK.)

22 years agoAdd key bindings on GtkScrolledWindow for arrow keys, PageUp/PageDown
Owen Taylor [Sat, 16 Feb 2002 01:34:26 +0000 (01:34 +0000)]
Add key bindings on GtkScrolledWindow for arrow keys, PageUp/PageDown

Fri Feb 15 20:09:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkscrolledwindow.[ch] gtk/gtkmarshallers.list:
        Add key bindings on GtkScrolledWindow for arrow keys,
        PageUp/PageDown Home/End to scroll the window.
        Bind Control-[Shift]-Tab to focus out of the scrolled
        window entirely. Allow the scrolled window to be
        focused if no child can be focused. (#63480)

        * gtk/gtkwidget.c (gtk_widget_hide): Remove the REALIZED()
        check - if we have visible but not mapped widgets
        (inside a unshown notebook tab, for instance), we need
        to track their size. (#65087, reported by Damon Chaplin.)

        * gtk/gtkcolorsel.c (palette_change_color): Shut up
        a warning.

22 years agoDepend on gtk.ico.
Tor Lillqvist [Fri, 15 Feb 2002 23:55:42 +0000 (23:55 +0000)]
Depend on gtk.ico.

2002-02-16  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/rc/Makefile.am (gdk-win32res.lo): Depend on gtk.ico.

* gdk/win32/rc/gtk.ico: Use the real GTK logo. Thanks to Jernej
Simoncic for providing the nice multi-resolution .ico file.

22 years agoNew function to make sure that the weights sum up to the correct total
Matthias Clasen [Fri, 15 Feb 2002 21:11:25 +0000 (21:11 +0000)]
New function to make sure that the weights sum up to the correct total

* pixops/pixops.c (correct_total): New function to make sure
that the weights sum up to the correct total without introducing
negative weights.
(tile_make_weights, bilinear_make_fast_weights,
bilinear_make_weights): Use correct_total.

22 years agogtk/tmpl/gtkimage.sgml removed wrong sentence from gtk_image_new() docs
Alexey Malyshev [Fri, 15 Feb 2002 19:22:37 +0000 (19:22 +0000)]
gtk/tmpl/gtkimage.sgml removed wrong sentence from gtk_image_new() docs

2002-02-15            Alexey Malyshev       <maa@sparc.spb.su>
        * gtk/tmpl/gtkimage.sgml
removed wrong sentence from gtk_image_new() docs

22 years agonew function (gtk_tree_store_clear): traverse the tree, so we emit
Kristian Rietveld [Fri, 15 Feb 2002 18:38:02 +0000 (18:38 +0000)]
new function (gtk_tree_store_clear): traverse the tree, so we emit

Fri Feb 15 19:38:00 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreestore.c (gtk_tree_store_clear_traverse): new function
        (gtk_tree_store_clear): traverse the tree, so we emit row_deleted
        for every node. This way we don't have confused row refs crashing the
        application. (#70631)

22 years agoOnly queue a draw on the handle, not the whole widget. #71530.
Richard Hult [Fri, 15 Feb 2002 08:53:14 +0000 (08:53 +0000)]
Only queue a draw on the handle, not the whole widget. #71530.

2002-02-14  Richard Hult  <rhult@codefactory.se>

* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
handle, not the whole widget. #71530.
(gtk_paned_leave): Likewise.

22 years agoadd new signal 'adjust_bounds' to potentialy change the bounds before
Jody Goldberg [Fri, 15 Feb 2002 05:53:08 +0000 (05:53 +0000)]
add new signal 'adjust_bounds' to potentialy change the bounds before

2002-02-14  Jody Goldberg <jody@gnome.org>

* gtk/gtkrange.c (gtk_range_class_init) : add new signal
  'adjust_bounds' to potentialy change the bounds before assigning the
  new value and camping it to the existing bounds.
(gtk_range_internal_set_value) : used here. #68800.
* gtk/gtkmarshalers.list : add VOID:DOUBLE

22 years agoFile Edit Options Buffers Tools Help ...
Owen Taylor [Fri, 15 Feb 2002 02:45:09 +0000 (02:45 +0000)]
File Edit Options Buffers Tools Help                                                                                                                                       Thu Feb 14 21:08:49 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkglobals.c: Remove GDKVAR from C file, see
        if anyone complains. (#71317, Morten Welinder.)

22 years ago The following changes are the beginning of the work on #71430.
Matthias Clasen [Thu, 14 Feb 2002 22:49:57 +0000 (22:49 +0000)]
The following changes are the beginning of the work on #71430.

* examples/extract.sh, examples/extract.awk: Make extraction work.

* examples/Makefile (SUBDIRS): Remove packer.

* examples/packer/pack.c, examples/packer/Makefile: Removed.

* docs/tutorial/gtk-tut.sgml: Fix the included examples far
enough to make them compile and (mostly) work, remove the packer
example.

22 years agoPatch from Bill Haneman and Padraig O'Briain to add cursor_aspect_ratio
Owen Taylor [Thu, 14 Feb 2002 21:49:02 +0000 (21:49 +0000)]
Patch from Bill Haneman and Padraig O'Briain to add cursor_aspect_ratio

Thu Feb 14 16:46:48 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c gtk/gtktextdisplay.c gtk/gtklabel.c
gtk/gtkstyle.[ch] gtk/gtkwidget.c: Patch from Bill
Haneman and Padraig O'Briain to add cursor_aspect_ratio
style property to GtkWidget to allow theming the aspect
ratio of the cursor.

* gtk/gtkentry.c gtk/gtktextview.c gtk/gtklabel.c
gtk/gtkwidget.c tests/testgtkrc: Move cursor-color style property
to GtkWidget.

22 years agoFix bug where we called get_surrounding on the context,. not the slave.
Owen Taylor [Thu, 14 Feb 2002 16:18:32 +0000 (16:18 +0000)]
Fix bug where we called get_surrounding on the context,. not the slave.

Thu Feb 14 11:13:22 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_surrounding):
        Fix bug where we called get_surrounding on the context,.
        not the slave.

22 years agoOnly pop the tooltip down on a select set of events, not on any unknown
Owen Taylor [Thu, 14 Feb 2002 05:18:44 +0000 (05:18 +0000)]
Only pop the tooltip down on a select set of events, not on any unknown

Thu Feb 14 00:10:09 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktooltips.c (gtk_tooltips_event_handler): Only
        pop the tooltip down on a select set of events, not
        on any unknown event. (#71157, Jody Goldberg)

        * gtk/gtktooltips.c (gtk_tooltips_event_handler):
        Fix some warnings.

22 years agoA bunch of small allocation/drawing fixes.
Owen Taylor [Thu, 14 Feb 2002 05:05:45 +0000 (05:05 +0000)]
A bunch of small allocation/drawing fixes.

Thu Feb 14 00:02:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcalendar.c (gtk_calendar_size_request): A bunch of
        small allocation/drawing fixes.

        * gtk/gtkcalendar.c: Replace DAY_XPAD, DAY_YPAD with
        GtkWidget::focus-padding

22 years agoPatch from Bill Haneman to draw to focus using gtk_paint_focus() with the
Owen Taylor [Thu, 14 Feb 2002 04:05:13 +0000 (04:05 +0000)]
Patch from Bill Haneman to draw to focus using gtk_paint_focus() with the

Wed Feb 13 23:01:20 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcalendar.c: Patch from Bill Haneman to draw
to focus using gtk_paint_focus() with the focus width
GtkWidget::focus-width. (#63075)

* gtk/gtkcalendar.c (gtk_calendar_size_request): Initialize
label_char_ascent/descent to 0. (#56925)

22 years agovalidate a larger area, proportional to widget size, to fix #71427
Havoc Pennington [Thu, 14 Feb 2002 00:06:13 +0000 (00:06 +0000)]
validate a larger area, proportional to widget size, to fix #71427

2002-02-13  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_flush_scroll): validate a
larger area, proportional to widget size, to fix
#71427 reported by Dennis Bjorklund

22 years agojust go ahead and flush all the first validate stuff if it hasn't been
Havoc Pennington [Wed, 13 Feb 2002 23:44:03 +0000 (23:44 +0000)]
just go ahead and flush all the first validate stuff if it hasn't been

2002-02-13  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_paint): just go ahead and flush
all the first validate stuff if it hasn't been done, presumably
someone called process_updates at a weird time.

* tests/testtext.c (do_apply_colors): terminate on >= end, not >
end, avoids infinite loop when end is at the end of the buffer.

* gtk/gtktextbtree.c (_gtk_text_btree_delete): when creating a
line data, we were adding it to the wrong line ("line" instead of
"start_line")

22 years agoDon't chain up to the container's expose event. Instead call
Joe Shaw [Wed, 13 Feb 2002 22:49:40 +0000 (22:49 +0000)]
Don't chain up to the container's expose event. Instead call

2002-02-13  Joe Shaw  <joe@ximian.com>

* gtk/gtktreeitem.c (gtk_tree_item_expose): Don't chain up to the
container's expose event.  Instead call
gtk_tree_item_expose_child() on each child.  Avoids a failed
g_assert() in gtk_container_propagate_expose().
(gtk_tree_item_expose_child): Added.  Synthesize an expose event
for our children.  Basically gtk_container_propagate_expose()
minus the g_assert().  (#71396)

22 years agoAdd some more GdkDebugFlags, for more fine-grained debugging output
Tor Lillqvist [Wed, 13 Feb 2002 21:59:47 +0000 (21:59 +0000)]
Add some more GdkDebugFlags, for more fine-grained debugging output

2002-02-13  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
fine-grained debugging output (mainly used in the Win32 backend).

* gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.

22 years agoImplement Control-F1 as toggle-tooltips-mode.
Owen Taylor [Wed, 13 Feb 2002 20:54:11 +0000 (20:54 +0000)]
Implement Control-F1 as toggle-tooltips-mode.

Wed Feb 13 15:42:42 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
as toggle-tooltips-mode.

* gtk/gtktooltips.c: Remove parsing of tooltips style
string from here ... now in gtkrc.c.

22 years agog_warning() if setting the local fails, like gdk_set_locale() did.
Owen Taylor [Wed, 13 Feb 2002 17:48:01 +0000 (17:48 +0000)]
g_warning() if setting the local fails, like gdk_set_locale() did.

Wed Feb 13 12:41:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmain.c (gtk_init_check): g_warning() if setting
        the local fails, like gdk_set_locale() did.

        * gdk/x11/gdkselection-x11.c (gdk_text_property_to_utf8_list):
        Don't free local_list if local_count == 0. (#71241, reported
        by Kevin Vandersloot.)

        * gdk/x11/gdkselection-x11.c (gdk_text_property_to_text_list):
        Clean up list == NULL handling and failure.

22 years agoCast GType to long and use %ld to fix warning. (#71318, Morten Welinder)
Owen Taylor [Wed, 13 Feb 2002 16:40:31 +0000 (16:40 +0000)]
Cast GType to long and use %ld to fix warning. (#71318, Morten Welinder)

Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>

* tests/testtreeview.c (typesystem_recurse): Cast GType
        to long and use %ld to fix warning. (#71318, Morten Welinder)

22 years agofix figuring accel path and changing behaviour.
Tim Janik [Wed, 13 Feb 2002 12:28:33 +0000 (12:28 +0000)]
fix figuring accel path and changing behaviour.

Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.

22 years agopartly revert my recent expanding change to not expand the table if all
Tim Janik [Wed, 13 Feb 2002 05:48:56 +0000 (05:48 +0000)]
partly revert my recent expanding change to not expand the table if all

Wed Feb 13 06:42:37 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtktable.c (gtk_table_size_allocate_pass1): partly revert
        my recent expanding change to not expand the table if all children
        have not epxand behaviour. this fixes palette views which often
        use homogeneous non-expanding tables.

22 years agoAdd a (#ifdef 0'ed) test provoking a segfault in TIFFReadDirectory().
Matthias Clasen [Tue, 12 Feb 2002 23:28:05 +0000 (23:28 +0000)]
Add a (#ifdef 0'ed) test provoking a segfault in TIFFReadDirectory().

* test-images.h (tiff1_test_3), test-loaders.c (main): Add a
(#ifdef 0'ed) test provoking a segfault in TIFFReadDirectory().

* io-ico.c (DecodeHeader): Check that pixbuf could be allocated.

* test-images.h (ico_test_2), test-loaders.c (main): Test the
previous change.

* io-wbmp.c (gdk_pixbuf__wbmp_image_load_increment): Don't write
beyond the end of buffer if width % 8 != 0.

* io-tga.c (try_preload): Enforce that ctx->hdr->type is one of
the supported types, otherwise parse_data_for_row () will not make
any progress, leading to an infinite loop.

22 years agoemit row_deleted before we start unreffing the nodes ourselves
Kristian Rietveld [Tue, 12 Feb 2002 17:48:02 +0000 (17:48 +0000)]
emit row_deleted before we start unreffing the nodes ourselves

Tue Feb 12 14:27:41 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): emit
        row_deleted before we start unreffing the nodes ourselves
        (gtk_tree_model_sort_increment_stamp): always increment the stamp,
        and not only if the stamp equals 0 (pointed out by Darin Adler)

        * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): we want
        to continue the while loop and not the nested for loop.

22 years agoalways spread out the extra space allocated for the homogeneous case, as
Tim Janik [Tue, 12 Feb 2002 01:39:28 +0000 (01:39 +0000)]
always spread out the extra space allocated for the homogeneous case, as

Tue Feb 12 02:19:49 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtktable.c (gtk_table_size_allocate_pass1): always spread out
        the extra space allocated for the homogeneous case, as we don't
        properly deal with readjusting table allocation within it. (for  this
        purpose, a GtkAlignment can be used as table parent).

22 years agoConsider reordering the row even when there's no sort column, if there's a
Darin Adler [Tue, 12 Feb 2002 01:00:22 +0000 (01:00 +0000)]
Consider reordering the row even when there's no sort column, if there's a

        * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_row_changed):
        Consider reordering the row even when there's no sort column, if
        there's a default sort function.
        (gtk_tree_model_sort_rows_reordered): Use symbolic constants.
        (gtk_tree_model_sort_level_find_insert): Add code to handle the
        case where there is no sort column, but a default sort function.
        (gtk_tree_model_sort_insert_value): Add code to handle the case
        where there is no sort column an no default sort function.
        (gtk_tree_model_sort_set_model): Use symbolic constant.
        (gtk_tree_model_sort_reset_default_sort_func): Use symbolic constant.

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Tue, 12 Feb 2002 00:53:11 +0000 (00:53 +0000)]
Updated Norwegian (bokmål) translation.

2002-02-12  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

22 years agoUpdated Portuguese translation.
Duarte Loreto [Mon, 11 Feb 2002 23:52:37 +0000 (23:52 +0000)]
Updated Portuguese translation.

2002-02-11  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.

22 years agoFix ChangeLog
Søren Sandmann Pedersen [Mon, 11 Feb 2002 22:21:19 +0000 (22:21 +0000)]
Fix ChangeLog

22 years agoconverted the "Delete File" dialog to GtkMessageDialog. Marked missing
Sven Neumann [Mon, 11 Feb 2002 21:17:11 +0000 (21:17 +0000)]
converted the "Delete File" dialog to GtkMessageDialog. Marked missing

2002-02-11  Sven Neumann  <sven@gimp.org>

* gtk/gtkfilesel.c: converted the "Delete File" dialog to
GtkMessageDialog. Marked missing strings for translation.

22 years agoOpaque resizing + prelighting for paned widget. move reszing logic to
Soeren Sandmann [Mon, 11 Feb 2002 21:10:33 +0000 (21:10 +0000)]
Opaque resizing + prelighting for paned widget. move reszing logic to

Mon Feb 11 22:03:15 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkpaned.[ch]: Opaque resizing + prelighting for paned widget.
* gtk/gtkvpaned.c, gtk/gtkvpaned.h: move reszing logic to gtkpaned.c