]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agoRename to reset_rc_styles_recurse(). (#68084)
Matthias Clasen [Thu, 10 Jan 2002 23:10:34 +0000 (23:10 +0000)]
Rename to reset_rc_styles_recurse(). (#68084)

        * gtk/gtkwidget.c (gtk_widget_set_style_recurse): Rename to
        reset_rc_styles_recurse(). (#68084)

        * gtk/tmpl/gtkaccellabel.sgml: Remove duplicate docs.

        * gdk-pixbuf/Makefile.am (content_files): Add
        gdk-pixbuf-from-drawables.sgml. (#68232)

        * gtk/tmpl/gtkwidget.sgml: Improve docs for GTK_NO_REPARENT
        and GTK_APP_PAINTABLE. (#68060)

22 years agoReplace some hardcoded values with the SUBSAMPLE
Owen Taylor [Thu, 10 Jan 2002 21:49:39 +0000 (21:49 +0000)]
Replace some hardcoded values with the SUBSAMPLE

Thu Jan 10 16:48:30 2002  Owen Taylor  <otaylor@redhat.com>

        * pixops/pixops.c: Replace some hardcoded values with the
        SUBSAMPLE

22 years agogtk/gtkimage.c gtk/gtkimcontext.c gtk/gtktreemodel.c
Vitaly Tishkov [Thu, 10 Jan 2002 16:36:25 +0000 (16:36 +0000)]
gtk/gtkimage.c gtk/gtkimcontext.c gtk/gtktreemodel.c

2002-01-10            Vitaly Tishkov       <tvv@sparc.spb.su>
        * gtk/gtkimage.c
* gtk/gtkimcontext.c
* gtk/gtktreemodel.c
* gtk/gtktreemodelsort.c
* gtk/gtkwindow.c
* docs/reference/gtk/tmpl/gtkselection.sgml
fix docs

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Thu, 10 Jan 2002 15:22:28 +0000 (15:22 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agoget the types as well as the symbols because we need them in
Jonathan Blandford [Thu, 10 Jan 2002 02:02:59 +0000 (02:02 +0000)]
get the types as well as the symbols because we need them in

Wed Jan  9 20:56:42 2002  Jonathan Blandford  <jrb@redhat.com>

* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
symbols because we need them in MyEnhancedXkbTranslateKeyCode.

22 years agoApply the same fixes and improvements as to the gtk-1-3-win32-production
Tor Lillqvist [Thu, 10 Jan 2002 00:53:39 +0000 (00:53 +0000)]
Apply the same fixes and improvements as to the gtk-1-3-win32-production

2002-01-10  Tor Lillqvist  <tml@iki.fi>

Apply the same fixes and improvements as to the
gtk-1-3-win32-production branch: Bug fixes and cleanup of
selection and DND functionality. Still doesn't work as well as the
win32-production branch, though, but getting closer.

After this, need to add Archaeopteryx Software's OLE2 DND support.

* gdk/win32/gdkselection-win32.c (gdk_selection_owner_set,
gdk_selection_send_notify, generate_selection_notify): Don't use
SendMessage() to generate events for the same app, instead use
gdk_event_put().

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkmain-win32.c
* gdk/win32/gdkevents-win32.c: Thus, remove declaration, definition,
initialisation and handling of gdk_selection_notify_msg,
gdk_selection_request_msg and gdk_selection_clear_msg.

* gdk/win32/gdkselection-win32.c (gdk_text_property_to_text_list,
gdk_free_text_list, gdk_string_to_compound_text,
gdk_free_compound_text): Implement trivially, witrh a text_list
always having a single element, and a compound text always
consisting of just a single (UTF-8!) string. Let's see how well
this works.

* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
non-ASCII paste from the clipboard: Try getting the same formats
from the Windows clipboard that gdk_property_change() puts there:
CF_UNICODETEXT, UTF8_STRING or CF_TEXT+CF_LOCALE.

* gdk/win32/gdkproperty-win32.c (gdk_property_change): When
storing text on the clipboard, handle non-ASCII text
correctly. The logic is as follows:

If we have only ASCII characters, use CF_TEXT.

Else, if we are on NT, use CF_UNICODETEXT.

Else (we are on Win9x), if all the characters are present in the
code page of some installed locale, use CF_TEXT and also set
CF_LOCALE to that locale.

Else (still on Win9x) store as RTF. We use a very simple RTF
string, just the text, no fonts or other crap, with the non-ASCII
characters as Unicode \uN keywords. Additionally, also store the
UTF-8 string as such, under the format "UTF8_STRING", so that GDK
can also paste from the Clipboard what it has copied there. (Thus
no need to implement any RTF parser.)

(find_common_locale): New function, implements the search for a
locale for case 3 above.

* gdk/win32/gdkglobals-win32.c: New global variables
compound_text, text_uri_list, utf8_string, cf_rtf and
cf_utf8_string.

* gdk/win32/gdkim-win32.c (_gdk_ucs2_to_utf8): New function,
converts from a wchar_t string to UTF-8.
(_gdk_utf8_to_ucs2): Rename from _gdk_win32_nmbstowchar_ts.
(_gdk_utf8_to_wcs): Rename from gdk_nmbstowchar_ts.

* gdk/win32/gdkevents-win32.c (build_keypress_event): Use
_gdk_ucs2_to_utf8().

* gdk/win32/gdkselection-win32.c: Remove some unnecessary logging.

* gdk/win32/gdkdnd-win32.c: Plug memory leaks, the
gdk_drag_context_ref() was called unnecessarily in a couple of
places, meaning drag contexts were never freed. The same memory
leaks seem to be present in gdk/linux-fb/gdkselection-fb.c, BTW.

(gdk_drop_reply): For WIN32_DROPFILES drops, free the temporarily
stored file list.

* gdk/win32/gdkselection-win32.c: Clarify the use of the
sel_prop_table. Now it is used only for storing the GDK_SELECTION
"properties".

The file names dropped with WM_DROPFILES -style DND is stored
temporarily (between the drop and the target picking them up) in a
separate place.

Have a separate hash table to map selection atoms to owner
windows. This used to be quite mixed up.

(_gdk_dropfiles_store): New function, to store the dropped file
list for the drop target to possibly fetch, and clear it
afterwards, from gdk_drop_reply().

(gdk_selection_owner_get): Much simplified now.

22 years agoset the background of our bin window also (fixes #58957)
jacob berkman [Thu, 10 Jan 2002 00:32:22 +0000 (00:32 +0000)]
set the background of our bin window also (fixes #58957)

2002-01-09  jacob berkman  <jacob@ximian.com>

* gtk/gtklayout.c (gtk_layout_style_set): set the background of
our bin window also (fixes #58957)

22 years agoNow we test we can unselect nodes before selecting new ones.
Jonathan Blandford [Thu, 10 Jan 2002 00:11:32 +0000 (00:11 +0000)]
Now we test we can unselect nodes before selecting new ones.

Wed Jan  9 19:10:07 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeselection.c
(_gtk_tree_selection_internal_select_node): Now we test we can
unselect nodes before selecting new ones.
(gtk_tree_selection_real_select_node): be careful comparing booleans.

22 years agopass NULL to gtk_tree_model_rows_reordered and not an iter with user_data
Kristian Rietveld [Wed, 9 Jan 2002 20:43:11 +0000 (20:43 +0000)]
pass NULL to gtk_tree_model_rows_reordered and not an iter with user_data

Wed Jan  9 21:31:44 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtkliststore.c (gtk_list_store_sort): pass NULL to
        gtk_tree_model_rows_reordered and not an iter with user_data
        set to NULL (which is an invalid liststore iter, so
        iter_n_children failed, etc)

22 years agoInclude glib-object.h, Add G_BEGIN_DECLS/END_DECLS to
Owen Taylor [Wed, 9 Jan 2002 16:36:20 +0000 (16:36 +0000)]
Include glib-object.h, Add G_BEGIN_DECLS/END_DECLS to

Wed Jan  9 11:29:44 2002  Owen Taylor  <otaylor@redhat.com>

* Makefile.am (s-enum-types-h): Include glib-object.h,
Add G_BEGIN_DECLS/END_DECLS to gdk-pixbuf-enum-types.h. (#68325,
Mikael Hermansson)

* *.h: G_BEGIN_DECLS cleanups.

22 years agodeclared internal functions static.
Sven Neumann [Wed, 9 Jan 2002 16:23:19 +0000 (16:23 +0000)]
declared internal functions static.

2002-01-09  Sven Neumann  <sven@gimp.org>

* tests/prop-editor.c: declared internal functions static.

22 years agoFix problem with menus without accel groups, such as the menus for option
Owen Taylor [Wed, 9 Jan 2002 16:15:21 +0000 (16:15 +0000)]
Fix problem with menus without accel groups, such as the menus for option

Wed Jan  9 11:13:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenuitem.c (_gtk_menu_item_refresh_accel_path):
        Fix problem with menus without accel groups, such as the
        menus for option menus.

        * gtk/gtkpaned.c (gtk_paned_expose): Only conditionalize
        drawing of handle on whether both children are visible,
        not the drawing of the other child!. (#68325, Diego Gonzalez)

22 years agoCheck for RENDER before trying to use it... XRenderFindFormat() prints
Owen Taylor [Wed, 9 Jan 2002 15:23:30 +0000 (15:23 +0000)]
Check for RENDER before trying to use it... XRenderFindFormat() prints

Wed Jan  9 10:20:16 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkgc-c11.c: Check for
RENDER before trying to use it... XRenderFindFormat() prints
warnings if called when extension isn't present.

22 years agoupdate the accel path upon parent changes.
Tim Janik [Wed, 9 Jan 2002 14:22:34 +0000 (14:22 +0000)]
update the accel path upon parent changes.

Wed Jan  9 15:20:40 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenuitem.c (gtk_menu_item_parent_set): update the accel
        path upon parent changes.

22 years agosmall but important fix to force vadjustments at size_alocate time from
Tim Janik [Wed, 9 Jan 2002 12:24:03 +0000 (12:24 +0000)]
small but important fix to force vadjustments at size_alocate time from

Wed Jan  9 13:20:14 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
        fix to force vadjustments at size_alocate time from Xavier Ordoquy
        <mcarkan@users.sourceforge.net>.

22 years agodon't cast a possible NULL pointer.
Tim Janik [Wed, 9 Jan 2002 10:28:02 +0000 (10:28 +0000)]
don't cast a possible NULL pointer.

Wed Jan  9 11:23:39 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtklayout.c (gtk_layout_get_property):
        * gtk/gtkspinbutton.c (gtk_spin_button_get_property):
        * gtk/gtktreeview.c (gtk_tree_view_get_property):
        * gtk/gtkwidget.c (gtk_widget_get_property):
        * gtk/gtkfontsel.c (gtk_font_selection_get_property):
        * gtk/gtkrange.c (gtk_range_get_property):
        * gtk/gtkviewport.c (gtk_viewport_get_property):
        * gtk/gtkprogressbar.c (gtk_progress_bar_get_property): don't cast a
        possible NULL pointer.

22 years agoUse G_TYPE_INSTANCE_GET_INTERFACE. ditto. ditto. ditto. Don't reference
Mike Kestner [Wed, 9 Jan 2002 06:52:19 +0000 (06:52 +0000)]
Use G_TYPE_INSTANCE_GET_INTERFACE. ditto. ditto. ditto. Don't reference

2002-01-08  Mike Kestner  <mkestner@speakeasy.net>

* gtk/gtkcelleditable.h : Use G_TYPE_INSTANCE_GET_INTERFACE.
* gtk/gtktreednd.h : ditto.
* gtk/gtktreemodel.h : ditto.
* gtk/gtktreesortable.h : ditto.
* gtk/gtkwidget.h : Don't reference incomplete _GdkRectangle type.

22 years agoImprove wording.
Matthias Clasen [Wed, 9 Jan 2002 00:34:21 +0000 (00:34 +0000)]
Improve wording.

22 years agoSpeak of window IDs rather than XIDs in the docs.
Matthias Clasen [Wed, 9 Jan 2002 00:02:30 +0000 (00:02 +0000)]
Speak of window IDs rather than XIDs in the docs.

        * gtk/gtkplug.c, gtk/gtksocket.c: Speak of window IDs rather
        than XIDs in the docs.

        * gtk/gtkclipboard.c (gtk_clipboard_clear): Fix docs.

        * gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkplug.sgml: speak of
        window IDs rather than XIDs.

22 years agowow! Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")
Jonathan Blandford [Tue, 8 Jan 2002 23:48:30 +0000 (23:48 +0000)]
wow! Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")

Tue Jan  8 18:39:23 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): wow!
Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")

22 years agoHandle TOGGLE/RADIOBUTTON as well. (#68201, Damon Chaplin.)
Owen Taylor [Tue, 8 Jan 2002 23:05:46 +0000 (23:05 +0000)]
Handle TOGGLE/RADIOBUTTON as well. (#68201, Damon Chaplin.)

Tue Jan  8 18:04:01 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
Handle TOGGLE/RADIOBUTTON as well. (#68201,
Damon Chaplin.)

* gtk/gtktoolbar.c (get_first_child): Fix stupid
bug, just introduced.

22 years agoFix coordinate translations, once and for all.
Owen Taylor [Tue, 8 Jan 2002 21:17:55 +0000 (21:17 +0000)]
Fix coordinate translations, once and for all.

Tue Jan  8 15:53:28 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
translations, once and for all.

* gtk/gtktextbuffer.c (paste_from_buffer): Free
the ClipboardRequest structure. (#66198, HideToshi
Tajima)

22 years agoqueue a resize on
jacob berkman [Tue, 8 Jan 2002 20:20:32 +0000 (20:20 +0000)]
queue a resize on

2002-01-08  jacob berkman  <jacob@ximian.com>

* gtk/gtklayout.c (gtk_layout_move_internal): queue a resize on

22 years agoDon't draw the handle if we aren't showing both children. (#68135, Diego
Owen Taylor [Tue, 8 Jan 2002 19:56:37 +0000 (19:56 +0000)]
Don't draw the handle if we aren't showing both children. (#68135, Diego

Tue Jan  8 14:51:19 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkpaned.c (gtk_paned_expose): Don't draw
the handle if we aren't showing both children.
(#68135, Diego Gonzalez)

22 years agoFix leak of result of gtk_container_get_children().
Owen Taylor [Tue, 8 Jan 2002 19:47:13 +0000 (19:47 +0000)]
Fix leak of result of gtk_container_get_children().

Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_add_events): Fix
leak of result of gtk_container_get_children().

22 years agoFix leaks of results of gtk_container_get_children(). (#68199, Damon
Owen Taylor [Tue, 8 Jan 2002 19:44:34 +0000 (19:44 +0000)]
Fix leaks of results of gtk_container_get_children(). (#68199, Damon

Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktoolbar.c: Fix leaks of results of
gtk_container_get_children(). (#68199, Damon Chaplin)

22 years agoFix problem where child->requisition was accessed directly instead of
Owen Taylor [Tue, 8 Jan 2002 19:21:55 +0000 (19:21 +0000)]
Fix problem where child->requisition was accessed directly instead of

Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcheckbutton.c (gtk_check_button_size_allocate):
Fix problem where child->requisition was accessed
directly instead of calling get_child_requisition()
(#68199, Damon Chaplin)

22 years ago- Massive cleanup, make actually legible. - Fix some clamp-to-range bugs
Owen Taylor [Tue, 8 Jan 2002 16:12:49 +0000 (16:12 +0000)]
- Massive cleanup, make actually legible. - Fix some clamp-to-range bugs

Tue Jan  8 10:58:04 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate):
         - Massive cleanup, make actually legible.
         - Fix some clamp-to-range bugs found by Jim Cape (#68231).
         - Add a g_return_if_fail() if src and dest alpha don't match.
         - Allow for src_rowstride != dest_rowstride.

22 years agoadd trailing */ on doc comment.
James Henstridge [Tue, 8 Jan 2002 03:40:05 +0000 (03:40 +0000)]
add trailing */ on doc comment.

2001-01-08  James Henstridge  <james@daa.com.au>

        * gtk/gtkstyle.c: add trailing */ on doc comment.

22 years agoFix a problem where were the offset into the image was passed into
Owen Taylor [Tue, 8 Jan 2002 03:22:13 +0000 (03:22 +0000)]
Fix a problem where were the offset into the image was passed into

Mon Jan  7 22:19:32 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdrawable-x11.c (draw_with_pixmaps): Fix a
        problem where were the offset into the image was passed
        into convert_to_format() wrong.

        * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Call
        gdk_x11_drawable_update_picture_clip () before using
        the picture; allow update_picture_clip() to take a NULL gc
        to mean no clipping.

22 years agoDoc typo fix. (#68172)
Matthias Clasen [Tue, 8 Jan 2002 00:04:57 +0000 (00:04 +0000)]
Doc typo fix. (#68172)

        * gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)

        * gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.

        * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.

        * gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.

        * gtk/gtkrc.c (gtk_rc_get_style_by_paths),
        gtk/gtkwidget.c (gtk_widget_get_toplevel,
        gtk_widget_push_composite_child), gtk/gtkdialog.c
        (gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
        from messing up the indentation of inline examples.

        * gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
        instead of getenv().

        * gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
        gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
        gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.

        * gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
        gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
        Document.

        * gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
        instead of GTK_WINDOW_XWINDOW().  (#68172)

        * gtk/gtk-sections.txt: Move functions which are documented
        as "private" or "internal" into Private subsections.

        * gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
        gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
        gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
        gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
        gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.

        * gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.

        * gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
        gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.

        * gtk/tmpl/gtkrc.sgml: Correct names of default RC files.

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Mon, 7 Jan 2002 20:54:27 +0000 (20:54 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agoRemove unused pixels and rowstride variables.
Anders Carlsson [Mon, 7 Jan 2002 08:02:23 +0000 (08:02 +0000)]
Remove unused pixels and rowstride variables.

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

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
unused pixels and rowstride variables.
(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.

22 years agodon't forget to offset the pointer by x/y_offset into the new window when
Tim Janik [Mon, 7 Jan 2002 07:59:08 +0000 (07:59 +0000)]
don't forget to offset the pointer by x/y_offset into the new window when

Mon Jan  7 08:48:23 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
        the pointer by x/y_offset into the new window when we found
        the drag destination.

        * gtk/gtkaccelmap.c (internal_change_entry): fix return code
        for simulation when the entry already contains the required
        accel key and mod.

22 years agoReplace GTK_NO_CHECK_CASTS by G_DISABLE_CAST_CHECKS.
Matthias Clasen [Mon, 7 Jan 2002 00:13:33 +0000 (00:13 +0000)]
Replace GTK_NO_CHECK_CASTS by G_DISABLE_CAST_CHECKS.

        * docs/debugging.txt: Replace GTK_NO_CHECK_CASTS by
        G_DISABLE_CAST_CHECKS.

        * gtk/gtkaccelgroup.c (gtk_accel_group_from_accel_closure,
        gtk_accel_group_query, gtk_accel_group_find,
        gtk_accel_groups_from_object): Document.

        * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_closure): Document.

        * gtk/tmpl/gtktypeutils.sgml: Replace GTK_NO_CHECK_CASTS by
        G_DISABLE_CAST_CHECKS, fix some markup and add stuff.

        * gtk/tmpl/gtkaccelgroup.sgml, gtk/tmpl/gtkwidget.sgml: Additions.

        * gtk/gtk-sections.txt: Make gtk_accel_group_get_type private.

22 years agoa few more questions I thought of
Havoc Pennington [Sun, 6 Jan 2002 21:51:04 +0000 (21:51 +0000)]
a few more questions I thought of

2002-01-06  Havoc Pennington  <hp@pobox.com>

* gtk/question_index.sgml: a few more questions I thought of

22 years agoremove gtk- prefix from TreeView and a few other entities, more consistent
Havoc Pennington [Sun, 6 Jan 2002 21:09:26 +0000 (21:09 +0000)]
remove gtk- prefix from TreeView and a few other entities, more consistent

2002-01-06  Havoc Pennington  <hp@pobox.com>

* gtk/gtk-docs.sgml: remove gtk- prefix from TreeView and a few
other entities, more consistent anyway (I thought this would make
links to "GtkTreeView" etc. go to the ref page, not the struct,
but it wasn't the problem, the issue is the way gtkdoc-mkdb
decides what's an object, see CheckIsObject() routine)

* gtk/changes-1.2.sgml: sgml fixes to get rid of warnings

* gtk/changes-2.0.sgml: ditto

* gtk/question_index.sgml: add some questions

22 years agoneed to cast image->mem away from void* to avoid 'error C2036: 'void *' :
Hans Breuer [Sat, 5 Jan 2002 19:07:13 +0000 (19:07 +0000)]
need to cast image->mem away from void* to avoid 'error C2036: 'void *' :

2002-01-04  Hans Breuer  <hans@breuer.org>

* gdk/gdkdraw.c gdk/gdkpixbuf-drawable.c :
need to cast image->mem away from void* to avoid
'error C2036: 'void *' : unknown size'. Doing pointer
arithmetics on void pointers is a GCCism afaik.

* gdk/gdkpixbuf-render.c : #include "gdkinternals.h" for
_gdk_draw_pixbuf ()

* gdk/makefile.msc gdk/win32/makefile.msc
        gdk/gtk/makefile.msc.in : use -FI msvc_recommended_pragmas.h

* gdk/win32/gdkdrawable-win32.c : use _gkd_win32_copy_to_image
and take care of image->visual possibly NULL.

* gdk/win32/gdkimage-win32.c : implement _gdk_image_new_for_depth(),
_gdk_win32_copy_to_image() and _gdk_windowing_bits_for_depth().
Again take care of image->visual possibly NULL.

* gdk/win32/gdkprivate-win32.h : declare _gdk_win32_copy_to_image()

* gdk/win32/gdkevents-win32.c : use gdk_drawable_get_colormap
instead of private field access

* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : adapt
colormap setting to the gdk-X behaviour

22 years agodon't export functions prefixed with underscore
Hans Breuer [Sat, 5 Jan 2002 18:59:24 +0000 (18:59 +0000)]
don't export functions prefixed with underscore

2002-01-04  Hans Breuer  <hans@breuer.org>

* gdk_pixbuf.def : don't export functions prefixed
with underscore

* makefile.msc : use -FImsvc_recommende_pragmas.h

22 years agoDocumentation additions.
Matthias Clasen [Sat, 5 Jan 2002 15:46:46 +0000 (15:46 +0000)]
Documentation additions.

        * gtk/gtkwidget.c: Documentation additions.

        * gtk/tmpl/gtkwidget.sgml: Additions.

22 years agoFix a comment.
Matthias Clasen [Fri, 4 Jan 2002 23:49:20 +0000 (23:49 +0000)]
Fix a comment.

        * gtk/gtkobject.c (gtk_object_dispose): Fix a comment.

        * gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change

        * gtk/changes-1.2.sgml, gtk/changes-2.0.sgml: SGML fixes.

        * gtk/tmpl/gtkobject.sgml: Document GTK_IN_DESTRUCTION.

        * gtk/tmpl/gtkwidget.sgml: Additions.

22 years agotiny docs change
Havoc Pennington [Fri, 4 Jan 2002 21:50:43 +0000 (21:50 +0000)]
tiny docs change

2002-01-04  Havoc Pennington  <hp@pobox.com>

* gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change

2002-01-04  Havoc Pennington  <hp@pobox.com>

* gtk/question_index.sgml: add question to help people find
gtk_widget_set_sensitive() if they're used to another term for
that.

22 years agoAt least don't infinite loop if the widget and window heirarchies don't
Owen Taylor [Fri, 4 Jan 2002 18:28:18 +0000 (18:28 +0000)]
At least don't infinite loop if the widget and window heirarchies don't

Fri Jan  4 13:05:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_find_widget): At least
        don't infinite loop if the widget and window heirarchies
        don't correspond.

        * gtk/gtkdnd.c (gtk_drag_find_widget): Handle changes
        in heirarchy in ::drag_motion, ::drag_drop callbacks
        by referencing child widget lists. (Patch from Tim)

        * gtk/gtkdnd.c (gtk_drag_find_widget): Fix a problem
        with widgets where window.x != widget->allocation.

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Fri, 4 Jan 2002 15:16:23 +0000 (15:16 +0000)]
Updated Slovak translation.

2002-01-04  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

22 years agoOptimize a little bit. (More for consistency than because it makes much of
Owen Taylor [Fri, 4 Jan 2002 06:38:32 +0000 (06:38 +0000)]
Optimize a little bit. (More for consistency than because it makes much of

Fri Jan  4 01:36:48 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.c (convert_to_format): Optimize
a little bit. (More for consistency than because it
makes much of a difference.)

22 years agoPrivate function to tell if we have RENDER extension.
Owen Taylor [Fri, 4 Jan 2002 05:58:01 +0000 (05:58 +0000)]
Private function to tell if we have RENDER extension.

Thu Jan  3 22:18:15 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkprivate-x11.h
(_gdk_x11_have_render): Private function to tell if we have RENDER
extension.

* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Return
None if we don't have RENDER extension.

* gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Don't
use Xft unless we have render extension.

* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
Handle missing render extension.

* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkpixmap.c gdk/gdkwindow.c
gdk/gdkinternals.h: Add a private copy_to_image() virtual function
to the GdkDrawable vtable that extends get_image() to allow
copying onto existing images.  Make the default implementation of
get_image() use this so that backends don't have to implement
both. Add private wrapper _gdk_drawable_copy_to_image().

* gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.c
gdk/x11/gdkdrawable-x11.c (_gdk_x11_copy_to_image): Implement
copy_to_image() semantics, speed up by using ShmPixmaps and
XCopyArea when possible, XFlush() after ungrabbing the server,
generally redo the logic once again.

* gdk/gdkinternals.h gdk/x11/gdkimage-x11.c
_gdk_windowing_bits_per_depth(): Function to convert from depth to
bits-per-pixel. (We assume only one bpp per depth - X requires
this.)

* gdk/gdkinternals.h gdk/gdkrgb.c gdk/gdkimage.c: Move the GdkRGB
scratch image code into a generic _gdk_image_get_scratch() chunk
of code that we can use other places we need scratch images.

* gdk/gdkimage.c gdk/x11/gdkimage.c gdk/gdkinternals.h:
Add _gdk_image_new_for_depth() as the backend
to _gdk_image_new() to allowing creating images with
a depth and no visual.

* gdk/gdkpixbuf-drawable.c: Fix so that getting
parts of images not at 0,0 actually works.

* gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
gdk/gdkwindow.c gdk/gdkpixmap.c gdk/gdkpixbuf-render.c:
 - Add a new GdkDrawableClass vfunc _draw_pixbuf, and
  _gdk_draw_pixbuf() [ will be made public later ], to allow
  backends to accelerate drawing pixbufs.
 - Move the implementation of gdk_pixbuf_render_to_drawable_alpha()
   to be the default implementation.
 - Update docs for gdk_pixbuf_render_to_drawable_alpha().
 - Optimize the default implementation by using
   _gdk_image_copy_to_pixmap() and scratch shared images, and
   special casing the compositing.

* gdk/x11/gdkdrawable-x11.c: Accelerate _gdk_draw_pixbuf()
with alpha using the RENDER extension.

        * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
Optimize by _gdk_image_copy_to_pixmap() and scratch images.

* tests/testrgb.c: Add test for speed of alpha composition,
reduce the number of iterations since alpha composition
can be a bit slow.

* gdk/x11/gdkimage-x11.c gdk/gdkprivate-x11.h (_gdk_x11_image_get_shm_pixmap):
Private function to get a ShmPixmap for an image, if possible.

22 years agoadd mention of gtk_widget_add_events() and GTK_CAN_FOCUS
Havoc Pennington [Fri, 4 Jan 2002 03:34:12 +0000 (03:34 +0000)]
add mention of gtk_widget_add_events() and GTK_CAN_FOCUS

2002-01-03  Havoc Pennington  <hp@pobox.com>

* gtk/tmpl/gtkdrawingarea.sgml: add mention of
gtk_widget_add_events() and GTK_CAN_FOCUS

22 years agoAdd my cool list of integers.
Anders Carlsson [Fri, 4 Jan 2002 00:47:29 +0000 (00:47 +0000)]
Add my cool list of integers.

2002-01-04  Anders Carlsson  <andersca@gnu.org>

* tests/testtreesort.c: Add my cool list of integers.

22 years agoFix problem where retrieved atoms weren't properly returned.
Owen Taylor [Fri, 4 Jan 2002 00:38:15 +0000 (00:38 +0000)]
Fix problem where retrieved atoms weren't properly returned.

Thu Dec 27 18:12:55 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkproperty-x11.c (gdk_property_get): Fix
problem where retrieved atoms weren't properly returned.

22 years agoFix and uncomment non-MMX version.
Owen Taylor [Fri, 4 Jan 2002 00:34:06 +0000 (00:34 +0000)]
Fix and uncomment non-MMX version.

Thu Jan  3 19:31:58 2002  Owen Taylor  <otaylor@redhat.com>

* pixops/pixops.c (scale_line_22_33): Fix and uncomment
non-MMX version.

* pixops/pixops.c (pixops_composite_nearest): Remove a
division.

* pixops/pixops.c (pixops_composite): Add some docs
about the parameters.

* pixops/README: Add notes about the correct algorithms
for alpha compositing and how to implement them quickly.

22 years agoSmall additions.
Matthias Clasen [Thu, 3 Jan 2002 23:04:44 +0000 (23:04 +0000)]
Small additions.

        * gtk/tmpl/gtktextview.sgml: Small additions.

        * gtk/tmpl/gtksignal.sgml: Explain what to use instead.

        * gtk/question_index.sgml, gtk/text_widget.sgml, gtk/tree_widget.sgml,
        gtk/changes-1.2.sgml, gtk/changes-2.0.sgml,
        gtk/framebuffer.sgml: SGML fixes and additions.

        * gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkdialog.sgml,
        gtk/tmpl/gtkeditable.sgml, gtk/tmpl/gtkfilesel.sgml,
        gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
        gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkrc.sgml,
        gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtkspinbutton.sgml,
        gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkwindow.sgml:
        Replace references to deprecated functions.

22 years agoWhen tab is pressed and the text view isn't editable, move the focus
Anders Carlsson [Thu, 3 Jan 2002 18:27:16 +0000 (18:27 +0000)]
When tab is pressed and the text view isn't editable, move the focus

2002-01-03  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktextview.c (gtk_text_view_key_press_event): When
tab is pressed and the text view isn't editable,
move the focus instead.

22 years agoAdd markup.
Matthias Clasen [Thu, 3 Jan 2002 00:36:09 +0000 (00:36 +0000)]
Add markup.

        * gtk/changes-1.2.sgml, gtk/changes-2.0.sgml,
        gtk/framebuffer.sgml: Add markup.

22 years agoFree dash list if necessary.
Anders Carlsson [Thu, 3 Jan 2002 00:30:39 +0000 (00:30 +0000)]
Free dash list if necessary.

2002-01-03  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if
necessary.

* gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list.

* gtk/gtkcolorsel.c (get_focus_gc): Free dash list.

* gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask
if it's NULL.

22 years agoRename gtk_tree_view_queue_draw_node to _gtk_tree_view_queue_draw_node.
Anders Carlsson [Wed, 2 Jan 2002 23:51:03 +0000 (23:51 +0000)]
Rename gtk_tree_view_queue_draw_node to _gtk_tree_view_queue_draw_node.

2002-01-03  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktreeview.c: Rename gtk_tree_view_queue_draw_node to
_gtk_tree_view_queue_draw_node.
(gtk_tree_view_row_has_child_toggled): Only redraw one node.

* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func):
sort_column_id can be 0.

* gtk/gtktreeselection.c (gtk_tree_selection_real_select_node):
Only redraw one the node being selected.

* gtk/gtktreeprivate.h: Add _gtk_tree_view_queue_draw_node.

22 years agodon't ignore realized but visible && !mapped resize containers (which is
Tim Janik [Wed, 2 Jan 2002 22:08:49 +0000 (22:08 +0000)]
don't ignore realized but visible && !mapped resize containers (which is

Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
        realized but visible && !mapped resize containers (which is
        possible with unset CHILD_VISIBLE now).

22 years agoautomake still doesn't support libsomething_la_LDFLAGS, so fix the build
jacob berkman [Wed, 2 Jan 2002 18:34:55 +0000 (18:34 +0000)]
automake still doesn't support libsomething_la_LDFLAGS, so fix the build

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

* gtk/Makefile.am (LDFLAGS): automake still doesn't support
libsomething_la_LDFLAGS, so fix the build again

22 years agopropagate exposes to no window children not in the buffer window.
Havoc Pennington [Wed, 2 Jan 2002 03:49:09 +0000 (03:49 +0000)]
propagate exposes to no window children not in the buffer window.

2002-01-01  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (gtk_text_view_expose_event): propagate
exposes to no window children not in the buffer window.
(gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab
- is this the right way to do it?
(gtk_text_view_focus): add focus method, just chains up for now,
I'm not sure why the GtkContainer implementation doesn't work

* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill
in the text line for the child anchor segment

* tests/testtext.c (do_add_focus_children): add another test
example (to put focusable buttons into the widget)

22 years agomove README.linux-fb in here
Havoc Pennington [Tue, 1 Jan 2002 23:51:00 +0000 (23:51 +0000)]
move README.linux-fb in here

2002-01-01  Havoc Pennington  <hp@pobox.com>

* gtk/framebuffer.sgml: move README.linux-fb in here

* gtk/tmpl/gtkpreview.sgml: explain what to use instead

* gtk/tmpl/gtkseparator.sgml: typo fix

* gtk/tmpl/gtkstock.sgml: add some overview docs

* gtk/Makefile.am (content_files): add new files

* gtk/changes-1.2.sgml: move Changes-1.2.txt in here

* gtk/changes-2.0.sgml: move Changes-2.0.txt in here

* gdk/tmpl/threads.sgml: mention gdk_threads_init() in the
overview docs, copy in the examples from the FAQ

* gtk/gtk-docs.sgml: change DTD to 3.1, and add
question_index.sgml and changes-1.2, changes-2.0

* gtk/tmpl/gtkdrawingarea.sgml: fixups to reflect 2.0 changes

* gtk/question_index.sgml: new section with question-based
index of the manual

* gtk/text_widget.sgml: fix some cross-references

2002-01-01  Havoc Pennington  <hp@pobox.com>

* docs/README.linux-fb: note that this file is obsolete

* docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these
files that they should not be edited and look in the reference
manual instead. Probably these files should just be replaced by
the note, and their main contents deleted.

* gtk/gtktextview.c: docs

* gtk/gtktextmark.c: docs

* gtk/gtktextchild.c: docs

* gtk/gtktextbuffer.c: docs stuff

* gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe
give people more leads in sorting out PRIMARY vs. CLIPBOARD

22 years agoAppend EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource.
Tor Lillqvist [Tue, 1 Jan 2002 22:17:09 +0000 (22:17 +0000)]
Append EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource.

2002-01-01  Tor Lillqvist  <tml@iki.fi>

* demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to
../gdk-pixbuf/gdk-pixbuf-csource.

2001-12-31  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error
handling.
(gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall.

* gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc
-Wall.  Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in
one more place.

* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc
-Wall.

* gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32.

22 years agodoc fix
Havoc Pennington [Tue, 1 Jan 2002 17:44:46 +0000 (17:44 +0000)]
doc fix

2002-01-01  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
fix

2002-01-01  Havoc Pennington  <hp@pobox.com>

* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
property isn't implemented

* gtk/text_widget.sgml: small tweaks

22 years agodocs updates, mention that invisible property isn't implemented
Havoc Pennington [Tue, 1 Jan 2002 17:43:44 +0000 (17:43 +0000)]
docs updates, mention that invisible property isn't implemented

2002-01-01  Havoc Pennington  <hp@pobox.com>

* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
property isn't implemented

* gtk/text_widget.sgml: small tweaks

2002-01-01  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
fix

22 years agoReplace call to gtk_widget_size_request() that expected to actually
Havoc Pennington [Tue, 1 Jan 2002 17:17:22 +0000 (17:17 +0000)]
Replace call to gtk_widget_size_request() that expected to actually

2002-01-01  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (changed_handler): Replace call to
gtk_widget_size_request() that expected to actually compute the
request with a direct use of widget_class->size_request, so we get
our size request right; fixes remaining part of #63065 reported by
Matthias Clasen

22 years agoremove backward_char since we no longer have bogus newline
Havoc Pennington [Mon, 31 Dec 2001 22:35:20 +0000 (22:35 +0000)]
remove backward_char since we no longer have bogus newline

2001-12-31  Havoc Pennington  <hp@pobox.com>

* tests/testtext.c (do_insert_and_scroll): remove backward_char
since we no longer have bogus newline
(dialog_response_callback): remove another backward_char horkage,
reported by Matthias Clasen #63065

22 years agofix an incorrect assertion that the "valid" flag is always correct in a
Havoc Pennington [Mon, 31 Dec 2001 22:17:26 +0000 (22:17 +0000)]
fix an incorrect assertion that the "valid" flag is always correct in a

2001-12-31  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency):
fix an incorrect assertion that the "valid" flag is always correct
in a node and add explanatory comment. This keeps me from
reproducing #59101, but I'm remembering that 59101 was actually
about incorrect pixel totals, so I'm not sure 59101 is actually
fixed. May just have stopped happening due to some change in
how C-k works.

22 years agoextend selection if shift is down, bug #50939
Havoc Pennington [Mon, 31 Dec 2001 17:58:04 +0000 (17:58 +0000)]
extend selection if shift is down, bug #50939

2001-12-31  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (gtk_text_view_start_selection_drag): extend
selection if shift is down, bug #50939
(gtk_text_view_button_press_event): add double/triple click
selection to the current selection if shift is down

22 years agofix to use ensure_byte_offsets not ensure_char_offsets, patch from Padraig
Havoc Pennington [Mon, 31 Dec 2001 16:31:51 +0000 (16:31 +0000)]
fix to use ensure_byte_offsets not ensure_char_offsets, patch from Padraig

2001-12-31  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index): fix
to use ensure_byte_offsets not ensure_char_offsets, patch
from Padraig O'Briain bug #67356

22 years agofix GtkDialogFlags to have the right values, reported by Jeff Franks
Havoc Pennington [Mon, 31 Dec 2001 04:43:07 +0000 (04:43 +0000)]
fix GtkDialogFlags to have the right values, reported by Jeff Franks

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

* gtk/gtkdialog.h (GtkDialogFlags): fix GtkDialogFlags to have
the right values, reported by Jeff Franks

22 years agoRemove references to nonexisting functions.
Matthias Clasen [Mon, 31 Dec 2001 00:05:30 +0000 (00:05 +0000)]
Remove references to nonexisting functions.

        * gtk/tmpl/gtkbbox.sgml: Remove references to nonexisting functions.

        * gtk/tmpl/gtkcolorseldlg.sgml, gtk/tmpl/gtkdrawingarea.sgml,
        gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkhseparator.sgml,
        gtk/tmpl/gtktree.sgml, gtk/tmpl/gtkradiobutton.sgml,
        gtk/tmpl/gtkradiomenuitem.sgml:
        Replace references to deprecated functions.

        * gtk/tmpl/gtkhbbox.sgml,gtk/tmpl/gtkvbbox.sgml: Minor fixes.

22 years agoAdditions.
Matthias Clasen [Sun, 30 Dec 2001 22:56:05 +0000 (22:56 +0000)]
Additions.

        * gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml,
        gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkimcontextsimple.sgml: Additions.

        * gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks.

22 years agoAdd makefile.msc.
Tor Lillqvist [Sat, 29 Dec 2001 10:09:50 +0000 (10:09 +0000)]
Add makefile.msc.

2001-12-29  Tor Lillqvist  <tml@iki.fi>

* Makefile.am (EXTRA_DIST): Add makefile.msc.

22 years agoGDK instead of Gdk.
Matthias Clasen [Sat, 29 Dec 2001 00:24:25 +0000 (00:24 +0000)]
GDK instead of Gdk.

        * gdk-pixbuf/porting-from-imlib.sgml: GDK instead of Gdk.

        * gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml: Replace references to
        deprecated functions.

        * gdk/tmpl/event_structs.sgml, gdk/tmpl/gcs.sgml,
        gdk/tmpl/images.sgml: Replace references to deprecated functions.

        * gdk/tmpl/properties.sgml, gdk/tmpl/selections.sgml: Additions.

        * gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c:
        Minor documentation tweaks.

22 years agoaz:po * updating
Vasif Ismailoglu MD [Fri, 28 Dec 2001 22:06:43 +0000 (22:06 +0000)]
az:po * updating

22 years agoUse G_N_ELEMENTS(). (unicode_classify): Don't return -1 on encountering an
Tor Lillqvist [Fri, 28 Dec 2001 21:52:04 +0000 (21:52 +0000)]
Use G_N_ELEMENTS(). (unicode_classify): Don't return -1 on encountering an

2001-12-28  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkfont-win32.c: Use G_N_ELEMENTS().
(unicode_classify): Don't return -1 on encountering an
unclassified character, but play it safe and return U_BASIC_LATIN.

22 years agoadditional fix for #59314 ('<programlisting>' is changed to '<literal>' in
Vitaly Tishkov [Fri, 28 Dec 2001 15:48:45 +0000 (15:48 +0000)]
additional fix for #59314 ('<programlisting>' is changed to '<literal>' in

2001-12-28 Vitaly Tishkov <tvv@sparc.spb.su>
* gtkwindow.sgml: additional fix for #59314 ('<programlisting>' is
changed to '<literal>' in docs for gtk_window_set_policy ())

22 years agoMake interpretation of misc->xpad/ypad consistent with GtkLabel. Do
Owen Taylor [Thu, 27 Dec 2001 21:42:02 +0000 (21:42 +0000)]
Make interpretation of misc->xpad/ypad consistent with GtkLabel. Do

Thu Dec 27 16:05:30 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation
        of misc->xpad/ypad consistent with GtkLabel. Do
        directional flipping when interpreting misc->xalign/yalign.
        Fix off-by-one error for negative x,y. (#67472, reported
        by Mathieu Lacage)

22 years agoRemove optimization that was causing problems because we called
Owen Taylor [Thu, 27 Dec 2001 20:50:49 +0000 (20:50 +0000)]
Remove optimization that was causing problems because we called

Thu Dec 27 15:45:41 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_set_style_internal):
Remove optimization that was causing problems because
we called gtk_widget_size_request() before we called
gtk_widget_queue_resize() so RESIZE_NEEDED was not
set. Optimization shouldn't mattter now that we
are smart about needlessly size requesting or allocating
widgets. (#67598, reported by Jacob Berkman)

22 years agoCall gdk_window_get_pointer() on menu->bin_window not menu->window, so we
Owen Taylor [Thu, 27 Dec 2001 20:43:58 +0000 (20:43 +0000)]
Call gdk_window_get_pointer() on menu->bin_window not menu->window, so we

Thu Dec 27 15:38:20 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
        Call gdk_window_get_pointer() on menu->bin_window not
        menu->window, so we get the correct window for the
        menu item. (#65213, Guillermo S. Romero)

22 years agoAllow unsetting the title by setting to NULL. Move docs inline. Update the
Owen Taylor [Thu, 27 Dec 2001 20:22:16 +0000 (20:22 +0000)]
Allow unsetting the title by setting to NULL. Move docs inline. Update the

Thu Dec 27 15:13:44 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
the title by setting to NULL. Move docs inline.
Update the title if the tearoff window already
exists. Code cleanup. (Fixes #65190, reported by
Vitaly Tishkov.)

22 years agogtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key
Owen Taylor [Thu, 27 Dec 2001 19:20:23 +0000 (19:20 +0000)]
gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key

Thu Dec 27 14:04:22 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtksocket.c (gtk_socket_key_press_event):
gtk/gtkplug.c (gtk_plug_key_press_event): Don't do
special handling of key presses unless we are doing
iter-app embedding. (Fixes #67590, Anders Carlsson)

22 years agofix a few places where I was confused between modelsort iters and other
Kristian Rietveld [Thu, 27 Dec 2001 15:38:10 +0000 (15:38 +0000)]
fix a few places where I was confused between modelsort iters and other

Thu Dec 27 16:37:04 2001  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted),
        (gtk_tree_model_sort_sort_level),
        (gtk_tree_model_sort_insert_value): fix a few places where
        I was confused between modelsort iters and other iters. This was
        really going to happen someday ;)

22 years agoensure we are unprelighted before reordering
Kristian Rietveld [Wed, 26 Dec 2001 22:43:53 +0000 (22:43 +0000)]
ensure we are unprelighted before reordering

Wed Dec 26 23:41:41 2001  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure
        we are unprelighted before reordering

        * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we
        need to break out of the for loop, not return

        * gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to
        be pretty stable now, though it still needs some more code
        cleanups.

22 years agoDocument the fact that gtk_paned_set_handle_size() has been removed.
Owen Taylor [Wed, 26 Dec 2001 17:38:39 +0000 (17:38 +0000)]
Document the fact that gtk_paned_set_handle_size() has been removed.

Wed Dec 26 12:32:31 2001  Owen Taylor  <otaylor@redhat.com>

* docs/Changes-2.0.txt: Document the fact that
gtk_paned_set_handle_size() has been removed.

* gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro,
since it pointed to gtk_paned_set_handle_size(), which
was removed. (#66760, Matt Wilson)

22 years agoConnect gtk_drag_hightlight_expose _after_, so it works with widgets that
Owen Taylor [Wed, 26 Dec 2001 17:31:40 +0000 (17:31 +0000)]
Connect gtk_drag_hightlight_expose _after_, so it works with widgets that

Wed Dec 26 12:28:24 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_highlight): Connect
        gtk_drag_hightlight_expose _after_, so it works with
        widgets that paint there entire background. (#66735)

22 years agoAssign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)
Owen Taylor [Wed, 26 Dec 2001 17:21:31 +0000 (17:21 +0000)]
Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)

Wed Dec 26 12:17:06 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkplug.c (gtk_plug_size_allocate): Assign the
        allocation to widget->allocation. (Fixes #67290,
        Chris Phelps.)

22 years ago(#67542, reported by Anders Carlsson)
Owen Taylor [Wed, 26 Dec 2001 17:06:13 +0000 (17:06 +0000)]
(#67542, reported by Anders Carlsson)

Wed Dec 26 11:49:01 2001  Owen Taylor  <otaylor@redhat.com>

        (#67542, reported by Anders Carlsson)

        * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
        rc_style->font_desc with defaul style instead of replacing
        it.

        * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
        font descriptions in RC styles by calling
        pango_font_description_merge().

22 years ago\7fupdating Azerbaijani po file
Vasif Ismailoglu MD [Mon, 24 Dec 2001 19:32:43 +0000 (19:32 +0000)]
\7fupdating Azerbaijani po file

\7fupdating Azerbaijani po file

22 years ago1.3.12, interface, binary age 0.
Owen Taylor [Mon, 24 Dec 2001 01:49:19 +0000 (01:49 +0000)]
1.3.12, interface, binary age 0.

Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.12, interface, binary age 0.

22 years agos/<!>/<!-- -->/ to make the doc valid with both SGML and XML.
James Henstridge [Mon, 24 Dec 2001 01:34:29 +0000 (01:34 +0000)]
s/<!>/<!-- -->/ to make the doc valid with both SGML and XML.

2001-12-24  James Henstridge  <james@daa.com.au>

        * gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
        valid with both SGML and XML.

22 years ago1.3.12, interface, binary age 0.
Owen Taylor [Sun, 23 Dec 2001 22:59:30 +0000 (22:59 +0000)]
1.3.12, interface, binary age 0.

Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.12, interface, binary age 0.

        * configure.in: Require new versions of Glib, Pango, ATK.

        * NEWS: Updated.

        * configure.in: Make explicit what libtool we are executing.
        (Tomas Ogren)

        * gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes.

        * gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix
        parameter names for docs.

Sat Dec 22 22:35:29 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_realize)
          gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK.

        * gtk/gtkentry.c (gtk_entry_key_release)
          gtk/gtktextview.c (gtk_text_view_key_release_event): Pass
        key release events to the input method.

        * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
        Handle release of Control/Shift to end hex sequence.

        * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):         Handle key releases as well as presses.

22 years agoFix trailing "," in enumeration.
Owen Taylor [Sun, 23 Dec 2001 22:55:53 +0000 (22:55 +0000)]
Fix trailing "," in enumeration.

Sat Dec 22 15:31:20 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixdata.h: Fix trailing "," in enumeration.

22 years agoAdd gtktextutil.h
Owen Taylor [Sun, 23 Dec 2001 22:55:17 +0000 (22:55 +0000)]
Add gtktextutil.h

Sat Dec 22 18:18:07 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am (IGNORE_HFILES): Add gtktextutil.h

        * gtk/text_widget.sgml (linkend): SGML fixes.

        * gtk/gtk-sections.txt: Update

        * gdk/gdk-sections.txt: Update.

        * gdk/tmpl/cursors.sgml: SGML fix.

        * gdk/gdk-docs.sgml: Add PNG handling magic.

22 years ago*** empty log message ***
Vasif Ismailoglu MD [Sat, 22 Dec 2001 20:14:31 +0000 (20:14 +0000)]
*** empty log message ***

22 years agoroutine update for Azeri translation file
Vasif Ismailoglu MD [Sat, 22 Dec 2001 20:06:39 +0000 (20:06 +0000)]
routine update for Azeri translation file

routine update for Azeri translation file

22 years agoupdated
Marius Andreiana [Sat, 22 Dec 2001 12:04:35 +0000 (12:04 +0000)]
updated

2001-12-22  Marius Andreiana  <mandreiana@yahoo.com>

        * ro.po: updated

22 years agoForgotten files, the log entries are already in.
Matthias Clasen [Thu, 20 Dec 2001 23:45:48 +0000 (23:45 +0000)]
Forgotten files, the log entries are already in.

22 years agoForgotten files.
Matthias Clasen [Thu, 20 Dec 2001 23:44:19 +0000 (23:44 +0000)]
Forgotten files.

22 years agoForgotten log entry.
Matthias Clasen [Thu, 20 Dec 2001 23:42:08 +0000 (23:42 +0000)]
Forgotten log entry.

22 years agoTrivial doc adjustment.
Matthias Clasen [Thu, 20 Dec 2001 23:38:24 +0000 (23:38 +0000)]
Trivial doc adjustment.

22 years agoMore precise documentation about underscores and mnemonics. (#66380)
Matthias Clasen [Thu, 20 Dec 2001 23:09:29 +0000 (23:09 +0000)]
More precise documentation about underscores and mnemonics. (#66380)

        * gtk/gtklabel.c (gtk_label_new_with_mnemonic),
        gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise
        documentation about underscores and mnemonics. (#66380)

        * gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix
        cyclic reference in docs.

        * gtk/gtklabel.c (gtk_label_set_justify): Correct documentation
        of default value. (#65402)

        * gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale):
        Markup fixes.

        * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
        gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
        gdk-pixdata.c: Markup fixes.

        * gtk/text_widget.sgml: More precise wording. (#63388)

        * gtk/tmpl/gtksignal.sgml (GTK_SIGNAL_OFFSET): Add docs.

        * gtk/resources.sgml: Fix markup of mail URLs.

        * gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkobject.sgml: Markup fixes.

        * gtk/tmpl/gtktoolbar.sgml (gtk_toolbar_{prepend,append}_element):
        Expand documentation. (#60471)

        * gtk/tmpl/gtkmain.sgml: Remove misleading information about
        gtk_set_locale().  (#65758)