1. 10 Apr, 2013 1 commit
  2. 05 Feb, 2013 1 commit
  3. 15 Jan, 2013 1 commit
  4. 13 Jan, 2013 1 commit
  5. 28 Dec, 2012 1 commit
  6. 16 Nov, 2012 1 commit
  7. 15 Nov, 2012 2 commits
  8. 03 Nov, 2011 1 commit
  9. 12 Oct, 2011 1 commit
  10. 11 Oct, 2011 1 commit
  11. 09 Oct, 2011 1 commit
  12. 09 Sep, 2011 1 commit
  13. 09 Jun, 2011 1 commit
  14. 15 Mar, 2011 2 commits
  15. 22 Feb, 2011 1 commit
  16. 28 Jul, 2008 1 commit
    • Tor Lillqvist's avatar
      Fix problems on 64-bit Windows. Avoid warnings, some of which indicated · a3fa7485
      Tor Lillqvist authored
      2008-07-28  Tor Lillqvist  <tml@novell.com>
      
      	Fix problems on 64-bit Windows. Avoid warnings, some of which
      	indicated actual problems, some which were just annoyances. 
      
      	Where casts to an integer type are needed for pointers, use
      	gssize. Technically intptr_t would be the more proper type, but we
      	still want to be compilable with MSVS6 and 7 which don't have
      	intptr_t. MSVS8 and 9 do have intptr_t, but in <crtdefs.h>, not
      	<stdint.h>.
      
      	Use %p to print out handles. Use gssize casts when assigning
      	GPollFD::fd fields.
      
      	Use G_GSIZE_FORMAT when printing size_t values.
      	
      	* configure.in: Define automake conditional G_OS_WIN32_X64 which
      	is true on Win64.
      
      	* glib/giochannel.h: Use slightly different prototype for
      	g_io_channel_win32_new_messages() on Win64 with gsize instead of
      	guint.
      
      	* glib/giowin32.c
      	* glib/gmain.c
      	* glib/gspawn-win32.c
      	* tests/testglib.c: Generic changes as described above.
      
      	* glib/gmain.h: Don't bother mentioning GIMP in comment.
      
      	* glib/grel.c (tuple_hash_2): Use all bits of pointer.
      
      	* glib/gspawn-win32.c
      	* glib/gspawn-win32-helper.c: Use gssize types in the
      	communication between parent and helper process, so that we can
      	pass process handles, which are pointers, also on Win64.
      
      	* glib/gtimer.c (g_time_val_to_iso8601): time_t is 64 bits on
      	Win64 so we can't pass the address of a GTimeVal::tv_sec which is
      	a long directly to gmtime(). On the other hand, changing
      	GTimeVal::tv_sec to be a gint64 on Win64 is not really feasible
      	either, as that would then require changes in much code that uses
      	GTimeVals.
      
      	* glib/gspawn-win32.c
      	* glib/Makefile.am: Call the helper programs
      	gspawn-win64-helper.exe and gspawn-win64-helper-console.exe on
      	Win64, to avoid potential risk of running a 32-bit version of the
      	helper.
      
      
      svn path=/trunk/; revision=7260
      a3fa7485
  17. 19 Jun, 2008 1 commit
  18. 05 May, 2008 1 commit
    • Michael Natterer's avatar
      #define __GLIB_H_INSIDE__ around including everything. · e0aa9d8a
      Michael Natterer authored
      2008-05-05  Michael Natterer  <mitch@imendio.com>
      
      	* glib/glib.h: #define __GLIB_H_INSIDE__ around including
      	everything.
      
      	* glib/*.h: check for that define instead of __G_LIB_H__ if
      	G_DISABLE_SINGLE_INCLUDES is defined.
      
      	* glib/gdatasetprivate.h: #include <glib.h> instead of
      	<glib/gdataset.h>
      
      
      svn path=/trunk/; revision=6875
      e0aa9d8a
  19. 14 Mar, 2008 1 commit
    • Michael Natterer's avatar
      make it possible to disable single-file includes by defining · f4bb21aa
      Michael Natterer authored
      2008-03-14  Michael Natterer  <mitch@imendio.com>
      
      	* glib/*.h: make it possible to disable single-file includes by
      	defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
      	Approved by Tim Janik.
      
      	* glib/glib.h: include <glib/gslice.h>.
      
      	* glib/gi18n.h
      	* glib/gi18n-lib.h
      	* glib/gprintf.h: include <glib.h> so the above works when these
      	files are included without including <glib.h> first.
      
      
      svn path=/trunk/; revision=6713
      f4bb21aa
  20. 16 Dec, 2006 1 commit
  21. 08 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(), · c83e5260
      Matthias Clasen authored
      2004-11-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* glib/gasyncqueue.[hc]:
      	* glib/ghook.[hc]:
      	* glib/gmain.[hc]:
      	* glib/giochannel.[hc]: Make g_io_channel_ref(),
      	g_main_context_ref(), g_hook_ref(), g_async_queue_ref()
      	return the passed in pointer. (#151663, Manish Singh)
      c83e5260
  22. 29 Oct, 2004 1 commit
  23. 05 Jun, 2003 1 commit
    • Tor Lillqvist's avatar
      glib/giochannel.h Remove bogus (Win32-only) declaration of · 1cf610e2
      Tor Lillqvist authored
      2003-06-05  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/giochannel.h
      	* glib/gmain.h: Remove bogus (Win32-only) declaration of
      	g_main_poll_win32_msg_add(). No such function exists.
      
      	* glib/gmain.c (g_poll) [Win32]: Use g_win32_error_message() for
      	better warning messages.
      1cf610e2
  24. 08 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      Trivial s/foo/foo_/ fixes to make <glib.h> includable with -Wshadow · d201974f
      Soeren Sandmann authored
      Fri Nov  8 19:44:20 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/glib/tmpl/arrays.sgml:
      	* docs/reference/glib/tmpl/arrays_byte.sgml:
      	* docs/reference/glib/tmpl/arrays_pointer.sgml:
      	* docs/reference/glib/tmpl/date.sgml:
      	* docs/reference/glib/tmpl/linked_lists_double.sgml:
      	* docs/reference/glib/tmpl/linked_lists_single.sgml:
      	* docs/reference/glib/tmpl/main.sgml:
      	* docs/reference/glib/tmpl/queue.sgml:
      	* docs/reference/glib/tmpl/random_numbers.sgml:
      	* docs/reference/glib/tmpl/relations.sgml:
      	* docs/reference/glib/tmpl/scanner.sgml:
      	* docs/reference/gobject/tmpl/gtype.sgml:
      	* docs/reference/gobject/tmpl/value_arrays.sgml glib/garray.h:
      	* glib/gdate.h glib/giochannel.h glib/glist.h glib/gmain.c:
      	* glib/gmain.h glib/gqueue.c glib/gqueue.h glib/grand.c glib/grand.h:
      	* glib/grel.h glib/gslist.h glib/gtimer.h gobject/gvaluearray.h:
      
      	Trivial s/foo/foo_/ fixes to make <glib.h> includable with
      	-Wshadow without warnings (#91680)
      d201974f
  25. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Add a little bit of padding. · 67ea9743
      Owen Taylor authored
      Sat Feb 23 14:54:13 2002  Owen Taylor  <otaylor@redhat.com>
      
              * glib/giochannel.h (struct _GIOChannel): Add a little bit
              of padding.
      
              * glib/gmain.h (struct _GSource): Add a little bit of padding.
      67ea9743
  26. 15 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Updated. · 5d43b9ad
      Owen Taylor authored
      Fri Feb 15 10:41:51 2002  Owen Taylor  <otaylor@redhat.com>
      
              * NEWS: Updated.
      
              * configure.in: Require autoconf-2.52, run AC_SYS_LARGEFILE.
              (#71410, Sven Neumann)
      
              * glib/giounix.c glib/giowin32.c glib/giochannel.[ch]:
              Change offset type for g_io_channel_seek[_position] to
              gint64.
      5d43b9ad
  27. 10 Sep, 2001 2 commits
    • Ron Steinke's avatar
      Modified Files: glib/ChangeLog glib/glib/giochannel.h · d5485ef3
      Ron Steinke authored
      Modified Files:
      	glib/ChangeLog glib/glib/giochannel.h glib/glib/giochannel.c
      
      	* glib/giochannel.h glib/giochannel.c: Added a length argument
      	to g_io_channel_[set,get]_line_term(), allowing embeded nulls
      	and binary safe line termination strings
      
      	* glib/giochannel.c: Got rid of a compile warning in
      	g_io_channel_write_chars()
      d5485ef3
    • Tim Janik's avatar
      got rid of g_set_error_handler(), g_set_warning_handler(), · dc0b74d4
      Tim Janik authored
      Mon Sep 10 17:13:36 2001  Tim Janik  <timj@gtk.org>
      
              * glib/gmessages.h: got rid of g_set_error_handler(),
              g_set_warning_handler(), g_set_message_handler().
      
      Wed Sep  5 05:24:07 2001  Tim Janik  <timj@gtk.org>
      
              * gobject/tmpl/gboxed.sgml: documented some functions.
      
              * gobject/tmpl/objects.sgml: some fixups.
      
      Mon Sep 10 19:27:47 2001  Tim Janik  <timj@gtk.org>
      
              * gtype.[hc]:
              g_type_add_interface*(): implement the ability to add an interface to
              a type whose parents already conform to this interface.
              such "overriding" interfaces, when initialized, are not just initialized
              with 0, but with a copy of the interface they override.
              g_type_interface_peek_parent(): new function, return the interface
              that this interface "overrides", if any.
      
              * testgruntime.c: test new interface stuff.
      dc0b74d4
  28. 03 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Add closure_marshal/closure_callback fields to GSourceFuncs for use by · b4c3107c
      Owen Taylor authored
      Mon Aug 27 14:56:12 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* glib/gmain.h: Add closure_marshal/closure_callback
      	fields to GSourceFuncs for use by g_source_set_closure().
      
      	* glib/gmain.c glib/giounix.c glib/giowin32.c
      	  glib/gmain.h: Export the SourceFuncs vtables so GObject
      	can use them to figure out closure callbacks/marshallers
      	for the default source types.
      
      Mon Aug 27 14:55:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gsourceclosure.[ch] (g_source_set_closure): Implement.
      
      	* gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition.
      b4c3107c
  29. 29 Aug, 2001 1 commit
  30. 23 Aug, 2001 1 commit
  31. 16 Aug, 2001 1 commit
    • Ron Steinke's avatar
      Modified Files: glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c · e7931deb
      Ron Steinke authored
      Modified Files:
      	glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c
      	glib/glib/giochannel.h glib/glib/glib.def
      	glib/docs/reference/ChangeLog
      	glib/docs/reference/glib/glib-sections.txt
      
      	* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
      	new functions g_io_channel_[set,get]_close_on_unref ()
      
      	* glib/giochannel.c: glib/giochannel.h: Documentation fixes
      
      	* glib/giochannel.c: Fixed g_io_channel_write_chars ()
      	so that bytes_written is always set to an appropriate
      	value when it returns
      
      	* glib/giounix.c: changed g_io_channel_get_flags () to
      	set the is_readable and is_writeable flags cached
      	by the channel
      
      	* docs/reference/glib/glib-sections.txt: Added
      	declarations for g_io_channel_[set,get]_close_on_unref
      e7931deb
  32. 05 Aug, 2001 1 commit
    • Ron Steinke's avatar
      Modified Files: glib/ChangeLog glib/glib/giochannel.h · ec759772
      Ron Steinke authored
      Modified Files:
      	glib/ChangeLog glib/glib/giochannel.h glib/glib/giochannel.c
      	glib/glib/glib.def glib/docs/reference/glib/glib-sections.txt
      
              * glib/giochannel.c glib/giochannel.c glib/glib.def
              docs/reference/glib/glib-sections.txt: Added new functions
              g_io_channel_[read,write]_unichar ()
      
              * glib/giochannel.h: Finally remembered to remove the
              old error message G_IO_CHANNEL_ERROR_PCHAR_FLUSH
      
              * glib/giochannel.c: Some fixes to g_io_channel_fill_buffer ()
              and g_io_channel_write_chars ()
      ec759772
  33. 03 Aug, 2001 1 commit
  34. 31 Jul, 2001 1 commit
  35. 20 Jul, 2001 1 commit
    • Ron Steinke's avatar
      Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c · e070fdea
      Ron Steinke authored
           Modified Files:
       	glib/ChangeLog glib/glib.def glib/glib/giochannel.c
       	glib/glib/giochannel.h glib/glib/giounix.c
       	glib/glib/giowin32.c
       	glib/docs/reference/glib/glib-sections.txt
       	glib/tests/iochannel-test.c glib/tests/unicode-collate.c
       	glib/tests/unicode-normalize.c
           Added Files:
       	glib/tests/iochannel-test-infile
      
              * glib/giochannel.c: API changes, fixes to
              error handling, some internal restructuring
              * glib/giochannel.h: API changes, documentation for
              elements in GIOChannel structure
              * glib/giounix.c: Matched API changes, implemented
              backend to set is_readable, is_writeable, is_seekable
              flags, added a test to catch large values of count
              for which the behavior of write() is undefined
              * glib/giowin32.c: Changed to match new prototypes for
              io_close() and io_seek(), removed references to
              G_IO_STATUS_INTR, set is_seekable flag in channel
              creation functions
              * glib.def: Renamed g_channel_error_quark() and
              g_channel_error_from_errno() to g_io_channel_error_quark() and
              g_io_channel_error_from_errno(); added new functions
              g_io_channel_get_buffered() and g_io_channel_set_buffered()
              * docs/reference/glib/glib-sections.txt: Modified iochannel
              section to reflect new functions and API changes
              * tests/iochannel-test.c: Fixed to work with API changes
              * tests/iochannel-test-infile: New file; input file
              for iochannel-test
              * tests/unicode-collate.c tests/unicode-normalize.c:
              Changed G_IO_FILE_MODE_READ to "r" to match API change
      e070fdea
  36. 30 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Jun 29 13:36:39 2001 Owen Taylor <otaylor@redhat.com> · 42a23950
      Owen Taylor authored
              * glib/gstring.[ch] (g_string_set_size): Add function to
              allow setting the length of a string greater than the
              current length (for buffering usage)
      
              * glib/gstring.[ch]: Expose string->allocated_len, since
              that is useful when using GString simply as a buffer.
              (Renamed from string->alloc)
      
              * glib/giochannel.[ch] glib/giounix.c glib/giowin32.c:
              Major patch from Hidetoshi Tajima and Ron Steinke
              reworking GIOChannel to have:
      
               - Buffering
               - Sane and useful error reporting
               - Streaming encoding conversion with iconv
               - Convenience functions to read by lines or
                 an entire file.
      
              Also fix remaining 64 bit cleanliness issues.
      
              * tests/iochannel-test.c tests/Makefile.am: Test case
              for IO channel streaming conversion. Still needs
              some fixing up.
      42a23950
  37. 26 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Move glib library into a subdirectory, make all GLib include files include · 2fd6b001
      Owen Taylor authored
      Tue Jun 26 11:43:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.am *.[ch] glib/*.[ch] glib/Makefile.am:
      	Move glib library into a subdirectory, make all GLib include
      	files include as <glib/glist.h>
      
      	* tests/testglib.c tests/testgdate.c tests/testgdateparser.c
      	  tests/timeloop.c tests/timeloop-basic.c: Move all tests into
      	the tests/ subdirectory.
      2fd6b001