]> Pileus Git - ~andy/gtk/log
~andy/gtk
25 years agoReleased GTK+ 1.1.11
CST 1998 Shawn T. Amundson [Thu, 31 Dec 1998 02:25:58 +0000 (02:25 +0000)]
Released GTK+ 1.1.11

Wed Dec 30 18:39:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.11

        * INSTALL:
          NEWS:
          README:
          configure.in:
          gtk+.spec:
          docs/gtk-config.1:
          gtk/gtkfeatures.h.in: version=1.1.11

Also fixed docs/Makefile.am so make distcheck works well now,
even on an SMP machine.

Do these .po files really have to be remade during a make dist?

25 years agoWed, 30 Dec 1998 23:04:25 +0100 [Vincent]
Vincent Renardias [Wed, 30 Dec 1998 21:10:02 +0000 (21:10 +0000)]
Wed, 30 Dec 1998 23:04:25 +0100  [Vincent]
* Major translation updates.

25 years agoFixed off-by-one error when computing length.
Owen Taylor [Tue, 29 Dec 1998 21:10:30 +0000 (21:10 +0000)]
Fixed off-by-one error when computing length.

Tue Dec 29 16:06:55 1998 Owen Taylor  <otaylor@redhat.com>

* gdk/gdkim.c (gdk_wcstombs): Fixed off-by-one
error when computing length.

25 years agox Pull in string.h for various mem*() and str*() functions, in an
Jeff Garzik [Thu, 24 Dec 1998 19:39:00 +0000 (19:39 +0000)]
x Pull in string.h for various mem*() and str*() functions, in an

x
   Pull in string.h for various mem*() and str*() functions,
        in an autoconf-friendly way.
x

25 years agoremoved unused var 64-bit cast point to const data Made const-correct.
Jeff Garzik [Thu, 24 Dec 1998 17:47:02 +0000 (17:47 +0000)]
removed unused var 64-bit cast point to const data Made const-correct.

        * gdk/gdkfont.c: removed unused var
        * gdk/gdkim.c: 64-bit cast
        * gtk/gtkaccelgroup.c: point to const data
        * gtk/gtkdnd.[ch]: (gtk_drag_dest_set, gtk_drag_source_set):
          Made const-correct.
        * gtk/gtkfontsel.c: kill uninitialized var warning
        * gtk/gtkselection.[ch]: (gtk_target_list_new,
          gtk_target_list_add_table, gtk_selection_add_targets):
          Made const-correct.
        * gtk/testgtk.c: 64-bit cast

25 years agoReleased GTK+ 1.1.10
CST 1998 Shawn T. Amundson [Thu, 24 Dec 1998 15:21:13 +0000 (15:21 +0000)]
Released GTK+ 1.1.10

Thu Dec 24 03:16:52 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.10

        * INSTALL:
          NEWS:
          README:
          configure.in:
          gtk+.spec:
          docs/gtk-config.1:
          gtk/gtkfeatures.h.in: version=1.1.10

        * no.po: added translation by Kjartan Maraas <kmaraas@fib.hl.no>

25 years agos,Fedrerico Mena,Federico Mena,
Martin Baulig [Thu, 24 Dec 1998 12:33:19 +0000 (12:33 +0000)]
s,Fedrerico Mena,Federico Mena,

25 years agoUpdate to changelog, to cover fix that previously slipped in.
Owen Taylor [Thu, 24 Dec 1998 01:29:44 +0000 (01:29 +0000)]
Update to changelog, to cover fix that previously slipped in.

Wed Dec 23 20:31:40 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklabel.c: Fix problem where empty labels were
getting a requisition height of zero, and trailing
newlines were being ignored.

25 years agolabel->label should be the mb text _after_ removing the underlines, not
Owen Taylor [Wed, 23 Dec 1998 19:16:21 +0000 (19:16 +0000)]
label->label should be the mb text _after_ removing the underlines, not

Wed Dec 23 13:58:14 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklabel.c (gtk_label_parse_uline):
label->label should be the mb text _after_ removing
the underlines, not before.

* gtk/gtkmenu.c: Reverted Elliot's tearoff-menu-item
title hack. If it deserves being done, it deserves
being done right.

25 years ago*/Makefile.am: Now passes 'make distcheck'. Now loops. I'm not sure what
Elliot Lee [Wed, 23 Dec 1998 16:24:15 +0000 (16:24 +0000)]
*/Makefile.am: Now passes 'make distcheck'. Now loops. I'm not sure what

*/Makefile.am: Now passes 'make distcheck'. Now loops. I'm not sure what
is up.

1998-12-23  Elliot Lee  <sopwith@redhat.com>

* gtk/gtkmenu.c: Allow programmer to gtk_object_set_data(obj,
  "GtkTearoffMenuItem_window_title", ..) on a GtkMenuItem and have
  it be recognized. If we're getting the title out of the GtkLabel,
  then remove all underscores.

25 years agoRequest XmTRANFER_FAILURE on Motif drops not within a drop zone. I don't
Owen Taylor [Tue, 22 Dec 1998 22:00:43 +0000 (22:00 +0000)]
Request XmTRANFER_FAILURE on Motif drops not within a drop zone. I don't

Tue Dec 22 17:01:43 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_dest_handle_event):
Request XmTRANFER_FAILURE on Motif drops not within
a drop zone. I don't know why this is necessary,
but it is.

* gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
Motif flag field in response was getting wrong
values.

25 years agoReturn TRUE for button press events we handle. (Allows option menus in
Owen Taylor [Tue, 22 Dec 1998 20:55:30 +0000 (20:55 +0000)]
Return TRUE for button press events we handle. (Allows option menus in

Tue Dec 22 15:55:39 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
Return TRUE for button press events we handle.
(Allows option menus in radio buttons to work...)

25 years agoOptimization - when we've already found a widget, skip all checks for
Owen Taylor [Tue, 22 Dec 1998 20:06:44 +0000 (20:06 +0000)]
Optimization - when we've already found a widget, skip all checks for

Tue Dec 22 14:50:25 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_find_widget): Optimization -
when we've already found a widget, skip all checks
for subsequent children.

* gtk/gtkdnd.c (gtk_drag_find_widget): Checked for
!MAPPED, not !VISIBLE, since a widget (like a notebook
page), can be VISIBLE, but !REALIZED or !MAPPED.

* gtk/gtkdnd.c (gtk_drag_find_widget): Use forall(),
not foreach().

25 years agoAdded translation by Krzysztof Krzy¿aniak <eloy@venco.com.pl>
Owen Taylor [Tue, 22 Dec 1998 19:25:40 +0000 (19:25 +0000)]
Added translation by Krzysztof Krzy¿aniak <eloy@venco.com.pl>

Tue Dec 22 14:24:37 1998  Owen Taylor  <otaylor@redhat.com>

* pl.po: Added translation by
  Krzysztof Krzy¿aniak <eloy@venco.com.pl>

25 years agofixed column resize bug
Lars Hamann [Mon, 21 Dec 1998 21:09:37 +0000 (21:09 +0000)]
fixed column resize bug

Mon Dec 21 22:01:49 1998  Lars Hamann  <lars@gtk.org>

* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug

25 years agoexport the priority at which events are processed.
Tim Janik [Sun, 20 Dec 1998 05:47:28 +0000 (05:47 +0000)]
export the priority at which events are processed.

Sun Dec 20 04:48:59 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
        events are processed.

        * gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
        variants: gtk_container_foreach_interp, gtk_idle_add_interp,
        gtk_timeout_add_interp, gtk_signal_connect_interp.

25 years agoadded translation by Tomas Ögren <stric@ing.umu.se>
PST 1998 Shawn T. Amundson [Sun, 20 Dec 1998 02:48:52 +0000 (02:48 +0000)]
added translation by Tomas Ögren <stric@ing.umu.se>

Sat Dec 19 18:42:39 PST 1998 Shawn T. Amundson <amundson@gtk.org>

        * sv.po: added translation by Tomas Ögren <stric@ing.umu.se>

25 years agoeek, fixed an embarrasing bug that caused this function to always return
Tim Janik [Sun, 20 Dec 1998 01:24:40 +0000 (01:24 +0000)]
eek, fixed an embarrasing bug that caused this function to always return

Sat Dec 19 22:49:40 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.c (gtk_type_query): eek, fixed an embarrasing bug
        that caused this function to always return NULL (noticed by marius
        vollmer).

25 years agoDon't add the gthread libs to GLIB_LIBS either, or -lgthread -lpthread
Owen Taylor [Sat, 19 Dec 1998 22:27:03 +0000 (22:27 +0000)]
Don't add the gthread libs to GLIB_LIBS either, or -lgthread -lpthread

Sat Dec 19 17:28:30 1998  Owen Taylor  <otaylor@redhat.com>

* configure.in: Don't add the gthread libs to
GLIB_LIBS either, or -lgthread -lpthread will get
pulled into all applications because of shlib deps.

* gtk/gtkmain.h gtk/gtkwidget.c gtk/gtk gdk/gdk:
Use GLIB's priority #define. Revise scale of
priorities.

25 years agoalways run a g_main_iteration, even if there are no active main loops.
Manish Singh [Sat, 19 Dec 1998 11:47:58 +0000 (11:47 +0000)]
always run a g_main_iteration, even if there are no active main loops.

* gtk/gtkmain.c: always run a g_main_iteration, even if
there are no active main loops. This fixes the gimp splash
screen.

-Yosh

25 years agoremoved return_if_fail (label->words != NULL) since that's a valid case
Tim Janik [Sat, 19 Dec 1998 05:15:15 +0000 (05:15 +0000)]
removed return_if_fail (label->words != NULL) since that's a valid case

Sat Dec 19 05:37:51 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail
        (label->words != NULL) since that's a valid case when the label
        is empty, or just default constructed.
        fixed indentation prototype arguments and braces in some places.
        also, pointer comparisions and initializations are done with NULL
        not 0, there's a reason GLib defines NULL.

        * gdk/gdkevents.c (gdk_events_pending): return (queued_events ||
        putback_events) so this again returns whether events are pending,
        not whether other sources like idles are pending.

        * gtk/gtkmain.c (gtk_main_iteration_do):
        (gtk_main_iteration): return whether the loop is done, not whether
        something got dispatch to restore the original behaviour (yosh: this
        fixes code like in GleSelector).

25 years agos/(enter|leave)_button/$1/g, since pthreads.h no longer conflicts
Manish Singh [Sat, 19 Dec 1998 03:24:15 +0000 (03:24 +0000)]
s/(enter|leave)_button/$1/g, since pthreads.h no longer conflicts

-Yosh

25 years agofixed GDK_2BUTTON_PRESS bug.
Lars Hamann [Sat, 19 Dec 1998 01:18:08 +0000 (01:18 +0000)]
fixed GDK_2BUTTON_PRESS bug.

Sat Dec 19 01:56:13 1998  Lars Hamann  <lars@gtk.org>

* gtk/gtkclist.c (gtk_clist_button_press): fixed GDK_2BUTTON_PRESS
  bug.

25 years agoadd ja.po to ALL_LINGUAS
Manish Singh [Sat, 19 Dec 1998 00:07:36 +0000 (00:07 +0000)]
add ja.po to ALL_LINGUAS

-Yosh

25 years agoSat, 19 Dec 1998 01:15:44 +0100 [Vincent]
Vincent Renardias [Fri, 18 Dec 1998 23:18:11 +0000 (23:18 +0000)]
Sat, 19 Dec 1998 01:15:44 +0100  [Vincent]

* fr.po: Added.

25 years agoMarked plug window as destroyed before destroying the window.
Owen Taylor [Fri, 18 Dec 1998 20:47:21 +0000 (20:47 +0000)]
Marked plug window as destroyed before destroying the window.

Fri Dec 18 15:19:54 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtksocket.c (gtk_socket_filter_func): Marked
plug window as destroyed before destroying the
window.

25 years agoSet the usize on the tearoff window so when we reparent the window out,
Owen Taylor [Fri, 18 Dec 1998 19:15:46 +0000 (19:15 +0000)]
Set the usize on the tearoff window so when we reparent the window out,

Fri Dec 18 14:17:14 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
tearoff window so when we reparent the window out,
the window doesn't shrink down.

25 years agoFixed transposition of \ and "
Owen Taylor [Fri, 18 Dec 1998 14:52:57 +0000 (14:52 +0000)]
Fixed transposition of \ and "

Fri Dec 18 09:52:28 1998  Owen Taylor  <otaylor@redhat.com>

* de.po: Fixed transposition of \ and "

25 years agoDaniels de.po file after a bit of editing.
Sven Neumann [Fri, 18 Dec 1998 11:16:31 +0000 (11:16 +0000)]
Daniels de.po file after a bit of editing.

--Sven

25 years agoAdd Japanese Translation.
Yukihiro Nakai [Fri, 18 Dec 1998 10:11:32 +0000 (10:11 +0000)]
Add Japanese Translation.

Add Japanese Translation.

25 years agodo not export the glib flags for thread support to gtk-config.
Sebastian Wilhelmi [Fri, 18 Dec 1998 10:01:21 +0000 (10:01 +0000)]
do not export the glib flags for thread support to gtk-config.

1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: do not export the glib flags for thread support to
gtk-config.

25 years agoadded gdk_flush() after g_main_run(), so we get the original behaviour
Tim Janik [Fri, 18 Dec 1998 02:23:48 +0000 (02:23 +0000)]
added gdk_flush() after g_main_run(), so we get the original behaviour

Fri Dec 18 01:32:59 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkmain.c (gtk_main): added gdk_flush() after g_main_run(), so we
        get the original behaviour back, i.e. the event queue needs to be flushed
        after a main loop has been quitted.
        (gtk_main): add/remove the current main loop to/from the main loop
        before/after init/quit functions have been exected to preserve the
        original gtk_main_quit() behaviour.

Thu Dec 17 23:48:29 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdkevents.c (gdk_events_init): changed argument order in call
        to g_main_add_poll() to match recent glib changes.

25 years agoAdd @INTLLIBS@. gtk-scier-981116-0.patch Sean Cier
Owen Taylor [Fri, 18 Dec 1998 01:32:33 +0000 (01:32 +0000)]
Add @INTLLIBS@. gtk-scier-981116-0.patch Sean Cier

Thu Dec 17 20:33:28 1998  Owen Taylor  <otaylor@redhat.com>

* gtk-config.in: Add @INTLLIBS@.
gtk-scier-981116-0.patch  Sean Cier <scier@PostHorizon.com>) ]

* gtk/gtkcolorsel.c gtk/gtkfilesel.c gtk/gtkfontsel.c
  gtk/gtkgamma.c gtk/gtkinputdialog.c
  gtk/gtknotebook.c gtk/gtkrc.c gtk/gtkthemes.c
  gtk/gtktipsquery.c:

Applied parts of gtk-egger-981215-1 [ Daniel Egger
<Daniel.Egger@t-online.de> ] marking additional strings for
internationalization.

* po/nl.po: Added Dutch translation from
Paul Siegmann <pauls@euronet.nl>.

25 years agoRemove the info tag from the context so if the source unexpectedly
Owen Taylor [Thu, 17 Dec 1998 23:35:22 +0000 (23:35 +0000)]
Remove the info tag from the context so if the source unexpectedly

Thu Dec 17 18:25:52 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the
info tag from the context so if the source unexpectedly
responds in the future, we do nothing properly.

Thu Dec 17 18:24:41 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle
the case where one side of the the pane is empty.

* gtk/gtkfilesel.c (gtk_file_selection_init): Set
dir_title before using it. (Pointed out by
Lavoie Philippe <lavoie@zeus.genie.uottawa.ca>)

25 years agoUse setlocale (LC_ALL, NULL), not (LC_ALL, "") to query current locale.
Owen Taylor [Thu, 17 Dec 1998 16:13:20 +0000 (16:13 +0000)]
Use setlocale (LC_ALL, NULL), not (LC_ALL, "") to query current locale.

Thu Dec 17 11:00:48 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkim.c (gdk_set_locale): Use setlocale (LC_ALL, NULL),
not (LC_ALL, "") to query current locale.
(Pointed out by Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)

25 years agoFree previous label->label_wc.
Owen Taylor [Thu, 17 Dec 1998 15:51:15 +0000 (15:51 +0000)]
Free previous label->label_wc.

Thu Dec 17 10:53:20 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklabel.c (gtk_label_set_text): Free
previous label->label_wc.

* gtk/testgtkrc: Leave font, not fontset commented
in by default.

25 years agoDefine gdk_use_mb outside USE_XIM guard. Removed unnecessary USE_XIM guard
Sebastian Wilhelmi [Thu, 17 Dec 1998 09:15:45 +0000 (09:15 +0000)]
Define gdk_use_mb outside USE_XIM guard. Removed unnecessary USE_XIM guard

1998-12-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gdk/gdkim.c: Define gdk_use_mb outside USE_XIM guard. Removed
unnecessary USE_XIM guard inside another. Made gdk_use_mb
static. Compile gdk_set_locale also if not USE_XIM.

25 years agoReleased GTK+ 1.1.9
Shawn T. Amundson [Thu, 17 Dec 1998 06:49:15 +0000 (06:49 +0000)]
Released GTK+ 1.1.9

Thu Dec 17 00:26:01 1998 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.9

        * INSTALL:
          NEWS:
          README:
          configure.in:
          gtk+.spec:
          gtk/gtkfeatures.h.in:
          docs/gtk-config.1: version=1.1.9

25 years agorm -rf intl breaks --disable-nls, put it back
Manish Singh [Thu, 17 Dec 1998 05:21:45 +0000 (05:21 +0000)]
rm -rf intl breaks --disable-nls, put it back

* autogen.sh: rm -rf intl breaks --disable-nls, put it back

* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)

-Yosh

25 years agoupdated call to g_main_add_poll instead of g_main_poll_add
CST 1998 Shawn T. Amundson [Thu, 17 Dec 1998 04:40:07 +0000 (04:40 +0000)]
updated call to g_main_add_poll instead of g_main_poll_add

Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * gdk/gdkevents.c: updated call to g_main_add_poll
          instead of g_main_poll_add

25 years agoRemove unnecessary cast.
Owen Taylor [Thu, 17 Dec 1998 04:31:49 +0000 (04:31 +0000)]
Remove unnecessary cast.

Wed Dec 16 23:32:05 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklabel.c (gtk_label_expose): Remove
unnecessary cast.

25 years agoCheck for broken glibc 2.0 mb functions, and avoid them.
Owen Taylor [Thu, 17 Dec 1998 04:20:29 +0000 (04:20 +0000)]
Check for broken glibc 2.0 mb functions, and avoid them.

Wed Dec 16 22:50:52 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdk.c gdk/gdkim.c: Check for broken glibc 2.0
mb functions, and avoid them.

25 years ago*** empty log message ***
Arturo Espinosa [Wed, 16 Dec 1998 23:00:58 +0000 (23:00 +0000)]
*** empty log message ***

25 years agoDon't call XPending() if we have putback events.
Owen Taylor [Wed, 16 Dec 1998 21:58:54 +0000 (21:58 +0000)]
Don't call XPending() if we have putback events.

Wed Dec 16 16:57:55 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkevents.c (gdk_events_queue): Don't
call XPending() if we have putback events.

25 years agoDo nothing on empty string, quietly.
Owen Taylor [Wed, 16 Dec 1998 21:06:49 +0000 (21:06 +0000)]
Do nothing on empty string, quietly.

Wed Dec 16 16:04:41 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklabel.c (gtk_label_expose): Do nothing
on empty string, quietly.

25 years agoRedraw the character under the cursor when removing the cursor.
Owen Taylor [Wed, 16 Dec 1998 20:39:31 +0000 (20:39 +0000)]
Redraw the character under the cursor when removing the cursor.

Wed Dec 16 15:36:19 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
Redraw the character under the cursor when removing
the cursor.

25 years agoMove main thread lock back to GDK - we need it there for locking when
Owen Taylor [Wed, 16 Dec 1998 20:09:30 +0000 (20:09 +0000)]
Move main thread lock back to GDK - we need it there for locking when

Wed Dec 16 13:06:17 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdk.[ch] gtk/gtkmain.[ch] gtk/gtkprivate.h: Move main
thread lock back to GDK - we need it there for locking
when translating events. Rename things appropriately.

Wed Dec 16 11:44:21 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrange.c (gtk_range_expose): Fix a x/y typo.

CVS:

25 years agoReleased GTK+ 1.1.8
CST 1998 Shawn T. Amundson [Wed, 16 Dec 1998 16:57:13 +0000 (16:57 +0000)]
Released GTK+ 1.1.8

Wed Dec 16 10:20:27 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.8

        * ChangeLog:
          INSTALL:
          README:
          gtk+.spec:
          docs/gtk-config.1: version=1.1.8

25 years agoDefine gdk_xim_ic only, if USE_XIM is defined.
Sebastian Wilhelmi [Wed, 16 Dec 1998 14:28:05 +0000 (14:28 +0000)]
Define gdk_xim_ic only, if USE_XIM is defined.

1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gdk/gdkglobals.c: Define gdk_xim_ic only, if USE_XIM is defined.

25 years agourg, fixups
Tim Janik [Wed, 16 Dec 1998 06:05:46 +0000 (06:05 +0000)]
urg, fixups

25 years agoversion bump to 1.1.8, binary age 0, interface age 0, depend on GLib
Tim Janik [Wed, 16 Dec 1998 06:03:14 +0000 (06:03 +0000)]
version bump to 1.1.8, binary age 0, interface age 0, depend on GLib

Wed Dec 16 05:26:32 1998  Tim Janik  <timj@gtk.org>

        * configure.in: version bump to 1.1.8, binary age 0, interface age 0,
        depend on GLib 1.1.8.

        * gdk/gdkprivate.h:
        * gdk/gdkglobals.c: removed last Gdk threads specific bits.

        * gtk/gtkmain.c (gtk_init): s/g_thread_supported/g_thread_supported()/.

        * gtk/gtkprivate.h: changed GTK_THREADS_ENTER and GTK_THREADS_LEAVE
        to function macros GTK_THREADS_ENTER() and GTK_THREADS_LEAVE().
        honour G_THREADS_ENABLED in the definition of GTK_THREADS_ENTER()
        and GTK_THREADS_LEAVE(). changed callers accordingly.

25 years agoUpdate news for 1.1.8.
Owen Taylor [Wed, 16 Dec 1998 05:04:46 +0000 (05:04 +0000)]
Update news for 1.1.8.

25 years agowarn if glib.m4 or gettext.m4 are not found in aclocal's directory.
CST 1998 Shawn T. Amundson [Wed, 16 Dec 1998 03:33:22 +0000 (03:33 +0000)]
warn if glib.m4 or gettext.m4 are not found in aclocal's directory.

Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * autogen.sh: warn if glib.m4 or gettext.m4 are not found
          in aclocal's directory.

25 years agoCreate buttons, not combos again.
Owen Taylor [Wed, 16 Dec 1998 02:37:41 +0000 (02:37 +0000)]
Create buttons, not combos again.

Tue Dec 15 21:36:14 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/testgtk.c (create_layout): Create buttons,
not combos again.

25 years agoFixed gettextize/aclocal conflict in autogen.sh
Joel Becker [Wed, 16 Dec 1998 01:40:50 +0000 (01:40 +0000)]
Fixed gettextize/aclocal conflict in autogen.sh

25 years agoremoved clist flag : GTK_CLIST_DRAG_SELECTION added flags :
Lars Hamann [Wed, 16 Dec 1998 01:28:31 +0000 (01:28 +0000)]
removed clist flag : GTK_CLIST_DRAG_SELECTION added flags :

Tue Dec 15 22:30:44 1998  Lars Hamann  <lars@gtk.org>

* gtk/gtkclist.h :
removed clist flag : GTK_CLIST_DRAG_SELECTION
added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
(GtkCListDragPos) : new enum for DND
  (GtkButtonAction) : new enum of possible mouse button actions
(struct _GtkCList): added button_actions array.
  Added drag_button and click_cell struct, to store cell and
  mouse button of last button_press_event

(struct _GtkCListClass): new class method draw_drag_highlight.
(gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
new functions. Moved from gtkctree.h. Now clist is reorderable
as well.
(gtk_clist_set_button_actions) new function to customize mouse
button actions.

* gtk/gtkclist.c:
(gtk_clist_drag_begin)
(gtk_clist_drag_motion)
(gtk_clist_drag_leave)
(gtk_clist_drag_end)
(gtk_clist_drag_drop)
(gtk_clist_drag_data_get)
(gtk_clist_drag_data_received) : new dnd widget methods to
implement clists reorderability via DND

(remove_grab) : new function. remove mouse grab if necessary.
(draw_drag_highlight) : new method. Draw dnd highlight depending
on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT

(gtk_clist_class_init): added object args "reorderable" and
  "use_drag_icons"

(gtk_clist_button_press) (gtk_clist_button_release) :
use button_actions array to decide which action to perform.
(gtk_clist_motion) : start reorder operation if necessary.

* gtk/gtkctree.h :
(struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
drag_row, drag_source, drag_target, reorderable, use_icons,
in_drag, drag_rect
(gtk_ctree_set_reorderable) :  deprecated function.
  use gtk_clist_set_reorderable instead.
(gtk_ctree_set_use_drag_icons) : deprecated function.
  use gtk_clist_set_use_drag_icons instead.

* gtk/gtkctree.c :
(gtk_ctree_class_init): removed object args "reorderable" and
and "use_drag_icons"

(draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
(tree_toggle_selection) (set_mouse_cursor) : removed

(draw_drag_highlight) : new clist method. replacement for
draw_xor_line and draw_xor_rect functions
(check_drag) renamed check_cursor function

(gtk_ctree_drag_begin)
(gtk_ctree_drag_motion)
(gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
reorderability via DND

(gtk_ctree_button_release)
(gtk_ctree_button_motion) : removed.

* gtk/testgtk.c:
(create_clist) : added new reorderable toggle button

25 years agoUse base[NORMAL] instead of bg[PRELIGHT] so CLists now can be used in
Owen Taylor [Wed, 16 Dec 1998 00:52:46 +0000 (00:52 +0000)]
Use base[NORMAL] instead of bg[PRELIGHT] so CLists now can be used in

Tue Dec 15 19:50:41 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
base[NORMAL] instead of bg[PRELIGHT] so CLists now can be
used in detergent commercials.

25 years agoRemove --with-threads, unused GTK_THREAD_FLAGS
Jeff Garzik [Wed, 16 Dec 1998 00:07:33 +0000 (00:07 +0000)]
Remove --with-threads, unused GTK_THREAD_FLAGS

25 years agoUse G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking for
Elliot Lee [Tue, 15 Dec 1998 23:59:44 +0000 (23:59 +0000)]
Use G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking for

1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>

* gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
as the mask for checking for GDK_INPUT_EXCEPTION events.

25 years agoMake the gettext check for for libc5 systems.
Martin Baulig [Tue, 15 Dec 1998 23:11:05 +0000 (23:11 +0000)]
Make the gettext check for for libc5 systems.

1998-12-15  Martin Baulig  <martin@home-of-linux.org>

* acinclude.m4: Make the gettext check for for libc5 systems.

25 years agoNot running gettextize fails on a fresh CVS checkout and we'll get a lot
Martin Baulig [Tue, 15 Dec 1998 22:13:35 +0000 (22:13 +0000)]
Not running gettextize fails on a fresh CVS checkout and we'll get a lot

1998-12-15  Martin Baulig  <martin@home-of-linux.org>

* autogen.sh: Not running gettextize fails on a fresh CVS checkout
and we'll get a lot of bug reports tomorrow, so I add it back.

25 years agoRename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and AM_WITH_NLS_GTK to
Martin Baulig [Tue, 15 Dec 1998 22:03:53 +0000 (22:03 +0000)]
Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and AM_WITH_NLS_GTK to

1998-12-15  Martin Baulig  <martin@home-of-linux.org>

* acinclude.m4: Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and
AM_WITH_NLS_GTK to AM_GTK_WITH_NLS to avoid this ugly automake
warnings.

25 years agoMoved gtk_label_set() compatiblity define from <gtkcompat.h> to
Owen Taylor [Tue, 15 Dec 1998 21:54:13 +0000 (21:54 +0000)]
Moved gtk_label_set() compatiblity define from <gtkcompat.h> to

Tue Dec 15 16:54:09 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklabel.h: Moved gtk_label_set() compatiblity
define from <gtkcompat.h> to <gtklabel.h> for
compatibility.

25 years agoProvide a hacked version of the gettext macros that never use the included
Owen Taylor [Tue, 15 Dec 1998 21:08:52 +0000 (21:08 +0000)]
Provide a hacked version of the gettext macros that never use the included

Tue Dec 15 16:06:15 1998  Owen Taylor  <otaylor@redhat.com>

* acinclude.m4: Provide a hacked version of the
  gettext macros that never use the included gettext.

* Makefile.am configure.in: Remove references
  to intl/

* autogen.sh: Don't run gettextize.

25 years agoAdded gdk_text_extents_wc()
Owen Taylor [Tue, 15 Dec 1998 20:31:26 +0000 (20:31 +0000)]
Added gdk_text_extents_wc()

Tue Dec 15 14:30:35 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc()

        * Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping
  to label. (Based on patch from Jeff Dairiki
  <dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0)

- Adds new function gtk_label_set_line_wrap()
- implement GTK_JUSTIFY_FILL.
- rename gtk_label_set to gtk_label_set_text() add
   gtk_label_set() to gtkcompat.h.

* Use an internal wc representation in the label, so
  that we handle underlining and line breaks correctly
  for multi-byte strings.

25 years agoAdded GTK_USER_DRAW flag.
Owen Taylor [Tue, 15 Dec 1998 18:48:19 +0000 (18:48 +0000)]
Added GTK_USER_DRAW flag.

Tue Dec 15 13:32:28 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.h: Added GTK_USER_DRAW flag.

* gtk/gtkwindow.c: Honor GTK_USER_DRAW flag.

* gtk/gtkdrawwindow.c gtk/Makefile.am: Removed
GtkDrawWindow, which GTK_USER_DRAW obsoletes.

25 years agoFixed up some warnings.
Owen Taylor [Tue, 15 Dec 1998 17:56:31 +0000 (17:56 +0000)]
Fixed up some warnings.

Tue Dec 15 11:37:05 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmain.c: Fixed up some warnings.

Tue Dec 15 10:32:01 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtk{h,v,}paned.{c,h}: Add new functions
gtk_paned_set_position(),
gtk_paned_pack1/2(). The latter take a
shrink and resize parameters, that allows setting
minimum sizes and getting 'relative' resizing.

25 years agoKeep separate putback_events and queued_events queues so that we get both
Owen Taylor [Tue, 15 Dec 1998 15:32:49 +0000 (15:32 +0000)]
Keep separate putback_events and queued_events queues so that we get both

Tue Dec 15 10:26:23 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkevents.c: Keep separate putback_events and
queued_events queues so that we get both FIFO and
preemptive behavior for gdk_event_put().

25 years agoRemoved unused variable, fixed minor memory leak.
Owen Taylor [Tue, 15 Dec 1998 14:23:46 +0000 (14:23 +0000)]
Removed unused variable, fixed minor memory leak.

Tue Dec 15 09:22:44 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkrc.c (gtk_rc_init): Removed unused
variable, fixed minor memory leak.

* gdk/gdk.c: Fixed another merge problem.

25 years agoRemove gdk_signal, which crept back in in last commit.
Owen Taylor [Tue, 15 Dec 1998 13:54:20 +0000 (13:54 +0000)]
Remove gdk_signal, which crept back in in last commit.

Tue Dec 15 08:53:38 1998  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk.c (gdk_get_display): Remove gdk_signal,
        which crept back in in last commit.

gdk/gdkevents.c: File missed on last commit.

CVS

25 years agoCommented out testthreads from the build process, since we won't have any
Owen Taylor [Tue, 15 Dec 1998 07:32:11 +0000 (07:32 +0000)]
Commented out testthreads from the build process, since we won't have any

Tue Dec 15 01:38:53 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/Makefile.am: Commented out testthreads from
the build process, since we won't have any idea
how to create a thread.

* configure.in (LIBS): use glib-config ... gthread
so we always build a thread-compatible library.

        * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c
  gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c
  gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c
  gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c
  gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c:

Add GTK_THREADS_ENTER/LEAVE pairs around timeouts
and idles to account for the fact that they are no
longer called within the GTK+ lock.

* gtk/gtkprivate.h: Added definitions for locking
the main GTK+ mutex.

* gtk/gtkmain.c: Re-implement the main loop
in terms of the GLib main loop.

* gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading
functionality, as it seems better to subsume GDK within the
GTK+ lock than vice-versa.

        * gdk/gdkevents.c: New file, containing event handling bits
from gdk.c.

* gdk/gdkevents.c: Implement event source for GDK
events.

* configure.in gdk/gdkevents.c: Removed attempts to
subtract base_id, which were already non-functional.

25 years agoacconfig.h removed IPC_RMID_DEFERRED_RELEASE check
Manish Singh [Tue, 15 Dec 1998 07:08:05 +0000 (07:08 +0000)]
acconfig.h removed IPC_RMID_DEFERRED_RELEASE check

* acconfig.h
* configure.in: removed IPC_RMID_DEFERRED_RELEASE check

* gdk/gdk.c: remove signal handlers, since we do an IPC_RMID
after XShmAttach, and nobody complained

-Yosh

25 years agoautoconf says we need AC_ISC_POSIX. Whiner.
Manish Singh [Tue, 15 Dec 1998 05:27:17 +0000 (05:27 +0000)]
autoconf says we need AC_ISC_POSIX. Whiner.

-Yosh

25 years agoinclude -lintl in LIBS
Tim Janik [Tue, 15 Dec 1998 03:37:32 +0000 (03:37 +0000)]
include -lintl in LIBS

25 years agoReplaced the crappy de.po with a valid one.
Sven Neumann [Tue, 15 Dec 1998 01:32:30 +0000 (01:32 +0000)]
Replaced the crappy de.po with a valid one.

(Bring me the haed of ...)

--Sven

25 years agoAppend locale-specific suffixes to default rc file names, and look these
Owen Taylor [Mon, 14 Dec 1998 23:26:12 +0000 (23:26 +0000)]
Append locale-specific suffixes to default rc file names, and look these

Mon Dec 14 16:10:05 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrc.c (gtk_rc_init): Append locale-specific
suffixes to default rc file names, and look these
up in addition to the base filename, to facilitate
having the correct fontset per-locale.

move $(sysconfdir)/gtkrc to $(sysconfdir)/gtk/gtkrc

* gtk/gtkitemfactory.[ch] (gtk_item_factory_set_translate_func):
New function to set a function to translate menu paths.

* gtk/gtkrc.c (gtk_rc_add_initial_default_files): Free
results of g_strsplit().

25 years agoAdded Portuguese translation.
Nuno Ferreira [Mon, 14 Dec 1998 23:21:27 +0000 (23:21 +0000)]
Added Portuguese translation.

* Added Portuguese translation.

25 years agoOnly call gtk_spin_button_update if the spinbutton is editable.
Stefan Jeske [Mon, 14 Dec 1998 19:13:58 +0000 (19:13 +0000)]
Only call gtk_spin_button_update if the spinbutton is editable.

Mon Dec 14 20:04:31 1998  Stefan Jeske  <stefan@gtk.org>

* gtk/gtkspinbutton.c: Only call gtk_spin_button_update if
  the spinbutton is editable.

25 years agoAdded gettext-10.35
Owen Taylor [Mon, 14 Dec 1998 17:39:58 +0000 (17:39 +0000)]
Added gettext-10.35

Mon Dec 14 12:24:13 1998  Owen Taylor  <otaylor@redhat.com>

* HACKING: Added gettext-10.35

* autogen.sh: Run gettextize.

Wed Dec  9 16:29:06 1998  Owen Taylor  <otaylor@redhat.com>

        Applied gtk-egger-981010-[12]
[ Daniel.Egger@t-online.de (Daniel Egger) ]

* gtk/gtkintl.h: New file - defines for localization.

* gtk/gtkfilesel.c gtk/gtkinputdialog.c: Mark strings
for internationalization.

* gtk/gtkmain.c: call bindtextdomain

* po/ - directory for translations. Initially includes
German translation.

25 years agomade GtkWidget::grab_focus a RUN_LAST and RUN_ACTION signal. moved stuff
Tim Janik [Mon, 14 Dec 1998 01:59:43 +0000 (01:59 +0000)]
made GtkWidget::grab_focus a RUN_LAST and RUN_ACTION signal. moved stuff

Mon Dec 14 02:42:11 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c: made GtkWidget::grab_focus a RUN_LAST and
        RUN_ACTION signal. moved stuff from gtk_widget_grab_focus() into
        gtk_widget_real_grab_focus() so a signal is always emitted
        if the focus is grabbed on a widget.

25 years agofixed submenu popup timeouts, we decide whether or not to delay the
Tim Janik [Mon, 14 Dec 1998 01:35:33 +0000 (01:35 +0000)]
fixed submenu popup timeouts, we decide whether or not to delay the

Mon Dec 14 02:13:01 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenuitem.c: fixed submenu popup timeouts, we decide whether or
        not to delay the submenu popup from a menu item deselection time stamp.
        the code looks even more hackish than before, but in practice "feels"
        very well.

25 years agoAdded a "grab_focus" signal for widgets. When the signal is emitted, the
Federico Mena Quintero [Mon, 14 Dec 1998 01:32:24 +0000 (01:32 +0000)]
Added a "grab_focus" signal for widgets. When the signal is emitted, the

1998-12-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkwidget.h (struct _GtkWidgetClass): Added a "grab_focus"
signal for widgets.  When the signal is emitted, the widget will
grab the focus.  This is needed to let the user press an
accelerator key in a dialog box and have the corresponding widget
be focused.

* gtk/gtkwidget.c (gtk_widget_class_init): Create the "grab_focus"
signal.  The default handler is simply gtk_widget_grab_focus().

25 years agoUpdate the following sections to the current API: - Container Widgets -
GMT 1998 Tony Gale [Sun, 13 Dec 1998 22:25:07 +0000 (22:25 +0000)]
Update the following sections to the current API: - Container Widgets -

Sun Dec 13 22:15:48 GMT 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml: Update the following sections to the
          current API:
            - Container Widgets
            - CList Widget
            - List Widget
            - Tree Widget

25 years agomade GtkMenuItem::activate a GTK_RUN_ACTION signal.
Tim Janik [Sun, 13 Dec 1998 00:13:39 +0000 (00:13 +0000)]
made GtkMenuItem::activate a GTK_RUN_ACTION signal.

Sat Dec 12 19:11:35 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenuitem.c: made GtkMenuItem::activate a GTK_RUN_ACTION signal.

        * gtk/gtkbutton.c: made GtkButton::clicked a GTK_RUN_ACTION signal.

        * gtk/gtkfeatures.h.in: define GTK_HAVE_FEATURES_1_1_8.

25 years agoMark child->window as destroyed so we don't destroy it again.
Owen Taylor [Sat, 12 Dec 1998 22:49:38 +0000 (22:49 +0000)]
Mark child->window as destroyed so we don't destroy it again.

Sat Dec 12 17:46:55 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtklayout.c (gtk_layout_unrealize): Mark
child->window as destroyed so we don't destroy
it again.

25 years agoCorrections to computation of extents of text from a font set. (from
Owen Taylor [Sat, 12 Dec 1998 22:21:48 +0000 (22:21 +0000)]
Corrections to computation of extents of text from a font set. (from

Sat Dec 12 17:18:32 1998  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkfont.c (gdk_text_extents): Corrections
        to computation of extents of text from a font set.
        (from Chi-Deok Hwang <cdhwang@sr.hei.co.kr>)
         and Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>)

25 years agoAdded "style_set" handlers.
Owen Taylor [Fri, 11 Dec 1998 14:00:09 +0000 (14:00 +0000)]
Added "style_set" handlers.

Fri Dec 11 08:59:12 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklistitem.c (gtk_list_item_style_set):
* gtk/gtklist.c     (gtk_list_style_set):
Added "style_set" handlers.

25 years agoAdd in a "style_set" handler so that the background of the clist changes
Owen Taylor [Fri, 11 Dec 1998 10:52:30 +0000 (10:52 +0000)]
Add in a "style_set" handler so that the background of the clist changes

Fri Dec 11 05:49:30 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkclist.c (gtk_clist_style_set): Add in a "style_set"
handler so that the background of the clist changes
with the theme.

25 years agoReleased GTK+ 1.1.7
CST 1998 Shawn T. Amundson [Fri, 11 Dec 1998 06:12:24 +0000 (06:12 +0000)]
Released GTK+ 1.1.7

Thu Dec 10 22:02:49 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.7

        * INSTALL:
          NEWS:
          README:
          configure.in:
          gtk+.spec:
          gtk/gtkfeatures.h.in:
          docs/gtk-config.1: Version to 1.1.7

25 years agoavoid void pointer math
Manish Singh [Fri, 11 Dec 1998 05:52:42 +0000 (05:52 +0000)]
avoid void pointer math

* gtk/gtkclist.c: avoid void pointer math

* gtk/gtkhscale.c
* gtk/gtkhscrollbar.c
* gtk/gtkvscale.c
* gtk/gtkvscrollbar.c: removed trailing , from enums

* gtk/gtksignal.c: can't use enums as a bitfield type, use guint

* gtk/testgtk.c: removed C++ comment added by owenpoo

-Yosh

25 years agoAdded gtk_drag_source_unset()
Owen Taylor [Fri, 11 Dec 1998 02:48:40 +0000 (02:48 +0000)]
Added gtk_drag_source_unset()

Thu Dec 10 21:48:34 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()

25 years agoUse gdk_window_get_origin() instead of gdk_window_get_position, because
Owen Taylor [Fri, 11 Dec 1998 01:44:12 +0000 (01:44 +0000)]
Use gdk_window_get_origin() instead of gdk_window_get_position, because

Thu Dec 10 20:42:22 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
gdk_window_get_origin() instead of gdk_window_get_position,
because get_position is unreliable for plugs.

This is a bad hack, maybe we need GDK_WINDOW_PLUG?

25 years ago- re-write the GtkProgressBar section to the 1.1 API. - add an Appendix
GMT 1998 Tony Gale [Thu, 10 Dec 1998 17:31:04 +0000 (17:31 +0000)]
- re-write the GtkProgressBar section to the 1.1 API. - add an Appendix

Thu Dec 10 17:58:49 GMT 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
          - re-write the GtkProgressBar section to the 1.1 API.
          - add an Appendix listing all the signals
            (apologies to TimJ for taking so long in using his hard work
             in automating the extraction - thanx Tim).
        * examples/*: bring them all upto the tutorial versions

25 years agouse g_snprintf, eliminate need for string.h include string.h, for strlen
Jeff Garzik [Thu, 10 Dec 1998 06:18:32 +0000 (06:18 +0000)]
use g_snprintf, eliminate need for string.h include string.h, for strlen

        * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
        * gtk/testrgb.c: include string.h, for strlen

25 years agoAdd a case for success in test for XUnregisterIMInstantiate, to prevent
Owen Taylor [Wed, 9 Dec 1998 22:40:42 +0000 (22:40 +0000)]
Add a case for success in test for XUnregisterIMInstantiate, to prevent

Wed Dec  9 17:39:26 1998  Owen Taylor  <otaylor@redhat.com>

* configure.in: Add a case for success in
test for XUnregisterIMInstantiate, to prevent
screwing up $LIBS.

25 years agoFixed argument list and return type for non-XIM fallback.
Sebastian Wilhelmi [Wed, 9 Dec 1998 18:13:52 +0000 (18:13 +0000)]
Fixed argument list and return type for non-XIM fallback.

Wed Dec  9 13:06:31 1998  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

  * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
  list and return type for non-XIM fallback.

  * configure.in: Only build XIM-support if available.

25 years agoAdd in missing 'flags' field to target list.
Owen Taylor [Wed, 9 Dec 1998 17:31:52 +0000 (17:31 +0000)]
Add in missing 'flags' field to target list.

Wed Dec  9 12:23:30 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/testselection.c (main): Add in missing 'flags'
field to target list.

* gdk/gdkproperty.c (gdk_atom_intern): Actually
add the atoms to the local cache.

25 years agoput text after #endif in comment
Manish Singh [Wed, 9 Dec 1998 13:01:17 +0000 (13:01 +0000)]
put text after #endif in comment

* gdk/gdkprivate.h: put text after #endif in comment

* gdk/gdktypes.h: change whitespace in enum to shut up makeenums.pl

* gtk/testdnd.c: #include <string.h>

-Yosh

25 years agoNew file that holds code for dealing with X Input Methods.
Owen Taylor [Wed, 9 Dec 1998 09:19:36 +0000 (09:19 +0000)]
New file that holds code for dealing with X Input Methods.
(Missing from last big commit)

25 years agoDestroy widgets _after_ propagating unrealize signals through the widget
Owen Taylor [Wed, 9 Dec 1998 06:36:57 +0000 (06:36 +0000)]
Destroy widgets _after_ propagating unrealize signals through the widget

Mon Dec  7 10:27:09 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize
signals through the widget heirarchy. This is unpleasant, as it
causes more X traffic, but is necessary, because we have to clean
up our Input Contexts before destroying the X windows.
(from matsu-981109-0.patch)

Mon Dec  7 10:18:18 1998  Owen Taylor  <otaylor@redhat.com>

Applied gtk-a-higuti-981202-0 :
[ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ]

* gdk/gdk.h gdk/gdk.c
(gdk_mbstowcs): New function. Nearly equals to mbstowcs, but
implemented by a combination of Xlib functions, so
it works even with X_LOCALE.
(gdk_wcstombs): New function.
(g_mbtowc): Removed. No longer needed.

* gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c:
        Added _wc() variants to gdk_text_width(),
gdk_char_width(), gdk_draw_text(),

* gdk/gdki18n.h
(mblen, mbtowc, wctomb, mbstowcs, wcstombs,
 wcslen, wcscpy, wcsncpy):
Removed. No longer needed.
(iswalnum): Removed.
(gdk_iswalnum): New macro.
(gdk_iswspace): New macro.
* gdk/gdktype.h
(GdkWChar): New typedef.

* gtk/gtkentry.h, gtk/gtkentry.c
There are many changes according to the change of the
internal representation of text, from multibyte string
to wide characters.
* gtk/gtkprivate.h, gtk/gtkmain.c
Removed the variable gtk_use_mb and related codes.
* gtk/gtkspinbutton.c
Some changes according to the change of type of entry->text.
* gtk/gtktext.h, gtk/gtktext.c
Changed the internal representation of text. We use GdkWchar
if a fontset is supplied. If not, we use guchar to save
memory.