platform/upstream/glib.git
13 years agoFix build on old kernels
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.

13 years agorevents may have been cleared by GMain before dispatch().
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.

13 years agoUpdated Norwegian bokmål translation from Torstein Adolf Winterseth
Kjartan Maraas [Sun, 2 Jan 2011 17:54:17 +0000 (18:54 +0100)]
Updated Norwegian bokmål translation from Torstein Adolf Winterseth

13 years agoUpdated Swedish translation
Daniel Nylander [Fri, 31 Dec 2010 14:23:27 +0000 (15:23 +0100)]
Updated Swedish translation

13 years agoAdd GI annotation: skip g_cancellable_source_new().
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.

13 years agoAdd GI annotations to Gio DNS resolution classes
Pavel Holejsovsky [Wed, 29 Dec 2010 14:26:21 +0000 (15:26 +0100)]
Add GI annotations to Gio DNS resolution classes

13 years agoAdd GI annotations to Gio highlevel network functionality
Pavel Holejsovsky [Wed, 29 Dec 2010 15:01:12 +0000 (16:01 +0100)]
Add GI annotations to Gio highlevel network functionality

13 years agoAdd GI annotations to Gio lowlevel network support classes
Pavel Holejsovsky [Wed, 29 Dec 2010 12:51:44 +0000 (13:51 +0100)]
Add GI annotations to Gio lowlevel network support classes

13 years agoAdd GI annotations to GPollable{Input|Output}Stream
Pavel Holejsovsky [Tue, 28 Dec 2010 15:53:48 +0000 (16:53 +0100)]
Add GI annotations to GPollable{Input|Output}Stream

13 years agoAdd missing GI annotation to g_content_type_guess_for_tree
Pavel Holejsovsky [Tue, 28 Dec 2010 14:46:01 +0000 (15:46 +0100)]
Add missing GI annotation to g_content_type_guess_for_tree

13 years agoFix typo in GI annotation
Pavel Holejsovsky [Tue, 28 Dec 2010 13:28:52 +0000 (14:28 +0100)]
Fix typo in GI annotation

13 years agotest: Add a <revision> node to the report XML
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

13 years agogtester-report: Add an optional 'revision' node
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

13 years agogaction: update property flags to match needs of GSimpleAction
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.

13 years agotests: unbreak desktop-app-info test for jhbuild
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.

13 years agoFix typo in function annotation.
Pavel Holejsovsky [Tue, 28 Dec 2010 10:59:58 +0000 (11:59 +0100)]
Fix typo in function annotation.

13 years agoDocument that g_variant_builder_add_value consumes a floating ref
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

13 years agoAdapt testglib.c to GRelation deprecation
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

13 years agoFix a possible crash in g_io_channel_read_chars
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

13 years agoMove ifaceproperties test to gobject/tests/
Matthias Clasen [Tue, 28 Dec 2010 04:49:12 +0000 (23:49 -0500)]
Move ifaceproperties test to gobject/tests/

13 years agoMake object_interface_check_properties work
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.

13 years agoConvert ifaceproperties.c to test framework
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

13 years agoAdd GI annotations to GObject
Pavel Holejsovsky [Mon, 27 Dec 2010 21:07:08 +0000 (22:07 +0100)]
Add GI annotations to GObject

13 years agoAdd GI annotations to GParamSpec
Pavel Holejsovsky [Wed, 22 Dec 2010 21:09:21 +0000 (22:09 +0100)]
Add GI annotations to GParamSpec

13 years agoAdd GI annotations to GType
Pavel Holejsovsky [Mon, 27 Dec 2010 19:56:06 +0000 (20:56 +0100)]
Add GI annotations to GType

13 years agoAdd GI annotations to GMemory{Input|Output}Stream
Pavel Holejsovsky [Mon, 27 Dec 2010 15:47:26 +0000 (16:47 +0100)]
Add GI annotations to GMemory{Input|Output}Stream

13 years agoAdd GI annotations to GConverter
Pavel Holejsovsky [Mon, 27 Dec 2010 15:29:20 +0000 (16:29 +0100)]
Add GI annotations to GConverter

13 years agoAdd GI annotations to GSeekable
Pavel Holejsovsky [Mon, 27 Dec 2010 15:24:21 +0000 (16:24 +0100)]
Add GI annotations to GSeekable

13 years agoAdd GI annotations to GIcon and related classes and interfaces
Pavel Holejsovsky [Mon, 27 Dec 2010 15:08:46 +0000 (16:08 +0100)]
Add GI annotations to GIcon and related classes and interfaces

13 years agoAdd GI annotations to GFileEnumerator
Pavel Holejsovsky [Mon, 27 Dec 2010 14:48:31 +0000 (15:48 +0100)]
Add GI annotations to GFileEnumerator

13 years agoAdd GI annotations to GAppInfo and GDesktopAppInfo
Pavel Holejsovsky [Mon, 27 Dec 2010 14:40:07 +0000 (15:40 +0100)]
Add GI annotations to GAppInfo and GDesktopAppInfo

13 years agoUpdate Simplified Chinese translation.
Aron Xu [Sat, 25 Dec 2010 16:50:40 +0000 (16:50 +0000)]
Update Simplified Chinese translation.

13 years agoUpdated Spanish translation
Jorge Gonzalez [Thu, 23 Dec 2010 18:57:19 +0000 (19:57 +0100)]
Updated Spanish translation

13 years agoAdded UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 17:51:06 +0000 (18:51 +0100)]
Added UG translation

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 23 Dec 2010 15:20:21 +0000 (17:20 +0200)]
Updated Hebrew translation.

13 years agoFix for bug #637720. void functions should not return a value.
Brian Cameron [Wed, 22 Dec 2010 07:37:21 +0000 (01:37 -0600)]
Fix for bug #637720.  void functions should not return a value.

13 years agoAdd GI annotations to GBufferedInputStream
Pavel Holejsovsky [Tue, 21 Dec 2010 17:19:16 +0000 (18:19 +0100)]
Add GI annotations to GBufferedInputStream

13 years agoAdd GI annotations to GData{Input|Output}Stream
Pavel Holejsovsky [Tue, 21 Dec 2010 17:00:48 +0000 (18:00 +0100)]
Add GI annotations to GData{Input|Output}Stream

13 years agoAdd GI annotations to GSimpleAsyncResult
Pavel Holejsovsky [Tue, 21 Dec 2010 16:35:11 +0000 (17:35 +0100)]
Add GI annotations to GSimpleAsyncResult

13 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Tue, 21 Dec 2010 12:51:54 +0000 (19:51 +0700)]
Updated Vietnamese translation

13 years agopo/vi.po: import from Damned Lies
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

13 years agogio: typo fix
Nguyễn Thái Ngọc Duy [Tue, 21 Dec 2010 12:50:33 +0000 (19:50 +0700)]
gio: typo fix

13 years agoBug 637544 - Skip fsync() on btrfs
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.

13 years agoBump version
Matthias Clasen [Mon, 20 Dec 2010 21:47:10 +0000 (16:47 -0500)]
Bump version

13 years agoUpdate NEWS 2.27.5
Matthias Clasen [Mon, 20 Dec 2010 19:03:45 +0000 (14:03 -0500)]
Update NEWS

13 years agoAdd io-stream in gitignore
Xavier Claessens [Mon, 20 Dec 2010 17:52:44 +0000 (18:52 +0100)]
Add io-stream in gitignore

13 years agoAdd g_sequence_lookup{_iter} into symbols
Xavier Claessens [Mon, 20 Dec 2010 17:44:49 +0000 (18:44 +0100)]
Add g_sequence_lookup{_iter} into symbols

13 years agoappinfo: avoid overriding the system defaults when adding support
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

13 years agoAdd note in g_sequence_search() doc about g_sequence_lookup()
Xavier Claessens [Fri, 10 Dec 2010 09:17:44 +0000 (10:17 +0100)]
Add note in g_sequence_search() doc about g_sequence_lookup()

13 years agoAdd unit test for g_sequence_lookup() and g_sequence_lookup_iter().
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().

13 years agoNew API: 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

13 years agoAllow null object in g_simple_async_report_gerror_in_idle
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.

13 years agoappinfo: add g_app_info_set_as_last_used_for_type()
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

13 years agoemblemedicon: make GEmblemedIcon subclassable
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

13 years agoAdd a delay-apply property to GSettings
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.

13 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Mon, 20 Dec 2010 11:55:19 +0000 (13:55 +0200)]
[l10n] Updated Estonian translation

13 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Mon, 20 Dec 2010 10:26:00 +0000 (17:26 +0700)]
Updated Vietnamese translation

13 years agoAdd GI annotations to GClosure and friends.
Pavel Holejsovsky [Sun, 19 Dec 2010 21:15:42 +0000 (22:15 +0100)]
Add GI annotations to GClosure and friends.

13 years agoAdd GI annotations to GValue and GValueArray.
Pavel Holejsovsky [Sun, 19 Dec 2010 09:39:36 +0000 (10:39 +0100)]
Add GI annotations to GValue and GValueArray.

13 years agog_simple_async_report_error_in_idle with no object
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

13 years agogrand: Fix URLs for info on the Mersenne Twister
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

13 years ago[gi] Add annotations for GFile, G[File]{Input|Output|IO}Stream.
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.

13 years agoUpdate symbols list for recent changes
Matthias Clasen [Fri, 17 Dec 2010 13:35:54 +0000 (08:35 -0500)]
Update symbols list for recent changes

13 years agog_object_get_property: document that value must be initialized
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.

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Fri, 17 Dec 2010 12:03:18 +0000 (13:03 +0100)]
Updated Norwegian bokmål translation

13 years ago[gi] Fix GObject.Object annotations.
Pavel Holejsovsky [Thu, 16 Dec 2010 20:06:51 +0000 (21:06 +0100)]
[gi] Fix GObject.Object annotations.

13 years ago[gi] add annotations for methods which take a gpointer which are really GObjects
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

13 years agogioenums.h: Remove a trailing comma.
Murray Cumming [Thu, 16 Dec 2010 09:57:18 +0000 (10:57 +0100)]
gioenums.h: Remove a trailing comma.

13 years agotests: remove a bogus assumption
Cosimo Cecchi [Tue, 14 Dec 2010 17:33:17 +0000 (18:33 +0100)]
tests: remove a bogus assumption

13 years agoRemove GPeriodic for now
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.

13 years agoRemove the dead --disable-visiblity configure option
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.

13 years agodocs: fix a typo
Cosimo Cecchi [Wed, 15 Dec 2010 11:50:59 +0000 (12:50 +0100)]
docs: fix a typo

13 years agoemblemedicon: add docs for _clear_emblems()
Cosimo Cecchi [Wed, 15 Dec 2010 11:49:22 +0000 (12:49 +0100)]
emblemedicon: add docs for _clear_emblems()

13 years agoemblemedicon: add g_emblemed_icon_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

13 years agogapplication: plug a memory leak
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

13 years agoAdd missing annotations to GApplication and GApplicationCommandLine.
Pavel Holejsovsky [Wed, 15 Dec 2010 10:17:00 +0000 (11:17 +0100)]
Add missing annotations to GApplication and GApplicationCommandLine.

13 years agoghostutils: Convert non-ASCII dots to '.' when converting hostnames
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

13 years agoBug 635626 – GDBus message idle can execute while flushes are pending
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>
13 years agoBug 632544 – Cannot send a locked message with PRESERVE_SERIAL flag
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>
13 years agoAdd GIOStreamSpliceFlags to doc
Xavier Claessens [Mon, 13 Dec 2010 16:59:47 +0000 (17:59 +0100)]
Add GIOStreamSpliceFlags to doc

13 years agoAdd Since 2.28 in g_io_stream_splice doc
Xavier Claessens [Mon, 13 Dec 2010 16:42:11 +0000 (17:42 +0100)]
Add Since 2.28 in g_io_stream_splice doc

13 years agoAdd g_io_stream_splice_async/finish()
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.

13 years agoDocument the GIO_USE_TLS environment variable
Matthias Clasen [Mon, 13 Dec 2010 14:04:28 +0000 (09:04 -0500)]
Document the GIO_USE_TLS environment variable

13 years agoFix gsettings enum rule to work with non-srcdir builds
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.

13 years agoBetter error reporting for g_variant_parse()
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.

13 years agoAdd missing property to GDummyTlsCertificate
Dan Winship [Fri, 10 Dec 2010 09:01:01 +0000 (10:01 +0100)]
Add missing property to GDummyTlsCertificate

13 years agogio: Add a count to the resolver test for number of enumerators
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!

13 years agogio: Make enumerating a GNetworkAddress work more than once
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.

13 years agotls: Make g_tls_{client|server}_connection_new() return a GIOStream
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.

13 years agotls: Clarify docs for g_tls_client_connection_set_validation_flags()
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.

13 years agoFix error in GSimpleAsyncResult example
Emilio Pozuelo Monfort [Tue, 7 Dec 2010 16:45:06 +0000 (17:45 +0100)]
Fix error in GSimpleAsyncResult example

13 years agoChange the handling of the peer certificate in GTlsConnection
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).

13 years agoClarify that g_socket_client_connect_to_uri() doesn't know about TLS
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

13 years agoChange the semantics of GTlsConnection:require-close-notify
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).

13 years agoadd G_TLS_ERROR_UNAVAILABLE
Dan Winship [Mon, 6 Dec 2010 11:43:59 +0000 (12:43 +0100)]
add G_TLS_ERROR_UNAVAILABLE

13 years agoRemove GTlsConnection::need-certificate
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.

13 years agoAdd GTlsConnection:use-system-certdb
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.

13 years agoAdd g_tls_certificate_verify()
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

13 years agoComplete Simplified Chinese translation.
Aron Xu [Mon, 6 Dec 2010 12:44:18 +0000 (12:44 +0000)]
Complete Simplified Chinese translation.

13 years agoUpdate Simplified Chinese translation.
Aron Xu [Mon, 6 Dec 2010 12:40:03 +0000 (12:40 +0000)]
Update Simplified Chinese translation.