Ryan Lortie
81aaf53567
GSocketMsgFlags: annotate as a flags
...
This was being incorrectly guessed as an enum. Fix that.
https://bugzilla.gnome.org/show_bug.cgi?id=671942
2012-03-12 16:44:00 -04:00
Ryan Lortie
3fa7358487
gio-querymodules: unlink instead of writing empty cache
...
If there are no modules installed then the most appropriate thing is to
have no cachefile instead of an empty one. This unbreaks the "clean
directory after 'make uninstall'" check that automake does.
https://bugzilla.gnome.org/show_bug.cgi?id=671664
2012-03-08 12:07:03 -05:00
Cosimo Cecchi
7cf50ceb85
tests: fix GAction test for headless run
2012-03-06 22:11:22 -05:00
David Zeuthen
6e8caec6d9
GUnix{Input,Output}Stream: Only release cancelable poll-fd if we allocated it
...
Otherwise we get criticals a'la
GLib-GIO-CRITICAL **: g_cancellable_release_fd: assertion `cancellable->priv->fd_refcount > 0' failed
when reading/writing to certain kinds of file descriptors.
Patch reviewed by Dan Winship on IRC.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-03-05 13:00:28 -05:00
Matthias Clasen
e9c399a65b
Fix distcheck
2012-03-05 06:18:24 -05:00
Michael Biebl
cc2104e87a
build: Fix failure on "make distclean"
...
https://bugzilla.gnome.org/show_bug.cgi?id=671270
2012-03-03 21:39:35 +01:00
Ryan Lortie
a5caa564b7
GApplication: fix name unregister logic
...
We were attempting to unregister our ownership of our D-Bus name even in
the case that we were non-unique (ie: we didn't actually own the name).
Rework the logic a bit to prevent that: for non-unique, we leave
impl->bus_name as NULL and we only register/unregister if it is
non-NULL.
2012-03-03 11:48:12 -05:00
David Zeuthen
10fbfcf090
Add G_VOLUME_IDENTIFIER_KIND_CLASS identifier
...
If an application (such as Nautilus) wants to show a sidebar with
devices group into different groups such as "Devices" and "Network",
it's currently up to the application itself to do the classification
(for example by looking at the URI scheme for the activation root,
e.g. smb://).
This patch adds a new identifier G_VOLUME_IDENTIFIER_KIND_CLASS that
can be set by volume monitors and used by applications.
See https://bugzilla.gnome.org/show_bug.cgi?id=668295
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-03-01 14:06:43 -05:00
Andoni Morales Alastruey
c5b6f774c4
gsocket: fix compilation when ENOTSOCK and WSANOTSOCK are both defined
2012-02-29 11:29:23 +01:00
David Zeuthen
7a4a973cfd
GDBusConnection: Don't leak message reply in error path
...
This was reported in bug 670909.
https://bugzilla.gnome.org/show_bug.cgi?id=670909
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-27 14:53:13 -05:00
Ryan Lortie
eeccd3866a
GDBusMenuModel: plug a leak of a GHashTable
2012-02-27 14:01:10 -05:00
David King
3e7f42654f
docs: Clarify how to unset a GFileInfo attribute
...
https://bugzilla.gnome.org/show_bug.cgi?id=592666
2012-02-26 22:22:05 -05:00
Thomas Hindoe Paaboel Andersen
4ce98d3b59
docs: g_file_new_tmp: template was renamed to tmpl
2012-02-26 07:35:12 -05:00
Jonh Wendell
abac7df573
Make some strings translatable
2012-02-25 18:58:09 -02:00
Jonh Wendell
feaf828a92
Fixed a typo
2012-02-25 10:18:40 -02:00
Daiki Ueno
21457abdcc
Hide global variable for signal ID in gdbusproxy.c.
...
Also a similar fix for gdbusserver.c.
https://bugzilla.gnome.org/show_bug.cgi?id=670721
2012-02-23 22:19:00 -05:00
Ryan Lortie
ed51975899
GApplication: add g_application_quit()
...
A long requested feature; this quits the application immediately,
ignoring the hold count.
https://bugzilla.gnome.org/show_bug.cgi?id=670485
2012-02-21 01:20:39 +01:00
David King
c5f8f6f8f4
docs: Fix GTlsBackend typo GTyep → GType
2012-02-21 01:10:54 +01:00
David King
a290fff9a2
docs: Fix GTlsDatabase typos
2012-02-21 01:10:54 +01:00
David King
c490a75a18
docs: Fix GApplicationCommandLine typo
2012-02-21 01:10:54 +01:00
David King
69ecc4b496
docs: Fix define typos in GApplication
2012-02-21 01:10:54 +01:00
David King
fba11825a3
docs: Fix typo in GActionGroup
2012-02-21 01:10:54 +01:00
David King
6129a1c2d5
docs: Fix GActionGroup exporter typo
2012-02-21 01:10:54 +01:00
David King
87c76bdbb6
docs: Remove some old GMenu documentation
2012-02-21 01:10:54 +01:00
David King
83392caa72
docs: Fix typo GAsyncReady → GAsyncResult
...
Also GSimpleAsyncReady → GSimpleAsyncResult.
2012-02-21 01:10:54 +01:00
David King
37fd4d86ab
docs: Remove mention of GFileAttributeValue
...
Instead mention GFileAttributeInfo.
2012-02-21 01:10:54 +01:00
David King
8ee2cadd7f
docs: Fix some GDBusConnection typos
2012-02-21 01:10:54 +01:00
David King
11154ff5c1
docs: Fix typo GConvertFlags → GConverterFlags
2012-02-21 01:10:54 +01:00
David King
59e1c77b8d
docs: Fix typo export → unexport
2012-02-21 01:10:54 +01:00
David King
13bc546657
docs: Fix GDBusProxy typo name → g-name
2012-02-21 01:10:54 +01:00
David King
ae3ae3699b
docs: Fix typo in GFileInputStream
...
g_seekable_stream_can_seek() → g_seekable_can_seek().
2012-02-21 01:10:54 +01:00
David King
e70b72f5a1
docs: Fix method names in GMenu and GMenuModel
2012-02-21 01:10:54 +01:00
David King
43a3a5edfc
docs: Fix GNetworkAddress typo
...
g_network_address_parse_host() → g_network_address_parse().
2012-02-21 01:10:54 +01:00
David King
4653c6074f
docs: Add documentation for supports_hostname in GProxy
...
Also fix a typo has → as.
2012-02-21 01:10:54 +01:00
David King
5d64eb4cb8
docs: Correct GSocketClient::event link
2012-02-21 01:10:54 +01:00
David King
2616b6eb8e
docs: Fix some typos in GVolume
2012-02-21 01:10:54 +01:00
David King
07dc3db69a
docs: Fix GFileAttribute link in GFileInfo
2012-02-21 01:10:54 +01:00
David King
8c8657ac34
docs: Correct GUnixMount → GUnixMountEntry
2012-02-21 01:10:54 +01:00
Ryan Lortie
31936039b0
GApplication: disable a broken test
...
This test made some invalid assumptions that are no longer true.
Disable it until we can figure out a better way.
2012-02-21 01:10:53 +01:00
Dan Winship
726257ab97
gsocket: add g_socket_condition_timed_wait()
...
https://bugzilla.gnome.org/show_bug.cgi?id=667755
2012-02-20 18:29:51 -05:00
David King
17e7c85d8f
docs: Fix g_drive_get_identifier() typo
2012-02-18 11:20:27 +00:00
David King
b50863aafa
docs: Add GIOModuleScope and GIOModuleScopeFlags
...
Fix some typos and add GIOModuleScope and GIOModuleScopeFlags to
gio-sections.txt.
2012-02-18 11:11:52 +00:00
David King
4e6c2b88b9
docs: Typo fix GInitiable → GInitable
2012-02-18 09:25:36 +00:00
David King
c29d7d7f53
docs: Typo fixes for GMount
2012-02-18 09:22:31 +00:00
David King
29f3e40e4e
docs: Fix a typo in the GSeekable documentation
2012-02-17 16:12:27 +00:00
Ravi Sankar Guntur
275731e200
gio: fix memory leak in g_buffered_output_stream_write_async()
...
https://bugzilla.gnome.org/show_bug.cgi?id=670085
Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
2012-02-16 10:19:23 -05:00
Dan Winship
ca05902a58
Add G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS
...
Add new macros to disable -Wdeprecated-declarations around a piece of
code, using the C99 (and GNU89) _Pragma() operator. Replace the
existing use of #pragma for this in gio, and suppress the warnings in
gvaluearray.c as well.
https://bugzilla.gnome.org/show_bug.cgi?id=669671
2012-02-15 09:54:38 -05:00
Murray Cumming
d4992b3d10
g_application_activate(): Fix typo in docs.
2012-02-15 11:53:03 +01:00
Giovanni Campagna
5b8a6900d3
GDataInputStream: don't segfault on async line reads
...
If an async line read fails, it returns NULL. In that case, we
must return NULL before validating the line, or we segfault.
https://bugzilla.gnome.org/show_bug.cgi?id=658484
2012-02-14 19:04:07 +01:00
Javier Jardón
7e657d1e5c
docs: Fix some typos in gwin32inputstream
2012-02-10 20:09:20 +00:00