Commit Graph

2784 Commits

Author SHA1 Message Date
Matthias Clasen
79668cdf02 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
2007-11-18 17:42:59 +00:00
Ryan Lortie
1e2c77ecbc 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
2007-11-16 03:36:51 +00:00
Ryan Lortie
f2a5aa6700 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
2007-11-16 03:05:45 +00:00
Cody Russell
515f42c9ed 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
2007-11-13 07:10:42 +00:00
Matthias Clasen
dbe4c82b65 One more
svn path=/trunk/; revision=5853
2007-11-10 01:47:51 +00:00
Matthias Clasen
662f9e46d1 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
2007-11-10 01:45:12 +00:00
Matthias Clasen
897cf88edf 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
2007-11-10 01:11:58 +00:00
Matthias Clasen
4abb6c13be 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
2007-11-10 00:23:16 +00:00
Matthias Clasen
0a967d39e7 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
2007-11-10 00:16:23 +00:00
Matthias Clasen
284c7e559b 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
2007-11-09 23:40:41 +00:00
Matthias Clasen
d451314384 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
2007-11-09 16:45:42 +00:00
Matthias Clasen
e8900bc3b7 More docs fixes
svn path=/trunk/; revision=5842
2007-11-09 03:33:35 +00:00
Matthias Clasen
0a7dc4c7ad Add bug ref
svn path=/trunk/; revision=5841
2007-11-09 03:30:58 +00:00
Matthias Clasen
58178261fd More doc fixes
svn path=/trunk/; revision=5840
2007-11-09 03:29:51 +00:00
Matthias Clasen
dbfdac8d22 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
2007-11-09 03:01:01 +00:00
Matthias Clasen
bd92e97e08 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
2007-11-09 02:56:04 +00:00
Matthias Clasen
62ba4fa91a 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
2007-11-09 02:50:44 +00:00
Matthias Clasen
ed7e9b2459 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
2007-11-09 02:46:41 +00:00
Matthias Clasen
6181cd47e2 Accept automake 1.10, too
svn path=/trunk/; revision=5831
2007-11-09 01:57:26 +00:00
Matthias Clasen
799abb1a77 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
2007-11-09 01:38:23 +00:00
Matthias Clasen
11c7634af3 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
2007-11-09 01:33:40 +00:00
Matthias Clasen
7af5eccdb5 Fix up includes
svn path=/trunk/; revision=5823
2007-11-08 12:23:55 +00:00
Matthias Clasen
d303704549 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
2007-11-08 06:04:00 +00:00
Matthias Clasen
e243169979 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
2007-11-08 05:48:35 +00:00
Matthias Clasen
263a48aaec 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
2007-11-08 05:24:29 +00:00
Matthias Clasen
1c93d867fc 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
2007-11-08 03:53:41 +00:00
Matthias Clasen
589bd2f463 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
2007-11-08 03:28:09 +00:00
Matthias Clasen
1dc3d6f088 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
2007-11-08 03:19:37 +00:00
Matthias Clasen
5c971cb504 Use automake 1.9
svn path=/trunk/; revision=5814
2007-11-08 02:54:39 +00:00
Matthias Clasen
10de39976c 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
2007-11-08 02:43:17 +00:00
Matthias Clasen
f36e4a42d8 Split ChangeLog
svn path=/trunk/; revision=5811
2007-11-08 01:59:15 +00:00
Matthias Clasen
126d98216a Improve docs
svn path=/trunk/; revision=5807
2007-11-07 16:44:21 +00:00
Matthias Clasen
e346a16571 Fix builddir != srcdir
svn path=/trunk/; revision=5806
2007-11-07 16:27:41 +00:00
Tor Lillqvist
7d2ec70a49 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
2007-11-07 09:49:25 +00:00
Matthias Clasen
15cc4be96c Bump version
svn path=/trunk/; revision=5804
2007-11-07 06:02:46 +00:00
Matthias Clasen
1c6dffc356 2.14.3
svn path=/trunk/; revision=5802
2007-11-07 05:42:02 +00:00
Matthias Clasen
62df696da1 Updates
svn path=/trunk/; revision=5801
2007-11-07 05:12:13 +00:00
Matthias Clasen
5b81acfae2 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
2007-11-07 04:57:22 +00:00
Tor Lillqvist
43c16432fc Plug small one-time leak on Windows. (#488068, Daniel Atallah)
2007-10-22  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (_glib_gettext): Plug small one-time leak on
	Windows. (#488068, Daniel Atallah)


svn path=/trunk/; revision=5795
2007-10-22 20:13:55 +00:00
Behdad Esfahbod
9df1f4fcc7 Fix warnings from sparse. (#487491, Kjartan Maraas)
2007-10-21  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gdate.c (g_date_strftime):
        * glib/gmain.c (g_main_context_check):
        * glib/gregex.c (g_match_info_fetch_all), (g_regex_split_full):
        * glib/gthread.c (g_once_init_enter_impl), (g_once_init_leave):
        * glib/gthread.h:
        * glib/gutf8.c (g_utf16_to_utf8), (g_utf16_to_ucs4):
        * tests/errorcheck-mutex-test.c (lock_locked_mutex),
        (trylock_locked_mutex), (unlock_unlocked_mutex),
        (free_locked_mutex), (wait_on_unlocked_mutex),
        (wait_on_otherwise_locked_mutex), (timed_wait_on_unlocked_mutex),
        (timed_wait_on_otherwise_locked_mutex):
        Fix warnings from sparse. (#487491, Kjartan Maraas)


svn path=/trunk/; revision=5792
2007-10-21 17:01:29 +00:00
Matthias Clasen
e1b7097247 Bump version
svn path=/trunk/; revision=5789
2007-10-17 05:11:06 +00:00
Matthias Clasen
83684e4b03 2.14.2
svn path=/trunk/; revision=5786
2007-10-16 06:33:50 +00:00
Matthias Clasen
2cc03c7fe7 Updates
svn path=/trunk/; revision=5785
2007-10-16 05:42:16 +00:00
Matthias Clasen
a57cf3893c Check for sys/resource.h
2007-10-16  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Check for sys/resource.h

        * glib/gspawn.c: Improve the fdwalk implementation on Linux
        to only walk over actually open file descriptors. (#469231,
        Lennart Poettering)


svn path=/trunk/; revision=5783
2007-10-16 05:28:10 +00:00
Sven Herzberg
63c721b6d0 Reviewed by Tim Janik.
2007-10-13  Sven Herzberg  <herzi@gnome-de.org>

	Reviewed by Tim Janik.

	Created marshallers that don't throw gcc warnings when compiling with
	-WUnused (fixes #359165).

	* gobject/glib-genmarshal.c: decorate return_value and invocation_hint
	with G_GNUC_UNUSED


svn path=/trunk/; revision=5781
2007-10-13 10:51:04 +00:00
Tor Lillqvist
64312b72c9 Always define G_CAN_INLINE. Even MSVC6 is capable of inlining. (#483337,
2007-10-04  Tor Lillqvist  <tml@novell.com>

	* glibconfig.h.win32.in: Always define G_CAN_INLINE. Even MSVC6 is
	capable of inlining. (#483337, Steve Lhomme)


svn path=/trunk/; revision=5780
2007-10-05 17:01:13 +00:00
Behdad Esfahbod
5fa8c6ef89 Check for NULL finalizer. (#476849, Areg Beketovski)
2007-09-19  Behdad Esfahbod  <behdad@gnome.org>

        * glib/ghook.c (g_hook_free): Check for NULL finalizer. (#476849, Areg
        Beketovski)


svn path=/trunk/; revision=5776
2007-09-19 20:36:53 +00:00
Matthias Clasen
dc61469e8b Bump version
svn path=/trunk/; revision=5772
2007-09-16 19:51:16 +00:00
Matthias Clasen
ae35ce1aa6 2.14.1
svn path=/trunk/; revision=5770
2007-09-16 19:49:44 +00:00
Matthias Clasen
97850735fa Fix doc formatting
svn path=/trunk/; revision=5769
2007-09-16 18:32:51 +00:00