Christian Persch [Thu, 6 Jan 2011 22:30:09 +0000 (23:30 +0100)]
Don't leak variants in the null settings backend
Even though the write fails, the variant still needs to be consumed.
Bug #638872.
Javier Jardón [Fri, 14 Jan 2011 17:54:04 +0000 (17:54 +0000)]
docs: gvariant-core: g_variant_normalise -> g_variant_get_normal_form()
Javier Jardón [Fri, 14 Jan 2011 17:24:45 +0000 (17:24 +0000)]
gvariant-core: Fix typo
g_variant_create_from_data -> g_variant_new_from_data
Javier Jardón [Fri, 14 Jan 2011 00:49:35 +0000 (00:49 +0000)]
docs: gvariant-varargs: Fix typo
Ivar Smolin [Thu, 13 Jan 2011 10:41:06 +0000 (12:41 +0200)]
[l10n] Updated Estonian translation
Inaki Larranaga Murgoitio [Wed, 12 Jan 2011 21:29:53 +0000 (22:29 +0100)]
Updated Basque language
Daiki Ueno [Tue, 11 Jan 2011 02:33:21 +0000 (11:33 +0900)]
Make g_unix_connection_send_fd() work as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=637696
Michael Natterer [Wed, 12 Jan 2011 18:45:40 +0000 (19:45 +0100)]
gobject: add an empty default impl of GObject::constructed()
to allow unconditional upchaining.
Chun-wei Fan [Wed, 12 Jan 2011 03:08:54 +0000 (11:08 +0800)]
Added symbols for GIO/Win32
There are now fallback functions in the Win32 portion of
g_app_info that were previously only available under UNIX,
so add them here so that they can be exported as well.
The symbols are as follows:
g_app_info_get_fallback_for_type
g_app_info_get_recommended_for_type
Matthias Clasen [Tue, 11 Jan 2011 21:13:42 +0000 (16:13 -0500)]
Bump version
Matthias Clasen [Tue, 11 Jan 2011 16:27:45 +0000 (11:27 -0500)]
Update NEWS
Ivar Smolin [Tue, 11 Jan 2011 09:04:56 +0000 (11:04 +0200)]
[l10n] Updated Estonian translation
Matthias Clasen [Tue, 11 Jan 2011 01:28:17 +0000 (20:28 -0500)]
Avoid a segfault in g_application_register()
Patch by Mikkel Kamstrup Erlandsen
https://bugzilla.gnome.org/show_bug.cgi?id=639177
Javier Jardón [Mon, 10 Jan 2011 23:36:00 +0000 (23:36 +0000)]
mkinstalldirs: Update to latest version
Ivar Smolin [Mon, 10 Jan 2011 17:44:11 +0000 (19:44 +0200)]
[l10n] Updated Estonian translation
Matthias Clasen [Sun, 9 Jan 2011 21:43:28 +0000 (16:43 -0500)]
GSettings: Fix a copy-paste error
https://bugzilla.gnome.org/show_bug.cgi?id=639084
Christian Persch [Sun, 9 Jan 2011 14:03:31 +0000 (15:03 +0100)]
Update gschema.dtd
Bug #639064.
Fran Diéguez [Sun, 9 Jan 2011 15:35:32 +0000 (16:35 +0100)]
Updated Galician translations
Javier Jardón [Fri, 7 Jan 2011 17:55:20 +0000 (18:55 +0100)]
configure: Use AC_CONFIG_MACRO_DIR
To keep the correct macros in-tree.
Matthias Clasen [Fri, 7 Jan 2011 17:07:19 +0000 (12:07 -0500)]
Add regex test cases
These come from https://bugzilla.gnome.org/show_bug.cgi?id=638894
Pavel Holejsovsky [Fri, 7 Jan 2011 13:52:29 +0000 (14:52 +0100)]
Fix and update GI annotations for 'Volumes and Drives'
Volumes and Drives GIO category contains: GVolumeMonitor, GVolume,
GMount, GDrive, Unix Mounts.
Pavel Holejsovsky [Fri, 7 Jan 2011 08:38:35 +0000 (09:38 +0100)]
Add and update GI annotations in 'Settings'
'Settings' GIO group contains GSettings and GSettingsBackend.
Andika Triwidada [Fri, 7 Jan 2011 04:37:39 +0000 (11:37 +0700)]
Updated Indonesian translation
Colin Walters [Thu, 6 Jan 2011 16:47:58 +0000 (11:47 -0500)]
gdesktopappinfo: Don't crash if we don't have a desktop filename
If code creates a GDesktopAppInfo via g_desktop_app_info_new_from_keyfile(),
we'd try to send a NULL pointer down into GVariant.
Since in this case we don't have a filename, just send the empty
string. In the future we should either:
1) Change panel to use g_desktop_app_info_new_from_filename(), and
take the hit of parsing the file twice.
2) Add a g_key_file_get_origin_filename()
3) Add g_desktop_app_info_new_from_keyfile_and_name()
https://bugzilla.gnome.org/show_bug.cgi?id=638838
Serkan Kaba [Thu, 6 Jan 2011 13:08:02 +0000 (14:08 +0100)]
gio: Recognize reiser4 in g_file_query_filesystem_info()
Signed-off-by: Serkan Kaba <serkan@gentoo.org>
Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
Matthias Clasen [Thu, 6 Jan 2011 01:43:46 +0000 (20:43 -0500)]
Bump version
Matthias Clasen [Thu, 6 Jan 2011 00:51:44 +0000 (19:51 -0500)]
Add anothre bug ref
Matthias Clasen [Thu, 6 Jan 2011 00:42:13 +0000 (19:42 -0500)]
Avoid possible parameter name clashes in GVariant
https://bugzilla.gnome.org/show_bug.cgi?id=638349
Matthias Clasen [Thu, 6 Jan 2011 00:07:01 +0000 (19:07 -0500)]
Add new symbol
Matthias Clasen [Wed, 5 Jan 2011 22:46:28 +0000 (17:46 -0500)]
Drop annotation that break the documentation build
Matthias Clasen [Wed, 5 Jan 2011 22:16:36 +0000 (17:16 -0500)]
Update NEWS
Matthias Clasen [Wed, 5 Jan 2011 22:01:42 +0000 (17:01 -0500)]
Bump version to 2.27.90
Christian Persch [Sun, 28 Nov 2010 17:49:04 +0000 (18:49 +0100)]
Add g_get_locale_variants()
Make _g_compute_locale_variants() public as g_get_locale_variants().
Bug #635998.
Christian Persch [Mon, 1 Mar 2010 15:32:09 +0000 (16:32 +0100)]
Make _g_compute_locale_variants return a char** directly
Bug #635998.
Pavel Holejsovsky [Wed, 5 Jan 2011 19:30:10 +0000 (20:30 +0100)]
Fix GI annotation for g_desktop_app_info_launch_uris_as_manager
Christian Persch [Sun, 5 Dec 2010 14:34:26 +0000 (15:34 +0100)]
Make the memory and null settings backends public
Bug #636806.
Colin Walters [Wed, 5 Jan 2011 18:49:20 +0000 (13:49 -0500)]
g_desktop_app_info_launch_uris_as_manager: Fix parameter naming
This makes introspection happier.
Colin Walters [Wed, 5 Jan 2011 18:00:50 +0000 (13:00 -0500)]
Add missing indirection from previous commit
This follows the rest of GLib style, and fixes g-i scanning the
headers.
Nicolas Dufresne [Wed, 22 Dec 2010 21:52:40 +0000 (16:52 -0500)]
[GDummyTLS] Add missing properties and namespace
Add missing properties in the GDummyTlsConnection class. Also add
namespaces to property enumerations to avoid conflicts between classes.
Reviewed-by: Dan Winship <danw@gnome.org>
Stef Walter [Fri, 24 Dec 2010 16:50:14 +0000 (10:50 -0600)]
Change GTlsClientConnection::accepted-cas to contain DER DNs
This property is now a GList of GByteArray values. Each
GByteArray contains the raw DER DN of the certificate authority.
This is far more useful for looking up a certificate (with the
relevant issuer) than a string encoded DN.
https://bugzilla.gnome.org/show_bug.cgi?id=637262
Colin Walters [Mon, 20 Dec 2010 19:48:53 +0000 (14:48 -0500)]
gdesktopappinfo: Add g_desktop_app_info_launch_uris_as_manager()
A new GDesktopAppInfo specific function which provides more control
over launched processes. Intended basically only for use in GNOME
Shell, where we want:
*) To directly know the GPid for each launched program, without
having to listen to a DBus signal emitted in our own process
*) Possibly control over the process environment; for example,
we may want to call setsid() or redirect file descriptors.
And in the future:
*) To avoid recursively calling ourself via DBus, when a later
patch causes g_app_info_launch() to indirect via the shell.
https://bugzilla.gnome.org/show_bug.cgi?id=606960
Colin Walters [Mon, 20 Dec 2010 18:12:28 +0000 (13:12 -0500)]
gdesktopappinfo: Send out a session bus signal when launching .desktop file
This signal contains the full path of the .desktop file, along with
the process id, which allows multiple interested components (like
GNOME Shell) to better know the state of the system (which processes
correspond to which .desktop files).
https://bugzilla.gnome.org/show_bug.cgi?id=606960
Chun-wei Fan [Wed, 5 Jan 2011 14:57:48 +0000 (22:57 +0800)]
Bug 637852 - Updates to glib.vsprops
Due to changes in the GIO APIs/headers, the glib.vsprops
is updated to reflect that in the "install" phase, namely:
-removal of the gperiodic.h header
-addition of GPollable I/O Stream, GTCP Connection and
GTLS headers
Matthias Clasen [Tue, 4 Jan 2011 14:38:14 +0000 (09:38 -0500)]
Fix build on old kernels
Cope with BTRFS_SUPER_MAGIC not being defined.
Thomas Kristensen [Mon, 3 Jan 2011 13:20:12 +0000 (15:20 +0200)]
revents may have been cleared by GMain before dispatch().
See bug #587898.
Kjartan Maraas [Sun, 2 Jan 2011 17:54:17 +0000 (18:54 +0100)]
Updated Norwegian bokmål translation from Torstein Adolf Winterseth
Daniel Nylander [Fri, 31 Dec 2010 14:23:27 +0000 (15:23 +0100)]
Updated Swedish translation
Pavel Holejsovsky [Wed, 29 Dec 2010 15:21:22 +0000 (16:21 +0100)]
Add GI annotation: skip g_cancellable_source_new().
It is not bindable, because GSource is not boxed and thus cannot be
returned as caller-owned.
Pavel Holejsovsky [Wed, 29 Dec 2010 14:26:21 +0000 (15:26 +0100)]
Add GI annotations to Gio DNS resolution classes
Pavel Holejsovsky [Wed, 29 Dec 2010 15:01:12 +0000 (16:01 +0100)]
Add GI annotations to Gio highlevel network functionality
Pavel Holejsovsky [Wed, 29 Dec 2010 12:51:44 +0000 (13:51 +0100)]
Add GI annotations to Gio lowlevel network support classes
Pavel Holejsovsky [Tue, 28 Dec 2010 15:53:48 +0000 (16:53 +0100)]
Add GI annotations to GPollable{Input|Output}Stream
Pavel Holejsovsky [Tue, 28 Dec 2010 14:46:01 +0000 (15:46 +0100)]
Add missing GI annotation to g_content_type_guess_for_tree
Pavel Holejsovsky [Tue, 28 Dec 2010 13:28:52 +0000 (14:28 +0100)]
Fix typo in GI annotation
Emmanuele Bassi [Tue, 12 Oct 2010 15:05:26 +0000 (16:05 +0100)]
test: Add a <revision> node to the report XML
Use `git describe` to fill out the <revision> node, if we're using a
git checkout; otherwise, for tests ran from a released tarball, use
the version.
https://bugzilla.gnome.org/show_bug.cgi?id=631980
Emmanuele Bassi [Tue, 12 Oct 2010 15:03:56 +0000 (16:03 +0100)]
gtester-report: Add an optional 'revision' node
In order to distinguish reports generated from a specific revision of a
projects it would be good if gtester-report handled a <revision> node in
the XML.
The payload is free-form, just like for the other nodes under <info>.
https://bugzilla.gnome.org/show_bug.cgi?id=631980
Cosimo Cecchi [Tue, 28 Dec 2010 11:24:39 +0000 (12:24 +0100)]
gaction: update property flags to match needs of GSimpleAction
Commit
068d53358bd366c26cff604a3de53b3cf734b08f uncovered this mismatch
between properties on the interface and those on the implementation.
Update them so they match.
Cosimo Cecchi [Tue, 28 Dec 2010 11:17:10 +0000 (12:17 +0100)]
tests: unbreak desktop-app-info test for jhbuild
If we have a jhbuilt version of gedit installed, this will fail, as it
will succeed in deleting its desktop file.
Pavel Holejsovsky [Tue, 28 Dec 2010 10:59:58 +0000 (11:59 +0100)]
Fix typo in function annotation.
Matthias Clasen [Tue, 28 Dec 2010 05:19:45 +0000 (00:19 -0500)]
Document that g_variant_builder_add_value consumes a floating ref
Patch by Mikkel Kamstrup Erlandsen, bug
https://bugzilla.gnome.org/show_bug.cgi?id=634569
Matthias Clasen [Tue, 28 Dec 2010 05:12:19 +0000 (00:12 -0500)]
Adapt testglib.c to GRelation deprecation
Patch by Chun-wei Fan, bug https://bugzilla.gnome.org/show_bug.cgi?id=637858
Matthias Clasen [Tue, 28 Dec 2010 05:08:56 +0000 (00:08 -0500)]
Fix a possible crash in g_io_channel_read_chars
Patch by Rui Matos, https://bugzilla.gnome.org/show_bug.cgi?id=637759
Matthias Clasen [Tue, 28 Dec 2010 04:49:12 +0000 (23:49 -0500)]
Move ifaceproperties test to gobject/tests/
Matthias Clasen [Tue, 28 Dec 2010 04:41:10 +0000 (23:41 -0500)]
Make object_interface_check_properties work
As pointed out in bug 637738, it does not currently work, since
g_type_class_peek always returns NULL.
Matthias Clasen [Tue, 28 Dec 2010 04:37:21 +0000 (23:37 -0500)]
Convert ifaceproperties.c to test framework
Also add a test that checks warnings for failure to implement
interface properties.
See https://bugzilla.gnome.org/show_bug.cgi?id=637738
Pavel Holejsovsky [Mon, 27 Dec 2010 21:07:08 +0000 (22:07 +0100)]
Add GI annotations to GObject
Pavel Holejsovsky [Wed, 22 Dec 2010 21:09:21 +0000 (22:09 +0100)]
Add GI annotations to GParamSpec
Pavel Holejsovsky [Mon, 27 Dec 2010 19:56:06 +0000 (20:56 +0100)]
Add GI annotations to GType
Pavel Holejsovsky [Mon, 27 Dec 2010 15:47:26 +0000 (16:47 +0100)]
Add GI annotations to GMemory{Input|Output}Stream
Pavel Holejsovsky [Mon, 27 Dec 2010 15:29:20 +0000 (16:29 +0100)]
Add GI annotations to GConverter
Pavel Holejsovsky [Mon, 27 Dec 2010 15:24:21 +0000 (16:24 +0100)]
Add GI annotations to GSeekable
Pavel Holejsovsky [Mon, 27 Dec 2010 15:08:46 +0000 (16:08 +0100)]
Add GI annotations to GIcon and related classes and interfaces
Pavel Holejsovsky [Mon, 27 Dec 2010 14:48:31 +0000 (15:48 +0100)]
Add GI annotations to GFileEnumerator
Pavel Holejsovsky [Mon, 27 Dec 2010 14:40:07 +0000 (15:40 +0100)]
Add GI annotations to GAppInfo and GDesktopAppInfo
Aron Xu [Sat, 25 Dec 2010 16:50:40 +0000 (16:50 +0000)]
Update Simplified Chinese translation.
Jorge Gonzalez [Thu, 23 Dec 2010 18:57:19 +0000 (19:57 +0100)]
Updated Spanish translation
Gheyret T.Kenji [Thu, 23 Dec 2010 17:51:06 +0000 (18:51 +0100)]
Added UG translation
Yaron Shahrabani [Thu, 23 Dec 2010 15:20:21 +0000 (17:20 +0200)]
Updated Hebrew translation.
Brian Cameron [Wed, 22 Dec 2010 07:37:21 +0000 (01:37 -0600)]
Fix for bug #637720. void functions should not return a value.
Pavel Holejsovsky [Tue, 21 Dec 2010 17:19:16 +0000 (18:19 +0100)]
Add GI annotations to GBufferedInputStream
Pavel Holejsovsky [Tue, 21 Dec 2010 17:00:48 +0000 (18:00 +0100)]
Add GI annotations to GData{Input|Output}Stream
Pavel Holejsovsky [Tue, 21 Dec 2010 16:35:11 +0000 (17:35 +0100)]
Add GI annotations to GSimpleAsyncResult
Nguyễn Thái Ngọc Duy [Tue, 21 Dec 2010 12:51:54 +0000 (19:51 +0700)]
Updated Vietnamese translation
Nguyễn Thái Ngọc Duy [Mon, 20 Dec 2010 10:39:39 +0000 (17:39 +0700)]
po/vi.po: import from Damned Lies
Nguyễn Thái Ngọc Duy [Tue, 21 Dec 2010 12:50:33 +0000 (19:50 +0700)]
gio: typo fix
Ryan Lortie [Sat, 18 Dec 2010 23:52:32 +0000 (18:52 -0500)]
Bug 637544 - Skip fsync() on btrfs
For g_file_set_contents() we fsync() before renaming the file over the
original in order to ensure that we don't end up with an invalid file.
btrfs provides this guarantee for us without the fsync() so skip it
there.
Matthias Clasen [Mon, 20 Dec 2010 21:47:10 +0000 (16:47 -0500)]
Bump version
Matthias Clasen [Mon, 20 Dec 2010 19:03:45 +0000 (14:03 -0500)]
Update NEWS
Xavier Claessens [Mon, 20 Dec 2010 17:52:44 +0000 (18:52 +0100)]
Add io-stream in gitignore
Xavier Claessens [Mon, 20 Dec 2010 17:44:49 +0000 (18:44 +0100)]
Add g_sequence_lookup{_iter} into symbols
Cosimo Cecchi [Mon, 20 Dec 2010 16:44:51 +0000 (17:44 +0100)]
appinfo: avoid overriding the system defaults when adding support
We want to be compatible with the following situation:
- there's no explicit default set in mimeapps.list
- we add support for a content type to a specific application, and that
list is empty
- the default should be picked from the system list, not overridden by
the user-added application.
So we make the default explicit in this case, by adding it to the
relevant section in mimeapps.list.
https://bugzilla.gnome.org/show_bug.cgi?id=637675
Xavier Claessens [Fri, 10 Dec 2010 09:17:44 +0000 (10:17 +0100)]
Add note in g_sequence_search() doc about g_sequence_lookup()
Xavier Claessens [Fri, 10 Dec 2010 09:14:06 +0000 (10:14 +0100)]
Add unit test for g_sequence_lookup() and g_sequence_lookup_iter().
Xavier Claessens [Fri, 30 Apr 2010 11:55:53 +0000 (13:55 +0200)]
New API: g_sequence_lookup() and g_sequence_lookup_iter()
Fixes bug #617254
Christian Dywan [Mon, 20 Dec 2010 16:15:15 +0000 (17:15 +0100)]
Allow null object in g_simple_async_report_gerror_in_idle
Follow-up on bug 636673.
Cosimo Cecchi [Wed, 15 Dec 2010 16:56:22 +0000 (17:56 +0100)]
appinfo: add g_app_info_set_as_last_used_for_type()
This commit also changes (maintaining compatibility) the way
user-specified default applications are stored (as in, those for which
g_app_info_set_as_default_for_type() has been called.
We now store the default application for a content type in a new group
in the mimeapps.list keyfile, and "Added Associations" tracks only the
applications that have been added by the user, following a
most-recently-used first order.
This is useful in GtkAppChooser-like widgets to pre-select the last used
application when constructing a widget.
https://bugzilla.gnome.org/show_bug.cgi?id=636311
Cosimo Cecchi [Thu, 9 Dec 2010 17:31:19 +0000 (18:31 +0100)]
emblemedicon: make GEmblemedIcon subclassable
Hiding the object/class structs in the source file makes this class not
subclassable.
Move them to the public header, and add a property for the icon, so that
subclasses can just use
g_object_new (DERIVED_TYPE,
"gicon", icon,
NULL);
to create an emblemed icon.
https://bugzilla.gnome.org/show_bug.cgi?id=636892
Matthias Clasen [Mon, 20 Dec 2010 14:16:05 +0000 (09:16 -0500)]
Add a delay-apply property to GSettings
Bug 637147, patch by Matt Barnes.
Mattias Põldaru [Mon, 20 Dec 2010 11:55:19 +0000 (13:55 +0200)]
[l10n] Updated Estonian translation
Nguyễn Thái Ngọc Duy [Mon, 20 Dec 2010 10:26:00 +0000 (17:26 +0700)]
Updated Vietnamese translation