1. 20 Nov, 2007 13 commits
    • Tim Janik's avatar
      Implemented test log serialization. · 25053dc5
      Tim Janik authored
      * glib/gtestframework.h: added g_test_log*() API.
      
      * glib/gtestframework.c: implement test log serialization.
      
      svn path=/trunk/; revision=5886
      25053dc5
    • Tim Janik's avatar
      Implemented test logging basics. · e3c66f03
      Tim Janik authored
      * glib/gtestframework.c: added --debug-log and --verbose, implemented
      test information logging.
      
      * testing.c: test g_test_maximized_result() and g_test_minimized_result().
      
      svn path=/trunk/; revision=5885
      e3c66f03
    • Tim Janik's avatar
      Implemented g_test_timer*(). · 6145aaca
      Tim Janik authored
      * gtestframework.c: implemented g_test_timer*().
      
      * tests/testing.c: added a g_test_timer*() test.
      
      svn path=/trunk/; revision=5884
      6145aaca
    • Tim Janik's avatar
      Implemented support for testpaths. · ba166c00
      Tim Janik authored
      * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
      
      * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
      
      svn path=/trunk/; revision=5883
      ba166c00
    • Tim Janik's avatar
      testing.c: added tests for the g_test_rand*() API. · b2a4c8ba
      Tim Janik authored
      svn path=/trunk/; revision=5882
      b2a4c8ba
    • Tim Janik's avatar
      Implemented g_test_rand*(). · e47c4253
      Tim Janik authored
      * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
      added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
      doubles and ranges.
      
      * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
      
      svn path=/trunk/; revision=5881
      e47c4253
    • Tim Janik's avatar
      testing.c: added tests for g_assert_cmphex() and forked test traps. · fcf30698
      Tim Janik authored
      svn path=/trunk/; revision=5880
      fcf30698
    • Tim Janik's avatar
      Implemented g_test_trap_fork() API. · f1d751b7
      Tim Janik authored
      * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
      
      * gtestframework.c: implemented g_test_trap_fork() API.
      
      svn path=/trunk/; revision=5879
      f1d751b7
    • Tim Janik's avatar
      that match a given test path. (g_test_run_suite): run suite only if it · ca1c4240
      Tim Janik authored
      * glib/gtestframework.c:
      
      that match a given test path.
      (g_test_run_suite): run suite only if it matches the existing test paths.
      
      * glib/tests/testing.c: minor rename.
      
      svn path=/trunk/; revision=5878
      ca1c4240
    • Tim Janik's avatar
      GTest framework started. · cc3bf40d
      Tim Janik authored
      * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
      includes elaborate assertions, performance report functions, test traps,
      test timer, test random numbers, teardoiwn garbage collection functions
      and general test case / test suite management APIs.
      
      * glib/gtestframework.c: first test framework implementation. already covers
      some test suite management APIs and assertion message implementations.
      
      * glib/tests/testing.c: test program for the testing framework.
      
      * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
      make test:.
      
      svn path=/trunk/; revision=5877
      cc3bf40d
    • Tim Janik's avatar
      glib/Makefile.am: build tests/ subdir after building libglib. · edfef236
      Tim Janik authored
      svn path=/trunk/; revision=5876
      edfef236
    • Tim Janik's avatar
      Added gtestframework.[hc] and glib/tests/. · f0187b0a
      Tim Janik authored
      svn path=/trunk/; revision=5874
      f0187b0a
    • Sven Neumann's avatar
      use g_strconcat() instead of g_strjoin() to concatenate two strings. · d07f85e1
      Sven Neumann authored
      2007-11-20  Sven Neumann  <sven@gimp.org>
      
      	* glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
      	g_strjoin() to concatenate two strings.
      
      svn path=/trunk/; revision=5873
      d07f85e1
  2. 19 Nov, 2007 3 commits
  3. 18 Nov, 2007 1 commit
    • Matthias Clasen's avatar
      Check whether assembler supports numerical local labels. · 79668cdf
      Matthias Clasen authored
      2007-11-18  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Check whether assembler supports numerical local
              labels.
      
              * glib/gatomic.c: Fix powerpc implementation of atomic ops for
              platforms where the assembler doesn't support numerical local
              labels.  (#445362)
      
      
      svn path=/trunk/; revision=5861
      79668cdf
  4. 16 Nov, 2007 2 commits
  5. 10 Nov, 2007 5 commits
  6. 09 Nov, 2007 7 commits
    • Matthias Clasen's avatar
      Add AM_PROG_CC_C_O. · 284c7e55
      Matthias Clasen authored
      2007-11-09  Matthias Clasen <mclasen@redhat.com>
      
              * configure.in: Add AM_PROG_CC_C_O.
      
              * Makefile.am: Remove the install-exec-local hook and use
              configexecincludedir_DATA instead, in an attempt to avoid
              automake 1.9 <> 1.10 incompatibilities.
      
              * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
              automake 1.10 complains.
      
      
      svn path=/trunk/; revision=5848
      284c7e55
    • Matthias Clasen's avatar
      Improve the docs. (#491968, Areg Beketovski) · d4513143
      Matthias Clasen authored
      2007-11-09  Matthias Clasen <mclasen@redhat.com>
      
              * glib/gspawn.c (g_spawn_sync): Improve the docs.  (#491968,
              Areg Beketovski)
      
      
      svn path=/trunk/; revision=5846
      d4513143
    • Matthias Clasen's avatar
      More docs fixes · e8900bc3
      Matthias Clasen authored
      svn path=/trunk/; revision=5842
      e8900bc3
    • Matthias Clasen's avatar
      More doc fixes · 58178261
      Matthias Clasen authored
      svn path=/trunk/; revision=5840
      58178261
    • Matthias Clasen's avatar
      Fix the doc wording. (#491957, Areg Beketovski) · dbfdac8d
      Matthias Clasen authored
      2007-11-08  Matthias Clasen <mclasen@redhat.com>
      
              * glib/gmain.c (g_main_context_release): Fix the doc
              wording.  (#491957, Areg Beketovski)
      
      
      
      svn path=/trunk/; revision=5836
      dbfdac8d
    • Matthias Clasen's avatar
      Improve the docs. (#436293, Vincent Untz) · 62ba4fa9
      Matthias Clasen authored
      2007-11-08  Matthias Clasen <mclasen@redhat.com>
      
              * glib/goption.c (g_option_context_new): Improve the docs.
              (#436293, Vincent Untz)
      
      
      svn path=/trunk/; revision=5834
      62ba4fa9
    • Matthias Clasen's avatar
      Expand the docs a bit. (#317775, Søren Sandmann) · ed7e9b24
      Matthias Clasen authored
      2007-11-08  Matthias Clasen <mclasen@redhat.com>
      
              * glib/gmain.c (g_main_loop_quit): Expand the docs
              a bit.  (#317775, Søren Sandmann)
      
      
      
      svn path=/trunk/; revision=5833
      ed7e9b24
  7. 08 Nov, 2007 6 commits
  8. 07 Nov, 2007 3 commits
    • Matthias Clasen's avatar
      Improve docs · 126d9821
      Matthias Clasen authored
      svn path=/trunk/; revision=5807
      126d9821
    • Matthias Clasen's avatar
      Fix builddir != srcdir · e346a165
      Matthias Clasen authored
      svn path=/trunk/; revision=5806
      e346a165
    • Tor Lillqvist's avatar
      Not needed, just use -DPCRE_STATIC. · 7d2ec70a
      Tor Lillqvist authored
      2007-11-07  Tor Lillqvist  <tml@novell.com>
      
      	* glib/update-pcre/notdll.patch: Not needed, just use -DPCRE_STATIC.
      
      	* glib/update-pcre/Makefile.am: Drop notdll.patch.
      
      	* glib/update-pcre/Makefile.am-1
      	* glib/update-pcre/update.sh
      	* glib/pcre/Makefile.am
      	* glib/Makefile.am: Use -DPCRE_STATIC.
      
      	* tests/gio-test.c
      	* tests/mainloop-test.c
      	* tests/spawn-test.c: #define pipe(fds) _pipe(fds, 4096,
      	_O_BINARY) on Windows.
      
      	* tests/regex-test.c (test_expand): Don't print NULL with %s.
      
      
      svn path=/trunk/; revision=5805
      7d2ec70a