6194 Commits

Author SHA1 Message Date
Matthias Clasen
52acb0af29 Updates
svn path=/branches/glib-2-18/; revision=7656
2008-11-15 00:13:17 +00:00
Matthias Clasen
3308fda56c Plug a memory leak
svn path=/branches/glib-2-18/; revision=7653
2008-11-14 23:26:08 +00:00
Matthias Clasen
c2dc7dd85e Small documentation fix.
svn path=/branches/glib-2-18/; revision=7652
2008-11-14 23:22:27 +00:00
Matthias Clasen
39705cc3e0 Bug 557210 – g_compute_checksum_for_* asserts with less than 2 bytes
* glib/gchecksum.c (g_compute_checksum_for_data): Accept
        lengths < 2. Patch by Tommi Komulainen


svn path=/branches/glib-2-18/; revision=7651
2008-11-14 23:20:49 +00:00
Tor Lillqvist
cb717fd4db Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
2008-11-12  Tor Lillqvist  <tml@novell.com>

	Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()

	* win32/gwinhttpvfs.h: Move the set of function pointers to
	winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
	pointer to that in the GWinHttpVfsClass.
	
	* win32/gwinhttpvfs.c: Move the lookup of functions from
	winhttp.dll into a function of its own, that stores the pointers
	in a separate GWinHttpDllFuncs variable. Add two bookeeping
	booleans lookup_done and funcs_found.

	Don't call g_io_extension_point_implement() to register the
	winhttp extension unless winhttp.dll has been successfully loaded
	and the required functions found in it.

	* win32/gwinhttp*.c: Adjust calls of the functions looked up from
	winhttp.dll correspondingly.


svn path=/branches/glib-2-18/; revision=7647
2008-11-12 17:42:37 +00:00
Tor Lillqvist
ea6ff61ce7 Bug 558153 - Patch for .def files generation
2008-11-02  Tor Lillqvist  <tml@novell.com>

	Bug 558153 - Patch for .def files generation

	* win32/{vs8,vs9}/*.vcproj: Add &quot; around paths, making it
	possible to compile in a directory containing spaces. .def files
	generation is done for every configuration not only the "Debug"
	ones.

	Patch by Guillaume Duhamel.


svn path=/branches/glib-2-18/; revision=7638
2008-11-02 19:39:31 +00:00
Grahame Bowland
4672b6f531 Bug 558185 – 'parent' variable in
2008-10-31  Grahame Bowland  <grahame@angrygoats.net>

	Bug 558185 – 'parent' variable in g_local_file_get_child_for_display_name() 
	hits g_object_unref(NULL) assertion

	* gio/glocalfile.c: 
	- remove unused variable. Patch by Matt Johnston <matt@ucc.asn.au>

svn path=/branches/glib-2-18/; revision=7635
2008-10-31 02:23:30 +00:00
Federico Mena Quintero
6db434cc6c Fix leak inside g_local_file_get_parse_name()
Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/branches/glib-2-18/; revision=7630
2008-10-27 20:44:25 +00:00
Tor Lillqvist
8fb341766b Bug 557592 - Missing include in gwinhttpfile.c
2008-10-27  Tor Lillqvist  <tml@novell.com>

	Bug 557592 - Missing include in gwinhttpfile.c

	* win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
	MSVC2008.


svn path=/branches/glib-2-18/; revision=7627
2008-10-27 08:28:31 +00:00
Alexander Larsson
dbfc719775 Merged from trunk:
2008-10-23  Alexander Larsson  <alexl@redhat.com>

	Merged from trunk:

	Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
	
        * glocalfileinfo.c:
        (_g_local_file_info_get):
	Don't return the fallback icon (text-x-generic) for all files.
	This is causing problems with theme icon lookup and custom mime
	icons, as the generic fallback overrides custom mime icons in
	inherited themes.

	This is a slight change as applications might not get an icon wher
	they previously did. But there is no guarantee to get on neither before
	or after this change, so it should not break applications. Changes
	to nautilus and gtk+ will be done to manually use the generic fallback
	icon if no icon is found, but this is only required for rare cases.
	


svn path=/branches/glib-2-18/; revision=7621
2008-10-23 09:23:04 +00:00
Christian Persch
8098f0db68 Bug 557087 – mem leak in g_content_types_get_registered
svn path=/branches/glib-2-18/; revision=7617
2008-10-20 16:50:17 +00:00
Djihed Afifi
40a6019b6f Updated Arabic Translation by Anas Afif Emad.
* Updated Arabic Translation by Anas Afif Emad. 

svn path=/branches/glib-2-18/; revision=7614
2008-10-19 11:40:25 +00:00
Matthias Clasen
020c5d7e4b Bump version
svn path=/branches/glib-2-18/; revision=7610
2008-10-16 21:32:24 +00:00
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