]> Pileus Git - ~andy/gtk/log
~andy/gtk
21 years agoDon't use .type on Cygwin, either (#91597, Masahiro Sakai).
Tor Lillqvist [Sat, 28 Sep 2002 02:50:58 +0000 (02:50 +0000)]
Don't use .type on Cygwin, either (#91597, Masahiro Sakai).

2002-09-28  Tor Lillqvist  <tml@iki.fi>

* pixops/*.S: Don't use .type on Cygwin, either (#91597, Masahiro
Sakai).

21 years agoMake drawing to the root window work. (#89492)
Matthias Clasen [Fri, 27 Sep 2002 22:57:29 +0000 (22:57 +0000)]
Make drawing to the root window work. (#89492)

* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): Make
drawing to the root window work.  (#89492)

21 years ago(#91249, Thomas Leonard)
Owen Taylor [Fri, 27 Sep 2002 22:54:58 +0000 (22:54 +0000)]
(#91249, Thomas Leonard)

Fri Sep 27 18:14:00 2002  Owen Taylor  <otaylor@redhat.com>
        (#91249, Thomas Leonard)

        * gtk/gtkselection.c (gtk_selection_convert): Initialize
        idle time to 0.

        * gtk/gtkselection.c: Up idle timeout to 5 minutes
        from 5 seconds.

21 years agoPatch from J. Ali Harlow to avoid generating gtk.immodules when
Owen Taylor [Fri, 27 Sep 2002 22:10:55 +0000 (22:10 +0000)]
Patch from J. Ali Harlow to avoid generating gtk.immodules when

Fri Sep 27 17:40:47 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/Makefile.am: Patch from J. Ali Harlow
        to avoid generating gtk.immodules when cross-compiling.
        (#87774)

21 years agoFree the context if we cannot allocate the HeaderBuf.
Federico Mena Quintero [Fri, 27 Sep 2002 22:06:47 +0000 (22:06 +0000)]
Free the context if we cannot allocate the HeaderBuf.

2002-09-27  Federico Mena Quintero  <federico@ximian.com>

* io-ico.c (gdk_pixbuf__ico_image_begin_load): Free the context if
we cannot allocate the HeaderBuf.

21 years agoFix the update region notification to handle top-to-bottom and
Federico Mena Quintero [Fri, 27 Sep 2002 21:37:30 +0000 (21:37 +0000)]
Fix the update region notification to handle top-to-bottom and

2002-09-27  Federico Mena Quintero  <federico@ximian.com>

* io-bmp.c (OneLine): Fix the update region notification to handle
top-to-bottom and bottom-to-top BMPs correctly.

21 years agoMove gdk_keval_name and gdk_keyval_from_name to new gdkkeynames.c, share
Eric Warmenhoven [Fri, 27 Sep 2002 21:36:11 +0000 (21:36 +0000)]
Move gdk_keval_name and gdk_keyval_from_name to new gdkkeynames.c, share

Fri Sep 27 14:30:34 2002 Eric Warmenhoven <eric@warmenhoven.org>

* gdk/Makefile.am gdk/gdkkeynames.c gdk/linux-fb/gdkmain-fb.c
gdk/win32/gdkkeys-win32.c: Move gdk_keval_name and
gdk_keyval_from_name to new gdkkeynames.c, share implementation for
linux-fb and win32 (#94123)

* gdk/linux-fb/Makefile.am gdk/linux-fb/gdkkeyboard-fb.c
gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkmouse-fb.c: add
-DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile
flags

* gdk/linux-fb/gdkdisplay-fb.c: prevent segfault if display can't
initialize

* gdk/linux-fb/gdkkeyboard-fb.c: better parsing of keycodes

* gdk/linux-fb/gdkwindow-fb.c: add stubs for new functions

21 years agoFix some signed/unsigned warnings. (#85863, David L. Cooper II)
Owen Taylor [Fri, 27 Sep 2002 21:26:18 +0000 (21:26 +0000)]
Fix some signed/unsigned warnings. (#85863, David L. Cooper II)

Fri Sep 27 17:23:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
        (#85863, David L. Cooper II)

21 years agori Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Fri, 27 Sep 2002 20:50:44 +0000 (20:50 +0000)]
ri Sep 27 16:23:49 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtklabel.c : Replaced instances where strlen (label->label) is
        used to get a byte code with strlen (label->text) as label->text
        contains the actual display text, while label->label contains
        markup / mnemonics. (#92683, Patch from Shivram U
        <shivaram.upadhyayula@wipro.com>, with some additions.)

        * gtk/gtklabel.c (gtk_label_set_uline_text_internal):
        Fix a leftover, now incorrect comment.

21 years agoHandle the case where the first page isn't visible. (#90336, bug tracked
Owen Taylor [Fri, 27 Sep 2002 20:19:16 +0000 (20:19 +0000)]
Handle the case where the first page isn't visible. (#90336, bug tracked

Fri Sep 27 16:15:11 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtknotebook.c (gtk_notebook_get_event_window_position):
        Handle the case where the first page isn't visible.
        (#90336, bug tracked down by Chema Celorio)

21 years agoChange accelerator from C_ut to Cu_t. (#82747, Paolo Maggi)
Owen Taylor [Fri, 27 Sep 2002 19:59:10 +0000 (19:59 +0000)]
Change accelerator from C_ut to Cu_t. (#82747, Paolo Maggi)

Fri Sep 27 15:57:15 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkstock.c (builtin_items): Change accelerator
        from C_ut to Cu_t. (#82747, Paolo Maggi)

21 years agoReset the animation iter on unrealize as well as unmap. (#94336)
Owen Taylor [Fri, 27 Sep 2002 19:54:51 +0000 (19:54 +0000)]
Reset the animation iter on unrealize as well as unmap. (#94336)

Fri Sep 27 15:27:45 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkimage.c (gtk_image_unrealize): Reset the
        animation iter on unrealize as well as unmap.
        (#94336)

        * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Don't
        turn a value of "" into NULL. (#94157, Vitaly Tishkov)

21 years ago- use gtk_settings_get_for_screen () instead of gtk_settings_get_default
Hidetoshi Tajima [Thu, 26 Sep 2002 22:51:34 +0000 (22:51 +0000)]
- use gtk_settings_get_for_screen () instead of gtk_settings_get_default

      * modules/input/gtkimcontextxim.c:
       - use gtk_settings_get_for_screen () instead of
         gtk_settings_get_default () for multihead
       - connect property-notify signal handlers to respond runtime
         changes of status_style and preedit_style in the settings
       - Some indentation and code cleanup (#59076 - 2nd check-in)

21 years agofix GtkWindowMnemonic to have a separate typedef
Havoc Pennington [Wed, 25 Sep 2002 19:16:46 +0000 (19:16 +0000)]
fix GtkWindowMnemonic to have a separate typedef

2002-09-24  Havoc Pennington  <hp@redhat.com>

* gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate
typedef

* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor
FULLSCREEN state

* tests/testgtk.c (get_state_controls): add
fullscreen/unfullscreen test

* gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable

* gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused
variable

* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused
variable

* gdk/x11/gdkscreen-x11.c
(_gdk_x11_screen_window_manager_changed): emit
window_manager_changed signal

* gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add
window_manager_changed signal

* gdk/x11/gdkevents-x11.c
(gdk_x11_screen_get_window_manager_name): new function

* gtk/gtkwindow.c (gtk_window_class_init): add type_hint,
skip_taskbar_hint, skip_pager_hint properties
(gtk_window_set_skip_taskbar_hint):
(gtk_window_get_skip_taskbar_hint):
(gtk_window_set_skip_pager_hint):
(gtk_window_get_skip_pager_hint):
(gtk_window_fullscreen):
(gtk_window_unfullscreen): new functions

* gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state

* gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint
values

* gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint):
(gdk_window_set_skip_pager_hint):
(gdk_window_fullscreen):
(gdk_window_unfullscreen): new functions
(set_initial_hints): set fullscreen here if appropriate

21 years agoAdd gdk_screen_make_display_name(), which returns a display name that can
Owen Taylor [Wed, 25 Sep 2002 15:07:47 +0000 (15:07 +0000)]
Add gdk_screen_make_display_name(), which returns a display name that can

Wed Sep 25 10:51:24 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/gdkscreen.h gdk/{x11,win32,linux-fb}/gdkscreen-*.c:
        Add gdk_screen_make_display_name(), which returns a
        display name that can be used to open a display with the
        screen as the default (Based on patch from Mark McLoughlin,
        #86013)

21 years agoPatch from Eric Warmenhoven, #94123
Owen Taylor [Wed, 25 Sep 2002 12:58:36 +0000 (12:58 +0000)]
Patch from Eric Warmenhoven, #94123

Wed Sep 25 08:50:40 2002  Owen Taylor  <otaylor@redhat.com>

        Patch from Eric Warmenhoven, #94123

        * gdk/gdkmouse-fb.c: Add scrolling support for
        imps2 mice.

        * gdk/linux-fb/gdkimage-fb.c: Fix compilation error
        in last gdkimage-fb.c commit.

21 years agoadd -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile
Manish Singh [Wed, 25 Sep 2002 07:23:55 +0000 (07:23 +0000)]
add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile

Wed Sep 25 00:16:53 2002  Manish Singh  <yosh@gimp.org>

        * gdk/Makefile.am gdk/x11/Makefile.am: add -DG_DISABLE_DEPRECATED
        and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags

        * gdk/gdkcolor.c gdk/gdkdisplay.c gdk/gdkdraw.c gdk/gdkevents.c
        gdk/gdkgc.c gdk/gdkimage.c gdk/gdkpango.c gdk/gdkpixbuf-render.c
        gdk/gdkpixmap.c gdk/gdkrgb.c gdk/gdkwindow.c gdk/linux-fb/gdkdnd-fb.c
        gdk/linux-fb/gdkfont-fb.c gdk/win32/gdkdnd-win32.c
        gdk/win32/gdkfont-win32.c gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c
        gdk/x11/gdkdrawable-x11.c gdk/x11/gdkevents-x11.c gdk/x11/gdkfont-x11.c
        gdk/x11/gdkgc-x11.c gdk/x11/gdkgeometry-x11.c gdk/x11/gdkim-x11.c
        gdk/x11/gdkinput-x11.c gdk/x11/gdkkeys-x11.c gdk/x11/gdkscreen-x11.c
        gdk/x11/gdkwindow-x11.c: Deprecation cleanup, mostly changing
        gdk_foo_{ref,unref} to g_object equivalents.

21 years agocheck if last_selected is valid before doing a strcmp on it, which may
Manish Singh [Wed, 25 Sep 2002 06:54:58 +0000 (06:54 +0000)]
check if last_selected is valid before doing a strcmp on it, which may

Tue Sep 24 23:54:20 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkfilesel.c: check if last_selected is valid before doing
        a strcmp on it, which may happen if selections happen programmatically
        instead of through the UI (#86566)

21 years agopreserve ordering from gtk_tree_selection_foreach when returning filenames
Manish Singh [Wed, 25 Sep 2002 06:34:33 +0000 (06:34 +0000)]
preserve ordering from gtk_tree_selection_foreach when returning filenames

Tue Sep 24 23:33:48 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkfilesel.c: preserve ordering from gtk_tree_selection_foreach
        when returning filenames for gtk_file_selection_get_selections
        (#86567)

        * gtk/gtkclipboard.c: GtkClipboard struct should have a GObject
        in it, not a GObjectClass

21 years agoMake a GObject (#75970, James Henstridge)
Owen Taylor [Tue, 24 Sep 2002 23:59:32 +0000 (23:59 +0000)]
Make a GObject (#75970, James Henstridge)

Tue Sep 24 18:18:36 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkclipboard.[ch]: Make a GObject (#75970, James
        Henstridge)

21 years agoLook up the visual as well as the colormap, since calling
Owen Taylor [Tue, 24 Sep 2002 23:54:12 +0000 (23:54 +0000)]
Look up the visual as well as the colormap, since calling

Tue Sep 24 19:45:55 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap):
        Look up the visual as well as the colormap, since calling
        gdk_drawable_get_visual() causes infinite recursion.

        * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init):
        Set the colormap for the root window.

21 years ago disable/enable preedit/status in GtkIMContextXIM (#59076)
Hidetoshi Tajima [Tue, 24 Sep 2002 22:55:41 +0000 (22:55 +0000)]
disable/enable preedit/status in GtkIMContextXIM (#59076)

* gnome-settings-xsettings.c: added two new xsettings
for GTK+ input method preedit and status styles.

With the other patch for gtk+, the preedit and status styles of
GTK+ input method are configurable with associated gconf schemas
keys:
"/desktop/gnome/interface/gtk-im-preedit-style"
"/desktop/gnome/interface/gtk-im-status-style"

Both are set to "callback" by default, and platform's
packging can have different default by changing
libgnome's desktop_gnome_interface.schemas.

21 years agoReplace leftover gdkx_visual_get_for_screen () by
Matthias Clasen [Tue, 24 Sep 2002 22:09:46 +0000 (22:09 +0000)]
Replace leftover gdkx_visual_get_for_screen () by

* gdk/x11/gdkvisual-x11.c (gdkx_visual_get): Replace leftover
gdkx_visual_get_for_screen () by gdk_x11_screen_lookup_visual().

21 years agoAdd a missing ; to make things compile.
Matthias Clasen [Tue, 24 Sep 2002 21:59:54 +0000 (21:59 +0000)]
Add a missing ; to make things compile.

* gtk/gtkaccelgroup.h: Add a missing ; to make things compile.

21 years agoReplace leftover gdk_colormap_lookup () by gdk_x11_colormap_foreign_new ()
Matthias Clasen [Tue, 24 Sep 2002 21:58:09 +0000 (21:58 +0000)]
Replace leftover gdk_colormap_lookup () by gdk_x11_colormap_foreign_new ()

* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap):
Replace leftover gdk_colormap_lookup () by
gdk_x11_colormap_foreign_new () to make the linker happy.

21 years agoAdd a GtkAccelGroupFindFunc to clean up the prototype. (#76670, Vitaly
Owen Taylor [Tue, 24 Sep 2002 21:54:15 +0000 (21:54 +0000)]
Add a GtkAccelGroupFindFunc to clean up the prototype. (#76670, Vitaly

Tue Sep 24 17:49:52 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkaccelgroup.[ch] (gtk_accel_group_find):
        Add a GtkAccelGroupFindFunc to clean up the
        prototype. (#76670, Vitaly Tishkov)

        * gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
        gdkx_visual_get_for_screen() to
        gdk_x11_screen_lookup_visual(). (#85702)

21 years agoMerge from gtk-2-0:
Tor Lillqvist [Tue, 24 Sep 2002 21:53:19 +0000 (21:53 +0000)]
Merge from gtk-2-0:

2002-09-25  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_event_translate):
WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
order to be able to handle it normally in the application. Set
ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
way we can generate GDK events also for Alt-Fn keys, for instance.

21 years agoAdd a missing ; to make things compile.
Matthias Clasen [Tue, 24 Sep 2002 21:31:22 +0000 (21:31 +0000)]
Add a missing ; to make things compile.

* gdk/x11/gdkx.h: Add a missing ; to make things compile.

21 years agoMake icon sizes configurable (#70648, slightly based on a patch from Bill
Owen Taylor [Tue, 24 Sep 2002 21:03:58 +0000 (21:03 +0000)]
Make icon sizes configurable (#70648, slightly based on a patch from Bill

Tue Sep 24 16:40:14 2002  Owen Taylor  <otaylor@redhat.com>

Make icon sizes configurable (#70648, slightly based
on a patch from Bill Haneman, Brian Cameron)

* gtk/gtkiconfactory.[ch]: Add
gtk_icon_size_lookup_for_settings().

* gtk/gtksettings.c: Add gtk-icon-sizes XSETTING

* gtk/gtkiconfactory.c: Make icon sizes per-GtkSettings.

* gtk/gtkstyle.c: Use gtk_icon_size_lookup_for_settings()

* gtk/gtkrc.[ch]: Privately export _gtk_rc_reset_styles()
to force all the widgets to recompute their appearance.

21 years agoDoc twiddle
Owen Taylor [Tue, 24 Sep 2002 20:37:20 +0000 (20:37 +0000)]
Doc twiddle

21 years agogdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c Add bounds-checking
Owen Taylor [Tue, 24 Sep 2002 20:29:28 +0000 (20:29 +0000)]
gdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c Add bounds-checking

Tue Sep 24 16:24:22 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c
        * gdk/linux-fb/gdkimage-fb.c (gdk_image_put/get_pixel):
        Add bounds-checking g_return_if_fail(). (Olexiy Avramchenko)

21 years agoDelete unused private gdk_visual_lookup(), make gdk_colormap_lookup()
Owen Taylor [Tue, 24 Sep 2002 20:20:08 +0000 (20:20 +0000)]
Delete unused private gdk_visual_lookup(), make gdk_colormap_lookup()

Tue Sep 24 16:04:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gdkprivate-x11.h gdkcolor-x11.c gdkvisual-x11.c
        gdkwindow-x11.c: Delete unused private gdk_visual_lookup(),
        make gdk_colormap_lookup() private gdkcolor-x11.c.
        make gdk_window_add_colormap_windows private to gdkwindow-x11.c
        (#85674)

        * gdk/x11/gdkx.h gdk/x11/gdkcolor-x11.c
        gdkscreen-x11.h: Add gdk_x11_colormap_foreign_new(),
        GDK_ENABLE_BROKEN gdkx_colormap_get(), make the
        colormap hash per-screen. (#85697)

        * gdk/x11/gdkxid.c (gdk_xid_table_lookup_for_display):
        Remove a bit of unecessary code.

21 years agoFixed bug #93072 by Juan Manuel García Molina <juanma_gm@wanadoo.es>.
German Poo Caaman~o [Tue, 24 Sep 2002 16:11:20 +0000 (16:11 +0000)]
Fixed bug #93072 by Juan Manuel García Molina <juanma_gm@wanadoo.es>.

2002-09-24  German Poo Caaman~o <gpoo@ubiobio.cl>

* es.po: Fixed bug #93072 by Juan Manuel García Molina
<juanma_gm@wanadoo.es>.

21 years agoRemove the check for editable. (Reported by Brent Fox)
Owen Taylor [Tue, 24 Sep 2002 10:39:23 +0000 (10:39 +0000)]
Remove the check for editable. (Reported by Brent Fox)

Thu Aug  8 16:58:22 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkspinbutton.c (gtk_spin_button_real_change_value):
        Remove the check for editable. (Reported by Brent Fox)

21 years agoHonor GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
Owen Taylor [Tue, 24 Sep 2002 10:22:45 +0000 (10:22 +0000)]
Honor GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)

Tue Sep 24 06:17:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkeventbox.c (gtk_event_box_paint): Honor
        GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)

21 years agoChange the window parameter for
Owen Taylor [Tue, 24 Sep 2002 09:53:25 +0000 (09:53 +0000)]
Change the window parameter for

Tue Sep 24 05:26:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c
        gdk/x11/gdkevents-x11.c  gdk/win32/gdkevents-win32.c:
        Change the window parameter for
        gdk_event_send_client_message[_for_display] from guint32
        to GdkNativeWindow. (#79979)

21 years agoFix up a bit to look for the loaders in the right place. (#93011, Dennis
Owen Taylor [Tue, 24 Sep 2002 09:21:48 +0000 (09:21 +0000)]
Fix up a bit to look for the loaders in the right place. (#93011, Dennis

Tue Sep 24 05:16:25 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk+.spec.in: Fix up a bit to look for the loaders
        in the right place. (#93011, Dennis Dementiev)

21 years agoFixes to GtkIMContextSimple compose table for us-intl keyboards (Red Hat
Owen Taylor [Tue, 24 Sep 2002 09:14:09 +0000 (09:14 +0000)]
Fixes to GtkIMContextSimple compose table for us-intl keyboards (Red Hat

Tue Sep 24 05:12:14 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimcontextsimple.c: Fixes to GtkIMContextSimple
        compose table for us-intl keyboards (Red Hat bugzilla
        #70995, Alexandre Oliva)

21 years agoChain up so that entry->activates_default is honored. (#93865, Pieter
Owen Taylor [Tue, 24 Sep 2002 08:57:57 +0000 (08:57 +0000)]
Chain up so that entry->activates_default is honored. (#93865, Pieter

Tue Sep 24 04:50:28 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkspinbutton.c (gtk_spin_button_activate):
        Chain up so that entry->activates_default is honored.
        (#93865, Pieter Penninckx)

21 years agocpp macros aren't ``;'' terminated
Jacob Berkman [Tue, 24 Sep 2002 02:52:40 +0000 (02:52 +0000)]
cpp macros aren't ``;'' terminated

2002-09-23  Jacob Berkman  <jacob@ximian.com>

* gtk/gtkprogress.c (DEFAULT_FORMAT): cpp macros aren't ``;''
terminated

21 years agoPrivatize gtk_selection_request, gtk_selection_incr_event
Owen Taylor [Mon, 23 Sep 2002 23:59:23 +0000 (23:59 +0000)]
Privatize gtk_selection_request, gtk_selection_incr_event

Mon Sep 23 19:49:11 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkselection.[ch] gtk/gtkwidget.c gtk/gtkmain.c:
        Privatize gtk_selection_request, gtk_selection_incr_event
        gtk_selection_notify, gtk_selection_property_notify.
        Add doc note about future deprecation of gtk_selection_clear()
        which. (#85683)

        * gtk/gtkoldeditable.c (gtk_old_editable_selection_clear):
        Chain up, rather than calling gtk_selection_clear().

21 years agoAdd missing bug # reference
Owen Taylor [Mon, 23 Sep 2002 22:58:36 +0000 (22:58 +0000)]
Add missing bug # reference

21 years agoRestore back to the default format instead of an empty format.
Owen Taylor [Mon, 23 Sep 2002 22:57:13 +0000 (22:57 +0000)]
Restore back to the default format instead of an empty format.

Mon Sep 23 18:53:35 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkprogressbar.c (gtk_progress_bar_set_text):
        Restore back to the default format instead of an
        empty format.

        * gtk/gtkprogress.c (gtk_progress_set_format_string):
        Make NULL restore back to the default format.

21 years agoAllow accel_path == NULL. (#84241, James Henstridge.)
Owen Taylor [Mon, 23 Sep 2002 22:46:28 +0000 (22:46 +0000)]
Allow accel_path == NULL. (#84241, James Henstridge.)

Mon Sep 23 18:45:46 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path):
        Allow accel_path == NULL. (#84241, James Henstridge.)

21 years agoi Add gtk_notebook_get_n_pages (#73229, Havoc Pennington)
Owen Taylor [Mon, 23 Sep 2002 22:05:41 +0000 (22:05 +0000)]
i Add gtk_notebook_get_n_pages (#73229, Havoc Pennington)

Mon Sep 23 18:01:52 2002  Owen Taylor  <otaylor@redhat.com>
i
        * gtk/gtknotebook.[ch]: Add gtk_notebook_get_n_pages
        (#73229, Havoc Pennington)

        * gtk/gtknotebook.c (gtk_notebook_get_nth_page): Handle
        -1 to mean the last page, as we do elsewhere. (#73229)

21 years agoMake gtk_menu_shell_select_first() public. (#70374)
Owen Taylor [Mon, 23 Sep 2002 21:53:20 +0000 (21:53 +0000)]
Make gtk_menu_shell_select_first() public. (#70374)

Mon Sep 23 17:50:23 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenushell.[ch] gtk/gtkentry.c gtk/gtkmenubar.c
        gtk/gtkmenuitem.c gtk/gtktextview.c: Make
        gtk_menu_shell_select_first() public. (#70374)

21 years agoAdd a keys_changed signal emitted when the keymap changes. (#72148)
Owen Taylor [Mon, 23 Sep 2002 21:35:00 +0000 (21:35 +0000)]
Add a keys_changed signal emitted when the keymap changes. (#72148)

Mon Sep 23 16:48:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkkeys.[ch] gdk/x11/gdkkeys-x11.c gdk/x11/gdkevents-x11.c:
        Add a keys_changed signal emitted when the keymap changes.
        (#72148)

        * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry):
        Hook up code to handle keymap changes, change to keep
        a linked list of keymap entries so that we can reinsert
        them in the same order on a keymap change.

21 years agoUse 'signed int' not 'gint' for signed bitfields. (#93020, Vitaly Tishkov)
Owen Taylor [Mon, 23 Sep 2002 19:20:48 +0000 (19:20 +0000)]
Use 'signed int' not 'gint' for signed bitfields. (#93020, Vitaly Tishkov)

Mon Sep 23 14:58:04 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkhandlebox.h gtk/gtktextbtree.[ch]:
        Use 'signed int' not 'gint' for signed bitfields.
        (#93020, Vitaly Tishkov)

        * gtk/gtktextlayout.h gtk/gtktextbtree.[ch]:
        Fix some 'gint' bitfields that should have been
        unsigned.

21 years agoFix incorrect usage of gdk_get_default_root_window ()). (#92767)
Owen Taylor [Mon, 23 Sep 2002 16:27:12 +0000 (16:27 +0000)]
Fix incorrect usage of gdk_get_default_root_window ()). (#92767)

Mon Sep 23 12:24:14 2002  Owen Taylor  <otaylor@redhat.com>
        * modules/input/gtkimcontextxim.c (status_window_get):
        Fix incorrect usage of gdk_get_default_root_window ()).
        (#92767)

21 years agoPatch from Joshua N Pritikin to fix problem where signal connection wasn't
Owen Taylor [Mon, 23 Sep 2002 16:14:15 +0000 (16:14 +0000)]
Patch from Joshua N Pritikin to fix problem where signal connection wasn't

Mon Sep 23 12:12:48 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkspinbutton.c: Patch from Joshua N Pritikin to
        fix problem where signal connection wasn't removed
        from adjustment on finalize. (#93962)

21 years agoPatch from Eric Warmenhoven to with miscellaneous linux-fb fixes,
Owen Taylor [Sun, 22 Sep 2002 22:32:05 +0000 (22:32 +0000)]
Patch from Eric Warmenhoven to with miscellaneous linux-fb fixes,

Sun Sep 22 18:22:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/linux-fb/{gdkinput.c,gdkkeyboard-fb.c,gdk/linux-fb/gdkmain-fb.c,
        gdk/linux-fb/gdkprivate-fb.h, gdk/linux-fb/gdkwindow-fb.c}:
        Patch from Eric Warmenhoven to with miscellaneous linux-fb
        fixes, including a fix for a crash in
        gdk_keymap_get_entries_for_keycode (#87420)

21 years agoMark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383)
Matthias Clasen [Sat, 21 Sep 2002 23:26:14 +0000 (23:26 +0000)]
Mark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383)

* gdk/gdkdraw.c (gdk_drawable_get_type):
* gdk/gdkgc.c (gdk_gc_get_type):
* gtk/gtkmenushell.c (gtk_menu_shell_get_type):
* gtk/gtkimcontext.c (gtk_im_context_get_type):
* gtk/gtkprogress.c (gtk_progress_get_type):
* gtk/gtkoldeditable.c (gtk_old_editable_get_type):
* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_type):
* gtk/gtkwidget.c (gtk_widget_get_type):
* gtk/gtkseparator.c (gtk_separator_get_type):
* gtk/gtkscrollbar.c (gtk_scrollbar_get_type):
* gtk/gtkscale.c (gtk_scale_get_type):
* gtk/gtkrange.c (gtk_range_get_type):
* gtk/gtkpaned.c (gtk_paned_get_type):
* gtk/gtkmisc.c (gtk_misc_get_type):
* gtk/gtkitem.c (gtk_item_get_type):
* gtk/gtkcontainer.c (gtk_container_get_type):
* gtk/gtkbbox.c (gtk_button_box_get_type):
* gtk/gtkbox.c (gtk_box_get_type):
* gtk/gtkbin.c (gtk_bin_get_type):
* gtk/gtkobject.c (gtk_object_get_type): Mark abstract types as
G_TYPE_FLAG_ABSTRACT.  (#72383)

21 years agoCopy from X11 backend. The old version mishandled consecutive newlines.
Tor Lillqvist [Sat, 21 Sep 2002 12:59:31 +0000 (12:59 +0000)]
Copy from X11 backend. The old version mishandled consecutive newlines.

2002-09-21  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkselection-win32.c (sanitize_utf8): Copy from X11
backend. The old version mishandled consecutive newlines.

* tests/testgtkrc: Remove obsolete mention of gtk-engines and
Pixmap theme engine on Win32.

21 years agoSet the IM context client window to NULL, not to the window that is about
Owen Taylor [Fri, 20 Sep 2002 22:06:28 +0000 (22:06 +0000)]
Set the IM context client window to NULL, not to the window that is about

Fri Sep 20 18:01:26 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
        context client  window to NULL, not to the window that
        is about to be destroyed. (#88231)

21 years agoFri Sep 20 16:56:54 2002 Owen Taylor <otaylor@redhat.com> ...
Owen Taylor [Fri, 20 Sep 2002 21:03:43 +0000 (21:03 +0000)]
Fri Sep 20 16:56:54 2002  Owen Taylor  <otaylor@redhat.com>                                                                                                             * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings):                                Return TRUE if force_load was specified. (#93738,                               Vitaly Tishkov.)

21 years agoOn Win32, look explicitly for LANG, LC_ALL and LC_CTYPE, and if not found,
Tor Lillqvist [Thu, 19 Sep 2002 23:29:30 +0000 (23:29 +0000)]
On Win32, look explicitly for LANG, LC_ALL and LC_CTYPE, and if not found,

2002-09-20  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkmain.c (gtk_get_default_language): On Win32, look
explicitly for LANG, LC_ALL and LC_CTYPE, and if not found, use
g_win32_getlocale(). The setlocale() in msvcrt.dll would return a
locale name in the form Swedish_Finland for sv_FI.

21 years agoDelete leftover declarations of the obsolete Win32-only functions
Tor Lillqvist [Thu, 19 Sep 2002 23:27:10 +0000 (23:27 +0000)]
Delete leftover declarations of the obsolete Win32-only functions

2002-09-20  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkfont.h: Delete leftover declarations of the obsolete
Win32-only functions gdk_font_full_name_get() and
gdk_font_full_name_free().

* gdk/gdk.def: Delete from here, too.

* gdk/win32/gdkfont-win32.c (logfont_to_xlfd,
gdk_font_full_name_get, gdk_font_full_name_free): Delete
implementation, and helper functions.

(pattern_match, InnerEnumFontFamExProc, EnumFontFamExProc,
gdk_font_list_new, gdk_font_list_free): Delete unused functions.

(gdk_text_width, gdk_text_width_wc) Instead of code duplication,
let gdk_text_extents() and gdk_text_extents_wc() do the job.

* gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values):
Don't use the above removed functions in debugging output.

* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkmain-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkselection-win32.c
* gdk/win32/gdkinput-win32.h
* gdk/win32/gdkinput.c: Make it compile again, pass a GdkDisplay in
a couple of places.

21 years agoRemove the _-prefix from gdk_pixbuf_set_option and
Matthias Clasen [Thu, 19 Sep 2002 21:00:52 +0000 (21:00 +0000)]
Remove the _-prefix from gdk_pixbuf_set_option and
gdk_pixbuf_non_anim_new again.

21 years agoFix usage of compat GTK_TYPE_ macros without including gtkobject.h.
Owen Taylor [Thu, 19 Sep 2002 20:52:42 +0000 (20:52 +0000)]
Fix usage of compat GTK_TYPE_ macros without including gtkobject.h.

Thu Sep 19 16:39:29 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtksettings.h (GTK_SETTINGS_GET_CLASS): Fix
        usage of compat GTK_TYPE_ macros without including
        gtkobject.h.

        * gdk/x11/gdkevents-x11.[ch]: Set a flag when initializing
        to avoid having extra settings-notify events sent
        when not needed.

21 years ago_-prefix gdk_pixbuf_non_anim_new and gdk_pixbuf_set_option. Adjust all
Matthias Clasen [Tue, 17 Sep 2002 22:52:44 +0000 (22:52 +0000)]
_-prefix gdk_pixbuf_non_anim_new and gdk_pixbuf_set_option. Adjust all

* io-xpm.c, io-xbm.c, io-ico.c, io-ani.c, io-png.c,
gdk-pixbuf.c, gdk-pixbuf-animation.c, gdk-pixbuf-loader.c,
gdk-pixbuf-private.h: _-prefix gdk_pixbuf_non_anim_new and
gdk_pixbuf_set_option. Adjust all callers.

21 years agoStockify color picker icon. (#89880)
Matthias Clasen [Mon, 16 Sep 2002 22:52:22 +0000 (22:52 +0000)]
Stockify color picker icon. (#89880)

* gtk/stock-icons/stock_color_picker_25.png:
* gtk/stock-icons/Makefile.am (VARIABLES1):
* gtk/gtkstock.h (GTK_STOCK_COLOR_PICKER):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkcolorsel.c (gtk_color_selection_init): Stockify color
picker icon.   (#89880)

21 years agoAdd the one missing example from the tutorial, colorsel, to source control.
Matthias Clasen [Mon, 16 Sep 2002 22:03:32 +0000 (22:03 +0000)]
Add the one missing example from the tutorial, colorsel, to source control.

21 years agofixed my latest change.
Sven Neumann [Sat, 14 Sep 2002 17:10:49 +0000 (17:10 +0000)]
fixed my latest change.

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

* gdk/gdkpixbuf-drawable.c: fixed my latest change.

21 years agoadded makefile.msc to EXTRA_DIST
Hans Breuer [Sat, 14 Sep 2002 10:50:03 +0000 (10:50 +0000)]
added makefile.msc to EXTRA_DIST

2002-09-14  Hans Breuer  <hans@breuer.org>

* pixops/Makefile.am : added makefile.msc to EXTRA_DIST

21 years agouse the most significant bits of the GdkColor components (#89703).
Sven Neumann [Fri, 13 Sep 2002 16:11:50 +0000 (16:11 +0000)]
use the most significant bits of the GdkColor components (#89703).

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

* gdk/gdkpixbuf-drawable.c: use the most significant bits of the
GdkColor components (#89703).

21 years agoMove GdkPixbufFrame from the public header to the gif-animation-specific
Matthias Clasen [Thu, 12 Sep 2002 21:42:10 +0000 (21:42 +0000)]
Move GdkPixbufFrame from the public header to the gif-animation-specific

* io-gif-animation.h:
* gdk-pixbuf.h: Move GdkPixbufFrame from the public header to
the gif-animation-specific private header.  (#91929)

21 years agoUnref the pixbuf if we hit an unsupported colorspace.
Federico Mena Quintero [Thu, 12 Sep 2002 20:05:28 +0000 (20:05 +0000)]
Unref the pixbuf if we hit an unsupported colorspace.

2002-09-12  Federico Mena Quintero  <federico@ximian.com>

* io-jpeg.c (gdk_pixbuf__jpeg_image_load): Unref the pixbuf if we
hit an unsupported colorspace.

21 years agoMerge from gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 21:55:48 +0000 (21:55 +0000)]
Merge from gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-2-0:

* gdk/win32/gdkkeys-win32.c (print_keysym_tab): Factor out
debugging output to new function.

21 years agoMerge from gtk-1-3-win32-production and gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 21:51:59 +0000 (21:51 +0000)]
Merge from gtk-1-3-win32-production and gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-1-3-win32-production and gtk-2-0:

* gdk/win32/gdkinput-win32.c (gdk_input_init): Use
GetSystemMetrics (SM_C[XY]SCREEN) instead of
gdk_screen_{width,height}().

* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Don't
use return value from GlobalSize() as length of string when
calling MultiByteToWideChar(). Pass -1 instead (zero-terminated
string). Thanks to Iwasa Kazmi.

21 years agoUse correct function name in warning messages.
Tor Lillqvist [Wed, 11 Sep 2002 21:23:44 +0000 (21:23 +0000)]
Use correct function name in warning messages.

2002-09-12  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Use correct
function name in warning messages.

21 years agoMerge from gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 21:20:11 +0000 (21:20 +0000)]
Merge from gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-2-0:

* gdk/win32/gdkgeometry-win32.c: Add GDK_NOTE debugging output
to some functions, related to moving and resizing and expose
and antiexpose queue processing. Use %p to output HWNDs.

Tentative fix for #79720 based on code by Florent Duguet:

* gdk/win32/gdkgeometry-win32 (gdk_window_queue_append): New
static function. Checks length of translate_queue, calls
_gdk_window_process_expose() if length is >= 128. Then appends
to translate_queue.
(gdk_window_queue_translation,_gdk_windowing_window_queue_antiexpose):
Call gdk_window_queue_append().

21 years agoMerge from gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 20:59:04 +0000 (20:59 +0000)]
Merge from gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-2-0:

* gdk/win32/gdkevents-win32.c: Some spacing and indentation cleanup.

* gdk/win32/gdkevents-win32.c (_gdk_events_init): Search if the
system has some input locale identifier that uses a Latin
keyboard. This is needed to be able to get the virtual-key code
for the latin characters corresponding to ASCII control
characters. If no such keyboard is present, try to load one
then. Will this upset users with no wish to ever use a Latin-based
keyboard layout?

(vk_from_char): Convert all ASCII control chars to the
corresponding uppercase char before calling VkKeyScanEx(). Idea by
Florent Duguet. Makes Control-C work again. To make it hopefully
work like I think it should on non-Latin keyboards, too, use
latin_locale when looking for the corresponding keycode.

Fix for #81831 by Tim Evans:

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't call
_gdk_event_button_generate() here, it would append the double- or
triple-click events too early, before the single-click event.

(real_window_procedure): If we got a single-click event, call
_gdk_event_button_generate() to perhaps append the double- or
triple-click event after that.

Merge from gtk-1-3-win32-production branch:

* gdk/win32/gdkevents-win32.c (propagate): Check for parent being
NULL before trying to propagate to it, and return FALSE in that
case. (If parent is NULL, we are handling gdk_parent_root, and
probably should have noticed that and bailed out earlier. But
better late than never.)

21 years agoMerge from gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 20:51:05 +0000 (20:51 +0000)]
Merge from gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-2-0:

* gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
render_line_vertical): Some spacing cleanup. Return TRUE.

21 years agoMake GtkTreeRowReference a boxed type.
Jonathan Blandford [Wed, 11 Sep 2002 19:52:31 +0000 (19:52 +0000)]
Make GtkTreeRowReference a boxed type.

Wed Sep 11 15:48:38 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.c (gtk_tree_row_reference_get_type): Make
GtkTreeRowReference a boxed type.

* gtk/gtkliststore.c (gtk_list_store_finalize): free the root
list.

* gtk/gtktreestore.c (gtk_tree_store_finalize): free the root
nodes.

21 years agoDraw radio buttons more symmetric. Draw shadow out bevels slightly
Soeren Sandmann [Wed, 11 Sep 2002 10:40:57 +0000 (10:40 +0000)]
Draw radio buttons more symmetric. Draw shadow out bevels slightly

Wed Sep 11 12:33:34 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkstyle.c: Draw radio buttons more symmetric. Draw shadow
out bevels slightly different. Fix drawing of top right corner of
etched in shadows.

21 years agomodify a warning when XSetLocaleModifiers() fails, and add a warning when
Hidetoshi Tajima [Tue, 10 Sep 2002 16:49:44 +0000 (16:49 +0000)]
modify a warning when XSetLocaleModifiers() fails, and add a warning when

* modules/input/gtkimcontextxim.c
(get_im): modify a warning when XSetLocaleModifiers() fails, and
add a warning when XOpenIM() fails
(gtk_im_context_xim_filter_keypress): use XLookupString when xic
is not available. (#90661)
(gtk_im_context_xim_get_ic, gtk_im_with_preedit,
gtk_im_without_preeedit): filter key release events only when
input methods ask for (#81759)

21 years agoPatch from Eric Warmonhoven to get linux-fb compiling with multihead
Owen Taylor [Tue, 10 Sep 2002 15:19:13 +0000 (15:19 +0000)]
Patch from Eric Warmonhoven to get linux-fb compiling with multihead

Tue Sep 10 11:11:09 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/linux-fb/*: Patch from Eric Warmonhoven to
        get linux-fb compiling with multihead changes.

21 years agoTake focus mode into account when tracking FocusIn/Out events, so we don't
Owen Taylor [Tue, 10 Sep 2002 13:45:18 +0000 (13:45 +0000)]
Take focus mode into account when tracking FocusIn/Out events, so we don't

Tue Sep 10 09:29:00 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Take
        focus mode into account when tracking FocusIn/Out events,
        so we don't get confused by focus changes while a
        keyboard grab is in effect. (Probably fixes #90563)

21 years ago"Translate" "default:LTR" correctly. ..doh..
Yanko Kaneti [Mon, 9 Sep 2002 23:59:44 +0000 (23:59 +0000)]
"Translate" "default:LTR" correctly. ..doh..

2002-09-09  Yanko Kaneti <yaneti@declera.com>

   * bg.po: "Translate" "default:LTR" correctly. ..doh..

21 years agoIf the end iter is also a part of the selection, then we are in the
Shivram U [Mon, 9 Sep 2002 10:32:58 +0000 (10:32 +0000)]
If the end iter is also a part of the selection, then we are in the

Mon Sep  9 16:16:25 2002  Shivram U  <shivaram.upadhyayula@wipro.com>

* gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
is also a part of the selection, then we are in the selection.
(#92768)

21 years agoAdd AM_CONDITIONAL calls also in the non-x11 branch. Otherwise we get
Tor Lillqvist [Sun, 8 Sep 2002 07:46:15 +0000 (07:46 +0000)]
Add AM_CONDITIONAL calls also in the non-x11 branch. Otherwise we get

2002-09-08  Tor Lillqvist  <tml@iki.fi>

* configure.in: Add AM_CONDITIONAL calls also in the non-x11
branch. Otherwise we get "conditional \"$1\" was never defined.
Usually this means the macro was only invoked conditionally."
errors when running configure if using automake 1.6a. Yeah, I know
that autogen.sh says to use automake 1.4, but on Win32 I more or
less have to use the bleeding edge. I think.

Fix an earlier ChangeLog entry to include the file name:

2002-08-31  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkfilesel.c: Include <sys/cygwin.h on Cygwin, for

21 years agocall gtk_widget_ensure_style() before reading "button_relief". Fixes
Soeren Sandmann [Sat, 7 Sep 2002 20:44:26 +0000 (20:44 +0000)]
call gtk_widget_ensure_style() before reading "button_relief". Fixes

Sat Sep  7 21:24:55 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (get_button_relief): call
gtk_widget_ensure_style() before reading "button_relief". Fixes
(#92741).

21 years agoUpdate ChangeLog credits
Owen Taylor [Sat, 7 Sep 2002 00:38:31 +0000 (00:38 +0000)]
Update ChangeLog credits

21 years agoAccount for the possibility of detail == NULL (#89561, Hongli Lai)
Owen Taylor [Sat, 7 Sep 2002 00:35:57 +0000 (00:35 +0000)]
Account for the possibility of detail == NULL (#89561, Hongli Lai)

Fri Sep  6 20:32:45 2002  Owen Taylor  <otaylor@redhat.com>

* pixbuf-draw.c: Account for the possibility of detail == NULL
(#89561, Hongli Lai)

21 years agoAdd ani to all_loaders.
Matthias Clasen [Fri, 6 Sep 2002 21:18:23 +0000 (21:18 +0000)]
Add ani to all_loaders.

* configure.in: Add ani to all_loaders.

21 years ago*** empty log message ***
Matthias Clasen [Fri, 6 Sep 2002 21:14:33 +0000 (21:14 +0000)]
*** empty log message ***

21 years agoNew loader, for .ANI animations.
Matthias Clasen [Fri, 6 Sep 2002 21:14:15 +0000 (21:14 +0000)]
New loader, for .ANI animations.

* io-ani.c, io-ani-animation.h, io-ani-animation.c,
pixbufloader_ani.def, Makefile.am, gdk-pixbuf-io.c: New loader,
for .ANI animations.

21 years agoAttach hotspot coordinates to the pixbuf as options "x_hot" and "y_hot".
Matthias Clasen [Fri, 6 Sep 2002 21:09:49 +0000 (21:09 +0000)]
Attach hotspot coordinates to the pixbuf as options "x_hot" and "y_hot".

* io-xpm.c (pixbuf_create_from_xpm):
* io-xbm.c (gdk_pixbuf__xbm_image_load_real):
* io-ico.c (DecodeHeader): Attach hotspot coordinates to the
pixbuf as options "x_hot" and "y_hot".

21 years agoFri Sep 6 15:59:54 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdisplay...
Owen Taylor [Fri, 6 Sep 2002 20:01:06 +0000 (20:01 +0000)]
Fri Sep  6 15:59:54 2002  Owen Taylor  <otaylor@redhat.com>        * gdk/gdkdisplay.h: Remove unused prototype for        gdk_set_default_display        (=> gdk_display_manager_set_default_display)        (#90616, Matthias Clasen)

21 years agoOnly set gc->colormap if it isn't already set. (Alex Larsson, #90632)
Owen Taylor [Fri, 6 Sep 2002 19:36:09 +0000 (19:36 +0000)]
Only set gc->colormap if it isn't already set. (Alex Larsson, #90632)

Fri Sep  6 15:35:01 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/gdkgc.c (gdk_gc_new_with_values): Only set
        gc->colormap if it isn't already set. (Alex Larsson,
        #90632)

21 years agoPass the actual input keycode to XIM, rather than the result of
Owen Taylor [Fri, 6 Sep 2002 16:48:40 +0000 (16:48 +0000)]
Pass the actual input keycode to XIM, rather than the result of

Fri Sep  6 12:41:16 2002  Owen Taylor  <otaylor@redhat.com>
        * modules/input/gtkimcontextxim.c: Pass the actual input
        keycode to XIM, rather than the result of backconverting
        the keysym. Fixes the <> input problem! (#74922)

        * gtk/gtkimmodule.c: Fix bug where GTK_IM_MODULE environment
        variable couldn't be used to force the input method to
        the default input method.

21 years agofix non-solaris xinerama checks (bug #89732)
jacob berkman [Thu, 5 Sep 2002 20:05:23 +0000 (20:05 +0000)]
fix non-solaris xinerama checks (bug #89732)

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

* configure.in: fix non-solaris xinerama checks (bug #89732)

21 years agoget automake-1.4 changes from -2-0 branch
jacob berkman [Thu, 5 Sep 2002 20:00:07 +0000 (20:00 +0000)]
get automake-1.4 changes from -2-0 branch

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

* autogen.sh: get automake-1.4 changes from -2-0 branch

21 years agoUse HWND_NOTOPMOST instead of HWND_TOPMOST. Suggested by Florent Duguet.
Tor Lillqvist [Wed, 4 Sep 2002 21:45:38 +0000 (21:45 +0000)]
Use HWND_NOTOPMOST instead of HWND_TOPMOST. Suggested by Florent Duguet.

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

* gdk/win32/gdkwindow-win32.c (gdk_window_set_transient_for):
Use HWND_NOTOPMOST instead of HWND_TOPMOST. Suggested by Florent
Duguet.

21 years agoFix braino, actually do check each char, not just the first one, when
Tor Lillqvist [Wed, 4 Sep 2002 21:14:37 +0000 (21:14 +0000)]
Fix braino, actually do check each char, not just the first one, when

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

* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
actually do check each char, not just the first one, when looping
through the text looking to insert CR in front of each LF. Bug
noticed and fix provided by Florent Duguet.

21 years agoQuit on destroy.
Matthias Clasen [Tue, 3 Sep 2002 23:51:36 +0000 (23:51 +0000)]
Quit on destroy.

* demos/testanimation.c (do_image):
(do_nonprogressive): Quit on destroy.

* demos/testpixbuf.c (main): test load-at-size.
(expose_func): draw transparent pixbufs against a checkerboard
pattern. (#91829)

21 years agoDon't leak memory if g_try_realloc fails.
Matthias Clasen [Tue, 3 Sep 2002 23:43:21 +0000 (23:43 +0000)]
Don't leak memory if g_try_realloc fails.

* io-tga.c (io_buffer_append):
* io-ico.c (DecodeHeader):
* io-bmp.c (grow_buffer): Don't leak memory if g_try_realloc fails.

* gdk-pixbuf-io.c (pixbuf_check_ico): Fix loading of .CUR files.
(#91826)

21 years agoChangeLog fix
Søren Sandmann Pedersen [Sun, 1 Sep 2002 13:02:29 +0000 (13:02 +0000)]
ChangeLog fix

21 years agodocs/reference/gtk/tmpl/gtkdialog.sgml
Soeren Sandmann [Sun, 1 Sep 2002 12:34:21 +0000 (12:34 +0000)]
docs/reference/gtk/tmpl/gtkdialog.sgml

2002-09-01  Soeren Sandmann  <ssp@localhost.localdomain>

* docs/reference/gtk/tmpl/gtkdialog.sgml
docs/reference/gtk/tmpl/gtkhbbox.sgml
docs/reference/gtk/tmpl/gtkvbbox.sgml
docs/reference/gtk/tmpl/gtktogglebutton.sgml
docs/reference/gtk/tmpl/gtktreeselection.sgml
gtk/gtktextbuffer.c
gtk/gtktogglebutton.c
gtk/gtktreesortable.c

Minor documentation fixes:

#79107, #82854, #76398, Vitaly Tishkov;
#88627, Brian Tarricone;
#81046, Owen Taylor

21 years agoOn Cygwin, open /dev/windows instead of using the magic G_WIN32_MSG_HANDLE
Tor Lillqvist [Sat, 31 Aug 2002 18:06:02 +0000 (18:06 +0000)]
On Cygwin, open /dev/windows instead of using the magic G_WIN32_MSG_HANDLE

2002-08-31  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (_gdk_events_init): On Cygwin, open
/dev/windows instead of using the magic G_WIN32_MSG_HANDLE fd that
is implemented (in GLib) only on native Win32. (#91683, Masahiro
Sakai)