platform/upstream/glib.git
15 years agoUse pipe2 when available
Matthias Clasen [Sat, 20 Jun 2009 03:44:29 +0000 (23:44 -0400)]
Use pipe2 when available

This avoids a small window for races between pipe and fdset.
Reported in bug 579933 by Thiago Macieira.

15 years agoFix build on mingw
Matthias Clasen [Sat, 20 Jun 2009 03:18:09 +0000 (23:18 -0400)]
Fix build on mingw

Mingw does not have sys/uio.h. This was reported in bug 585937.

Author:    Matthias Clasen <mclasen@redhat.com>

15 years agoGMappedFile: add refcounting, switch to GSlice
Ryan Lortie [Thu, 18 Jun 2009 19:00:01 +0000 (15:00 -0400)]
GMappedFile: add refcounting, switch to GSlice

  - add g_mapped_file_ref() and g_mapped_file_unref().
  - deprecate g_mapped_file_free().
  - move to GSlice for allocating the GMappedFile struct.

15 years agoUse io_prio as mainloop prio for async-emulation (#579449)
Alexander Larsson [Thu, 18 Jun 2009 17:43:46 +0000 (19:43 +0200)]
Use io_prio as mainloop prio for async-emulation (#579449)

I'm not sure why we used the elaborate formula to convert the io-priority
to the priority of the mainloop idle when emulating async i/o with idles.
However, it causes the default io priority to be less than the normal
idle prio, so the i/o won't be scheduled if there is an idle outstanding.

There is really no great mapping to use here, doing blocking i/o in an
idle of any prio is generally bad and apps doing a lot of async i/o should
initialize threads. However, if we use the io-priority directly we at least
avoid the starvation problem above and make things easier to understand.

15 years agoRevert "clarify documentation"
Benjamin Otte [Thu, 18 Jun 2009 13:28:41 +0000 (15:28 +0200)]
Revert "clarify documentation"

This reverts commit d218cf0f670e4c40acb47ab5b5761ea0c68e0594.
This has been fixed in the code, so no need to keep the updated docs.

15 years agosyntax fix in documentation
Benjamin Otte [Thu, 18 Jun 2009 13:27:12 +0000 (15:27 +0200)]
syntax fix in documentation

15 years agofix typo in documentation
Benjamin Otte [Tue, 16 Jun 2009 13:18:11 +0000 (15:18 +0200)]
fix typo in documentation

15 years agoclarify documentation
Benjamin Otte [Fri, 12 Jun 2009 15:45:27 +0000 (17:45 +0200)]
clarify documentation

15 years agoBump version to 2.21.3
Matthias Clasen [Mon, 15 Jun 2009 17:27:40 +0000 (13:27 -0400)]
Bump version to 2.21.3

15 years ago2.21.2 2.21.2
Matthias Clasen [Mon, 15 Jun 2009 17:25:43 +0000 (13:25 -0400)]
2.21.2

15 years agoAdd g_setenv
Matthias Clasen [Mon, 15 Jun 2009 16:57:21 +0000 (12:57 -0400)]
Add g_setenv

15 years agoUpdate for 2.21.2
Matthias Clasen [Mon, 15 Jun 2009 16:26:41 +0000 (12:26 -0400)]
Update for 2.21.2

15 years agoBug 585591 – Starting/stopping drives
David Zeuthen [Mon, 15 Jun 2009 14:53:41 +0000 (10:53 -0400)]
Bug 585591 – Starting/stopping drives

Add API for starting/stopping drives. This new API will enable
GVolumeMonitor and GVfs implementations to add support for the
following features

 1. Powering down external hard disk enclosures / drives

 2. Starting/stopping multi-disk devices (such as RAID/btrfs/ZFS)

 3. Connecting/disconnecting iSCSI devices

 4. Reacting to the user pressing e.g. the "remove drive" button on
    a IBM/Lenovo Ultrabay: http://www.thinkwiki.org/wiki/Ultrabay

See the bug for the corresponding GVfs and Nautilus changes.

15 years agoFix incorrect freeing of thread pool in GThreadedSocketService (#584255)
Ondrej Jirman [Sat, 30 May 2009 06:23:46 +0000 (08:23 +0200)]
Fix incorrect freeing of thread pool in GThreadedSocketService (#584255)

15 years agoEmit changed in g_socket_listener_add_socket, not in add_address
Alexander Larsson [Mon, 15 Jun 2009 13:43:39 +0000 (15:43 +0200)]
Emit changed in g_socket_listener_add_socket, not in add_address

This way we emit this signal when add_socket is called from another
place than add_address too.

15 years agoRef the passed in socket in g_socket_listener_add_socket (#585599)
Alexander Larsson [Mon, 15 Jun 2009 13:42:38 +0000 (15:42 +0200)]
Ref the passed in socket in g_socket_listener_add_socket (#585599)

15 years agoAdd bound address out-argument to g_socket_listener_add_address (#585566)
Alexander Larsson [Mon, 15 Jun 2009 12:23:57 +0000 (14:23 +0200)]
Add bound address out-argument to g_socket_listener_add_address (#585566)

This is very useful when binding to "any" port.

15 years agoAdd g_reload_user_special_dirs_cache (#541276)
Alexander Larsson [Mon, 15 Jun 2009 11:18:22 +0000 (13:18 +0200)]
Add g_reload_user_special_dirs_cache (#541276)

This is useful for nautilus that changes the xdg-user-dirs files.

15 years agoAvoid unnecessary work if mount watching not specified (#585360)
Alexander Larsson [Mon, 15 Jun 2009 10:25:43 +0000 (12:25 +0200)]
Avoid unnecessary work if mount watching not specified (#585360)

If G_FILE_MONITOR_WATCH_MOUNTS isn't specified, don't do all the work
when the mtab changes.

15 years agoSupport special icons for xdg user dirs
Matthias Clasen [Mon, 15 Jun 2009 05:45:34 +0000 (01:45 -0400)]
Support special icons for xdg user dirs

The icon names are folder-documents, folder-download, folder-music,
folder-pictures, folder-publicshare, folder-templates, folder-videos.
See bug 541276.

15 years agoDon't use deprecated GLib api
Matthias Clasen [Mon, 15 Jun 2009 05:12:50 +0000 (01:12 -0400)]
Don't use deprecated GLib api

Fixes bug 585673.

15 years agoRefer to the correct gcc deprecation options
Matthias Clasen [Mon, 15 Jun 2009 05:09:25 +0000 (01:09 -0400)]
Refer to the correct gcc deprecation options

This oversight was pointed out in bug 585520.

15 years agoFix some typos in list documentation
Matthias Clasen [Mon, 15 Jun 2009 05:03:54 +0000 (01:03 -0400)]
Fix some typos in list documentation

This fixes bug 585726.

15 years agoExtract strings from g_dngettext too
Matthias Clasen [Mon, 15 Jun 2009 04:52:43 +0000 (00:52 -0400)]
Extract strings from g_dngettext too

There is one occurrence of this in glib, which we currently miss.
See bug 585717.

15 years agoFix the icon property implementation
Matthias Clasen [Mon, 15 Jun 2009 04:45:55 +0000 (00:45 -0400)]
Fix the icon property implementation

Turns out both the setter and the getter were broken...
Fixes bug 585676.

15 years agoTrivial formatting fixes
Matthias Clasen [Mon, 15 Jun 2009 04:38:34 +0000 (00:38 -0400)]
Trivial formatting fixes

15 years agoInclude sys/uio.h for struct iovec
Matthias Clasen [Mon, 15 Jun 2009 03:55:12 +0000 (23:55 -0400)]
Include sys/uio.h for struct iovec

This fixes the build on OS X, bug 585280.

15 years agoUse inotify_init1 when available
Matthias Clasen [Mon, 15 Jun 2009 02:26:52 +0000 (22:26 -0400)]
Use inotify_init1 when available

To avoid leaking the inotify fd. Fixes bug 585478.

15 years agoAdd GNIO test cases to .gitignore
Ryan Lortie [Sun, 14 Jun 2009 17:58:35 +0000 (13:58 -0400)]
Add GNIO test cases to .gitignore

15 years agoBug 585575 – g_socket_listener_add_inet_port()
Ryan Lortie [Fri, 12 Jun 2009 17:01:04 +0000 (13:01 -0400)]
Bug 585575 – g_socket_listener_add_inet_port()

Change the logic in g_socket_listener_add_inet_port() as per the
reasoning in the bug report.

  - If the OS supports neither IPv6 or IPv4, fail.
  - If the OS supports only IPv6, do that.
  - If the OS supports only IPv4, do that.
  - If the OS supports IPv6 and IPv6 "speaks" IPv4 then bind it
    and be done.
  - If the OS supports IPv6 and IPv6 doesn't "speak" IPv4 then
    create an additional socket for IPv4.
  - If binding any socket fails then fail the entire call.

Also, remove the ability to call this function with port == 0.  This
is a useless thing to do anyway since you have no way to know what
port number was actually allocated.  We should have a separate
function to deal with this.

15 years agoadd g_socket_speaks_ipv4()
Ryan Lortie [Fri, 12 Jun 2009 16:21:07 +0000 (12:21 -0400)]
add g_socket_speaks_ipv4()

Partial fix for Bug 585575.

15 years agomake all APIs that take inet port arguments take a guint16
Benjamin Otte [Fri, 12 Jun 2009 13:57:51 +0000 (15:57 +0200)]
make all APIs that take inet port arguments take a guint16

15 years agodon't make strings const when they are not
Benjamin Otte [Fri, 12 Jun 2009 13:57:12 +0000 (15:57 +0200)]
don't make strings const when they are not

gets rid of compiler warnings

15 years agoFix an oversight in the previous commit
Matthias Clasen [Thu, 11 Jun 2009 16:41:16 +0000 (12:41 -0400)]
Fix an oversight in the previous commit

We don't want to unset DISPLAY etc, if none is specified in the
app launch context.

15 years agoFix g_string_chunk_insert_len to accept nuls
Matthias Clasen [Thu, 11 Jun 2009 03:50:45 +0000 (23:50 -0400)]
Fix g_string_chunk_insert_len to accept nuls

Contrary to what the documentation says, g_string_chunk_insert_len
was stopping at the first nul. Also add a test. Fixes bug 585088.

15 years agoInclude sys/types.h in gunixfdmessage.c
Matthias Clasen [Thu, 11 Jun 2009 03:28:32 +0000 (23:28 -0400)]
Include sys/types.h in gunixfdmessage.c

As recommended in 'man socket'. Fixes bug 585281.

15 years agoMake setting DISPLAY work
Matthias Clasen [Wed, 10 Jun 2009 20:20:51 +0000 (16:20 -0400)]
Make setting DISPLAY work

And remove a bunch of grotty code to manipulate an environment
array at the same time. Instead, simply call setenv in the child_setup
function.

15 years agoSupport automake 1.11
Matthias Clasen [Wed, 10 Jun 2009 20:20:38 +0000 (16:20 -0400)]
Support automake 1.11

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Wed, 10 Jun 2009 07:43:33 +0000 (09:43 +0200)]
Updated Norwegian bokmål translation.

15 years agoRevert part of fix for old OS X that broke the compile on current OS X
Dan Winship [Tue, 9 Jun 2009 13:32:43 +0000 (09:32 -0400)]
Revert part of fix for old OS X that broke the compile on current OS X

http://bugzilla.gnome.org/show_bug.cgi?id=584574

15 years agomove start_element emission out into a new (inlined) function, so
Michael Meeks [Tue, 9 Jun 2009 10:31:42 +0000 (11:31 +0100)]
move start_element emission out into a new (inlined) function, so
the alloca'd memory is released on return, rather than slowly blowing
the stack.

15 years agoBug 585189 – g_cancellable_reset() must be called in same thread ...
Benjamin Otte [Tue, 9 Jun 2009 08:54:22 +0000 (10:54 +0200)]
Bug 585189 – g_cancellable_reset() must be called in same thread ...

... as g_cancellable_cancel()
Rework a g_critical() that would (rarely) trigger when _reset() was
called in a thread different from _cancel() by making _reset() wait for
the cancel function to be finished the same way
g_cancellable_disconnect() uses.

15 years agoUpdated Bengali India Translations
Runa Bhattacharjee [Tue, 9 Jun 2009 06:18:53 +0000 (11:48 +0530)]
Updated Bengali India Translations

15 years agoupdate the overview image of the gio docs
Benjamin Otte [Mon, 8 Jun 2009 15:29:22 +0000 (17:29 +0200)]
update the overview image of the gio docs

The old image was confusing and after some discussions in #nautilus we
made a new one.

15 years agotypo in documentation
Benjamin Otte [Mon, 8 Jun 2009 13:29:57 +0000 (15:29 +0200)]
typo in documentation

15 years agoonly query file info in g_file_copy() when we need it
Benjamin Otte [Mon, 8 Jun 2009 13:27:12 +0000 (15:27 +0200)]
only query file info in g_file_copy() when we need it

The default implementation of g_file_copy() checked the size of the file
to copy to give useful progress updates unconditionally. This can cause
long delays on 1-connection FTP servers while it tries to open a second
connection before it returns EBUSY. This patch makes this query only
happen when we actually send progress updates.

15 years agoReformat g_themed_icon_get_names return type to make gtk-doc work
Alexander Larsson [Mon, 1 Jun 2009 20:09:21 +0000 (22:09 +0200)]
Reformat g_themed_icon_get_names return type to make gtk-doc work

Seems the gtk-doc scanner needs "const gchar* const *" to work, so switching
to that.

15 years agoFix multiple bugs in g_srv_target_list_sort()
Dan Winship [Thu, 28 May 2009 19:27:04 +0000 (15:27 -0400)]
Fix multiple bugs in g_srv_target_list_sort()

In particular, targets with weight 0 should be very UNlikely to be
selected, not very likely, as they were before. However, even ignoring
that bug in the logic, there was an additional bug (swapping list
items would cause the 0-weight items to get re-ordered incorrectly
anyway), and the code contained several fencepost errors.

This patch also adds gio/tests/srvtarget.c, which confirms that for a
sample list of targets, we now generate all possible correct random
sortings and no incorrect sortings, and the correct sortings occur in
roughly the expected proportions (though if the current code is
still wrong, those proportions may be wrong as well).

http://bugzilla.gnome.org/show_bug.cgi?id=583398

15 years agoClarify some GSocket docs
Dan Winship [Sun, 24 May 2009 00:49:47 +0000 (21:49 -0300)]
Clarify some GSocket docs

15 years agoMisc networking build fixes
Dan Winship [Mon, 27 Apr 2009 21:35:04 +0000 (17:35 -0400)]
Misc networking build fixes

http://bugzilla.gnome.org/show_bug.cgi?id=580301
http://bugzilla.gnome.org/show_bug.cgi?id=584176

15 years agoBump _WIN32_WINNT to 0x0501
Tor Lillqvist [Mon, 1 Jun 2009 11:04:49 +0000 (14:04 +0300)]
Bump _WIN32_WINNT to 0x0501

Needed to get prototypes for getaddrinfo() and friends on mingw.

15 years agoDefine fstat() for msvc build
Hans Breuer [Sat, 30 May 2009 13:33:14 +0000 (15:33 +0200)]
Define fstat() for msvc build

15 years agoUpdated msvc build files
Hans Breuer [Sat, 30 May 2009 13:29:23 +0000 (15:29 +0200)]
Updated msvc build files

15 years agoVersion resource template for gio
Hans Breuer [Sat, 30 May 2009 13:24:06 +0000 (15:24 +0200)]
Version resource template for gio

15 years agoHandle EAI_NODATA==EAI_NONAME in win32 SDK
Hans Breuer [Sat, 30 May 2009 13:18:02 +0000 (15:18 +0200)]
Handle EAI_NODATA==EAI_NONAME in win32 SDK

15 years agoInclude io.h for write() on win32
Hans Breuer [Sat, 30 May 2009 13:14:01 +0000 (15:14 +0200)]
Include io.h for write() on win32

15 years agoSimplified for pre-built package use
Hans Breuer [Sat, 30 May 2009 13:08:29 +0000 (15:08 +0200)]
Simplified for pre-built package use

15 years agoReplace FIXME with proper SDK version define
Hans Breuer [Sat, 30 May 2009 13:02:14 +0000 (15:02 +0200)]
Replace FIXME with proper SDK version define

15 years agoBump version
Matthias Clasen [Fri, 29 May 2009 03:50:48 +0000 (23:50 -0400)]
Bump version

15 years agoRelease 2.21.1 2.21.1
Matthias Clasen [Fri, 29 May 2009 03:44:48 +0000 (23:44 -0400)]
Release 2.21.1

15 years agoUpdate NEWS once more
Matthias Clasen [Fri, 29 May 2009 03:06:24 +0000 (23:06 -0400)]
Update NEWS once more

15 years agoAnother pedantic docs fix
Matthias Clasen [Thu, 28 May 2009 18:40:04 +0000 (14:40 -0400)]
Another pedantic docs fix

15 years agoRef the right type in g_socket_control_message_deserialize
Alexander Larsson [Thu, 28 May 2009 13:34:07 +0000 (15:34 +0200)]
Ref the right type in g_socket_control_message_deserialize

We were not looking at the right type at all due to a typo.

15 years agoDocument g_socket_control_message_deserialize
Alexander Larsson [Thu, 28 May 2009 13:33:52 +0000 (15:33 +0200)]
Document g_socket_control_message_deserialize

15 years agoFix string length bugs in GWinHttpFile (#580347)
Shixin Zeng [Thu, 28 May 2009 09:52:23 +0000 (12:52 +0300)]
Fix string length bugs in GWinHttpFile (#580347)

15 years agoFix make check
Matthias Clasen [Thu, 28 May 2009 04:30:21 +0000 (00:30 -0400)]
Fix make check

15 years agoUpdate for 2.21.1
Matthias Clasen [Thu, 28 May 2009 04:08:42 +0000 (00:08 -0400)]
Update for 2.21.1

15 years agoFix references to nonexisting functions
Matthias Clasen [Thu, 28 May 2009 02:44:31 +0000 (22:44 -0400)]
Fix references to nonexisting functions

15 years agoDocumentation and coding style fixups
Matthias Clasen [Wed, 27 May 2009 22:20:08 +0000 (18:20 -0400)]
Documentation and coding style fixups

Lots of pedanic changes.

15 years agoFix the an index title
Matthias Clasen [Wed, 27 May 2009 16:07:13 +0000 (12:07 -0400)]
Fix the an index title

15 years agoFix a locking problem in g_main_context_iterate()
Matthias Clasen [Wed, 27 May 2009 16:01:14 +0000 (12:01 -0400)]
Fix a locking problem in g_main_context_iterate()

We failed to ensure that the context is locked on every exit of
the function. This fixes bug 583324.

15 years agoCorrect reference and implement close_fn (#578769)
Hans Breuer [Wed, 27 May 2009 12:12:31 +0000 (15:12 +0300)]
Correct reference and implement close_fn (#578769)

Do proper referencing and unreferencing of
GWinHttpFileInputStream::file and
GWinHttpFileInputStream::file::vfs. Implement
GWinHttpFileInputStream::close_fn.

15 years agoAdd required defines on solaris for GSocket to build (#582856)
Alexander Larsson [Wed, 27 May 2009 09:11:37 +0000 (11:11 +0200)]
Add required defines on solaris for GSocket to build (#582856)

Turns out that the msg_control and related things are not defined in the
system headers unless you define some _XOPEN_SOURCE things.

15 years agoRemove mention of non-existing calls from docs
Alexander Larsson [Mon, 25 May 2009 13:46:35 +0000 (15:46 +0200)]
Remove mention of non-existing calls from docs

The docs mentions a separate seekable API for the various file streams
which don't actually exists. Change this to refer to the generic
GSeekable calls.

15 years agoDon't end enum with comma (#583663)
Alexander Larsson [Mon, 25 May 2009 10:47:12 +0000 (12:47 +0200)]
Don't end enum with comma (#583663)

This is valid C but breaks C++, so don't put it in headers.

15 years agoDon't return something from a void function (#583408)
Alexander Larsson [Mon, 25 May 2009 10:46:03 +0000 (12:46 +0200)]
Don't return something from a void function (#583408)

15 years agoAdd g_inet_address_get_native_size (#583205)
Alexander Larsson [Mon, 25 May 2009 09:33:56 +0000 (11:33 +0200)]
Add g_inet_address_get_native_size (#583205)

This can be used to get the size of g_inet_address_to_bytes().

15 years agoAdded Valencian-Catalan translation
Miquel Esplà [Sun, 24 May 2009 22:23:58 +0000 (00:23 +0200)]
Added Valencian-Catalan translation

15 years agoUpdated Spanish translation
Jorge Gonzalez [Sat, 23 May 2009 18:00:22 +0000 (20:00 +0200)]
Updated Spanish translation

15 years agoFix grammar in error message
Christian Persch [Tue, 27 May 2008 21:45:08 +0000 (23:45 +0200)]
Fix grammar in error message

Bug #583198.

15 years agoPlug a mem leak
Christian Persch [Sat, 24 May 2008 18:51:07 +0000 (20:51 +0200)]
Plug a mem leak

Bug #583196.

15 years agoAdd G_G[U]INTPTR_FORMAT and G_GINTPTR_MODIFIER
Christian Persch [Tue, 27 Jan 2009 19:39:37 +0000 (20:39 +0100)]
Add G_G[U]INTPTR_FORMAT and G_GINTPTR_MODIFIER

Add macros for printf formatting for g[u]intptr. Bug 569376.

15 years agoDocument g[u]intptr
Christian Persch [Tue, 27 Jan 2009 18:54:27 +0000 (19:54 +0100)]
Document g[u]intptr

Bug 569375.

15 years agoUse g_error_new_valist instead of a private copy of it
Christian Persch [Mon, 20 Apr 2009 11:46:09 +0000 (13:46 +0200)]
Use g_error_new_valist instead of a private copy of it

15 years agoMake g_error_new_valist public
Yeti [Mon, 20 Apr 2009 11:22:17 +0000 (13:22 +0200)]
Make g_error_new_valist public

Bug #569024.

15 years agoFix connect on win32
Alexander Larsson [Wed, 20 May 2009 14:28:20 +0000 (16:28 +0200)]
Fix connect on win32

We should not wait before calling connect for non-blocking connect.
Also, use the right error code for the nonblocking pending case on win32.

15 years agoFix build on win32
Alexander Larsson [Wed, 20 May 2009 13:59:11 +0000 (15:59 +0200)]
Fix build on win32

15 years agoDon't add unix specific APIs on win32
Alexander Larsson [Wed, 20 May 2009 13:58:28 +0000 (15:58 +0200)]
Don't add unix specific APIs on win32

15 years agoClarify g_cancellable_push_current docs wrt cancellable being NULL (#575013)
Alexander Larsson [Wed, 20 May 2009 12:55:14 +0000 (14:55 +0200)]
Clarify g_cancellable_push_current docs wrt cancellable being NULL (#575013)

15 years agoDon't dereference identifier_type if it is NULL (#579558)
Alexander Larsson [Wed, 20 May 2009 12:46:51 +0000 (14:46 +0200)]
Don't dereference identifier_type if it is NULL (#579558)

15 years agoTake a reference on the gio file monitors while signaling pending file changes
Robert Bragg [Wed, 6 May 2009 08:20:43 +0000 (09:20 +0100)]
Take a reference on the gio file monitors while signaling pending file changes

It was possible for a signal handler to remove the last reference and
dispose the monitor.  If there were remaining pending_file_changes they
tried to dereference the disposed monitor.

This patch simply calls g_object_{ref,unref} around the loop that signals
the changes.

15 years agoUse G_GSSIZE_FORMAT where needed (#577884)
Alexander Larsson [Wed, 20 May 2009 12:17:27 +0000 (14:17 +0200)]
Use G_GSSIZE_FORMAT where needed (#577884)

15 years agoPropagate errors from g_network_service_address_enumerator_next_async in its _finish...
Sjoerd Simons [Wed, 20 May 2009 11:59:50 +0000 (13:59 +0200)]
Propagate errors from g_network_service_address_enumerator_next_async in its _finish function

15 years agoTypedef GResolverClass in the standard way
Jonathon Jongsma [Tue, 19 May 2009 05:10:57 +0000 (00:10 -0500)]
Typedef GResolverClass in the standard way

It's a bit lame, but some of our C++ wrapping scripts expect objects to be
typedefed like:
    typedef struct _FooClass FooClass;
    struct {} _FooClass;

Rather than:
    typedef struct {} FooClass;

Functionally they're the same, but the former makes our lives easier in the
short term

15 years agoDon't return something from void function (#583229)
Alexander Larsson [Wed, 20 May 2009 11:49:47 +0000 (13:49 +0200)]
Don't return something from void function (#583229)

g_async_initable_init_async is void, don't return something from it.

15 years agoPreserve errno when using g_set_error with _() and g_strerror()
Christian Persch [Tue, 27 May 2008 21:44:35 +0000 (23:44 +0200)]
Preserve errno when using g_set_error with _() and g_strerror()

15 years agoUse g_set_error_literal
Christian Persch [Tue, 19 May 2009 13:03:14 +0000 (15:03 +0200)]
Use g_set_error_literal

Bug #583206.

15 years agoCheck that close_fn is not %NULL before calling (#578499)
Alexander Larsson [Wed, 20 May 2009 11:37:55 +0000 (13:37 +0200)]
Check that close_fn is not %NULL before calling (#578499)

Some streams have no close function, so this caused a crash.

15 years agodocs: fix typo
Stefan Kost [Tue, 19 May 2009 11:33:25 +0000 (14:33 +0300)]
docs: fix typo

15 years agoAdd helper functions for connecting to service (#583061)
Sjoerd Simons [Wed, 20 May 2009 10:41:50 +0000 (12:41 +0200)]
Add helper functions for connecting to service (#583061)