1. 18 Dec, 1998 1 commit
    • Owen Taylor's avatar
      Add @INTLLIBS@. gtk-scier-981116-0.patch Sean Cier · 11339ec5
      Owen Taylor authored
      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>.
      11339ec5
  2. 17 Dec, 1998 9 commits
    • Owen Taylor's avatar
      Remove the info tag from the context so if the source unexpectedly · 1bde7a55
      Owen Taylor authored
      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>)
      1bde7a55
    • Owen Taylor's avatar
      Use setlocale (LC_ALL, NULL), not (LC_ALL, "") to query current locale. · 55ce42da
      Owen Taylor authored
      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>)
      55ce42da
    • Owen Taylor's avatar
      Free previous label->label_wc. · eba4c9a8
      Owen Taylor authored
      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.
      eba4c9a8
    • Sebastian Wilhelmi's avatar
      Define gdk_use_mb outside USE_XIM guard. Removed unnecessary USE_XIM guard · 06449beb
      Sebastian Wilhelmi authored
      
      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.
      06449beb
    • Shawn T. Amundson's avatar
      Released GTK+ 1.1.9 · 2fa22050
      Shawn T. Amundson authored
      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
      2fa22050
    • Manish Singh's avatar
      rm -rf intl breaks --disable-nls, put it back · a9575223
      Manish Singh authored
      * 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
      a9575223
    • CST 1998 Shawn T. Amundson's avatar
      updated call to g_main_add_poll instead of g_main_poll_add · b0ecac9f
      CST 1998 Shawn T. Amundson authored
      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
      b0ecac9f
    • Owen Taylor's avatar
      Remove unnecessary cast. · 47a65b73
      Owen Taylor authored
      Wed Dec 16 23:32:05 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_expose): Remove
      	unnecessary cast.
      47a65b73
    • Owen Taylor's avatar
      Check for broken glibc 2.0 mb functions, and avoid them. · b729f6e3
      Owen Taylor authored
      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.
      b729f6e3
  3. 16 Dec, 1998 16 commits
    • Arturo Espinosa's avatar
      *** empty log message *** · 2d0bb664
      Arturo Espinosa authored
      2d0bb664
    • Owen Taylor's avatar
      Don't call XPending() if we have putback events. · 45cdd91a
      Owen Taylor authored
      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.
      45cdd91a
    • Owen Taylor's avatar
      Do nothing on empty string, quietly. · b4ba8e3b
      Owen Taylor authored
      Wed Dec 16 16:04:41 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_expose): Do nothing
      	on empty string, quietly.
      b4ba8e3b
    • Owen Taylor's avatar
      Redraw the character under the cursor when removing the cursor. · c1726375
      Owen Taylor authored
      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.
      c1726375
    • Owen Taylor's avatar
      Move main thread lock back to GDK - we need it there for locking when · fcfe7370
      Owen Taylor authored
      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:
      fcfe7370
    • CST 1998 Shawn T. Amundson's avatar
      Released GTK+ 1.1.8 · 0dcdac58
      CST 1998 Shawn T. Amundson authored
      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
      0dcdac58
    • Sebastian Wilhelmi's avatar
      Define gdk_xim_ic only, if USE_XIM is defined. · 7f01a3d3
      Sebastian Wilhelmi authored
      
      1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gdk/gdkglobals.c: Define gdk_xim_ic only, if USE_XIM is defined.
      7f01a3d3
    • Tim Janik's avatar
      urg, fixups · 62347c40
      Tim Janik authored
      62347c40
    • Tim Janik's avatar
      version bump to 1.1.8, binary age 0, interface age 0, depend on GLib · 017dfc9e
      Tim Janik authored
      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.
      017dfc9e
    • Owen Taylor's avatar
      Update news for 1.1.8. · 2c9c7efb
      Owen Taylor authored
      2c9c7efb
    • CST 1998 Shawn T. Amundson's avatar
      warn if glib.m4 or gettext.m4 are not found in aclocal's directory. · 0fcd82d1
      CST 1998 Shawn T. Amundson authored
      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.
      0fcd82d1
    • Owen Taylor's avatar
      Create buttons, not combos again. · 7d7b43c2
      Owen Taylor authored
      Tue Dec 15 21:36:14 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testgtk.c (create_layout): Create buttons,
      	not combos again.
      7d7b43c2
    • Joel Becker's avatar
      8968861d
    • Lars Hamann's avatar
      removed clist flag : GTK_CLIST_DRAG_SELECTION added flags : · 8a202e6f
      Lars Hamann authored
      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
      8a202e6f
    • Owen Taylor's avatar
      Use base[NORMAL] instead of bg[PRELIGHT] so CLists now can be used in · 1566d988
      Owen Taylor authored
      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.
      1566d988
    • Jeff Garzik's avatar
      96501b34
  4. 15 Dec, 1998 14 commits
    • Elliot Lee's avatar
      Use G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking for · a8e00e21
      Elliot Lee authored
      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.
      a8e00e21
    • Martin Baulig's avatar
      Make the gettext check for for libc5 systems. · 3f1ffdac
      Martin Baulig authored
      1998-12-15  Martin Baulig  <martin@home-of-linux.org>
      
      	* acinclude.m4: Make the gettext check for for libc5 systems.
      3f1ffdac
    • Martin Baulig's avatar
      Not running gettextize fails on a fresh CVS checkout and we'll get a lot · cc7eba32
      Martin Baulig authored
      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.
      cc7eba32
    • Martin Baulig's avatar
      Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and AM_WITH_NLS_GTK to · 7b105fea
      Martin Baulig authored
      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.
      7b105fea
    • Owen Taylor's avatar
      Moved gtk_label_set() compatiblity define from <gtkcompat.h> to · d56a55a4
      Owen Taylor authored
      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.
      d56a55a4
    • Owen Taylor's avatar
      Provide a hacked version of the gettext macros that never use the included · dabb02d2
      Owen Taylor authored
      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.
      dabb02d2
    • Owen Taylor's avatar
      Added gdk_text_extents_wc() · a3c1e86f
      Owen Taylor authored
      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.
      a3c1e86f
    • Owen Taylor's avatar
      Added GTK_USER_DRAW flag. · 7eec796c
      Owen Taylor authored
      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.
      7eec796c
    • Owen Taylor's avatar
      Fixed up some warnings. · cceabe57
      Owen Taylor authored
      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.
      cceabe57
    • Owen Taylor's avatar
      Keep separate putback_events and queued_events queues so that we get both · 1bf27c35
      Owen Taylor authored
      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().
      1bf27c35
    • Owen Taylor's avatar
      Removed unused variable, fixed minor memory leak. · 9a9f4591
      Owen Taylor authored
      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.
      9a9f4591
    • Owen Taylor's avatar
      Remove gdk_signal, which crept back in in last commit. · a2fc714a
      Owen Taylor authored
      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
      a2fc714a
    • Owen Taylor's avatar
      Commented out testthreads from the build process, since we won't have any · a0c84d68
      Owen Taylor authored
      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.
      a0c84d68
    • Manish Singh's avatar
      acconfig.h removed IPC_RMID_DEFERRED_RELEASE check · 58475f05
      Manish Singh authored
      * 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
      58475f05