1. 04 Sep, 2018 1 commit
    • Iain Lane's avatar
      Document that GTimeVal is subject to the year 2038 problem on 32-bit systems · 68a4e273
      Iain Lane authored
      It might not be immediately obvious that this is the case. Let's record
      it in the description of `GTimeVal` itself and also in
      We also drop an incorrect statement in the documentation for
      `g_time_val_from_iso8601` stating that years up to 3000 were supported;
      this is also not true for the same reason.
      Related: #1509
  2. 10 Aug, 2018 1 commit
  3. 06 Aug, 2018 3 commits
  4. 27 May, 2018 1 commit
  5. 24 May, 2017 1 commit
    • Sébastien Wilmet's avatar
      glib/: LGPLv2+ -> LGPLv2.1+ · f9faac76
      Sébastien Wilmet authored
      All glib/*.{c,h} files have been processed, as well as gtester-report.
      12 of those files are not licensed under LGPL:
      Some of them are generated files, some are licensed under a BSD-style
      license and win_iconv.c is in the public domain.
      Sub-directories inside glib/:
      	deprecated/: processed in a previous commit
      	glib-mirroring-tab/: already LGPLv2.1+
      	gnulib/: not modified, the code is copied from gnulib
      	libcharset/: a copy
      	pcre/: a copy
      	tests/: processed in a previous commit
  6. 05 May, 2017 1 commit
  7. 02 May, 2017 1 commit
  8. 20 Feb, 2014 1 commit
  9. 06 Feb, 2014 1 commit
  10. 31 Jan, 2014 1 commit
  11. 01 Jan, 2014 1 commit
    • Matthias Clasen's avatar
      Remove broken attempt at parsing date-only · 27e35298
      Matthias Clasen authored
      g_time_val_from_iso8601 was attempting to parse strings
      having only a date, but failed to actually set the timeval
      despite returning TRUE. Since the docs state that the function
      only parses strings containing a date and a time, just return
      FALSE in this case.
      Also remove an incomplete testcase for this behaviour that was
      just checking the boolean return value, but not timeval.
  12. 20 Nov, 2013 1 commit
    • Dan Winship's avatar
      Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX · 158dde05
      Dan Winship authored
      In Windows development environments that have it, <unistd.h> is mostly
      just a wrapper around several other native headers (in particular,
      <io.h>, which contains read(), close(), etc, and <process.h>, which
      contains getpid()). But given that some Windows dev environments don't
      have <unistd.h>, everything that uses those functions on Windows
      already needed to include the correct Windows header as well, and so
      there is never any point to including <unistd.h> on Windows.
      Also, remove some <unistd.h> includes (and a few others) that were
      unnecessary even on unix.
  13. 01 Nov, 2012 1 commit
  14. 18 Nov, 2011 1 commit
  15. 15 Nov, 2011 1 commit
    • Matthias Clasen's avatar
      Move remaining docs inline · 3f0d2752
      Matthias Clasen authored
      This introduces a fake source file just for holding
      docs that have no good place elsewhere. Not great, but
      better than templates.
  16. 11 Oct, 2011 1 commit
  17. 04 Oct, 2011 1 commit
  18. 20 Sep, 2011 1 commit
  19. 01 Feb, 2011 1 commit
  20. 22 Nov, 2010 1 commit
  21. 09 Nov, 2010 2 commits
  22. 03 Nov, 2010 2 commits
    • Allison Karlitskaya's avatar
      Clean up g_usleep() · 38e7aa98
      Allison Karlitskaya authored
      Remove some code that was written in 2000 to support OSes that do not
      have nanosleep().  nanosleep() has been specified (in POSIX-1.2001) for
      almost a decade now, so assume we have it (except on Windows).
      Remove the checks for nanosleep and nsleep from configure.ac.
      We're removing this code because we honestly believe that nobody will be
      affected.  If this change negatively impacts you, please file a bug.
    • Allison Karlitskaya's avatar
      GTimer: switch to monotonic time · a48faa0a
      Allison Karlitskaya authored
      and remove docs notes about threads having to be initialised.
  23. 06 Sep, 2010 1 commit
  24. 04 Sep, 2010 2 commits
  25. 26 Aug, 2010 1 commit
  26. 07 Jul, 2010 1 commit
  27. 31 Jan, 2010 2 commits
  28. 02 Dec, 2009 1 commit
  29. 01 Sep, 2009 1 commit
  30. 08 Apr, 2009 1 commit
    • Peter Kjellerstedt's avatar
      Fix parsing of timezones · efc2cdbf
      Peter Kjellerstedt authored
      Make g_time_val_from_iso8601 handle timezones with minutes correctly;
      also accept comma as a fraction separator.  (#578369)
  31. 31 Jan, 2009 1 commit
  32. 15 Sep, 2008 1 commit
    • Tor Lillqvist's avatar
      time_t is 64 bits in all the newer Microsoft C libraries, not just 64-bit · 6af6a8da
      Tor Lillqvist authored
      2008-09-16  Tor Lillqvist  <tml@novell.com>
      	* glib/gtimer.c (g_time_val_to_iso8601): time_t is 64 bits in all
      	the newer Microsoft C libraries, not just 64-bit ones. So to avoid
      	crash if compiled with newer MSVSes, use a separate time_t
      	variable in all cases on Windows.
      svn path=/trunk/; revision=7496
  33. 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
      	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
      	* 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
      	* 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
      svn path=/trunk/; revision=7260
  34. 21 Jul, 2008 1 commit