1. 18 Apr, 2006 1 commit
  2. 14 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 608a31b9
      Matthias Clasen authored
      2005-03-13  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in galias.h:
      
      	* glib/glib.symbols: Group symbols by header and source file.
      	* glib/makegalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegalias.pl -def
      	* glib/Makefile.am (galiasdef.c): Add a rule to generate this
      	file.
      	* glib/*.c: Include galias.h after the other GLib headers,
      	include galiasdef.c at the bottom.
      608a31b9
  3. 16 Sep, 2004 1 commit
  4. 17 May, 2004 1 commit
    • Matthias Clasen's avatar
      Merged from 2.4: · 96ea2146
      Matthias Clasen authored
      Sun May 16 23:23:29 2004  Matthias Clasen  <maclas@gmx.de>
      
              Merged from 2.4:
      
      	* glib/gcompletion.c (g_completion_add_items):
      	(g_completion_remove_items): Remove unnecessary
      	checks.  (#142559, Morten Welinder)
      96ea2146
  5. 04 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      New function which works like g_completion_complete(), but strips a · dd394749
      Matthias Clasen authored
      Thu Feb  5 00:56:28 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/gcompletion.c (g_completion_complete_utf8): New function which
      	works like g_completion_complete(), but strips a trailing incomplete
      	UTF-8 character from the prefix.  (#133313, Theppitak Karoonboonyanan)
      
      	* tests/completion-test.c (main): Some GCompletion tests.
      
      	* tests/Makefile.am: Add completion-test.
      dd394749
  6. 04 Dec, 2002 1 commit
  7. 14 Oct, 2002 1 commit
  8. 19 Jul, 2001 1 commit
  9. 23 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. · f5c28ce4
      Owen Taylor authored
      Wed Jun 20 12:00:54 2001  Owen Taylor  <otaylor@redhat.com>
      
              Changes for 64-bit cleanliness, loosely based on patch
      	from Mark Murnane.
      
      	* gconvert.c (g_convert/g_convert_with_fallback): Remove
      	workarounds for since-fixed GNU libc bugs. Minor
      	doc fix.
      
      	* gconvert.[ch]: Change gint to gsize/gssize as
      	appropriate.
      
      	* gconvert.c (g_locale/filename_to/from_utf8): Fix incorrect
      	computation of bytes_read / bytes_written.
      
      	* gfileutils.[ch] (g_file_get_contents): Make length
      	out parameter 'gsize *len'.
      
      	* ghook.c (g_hook_compare_ids): Don't compare a
      	and b as 'a - b'.
      
      	* gmacros.h (GSIZE_TO_POINTER): Add GPOINTER_TO_SIZE,
      	GSIZE_TO_POINTER.
      
      	* gmain.c (g_timeout_prepare): Rewrite to avoid
      	overflows. (Fixes bug when system clock skews
      	backwards more than 24 days.)
      
      	* gmarkup.[ch]: Make lengths passed to callbacks
      	gsize, length for g_markup_parse-context_parse(),
      	g_markup_escape_text() gssize.
      
      	* gmessages.[ch] (g_printf_string_upper_bound): Change
      	return value to gsize.
      
      	* gmessages.c (printf_string_upper_bound): Remove
      	a ridiculous use of 'inline' on a 300 line function.
      
      	* gstring.[ch]: Represent size of string as a gsize,
      	not gint. Make parameters to functions take gsize,
      	or gssize where -1 is allowed.
      
      	* gstring.c (g_string_erase): Make
      	g_string_erase (string, pos, -1) a synonym for
      	g_string_truncate for consistency with other G*
      	APIs.
      
      	* gstrfuncs.[ch]: Make all functions taking a string
      	length, take a gsize, or gssize if -1 is allowed.
      	(g_strstr_len, g_strrstr_len). Also fix some boundary
      	conditions in g_str[r]str[_len].
      
      	* gutf8.c tests/unicode-encoding.c: Make parameters that
      	are byte lengths gsize, gssize as appropriate. Make
      	character offsets, other counts, glong.
      
      	* gasyncqueue.c gcompletion.c
                timeloop.c timeloop-basic.c gutils.c gspawn.c.
      	Small 64 bit cleanliness fixups.
      
      	* glist.c (g_list_sort2, g_list_sort_real): Fix functions
      	that should have been static.
      
      	* gdate.c (g_date_fill_parse_tokens): Fix extra
      	declaration that was shadowing another.
      
      	* tests/module-test.c: Include string.h
      
      Mon Jun 18 15:43:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gutf8.c (g_get_charset): Make argument
      	G_CONST_RETURN char **.
      f5c28ce4
  10. 28 Nov, 2000 1 commit
    • Elliot Lee's avatar
      Fix warnings. · 790a7bd3
      Elliot Lee authored
      
      
      * gmarkup.c: Fix warnings.
      
      * guniprop.c, gunidecomp.c: Make warnings go away by using
      GPOINTER_TO_INT() instead of (int).
      
      * gcompletion.[ch]: Add g_completion_set_compare(),
      to allow (for example) using case-insensitive completion.
      
      * gobject/gsignal.c: Fix warnings about possible use of uninitialized
      variables, and fix logic that would leave 'node' unset in cases
      that it might be used in.
      
      * gobject/glib-genmarshal.c: Fix warning about printf format.
      790a7bd3
  11. 26 Jul, 2000 1 commit
  12. 19 May, 2000 1 commit
    • Tim Janik's avatar
      fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas · 1e5d06d4
      Tim Janik authored
      Fri May 19 09:00:44 2000  Tim Janik  <timj@gtk.org>
      
              * gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
              ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
      
              * gslist.c (g_slist_reverse): shut up compiler.
      
              * gscanner.c (g_scanner_get_token_ll): removed inline assignment.
      
              * garray.c: remove index>=0 checks for unsigned indices.
      
              * gmain.c (g_idle_prepare): timeout assignment fix.
      
              * gtree.c (g_tree_node_rotate_right): shut up compiler.
      1e5d06d4
  13. 24 Feb, 1999 1 commit
  14. 15 Dec, 1998 1 commit
    • Owen Taylor's avatar
      This commit merges the glib-threads branch into the main · 931ea952
      Owen Taylor authored
      branch. See the ChangeLog for details of the changes.
      
      In brief overview:
      
       - The set of threading functions can be set
       - A default implementation is provided in -lgthread
       - All static data structures are locked using these
         functions if g_thread_init() is called.
      931ea952
  15. 25 Jul, 1998 1 commit
  16. 10 Jun, 1998 1 commit