platform/upstream/glib.git
16 years agoRenamed gtestframework to gtestutils.
Tim Janik [Tue, 20 Nov 2007 15:01:02 +0000 (15:01 +0000)]
Renamed gtestframework to gtestutils.

* glib/glib.h:
* glib/Makefile.am: added gtestutils.h to public includes.

* glib/gtestutils.c: include gtestutils.h.

* glib/gtestutils.h:
* glib/glib.symbols:
* glib/tests/testing.c: renamed gtestframework to gtestutils.

* glib/gtestframework.h: renamed to gtestutils.h.

* glib/gtestframework.c: renamed to gtestutils.c.

svn path=/trunk/; revision=5910

16 years agoglib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test...
Tim Janik [Tue, 20 Nov 2007 15:01:00 +0000 (15:01 +0000)]
glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.

svn path=/trunk/; revision=5909

16 years agogtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
Tim Janik [Tue, 20 Nov 2007 15:00:59 +0000 (15:00 +0000)]
gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.

svn path=/trunk/; revision=5908

16 years agogtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
Tim Janik [Tue, 20 Nov 2007 15:00:57 +0000 (15:00 +0000)]
gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().

svn path=/trunk/; revision=5907

16 years agoAdded g_test_bug() and related API.
Tim Janik [Tue, 20 Nov 2007 15:00:56 +0000 (15:00 +0000)]
Added g_test_bug() and related API.

* gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.

* gtestframework.h, gtestframework.c: added test message API and convenience
API to send test messages about bug URLs.

svn path=/trunk/; revision=5906

16 years agoAdded API to access test framework configuration.
Tim Janik [Tue, 20 Nov 2007 15:00:54 +0000 (15:00 +0000)]
Added API to access test framework configuration.

* gtestframework.h, gtestframework.c: export testing configuration to test
programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().

svn path=/trunk/; revision=5905

16 years agogtester: implemented logic to handle failing tests, self tests, and validate XML...
Tim Janik [Tue, 20 Nov 2007 15:00:53 +0000 (15:00 +0000)]
gtester: implemented logic to handle failing tests, self tests, and validate XML reports.

* gtester.c: terminate when tests failed. keep XML valid when test cases fail.
restart test binaries when tests fail, resuming after the last processed test.
support --gtester-selftest to run gtester itself as test program.
support --test-arg=<arg> to pass args along to test programs. added
main_selftest() which does a simplistic fixture test. fail if exit
code of test programs is not 0.

* gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.

* gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.

* tests/Makefile.am: added test-report: for demonstration purposes.
added gtester-xmllint-check: and hooked it up into check:, this rule calls
gtester as test program, running it's selftest, and then uses xmllint to
validate the generate XML test log file.

svn path=/trunk/; revision=5904

16 years agogtester: implemented XML logging.
Tim Janik [Tue, 20 Nov 2007 15:00:51 +0000 (15:00 +0000)]
gtester: implemented XML logging.

* glib/gtester.c: log test messages to XML output file. beautified normal test
result output.

* glib/gtestframework.c: fixed GTimer leak.

* glib/tests/Makefile.am: start gtester with --verbose.

svn path=/trunk/; revision=5903

16 years agotests/Makefile.am: execute test programs with gtester, add test: to check:
Tim Janik [Tue, 20 Nov 2007 15:00:50 +0000 (15:00 +0000)]
tests/Makefile.am: execute test programs with gtester, add test: to check:

svn path=/trunk/; revision=5902

16 years agoFixed PLT symbol exports for gtestframework.h.
Tim Janik [Tue, 20 Nov 2007 15:00:48 +0000 (15:00 +0000)]
Fixed PLT symbol exports for gtestframework.h.

* glib/glib.symbols: added all exported gtestframework.h symbols.

* glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.

svn path=/trunk/; revision=5901

16 years agoglib/gtester.c: fixed debugging flag.
Tim Janik [Tue, 20 Nov 2007 15:00:47 +0000 (15:00 +0000)]
glib/gtester.c: fixed debugging flag.

svn path=/trunk/; revision=5900

16 years agofixed bogus unistd.h include.
Tim Janik [Tue, 20 Nov 2007 15:00:46 +0000 (15:00 +0000)]
fixed bogus unistd.h include.

svn path=/trunk/; revision=5899

16 years agoImplemented test log IPC.
Tim Janik [Tue, 20 Nov 2007 15:00:45 +0000 (15:00 +0000)]
Implemented test log IPC.

* gtester.c: read and decode log messages from test binary child processes.
fixed GIOChannel and child watch handling to process all messages and avoid
hangs. pass --verbose and --quiet on to children, default to --quiet.

* gtestframework.h: export g_test_log_type_name().

* gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
bogus -o-option.

svn path=/trunk/; revision=5898

16 years agogtester.c: support test case listing through gtester.
Tim Janik [Tue, 20 Nov 2007 15:00:44 +0000 (15:00 +0000)]
gtester.c: support test case listing through gtester.

svn path=/trunk/; revision=5897

16 years agogtestframework.c: fixed testpath matches for automatic root suite.
Tim Janik [Tue, 20 Nov 2007 15:00:43 +0000 (15:00 +0000)]
gtestframework.c: fixed testpath matches for automatic root suite.

svn path=/trunk/; revision=5896

16 years agogtester.c: adapted to become a rudimentary test binary launcher.
Tim Janik [Tue, 20 Nov 2007 15:00:41 +0000 (15:00 +0000)]
gtester.c: adapted to become a rudimentary test binary launcher.

* gtester.c: increased read buffer size to match common unix pipe buffer size.
added argument parsing and usage. changed io handling to capture and replicate
stdout. fixed io handlers to be cleaned up when the child process exits (catch
G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
structure, to keep running until the child process exits and all io has been
processed. launch the test binaries given on the command line. don't quit when
a child couldn't be launched but --keep-going was specified.

svn path=/trunk/; revision=5895

16 years agoIntegrated gtester program into build process.
Tim Janik [Tue, 20 Nov 2007 15:00:40 +0000 (15:00 +0000)]
Integrated gtester program into build process.

* Makefile.am: build and install gtester binary.

* gtester.c: fixed up coding style and removed hard wired test coded.

svn path=/trunk/; revision=5894

16 years agoglib/gtester.c:Small -Wall fix
Tim Janik [Tue, 20 Nov 2007 15:00:39 +0000 (15:00 +0000)]
glib/gtester.c:Small -Wall fix

svn path=/trunk/; revision=5893

16 years agoglib/gtester.c:Implemented nonblocking reading properly now
Tim Janik [Tue, 20 Nov 2007 15:00:38 +0000 (15:00 +0000)]
glib/gtester.c:Implemented nonblocking reading properly now

svn path=/trunk/; revision=5892

16 years agoglib/gtester.c:Quit the application when the output is parsed completely, not just...
Tim Janik [Tue, 20 Nov 2007 15:00:37 +0000 (15:00 +0000)]
glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished

svn path=/trunk/; revision=5891

16 years agoglib/gtester.c:Read the output of the child process
Tim Janik [Tue, 20 Nov 2007 15:00:36 +0000 (15:00 +0000)]
glib/gtester.c:Read the output of the child process

svn path=/trunk/; revision=5890

16 years agoglib/gtester.c:Use g_spawn_async_with_pipes()
Tim Janik [Tue, 20 Nov 2007 15:00:35 +0000 (15:00 +0000)]
glib/gtester.c:Use g_spawn_async_with_pipes()

svn path=/trunk/; revision=5889

16 years agoglib/gtester.c:Spawn a process async and quit gtester after the child process exited
Tim Janik [Tue, 20 Nov 2007 15:00:34 +0000 (15:00 +0000)]
glib/gtester.c:Spawn a process async and quit gtester after the child process exited

svn path=/trunk/; revision=5888

16 years agoglib/gtester.c:Added a first revision of gtester
Tim Janik [Tue, 20 Nov 2007 15:00:33 +0000 (15:00 +0000)]
glib/gtester.c:Added a first revision of gtester

svn path=/trunk/; revision=5887

16 years agoImplemented test log serialization.
Tim Janik [Tue, 20 Nov 2007 15:00:32 +0000 (15:00 +0000)]
Implemented test log serialization.

* glib/gtestframework.h: added g_test_log*() API.

* glib/gtestframework.c: implement test log serialization.

svn path=/trunk/; revision=5886

16 years agoImplemented test logging basics.
Tim Janik [Tue, 20 Nov 2007 15:00:31 +0000 (15:00 +0000)]
Implemented test logging basics.

* 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

16 years agoImplemented g_test_timer*().
Tim Janik [Tue, 20 Nov 2007 15:00:30 +0000 (15:00 +0000)]
Implemented g_test_timer*().

* gtestframework.c: implemented g_test_timer*().

* tests/testing.c: added a g_test_timer*() test.

svn path=/trunk/; revision=5884

16 years agoImplemented support for testpaths.
Tim Janik [Tue, 20 Nov 2007 15:00:29 +0000 (15:00 +0000)]
Implemented support for testpaths.

* 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

16 years agotesting.c: added tests for the g_test_rand*() API.
Tim Janik [Tue, 20 Nov 2007 15:00:28 +0000 (15:00 +0000)]
testing.c: added tests for the g_test_rand*() API.

svn path=/trunk/; revision=5882

16 years agoImplemented g_test_rand*().
Tim Janik [Tue, 20 Nov 2007 15:00:27 +0000 (15:00 +0000)]
Implemented g_test_rand*().

* 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

16 years agotesting.c: added tests for g_assert_cmphex() and forked test traps.
Tim Janik [Tue, 20 Nov 2007 15:00:26 +0000 (15:00 +0000)]
testing.c: added tests for g_assert_cmphex() and forked test traps.

svn path=/trunk/; revision=5880

16 years agoImplemented g_test_trap_fork() API.
Tim Janik [Tue, 20 Nov 2007 15:00:25 +0000 (15:00 +0000)]
Implemented g_test_trap_fork() API.

* gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.

* gtestframework.c: implemented g_test_trap_fork() API.

svn path=/trunk/; revision=5879

16 years agothat match a given test path. (g_test_run_suite): run suite only if it
Tim Janik [Tue, 20 Nov 2007 15:00:24 +0000 (15:00 +0000)]
that match a given test path. (g_test_run_suite): run suite only if it

* 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

16 years agoGTest framework started.
Tim Janik [Tue, 20 Nov 2007 15:00:23 +0000 (15:00 +0000)]
GTest framework started.

* 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

16 years agoglib/Makefile.am: build tests/ subdir after building libglib.
Tim Janik [Tue, 20 Nov 2007 15:00:21 +0000 (15:00 +0000)]
glib/Makefile.am: build tests/ subdir after building libglib.

svn path=/trunk/; revision=5876

16 years agoFixed up internal 'g_test*' names.
Tim Janik [Tue, 20 Nov 2007 15:00:20 +0000 (15:00 +0000)]
Fixed up internal 'g_test*' names.

* refcount/signals.c:
* refcount/objects.c:
* refcount/objects2.c:
* refcount/closures.c:
* refcount/properties.c:
* refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
to not clash with newly introduced g_test* API in glib.

svn path=/trunk/; revision=5875

16 years agoAdded gtestframework.[hc] and glib/tests/.
Tim Janik [Tue, 20 Nov 2007 15:00:19 +0000 (15:00 +0000)]
Added gtestframework.[hc] and glib/tests/.

svn path=/trunk/; revision=5874

16 years agouse g_strconcat() instead of g_strjoin() to concatenate two strings.
Sven Neumann [Tue, 20 Nov 2007 10:46:15 +0000 (10:46 +0000)]
use g_strconcat() instead of g_strjoin() to concatenate two strings.

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

16 years agoTranslation updated by Ivar Smolin.
Priit Laes [Mon, 19 Nov 2007 15:51:48 +0000 (15:51 +0000)]
Translation updated by Ivar Smolin.

2007-11-19  Priit Laes  <plaes@svn.gnome.org>

* et.po: Translation updated by Ivar Smolin.

svn path=/trunk/; revision=5872

16 years agoForgot to say that the last commit fixed bug #498113 (Kouhei Sutou)
Marco Barisione [Mon, 19 Nov 2007 14:08:20 +0000 (14:08 +0000)]
Forgot to say that the last commit fixed bug #498113 (Kouhei Sutou)

svn path=/trunk/; revision=5870

16 years agoPass an unsigned long instead of an int to pcre_fullinfo() to avoid
Marco Barisione [Mon, 19 Nov 2007 14:06:18 +0000 (14:06 +0000)]
Pass an unsigned long instead of an int to pcre_fullinfo() to avoid

2007-11-19  Marco Barisione  <marco@barisione.org>

* glib/gregex.c: Pass an unsigned long instead of an int to
pcre_fullinfo() to avoid problems on 64-bit systems

svn path=/trunk/; revision=5869

16 years agoWhen the compilation of a pattern fails in the error message use the
Marco Barisione [Mon, 19 Nov 2007 11:27:43 +0000 (11:27 +0000)]
When the compilation of a pattern fails in the error message use the

2007-11-19  Marco Barisione  <marco@barisione.org>

* glib/gregex.c: When the compilation of a pattern fails in the error
message use the character offset and not the byte offset.

svn path=/trunk/; revision=5867

16 years agoupdated version number to 2.15.0 for development.
10:30:33 Tim Janik [Mon, 19 Nov 2007 09:40:49 +0000 (09:40 +0000)]
updated version number to 2.15.0 for development.

2007-11-19 10:30:33  Tim Janik  <timj@imendio.com>

        * configure.in: updated version number to 2.15.0 for development.

svn path=/trunk/; revision=5866

16 years agoUpdate the example to demonstrate error handling. (#497033, Matti Katila)
Matthias Clasen [Mon, 19 Nov 2007 03:50:16 +0000 (03:50 +0000)]
Update the example to demonstrate error handling. (#497033, Matti Katila)

2007-11-18  Matthias Clasen <mclasen@redhat.com>

        * glib/tmpl/option.sgml: Update the example to demonstrate
        error handling.  (#497033, Matti Katila)

svn path=/trunk/; revision=5865

16 years agoDocumentation improvements. (#496518, Stefan Schulze Frielinghaus)
Matthias Clasen [Mon, 19 Nov 2007 03:39:37 +0000 (03:39 +0000)]
Documentation improvements. (#496518, Stefan Schulze Frielinghaus)

2007-11-18  Matthias Clasen  <mclasen@redhat.com>

        * glib/gbase64.c: Documentation improvements.  (#496518,
        Stefan Schulze Frielinghaus)

svn path=/trunk/; revision=5864

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 18 Nov 2007 21:36:23 +0000 (21:36 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=5863

16 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 18 Nov 2007 18:51:24 +0000 (18:51 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=5862

16 years agoCheck whether assembler supports numerical local labels.
Matthias Clasen [Sun, 18 Nov 2007 17:42:59 +0000 (17:42 +0000)]
Check whether assembler supports numerical local labels.

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

16 years agonew flag G_MARKUP_PREFIX_ERROR_POSITION to cause the parser to prepend
Ryan Lortie [Fri, 16 Nov 2007 03:36:51 +0000 (03:36 +0000)]
new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the parser to prepend

006-11-15  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/glib/tmpl/markup.sgml:
        * glib/gmarkup.h:
        * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
        parser to prepend location information (ie: "Error on line %d, char
        %d:") to errors generated by the GMarkupParser callbacks.

        Closes #496046.

svn path=/trunk/; revision=5860

16 years agonew functions g_prefix_error and g_propagate_prefixed_error.
Ryan Lortie [Fri, 16 Nov 2007 03:05:45 +0000 (03:05 +0000)]
new functions g_prefix_error and g_propagate_prefixed_error.

2006-11-15  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/glib/glib-sections.txt:
        * glib/glib.symbols:
        * glib/gerror.h:
        * glib/gerror.c: new functions g_prefix_error and
        g_propagate_prefixed_error.

svn path=/trunk/; revision=5859

16 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 13 Nov 2007 13:43:29 +0000 (13:43 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=5858

16 years agoDocumentation fixes. Recommend macro type names such as
Cody Russell [Tue, 13 Nov 2007 07:10:42 +0000 (07:10 +0000)]
Documentation fixes. Recommend macro type names such as

2007-11-13  Cody Russell  <bratsche@gnome.org>

        * docs/reference/gobject/gobject-docs.sgml:
        * docs/reference/gobject/tut_gsignal.xml:
        * docs/reference/gobject/tut_gtype.xml:
        * docs/reference/gobject/tut_intro.xml:
        * docs/reference/gobject/tut_tools.xml:
        * docs/reference/gobject/tut_howto.xml:
        * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
        Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
        NAUTILUS_WINDOW_TYPE).  Fixed text which erroneously stated that
        superclass initializers don't run when an object is
        instantiated.  Fixed numerous spelling mistakes.  Minor grammar
        edits. (#490637, Adam Dingle)

svn path=/trunk/; revision=5857

16 years agoAdd a warning about strlen vs g_utf8_strlen. (#455725, Michael Rasmussen)
Matthias Clasen [Sat, 10 Nov 2007 02:09:08 +0000 (02:09 +0000)]
Add a warning about strlen vs g_utf8_strlen. (#455725, Michael Rasmussen)

2007-11-09  Matthias Clasen <mclasen@redhat.com>

        * glib/tmpl/patterns.sgml: Add a warning about strlen vs
        g_utf8_strlen.  (#455725, Michael Rasmussen)

svn path=/trunk/; revision=5855

16 years agoAdd a footnote explain leap years
Matthias Clasen [Sat, 10 Nov 2007 01:56:13 +0000 (01:56 +0000)]
Add a footnote explain leap years

svn path=/trunk/; revision=5854

16 years agoOne more
Matthias Clasen [Sat, 10 Nov 2007 01:47:51 +0000 (01:47 +0000)]
One more

svn path=/trunk/; revision=5853

16 years agoCoding style cleanups and doc improvements. (#491979, Areg Beketovski)
Matthias Clasen [Sat, 10 Nov 2007 01:45:12 +0000 (01:45 +0000)]
Coding style cleanups and doc improvements. (#491979, Areg Beketovski)

2007-11-09  Matthias Clasen <mclasen@redhat.com>

        * glib/gkeyfile.c: Coding style cleanups and doc
        improvements.  (#491979, Areg Beketovski)

svn path=/trunk/; revision=5852

16 years agoCoding style cleanups and doc improvements. (#491975, Areg Beketovski)
Matthias Clasen [Sat, 10 Nov 2007 01:11:58 +0000 (01:11 +0000)]
Coding style cleanups and doc improvements. (#491975, Areg Beketovski)

2007-11-09  Matthias Clasen <mclasen@redhat.com>

        * glib/giochannel.c: Coding style cleanups and doc
        improvements.  (#491975, Areg Beketovski)

svn path=/trunk/; revision=5851

16 years agoImprove the docs. (#491974, Areg Beketovski)
Matthias Clasen [Sat, 10 Nov 2007 00:23:16 +0000 (00:23 +0000)]
Improve the docs. (#491974, Areg Beketovski)

2007-11-09  Matthias Clasen <mclasen@redhat.com>

        * glib/gmain.c (g_main_context_iteration): Improve the
        docs.  (#491974, Areg Beketovski)

svn path=/trunk/; revision=5850

16 years agoImprove g_date_clamp docs. (#491970, Areg Beketovski)
Matthias Clasen [Sat, 10 Nov 2007 00:16:23 +0000 (00:16 +0000)]
Improve g_date_clamp docs. (#491970, Areg Beketovski)

2007-11-09  Matthias Clasen <mclasen@redhat.com>

        * glib/tmpl/date.sgml: Improve g_date_clamp docs.  (#491970,
        Areg Beketovski)

svn path=/trunk/; revision=5849

16 years agoAdd AM_PROG_CC_C_O.
Matthias Clasen [Fri, 9 Nov 2007 23:40:41 +0000 (23:40 +0000)]
Add AM_PROG_CC_C_O.

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

16 years agoMake executable
Matthias Clasen [Fri, 9 Nov 2007 23:34:31 +0000 (23:34 +0000)]
Make executable

svn path=/trunk/; revision=5847

16 years agoImprove the docs. (#491968, Areg Beketovski)
Matthias Clasen [Fri, 9 Nov 2007 16:45:42 +0000 (16:45 +0000)]
Improve the docs. (#491968, Areg Beketovski)

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

16 years agoSome cleanupos
Matthias Clasen [Fri, 9 Nov 2007 03:59:00 +0000 (03:59 +0000)]
Some cleanupos

svn path=/trunk/; revision=5844

16 years agoFixes and cleanups
Matthias Clasen [Fri, 9 Nov 2007 03:47:33 +0000 (03:47 +0000)]
Fixes and cleanups

svn path=/trunk/; revision=5843

16 years agoMore docs fixes
Matthias Clasen [Fri, 9 Nov 2007 03:33:35 +0000 (03:33 +0000)]
More docs fixes

svn path=/trunk/; revision=5842

16 years agoAdd bug ref
Matthias Clasen [Fri, 9 Nov 2007 03:30:58 +0000 (03:30 +0000)]
Add bug ref

svn path=/trunk/; revision=5841

16 years agoMore doc fixes
Matthias Clasen [Fri, 9 Nov 2007 03:29:51 +0000 (03:29 +0000)]
More doc fixes

svn path=/trunk/; revision=5840

16 years agoFix a mistake in the docs
Matthias Clasen [Fri, 9 Nov 2007 03:25:50 +0000 (03:25 +0000)]
Fix a mistake in the docs

svn path=/trunk/; revision=5839

16 years agoFixes and corrections
Matthias Clasen [Fri, 9 Nov 2007 03:21:27 +0000 (03:21 +0000)]
Fixes and corrections

svn path=/trunk/; revision=5838

16 years agoDoc fixes
Matthias Clasen [Fri, 9 Nov 2007 03:05:21 +0000 (03:05 +0000)]
Doc fixes

svn path=/trunk/; revision=5837

16 years agoFix the doc wording. (#491957, Areg Beketovski)
Matthias Clasen [Fri, 9 Nov 2007 03:01:01 +0000 (03:01 +0000)]
Fix the doc wording. (#491957, Areg Beketovski)

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

16 years agoAdd a missing since tag. (#464259, Mark Doliner)
Matthias Clasen [Fri, 9 Nov 2007 02:56:04 +0000 (02:56 +0000)]
Add a missing since tag. (#464259, Mark Doliner)

2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * glib/gutils.c (g_set_application_name): Add a missing
        since tag.  (#464259, Mark Doliner)

svn path=/trunk/; revision=5835

16 years agoImprove the docs. (#436293, Vincent Untz)
Matthias Clasen [Fri, 9 Nov 2007 02:50:44 +0000 (02:50 +0000)]
Improve the docs. (#436293, Vincent Untz)

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

16 years agoExpand the docs a bit. (#317775, Søren Sandmann)
Matthias Clasen [Fri, 9 Nov 2007 02:46:41 +0000 (02:46 +0000)]
Expand the docs a bit. (#317775, Søren Sandmann)

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

16 years agoInclude glibconfig.h before checking G_OS_WIN32.
Matthias Clasen [Fri, 9 Nov 2007 02:33:16 +0000 (02:33 +0000)]
Include glibconfig.h before checking G_OS_WIN32.

2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * gmodule.c: Include glibconfig.h before checking G_OS_WIN32.

svn path=/trunk/; revision=5832

16 years agoAccept automake 1.10, too
Matthias Clasen [Fri, 9 Nov 2007 01:57:26 +0000 (01:57 +0000)]
Accept automake 1.10, too

svn path=/trunk/; revision=5831

16 years agoTemporarily add this script, to fix building from svn.
Matthias Clasen [Fri, 9 Nov 2007 01:38:23 +0000 (01:38 +0000)]
Temporarily add this script, to fix building from svn.

2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * mkinstalldirs: Temporarily add this script, to fix building
        from svn.

svn path=/trunk/; revision=5830

16 years agoUse MKDIRS_P instead of mkinstalldirs.
Matthias Clasen [Fri, 9 Nov 2007 01:33:40 +0000 (01:33 +0000)]
Use MKDIRS_P instead of mkinstalldirs.

2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * Makefile.am: Use MKDIRS_P instead of mkinstalldirs.

svn path=/trunk/; revision=5829

16 years agoDon't shift ARGV[0] to undefined. (#466557, Aidan Delaney)
Matthias Clasen [Thu, 8 Nov 2007 14:57:15 +0000 (14:57 +0000)]
Don't shift ARGV[0] to undefined. (#466557, Aidan Delaney)

2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * glib-mkenums.in: Don't shift ARGV[0] to undefined.
        (#466557, Aidan Delaney)

svn path=/trunk/; revision=5827

16 years agoFix up includes
Matthias Clasen [Thu, 8 Nov 2007 12:23:55 +0000 (12:23 +0000)]
Fix up includes

svn path=/trunk/; revision=5823

16 years agoAdded missing ChangeLog
Michael Natterer [Thu, 8 Nov 2007 11:11:39 +0000 (11:11 +0000)]
Added missing ChangeLog

svn path=/trunk/; revision=5822

16 years agoTry harder to reset shift state with AIX iconv(). (#467537)
Matthias Clasen [Thu, 8 Nov 2007 06:04:00 +0000 (06:04 +0000)]
Try harder to reset shift state with AIX iconv(). (#467537)

2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
        shift state with AIX iconv().  (#467537)

svn path=/trunk/; revision=5821

16 years agoRequire pkg-config 0.16 in configure and in AM_PATH_GLIB_2_0 to be
Matthias Clasen [Thu, 8 Nov 2007 05:48:35 +0000 (05:48 +0000)]
Require pkg-config 0.16 in configure and in AM_PATH_GLIB_2_0 to be

2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * configure.in:
        * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
        and in AM_PATH_GLIB_2_0 to be consistent with the use of
        PKG_PROG_PKG_CONFIG which was introduced in 0.16.  (#418778,
        Loïc Minier)

svn path=/trunk/; revision=5820

16 years agoDon't leave out parameters uninitialized. (#490061, Benjamin Otte)
Matthias Clasen [Thu, 8 Nov 2007 05:24:29 +0000 (05:24 +0000)]
Don't leave out parameters uninitialized. (#490061, Benjamin Otte)

2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * glib/gstrfuncs.c (g_parse_long_long): Don't leave
        out parameters uninitialized.  (#490061, Benjamin Otte)

svn path=/trunk/; revision=5819

16 years agoDon't leak the condvar. (#479724, Areg Beketovski)
Matthias Clasen [Thu, 8 Nov 2007 03:53:41 +0000 (03:53 +0000)]
Don't leak the condvar. (#479724, Areg Beketovski)

2007-11-07  Matthias Clasen <mclasen@redhat.com>

        * glib/gmain.c (g_main_context_unref): Don't leak the
        condvar.  (#479724, Areg Beketovski)

svn path=/trunk/; revision=5818

16 years agoMake header include order consistent (#71704, Diego Escalante Urrelo)
Matthias Clasen [Thu, 8 Nov 2007 03:43:46 +0000 (03:43 +0000)]
Make header include order consistent (#71704, Diego Escalante Urrelo)

2007-11-07  Matthias Clasen <mclasen@redhat.com>

        * *.c: Make header include order consistent (#71704,
        Diego Escalante Urrelo)

svn path=/trunk/; revision=5817

16 years agoNew function, to get the stack of open elements. (#452887, Ryan Lortie)
Matthias Clasen [Thu, 8 Nov 2007 03:28:09 +0000 (03:28 +0000)]
New function, to get the stack of open elements. (#452887, Ryan Lortie)

2007-11-07  Matthias Clasen <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
        New function, to get the stack of open elements.  (#452887,
        Ryan Lortie)

svn path=/trunk/; revision=5816

16 years agoMake some functions that take a GError return boolean instead of void.
Matthias Clasen [Thu, 8 Nov 2007 03:19:37 +0000 (03:19 +0000)]
Make some functions that take a GError return boolean instead of void.

2007-11-07  Matthias Clasen <mclasen@redhat.com>

        * glib/gkeyfile.[hc]: Make some functions that take
        a GError return boolean instead of void.  (#375651, Matt Barnes)

svn path=/trunk/; revision=5815

16 years agoUse automake 1.9
Matthias Clasen [Thu, 8 Nov 2007 02:54:39 +0000 (02:54 +0000)]
Use automake 1.9

svn path=/trunk/; revision=5814

16 years agoFix a typo
Matthias Clasen [Thu, 8 Nov 2007 02:48:35 +0000 (02:48 +0000)]
Fix a typo

svn path=/trunk/; revision=5813

16 years agoMove some inter-*.m4 includes from configure.in to acinclude.m4 to avoid
Matthias Clasen [Thu, 8 Nov 2007 02:43:17 +0000 (02:43 +0000)]
Move some inter-*.m4 includes from configure.in to acinclude.m4 to avoid

2007-11-07  Matthias Clasen <mclasen@redhat.com>

        * acinclude.m4:
        * configure.in: Move some inter-*.m4 includes from
        configure.in to acinclude.m4 to avoid warnings when
        using automake 1.9.  (#449937)

svn path=/trunk/; revision=5812

16 years agoSplit ChangeLog
Matthias Clasen [Thu, 8 Nov 2007 01:59:15 +0000 (01:59 +0000)]
Split ChangeLog

svn path=/trunk/; revision=5811

16 years agoImprove docs
Matthias Clasen [Wed, 7 Nov 2007 16:44:21 +0000 (16:44 +0000)]
Improve docs

svn path=/trunk/; revision=5807

16 years agoFix builddir != srcdir
Matthias Clasen [Wed, 7 Nov 2007 16:27:41 +0000 (16:27 +0000)]
Fix builddir != srcdir

svn path=/trunk/; revision=5806

16 years agoNot needed, just use -DPCRE_STATIC.
Tor Lillqvist [Wed, 7 Nov 2007 09:49:25 +0000 (09:49 +0000)]
Not needed, just use -DPCRE_STATIC.

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

16 years agoBump version
Matthias Clasen [Wed, 7 Nov 2007 06:02:46 +0000 (06:02 +0000)]
Bump version

svn path=/trunk/; revision=5804

16 years ago2.14.3 GLIB_2_14_3
Matthias Clasen [Wed, 7 Nov 2007 05:42:02 +0000 (05:42 +0000)]
2.14.3

svn path=/trunk/; revision=5802

16 years agoUpdates
Matthias Clasen [Wed, 7 Nov 2007 05:12:13 +0000 (05:12 +0000)]
Updates

svn path=/trunk/; revision=5801

16 years agoUpdate the internal copy of PCRE to 7.4
Matthias Clasen [Wed, 7 Nov 2007 04:57:22 +0000 (04:57 +0000)]
Update the internal copy of PCRE to 7.4

2007-11-06  Matthias Clasen <mclasen@redhat.com>

        * glib/pcre/*: Update the internal copy of PCRE to 7.4

svn path=/trunk/; revision=5800

16 years agoUse correct naming conventions when explaining maman_bar_get_type().
Mathias Hasselmann [Mon, 5 Nov 2007 16:21:36 +0000 (16:21 +0000)]
Use correct naming conventions when explaining maman_bar_get_type().

* docs/reference/gobject/tut_gtype.xml: Use correct naming conventions
when explaining maman_bar_get_type(). (#493688) Mention G_DEFINE_TYPE.

svn path=/trunk/; revision=5799