5631 Commits

Author SHA1 Message Date
Tor Lillqvist
4df1459858 Fix Cygwin breakage. Patch by Lieven van der Heide.
2008-03-31  Tor Lillqvist  <tml@novell.com>

	* glib/gwin32.c
	(g_win32_get_package_installation_directory_of_module): Fix Cygwin
	breakage. Patch by Lieven van der Heide.


svn path=/branches/glib-2-16/; revision=6791
2008-03-31 13:41:43 +00:00
Tor Lillqvist
7030d82d1c Bug 525192 - 100% CPU if run main loop with no IO sources
2008-03-31  Tor Lillqvist  <tml@novell.com>

	Bug 525192 - 100% CPU if run main loop with no IO sources

	* glib/gmain.c (g_poll) [Win32]: Patch by Neil Roberts.


svn path=/branches/glib-2-16/; revision=6788
2008-03-31 07:46:41 +00:00
Matthias Clasen
608eea647b Updates
svn path=/branches/glib-2-16/; revision=6786
2008-03-31 05:17:23 +00:00
Matthias Clasen
0477673e7c Bump version
svn path=/branches/glib-2-16/; revision=6785
2008-03-31 04:58:18 +00:00
Matthias Clasen
e1d76b4230 Don't use ARG_MAX. (#522335, patch by Sebastian Dröge)
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/gtester.c: Don't use ARG_MAX.  (#522335, patch by
        Sebastian Dröge)



svn path=/branches/glib-2-16/; revision=6783
2008-03-31 04:25:27 +00:00
Matthias Clasen
6258bfd03d Simple fixes to help building GLib on embedded systems without NLS.
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/glibintl.h:
        * glib/gstrfuncs.c:
        * glib/gutils.c: Simple fixes to help building GLib on
        embedded systems without NLS.  (#524350, Peter Kjellerstedt)

svn path=/branches/glib-2-16/; revision=6780
2008-03-31 03:55:50 +00:00
Matthias Clasen
6d4536b293 Fix the build with -DG_DISABLE_ASSERT. (#525060, Arfrever Frehtes
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/ghash.c: Fix the build with -DG_DISABLE_ASSERT.
        (#525060, Arfrever Frehtes Taifersar Arahesis)

svn path=/branches/glib-2-16/; revision=6778
2008-03-31 03:46:32 +00:00
Matthias Clasen
2f04b46e18 Replace occurrances of G_GNUC_PRETTY_FUNCTION by G_STRFUNC. (#524344,
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION
        by G_STRFUNC.  (#524344, Peter, Kjellerstedt)



svn path=/branches/glib-2-16/; revision=6776
2008-03-31 03:40:21 +00:00
Matthias Clasen
c4858eabda Fix some documentation typos. (#524950, Rob Bradford)
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * gfileenumerator.c:
        * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)


svn path=/branches/glib-2-16/; revision=6774
2008-03-31 03:32:28 +00:00
Matthias Clasen
b9f2d03ccd Fix a doc typo. (#524742, Hiroyuki Ikezoe)
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/gtestutils.c: Fix a doc typo. (#524742, Hiroyuki Ikezoe)



svn path=/branches/glib-2-16/; revision=6772
2008-03-31 03:18:45 +00:00
Changwoo Ryu
2e7bfe107c Updated Korean translation
svn path=/branches/glib-2-16/; revision=6770
2008-03-30 00:30:03 +00:00
Yair Hershkovitz
8f89dc091a updated hebrew translation
svn path=/branches/glib-2-16/; revision=6769
2008-03-28 19:28:39 +00:00
Alexander Larsson
0a810aa697 Fix up last commit.
2008-03-28  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        (copy_stream_with_progress):
	Fix up last commit.
	


svn path=/branches/glib-2-16/; revision=6767
2008-03-28 13:58:30 +00:00
Alexander Larsson
5f10354bf0 Fallback to g_file_query_info for source size if
2008-03-28  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        (copy_stream_with_progress):
        (file_copy_fallback):
	Fallback to g_file_query_info for source size
	if g_file_input_stream_query_info fails. (#524579)


svn path=/branches/glib-2-16/; revision=6764
2008-03-28 12:44:25 +00:00
Alexander Larsson
184395e26d Reuse old string instead of adding new one.
2008-03-28  Alexander Larsson  <alexl@redhat.com>

	* glocalfile.c (g_local_file_move):
	Reuse old string instead of adding new one.


svn path=/branches/glib-2-16/; revision=6761
2008-03-28 11:38:21 +00:00
Alexander Larsson
4a79033e0c Merge from trunk:
2008-03-27  Alexander Larsson  <alexl@redhat.com>

	Merge from trunk:

	* glocalfile.c (g_local_file_move):
	Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
	file over directory. This is according to the docs and what the move via
	copy+remove fallback does.


svn path=/branches/glib-2-16/; revision=6759
2008-03-27 20:14:05 +00:00
Philip Withnall
2ea98f2bc3 Updated British English translation.
2008-03-25  Philip Withnall  <pwithnall@svn.gnome.org>

	* en_GB.po: Updated British English translation.


svn path=/branches/glib-2-16/; revision=6756
2008-03-26 15:51:45 +00:00
Tor Lillqvist
2592b67518 Merge from trunk:
2008-03-24  Tor Lillqvist  <tml@novell.com>

	Merge from trunk:

	* Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
	depend on gio.def on Windows.

	* Makefile.am: Actually use the gio.def file when linking the
	library on Windows. Produce .lib library for Microsoft's toolchain
	when possible. Install the .lib and .def file like for the other
	libraries of GLib.


svn path=/branches/glib-2-16/; revision=6755
2008-03-24 11:48:59 +00:00
Nguyễn Thái Ngọc Duy
0a284911b6 Update Vietnamese translation
2008-03-23  Nguyễn Thái Ngọc Duy <pclouds@gmail.com>

	* vi.po: Update Vietnamese translation


svn path=/branches/glib-2-16/; revision=6753
2008-03-23 09:18:09 +00:00
Claude Paroz
169cbf840f Updated French translation.
2008-03-21  Claude Paroz  <claude@2xlibre.net>

	* fr.po: Updated French translation.

svn path=/branches/glib-2-16/; revision=6750
2008-03-21 21:29:41 +00:00
Matej Urbančič
2dd6066c5c Updated Slovenian translation
svn path=/branches/glib-2-16/; revision=6749
2008-03-21 18:14:38 +00:00
Alexander Larsson
dc899ea46e Final fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)
2008-03-20  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Final fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)
	Patch from ephraim_owns@hotmail.com



svn path=/branches/glib-2-16/; revision=6747
2008-03-20 11:44:34 +00:00
Tor Lillqvist
7bdb3fc265 Bug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)
2008-03-19  Tor Lillqvist  <tml@novell.com>

	Bug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)

	* glib/win_iconv.c: Fixes for code page 54936 (GB18030)
	(mbtowc_flags): New function. Check if a code page is one of those
	for which the dwFlags parameter to MultiByteToWideChar() must be
	zero. Return 0 or MB_ERR_INVALID_CHARS.
	(mbcs_mblen): New function for multi-byte (more than two bytes for
	some characters) code pages. Only handles 54936 for now.
	(make_csconv): Use it for 54936.
	(kernel_mbtowc): Use mbtowc_flags().


svn path=/branches/glib-2-16/; revision=6742
2008-03-20 02:44:14 +00:00
Sebastien Bacher
029a6e2233 change from debian, consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS
2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>

	* gunixmounts.c: (guess_mount_type): change from debian,
	consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (#523338)

svn path=/branches/glib-2-16/; revision=6738
2008-03-19 14:09:57 +00:00
Alexander Larsson
08d9f52d68 Bump block side for copy to 64k to minimize overhead for low latency
2008-03-19  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        (copy_stream_with_progress):
	Bump block side for copy to 64k to minimize
	overhead for low latency links. (#523015)


svn path=/branches/glib-2-16/; revision=6736
2008-03-19 12:18:13 +00:00
Sebastian Dröge
c3a094045b Bug 522292 - Gives warnings in glib/gutils.h with GCC in C99 mode
* glib/gutils.h: Use "__attribute__ ((__gnu_inline__))" for inlining
if either __GNUC_STDC_INLINE__ or __GNUC_GNU_INLINE__ are defined. In
gcc version prior to 4.3 no correct C99-inline was implemented which
has semantic differences to GNU inline.

svn path=/branches/glib-2-16/; revision=6734
2008-03-18 20:10:28 +00:00
Laurent Dhima
51227463f2 Updated Translation
svn path=/branches/glib-2-16/; revision=6731
2008-03-18 15:56:34 +00:00
Simos Xenitellis
5742577e7a Updated Greek translation by Giannis Katsampiris
svn path=/branches/glib-2-16/; revision=6730
2008-03-18 10:56:49 +00:00
Laurent Dhima
1e9738f4fe Updated Translation
svn path=/branches/glib-2-16/; revision=6727
2008-03-18 10:02:07 +00:00
Luca Ferretti
518fb83293 Updated Italian translation.
2008-03-17  Luca Ferretti  <elle.uca@libero.it>

	* it.po: Updated Italian translation.

svn path=/branches/glib-2-16/; revision=6726
2008-03-17 21:06:55 +00:00
Yang Zhang
68fe822b6b Updated zh_CN translation from trunk by manphiz
svn path=/branches/glib-2-16/; revision=6725
2008-03-17 04:31:47 +00:00
Ihar Hrachyshka
2afd02c9d8 Updated Belarusian Latin translation.
svn path=/branches/glib-2-16/; revision=6723
2008-03-16 10:40:53 +00:00
Gabor Kelemen
0134977e2d Translation updated
2008-03-16  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated


svn path=/branches/glib-2-16/; revision=6719
2008-03-16 01:06:17 +00:00
Yuri Kozlov
1c26ba09e4 Updated Russian translation.
2008-03-15  Yuri Kozlov <kozlov.y@gmail.com>

	* ru.po: Updated Russian translation.


svn path=/branches/glib-2-16/; revision=6718
2008-03-15 23:00:57 +00:00
Marcel Telka
d24aa24f34 Updated Slovak translation.
2008-03-15  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.

svn path=/branches/glib-2-16/; revision=6716
2008-03-15 14:06:01 +00:00
Alexander Larsson
5d06fb21d1 Fix C89 issue (#521672) Patch from Jens Granseuer
2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * gfilemonitor.c:
        (g_file_monitor_is_cancelled):
	Fix C89 issue (#521672)
	Patch from Jens Granseuer


svn path=/branches/glib-2-16/; revision=6709
2008-03-14 11:06:16 +00:00
Alexander Larsson
f6f0959db2 Shut down fam (including removing fam GSource) when module is unloaded
2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * fam/fam-helper.[ch]:
        * fam/fam-module.c:
	Shut down fam (including removing fam GSource) when
	module is unloaded (#521513)
	Patch from Joe Marcus Clarke   



svn path=/branches/glib-2-16/; revision=6707
2008-03-14 11:03:32 +00:00
Alexander Larsson
c6e5298449 Add required includes for f_fstypename member check.
2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Add required includes for f_fstypename member check.

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        (g_local_file_query_filesystem_info):
	Use right define name for f_fstypename member check


svn path=/branches/glib-2-16/; revision=6704
2008-03-14 09:28:17 +00:00
Sebastian Dröge
0dc34bf29a Bug 316221 - G_LOCK warns about breaking strict-aliasing rules
* configure.in:
* glib/gthread.h: Prevent the compiler from warning about breaking
strict-aliasing rules when using gcc 4.3 and G_LOCK on C sources.

svn path=/trunk/; revision=6691
2008-03-12 15:36:38 +00:00
Wouter Bolsterlee
7de2454b08 Updated Dutch translation by Wouter Bolsterlee.
2008-03-12  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* nl.po: Updated Dutch translation by Wouter Bolsterlee.


svn path=/trunk/; revision=6690
2008-03-12 15:04:22 +00:00
Tor Lillqvist
5fe2e21960 Implement as empty, returning FALSE, on Win32.
2008-03-12  Tor Lillqvist  <tml@novell.com>

	* glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
	returning FALSE, on Win32.


svn path=/trunk/; revision=6689
2008-03-12 13:16:54 +00:00
Ignacio Casal Quinteiro
2e345c7366 Updated Galician Translation.
svn path=/trunk/; revision=6688
2008-03-12 09:59:34 +00:00
Jonh Wendell S. Santana
1c125487ff minor update in pt_BR
svn path=/trunk/; revision=6687
2008-03-12 00:06:09 +00:00
Tor Lillqvist
fb72653abc Bug 520914 - win_iconv doesn't support UCS-2
2008-03-12  Tor Lillqvist  <tml@novell.com>

	Bug 520914 - win_iconv doesn't support UCS-2
	
	* glib/win_iconv.c: Make UCS-2 just an alias for
	UTF-16. Technically this is wrong of course, but shouldn't matter
	an awful lot in practice.


svn path=/trunk/; revision=6686
2008-03-12 00:04:52 +00:00
Daniel Nylander
971cacb4ed sv.po: Updated Swedish translation
svn path=/trunk/; revision=6684
2008-03-11 20:23:16 +00:00
Gil Forcada Codinachs
65f97d4fe7 Updated Catalan translation
svn path=/trunk/; revision=6683
2008-03-11 19:12:57 +00:00
Philip Withnall
1494db33e9 Updated British English translation.
2008-03-11  Philip Withnall  <pwithnall@svn.gnome.org>

	* en_GB.po: Updated British English translation.


svn path=/trunk/; revision=6682
2008-03-11 17:30:39 +00:00
Baris Cicek
b0c58d2cf5 updated Turkish translation
svn path=/trunk/; revision=6681
2008-03-11 17:06:49 +00:00
Murray Cumming
0ae78c829d Bug 521591 – g_markup_parse_context_parse() creates GError message that
2008-03-11  Murray Cumming  <murrayc@murrayc.com>

Bug 521591 – g_markup_parse_context_parse() creates GError message that 
is invalid UTF8.

* glib/gmarkup.c (set_error): Make sure that the GError::message is 
valid UTF-8 even if it is complaining about invalid UTF-8 in the 
markup text, using _g_utf8_make_valid().

svn path=/trunk/; revision=6680
2008-03-11 15:43:25 +00:00
Alexander Larsson
c5a10d2650 Correctly implement can_trash by actually looking for a trash dir, not
2008-03-11  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        * glocalfileinfo.[ch]:
	Correctly implement can_trash by actually
	looking for a trash dir, not just assuming
	one exists.


svn path=/trunk/; revision=6679
2008-03-11 14:48:28 +00:00