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
Pavel Holejsovsky [Sun, 19 Dec 2010 21:15:42 +0000 (22:15 +0100)]
Add GI annotations to GClosure and friends.
Pavel Holejsovsky [Sun, 19 Dec 2010 09:39:36 +0000 (10:39 +0100)]
Add GI annotations to GValue and GValueArray.
Christian Dywan [Fri, 10 Dec 2010 14:07:04 +0000 (15:07 +0100)]
g_simple_async_report_error_in_idle with no object
Document and allow passing of NULL for the object consistently to
_take_error and _report_error functions.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=636673
Javier Jardón [Fri, 17 Dec 2010 16:12:16 +0000 (16:12 +0000)]
grand: Fix URLs for info on the Mersenne Twister
Reported by Allin Cottrell here:
http://mail.gnome.org/archives/gtk-devel-list/2010-December/msg00134.html
Pavel Holejsovsky [Fri, 17 Dec 2010 15:24:33 +0000 (16:24 +0100)]
[gi] Add annotations for GFile, G[File]{Input|Output|IO}Stream.
Also make parameter names in virtual function declarations consistent
to silent g-ir-scanner.
Matthias Clasen [Fri, 17 Dec 2010 13:35:54 +0000 (08:35 -0500)]
Update symbols list for recent changes
Will Thompson [Fri, 17 Dec 2010 12:34:28 +0000 (12:34 +0000)]
g_object_get_property: document that value must be initialized
I couldn't tell from reading the documentation whether I had to pass in
an uninitialized value, or a value initialized to the exact type, or
something else. It turns out (from reading the source) that you have to
pass in an initialized value, but you can use any type to which the
property's actual type can be transformed.
So, let's document this.
Kjartan Maraas [Fri, 17 Dec 2010 12:03:18 +0000 (13:03 +0100)]
Updated Norwegian bokmål translation
Pavel Holejsovsky [Thu, 16 Dec 2010 20:06:51 +0000 (21:06 +0100)]
[gi] Fix GObject.Object annotations.
John (J5) Palmieri [Thu, 16 Dec 2010 18:44:56 +0000 (13:44 -0500)]
[gi] add annotations for methods which take a gpointer which are really GObjects
* bindings need to know how to marshal the pointer otherwise they send in
the raw wrapped pointer causing crashes
Murray Cumming [Thu, 16 Dec 2010 09:57:18 +0000 (10:57 +0100)]
gioenums.h: Remove a trailing comma.
Cosimo Cecchi [Tue, 14 Dec 2010 17:33:17 +0000 (18:33 +0100)]
tests: remove a bogus assumption
Matthias Clasen [Wed, 15 Dec 2010 16:56:44 +0000 (11:56 -0500)]
Remove GPeriodic for now
The necessary review and integration work has not happened, and
we don't want to enshrine it in this unproven state.
It will be back when the world is ready for it.
Matthias Clasen [Wed, 15 Dec 2010 16:41:05 +0000 (11:41 -0500)]
Remove the dead --disable-visiblity configure option
At the same time, document --disable-Bsymbolic.
Cosimo Cecchi [Wed, 15 Dec 2010 11:50:59 +0000 (12:50 +0100)]
docs: fix a typo
Cosimo Cecchi [Wed, 15 Dec 2010 11:49:22 +0000 (12:49 +0100)]
emblemedicon: add docs for _clear_emblems()
Cosimo Cecchi [Thu, 9 Dec 2010 17:16:17 +0000 (18:16 +0100)]
emblemedicon: add g_emblemed_icon_clear_emblems()
https://bugzilla.gnome.org/show_bug.cgi?id=637171
Cosimo Cecchi [Tue, 14 Dec 2010 16:16:31 +0000 (17:16 +0100)]
gapplication: plug a memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=637237
Pavel Holejsovsky [Wed, 15 Dec 2010 10:17:00 +0000 (11:17 +0100)]
Add missing annotations to GApplication and GApplicationCommandLine.
Dan Winship [Fri, 10 Dec 2010 10:42:56 +0000 (11:42 +0100)]
ghostutils: Convert non-ASCII dots to '.' when converting hostnames
Also add some test cases to test/hostutils for that and a few other
things, and make the test program just act as an ASCII/unicode
hostname converter rather than a test program if it's run with an
argument.
https://bugzilla.gnome.org/show_bug.cgi?id=633350
Ted Gould [Mon, 13 Dec 2010 18:33:15 +0000 (13:33 -0500)]
Bug 635626 – GDBus message idle can execute while flushes are pending
https://bugzilla.gnome.org/show_bug.cgi?id=635626
Signed-off-by: David Zeuthen <davidz@redhat.com>
Peng Huang [Mon, 13 Dec 2010 18:09:38 +0000 (13:09 -0500)]
Bug 632544 – Cannot send a locked message with PRESERVE_SERIAL flag
https://bugzilla.gnome.org/show_bug.cgi?id=632544
Signed-off-by: David Zeuthen <davidz@redhat.com>
Xavier Claessens [Mon, 13 Dec 2010 16:59:47 +0000 (17:59 +0100)]
Add GIOStreamSpliceFlags to doc
Xavier Claessens [Mon, 13 Dec 2010 16:42:11 +0000 (17:42 +0100)]
Add Since 2.28 in g_io_stream_splice doc
Xavier Claessens [Fri, 13 Aug 2010 08:10:48 +0000 (10:10 +0200)]
Add g_io_stream_splice_async/finish()
That function splice the output stream of both GIOStreams to the input stream
of the other GIOStream.
Matthias Clasen [Mon, 13 Dec 2010 14:04:28 +0000 (09:04 -0500)]
Document the GIO_USE_TLS environment variable
Christian Persch [Tue, 16 Nov 2010 18:22:10 +0000 (19:22 +0100)]
Fix gsettings enum rule to work with non-srcdir builds
Bug #635007.
Christian Persch [Tue, 9 Nov 2010 21:56:28 +0000 (22:56 +0100)]
Better error reporting for g_variant_parse()
Add error codes, and use them when setting the GError.
Bug #634583.
Dan Winship [Fri, 10 Dec 2010 09:01:01 +0000 (10:01 +0100)]
Add missing property to GDummyTlsCertificate
Benjamin Otte [Tue, 7 Dec 2010 16:55:03 +0000 (17:55 +0100)]
gio: Add a count to the resolver test for number of enumerators
This adds the nice stress-test feature of having 5 enumerators running
at the same time. Yay!
Benjamin Otte [Tue, 7 Dec 2010 16:25:01 +0000 (17:25 +0100)]
gio: Make enumerating a GNetworkAddress work more than once
Previously, the code only initialized the enumerator if the address
hadn't had cached addresses. But creating an enumerator cached the
addresses, so the second one failed to work.
Benjamin Otte [Tue, 7 Dec 2010 15:06:38 +0000 (16:06 +0100)]
tls: Make g_tls_{client|server}_connection_new() return a GIOStream
The main use case for these objects is as an IO stream, so it makes
sense to return them that way from the start.
Benjamin Otte [Tue, 7 Dec 2010 14:42:10 +0000 (15:42 +0100)]
tls: Clarify docs for g_tls_client_connection_set_validation_flags()
And fix a typo in there.
Emilio Pozuelo Monfort [Tue, 7 Dec 2010 16:45:06 +0000 (17:45 +0100)]
Fix error in GSimpleAsyncResult example
Dan Winship [Tue, 7 Dec 2010 13:58:42 +0000 (14:58 +0100)]
Change the handling of the peer certificate in GTlsConnection
Make the certificate and peer-certificate properties virtual, and add
peer-certificate-errors as well. Change the documentation on
peer-certificate to say that it's not set until after the handshake
succeeds (which means notify::peer-certificate can be used to tell
when a handshake has completed).
Dan Winship [Mon, 6 Dec 2010 16:21:16 +0000 (17:21 +0100)]
Clarify that g_socket_client_connect_to_uri() doesn't know about TLS
Dan Winship [Mon, 6 Dec 2010 12:10:09 +0000 (13:10 +0100)]
Change the semantics of GTlsConnection:require-close-notify
We were combining "allow un-notified closes" and "close without
notifying" into a single property, which meant that it was impossible
to "be liberal in what you accept and conservative in what you send".
Change require-close-notify to only be about the peer behavior, and
make our connections always close-notify properly when closing (while
noting that you can just close the base-io-stream directly if you want
to do an unclean close).
Dan Winship [Mon, 6 Dec 2010 11:43:59 +0000 (12:43 +0100)]
add G_TLS_ERROR_UNAVAILABLE
Dan Winship [Mon, 6 Dec 2010 10:04:13 +0000 (11:04 +0100)]
Remove GTlsConnection::need-certificate
Trying to do this as a signal won't work well with either
GTlsCertificateDB (in which case looking up a certificate in the db is
a blocking/asynchronous act) or session resumption support (in which
case the certificate or lack thereof is part of the session definition
and so needs to be known immediately). Make the caller use
g_tls_connection_set_certificate() ahead of time (or when retrying)
instead.
Dan Winship [Wed, 1 Dec 2010 18:49:39 +0000 (13:49 -0500)]
Add GTlsConnection:use-system-certdb
This can be set FALSE if you don't want to validate certificates
against the system database.
Dan Winship [Wed, 1 Dec 2010 00:57:16 +0000 (19:57 -0500)]
Add g_tls_certificate_verify()
Add a method to verify a certificate against a CA; this can be used
for apps that need to test against non-default CAs.
Also make the GTlsCertificate::issuer property virtual
Aron Xu [Mon, 6 Dec 2010 12:44:18 +0000 (12:44 +0000)]
Complete Simplified Chinese translation.
Aron Xu [Mon, 6 Dec 2010 12:40:03 +0000 (12:40 +0000)]
Update Simplified Chinese translation.
Chris Kühl [Sun, 5 Dec 2010 23:34:43 +0000 (00:34 +0100)]
Added note in g_slist_free about using *free_full to mirror GList docs
Yaron Shahrabani [Sun, 5 Dec 2010 11:19:55 +0000 (13:19 +0200)]
Updated Hebrew translation
Matthias Clasen [Sat, 4 Dec 2010 19:12:07 +0000 (14:12 -0500)]
Try to fix the version test on builders
Chao-Hsiung Liao [Sat, 4 Dec 2010 12:01:37 +0000 (20:01 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Matthias Clasen [Fri, 3 Dec 2010 19:48:35 +0000 (14:48 -0500)]
Add missing Since: tag
g_simple_async_result_is_valid was added in 2.20.
Bug 636351
Matthias Clasen [Fri, 3 Dec 2010 19:45:09 +0000 (14:45 -0500)]
Reword awkward sentence in the docs
Pointed out in bug 636305, the docs for g_queue_remove_all() had
several grammatical errors and sounded awkward.
Matthias Clasen [Fri, 3 Dec 2010 19:39:59 +0000 (14:39 -0500)]
Avoid shadowing dir builtin
This is the same change that was already applied to the other gdb
script we ship. I had forgotten there was a second one.
Colin Walters [Fri, 3 Dec 2010 19:25:51 +0000 (14:25 -0500)]
introspection: Remove spurious trailing :
This isn't valid syntax.
Matthias Clasen [Fri, 3 Dec 2010 19:08:36 +0000 (14:08 -0500)]
Avoid shadowing the dir builtin
Proposed by David Malcolm,
https://bugzilla.gnome.org/show_bug.cgi?id=636387
Colin Walters [Fri, 3 Dec 2010 15:36:16 +0000 (10:36 -0500)]
glib: Document g_string_free semantics better in the FALSE case
Christian Dywan [Fri, 3 Dec 2010 15:33:24 +0000 (16:33 +0100)]
Resolve warnings about istream and ostream in socket test
Thomas Hindoe Paaboel Andersen [Tue, 30 Nov 2010 01:12:16 +0000 (02:12 +0100)]
Fix typo in docs for extension point
Introduced in
fcd3e3422749ddbbf29809fcc90ffe8df9d5f696
Benjamin Otte [Thu, 2 Dec 2010 19:10:23 +0000 (20:10 +0100)]
glib: Fix enumeration warnings from gcc 4.5
Just introduce more values for our private enum for the cases that were
missing.
Benjamin Otte [Thu, 2 Dec 2010 19:09:59 +0000 (20:09 +0100)]
gobject: Cast token type to guint to avoid gcc warning
The usual fix for all things GScanner...
Benjamin Otte [Thu, 2 Dec 2010 19:09:08 +0000 (20:09 +0100)]
gio: Comment out a whole test
... instead of just commenting out the registration and leaving "unused
function" warnings for gcc.