]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agodon't leak the GArray (figured out by Matthias Clasen, fixes #82026).
Kristian Rietveld [Thu, 6 Jun 2002 15:18:52 +0000 (15:18 +0000)]
don't leak the GArray (figured out by Matthias Clasen, fixes #82026).

Thu Jun  6 17:27:01 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtkrbtree.c (_gtk_rbtree_reorder): don't leak the GArray
        (figured out by Matthias Clasen, fixes #82026).

22 years agoChanges multihead reorganizing code for win32 support, mostly from a patch
Owen Taylor [Thu, 6 Jun 2002 00:26:42 +0000 (00:26 +0000)]
Changes multihead reorganizing code for win32 support, mostly from a patch

Wed Jun  5 18:34:47 2002  Owen Taylor  <otaylor@redhat.com>

Changes multihead reorganizing code for win32 support,
mostly from a patch by Hans Breuer.

* gdk/gdkcolor.c gdk/x11/gdkcolor-x11.c gdk/gdkcursor.c
  gdk/x11/gdkcursor-x11.c gdk/gdkevents.c gdk/x11/gdkevents-x11.c
  gdk/gdkfont.c gdk/x11/gdkfont-x11.c gdk/gdkkeys.c
  gdk/x11/gdkkeys-x11.c gdk/gdkimage.c gdk/x11/gdkimage-x11.c
  gdk/gdkscreen.c gdk/x11/gdkmain-x11.c
  gdk/gdkdisplay.c gdk/gdkevents-x11.c gdk/gdkpango.c
  gdk/x11/gdkpango-x11.c gdk/gdkselection.c
  gdk/x11/gdkselection-x11.c gdk/gdkwindow.c
  gdk/x11/gdkwindow-x11.c gdk/gdkvisual.c gdk/x11/gdkvisual-x11.c:
  Move port-independent singlehead wrapper functions into
  port-independent part of GDK. (#80009)

* gdk/win32/gdkcolor-win32.c gdk/win32/gdkcursor-win32.c
  gdk/win32/gdkevents-win32.c gdk/win32/gdkfont-win32.c
  gdk/win32/gdkimage-win32.c gdk/win32/gdkkeys-win32.c
  gdk/win32/gdkmain-win32.c gdk/win32/gdkproperty-win32.c
  gdk/win32/gdkselection-win32.c gdk/win32/gkwindow-win32.c:
Turn singlehead functions into "multihead" functions that ignore
their GdkDisplay or GdkScreen arguments.

* gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
gdk/win32/gdkinput-win32.c gdk/win32/gdkprivate-win32.h:
Misc multihead-compatibility changes.

* gtk/gtk.def gdk/gdk.def: Update for multihead functions.

* gdk/gdkcolormap.h gdk/gdkvisual.h gdk/x11/gdkcolormap-x11.c
gdk/x11/gdkvisual-x11.c: Remove the screen fields
from the public parts of the colormap/visual structures, add accessors
instead.

* gdk/gdkpixbuf-render.c gdk/gdkpixmap.c gdk/gdkrgb.c
  gdk/x11/gdkcolormap-x11.c gdk/x11/gdkimage-x11.c
  gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.h gtk/gtkgc.c
  gtk/gtkstyle.c gtk/gtkwidget.c: Use accessors to get the screen
for colormaps, visuals; move the fields into the private
structures for the x11 backend.

* gdk/gdkdisplay.[ch] gdk/x11/gdkdisplay-x11.[ch]
  gdk/gdkscreen.[ch] gdk/x11/gdkscreen-x11.c:
Remove virtualization of screen and display functions.
(#79990, patch from Erwann Chenede)

* gdk/win32/gdkdisplay-x11.c gdk/win32/gdkscreen-win32.c
gdk/win32/{Makefile.am, makefile.msc, makefile.mingw}:
New files containing stub implementations of Display,
Screen functions.

* gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
gdk/x11/gdkx.h: Clean up function exports and what
headers they are in. (#79954)

* gdk/x11/gdkx.h: Fix macro that was referring to a non-existant
screen->screen_num. (In the patch for #79972, Erwann Chenede)

* gdk/gdkscreen.c gdk/gdkwindow.c gdk/x11/gdkinternals.h
 gdk/x11/gdkscreen-x11.c: Fix gdk_screen_get_window_at_pointer()
to use window hooks. (#79972, patch partly from Erwann Chenede)

* gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c: Fix
some warnings.

22 years agoRelated bugs: #76252, #76396, #80866.
Kristian Rietveld [Wed, 5 Jun 2002 21:25:52 +0000 (21:25 +0000)]
Related bugs: #76252, #76396, #80866.

Wed Jun  5 23:29:41 2002  Kristian Rietveld  <kris@gtk.org>

        Related bugs: #76252, #76396, #80866.

        * gtk/gtktreeselection.[ch]: added
        gtk_tree_selection_get_selected_rows(),
        added gtk_tree_selection_count_selected_rows(),
        renamed gtk_tree_selection_real_select_range() to
        gtk_tree_selection_real_modify_range(), and added mode parameter,
        added gtk_tree_selection_unselect_range().

22 years agoIf we have xft .pc file, use that when checking for Xft/Xrender. (Still
Owen Taylor [Tue, 4 Jun 2002 21:55:29 +0000 (21:55 +0000)]
If we have xft .pc file, use that when checking for Xft/Xrender. (Still

Tue Jun  4 17:39:34 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: If we have xft .pc file, use that
        when checking for Xft/Xrender. (Still need to separate
        out HAVE_XFT, HAVE_RENDER)

        * configure.in: Make sure Xft cflags come before X cflags.

22 years agoadded gtk_tree_view_expand_to_path.
Kristian Rietveld [Tue, 4 Jun 2002 19:05:33 +0000 (19:05 +0000)]
added gtk_tree_view_expand_to_path.

Tue Jun  4 21:13:57 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.[ch]: added gtk_tree_view_expand_to_path.

22 years agoDiscussed in #76249.
Kristian Rietveld [Tue, 4 Jun 2002 17:17:49 +0000 (17:17 +0000)]
Discussed in #76249.

Tue Jun  4 19:24:41 2002  Kristian Rietveld  <kris@gtk.org>

        Discussed in #76249.

        * gtk/gtkliststore.[ch]: made gtk_list_store_remove return a gboolean,
        added gtk_list_store_iter_is_valid.

        * gtk/gtktreestore.[ch]: made gtk_tree_store_remove return a gboolean,
        added gtk_tree_store_iter_is_valid.

        * gtk/gtktreemodelsort.[ch]: added VALID_ITER macro as in liststore
        and treestore sources, added gtk_tree_model_sort_iter_is_valid.

22 years agoadd gtk_tree_model_get_string_from_iter (#74667).
Kristian Rietveld [Tue, 4 Jun 2002 17:12:15 +0000 (17:12 +0000)]
add gtk_tree_model_get_string_from_iter (#74667).

Tue Jun  4 19:18:20 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodel.[ch]: add gtk_tree_model_get_string_from_iter
        (#74667).

22 years ago[ merge from stable ]
Daniel Elstner [Tue, 4 Jun 2002 16:12:13 +0000 (16:12 +0000)]
[ merge from stable ]

2002-06-04  Daniel Elstner  <daniel.elstner@gmx.net>

[ merge from stable ]

* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): Really fix #83796: Revert jrb's last patch, and move the second if-clause into the fist one's else-branch.  This is also what the other cell renderers do.

22 years agoupdate
George Lebl [Mon, 3 Jun 2002 23:33:13 +0000 (23:33 +0000)]
update

Mon Jun 03 16:42:53 2002  George Lebl <jirka@5z.com>

* cs.po: update

22 years agoReplace homegrown "nbsp", "hash" and "percent" entities by standard ISO
Matthias Clasen [Mon, 3 Jun 2002 17:47:31 +0000 (17:47 +0000)]
Replace homegrown "nbsp", "hash" and "percent" entities by standard ISO

* gtk/tmpl/gtkprogress.sgml:
* gtk/tmpl/gtkscale.sgml:
* gtk/tmpl/gtktreemodel.sgml:
* gtk/tmpl/gtkimage.sgml:
* gtk/tmpl/gtksignal.sgml:
* gtk/tmpl/gtkrc.sgml:
* gtk/gtk-docs.sgml:
* gdk/gdk-docs.sgml:
* gdk/tmpl/threads.sgml:
* gdk/tmpl/cursors.sgml:
* gdk/tmpl/rgb.sgml: Replace homegrown "nbsp", "hash" and
"percent" entities by standard ISO entities "nbsp", "num" and
"percnt".

* gtk/text_widget.sgml: Fix a link.

22 years agoFix the MSB -> MSB case. Fixes #79190.
Federico Mena Quintero [Mon, 3 Jun 2002 17:41:18 +0000 (17:41 +0000)]
Fix the MSB -> MSB case. Fixes #79190.

2002-06-03  Federico Mena Quintero  <federico@ximian.com>

* gdk/gdkpixbuf-drawable.c (rgb565msb): Fix the MSB -> MSB case.
Fixes #79190.

22 years agoUpdated Catalan translation by Jordi Mallach <jordi@sindominio.net> (also
Christian Rose [Sun, 2 Jun 2002 21:29:01 +0000 (21:29 +0000)]
Updated Catalan translation by Jordi Mallach <jordi@sindominio.net> (also

2002-06-02  Christian Rose  <menthos@menthos.com>

* ca.po: Updated Catalan translation by
Jordi Mallach <jordi@sindominio.net> (also UTF-8 now).

22 years agoadd missing flag, #83796
Jonathan Blandford [Sat, 1 Jun 2002 15:08:47 +0000 (15:08 +0000)]
add missing flag, #83796

Sat Jun  1 10:43:28 2002  Jonathan Blandford  <jrb@gnome.org>

* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
add missing flag, #83796

22 years agoAccept xbms starting with a C comment - those seem to be not uncommon,
Matthias Clasen [Fri, 31 May 2002 23:42:33 +0000 (23:42 +0000)]
Accept xbms starting with a C comment - those seem to be not uncommon,

* gdk-pixbuf-io.c (pixbuf_check_xbm): Accept xbms starting
with a C comment - those seem to be not uncommon, e.g. the Gimp
produces them.  (#82706)

* io-xbm.c (read_bitmap_file_data): Don't leak memory on certain
invalid inputs.
(gdk_pixbuf__xbm_image_load_real): Don't leak memory on valid inputs.

22 years agodestroy the transfer window if the grab fails so we don't get events on
Michael Meeks [Fri, 31 May 2002 16:44:03 +0000 (16:44 +0000)]
destroy the transfer window if the grab fails so we don't get events on

2002-05-30  Michael Meeks  <michael@ximian.com>

* gtk/gtkmenu.c (gtk_menu_popup): destroy the transfer
window if the grab fails so we don't get events on this
window after the menu is finalized with a duff GtkWidget
pointer: #82366

22 years ago Make stock icons appear again (patch by Gediminas Paulauskas):
Matthias Clasen [Thu, 30 May 2002 22:06:28 +0000 (22:06 +0000)]
Make stock icons appear again (patch by Gediminas Paulauskas):

* gtk/Makefile.am (HTML_IMAGES): Add stock_broken_image_24.png

* gtk/tmpl/gtkstock.sgml: Fix icon filenames.

22 years agoCheck if the owner got is of type GDK_WINDOW_FOREIGN. If so the owner is
Shivram U [Thu, 30 May 2002 09:43:09 +0000 (09:43 +0000)]
Check if the owner got is of type GDK_WINDOW_FOREIGN. If so the owner is

Mon May 28 13:28:10  Shivram U  <shivaram.upadhyayula@wipro.com>

* gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner
got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process,
and so return NULL.

22 years agodon't leak the paths.
Michael Meeks [Thu, 30 May 2002 09:29:34 +0000 (09:29 +0000)]
don't leak the paths.

2002-05-24  Michael Meeks  <michael@ximian.com>

* gtk/gtkmain.c (_gtk_find_module): don't leak the paths.

22 years agoadd gtk_menu_style_set(). fixes #79345
Soeren Sandmann [Thu, 30 May 2002 06:05:42 +0000 (06:05 +0000)]
add gtk_menu_style_set(). fixes #79345

Thu May 30 07:59:38 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c (gtk_menu_style_set): add
gtk_menu_style_set(). fixes #79345

22 years agoDisconnect from keypress events.
Dave Camp [Wed, 29 May 2002 19:22:39 +0000 (19:22 +0000)]
Disconnect from keypress events.

2002-05-29  Dave Camp  <dave@ximian.com>

* gtk/gtkdnd.c (gtk_drag_end): Disconnect from keypress events.

22 years agoMarkup fixes
Matthias Clasen [Tue, 28 May 2002 22:23:55 +0000 (22:23 +0000)]
Markup fixes

* gtk/gtkwindow.c (gtk_window_move): Markup fixes

* gtk/gtkrc.c (gtk_rc_get_module_dir): Markup fixes.

* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_for_screen): Update docs
for Docbook XML.

* gtk/*, gdk/*, gdk-pixbuf/*: Create XML, not SGML.

* gtk/tmpl/*: Remove property documentation which comes from the
source now.

* gtk/building.sgml: Remove traces of gxi.

22 years ago[ merge from stable ]
Daniel Elstner [Mon, 27 May 2002 22:42:08 +0000 (22:42 +0000)]
[ merge from stable ]

2002-05-27  Daniel Elstner  <daniel.elstner@gmx.net>

[ merge from stable ]

Fixes for #83190

* gtk/gtktreedatalist.h (_GtkTreeDataList::data): Add missing fields to anonymous union: glong, gulong, gint64 and guint64.  This is an internal header file, so it should not affect ABI or API compatibility.

* gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value): Implement missing support for glong, gulong, gint64 and guint64 fundamental types.  Use data.v_uint instead of data.v_int for G_TYPE_FLAGS, as GValue does.
(_gtk_tree_data_list_value_to_node): ditto
(_gtk_tree_data_list_node_copy): Add case labels for missing fundamental types, and reorder them to match the other functions.
(gtk_tree_data_list_compare_func): Implement comparison for glong, gulong, gint64 and guint64.  Use g_value_get_enum() for G_TYPE_ENUM and g_value_get_flags() for G_TYPE_FLAGS, rather than accessing them as gint/guint.  The G_VALUE_HOLDS() check probably won't like this.

22 years agoBuilt an iter directly instead of using
Dave Camp [Fri, 24 May 2002 18:38:21 +0000 (18:38 +0000)]
Built an iter directly instead of using

2002-05-24  Dave Camp  <dave@ximian.com>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
Built an iter directly instead of using
gtk_tree_model_sort_elt_get_path(), since that returns a path for
the child model.

22 years agoUse indices[i] >= level->array->len rather than level->array->len >
Dave Camp [Fri, 24 May 2002 16:24:04 +0000 (16:24 +0000)]
Use indices[i] >= level->array->len rather than level->array->len >

2002-05-24  Dave Camp  <dave@ximian.com>

* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
rather than level->array->len > indices[i] in the bounds check.

22 years agoUse correct path to the loaders and immodules directories
Tor Lillqvist [Wed, 22 May 2002 21:11:20 +0000 (21:11 +0000)]
Use correct path to the loaders and immodules directories

2002-05-23  Tor Lillqvist  <tml@iki.fi>

* gtk-zip.sh.in: Use correct path to the loaders and immodules
directories (GTK_BINARY_VERSION, not GTK_VERSION).

22 years agoRequire autoconf-2.52 explicitely, since otherwise Debian will process it
Owen Taylor [Wed, 22 May 2002 20:17:26 +0000 (20:17 +0000)]
Require autoconf-2.52 explicitely, since otherwise Debian will process it

Wed May 22 16:12:38 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Require autoconf-2.52 explicitely,
        since otherwise Debian will process it with 2.13 (ugh!).

Wed May 22 12:29:20 2002  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): remove
        GTK_RESIZE_QUEUE setting.

22 years agoUse GTK_BINARY_VERSION (and not GTK_VERSION) in the path to the loaders on
Tor Lillqvist [Wed, 22 May 2002 19:37:30 +0000 (19:37 +0000)]
Use GTK_BINARY_VERSION (and not GTK_VERSION) in the path to the loaders on

2002-05-22  Tor Lillqvist  <tml@iki.fi>

* gdk-pixbuf-io.c (get_libdir): Use GTK_BINARY_VERSION (and not
GTK_VERSION) in the path to the loaders on Win32, too.

* Makefile.am: Pass GTK_BINARY_VERSION.

22 years agoAhem, take the rowstride into account!!! Fixes #82515.
Federico Mena Quintero [Wed, 22 May 2002 18:13:44 +0000 (18:13 +0000)]
Ahem, take the rowstride into account!!! Fixes #82515.

2002-05-22  Federico Mena Quintero  <federico@ximian.com>

* io-xpm.c (pixbuf_create_from_xpm): Ahem, take the rowstride into
account!!!  Fixes #82515.

[This bug is not present in the GNOME 1.4 branch as its XPM loader
does not use gdk_pixbuf_new(); rather it malloc()s a buffer with
no row padding and then uses gdk_pixbuf_new_from_data() on it.]

[IMPORTANT: The comment above is to make my life easier when
merging stuff across branches.  If you make changes to gdk-pixbuf
in either branch, please include a comment in the ChangeLog that
indicates whether this should be merged into the other branch.
Thanks!]

22 years agoFix missing dereference. (HideToshi Tajima)
Owen Taylor [Tue, 21 May 2002 20:51:15 +0000 (20:51 +0000)]
Fix missing dereference. (HideToshi Tajima)

Tue May 21 16:46:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdisplay-x11.c (gdk_internal_connection_watch):
        Fix missing dereference. (HideToshi Tajima)

22 years agoPatch from HideToshi Tajima to handle Xlib internal connections. (#76681)
Owen Taylor [Mon, 20 May 2002 19:04:33 +0000 (19:04 +0000)]
Patch from HideToshi Tajima to handle Xlib internal connections. (#76681)

Mon May 20 15:02:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdisplay-x11.c: Patch from HideToshi Tajima
        to handle Xlib internal connections. (#76681)

22 years agoSet the private LEAVE_PENDING flag to fix problem where with menu items
Owen Taylor [Mon, 20 May 2002 17:06:41 +0000 (17:06 +0000)]
Set the private LEAVE_PENDING flag to fix problem where with menu items

Mon May 20 12:59:14 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktooltips.c: Set the private LEAVE_PENDING
        flag to fix problem where with menu items with
        submenus, tooltips were getting stuck. (Effectively
        disables tooltips for menu items with submenus.)
        (Bug #75961, Soeren Sandmann)

        * tests/testgtk.c: Set a tooltip on a menu item
        with a submenu.

22 years agoUndo an accidental revert of fixes of May 16. (Caught by Padraig O'Briain)
Owen Taylor [Mon, 20 May 2002 15:51:46 +0000 (15:51 +0000)]
Undo an accidental revert of fixes of May 16. (Caught by Padraig O'Briain)

Mon May 20 11:47:59 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkplug.c: Undo an accidental revert of
        fixes of May 16. (Caught by Padraig O'Briain)

        * gtk/gtkctree.c (cell_size_request): Fix bug where
        size request for text cells was being overwritten.
        (#82264, Graham Swallow.)

22 years agoUpdated hu.po
Szabolcs Ban [Sun, 19 May 2002 21:05:40 +0000 (21:05 +0000)]
Updated hu.po

22 years agofile by.po was initially added on branch gtk-1-2.
Valek Frob [Sun, 19 May 2002 20:41:44 +0000 (20:41 +0000)]
file by.po was initially added on branch gtk-1-2.

22 years agoCheck for endianness.
Matthias Clasen [Sat, 18 May 2002 14:56:20 +0000 (14:56 +0000)]
Check for endianness.

* configure.in: Check for endianness.

* io-tiff.c (tiff_image_parse): fix packing order on bigendian
systems.  (#81702)

22 years agoSilent CVS
Anders Carlsson [Sat, 18 May 2002 09:21:22 +0000 (09:21 +0000)]
Silent CVS

22 years agoMake this compile again.
Anders Carlsson [Sat, 18 May 2002 09:02:17 +0000 (09:02 +0000)]
Make this compile again.

22 years agoRe-add REBUILD_PNGS definition that got accidentally removed.
Owen Taylor [Fri, 17 May 2002 20:04:46 +0000 (20:04 +0000)]
Re-add REBUILD_PNGS definition that got accidentally removed.

Fri May 17 16:05:34 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in (REBUILD_PNGS): Re-add REBUILD_PNGS
        definition that got accidentally removed.

22 years agoProtect against reentrancy problems by emitting ::preedit_changed at the
Owen Taylor [Fri, 17 May 2002 19:27:53 +0000 (19:27 +0000)]
Protect against reentrancy problems by emitting ::preedit_changed at the

Fri May 17 14:40:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave):
        Protect against reentrancy problems by emitting
        ::preedit_changed at the end, fixing input context
        leak. (Yao Zhang)

        * modules/input/gtkimcontextxim.c (status_window_free):
        Patch from Federico Mena Quintero to fix problem where
        references to IMContextXIM were kept around after
        module was unloaded.

        * gtk/gtkdnd.c (gtk_drag_dest_set): NULL initialize
        proxy window.

22 years agoAdded missing file. Updated Swedish translation.
Christian Rose [Fri, 17 May 2002 19:08:43 +0000 (19:08 +0000)]
Added missing file. Updated Swedish translation.

2002-05-17  Christian Rose  <menthos@menthos.com>

* POTFILES.in: Added missing file.
* sv.po: Updated Swedish translation.

22 years agoFix a missing unref in the local/passive case. (#82067, Michael Meeks)
Owen Taylor [Fri, 17 May 2002 18:15:26 +0000 (18:15 +0000)]
Fix a missing unref in the local/passive case. (#82067, Michael Meeks)

Fri May 17 13:56:23 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkplug.c (gtk_plug_filter_func): Fix a missing
        unref in the local/passive case. (#82067, Michael
        Meeks)

        * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Fix
        reference leak on the plug window.

        * tests/testsocket.c (add_child): Fix memory leak.

        * gtk/gtkdnd.c (gtk_drag_dest_site_destroy): Unref
        the proxy window.

22 years agoOnly optimize out the full configure handling if we got a gratuitous
Owen Taylor [Thu, 16 May 2002 23:59:23 +0000 (23:59 +0000)]
Only optimize out the full configure handling if we got a gratuitous

Thu May 16 19:49:24 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkwindow.c (gtk_window_configure_event): Only
        optimize out the full configure handling if we got
        a gratuitous configure event(configure_request_count == 0)
        and the size didn't change.

        * gtk/gtkwindow.c (gtk_window_move_resize): Use
        g_message(), not g_print() for debug spew.b

        * gtk/gtkwindow.c (gtk_window_real_set_focus): Ref
        the old and new focus widgets for the scope of
        the function.

        * gtk/gtksocket.c gtkplug.c: Remove various #if 0'd
        bits of old code.

22 years ago Thu May 16 18:47:29 2002 Owen Taylor <otaylor@redhat.com> ...
Owen Taylor [Thu, 16 May 2002 23:38:01 +0000 (23:38 +0000)]
 Thu May 16 18:47:29 2002  Owen Taylor  <otaylor@redhat.com>                                                                                          * gtk/gtkwindow.c (gtk_window_show): Disable the         focus-some-widget code for GtkPlug descendants.                                                             * gtk/gtkplug.c (gtk_plug_focus_event): Eat        focus-in/out events since they can be generated        by keyboard grabs, but are spurious for an embeddded        widget. (#79196, Padraig O'Briain)        * gtk/gtksocket.c (gtk_socket_size_request): Only        pay attention to the minimum size hints, and changes        to that ... ignore the default size.        * gtk/gtksocket.c (gtk_socket_send_configure_event):        Pass in root-window relative coordinates as per        the ICCCM.                                                     * gtk/gtksocket.c (gtk_socket_size_allocate): Send        as many synthetic configures as necessary to make        up for ConfigureRequest events we got. (#78799,        Dave Camp.)

22 years agoMerged from gtk-2-0.
Kristian Rietveld [Thu, 16 May 2002 22:17:59 +0000 (22:17 +0000)]
Merged from gtk-2-0.

Thu May 16 23:59:56 2002  Kristian Rietveld  <kris@gtk.org>

        Merged from gtk-2-0.

        * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): set the prev
        of the next node correctly, so we don't corrupt the list and cause
        bad things. (fixes #71374)

22 years agoRemove accidentally committed mng stuff.
Matthias Clasen [Thu, 16 May 2002 21:49:16 +0000 (21:49 +0000)]
Remove accidentally committed mng stuff.

22 years agoinclude missing #ifdef G_ENA\BLE_DEBUG
Jonathan Blandford [Thu, 16 May 2002 21:37:49 +0000 (21:37 +0000)]
include missing #ifdef G_ENA\BLE_DEBUG

Thu May 16 17:29:08 2002  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkrbtree.c (_gtk_rbtree_remove): include missing #ifdef G_ENA\BLE_DEBUG

22 years agoFix typo in earlier patch.
Owen Taylor [Thu, 16 May 2002 19:44:31 +0000 (19:44 +0000)]
Fix typo in earlier patch.

Thu May 16 15:44:15 2002  Owen Taylor  <otaylor@redhat.com>

        * demos/gtk-demo/editable_cells.c (cell_edited): Fix
        typo in earlier patch.

22 years agoDon't filter control-shift+[non-hex]. (#80252, reported by Nalin
Owen Taylor [Thu, 16 May 2002 19:40:59 +0000 (19:40 +0000)]
Don't filter control-shift+[non-hex]. (#80252, reported by Nalin

Tue May  7 15:50:51 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
        Don't filter control-shift+[non-hex].
        (#80252, reported by Nalin Dahyabhai)

22 years agoPatch from Matthias Clasen to fix some typos (#77246)
Owen Taylor [Thu, 16 May 2002 19:18:01 +0000 (19:18 +0000)]
Patch from Matthias Clasen to fix some typos (#77246)

Thu May 16 15:17:30 2002  Owen Taylor  <otaylor@redhat.com>

        * pixops/pixops.c: Patch from Matthias Clasen to fix some typos
        (#77246)

22 years agoFixes for #78258
Owen Taylor [Thu, 16 May 2002 19:11:43 +0000 (19:11 +0000)]
Fixes for #78258

Thu May 16 14:51:14 2002  Owen Taylor  <otaylor@redhat.com>

        Fixes for #78258

        * gtk/gtkrbtree.c demos/gtk-demo/editable-cells.c:
        Fix some 64-bit warning problems. (Patch from Matthias
        Clasen.)

        * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew_helper): Surround
        a bunch of debug code with G_ENABLE_DEBUG.

        * configure.in demos/gtk-demo/main.c: Replace
        #ifndef G_OS_WIN32 with proper #ifdef HAVE_FLOCKFILE.

22 years agoFix a missed check for division by zero. (#77820, Gareth Pearce)
Owen Taylor [Thu, 16 May 2002 16:57:18 +0000 (16:57 +0000)]
Fix a missed check for division by zero. (#77820, Gareth Pearce)

Thu May 16 12:56:38 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrange.c (gtk_range_calc_layout): Fix a missed
        check for division by zero. (#77820, Gareth Pearce)

22 years agogdk_event_put() copies the event and setting name, so we don't have to
Owen Taylor [Thu, 16 May 2002 16:54:03 +0000 (16:54 +0000)]
gdk_event_put() copies the event and setting name, so we don't have to

Thu May 16 12:50:13 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
        gdk_event_put() copies the event and setting name,
        so we don't have to strdup() it here. (Fix from
        Michael Meeks, #81953)

22 years agoIf the menu is scrolled down or up, and some of the widget area is empty,
Ettore Perazzoli [Thu, 16 May 2002 14:00:45 +0000 (14:00 +0000)]
If the menu is scrolled down or up, and some of the widget area is empty,

* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
up, and some of the widget area is empty, don't fill it in with
GTK_SHADOW_IN rectangles that make it looks strange.  Fixes
#72695.

22 years agoDon't call gdk_pointer_grab() to change the cursor if we've already
Owen Taylor [Wed, 15 May 2002 22:27:42 +0000 (22:27 +0000)]
Don't call gdk_pointer_grab() to change the cursor if we've already

Wed May 15 18:15:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Don't
        call gdk_pointer_grab() to change the cursor if we've
        already ungrabbed on button release / escape.
        (#80420, Dave Camp)

22 years agoSpecial case menu items to pop down on motion. (#75961)
Owen Taylor [Wed, 15 May 2002 21:46:42 +0000 (21:46 +0000)]
Special case menu items to pop down on motion. (#75961)

Wed May 15 17:12:50 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktooltips.c: Special case menu items to
        pop down on motion. (#75961)

        * tests/testgtk.c (create_item_factory): Add tooltips
        to the File menu.

        * gtk/gtkentry.c (update_im_cursor_location): Fix
        cursor locations passed to the IM context.
        (#80027, Yao Zhang)

22 years agoUpdate from contents of size entry on focus out. (#76493, Lauris
Owen Taylor [Wed, 15 May 2002 20:55:09 +0000 (20:55 +0000)]
Update from contents of size entry on focus out. (#76493, Lauris

Wed May 15 16:52:57 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfontsel.c: Update from contents of size entry
        on focus out. (#76493, Lauris Kaplinski)

        * gtk/gtkclipboard.c (selection_get_cb): Fix backwads
        info/time arguments. (#80226)

22 years agoMove the column chooser files to column-chooser/ (and fix a typo in the icon list...
Anders Carlsson [Wed, 15 May 2002 19:55:28 +0000 (19:55 +0000)]
Move the column chooser files to column-chooser/ (and fix a typo in the icon list header file)

22 years agoIf not building libpng, don't rebuild gtkstockpixbufs.h (#81819, Bill
Owen Taylor [Wed, 15 May 2002 15:31:29 +0000 (15:31 +0000)]
If not building libpng, don't rebuild gtkstockpixbufs.h (#81819, Bill

Wed May 15 11:13:19 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in gtk/stock-icons/Makefile.am: If not
        building libpng, don't rebuild gtkstockpixbufs.h
        (#81819, Bill Janssen)

22 years agojust run perl on the geninclude script manually
jacob berkman [Wed, 15 May 2002 14:36:22 +0000 (14:36 +0000)]
just run perl on the geninclude script manually

2002-05-15  jacob berkman  <jacob@ximian.com>

* demos/gtk-demo/Makefile.am (demos.h): just run perl on the
geninclude script manually

22 years agoUpdated Ukrainian translation
Yuri Syrota [Wed, 15 May 2002 10:30:20 +0000 (10:30 +0000)]
Updated Ukrainian translation

22 years agoSubsitute in @PERL@ instead of hardcoded /usr/bin/perl. (#78355, Gareth
Owen Taylor [Tue, 14 May 2002 23:57:40 +0000 (23:57 +0000)]
Subsitute in @PERL@ instead of hardcoded /usr/bin/perl. (#78355, Gareth

Tue May 14 19:53:15 2002  Owen Taylor  <otaylor@redhat.com>

        * demos/gtk-demo/geninclude.pl.in configure.in:
        Subsitute in @PERL@ instead of hardcoded
        /usr/bin/perl. (#78355, Gareth Pearce. Fix based
        on patch from Matthias Clasen)

        * gdk/Makefile.am: Patch from Daniel Elstner to use glib-mkenums
        instead of makeenums.pl.

        * gdk/{x11,linux-fb,win32}/Makefile.am: Hack to
        get gdkenumtypes.h built first.

22 years agoRemove the result file on error. (#79929, David Highley)
Owen Taylor [Tue, 14 May 2002 22:44:51 +0000 (22:44 +0000)]
Remove the result file on error. (#79929, David Highley)

Tue May 14 18:41:58 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h):
        Remove the result file on error. (#79929, David
        Highley)

        * gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu):
        If the menu is currently active, cancel it before
        setting the new menu. (#79162, Jonathan Blandford.)

22 years agoFix prepending at the start of the list. (#56349, Thomas Leonard.)
Owen Taylor [Tue, 14 May 2002 22:15:48 +0000 (22:15 +0000)]
Fix prepending at the start of the list. (#56349, Thomas Leonard.)

Tue May 14 18:13:10 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix
        prepending at the start of the list. (#56349,
        Thomas Leonard.)

        * gtk/gtksignal.h (gtk_signal_disconnect_by_func): Add
        explicit casts to GSignalMatchType for C++ compatibility.
        (#77601)

22 years agoFix frame_right/frame_top screwup. (Detlef Reichl, #78111)
Owen Taylor [Tue, 14 May 2002 22:04:45 +0000 (22:04 +0000)]
Fix frame_right/frame_top screwup. (Detlef Reichl, #78111)

Tue May 14 18:02:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_realize): Fix
        frame_right/frame_top screwup. (Detlef Reichl,
        #78111)

        * gtk/Makefile.am (install-data-local): Use
        $(INSTALL_DATA) not $(INSTALL) when installing
        theme files. (#77094, Ben Liblit)

22 years agoFix format of selection data to be 8 rather than GTK_TYPE_POINTER.
Owen Taylor [Tue, 14 May 2002 21:36:32 +0000 (21:36 +0000)]
Fix format of selection data to be 8 rather than GTK_TYPE_POINTER.

Tue May 14 17:30:57 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkctree.c gtk/gtkclist.c: Fix format of
        selection data to be 8 rather than GTK_TYPE_POINTER.
        (#79751, James Henstridge)

        * gtk/gtkmenu.c (gtk_menu_key_press): Call
        gtk_accelerator_valid() with cleaned up
        accel_key/accel_mods, not the raw values from
        the event. (#80513, Havoc Pennington.)

        * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Remove
        some dead code that set the tearoff window not
        resizable and removed decorations. (#80235)

22 years agoSet the width of the layout to the actual wrap width (our requisition) not
Owen Taylor [Tue, 14 May 2002 20:55:22 +0000 (20:55 +0000)]
Set the width of the layout to the actual wrap width (our requisition) not

Tue May 14 16:44:09 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtklabel.c (gtk_label_ensure_layout): Set
        the width of the layout to the actual wrap width
        (our requisition) not the width we set when calculating
        the width. This results in the lines being justified
        within the correct area. (#79157, Anders Carlsson)

        * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
        registered parameter types of "accel_activate" and
        "accel_changed" signals. (Patch from Murray Cumming, #78798)

        * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
        binary-version and type to correspond to the
        current ordering in _gtk_get_module_path.
        (#78746, Sergey Kuzminov)

        * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
        pointing to the GTK_PATH documentation.

        * gtk/Makefile.am (uninstall-local): Delete
        key themes as well. (#81286, Kristian Rietveld.)

22 years agoAdd a sanity g_return_if_fail() check for the depths for the window and
Owen Taylor [Tue, 14 May 2002 19:45:08 +0000 (19:45 +0000)]
Add a sanity g_return_if_fail() check for the depths for the window and

Tue May 14 15:40:49 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):        Add a sanity g_return_if_fail() check for the depths
        for the window and pixmap. (#79191, Shivaram Upadhyayula)

22 years agoTry adding a #ifndef/#define for XkbKeySymEntry to make up for OSF broken
Owen Taylor [Tue, 14 May 2002 19:15:46 +0000 (19:15 +0000)]
Try adding a #ifndef/#define for XkbKeySymEntry to make up for OSF broken

Tue May 14 15:09:33 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c: Try adding a #ifndef/#define
        for XkbKeySymEntry to make up for OSF broken
        XKB extension. (#77819, Gareth Pearce)

        * gtk/gtklayout.c: Clamp the upper values in response
        to ::size-allocate if necessary. (#81290, Christophe Saout)

        * gtk/gtkcombo.c (gtk_combo_entry_focus_out): Handle
        combo being destroyed before idle fires.
        (#81396, Timo Sirainen)

22 years agoUpdated Swedish translation.
Christian Rose [Tue, 14 May 2002 18:16:05 +0000 (18:16 +0000)]
Updated Swedish translation.

2002-05-14  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoDiscard configure events from SubstructureNotify. (#81760, Rich Burridge)
Owen Taylor [Tue, 14 May 2002 16:48:31 +0000 (16:48 +0000)]
Discard configure events from SubstructureNotify. (#81760, Rich Burridge)

Tue May 14 11:21:19 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_event_translate):
        Discard configure events from SubstructureNotify.
        (#81760, Rich Burridge)

        * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
        strcmp().

        * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
width of child allocation to >= 1. (Fixes warnings from
        #77639, Martin Schulze)

22 years agoChange parameter names to match the header file and the documentation.
Matthias Clasen [Mon, 13 May 2002 22:35:42 +0000 (22:35 +0000)]
Change parameter names to match the header file and the documentation.

* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
(gtk_container_class_find_child_property):
(gtk_container_class_list_child_properties):
* gtk/gtkwidget.c (gtk_widget_class_find_style_property):
(gtk_widget_class_list_style_properties): Change parameter names
to match the header file and the documentation.

22 years agoUpdated French translation.
Christophe Merlet [Mon, 13 May 2002 20:36:11 +0000 (20:36 +0000)]
Updated French translation.

22 years agogtk/gtkfilesel.c gtk/gtkplug.c gtk/gtkwidget.c gtk/gtkwindow.c a few typos
Vitaly Tishkov [Mon, 13 May 2002 14:16:03 +0000 (14:16 +0000)]
gtk/gtkfilesel.c gtk/gtkplug.c gtk/gtkwidget.c gtk/gtkwindow.c a few typos

2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>

        * gtk/gtkfilesel.c
        * gtk/gtkplug.c
        * gtk/gtkwidget.c
        * gtk/gtkwindow.c
        a few typos in docs were fixed

22 years ago[ merge from stable ]
Daniel Elstner [Fri, 10 May 2002 21:59:20 +0000 (21:59 +0000)]
[ merge from stable ]

2002-05-10  Daniel Elstner  <daniel.elstner@gmx.net>

[ merge from stable ]

* gtk/gtktreemodel.c: #define INITIALIZE_TREE_ITER(), which zeroes out all GtkTreeIter fields. (#81380)
(gtk_tree_model_get_iter): Use it.
(gtk_tree_model_iter_children): ditto
(gtk_tree_model_iter_nth_child): ditto
(gtk_tree_model_iter_parent): ditto

22 years agofixed yesterdays fix for cross compiling: simply check the variable
Michael Natterer [Wed, 8 May 2002 15:26:28 +0000 (15:26 +0000)]
fixed yesterdays fix for cross compiling: simply check the variable

2002-05-08  Michael Natterer  <mitch@gimp.org>

* configure.in: fixed yesterdays fix for cross compiling: simply
check the variable "cross_compiling" which gets set by autoconf.

22 years agoset_redraw_on_allocate (FALSE); (gtk_tree_view_size_allocate): invalidate
Soeren Sandmann [Wed, 8 May 2002 14:19:54 +0000 (14:19 +0000)]
set_redraw_on_allocate (FALSE); (gtk_tree_view_size_allocate): invalidate

Wed May  8 16:14:49 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktreeview.c
(gtk_tree_view_init): set_redraw_on_allocate (FALSE);
(gtk_tree_view_size_allocate): invalidate last column if width
changed.
(gtk_tree_view_bin_expose): skip over cells that aren't in
event->region

22 years agoCheck for selection_atom, not property name atom.
Owen Taylor [Tue, 7 May 2002 22:44:56 +0000 (22:44 +0000)]
Check for selection_atom, not property name atom.

Tue May  7 18:36:03 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/xsettings-client.c (xsettings_client_process_event):
        Check for selection_atom, not property name atom.

22 years agoadded a new conditional CROSS_COMPILING which indicates ($build != $host).
Michael Natterer [Tue, 7 May 2002 15:53:08 +0000 (15:53 +0000)]
added a new conditional CROSS_COMPILING which indicates ($build != $host).

2002-05-07  Michael Natterer  <mitch@gimp.org>

* configure.in: added a new conditional CROSS_COMPILING which
indicates ($build != $host). If it is set, look for
gdk-pixbuf-csource in PATH. Error out if it was not found.

* gtk/stock-icons/Makefile.am: use the gdk-pixbuf-csource found at
configure time if CROSS_COMPILING is set, use the one which was
just built otherwise.

22 years agoOnly process manager events with the correct atom.
Anders Carlsson [Tue, 7 May 2002 14:46:13 +0000 (14:46 +0000)]
Only process manager events with the correct atom.

2002-05-07  Anders Carlsson  <andersca@gnu.org>

* gdk/x11/xsettings-client.c (xsettings_client_process_event):
Only process manager events with the correct atom.

22 years agobuild the static pixbuf loaders conditionally like the dynamic ones so
Michael Natterer [Tue, 7 May 2002 12:59:18 +0000 (12:59 +0000)]
build the static pixbuf loaders conditionally like the dynamic ones so

2002-05-07  Michael Natterer  <mitch@gimp.org>

* gdk-pixbuf/Makefile.am: build the static pixbuf loaders
conditionally like the dynamic ones so --without-lib<foo> is
honored when building with --disable-modules. (#66867)

22 years agoAlways select for property notify for maintaining window state.
Matthias Clasen [Mon, 6 May 2002 22:05:17 +0000 (22:05 +0000)]
Always select for property notify for maintaining window state.

* gdk/x11/gdkwindow-x11.c (gdk_window_new):
(gdk_window_set_events): Always select for property notify for
maintaining window state.

* gdk/x11/gdkevents-x11.c (gdk_event_translate): Only propagate
property notifys if they were selected by gdk_window_set_events.

22 years agocall func on current node before the child nodes.
Kristian Rietveld [Mon, 6 May 2002 21:42:35 +0000 (21:42 +0000)]
call func on current node before the child nodes.

Mon May  6 23:48:14 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_map_expanded_rows_helper): call
        func on current node before the child nodes.

22 years agounset user_data before destroying the window. (fixes #80065).
Kristian Rietveld [Mon, 6 May 2002 21:18:23 +0000 (21:18 +0000)]
unset user_data before destroying the window. (fixes #80065).

Mon May  6 23:17:42 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow):
        unset user_data before destroying the window. (fixes #80065).

22 years agoFix versioning to avoid changing the soname!
Owen Taylor [Mon, 6 May 2002 18:01:39 +0000 (18:01 +0000)]
Fix versioning to avoid changing the soname!

Mon May  6 12:17:14 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Fix versioning to avoid changing the
        soname!

        [ merge from stable ]

        * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)

        * m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
        compiling "what went wrong" test case. (#79329)

        * m4macros/gtk-2.0.m4: Remove reference to editing
        pkg-config script. (From Jim Gettys)

22 years agoUpdated Swedish translation.
Christian Rose [Mon, 6 May 2002 01:13:38 +0000 (01:13 +0000)]
Updated Swedish translation.

2002-05-06  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Sun, 5 May 2002 23:10:10 +0000 (23:10 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agoUpdated Portuguese translation.
Duarte Loreto [Sun, 5 May 2002 23:09:26 +0000 (23:09 +0000)]
Updated Portuguese translation.

2002-05-05  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.

22 years agoBump version to 2.1.0, binary, interface age 0.
Matthias Clasen [Sun, 5 May 2002 20:10:38 +0000 (20:10 +0000)]
Bump version to 2.1.0, binary, interface age 0.

* configure.in: Bump version to 2.1.0, binary, interface age 0.

* gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
(gtk_container_class_find_child_property): Document.

* gtk/gtkwidget.c:
* gtk/gtkwidget.h: New functions gtk_widget_class_list_child_properties
and gtk_widget_class_find_child_property.  (#80652)

22 years agoFix problem with == in test argument. (#80732, Hidetoshi Tajima)
Owen Taylor [Sun, 5 May 2002 19:57:10 +0000 (19:57 +0000)]
Fix problem with == in test argument. (#80732, Hidetoshi Tajima)

Sun May  5 15:56:50 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Fix problem with == in test argument.
        (#80732, Hidetoshi Tajima)

22 years agoThe "big treeview focus patch". Fixes several issues and adds some
Kristian Rietveld [Sun, 5 May 2002 14:54:00 +0000 (14:54 +0000)]
The "big treeview focus patch". Fixes several issues and adds some

Sun May  5 16:42:32 2002  Kristian Rietveld  <kris@gtk.org>

        The "big treeview focus patch". Fixes several issues and adds some
        goodies. Related bugs: #73676, #73734, #78660.

        * gtk/gtktreeview.h: add gtk_tree_view_set_cursor_on_cell

        * gtk/gtktreeview.c (gtk_tree_view_button_press): focus on a cell
        if applicable,
        (gtk_tree_view_bin_expose): set_cell_data before iterating columns,
        add support for row-spanning focus rectangles,
        (gtk_tree_view_has_special_cell): new function,
        (gtk_tree_view_move_cursor_left_right): add support for multiple
        focusable cells in one column,
        (gtk_tree_view_set_cursor): call _set_cursor_on_cell now,
        (gtk_tree_view_set_cursor_on_cell): copy of _set_cursor, extended
        with focus_cell parameter,
        (gtk_tree_view_search_iter): removed unused column variable,
        (gtk_tree_view_start_editing): add neighbor size code to allow
        for multiple editable cells in one column.

        * gtk/gtktreeviewcolumn.c (_GtkTreeViewColumnCellInfo): add
        in_editing_mode field,
        (gtk_tree_view_column_get_edited_cell): new function, removed
        _get_editable_cell,
        (_gtk_tree_view_column_get_cell_at_pos): new function,
        (gtk_tree_view_column_pack_end): s/g_new/g_new0/ ...,
        (gtk_tree_view_column_cell_process_action): loads of changes to get
        it right and to allow for multiple special cells, etc,
        (gtk_tree_view_column_cell_first): new function,
        (gtk_tree_view_column_cell_last): ditto,
        (gtk_tree_view_column_cell_next): ditto,
        (gtk_tree_view_column_cell_prev): ditto,
        (gtk_tree_view_column_cell_focus): add left and right parameters,
        allow for multiple special cells,
        (gtk_tree_view_column_cell_is_visible): add assertion,
        (gtk_tree_view_column_focus_cell): new function,
        (gtk_tree_view_column_stop_editing): unset in_editing_mode flag,
        (_gtk_tree_view_column_get_neighbor_sizes): iterate through cells
        correctly

        * gtk/gtktreeviewcolumn.h: add gtk_tree_view_column_focus_cell

        * gtk/gtktreeprivate.h: s/_get_editable_cell/_get_edited_cell/, add
        _gtk_tree_view_column_get_cell_at_pos, add new parameters to
        _gtk_tree_view_column_cell_focus.

        * tests/testtreeedit.c: add some cells in order to test new code.

22 years agoimage files for testing pixbuf loaders the old test-loaders.c split into
Soeren Sandmann [Sun, 5 May 2002 00:59:42 +0000 (00:59 +0000)]
image files for testing pixbuf loaders the old test-loaders.c split into

Sun May  5 02:22:59 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* tests/test-images/*: image files for testing pixbuf loaders
* tests/pixbuf-*.c: the old test-loaders.c split into four
different programs
* tests/Makefile.am: add new pixbuf tests

Sun May  5 02:27:01 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* Makefile.am (noinst_PROGRAMS): remove test-loaders (moved to
gtk+/tests/)
* test-loaders.c, test-images.h: remove

22 years agooops, need to update these on HEAD branch too.. -tigert-
Tuomas Kuosmanen [Sat, 4 May 2002 18:36:39 +0000 (18:36 +0000)]
oops, need to update these on HEAD branch too.. -tigert-

22 years agoupdated Catalan file
Pablo Saratxaga [Fri, 3 May 2002 23:28:22 +0000 (23:28 +0000)]
updated Catalan file

22 years agoRationalized the screen initialization process, changed the GdkDisplayX11
Erwann Chenede - [Fri, 3 May 2002 19:03:03 +0000 (19:03 +0000)]
Rationalized the screen initialization process, changed the GdkDisplayX11

2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>

  * gdk/x11/gdkvisual-x11.c:
  * gdk/x11/gdkwindow-x11.c:
  * gdk/x11/gdkdisplay-x11.[hc] (gdk_open_display) :
  Rationalized the screen initialization process,
  changed the GdkDisplayX11 screen list to an array.

  * gdk/x11/gdkscreen-x11.[hc] (_gdk_x11_screen_new) :
  Moved the xinerama init functions to gdkdisplay-x11.c to
  this file, create a single function to fully initialize
  a GdkScreen. #79981

22 years agochanged the order of the arguments. #80278
Erwann Chenede - [Fri, 3 May 2002 17:19:11 +0000 (17:19 +0000)]
changed the order of the arguments. #80278

2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>

        * gtk/gtkplug.[hc] (gtk_plug_construct_for_display):
changed the order of the arguments. #80278

22 years agoDoc updates.
Matthias Clasen [Thu, 2 May 2002 22:28:50 +0000 (22:28 +0000)]
Doc updates.

22 years agoTypo fix.
Matthias Clasen [Thu, 2 May 2002 19:16:06 +0000 (19:16 +0000)]
Typo fix.

* gtk/gtknotebook.c (gtk_notebook_set_show_border): Typo fix.

22 years agoCorrect the composite_child blurb.
Matthias Clasen [Thu, 2 May 2002 18:55:52 +0000 (18:55 +0000)]
Correct the composite_child blurb.

* gtk/gtkwidget.c (gtk_widget_class_init): Correct the
composite_child blurb.

* gtk/gtknotebook.c (gtk_notebook_set_show_border): Clarify docs.  (#73093)

22 years agoForgot the changelog.
Erwann Chenede [Thu, 2 May 2002 17:01:10 +0000 (17:01 +0000)]
Forgot the changelog.

22 years agomake gdk_screen_get_monitor_at_point cross platform instead of backend
Erwann Chenede - [Thu, 2 May 2002 16:18:24 +0000 (16:18 +0000)]
make gdk_screen_get_monitor_at_point cross platform instead of backend

2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>

  * gdk/gdkscreen.c (gdk_screen_get_monitor_at_point):
  * gdk/gdkscreen.h :
  * gdk/x11/gdkscreen-x11.c :
  make gdk_screen_get_monitor_at_point cross platform instead
  of backend dependant. #80480
  * tests/testxinerama.c (main):
  changed the warning message.