Commit Graph

6288 Commits

Author SHA1 Message Date
Matthias Clasen
6537b5e11d Always reset the use count to its previous value before returning FALSE.
* gtypemodule.c (g_type_module_use): Always reset the use count
        to its previous value before returning FALSE. Pointed out by
        Johan Billien.


svn path=/trunk/; revision=7725
2008-12-02 05:14:00 +00:00
Matthias Clasen
26a4a31b1a Bump version
svn path=/trunk/; revision=7723
2008-12-01 20:03:38 +00:00
Matthias Clasen
cce2159983 2.19.2
svn path=/trunk/; revision=7721
2008-12-01 20:01:16 +00:00
Matthias Clasen
e959473234 Revert behaviour change in g_data_input_stream_read_line
svn path=/trunk/; revision=7720
2008-12-01 19:02:58 +00:00
Matthias Clasen
52bfda3aea Bump version
svn path=/trunk/; revision=7718
2008-12-01 14:48:22 +00:00
Matthias Clasen
ec48fa8fc2 2.19.1
svn path=/trunk/; revision=7717
2008-12-01 14:44:26 +00:00
Alexander Larsson
a95b7a3fab Add and document g_mount_is_shadowed plus calls to set/unset a mount as
2008-12-01  Alexander Larsson  <alexl@redhat.com>

        * gio.symbols:
        * gmount.[ch]:
        * gunionvolumemonitor.c:
        * gvolume.c:
	Add and document g_mount_is_shadowed plus calls
	to set/unset a mount as shadowed
	


svn path=/trunk/; revision=7716
2008-12-01 13:46:11 +00:00
Matthias Clasen
c2ac8fdc43 Updates
svn path=/trunk/; revision=7715
2008-12-01 06:52:15 +00:00
Matthias Clasen
8b39fa1e6a Comment out two failing tests
svn path=/trunk/; revision=7714
2008-12-01 06:47:04 +00:00
Matthias Clasen
d06747703b Mention all and help special values in debug envvars.
svn path=/trunk/; revision=7713
2008-12-01 06:10:50 +00:00
Matthias Clasen
7570db065a Remove the questionable closing sentence and all references to private
* gobject/tut_gtype.xml: Remove the questionable closing sentence
        and all references to private functions. Pointed out by Christian
        Dywan.


svn path=/trunk/; revision=7711
2008-12-01 03:13:46 +00:00
Behdad Esfahbod
5d5526c1a3 Bug 562639 – g_parse_debug_flags() parsing "help"
2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

        Bug 562639 – g_parse_debug_flags() parsing "help"

        * glib/gutils.c (g_parse_debug_string): Print available keys if
        string is "help".


svn path=/trunk/; revision=7710
2008-11-29 01:40:38 +00:00
Behdad Esfahbod
6d0e4aa2cf Bug 562638 – GDebugKey key member should be const
2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

        Bug 562638 – GDebugKey key member should be const

        * glib/gutils.h: Change GDebugKey key member from gchar * to
        const gchar *.


svn path=/trunk/; revision=7709
2008-11-29 01:21:11 +00:00
Matthias Clasen
a9df28d181 Improve docs
svn path=/trunk/; revision=7708
2008-11-29 00:07:33 +00:00
Matthias Clasen
db830dd381 Fix some documentation typos
svn path=/trunk/; revision=7707
2008-11-28 23:53:13 +00:00
Matthias Clasen
a44f5f6aaa Add g_app_info_get_commandline. Requested by Hans Petter Jansson.
* gio.symbols:
        * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
        by Hans Petter Jansson.

        * gdesktopappinfo.c: And implement it here.


svn path=/trunk/; revision=7706
2008-11-28 23:16:45 +00:00
Matthias Clasen
0be828b4f8 Explain the difference to g_key_file_get_value(). Pointed out by Mart
* glib/gkeyfile.c (g_key_file_get_string): Explain the difference
        to g_key_file_get_value(). Pointed out by Mart Raudsepp.



svn path=/trunk/; revision=7705
2008-11-28 21:22:21 +00:00
Matthias Clasen
a2830c774d Improve docs
svn path=/trunk/; revision=7704
2008-11-28 20:29:42 +00:00
Matthias Clasen
181c615ca4 Bug 557603 – carbon check output misplaced
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 557603 – carbon check output misplaced

        * configure.in: Call AC_PROG_CPP early to avoid it messing up
        carbon check output. Fix proposed by Christian Persch



svn path=/trunk/; revision=7703
2008-11-28 20:17:15 +00:00
Matthias Clasen
e4834e31c3 Improve the docs
svn path=/trunk/; revision=7702
2008-11-28 19:52:37 +00:00
Christian Dywan
b5321fe34c Fix a typo, s/detext/detect. Patch by Enrico Tröger.
2008-11-28  Christian Dywan  <christian@imendio.com>

	* gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.

svn path=/trunk/; revision=7700
2008-11-28 09:43:10 +00:00
Matthias Clasen
5e6aea1b2f Bug 559633 – gtk_image_new_from_gicon does not always work for .desktop
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 559633 – gtk_image_new_from_gicon does not always work for
        .desktop files

        * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
        extensions on icon names.  Proposed by Axel von Bertoldi.


svn path=/trunk/; revision=7698
2008-11-28 08:28:39 +00:00
Matthias Clasen
d4d876846e Bug 548163 – Nautilus displays wrong error message for too long file
names

        * glocalfile.c (g_local_file_set_display_name): Correctly set
        error conditions if the new name is e.g. too long. Reported
        by Leonardo Ferreira Fontenelle.


svn path=/trunk/; revision=7696
2008-11-28 08:05:49 +00:00
Matthias Clasen
e449a91b98 Bug 547481 – g_data_input_stream_read_line behaves not as stated in the
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 547481 – g_data_input_stream_read_line behaves not as stated in
        the docs

        * gdatainputstream.c (g_data_input_stream_read_line): Behave as
        documented and include the line end in the returned string.
        Pointed out by Paul Pogonyshev.

        * tests/data-input-stream.c: Fix the read_line test to test the
        documented behaviour.



svn path=/trunk/; revision=7694
2008-11-28 07:42:48 +00:00
Matthias Clasen
688b2e0ed2 Only allow deleting files that have been created by
* gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
        files that have been created by g_app_info_create_from_commandline.


svn path=/trunk/; revision=7693
2008-11-28 07:27:13 +00:00
Matthias Clasen
77a8c5cc15 Better fix
svn path=/trunk/; revision=7691
2008-11-28 07:04:43 +00:00
Matthias Clasen
c5938128ec Avoid unused variables
svn path=/trunk/; revision=7690
2008-11-28 07:02:57 +00:00
Matthias Clasen
6417df2a91 Bug 559110 – Do not include libintl.h after glibintl.h
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 559110 – Do not include libintl.h after glibintl.h

        * glib/glibintl.h: Define bind_textdomain_codeset in the DISABLE_NLS
        branch. Patch by Peter Kjellerstedt.

        * glib/gutil.c: Don't include libintl.h directly.


svn path=/trunk/; revision=7688
2008-11-28 06:24:51 +00:00
Matthias Clasen
0b715510de Bug 562393 – g_buffered_input_stream_read_byte broken if data available
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 562393 – g_buffered_input_stream_read_byte broken if data
        available

        * gio/gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
        handling of buffered content.  Patch by Philip Withnall

        * gio/tests/buffered-input-stream.c: Add a testcase for this bug.
        * gio/tests/Makefile.am: And build it



svn path=/trunk/; revision=7686
2008-11-28 05:57:07 +00:00
Matthias Clasen
636fa4640d Fix an issue with callbacks that return FALSE.
svn path=/trunk/; revision=7684
2008-11-28 05:17:27 +00:00
Matthias Clasen
6a0f0c2bfb Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing '/'
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
        '/'

        * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
        '/' away. Spotted by Dan Williams.

`

svn path=/trunk/; revision=7682
2008-11-28 05:09:21 +00:00
Christian Persch
ec59607150 Bug 559413 – g_option_group_set_error_hook docs buglet
svn path=/trunk/; revision=7675
2008-11-23 21:16:06 +00:00
Christian Persch
da8591c7a8 Bug 560568 – gkeyfile docs buglet
svn path=/trunk/; revision=7674
2008-11-23 21:16:01 +00:00
Christian Persch
47d6d6a451 Bug 560569 – gkeyfile doesn't use the set list_separator in some cases
svn path=/trunk/; revision=7673
2008-11-23 21:15:57 +00:00
Christophe Fergeau
ff4a7678e6 Bug 561212 – GFileReadMoreCallback API doc refers to non-existant function
* gio/giotypes.h: fix name of function referred to in
GFileReadMoreCallback API documentation

svn path=/trunk/; revision=7666
2008-11-21 10:30:43 +00:00
Matthias Clasen
08cae5cd63 Nicer indices
svn path=/trunk/; revision=7665
2008-11-21 07:28:50 +00:00
Cosimo Cecchi
d20bf1076b Bug 561375 – Leaks mountpoint description
2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>

	Bug 561375 – Leaks mountpoint description

	* glocalfile.c: (get_mount_info): don't leak the mountpoint description
	string.

svn path=/trunk/; revision=7662
2008-11-21 00:01:22 +00:00
Cosimo Cecchi
8dc9c875ff Bug 561352 – Leak of icon description
2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>

	Bug 561352 – Leak of icon description

	* gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
	generic icon string.

svn path=/trunk/; revision=7660
2008-11-20 23:58:39 +00:00
Matthias Clasen
dca2f339d5 Add some new macros
svn path=/trunk/; revision=7657
2008-11-15 00:54:24 +00:00
Matthias Clasen
fc4f55a1d0 Add G_FILE_ATTRIBUTE_PREVIEW_ICON
svn path=/trunk/; revision=7655
2008-11-15 00:04:49 +00:00
Matthias Clasen
ce008aebe6 Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table
svn path=/trunk/; revision=7654
2008-11-15 00:03:25 +00:00
Matthias Clasen
3e5cdcff0e Updates
svn path=/trunk/; revision=7650
2008-11-14 19:59:34 +00:00
Maxim Dziumanenko
943fc50c3e Update Ukrainian translation.
2008-11-13 Maxim Dziumanenko <dziumanenko@gmail.com>

	* Update Ukrainian translation.


svn path=/trunk/; revision=7649
2008-11-13 09:06:54 +00:00
Tor Lillqvist
2f575b95ac 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=/trunk/; revision=7648
2008-11-12 17:52:39 +00:00
Behdad Esfahbod
d442b59022 Bug 559448 – GObject Reference Manual (typo)
2008-11-10  Behdad Esfahbod  <behdad@gnome.org>

        Bug 559448 – GObject Reference Manual (typo)

        * gobject/tut_gobject.xml: Fix typo. 


svn path=/trunk/; revision=7646
2008-11-10 14:37:21 +00:00
Jorge Gonzalez Gonzalez
41f169e1ee Updated Spanish translation
svn path=/trunk/; revision=7645
2008-11-08 14:56:59 +00:00
Christian Dywan
00769cf7f1 Bug 558672 – NULL key lookup using g_hash_table_lookup_extended()
2008-11-04  Christian Dywan  <christian@imendio.com>

	Bug 558672 – NULL key lookup using g_hash_table_lookup_extended()

	* glib/ghash.c:
	Clarify g_hash_table_lookup_extended

svn path=/trunk/; revision=7644
2008-11-04 17:01:19 +00:00
Matthias Clasen
01ff0656a4 Mention ac_cv_func_posix_getgrgid_r.
* glib/cross.sgml: Mention ac_cv_func_posix_getgrgid_r.

svn path=/trunk/; revision=7643
2008-11-04 04:28:32 +00:00
Matthias Clasen
8b14e3744c Expand the docs of g_object_class_install_property. Proposed by Maciej
* gobject.c: Expand the docs of g_object_class_install_property.
Proposed by Maciej Piechotka

svn path=/trunk/; revision=7642
2008-11-04 04:17:40 +00:00
Tor Lillqvist
24fcd3cef8 Expand also build/win32/vs9/Makefile.
2008-11-02  Tor Lillqvist  <tml@novell.com>

	* configure.in: Expand also build/win32/vs9/Makefile.


svn path=/trunk/; revision=7641
2008-11-02 19:43:52 +00:00