Commit Graph

2770 Commits

Author SHA1 Message Date
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
Matthias Clasen
34a9878985 Fix a doc formatting problem
svn path=/trunk/; revision=5766
2007-09-16 17:30:57 +00:00
Matthias Clasen
4732600578 Replace -pthread by -lpthread for Freebsd, too. (#475619, Roy Marples)
2007-09-16  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Replace -pthread by -lpthread for
        Freebsd, too.  (#475619, Roy Marples)



svn path=/trunk/; revision=5763
2007-09-16 16:15:34 +00:00
Matthias Clasen
6972901388 Fix static build against system pcre
svn path=/trunk/; revision=5762
2007-09-16 15:48:11 +00:00
Matthias Clasen
9bb58ae9d2 Updates
svn path=/trunk/; revision=5759
2007-09-16 06:04:36 +00:00
15:07:28 Tim Janik
63828ea746 applied fix for bug #476840.
2007-09-14 15:07:28  Tim Janik  <timj@gtk.org>

        * glib/gutf8.c (g_utf8_strreverse): applied fix for bug #476840.

        * tests/utf8-pointer.c (test_misc): added test for g_utf8_strreverse().



svn path=/trunk/; revision=5757
2007-09-14 13:28:07 +00:00
Marco Barisione
324ee4c07c fix a typo in the previous commit. (#475854, comment #4)
2007-09-11  Marco Barisione <marco@barisione.org>
	* configure.in: fix a typo in the previous commit. (#475854, comment
	#4)

svn path=/trunk/; revision=5750
2007-09-11 20:22:18 +00:00
Marco Barisione
3c4e0759d6 propagate the pcre flags to libglib and not to all parts of glib.
2007-09-11  Marco Barisione <marco@barisione.org>

	* glib/Makefile.am:
	* configure.in: propagate the pcre flags to libglib and not to all
	parts of glib. (#475854, dmacks@netspace.org)

svn path=/trunk/; revision=5749
2007-09-11 20:10:31 +00:00
Matthias Clasen
f4a8a220b5 Add arm atomic operations
svn path=/trunk/; revision=5748
2007-09-11 04:16:59 +00:00
Marco Barisione
6273407af6 change the type of ref_count from guint to gint, so we can remove some
2007-09-10  Marco Barisione <marco@barisione.org>

	* glib/gregex.c: change the type of ref_count from guint to gint, so
	we can remove some ugly casts.

svn path=/trunk/; revision=5746
2007-09-10 16:27:38 +00:00
Marco Barisione
4356f18a3d use pcre_get_stringnumber() in get_matched_substring_number() if
2007-09-10  Marco Barisione <marco@barisione.org>

	* glib/gregex.c: use pcre_get_stringnumber() in
	get_matched_substring_number() if G_REGEX_DUPNAMES was not set.
	(#444765, Yevgen Muntyan)

svn path=/trunk/; revision=5745
2007-09-10 16:20:51 +00:00
Marco Barisione
963a7572c0 bump PCRE requirement to version 7.2.
2007-09-10  Marco Barisione <marco@barisione.org>

	* configure.in: bump PCRE requirement to version 7.2.

svn path=/trunk/; revision=5743
2007-09-10 15:30:00 +00:00
Marco Barisione
eb5d1e18b1 define PCRE_ERROR_NULLWSLIMIT if it's not defined by PCRE, has PCRE 7.3
2007-09-10  Marco Barisione <marco@barisione.org>

	* glib/gregex.c: define PCRE_ERROR_NULLWSLIMIT if it's not defined by
	PCRE, has PCRE 7.3 removed this definition. (#475474)

svn path=/trunk/; revision=5742
2007-09-10 15:17:19 +00:00
Behdad Esfahbod
2f14244e24 Fix header inclusion. (#473879, Peter Kjellerstedt)
2007-09-05  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gregex.c: Fix header inclusion. (#473879, Peter Kjellerstedt)


svn path=/trunk/; revision=5735
2007-09-05 15:44:52 +00:00
Tim Janik
37dbc09080 fixed compiler warning about loosing volatile qualifier, bug #457641.
Wed Aug 29 12:08:40 2007  Tim Janik  <timj@imendio.com>

        * glib/gthread.h (g_once_init_enter): fixed compiler warning about
        loosing volatile qualifier, bug #457641.



svn path=/trunk/; revision=5725
2007-08-29 10:09:30 +00:00