1. 18 Sep, 2008 1 commit
    • Matthias Clasen's avatar
      Bump version to 2.19.0 · a44ff6ef
      Matthias Clasen authored
      2008-09-18  Matthias Clasen <mclasen@redhat.com>
      
              * configure.in: Bump version to 2.19.0
      
              * ChangeLog.pre-2-18: rotate ChangeLog
      
              * === branch for 2.18 ===
      
      
      svn path=/trunk/; revision=7510
      a44ff6ef
  2. 17 Sep, 2008 3 commits
  3. 15 Sep, 2008 4 commits
  4. 13 Sep, 2008 1 commit
    • Tor Lillqvist's avatar
      glib/gutils.h Deprecate G_WIN32_DLLMAIN_FOR_DLL_NAME(), · e55fca95
      Tor Lillqvist authored
      2008-09-13  Tor Lillqvist  <tml@novell.com>
      
      	* glib/gutils.h
      	* glib/gwin32.h: Deprecate G_WIN32_DLLMAIN_FOR_DLL_NAME(),
      	g_win32_get_package_installation_directory() and
      	g_win32_get_package_installation_subdirectory() as their
      	documentation has warned for a while. Sorry that I forgot to do
      	this before 2.18.0.
      
      	* glib/gwin32.c (g_win32_get_package_installation_directory):
      	Print a warning if a non-NULL package parameter is passed to this
      	function, as that is deprecated usage, as the documentation says.
      
      
      svn path=/trunk/; revision=7480
      e55fca95
  5. 11 Sep, 2008 2 commits
  6. 10 Sep, 2008 2 commits
  7. 09 Sep, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 523463 – Core dump in gmain.c:2482:IA__g_main_context_check() · b36ea0b1
      Matthias Clasen authored
      2008-09-09  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 523463 – Core dump in gmain.c:2482:IA__g_main_context_check()
      
              * glib/gmain.c (g_main_context_check): Be robust against setting
              event fields on the fly, as e.g. happens in linc. Tracked down
              by Paul Smith, fix proposed by Owen Taylor.
      
      svn path=/trunk/; revision=7447
      b36ea0b1
  8. 08 Sep, 2008 1 commit
  9. 02 Sep, 2008 7 commits
    • Matthias Clasen's avatar
      Bump version · 6905f5c5
      Matthias Clasen authored
      svn path=/trunk/; revision=7436
      6905f5c5
    • Matthias Clasen's avatar
      2.18.0 · e43de8e0
      Matthias Clasen authored
      svn path=/trunk/; revision=7434
      e43de8e0
    • Allison Karlitskaya's avatar
      Bug 549771 – improved .gitignore for glib · 920f3bff
      Allison Karlitskaya authored
      2007-09-02  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 549771 – improved .gitignore for glib
      
              * docs/reference/.gitignore:
              * docs/reference/gio/.gitignore:
              * docs/reference/gobject/tmpl/.gitignore:
              * gio/.gitignore:
              * gio/tests/.gitignore:
              * glib/.gitignore:
              * glib/libcharset/.gitignore:
              * glib/tests/.gitignore:
              * gmodule/.gitignore:
              * gobject/.gitignore:
              * gobject/tests/.gitignore:
              * po/.gitignore:
              * tests/.gitignore: new files
              * .gitignore: remove 'build' (since it's part of glib now), add more
              useful things.
      
      
      svn path=/trunk/; revision=7432
      920f3bff
    • Matthias Clasen's avatar
      Updates · 8f5a2e0d
      Matthias Clasen authored
      svn path=/trunk/; revision=7431
      8f5a2e0d
    • Matthias Clasen's avatar
      Bump version to 2.18.0 · 691c77e3
      Matthias Clasen authored
      svn path=/trunk/; revision=7430
      691c77e3
    • Matthias Clasen's avatar
      Fix up docs · 11cc2e2a
      Matthias Clasen authored
      svn path=/trunk/; revision=7424
      11cc2e2a
    • Michael Natterer's avatar
      add g_return_if_fail (checksum != NULL) · ed2bbc43
      Michael Natterer authored
      2008-09-02  Michael Natterer  <mitch@imendio.com>
      
      	* glib/gchecksum.c (g_checksum_reset): add
      	g_return_if_fail (checksum != NULL)
      
      
      svn path=/trunk/; revision=7423
      ed2bbc43
  10. 01 Sep, 2008 1 commit
    • Paolo Borelli's avatar
      Bug 550040 - Move GString, rand and printf tests to the unit test · e6eb8095
      Paolo Borelli authored
      2008-09-01  Paolo Borelli  <pborelli@katamail.com>
      
      	Bug 550040 - Move GString, rand and printf tests to the unit test
      	framework
      
      	* tests/printf-test.c:
      	* tests/rand-test.c:
      	* tests/string-test.c:
      	Removed
      
      	* glib/tests/printf.c:
      	* glib/tests/rand.c:
      	* glib/tests/string.c:
      	Added
      
      	* tests/Makefile.am:
      	* glib/tests/Makefile.am:
      	Updated for the above
      
      
      svn path=/trunk/; revision=7419
      e6eb8095
  11. 31 Aug, 2008 1 commit
    • Emmanuele Bassi's avatar
      Bug 550096 – GBookmarkFile parser is not forward compatible · e701ea96
      Emmanuele Bassi authored
      2008-08-31  Emmanuele Bassi  <ebassi@gnome.org>
      
      	Bug 550096 – GBookmarkFile parser is not forward compatible
      
      	* glib/gbookmarkfile.c:
      	(parse_bookmark_element), (parse_application_element),
      	(parse_mime_type_element), (parse_icon_element): Relax the
      	attributes checking of the GBookmarkFile parser for the
      	attributes that the desktop bookmark file specification
      	defines and controls. This allows adding new attributes to
      	the existing elements in newer versions without breaking the
      	parser in older ones.
      
      svn path=/trunk/; revision=7418
      e701ea96
  12. 29 Aug, 2008 1 commit
    • Allison Karlitskaya's avatar
      Fixup for test case in previous commit. · 2edf9284
      Allison Karlitskaya authored
      2008-08-28  Ryan Lortie  <desrt@desrt.ca>
      
              Fixup for test case in previous commit.
      
              * glib/tests/strfuncs.c: don't fail if we can't open the test data.
              This happens if $(builddir) != $(srcdir) (like when doing 'make
              distcheck').  Quick workaround for now until #549783 can be fixed.
      
      
      svn path=/trunk/; revision=7415
      2edf9284
  13. 28 Aug, 2008 5 commits
    • Allison Karlitskaya's avatar
      [REVERT] Bug 548612 – g_strstr_len() should use memmem when available · 2cf0f485
      Allison Karlitskaya authored
      2008-08-28  Ryan Lortie  <desrt@desrt.ca>
      
              [REVERT] Bug 548612 – g_strstr_len() should use memmem when available
      
              * glib/gstrfuncs.c (g_strstr_len): fix off-by-one memory access error
              * glib/tests/strfuncs.c (test_bounds): add some new test cases that
              would catch problems like this
              * glib/tests/4096-random-bytes: test data for the previous
              * glib/tests/Makefile.am: add previous to EXTRA_DIST
      
      
      svn path=/trunk/; revision=7414
      2cf0f485
    • Allison Karlitskaya's avatar
      [REVERT] Bug 548612 – g_strstr_len() should use memmem when available · ef4df848
      Allison Karlitskaya authored
      2008-08-28  Ryan Lortie  <desrt@desrt.ca>
      
              [REVERT] Bug 548612 – g_strstr_len() should use memmem when available
      
              * configure.in:
              * glib/gstrfuncs.c (g_strstr_len): revert use of memmem (see bug)
      
      
      svn path=/trunk/; revision=7413
      ef4df848
    • Matthias Clasen's avatar
      Fix selinux linking · 0eca17a9
      Matthias Clasen authored
      svn path=/trunk/; revision=7412
      0eca17a9
    • Michael Natterer's avatar
      make "endptr" const since it's always a pointer into the const string · 13fe35b6
      Michael Natterer authored
      2008-08-28  Michael Natterer  <mitch@imendio.com>
      
      	* glib/gstrfuncs.c (g_parse_long_long): make "endptr" const since
      	it's always a pointer into the const string passed. Remove some
      	casting to (gchar*) in this function.
      
      	(g_ascii_strtoull)
      	(g_ascii_strtoll): cast "endptr" to (const gchar**) here when
      	passing it to above function.
      
      
      svn path=/trunk/; revision=7410
      13fe35b6
    • Bastien Nocera's avatar
      Bug 548612 – g_strstr_len() should use memmem when available · f84518e3
      Bastien Nocera authored
      2008-08-28  Bastien Nocera  <hadess@hadess.net>
      
      	Bug 548612 – g_strstr_len() should use memmem when available
      
      	* glib/tests/strfuncs.c (test_strstr):
      	* tests/string-test.c (main): Patch by Paolo Borelli
      	<pborelli@katamail.com> to move the tests to the right place,
      	and add more tests
      
      	* glib/gstrfuncs.c (g_strstr_len): Fix problem with memmem ignoring
      	nul-terminators in strings, and using the haystack_len instead
      
      
      svn path=/trunk/; revision=7409
      f84518e3
  14. 27 Aug, 2008 3 commits
    • Bastien Nocera's avatar
      Bug 548612 – g_strstr_len() should use memmem when available · 5e2a6047
      Bastien Nocera authored
      2008-08-28  Bastien Nocera  <hadess@hadess.net>
      
      	Bug 548612 – g_strstr_len() should use memmem when available
      
      	* configure.in: detect whether memmem is available in the C library
      	* glib/gstrfuncs.c (g_strstr_len): use memmem for g_strstr_len() if
      	available in it's available, as it could be optimised by the C library
      	* tests/string-test.c (main): Add a few tests for g_strstr_len()
      
      
      svn path=/trunk/; revision=7407
      5e2a6047
    • Tor Lillqvist's avatar
      Stylistic changes. Plug an unlikely memory leak that occurred in · 2c5de8ed
      Tor Lillqvist authored
      2008-08-27  Tor Lillqvist  <tml@novell.com>
      
      	* glib/giowin32.c: Stylistic changes. Plug an unlikely memory leak
      	that occurred in create_thread() if closing the thread handle
      	failed. Add more error messages to g_io_win32_free() that are
      	printed only when debugging. Plug handle leak, a socket channel's
      	event was never closed.
      
      
      svn path=/trunk/; revision=7405
      2c5de8ed
    • Tor Lillqvist's avatar
      Should not define HAVE_DIRENT_H when compiling with MSVC, as the only file · 194493f3
      Tor Lillqvist authored
      2008-08-27  Tor Lillqvist  <tml@novell.com>
      
      	* config.h.win32.in: Should not define HAVE_DIRENT_H when
      	compiling with MSVC, as the only file which checks HAVE_DIRENT_H
      	is gdir.c, and that includes the dirent.h and wdirent.c from
      	build/win32/dirent explicitly anyway when being compiled with
      	MSVC.
      
      
      svn path=/trunk/; revision=7403
      194493f3
  15. 22 Aug, 2008 1 commit
    • Björn Lindqvist's avatar
      Bug 523939 – Example program for GValue · 886c0e0d
      Björn Lindqvist authored
      2008-08-22  Björn Lindqvist  <bjourne@gmail.com>
      
      	Bug 523939 – Example program for GValue
      
      	* gobject/gvalue.c: Add code example that demonstrates GValue's
      	features.
      
      svn path=/trunk/; revision=7387
      886c0e0d
  16. 21 Aug, 2008 5 commits
    • Tor Lillqvist's avatar
      Don't bother compiling the binary compatibility · 54d62aa3
      Tor Lillqvist authored
      2008-08-21  Tor Lillqvist  <tml@novell.com>
      
      	* glib/giowin32.c: Don't bother compiling the binary
      	compatibility g_io_channel_win32_new_stream_socket()
      	function that has not been mentioned in any header since 2.0 on
      	Win64.
      
      	* glib/glib.symbols: Mark it, too, private, and don't export it on
      	Win64.
      
      
      svn path=/trunk/; revision=7384
      54d62aa3
    • Tor Lillqvist's avatar
      Improve run-time warning messages. Drop some #if 0 code. · 5becc45b
      Tor Lillqvist authored
      2008-08-21  Tor Lillqvist  <tml@novell.com>
      
      	* glib/giowin32.c: Improve run-time warning messages. Drop
      	some #if 0 code.
      
      
      svn path=/trunk/; revision=7383
      5becc45b
    • Tor Lillqvist's avatar
      Minor comment improvements. · 2da8893a
      Tor Lillqvist authored
      2008-08-21  Tor Lillqvist  <tml@novell.com>
      
      	* glib/giowin32.c: Minor comment improvements.
      
      
      svn path=/trunk/; revision=7382
      2da8893a
    • Tor Lillqvist's avatar
      Improve last entry · 465d01a8
      Tor Lillqvist authored
      svn path=/trunk/; revision=7380
      465d01a8
    • Tor Lillqvist's avatar
      Rework the g_poll() implementation on Windows to match poll() semantics · 60568252
      Tor Lillqvist authored
      2008-08-21  Tor Lillqvist  <tml@novell.com>
      
      	* glib/gmain.c: Rework the g_poll() implementation on Windows to
      	match poll() semantics more closely. This makes the test program
      	in bug #468910 behave better and doesn't seem to break anything
      	else.
      
      	If polling several GPollFDs, i.e. messages and/or waitable
      	handles, first check if one or several of them are in the
      	signalled state right away, and return indication for all that are
      	in that case.
      
      	If not, then poll with timeout and indicate only the single one
      	that the Win32 wait function tells us as before.
      
      	Remove unnecessary ifdefs, as we always have G_MAIN_POLL_DEBUG
      	defined on Windows.
      
      	Initialise g_main_poll_debug in g_main_context_new() so we have it
      	before testing it in one case.
      
      	Don't add several copies of a handle in the array of handles to
      	wait for. The documentation says this is not allowed, although it
      	did seem to work fine in practise. But do as the documentations
      	says anyway.
      
      
      svn path=/trunk/; revision=7375
      60568252
  17. 20 Aug, 2008 1 commit
    • Tor Lillqvist's avatar
      Bug 500246 - Bug fixes for giowin32 · 971ab2b5
      Tor Lillqvist authored
      2008-08-20  Tor Lillqvist  <tml@novell.com>
      
      	Bug 500246 - Bug fixes for giowin32
      
      	* glib/giowin32.c (read_thread) (write_thread): Change the nbytes
      	variables to signed.
      	(g_io_channel_win32_make_pollfd): Fix an obvious error in the file
      	descriptor case leftover after the patch from bug #333098 on
      	2006-03-02. Thanks to Marcus Brinkmann.
      
      
      svn path=/trunk/; revision=7373
      971ab2b5