1. 28 Apr, 1998 1 commit
    • Elliot Lee's avatar
      Someone has to make SOME backwards incompatible changes sometime. I · 9556bba1
      Elliot Lee authored
      
      
      Someone has to make SOME backwards incompatible changes sometime. I
      switched around the prev & next pointers in GList.
      
      not. (Would this change make any functional difference? Discuss in a five
      page paper. :-)
      
      Actually, added g_list_position() - inverse of g_list_nth()
      9556bba1
  2. 07 Apr, 1998 1 commit
    • Owen Taylor's avatar
      Removed, because that's what a NULL comparison function means. And it · 1c77b5f9
      Owen Taylor authored
      Tue Apr  7 19:36:48 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gutils.c (g_direct_compare): Removed, because that's what
      	a NULL comparison function means. And it wasn't 64 bit safe.
      
      Tue Apr  7 19:14:03 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdkpixmap.c: Added maximum field widths to prevent
      	possible '%s' scanf overflows. Replaced scanf("%c")
      	with getc(), Don't interpret /*/ as a full comment. Use
      	g_realloc/g_new.
      
      	* gtk/gtkwidget.h gtk/gtkprivate.h: Changed all flag
      	tests to check for ((GTK_WIDGET_FLAGS(widget) & FLAG) != 0)
      	instead of (GTK_WIDGET_FLAGS(widget) & FLAG)
      
      	* gtk/gtkfilesel.c: Use getwd() instead of getcwd() on
      	SunOS, because getcwd() hangs up in a wait4().
      	(Found by David Monniaux <monniaux@clipper.ens.fr>)
      
      	- Check device/inode/mtime not just inode/mtime, when
      	caching scanned directories.
      	(From: scottk@ig.utexas.edu (Scott Kempf))
      
      	* gdk/gdkpixmap.c: Check for 0 width/height when
      	creating pixmaps.
      
      	* gtk/*.c: Global substitution of recently introduced
      	"MAX (0," for allocations to "MAX (1,", since
      	creating a backing pixmap with a zero width or height
      	fails.
      
      	* gdk/gdkwindow.c (gdk_window_new): Don't set all the
      	WM properties for child windows. Don't set the base
      	size, since the value we set will be taken as a minimum
      	size.
      1c77b5f9
  3. 06 Apr, 1998 1 commit
  4. 04 Apr, 1998 3 commits
  5. 27 Mar, 1998 1 commit
    • Owen Taylor's avatar
      If the widget is _not_ a descendant of a Window widget, propagate key · e0ea1f0c
      Owen Taylor authored
      Fri Mar 27 00:13:18 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c (gtk_propagate_event): If the widget is _not_
      	a descendant of a Window widget, propagate key presses like
      	other events.
      
      	* gtk/gtkentry.c gtk/gtktext.c: Ignore multiple simultaneous
      	button presses instead of treating subsequent presses as
      	release/press pairs for tablet compatibility.
      
      	* configure.in config.h.in: Removed inline checks, because they
      	are duplicated in glib.
      
      	* gtk/gtkwidget.c (gtk_widget_draw): When gtk_widget_draw ()
      	occurs with queued draw already in place, redraw _entire_
      	widget. (Pointed out by Tim Janik)
      e0ea1f0c
  6. 26 Mar, 1998 1 commit
    • Owen Taylor's avatar
      When gtk_widget_draw() is called on a REDRAW_PENDING widget, draw it and · a74e3385
      Owen Taylor authored
      Thu Mar 26 15:33:50 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkwidget.c: When gtk_widget_draw() is called on a
      	REDRAW_PENDING widget, draw it and remove it from the
      	queue instead of doing nothing.
      
      	* gtk/Makefile.am gdk/Makefile.am: Switch order of includes
      	directories, to make doubly sure that wrong glibconfig.h
      	isn't used. (See also glib/ChangeLog)
      
      	* gtk/gtkentry.c (gtk_entry_draw_focus): Don't draw the
      	cursor unless the entry is editable.
      
      	(From: Stefan Jeske <jeske@braunschweig.netsurf.de>)
      a74e3385
  7. 19 Mar, 1998 1 commit
  8. 18 Mar, 1998 1 commit
    • Owen Taylor's avatar
      ( From: James Henstridge <james@daa.com.au> ) · f9739e83
      Owen Taylor authored
      Wed Mar 18 11:09:10 1998  Owen Taylor  <owt1@cornell.edu>
      	( From: James Henstridge <james@daa.com.au> )
      
      	* gtk/gtkclist.c: Don't remove, then destroy labels in
      	  gtk_clist_set_column_[*], just remove them.
      
      	* gtk/gtkmain.c (gtk_invoke_timeout_function): call
      	  marshal when appropriate, not function.
      
      Tue Mar 17 14:15:07 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/testgtk.c (create_main_window): Alphabetize tests
      
      	* gtk/gtk[hv]paned.c: Change division on resize if
      	  necessary to keep handle visible.
      
      	* gtk/gtkgamma.c gtk/gtkcurve.c: Moved initialization into
      	  _init() functions.
      
      	* gtk/gtkscrolledwindow.c: Added missing _construct()
      	  functions.
      f9739e83
  9. 15 Mar, 1998 1 commit
    • Tim Janik's avatar
      don't cast a NULL pointer. · 9addd8da
      Tim Janik authored
      Sun Mar 15 08:27:06 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
      9addd8da
  10. 14 Mar, 1998 2 commits
  11. 10 Mar, 1998 1 commit
  12. 09 Mar, 1998 1 commit
    • Tim Janik's avatar
      made the <widget>_signals[] arrays of type guint rather than gint. made · d1871831
      Tim Janik authored
      Mon Mar  9 15:48:10 1998  Tim Janik  <timj@gimp.org>
      
              * Signal signedness and naming corrections, plus GtkType fixes:
      
              * gtk/gtkadjustment.c:
              * gtk/gtkbutton.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkclist.c:
              * gtk/gtkcolorsel.c:
              * gtk/gtkcontainer.c:
              * gtk/gtkcurve.c:
              * gtk/gtkdata.c:
              * gtk/gtkeditable.c:
              * gtk/gtkentry.c:
              * gtk/gtkhandlebox.c:
              * gtk/gtkinputdialog.c:
              * gtk/gtkitem.c:
              * gtk/gtklist.c:
              * gtk/gtkmenuitem.c:
              * gtk/gtkmenushell.c:
              * gtk/gtknotebook.c:
              * gtk/gtkstatusbar.c:
              * gtk/gtktoolbar.c:
              * gtk/gtktree.c:
              * gtk/gtktreeitem.c:
              * gtk/gtkwidget.c:
              * gtk/gtktogglebutton.c:
              * gtk/gtkwindow.c:
              made the <widget>_signals[] arrays of type guint rather than gint.
              * gtk/gtkwidget.c (gtk_widget_get_ancestor): made widget_type a GtkType.
      
              * gtk/gtkcombo.h:
              handler ids need to be of type guint (entry_change_id, list_change_id).
      
              * gtk/gtkaccelerator.c:
              changed signal_num to signal_id and typed it guint.
      
              * gtk/gtkmain.c: made gtk_ndebug_keys a guint.
      
              * gtk/gtkmenu.h:
              * gtk/gtkmenu.c:
              (gtk_menu_popup): made button a guint.
              (gtk_menu_set_active): made index a guint.
      
              * gtk/gtkmenuitem.h:
              * gtk/gtkmenuitem.c:
              made accelerator_signal a guint.
      
              * gtk/gtkoptionmenu.h:
              * gtk/gtkoptionmenu.c:
              (gtk_option_menu_set_history): made index a guint.
      
              * gtk/gtksignal.h:
              * gtk/gtksignal.c:
              * gtk/gtkobject.h:
              * gtk/gtkobject.c: changed a bunch of prototypes to take guints rather
              than gints. also made some conversions from guint to GtkType, left over
              from when the fundamental-types system was introduced.
      
              * gtk/gtkobject.h:
              * gtk/gtkobject.c: made object_data_id_index and obj_count guints.
              made *signals and nsignals guints in GtkObjectClass.
      d1871831
  13. 02 Mar, 1998 2 commits
    • Owen Taylor's avatar
      Miscellaneous minor fixes to remove ANSI C incompatibilities · 395ccd36
      Owen Taylor authored
      Mon Mar  2 17:48:38 1998  Owen Taylor  <owt1@cornell.edu>
      
      	Miscellaneous minor fixes to remove ANSI C incompatibilities
      
      	* gdk/gdkregion.c gtk/gtkclist.c: fix // comments
      
      	* gdk/gdkdnd.c gdk/gdkinputcommon.h: change types of
      	some arguments to ANSI functions
      
      	* gtk/gtkcombo.c gtk/gtktree.c: fix casts of function pointers
      	  to void *
      
      	* gtk/gtkmain.c: An actual bug! (in deprecated gtk_input_add_interp)
      
      	* gtk/gtknotebook.h: Bitfields must be gint or guint. (and should
      	  be guint)
      
      	* gtk/gtkstatusbar.c: trailing ';'
      
      	* gtk/testgtk.c: GList where there should have been GSList
      
      	* glib.h gutils.c : changed g_strcasecmp
      	  to take gchar* not guchar*
      
      	* testglib.c: Remove trailing ; after functions
      395ccd36
    • Owen Taylor's avatar
      Added g_string_insert[_c]() and g_string_erase(). · 80fd0a0c
      Owen Taylor authored
      Sun Mar  1 19:04:40 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* glib.h gstring.c: Added g_string_insert[_c]()
      	  and g_string_erase().
      
      	  From: Stefan Wille  <1wille@vsys1.informatik.uni-hamburg.de>
      80fd0a0c
  14. 17 Feb, 1998 1 commit
  15. 13 Feb, 1998 1 commit
  16. 10 Feb, 1998 1 commit
  17. 07 Feb, 1998 2 commits
  18. 31 Jan, 1998 1 commit
  19. 29 Jan, 1998 1 commit
  20. 27 Jan, 1998 2 commits
  21. 21 Jan, 1998 1 commit
    • Tim Janik's avatar
      Applied patch from (Raja R Harinath <harinath@cs.umn.edu>) to add function · 3ae8c300
      Tim Janik authored
      Wed Jan 21 01:13:25 1998  Tim Janik  <timj@psynet.net>
      
              * Applied patch from (Raja R Harinath <harinath@cs.umn.edu>)
                to add function g_snprintf.
              * configure.in (AC_CHECK_FUNCS): Check for vsnprintf.
              * glib.h: Add prototype for g_snprintf.
              * glibconfig.h.in: Add HAVE_VSNPRINTF.
              * gutils.c (g_snprintf): new function.
      3ae8c300
  22. 18 Jan, 1998 1 commit
  23. 10 Jan, 1998 1 commit
    • Tim Janik's avatar
      changed message for EAGAIN from "no more processes" to "try again" since · 75b20f2e
      Tim Janik authored
      Fri Jan  9 20:03:46 1998  Tim Janik  <timj@psynet.net>
      
              * gutils.c (g_strerror): changed message for EAGAIN from
              "no more processes" to "try again" since EAGAIN is used with
              functions else than fork().
      
              * gscanner.c (g_scanner_get_token_ll): use strtol() instead of
              strtoul() to avoid conflicts with solaris.
      
              * merged the glib portions from Jan 2 to Jan 7 out of gtk+/ChangeLog
              into this file.
      
      hey folks, could you *please* honour the glib/ChangeLog?
      75b20f2e
  24. 23 Dec, 1997 1 commit
    • Tim Janik's avatar
      new file for GScanner: Flexible lexical scanner for general purpose. added · e3956c28
      Tim Janik authored
              * gscanner.c: new file for GScanner: Flexible lexical scanner for
              general purpose.
              * glib_pre2.h: added GScanner includes. added g_strconcat and g_strtod.
              gutils.c (g_strconcat): new function for string concatenation of NULL
              terminated parameter list.
              (g_strtod): new function to perform best string to double conversion
              with or without consideration of the current locale.
      -timj
      e3956c28
  25. 15 Dec, 1997 1 commit
    • Tim Janik's avatar
      minor optimizations: (g_list_append): `if' optimized for common code path, · d55ed544
      Tim Janik authored
      Mon Dec 15 19:33:58 1997  Tim Janik  <timj@psynet.net>
      
              * glist.c: minor optimizations:
              (g_list_append): `if' optimized for common code path, commented out
              unneccessary `assert', saved one variable assignment.
              (g_list_prepend): saved two (conditioned) variable assignment.
              (g_list_insert): saved one  (conditioned) variable assignment,
              saved one variable assignment.
              (g_list_remove): `if' optimized for common code path, saved two
              variable assignments by using `g_list_free_1' (which is even
              faster) instead of `g_list_free'.
              (g_list_reverse): saved allocation of one variable, saved one
              variable assignment.
      d55ed544
  26. 10 Dec, 1997 1 commit
    • Tim Janik's avatar
      GLib: · 8a6dea2d
      Tim Janik authored
              * glib_pre1.h:
              * glib_pre2.h:
              * glib.h: this file now gets concatenated by makeglib_h from
              glib_pre1.h and glib_pre2.h to merge in glibconfig.h wich got
              created by configure (done by Jay Painter).
      
              * glib_pre2.h: the g_assert*() and g_return_*_fail() macros
              are wrapped by G_STMT_START and G_STMT_END now, to avoid conflicts
              when used within if (...) g_macro(); else ... conditionals.
      Gtk+:
              * fixed some compiler errors, because g_return_if_fail() wasn't used
              with a trailing semicolon in some places. fixed few other warnings also.
      
      -timj
      8a6dea2d
  27. 24 Nov, 1997 1 commit