1. 02 Jan, 1999 2 commits
    • Jeff Garzik's avatar
      Removed features.h test. · d6890b72
      Jeff Garzik authored
              * configure.in, config.h.in, gdk/gdkimage.c:
              Removed features.h test.
      
              * gdk/gdkdnd.c:
              Guard public functions against NULL pointer derefs.
      d6890b72
    • Manish Singh's avatar
      gdk/gdk.c gdk/gdkinputnone.h casts to get rid of const warnings · a6da2cf9
      Manish Singh authored
      * gdk/gdk.c
      * gdk/gdkinputnone.h
      * gtk/gtkruler.c: casts to get rid of const warnings
      
      * gtk/Makefile.am: fix gtktypebuiltins.h dependencies, and do a
      cmp so people don't whine about rebuilds
      
      * gtk/gtknotebook.c: use g_snprintf on translated strings, so we
      don't get buffer overflows
      
      * gtk/gtkrc.c: use g_strdup_printf instead of g_malloc/sprintf
      Plug some memleaks.
      
      -Yosh
      a6da2cf9
  2. 01 Jan, 1999 1 commit
    • Jeff Garzik's avatar
      Check for features.h. · 7433badf
      Jeff Garzik authored
              * configure.in, config.h.in:
              Check for features.h.
      
              * gdk/gdkevents.c (gdk_event_put, gdk_events_queue):
              Fixed bug in linked list append logic by replacing hand-coded
              logic with a call to g_list_append.  Bug found by tml.
      
              * gdk/gdkimage.c:
              'gcc -ansi -pedantic' on GNU/Linux spews warnings and errors
              in sys/ipc.h, including one specific admonishment to use
              _SVID_SOURCE or _XOPEN_SOURCE.  Manually defined the latter, and
              included features.h if present to obtain the necessary
              side-effects.
      
              * gtk/gtkclist.c, gtk/gtkeditable.c:
              Eliminates comma-after-final-element warnings.
      
              * gtk/gtkfontsel.c (gtk_font_selection_init):
              Fixed bug where an intl string was declared as _("x") in
              local var initializer.
      7433badf
  3. 31 Dec, 1998 3 commits
  4. 29 Dec, 1998 1 commit
  5. 24 Dec, 1998 4 commits
    • Jeff Garzik's avatar
      x Pull in string.h for various mem*() and str*() functions, in an · fc07d22a
      Jeff Garzik authored
      x
         Pull in string.h for various mem*() and str*() functions,
              in an autoconf-friendly way.
      x
      fc07d22a
    • Jeff Garzik's avatar
      removed unused var 64-bit cast point to const data Made const-correct. · 553fa430
      Jeff Garzik authored
              * 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
      553fa430
    • CST 1998 Shawn T. Amundson's avatar
      Released GTK+ 1.1.10 · 9775547b
      CST 1998 Shawn T. Amundson authored
      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>
      9775547b
    • Owen Taylor's avatar
      Update to changelog, to cover fix that previously slipped in. · b596355d
      Owen Taylor authored
      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.
      b596355d
  6. 23 Dec, 1998 2 commits
    • Owen Taylor's avatar
      label->label should be the mb text _after_ removing the underlines, not · c6cf882e
      Owen Taylor authored
      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.
      c6cf882e
    • Elliot Lee's avatar
      */Makefile.am: Now passes 'make distcheck'. Now loops. I'm not sure what · fb833c47
      Elliot Lee authored
      
      
      */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.
      fb833c47
  7. 22 Dec, 1998 3 commits
    • Owen Taylor's avatar
      Request XmTRANFER_FAILURE on Motif drops not within a drop zone. I don't · 08b22dde
      Owen Taylor authored
      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.
      08b22dde
    • Owen Taylor's avatar
      Return TRUE for button press events we handle. (Allows option menus in · 1f8fd887
      Owen Taylor authored
      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...)
      1f8fd887
    • Owen Taylor's avatar
      Optimization - when we've already found a widget, skip all checks for · 7f0156c2
      Owen Taylor authored
      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().
      7f0156c2
  8. 21 Dec, 1998 1 commit
    • Lars Hamann's avatar
      fixed column resize bug · df7d275d
      Lars Hamann authored
      Mon Dec 21 22:01:49 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
      df7d275d
  9. 20 Dec, 1998 3 commits
  10. 19 Dec, 1998 6 commits
    • Owen Taylor's avatar
      Don't add the gthread libs to GLIB_LIBS either, or -lgthread -lpthread · 651e2f74
      Owen Taylor authored
      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.
      651e2f74
    • Manish Singh's avatar
      always run a g_main_iteration, even if there are no active main loops. · 5225ae61
      Manish Singh authored
      * gtk/gtkmain.c: always run a g_main_iteration, even if
      there are no active main loops. This fixes the gimp splash
      screen.
      
      -Yosh
      5225ae61
    • Tim Janik's avatar
      removed return_if_fail (label->words != NULL) since that's a valid case · 8fc5066a
      Tim Janik authored
      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).
      8fc5066a
    • Manish Singh's avatar
      ee173b48
    • Lars Hamann's avatar
      fixed GDK_2BUTTON_PRESS bug. · 2231b92b
      Lars Hamann authored
      Sat Dec 19 01:56:13 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.c (gtk_clist_button_press): fixed GDK_2BUTTON_PRESS
       	bug.
      2231b92b
    • Manish Singh's avatar
      add ja.po to ALL_LINGUAS · 690fa02b
      Manish Singh authored
      -Yosh
      690fa02b
  11. 18 Dec, 1998 5 commits
    • Owen Taylor's avatar
      Marked plug window as destroyed before destroying the window. · 6704cf6e
      Owen Taylor authored
      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.
      6704cf6e
    • Owen Taylor's avatar
      Set the usize on the tearoff window so when we reparent the window out, · 8592d1c3
      Owen Taylor authored
      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.
      8592d1c3
    • Sebastian Wilhelmi's avatar
      do not export the glib flags for thread support to gtk-config. · 1a6d6e06
      Sebastian Wilhelmi authored
      
      1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* configure.in: do not export the glib flags for thread support to
      	gtk-config.
      1a6d6e06
    • Tim Janik's avatar
      added gdk_flush() after g_main_run(), so we get the original behaviour · d2dc06da
      Tim Janik authored
      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.
      d2dc06da
    • 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
  12. 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