6181 Commits

Author SHA1 Message Date
Matthias Clasen
c1281a0375 2.18.2
svn path=/branches/glib-2-18/; revision=7608
GLIB_2_18_2
2008-10-16 21:24:27 +00:00
Matthias Clasen
61f82f5afd Don't specify multiple directories in DOC_SOURCE_DIR. It doesn't work.
* glib/Makefile.am: Don't specify multiple directories in
        DOC_SOURCE_DIR. It doesn't work.



svn path=/branches/glib-2-18/; revision=7606
2008-10-16 19:22:11 +00:00
Matthias Clasen
38d9412b51 Updates
svn path=/branches/glib-2-18/; revision=7605
2008-10-16 05:06:01 +00:00
Matthias Clasen
6ec48813f1 Bug 556334 – Warning when building without selinux support
2008-10-14  Matthias Clasen  <mclasen@redhat.com>

        Bug 556334 – Warning when building without selinux support

        * glocalfileinfo.c: Avoid compiler warnings when selinux is
        disabled. Patch by Pascal Terjan


svn path=/branches/glib-2-18/; revision=7602
2008-10-15 03:40:53 +00:00
Alexander Larsson
e999f10a8f Merged from trunk:
2008-10-13  Alexander Larsson  <alexl@redhat.com>

	Merged from trunk:

        * gdesktopappinfo.c:
	When adding an application as handling a mime type (but
	not as the default), copy the full list of desktop ids handling
	that type in before adding the new one on the end of the list.
	This means we're not accidentally changing the default by overriding
	the info from the later directories in the search path.
	
	Also, fixes small leak of removed_entries.


svn path=/branches/glib-2-18/; revision=7596
2008-10-13 10:03:15 +00:00
Alexander Larsson
49c3c77009 Merged from trunk:
2008-10-10  Alexander Larsson  <alexl@redhat.com>

	Merged from trunk:

	* gfileattribute.c (escape_byte_string):
	Upper half of byte is >> 4, not >> 8.
	Found by Kjartan Maraas via sparse


svn path=/branches/glib-2-18/; revision=7591
2008-10-10 11:36:41 +00:00
Matthias Clasen
ad0b356a9e Bug 555711 – Wrong fallback order of mimetype icons
* gcontenttype.c: Don't prefer generic icons over
        default mimetype icons.

        * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
        * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
        to generic icons.
        Patch by Krysztof Kosiński


svn path=/branches/glib-2-18/; revision=7589
2008-10-10 05:14:06 +00:00
Matthias Clasen
0fd18b3ba7 Bug 555121 – Improved build-time handling of gio module-dir
2008-10-10  Matthias Clasen  <mclasen@redhat.com>

        Bug 555121 – Improved build-time handling of gio module-dir

        * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
        * Makefile.am: Create the module dir.


svn path=/branches/glib-2-18/; revision=7588
2008-10-10 05:12:22 +00:00
Alexander Larsson
c2007bc0f9 Actually return -1 in case of cancelled, not old res value.
2008-10-09  Alexander Larsson  <alexl@redhat.com>

	* gunixinputstream.c (g_unix_input_stream_read):
	Actually return -1 in case of cancelled, not old res value.



svn path=/branches/glib-2-18/; revision=7582
2008-10-09 10:02:45 +00:00
Christian Persch
49ffecc6ba Bug 555314 – mem leak in gmarkup
svn path=/branches/glib-2-18/; revision=7581
2008-10-08 20:55:10 +00:00
Tor Lillqvist
48064c2032 Bug 554790 - g_convert() misbehaves with winiconv versions
2008-10-08  Tor Lillqvist  <tml@novell.com>

	Bug 554790 - g_convert() misbehaves with winiconv versions

	* glib/win_iconv.c (kernel_mbtowc): If converting from ASCII,
	explicitly check for and reject 8bit chars. MultiByteToWideChar()
	doesn't, at least not on XP.


svn path=/branches/glib-2-18/; revision=7577
2008-10-08 20:34:46 +00:00
Tor Lillqvist
3d6acd2e32 glib/gprintf.c Don't define _GNU_SOURCE on Windows, as _GNU_SOURCE has
2008-09-30  Tor Lillqvist  <tml@novell.com>

	* glib/gprintf.c
	* glib/gnulib/vasnprintf.c: Don't define _GNU_SOURCE on Windows,
	as _GNU_SOURCE has unintended side effects when compiling against
	newest mingw headers.


svn path=/branches/glib-2-18/; revision=7576
2008-10-08 20:27:52 +00:00
Kjartan Maraas
fe0dcbdba0 Try to complete this.
2008-10-06  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Try to complete this.

2008-10-04 Og Maciel <ogmaciel@gnome.org>

svn path=/branches/glib-2-18/; revision=7571
2008-10-06 15:56:11 +00:00
Pascal Terjan
106f91acd1 Bug 554970 – segfault when update-desktop-database is not available
2008-10-05  Pascal Terjan  <pterjan@linuxfr.org>

	Bug 554970 – segfault when update-desktop-database is not available
	on the system

	* gdesktopappinfo.c (run_update_command): Have the error set before 
	using it.


svn path=/branches/glib-2-18/; revision=7569
2008-10-05 00:31:00 +00:00
Og B. Maciel
48c238a6e9 Updated Brazilian Portuguese translation.
svn path=/branches/glib-2-18/; revision=7567
2008-10-04 14:20:26 +00:00
Tor Lillqvist
a50c5f5b98 Avoid a g_critical(). Pass a large enough result buffer to
2008-09-30  Tor Lillqvist  <tml@novell.com>

	* glocalfile.c (get_volume_for_path) [Win32]: Avoid a
	g_critical(). Pass a large enough result buffer to
	GetVolumePathNameW(). Just use MAX_PATH.


svn path=/branches/glib-2-18/; revision=7560
2008-09-30 10:45:43 +00:00
Leonardo Ferreira Fontenelle
0770dc066a Fixed terminology in Brazilian Portuguese translation by Vladimir Melo.
2008-09-27  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	* pt_BR.po: Fixed terminology in Brazilian Portuguese translation by 
	Vladimir Melo.

svn path=/branches/glib-2-18/; revision=7558
2008-09-27 18:14:15 +00:00
Matthias Clasen
8a5ae477f3 Bug 553857 – gbacktrace.h requires signal.h
2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 553857 – gbacktrace.h requires signal.h

        * glib/gbacktrace.h: Include signal.h for raise().
        Pointed out by Sebastien Bacher


svn path=/branches/glib-2-18/; revision=7549
2008-09-26 14:35:19 +00:00
Matthias Clasen
88235e0721 Bug 553724 – python interpretter path not patched in correctly
2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 553724 – python interpretter path not patched in correctly

        * glib/Makefile.am: Fix the sed magic to replace python.



svn path=/branches/glib-2-18/; revision=7547
2008-09-26 14:31:01 +00:00
Tor Lillqvist
908a403550 Fix embarrassing bug: I was passing an incorrect third parameter to
2008-09-23  Tor Lillqvist  <tml@novell.com>

	* glib/gmain.c (poll_rest) [Win32]: Fix embarrassing bug: I was
	passing an incorrect third parameter to memmove(), had forgotten
	to multiply by the size of the table entry. Just use a for loop
	instead, clearer. Odd I didn't notice when testing this code.


svn path=/branches/glib-2-18/; revision=7534
2008-09-23 15:37:36 +00:00
Kenneth Nielsen
37ad67b1f8 Updated Danish translation
svn path=/branches/glib-2-18/; revision=7531
2008-09-22 21:20:32 +00:00
Priit Laes
8e36394a38 Translation updated by Ivar Smolin
2008-09-22  Priit Laes  <plaes at svn dot gnome dot org>

	* et.po: Translation updated by Ivar Smolin

svn path=/branches/glib-2-18/; revision=7530
2008-09-22 07:24:36 +00:00
Ankitkumar Rameshchandra Patel
1ee877ae91 Updated Gujarati Translations.
svn path=/branches/glib-2-18/; revision=7529
2008-09-22 05:41:38 +00:00
Kenneth Nielsen
e07ef14ddd Updated Danish translation
svn path=/branches/glib-2-18/; revision=7527
2008-09-22 01:08:39 +00:00
Nickolay V. Shmyrev
2df739b4d7 Updated Russian translation.
2008-09-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* ru.po: Updated Russian translation.


svn path=/branches/glib-2-18/; revision=7525
2008-09-21 19:22:57 +00:00
Wadim Dziedzic
384bc25f17 Updated Polish translation
2008-09-21  Wadim Dziedzic  <wdziedzic@aviary.pl>

	* pl.po: Updated Polish translation

svn path=/branches/glib-2-18/; revision=7523
2008-09-21 18:45:47 +00:00
Matthias Clasen
da47e8f8ae Plug a memory leak
svn path=/branches/glib-2-18/; revision=7521
2008-09-21 00:04:37 +00:00
Rajesh Ranjan
fd0e923a15 hindi update by Rajesh Ranjan
svn path=/branches/glib-2-18/; revision=7519
2008-09-20 08:04:58 +00:00
Goran Rakic
e6c78e177f Updated Serbian translation
svn path=/branches/glib-2-18/; revision=7517
2008-09-20 00:36:23 +00:00
Mugurel Tudor
5c26f0f844 Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
2008-09-19  Mugurel Tudor  <mugurelu@gnome.ro>

	* ro.po: Updated Romanian translation by
	Mişu Moldovan <dumol@gnome.ro>

svn path=/branches/glib-2-18/; revision=7516
2008-09-19 14:11:42 +00:00
Felix I
4833186a8a Tamil translation updated
svn path=/branches/glib-2-18/; revision=7514
2008-09-19 12:18:45 +00:00
Tor Lillqvist
515ebdeb51 Look for man pages in share/man.
2008-09-19  Tor Lillqvist  <tml@novell.com>

	* glib-zip.in: Look for man pages in share/man.


svn path=/branches/glib-2-18/; revision=7513
2008-09-19 10:42:44 +00:00
Djihed Afifi
c7b74d417e Updated Arabic Translation by Anas Afif Emad.
* Updated Arabic Translation by Anas Afif Emad. 

svn path=/trunk/; revision=7508
2008-09-18 02:02:45 +00:00
Matthias Clasen
d369843405 Bump version
svn path=/trunk/; revision=7507
2008-09-17 23:58:48 +00:00
Matthias Clasen
ac516ab07e 2.18.1
svn path=/trunk/; revision=7505
GLIB_2_18_1
2008-09-17 23:56:04 +00:00
Matthias Clasen
042345d59e Updates
svn path=/trunk/; revision=7504
2008-09-17 22:52:48 +00:00
Krishnababu Krothapalli
e9b8e8cf64 Updated Telugu Translation.
svn path=/trunk/; revision=7503
2008-09-17 14:17:06 +00:00
Krishnababu Krothapalli
8c488610dc Updated Changelog file
svn path=/trunk/; revision=7502
2008-09-17 14:16:07 +00:00
Michael Natterer
2623f6fc0f can't assign the return value of g_strdupv() to an array. Fill the array
2008-09-16  Michael Natterer  <mitch@imendio.com>

	* gcontenttype.c (g_content_type_guess): can't assign the return
	value of g_strdupv() to an array. Fill the array manually with
	const strings instead (it is never freed anyway). Fixes the
	build. Also fixed indentation.


svn path=/trunk/; revision=7501
2008-09-16 11:36:52 +00:00
Wouter Bolsterlee
1d627b703f Fix trivial typo to unbreak the build (there was a colon instead of a
2008-09-16  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
	Fix trivial typo to unbreak the build (there was a colon
	instead of a semicolon at the end of a statement).


svn path=/trunk/; revision=7500
2008-09-16 09:13:19 +00:00
Tor Lillqvist
9d3d04412b Add an "install" project that copies the deliverables into a place
from which projects in other packages will use them.

svn path=/trunk/; revision=7499
2008-09-16 01:04:55 +00:00
Tor Lillqvist
553a13c641 Use "win64" in the names of the helper exes when built for 64-bit
Windows, like in the Makefile.am.


svn path=/trunk/; revision=7498
2008-09-15 23:10:10 +00:00
Tor Lillqvist
47d23c1888 New folder. Project files for use with MSVS9. Based on the MSVS8 project
2008-09-16  Tor Lillqvist  <tml@novell.com>

	* win32/vs9: New folder. Project files for use with MSVS9. Based
	on the MSVS8 project files is win32/vs8. Four configurations:
	Debug|Win32, Release|Win32, Debug|x64 and Release|x64. DLL names
	simplified to of the style glib-2-vs9.dll.


svn path=/trunk/; revision=7497
2008-09-15 22:59:44 +00:00
Tor Lillqvist
6af6a8dab0 time_t is 64 bits in all the newer Microsoft C libraries, not just 64-bit
2008-09-16  Tor Lillqvist  <tml@novell.com>

	* glib/gtimer.c (g_time_val_to_iso8601): time_t is 64 bits in all
	the newer Microsoft C libraries, not just 64-bit ones. So to avoid
	crash if compiled with newer MSVSes, use a separate time_t
	variable in all cases on Windows.


svn path=/trunk/; revision=7496
2008-09-15 22:52:12 +00:00
Tor Lillqvist
d4ad716a05 Define G_BREAKPOINT() also for 64-bit MSVC, using the __debugbreak()
2008-09-16  Tor Lillqvist  <tml@novell.com>

	* glib/gbacktrace.h: Define G_BREAKPOINT() also for 64-bit MSVC,
	using the __debugbreak() intrinsic.


svn path=/trunk/; revision=7495
2008-09-15 22:19:38 +00:00
Behdad Esfahbod
bf6222e785 Fix description of module shared library suffix.
2008-09-15  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Fix description of module shared library suffix.


svn path=/trunk/; revision=7494
2008-09-15 18:59:25 +00:00
Tor Lillqvist
9fcbe1f2a9 Missed one /win32...
svn path=/trunk/; revision=7493
2008-09-15 16:52:20 +00:00
Matthias Clasen
cdded60e29 Ignore an empty Path value
svn path=/trunk/; revision=7492
2008-09-15 16:26:38 +00:00
Matthias Clasen
f634171ec5 Bug 551681 – g_content_type_guess() too naive with filenames
* gcontenttype.c (g_content_type_guess): Check whether there's a '/'
        at the end of the filename, and declare it a directory.
        Patch by Bastien Nocera


svn path=/trunk/; revision=7491
2008-09-15 16:06:05 +00:00
Tor Lillqvist
4b92cd39fd Drop the "win32" part from under "dependencies" so that the same project
2008-09-15  Tor Lillqvist  <tml@novell.com>

	* win32/vs8/*.vcproj: Drop the "win32" part from under
	"dependencies" so that the same project files can be used also
	for 64-bit compilation by just having a different
	"dependencies" folder containing 64-bit packages instead. At
	least, I hope it will work out some way like that. MSVS
	project files really are a pain to maintain. Much information
	is typically copied for four different configurations
	"Debug|Win32", "Release|Win32", "Debug|x64" and "Release|x64"
	instead of having common stuff listed just once and only different
	parametrisations. Or am I missing something?
	
	Make the "Release" configuration work, too. Use correct character
	set for the gspawn-win32-helper programs. Use correct subsystem
	for the non-console one.


svn path=/trunk/; revision=7490
2008-09-15 16:04:33 +00:00