1. 15 Dec, 1998 15 commits
    • 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
    • Manish Singh's avatar
      autoconf says we need AC_ISC_POSIX. Whiner. · 30b9a287
      Manish Singh authored
      -Yosh
      30b9a287
    • Tim Janik's avatar
      include -lintl in LIBS · 931b25f2
      Tim Janik authored
      931b25f2
    • Sven Neumann's avatar
      Replaced the crappy de.po with a valid one. · d1edd7e4
      Sven Neumann authored
      (Bring me the haed of ...)
      
      
      --Sven
      d1edd7e4
  2. 14 Dec, 1998 7 commits
    • Owen Taylor's avatar
      Append locale-specific suffixes to default rc file names, and look these · 698a11c6
      Owen Taylor authored
      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().
      698a11c6
    • Nuno Ferreira's avatar
      Added Portuguese translation. · c46265c8
      Nuno Ferreira authored
      * Added Portuguese translation.
      c46265c8
    • Stefan Jeske's avatar
      Only call gtk_spin_button_update if the spinbutton is editable. · c242e9e3
      Stefan Jeske authored
      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.
      c242e9e3
    • Owen Taylor's avatar
      Added gettext-10.35 · 7facb75c
      Owen Taylor authored
      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.
      7facb75c
    • Tim Janik's avatar
      made GtkWidget::grab_focus a RUN_LAST and RUN_ACTION signal. moved stuff · edc14768
      Tim Janik authored
      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.
      edc14768
    • Tim Janik's avatar
      fixed submenu popup timeouts, we decide whether or not to delay the · 7ea8bb92
      Tim Janik authored
      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.
      7ea8bb92
    • Federico Mena Quintero's avatar
      Added a "grab_focus" signal for widgets. When the signal is emitted, the · 3441c3f2
      Federico Mena Quintero authored
      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().
      3441c3f2
  3. 13 Dec, 1998 2 commits
  4. 12 Dec, 1998 2 commits
  5. 11 Dec, 1998 6 commits
    • Owen Taylor's avatar
      Added "style_set" handlers. · 11a80511
      Owen Taylor authored
      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.
      11a80511
    • Owen Taylor's avatar
      Add in a "style_set" handler so that the background of the clist changes · 84b2d43d
      Owen Taylor authored
      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.
      84b2d43d
    • CST 1998 Shawn T. Amundson's avatar
      Released GTK+ 1.1.7 · 353a7158
      CST 1998 Shawn T. Amundson authored
      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
      353a7158
    • Manish Singh's avatar
      avoid void pointer math · 6af277b5
      Manish Singh authored
      * 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
      6af277b5
    • Owen Taylor's avatar
      Added gtk_drag_source_unset() · 939c8183
      Owen Taylor authored
      Thu Dec 10 21:48:34 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
      939c8183
    • Owen Taylor's avatar
      Use gdk_window_get_origin() instead of gdk_window_get_position, because · ba17081c
      Owen Taylor authored
      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?
      ba17081c
  6. 10 Dec, 1998 2 commits
  7. 09 Dec, 1998 6 commits
    • Owen Taylor's avatar
      Add a case for success in test for XUnregisterIMInstantiate, to prevent · 6413a421
      Owen Taylor authored
      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.
      6413a421
    • Sebastian Wilhelmi's avatar
      Fixed argument list and return type for non-XIM fallback. · d3483d01
      Sebastian Wilhelmi authored
      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.
      d3483d01
    • Owen Taylor's avatar
      Add in missing 'flags' field to target list. · dfa88ef9
      Owen Taylor authored
      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.
      dfa88ef9
    • Manish Singh's avatar
      put text after #endif in comment · adc2698d
      Manish Singh authored
      * 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
      adc2698d
    • Owen Taylor's avatar
      New file that holds code for dealing with X Input Methods. · a309b7dd
      Owen Taylor authored
      (Missing from last big commit)
      a309b7dd
    • Owen Taylor's avatar
      Destroy widgets _after_ propagating unrealize signals through the widget · 207757e7
      Owen Taylor authored
      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.
      207757e7