Commit Graph

2787 Commits

Author SHA1 Message Date
Tor Lillqvist
0976f73d27 glib/gutf8.c (g_get_charset) glib/gconvert.c (g_locale_from_utf8) Clarify
2008-02-21  Tor Lillqvist  <tml@novell.com>
	
	* glib/gutf8.c (g_get_charset)
	* glib/gconvert.c (g_locale_from_utf8)
	* docs/reference/glib/running.sgml: Clarify character set
	issues on Windows.


svn path=/branches/glib-2-14/; revision=6552
2008-02-21 13:14:03 +00:00
Tor Lillqvist
b2d57c9ae5 Unfortunately the mingw implementations of C99-style snprintf and
2008-02-07  Tor Lillqvist  <tml@novell.com>

	* configure.in: Unfortunately the mingw implementations of
	C99-style snprintf and vsnprintf don't seem to be quite good
	enough, at least not in mingw-runtime-3.14. I don't know exactly
	what the problem is, but it is related to floating point
	formatting and decimal point vs. comma, and the symptoms show up
	in some dialogs in GIMP, presumably also elsewhere. The simple
	tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
	rigorous enough to notice, though. So preset
	ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no".


svn path=/branches/glib-2-14/; revision=6481
2008-02-07 12:47:47 +00:00
Matthias Clasen
c70a020318 bump version
svn path=/branches/glib-2-14/; revision=6475
2008-02-07 06:27:51 +00:00
Matthias Clasen
cb801515be 2.14.6
svn path=/branches/glib-2-14/; revision=6473
2008-02-07 06:19:07 +00:00
Matthias Clasen
3c8560be21 Updates
svn path=/branches/glib-2-14/; revision=6472
2008-02-07 05:37:02 +00:00
Matthias Clasen
639bd54383 Add log entry
svn path=/branches/glib-2-14/; revision=6471
2008-02-07 05:24:01 +00:00
Matthias Clasen
d05e677655 Bump version
svn path=/branches/glib-2-14/; revision=6277
2008-01-08 02:31:25 +00:00
Matthias Clasen
2296dcd227 2.14.5
svn path=/branches/glib-2-14/; revision=6275
2008-01-08 02:29:25 +00:00
Matthias Clasen
f3d8115c45 Updates
svn path=/branches/glib-2-14/; revision=6274
2008-01-08 01:38:16 +00:00
Matthias Clasen
bbf0b57b03 Free group hash
svn path=/branches/glib-2-14/; revision=6272
2008-01-08 01:22:05 +00:00
Matthias Clasen
ba1e56f41b Cope with gcc 4.3 changed 'extern inline' semantics. (#315437, patch by
2008-01-06  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutils.h: Cope with gcc 4.3 changed 'extern inline'
        semantics.  (#315437, patch by Loïc Minier)


svn path=/branches/glib-2-14/; revision=6271
2008-01-08 01:10:57 +00:00
Matthias Clasen
daeb6b8cf9 Don't set open_max to RLIM_INFINITY. (#495589, Tommi Komulainen)
2008-01-06  Matthias Clasen  <mclasen@redhat.com>

        * glib/gspawn.c (fdwalk): Don't set open_max to
        RLIM_INFINITY.  (#495589, Tommi Komulainen)



svn path=/branches/glib-2-14/; revision=6270
2008-01-08 01:08:22 +00:00
Emmanuele Bassi
e3e92b4d3f Merged from trunk:
2007-12-19  Emmanuele Bassi  <ebassi@gnome.org>

	Merged from trunk:

	* glib/gtimer.c (g_time_val_from_iso8601): Fix the date validation
	check. (#503029)

	* tests/testglib.c (various_string_tests): Add an invalid date
	for testing the above fix.

svn path=/branches/glib-2-14/; revision=6161
2007-12-19 17:38:58 +00:00
Bastien Nocera
3c1bdf3636 Don't try to parse dates that start with anything but a digit, a plus or a
2007-12-13  Bastien Nocera  <hadess@hadess.net>

	* glib/gtimer.c: (g_time_val_from_iso8601):
	Don't try to parse dates that start with anything but a
	digit, a plus or a minus sign, as those can't be valid
	ISO8601 dates (Closes: #503029)


svn path=/branches/glib-2-14/; revision=6110
2007-12-13 14:44:22 +00:00
Matthias Clasen
1904d98ae6 Merged from trunk:
2007-12-03  Matthias Clasen  <mclasen@redhat.com>

        Merged from trunk:

        * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
        (#500638, Michael Meeks)

        * glib/gkeyfile.c: Add a hash table to speed up group lookups,
        which GKeyFile does quite a lot.



svn path=/branches/glib-2-14/; revision=6024
2007-12-03 19:04:26 +00:00
Marco Barisione
78e666b813 Backport from trunk:
2007-12-03  Marco Barisione <marco@barisione.org>

	Backport from trunk:

	* glib/gregex.c: Make compilation error messages translatable.
	(#482313, Morten Welinder)

svn path=/branches/glib-2-14/; revision=6022
2007-12-03 18:47:10 +00:00
Tor Lillqvist
a50497aa41 Merge from trunk:
2007-11-27  Tor Lillqvist  <tml@novell.com>

	Merge from trunk:

	* glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
	lib/locale or share/locale depending on which one is in
	GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
	on the _nl_msg_cat_cntr variable, eek), share/locale gets used.

	* glib-zip.in: Likewise, look for message catalogs either in
	lib/locale or share/locale.


svn path=/branches/glib-2-14/; revision=5946
2007-11-26 23:39:48 +00:00
Matthias Clasen
6670b6e5a4 Bump version
svn path=/branches/glib-2-14/; revision=5931
2007-11-24 16:55:20 +00:00
Matthias Clasen
4630859b81 2.14.4
svn path=/branches/glib-2-14/; revision=5929
2007-11-24 16:53:04 +00:00
Matthias Clasen
28d98268c1 Fix memory overrun
svn path=/branches/glib-2-14/; revision=5927
2007-11-24 16:22:57 +00:00
Matthias Clasen
5841896e07 Updates
svn path=/branches/glib-2-14/; revision=5925
2007-11-24 06:38:01 +00:00
Matthias Clasen
dafaa7ea6b Don't refuse to encode a single byte. (Milan Crha)
2007-11-23  Matthias Clasen  <mclasen@redhat.com>

        * glib/gbase64.c (g_base64_encode): Don't refuse to encode
        a single byte.  (Milan Crha)

        * tests/base64-test.c: Test encoding short strings.



svn path=/branches/glib-2-14/; revision=5924
2007-11-24 06:03:44 +00:00
Matthias Clasen
42c934d8b9 Use g_print to print out --help text in locale encoding. (#469551, Takao
2007-11-23  Matthias Clasen  <mclasen@redhat.com>

        * glib/goption.c: Use g_print to print out --help text in
        locale encoding.  (#469551, Takao Fujiwara)



svn path=/branches/glib-2-14/; revision=5923
2007-11-24 06:01:58 +00:00
Matthias Clasen
46e8950f77 Set length out param in list-returning functions to 0 when returning NULL.
2007-11-22  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Set length out param in list-returning functions
        to 0 when returning NULL.  (#498728, Christian Persch)



svn path=/branches/glib-2-14/; revision=5922
2007-11-24 06:00:09 +00:00
Matthias Clasen
1ecbb7131b 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=/branches/glib-2-14/; revision=5921
2007-11-24 05:54:28 +00:00
Marco Barisione
1ff956735f Merge from trunk:
2007-11-19  Marco Barisione  <marco@barisione.org>

	Merge from trunk:

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

svn path=/branches/glib-2-14/; revision=5871
2007-11-19 14:10:20 +00:00
Marco Barisione
7be152c548 Merge from trunk:
2007-11-19  Marco Barisione  <marco@barisione.org>

	Merge from trunk:

	* 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=/branches/glib-2-14/; revision=5868
2007-11-19 11:34:08 +00:00
Cody Russell
fd496f0b4a Merge from trunk:
2007-11-13  Cody Russell  <bratsche@gnome.org>

        Merge from trunk:

        * 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=/branches/glib-2-14/; revision=5856
2007-11-13 07:08:44 +00:00
Matthias Clasen
bc37afdeeb Revert an accidental merge
svn path=/branches/glib-2-14/; revision=5845
2007-11-09 14:42:47 +00:00
Matthias Clasen
691c683ed5 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=/branches/glib-2-14/; revision=5826
2007-11-08 13:37:45 +00:00
Matthias Clasen
7c29240702 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=/branches/glib-2-14/; revision=5825
2007-11-08 13:36:40 +00:00
Matthias Clasen
2afc38c88f 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=/branches/glib-2-14/; revision=5824
2007-11-08 13:35:02 +00:00
Matthias Clasen
a9c034f68d niftier formatting
svn path=/branches/glib-2-14/; revision=5810
2007-11-08 01:57:48 +00:00
Matthias Clasen
8a9d6f2160 branch for 2.14
svn path=/branches/glib-2-14/; revision=5809
2007-11-08 01:55:40 +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