1. 19 Sep, 2011 1 commit
  2. 05 Sep, 2011 1 commit
  3. 29 Aug, 2011 1 commit
  4. 22 Jul, 2011 1 commit
  5. 06 May, 2011 1 commit
  6. 03 May, 2011 1 commit
  7. 18 Apr, 2011 5 commits
  8. 12 Jul, 2010 1 commit
    • Allison Karlitskaya's avatar
      Fix some glib docs warnings · 7791fce3
      Allison Karlitskaya authored
      Remove some symbols from glib-sections.txt that gtk-doc has no idea
      about.
      
      Add proper callback typedefs for GTester (gtk-doc dislikes inline
      function types).
      
      Fix some other minor issues.
      7791fce3
  9. 07 Jul, 2010 1 commit
  10. 23 Jun, 2010 1 commit
  11. 21 Jun, 2010 1 commit
  12. 06 Jun, 2010 1 commit
  13. 06 May, 2010 1 commit
  14. 30 Jan, 2010 1 commit
  15. 26 Jan, 2010 1 commit
  16. 23 Dec, 2009 1 commit
    • Martin Pitt's avatar
      Support storing assertion messages into core dump · da668979
      Martin Pitt authored
      Crash interception/debugging systems like Apport or ABRT capture core dumps for
      later crash analysis. However, if a program exits with an assertion failure,
      the core dump is not useful since the assertion message is only printed to
      stderr.
      
      glibc recently got a patch which stores the message of assert() into the
      __abort_msg global variable.
      (http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=48dcd0ba)
      That works fine for programs which actually use the standard C assert() macro.
      
      This patch adds the same functionality for glib's assertion tests. If we are
      building against a glibc which already has __abort_msg (2.11 and later, or
      backported above git commit), use that, otherwise put it into our own field
      __glib_assert_msg.
      
      Usage:
      
        $ cat test.c
        #include <glib.h>
      
        int main() {
            g_assert(1 < 0);
            return 0;
        }
      
        $ ./test
        **ERROR:test.c:5:main: assertion failed: (1 < 0)
        Aborted (Core dumped)
      
        $ gdb --batch --ex 'print (char*) __abort_msg' ./test core
        [...]
        $1 = 0x93bf028 "ERROR:test.c:5:main: assertion failed: (1 < 0)"
      
      https://bugzilla.gnome.org/show_bug.cgi?id=594872
      da668979
  17. 10 Sep, 2009 1 commit
  18. 13 Jan, 2009 1 commit
  19. 31 Oct, 2008 1 commit
  20. 27 Sep, 2008 1 commit
    • Dan Winship's avatar
      Bug 553447 $(Q#|(B g_assert_no_error() · 5c53925e
      Dan Winship authored
      	* glib/gtestutils.h (g_assert_no_error, g_assert_error): Macros to
      	assert that a GError is not set, or else is set to a particular
      	error.
      
      	* glib/gtestutils.c (g_assertion_message_error): utility for
      	those macros
      
      	* glib/tests/keyfile.c:
      	* tests/asyncqueue-test.c:
      	* tests/bookmarkfile-test.c:
      	* tests/convert-test.c:
      	* tests/file-test.c: Use g_assert_error/g_assert_no_error
      
      svn path=/trunk/; revision=7555
      5c53925e
  21. 10 Sep, 2008 1 commit
  22. 08 Sep, 2008 1 commit
  23. 15 Aug, 2008 1 commit
  24. 15 Jun, 2008 1 commit
  25. 12 Jun, 2008 1 commit
  26. 11 Jun, 2008 1 commit
  27. 17 May, 2008 1 commit
  28. 31 Mar, 2008 1 commit
  29. 25 Feb, 2008 1 commit
  30. 23 Feb, 2008 1 commit
  31. 19 Feb, 2008 1 commit
    • Tor Lillqvist's avatar
      Change the g_error() to g_message() to avoid stopping on warnings. At · 87d23f18
      Tor Lillqvist authored
      2008-02-20  Tor Lillqvist  <tml@novell.com>
      
      	* glib/gtestutils.c (g_test_trap_fork) [Win32]: Change the
      	g_error() to g_message() to avoid stopping on warnings. At least
      	now testglib runs to completion and the old tests in it get
      	exercised even if the newfangled ones don't.
      	(g_test_trap_assertions) [Win32]: Bypass on Windows.
      
      
      svn path=/trunk/; revision=6542
      87d23f18
  32. 11 Feb, 2008 1 commit
  33. 30 Jan, 2008 1 commit
  34. 23 Jan, 2008 1 commit
  35. 11 Jan, 2008 1 commit
  36. 25 Dec, 2007 1 commit
    • Matthias Clasen's avatar
      Include sys/time.h. (#505258) · b7a377a4
      Matthias Clasen authored
      2007-12-24  Matthias Clasen  <mclasen@redhat.com>
      
              * glib/gtestutils.c: Include sys/time.h.  (#505258)
      
      
      
      svn path=/trunk/; revision=6201
      b7a377a4