Ryan Lortie [Sat, 18 Aug 2012 18:14:21 +0000 (14:14 -0400)]
GMenuModel: remove a type safety bug
There was a /* XXX */ in the code here to do proper typechecking of the
GVariant in the menu model when using g_menu_model_get_item_attribute().
We have g_variant_check_format_string() now, so use it.
Ryan Lortie [Sat, 18 Aug 2012 18:12:55 +0000 (14:12 -0400)]
GVariant: add g_variant_check_format_string()
For some time now people have been asking for a way to check for type
compatibility between GVariant instances and format strings. There are
several APIs inside of GLib itself that would benefit from this.
This patch introduces a way to do that.
Aurimas Černius [Mon, 20 Aug 2012 20:10:25 +0000 (23:10 +0300)]
Updated Lithuanian translation
Dan Winship [Mon, 30 Jul 2012 20:38:30 +0000 (16:38 -0400)]
glib/tests: use g_test_expect_message()
Replace some tests that used to use g_test_trap_fork() with
g_test_expect_message() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=679556
Dan Winship [Mon, 30 Jul 2012 20:05:08 +0000 (16:05 -0400)]
gtestutils: add g_text_expect_message()
Add g_test_expect_message() and g_test_assert_expected_messages(), to
allow tests of warnings, error messages, return-if-fails, etc.
https://bugzilla.gnome.org/show_bug.cgi?id=679556
Dan Winship [Mon, 30 Jul 2012 19:32:31 +0000 (15:32 -0400)]
g_logv: only expand the message once
Hoist the g_strdup_printf()'ing out of the loop, since the message is
the same for every handler that gets called.
https://bugzilla.gnome.org/show_bug.cgi?id=679556
Dan Winship [Wed, 1 Aug 2012 13:49:10 +0000 (09:49 -0400)]
glib/tests/testing, logging: don't use g_test_undefined()
We are verifying the behavior of the test/logging functions here; this
is not undefined behavior.
https://bugzilla.gnome.org/show_bug.cgi?id=679556
Marc-André Lureau [Tue, 3 Jul 2012 00:04:08 +0000 (02:04 +0200)]
win32: add pipe-io-cancel-test
Test that win32 streams can be cancelled.
It can even be tested with wine on Linux!
https://bugzilla.gnome.org/show_bug.cgi?id=679288
Marc-André Lureau [Tue, 7 Aug 2012 23:02:40 +0000 (01:02 +0200)]
win32: add pipe-io-concurrent
Implement test case suggested by Ryan Lortie on bug:
https://bugzilla.gnome.org/show_bug.cgi?id=679288
"There is a potential race here that's really unlikely to happen, but
here we go: We are trying to read from the same socket in two threads.
Some data comes. That causes the poll() in both threads (above) to
finish running. Then the cancellable is checked above. We now find
ourselves here. Only one thread will read the data. The other will
block on this function. Then the user may cancel the cancellable while
we are blocked here, but we will stay blocked...."
Marc-André Lureau [Mon, 20 Aug 2012 13:47:15 +0000 (15:47 +0200)]
win32: add pipe-io-overlap-test
Marc-André Lureau [Thu, 5 Jul 2012 22:46:32 +0000 (00:46 +0200)]
win32: make gio stream cancellable
v2:
- fix cancellation of concurrent readers
- replace g_assert() usage with g_warn_if_fail()
v3:
- fix indentation
- fix loop code to not leak (silly me)
https://bugzilla.gnome.org/show_bug.cgi?id=679288
Marc-André Lureau [Tue, 7 Aug 2012 23:08:15 +0000 (01:08 +0200)]
win32: handle ERROR_MORE_DATA
If a named pipe is being read in message mode and the next message is
longer than the nNumberOfBytesToRead parameter specifies, ReadFile
returns FALSE and GetLastError returns ERROR_MORE_DATA.
Since the API doesn't allow to return both a GError and the number of
bytes read so far, it makes more sense to return nread, and let the
client call GetLastError() himself to check if ERROR_MORE_DATA.
The current alternative loses the nread information.
https://bugzilla.gnome.org/show_bug.cgi?id=679288
Marc-André Lureau [Mon, 2 Jul 2012 19:45:41 +0000 (21:45 +0200)]
win32: use overlapped events for streams
Any file handle created with FLAG_OVERLAPPED must have
ReadFile()/WriteFile() called with an OVERLAPPED structure.
Failing to do so will give unspecified results, invalid read/write or
corruption.
Without FLAG_OVERLAPPED, it is not possible to read and write
concurrently, even with two seperate threads, created by 2 input and
output gio streams. Also, only with FLAG_OVERLAPPED may an IO
operation be asynchronous and thus be cancellable.
We may want to call ReOpenFile() to make sure the FLAG is set, but
this API is only available since Vista+.
According to MSDN doc, adding the OVERLAPPED argument for IO operation
on handles without FLAG_OVERLAPPED is allowed, and indeed the existing
test still passes.
v2:
- update GetLastError() after _g_win32_overlap_wait_result ()
- split the unrelated ERROR_MORE_DATA handling
https://bugzilla.gnome.org/show_bug.cgi?id=679288
Thomas Hindoe Paaboel Andersen [Mon, 20 Aug 2012 14:41:42 +0000 (16:41 +0200)]
gmem.c: array is only paritally filled by memcpy
The size of the local_data arrray is too large. It should not be
multiplied by the sizeof guint.
The memcpy of profile_data to local_data later will only fill a part of the
array.
Spotted with the PVS-Studio static analyzer
https://bugzilla.gnome.org/show_bug.cgi?id=681501
Daniel Mustieles [Mon, 20 Aug 2012 12:15:39 +0000 (14:15 +0200)]
Updated Spanish translation
Matthias Clasen [Sun, 19 Aug 2012 06:27:04 +0000 (02:27 -0400)]
Remove some more 'the the'
Matthias Clasen [Sun, 19 Aug 2012 06:26:42 +0000 (02:26 -0400)]
Improve test coverage for GSocketConnection
Matthias Clasen [Sun, 19 Aug 2012 06:26:05 +0000 (02:26 -0400)]
Improve test coverage for unix socket addresses
Matthias Clasen [Sun, 19 Aug 2012 06:25:37 +0000 (02:25 -0400)]
Improve test coverage for resources
Matthias Clasen [Sun, 19 Aug 2012 06:25:21 +0000 (02:25 -0400)]
Improve test coverage for filter streams
Matthias Clasen [Sun, 19 Aug 2012 06:25:02 +0000 (02:25 -0400)]
Improve test coverage for unix streams
Matthias Clasen [Sun, 19 Aug 2012 06:24:44 +0000 (02:24 -0400)]
Improve test coverage for pollable streams
Matthias Clasen [Sun, 19 Aug 2012 06:24:04 +0000 (02:24 -0400)]
Improve GSettings test coverage
Matthias Clasen [Sun, 19 Aug 2012 06:23:32 +0000 (02:23 -0400)]
Improve GAppInfo test coverage
Matthias Clasen [Sun, 19 Aug 2012 06:22:59 +0000 (02:22 -0400)]
Add some GInetAddress tests
Matthias Clasen [Sun, 19 Aug 2012 06:22:33 +0000 (02:22 -0400)]
Add some GPermission tests
Matthias Clasen [Sun, 19 Aug 2012 06:21:02 +0000 (02:21 -0400)]
Cosmetic change
gtk-doc doesn't need <!-- --> anymore to recognize plural
forms of links.
Matthias Clasen [Sun, 19 Aug 2012 06:19:27 +0000 (02:19 -0400)]
Make GPermission more forgiving
It is not great if calling g_permission_acquire on a simple
permission object just segfaults. This commit arranges for
this to return a G_IO_ERROR_NOT_SUPPORTED error.
Matthias Clasen [Sun, 19 Aug 2012 03:17:47 +0000 (23:17 -0400)]
It is 'registered', not 'registred'
Matthias Clasen [Sun, 19 Aug 2012 03:15:58 +0000 (23:15 -0400)]
Exterminate 'the the'
Matthias Clasen [Sat, 18 Aug 2012 18:42:10 +0000 (14:42 -0400)]
Improve utils test coverage
Matthias Clasen [Sat, 18 Aug 2012 18:41:48 +0000 (14:41 -0400)]
Improve uri test coverage
Matthias Clasen [Sat, 18 Aug 2012 18:41:35 +0000 (14:41 -0400)]
Improve strfuncs tests coverage
Matthias Clasen [Sat, 18 Aug 2012 18:41:23 +0000 (14:41 -0400)]
Improve GRegex test coverage
Matthias Clasen [Sat, 18 Aug 2012 18:41:07 +0000 (14:41 -0400)]
Improve GPrivate test coverage
Matthias Clasen [Sat, 18 Aug 2012 18:40:33 +0000 (14:40 -0400)]
Improve file utils test coverage
Matthias Clasen [Sat, 18 Aug 2012 18:40:15 +0000 (14:40 -0400)]
Improve GError test coverage
Matthias Clasen [Sat, 18 Aug 2012 18:39:52 +0000 (14:39 -0400)]
Improve atomic ops test coverage
Matthias Clasen [Sat, 18 Aug 2012 18:39:28 +0000 (14:39 -0400)]
Improve array test coverage
Matthias Clasen [Sat, 18 Aug 2012 18:38:53 +0000 (14:38 -0400)]
Improve threadpool test coverage
Fran Diéguez [Fri, 17 Aug 2012 21:17:51 +0000 (23:17 +0200)]
Updated Galician translations
Owen W. Taylor [Fri, 17 Aug 2012 02:06:45 +0000 (22:06 -0400)]
Fix problems with CLEANFILES and automake-1.11.1
Running with automake-1.11.1, a couple fixes are needed
for CLEANFILES when gtk-doc is not installed.
(Found with Amazon Linux AMI release 2012.03)
https://bugzilla.gnome.org/show_bug.cgi?id=682067
Krishnababu Krothapalli [Fri, 17 Aug 2012 14:13:40 +0000 (19:43 +0530)]
Updated Telugu Translations
Krishnababu Krothapalli [Fri, 17 Aug 2012 13:52:00 +0000 (19:22 +0530)]
Updated Telugu Translations
Chun-wei Fan [Fri, 17 Aug 2012 11:22:43 +0000 (19:22 +0800)]
Fix build on Visual C++
-glib/gmarkup.c: Use G_VA_COPY() instead of va_copy() as va_copy() may not
be universally available.
-gio/gtestdbus.c: Include io.h on Windows for close()
Мирослав Николић [Fri, 17 Aug 2012 10:59:44 +0000 (12:59 +0200)]
Updated Serbian translation
Nilamdyuti Goswami [Fri, 17 Aug 2012 08:52:32 +0000 (14:22 +0530)]
Assamese translation updated
Sandeep Sheshrao Shedmake [Fri, 17 Aug 2012 06:54:15 +0000 (12:24 +0530)]
Updated Marathi Translations
David King [Fri, 17 Feb 2012 11:15:08 +0000 (11:15 +0000)]
docs: Describe GCompletion item memory management
https://bugzilla.gnome.org/show_bug.cgi?id=600751
Matthias Clasen [Fri, 17 Aug 2012 05:14:51 +0000 (01:14 -0400)]
Adapt schema tests to changed error messages
Colin Walters [Tue, 29 May 2012 22:54:58 +0000 (18:54 -0400)]
GMappedFile: Add g_mapped_file_get_bytes()
This is yet another API that has a data/length/refcount combination
that one might often want to turn into a GBytes.
https://bugzilla.gnome.org/show_bug.cgi?id=677065
Matthias Clasen [Fri, 17 Aug 2012 04:27:10 +0000 (00:27 -0400)]
GDateTime: pack the struct better
Makes a difference in 32bit.
Matthias Clasen [Fri, 17 Aug 2012 03:41:19 +0000 (23:41 -0400)]
gdbus: Use g_markup_collect_known_attributes() in GDBus introspection
In order to be able to cope with the introspection XML
from the Telepathy specification, which uses attributes
like tp:type and tp:name-for-bindings, we need to ignore
unknown attributes when parsing.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=665634
Matthias Clasen [Fri, 17 Aug 2012 03:40:08 +0000 (23:40 -0400)]
gmarkup: Add g_markup_collect_known_attributes()
Add a variant of g_markup_collect_attributes() which will
ignore unknown attributes (such as those from different XML
namespaces) when parsing markup, rather than returning
G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE as g_markup_collect_attributes()
does.
Patch by Philip Withnall,
https://bugzilla.gnome.org/show_bug.cgi?id=665634
Matthias Clasen [Fri, 17 Aug 2012 03:23:16 +0000 (23:23 -0400)]
Fix 'make report'
Turns out this doesn't work unless every Makefile.am includes
Makefile.decl.
Matthias Clasen [Fri, 17 Aug 2012 03:02:41 +0000 (23:02 -0400)]
Miscellaneous string fixes
Typo and punctuation fixes, and some rewording, based
on a patch by Philip Withnall, bug
https://bugzilla.gnome.org/review?bug=628193
Matthias Clasen [Fri, 17 Aug 2012 02:47:43 +0000 (22:47 -0400)]
Make capitalisation of "UNIX" consistent in translatable strings
Based on a patch by Philip Withnall, bug
https://bugzilla.gnome.org/review?bug=628193
Matthias Clasen [Fri, 17 Aug 2012 02:23:20 +0000 (22:23 -0400)]
Change "dash" to "hyphen" in translatable strings
GSchemas use hyphens, not dashes.
Patch by Philip Withnall, bug
https://bugzilla.gnome.org/review?bug=628193
Matthias Clasen [Fri, 17 Aug 2012 02:17:46 +0000 (22:17 -0400)]
Fix leak in GWinHttpVfs
Patch by Ole André Vadla Ravnås, bug
https://bugzilla.gnome.org/show_bug.cgi?id=627423
Matthias Clasen [Fri, 17 Aug 2012 02:15:54 +0000 (22:15 -0400)]
Fix leak in GFileAttributeInfoList
Patch by Ole André Vadla Ravnås, bug
https://bugzilla.gnome.org/show_bug.cgi?id=627423
Matthias Clasen [Fri, 17 Aug 2012 00:18:37 +0000 (20:18 -0400)]
GTest: Improve --help output
https://bugzilla.gnome.org/show_bug.cgi?id=550433
David King [Fri, 17 Feb 2012 14:42:58 +0000 (14:42 +0000)]
docs: Improve G_GNUC_* documentation
Mention where the GCC attributes should be placed for functions and
arguments. Add an example for G_GNUC_UNUSED.
https://bugzilla.gnome.org/show_bug.cgi?id=326931
Matthias Clasen [Thu, 16 Aug 2012 22:44:41 +0000 (18:44 -0400)]
Improve glib-genmarshal man page
Expand the example in glib-genmarshal.1 to include the actual
commandline invocations, and update the generated function
names to match reality.
https://bugzilla.gnome.org/show_bug.cgi?id=637460
Colin Walters [Thu, 16 Aug 2012 22:31:02 +0000 (18:31 -0400)]
build: Fix the --disable-man case
The manpage listing needs to be inside the conditional.
Owen W. Taylor [Tue, 14 Aug 2012 16:57:43 +0000 (12:57 -0400)]
Add tests for g_file_make_directory_with_parents()
Add tests to catch recent regressions with g_file_make_directory_with_parents()
https://bugzilla.gnome.org/show_bug.cgi?id=680823
Owen W. Taylor [Tue, 14 Aug 2012 15:25:56 +0000 (11:25 -0400)]
g_file_make_directory_with_parents: clean up logic
Simplify logic by only looking at whether we have a GError and
not also using return codes.
https://bugzilla.gnome.org/show_bug.cgi?id=680823
Owen W. Taylor [Tue, 14 Aug 2012 15:20:16 +0000 (11:20 -0400)]
g_file_make_directory_with_parents(): fix a corner case
If g_file_get_parent() unexpectedly failed, we could return
FALSE but with no error.
https://bugzilla.gnome.org/show_bug.cgi?id=680823
Owen W. Taylor [Tue, 14 Aug 2012 15:00:14 +0000 (11:00 -0400)]
g_file_make_directory_with_parents: refix error propagation
The patch from
b0bce4ad triggered segfaults - see:
http://redmine.yorba.org/issues/5656
We were clearing the error before dereferencing it in the next
go-around of the while loop - this wasn't necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=680823
Matthias Clasen [Wed, 8 Aug 2012 14:01:47 +0000 (10:01 -0400)]
Remove man page placeholder generation
I don't see a good reason for this - if man page generation is
disabled, man pages are not produced, and things like 'make dist'
will fail. That is simpler and better.
https://bugzilla.gnome.org/show_bug.cgi?id=681336
Matthias Clasen [Wed, 8 Aug 2012 13:57:48 +0000 (09:57 -0400)]
Clean up man pages on 'clean'
Follow the automake heuristic that says "if 'make' created it,
'make clean' should remove it".
https://bugzilla.gnome.org/show_bug.cgi?id=681336
Matthias Clasen [Wed, 8 Aug 2012 13:55:29 +0000 (09:55 -0400)]
Make --enable-man and --enable-gtk-doc independent
Previously, --enable-man --disable-gtk-doc would silently skip
man page generation, because we didn't even desdend into docs/reference.
Fix this by always going there.
https://bugzilla.gnome.org/show_bug.cgi?id=681336
Matthias Clasen [Thu, 16 Aug 2012 21:21:03 +0000 (17:21 -0400)]
Fix an example
Pointed out by Chandni Verma in
https://bugzilla.gnome.org/show_bug.cgi?id=682025
Javier Jardón [Tue, 14 Aug 2012 17:45:10 +0000 (02:45 +0900)]
Revert "Use upstream gettext instead the glib one"
Commited by mistake
This reverts commit
e930e3b3aac2fe4d62996d8033121a40153f2da3.
Sebastian Geiger [Thu, 9 Aug 2012 21:01:29 +0000 (23:01 +0200)]
compiling.xml: Add note and fix gcc example
Because of the '--as-needed' default option
for the linker, the linking will fail, if the
file name appears after any of the options or
the pkg-config invocation.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681854
Javier Jardón [Mon, 16 May 2011 12:23:47 +0000 (13:23 +0100)]
Use upstream gettext instead the glib one
Dirgita [Sun, 12 Aug 2012 23:04:31 +0000 (06:04 +0700)]
Updated Indonesian translation
Colin Walters [Tue, 7 Aug 2012 21:26:43 +0000 (17:26 -0400)]
build: Switch back to using AS_IF for conditionals
See https://bugzilla.gnome.org/show_bug.cgi?id=674483
https://bugzilla.gnome.org/show_bug.cgi?id=681413
Chao-Hsiung Liao [Tue, 7 Aug 2012 05:36:35 +0000 (13:36 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Stef Walter [Mon, 6 Aug 2012 16:20:48 +0000 (18:20 +0200)]
gtlscertificate: Add certificate-bytes and private-key-bytes props
* These properties contain the same data as certificate and
private-key, but as GBytes
https://bugzilla.gnome.org/show_bug.cgi?id=681319
Ryan Lortie [Mon, 6 Aug 2012 20:20:36 +0000 (16:20 -0400)]
bump version
Ryan Lortie [Mon, 6 Aug 2012 19:56:26 +0000 (15:56 -0400)]
GLib 2.33.8
Matthias Clasen [Mon, 6 Aug 2012 16:08:21 +0000 (12:08 -0400)]
Don't use GIO in GTestDBus setup
Using GIO here may cause the gvfs module to be loaded, which
in turn gets onto the session bus to talk to gvfsd - not ideal
if you are trying to control the session bus life cycle. Instead,
just use old-fashioned glib file utils.
Matthias Clasen [Mon, 6 Aug 2012 16:08:04 +0000 (12:08 -0400)]
More updates
Matthias Clasen [Mon, 6 Aug 2012 15:55:59 +0000 (11:55 -0400)]
Solaris build fix for GIO
Solaris/OpenSolaris/OpenIndiana define FIONREAD in sys/filio.h.
This commit adds a configure check for this header, and includes
it conditionally in gio/gsocket.c.
Patch by Fabian Groffen, bug 675524.
Dan Winship [Fri, 3 Feb 2012 18:03:38 +0000 (13:03 -0500)]
gio/tests/g-icon.c: fix some path checks on win32
Some of the tests needed to be modified to use G_DIR_SEPARATOR_S
rather than hardcoded "/"s.
https://bugzilla.gnome.org/show_bug.cgi?id=669331
Dan Winship [Fri, 3 Feb 2012 17:42:10 +0000 (12:42 -0500)]
gicon: make g_icon_new_for_string() recognize win32 paths
(but for compatibility, make it still recognize unix paths on win32
too)
https://bugzilla.gnome.org/show_bug.cgi?id=669331
Dan Winship [Fri, 3 Feb 2012 16:35:26 +0000 (11:35 -0500)]
gio/tests/file: skip the file monitor tests if using GPollFileMonitor
test_create_delete() assumes that if it creates a file and then
immediately deletes it, that the file monitor will notice this and
record it as a create followed by a delete. But that won't work with
GPollFileMonitor, which will just think nothing changed. So skip the
test in that case.
https://bugzilla.gnome.org/show_bug.cgi?id=669331
Dan Winship [Fri, 3 Feb 2012 16:12:02 +0000 (11:12 -0500)]
gio/tests/g-file.c: fix some path checks on win32
Some of the tests needed to be modified to use G_DIR_SEPARATOR_S
rather than hardcoded "/"s.
https://bugzilla.gnome.org/show_bug.cgi?id=669331
Dan Winship [Fri, 3 Feb 2012 16:10:50 +0000 (11:10 -0500)]
glocalfile: fix g_file_get_parse_name() on win32
When getting the parse name for a file: URI on win32, we were not
translating "\" to "/", resulting in incorrect output.
https://bugzilla.gnome.org/show_bug.cgi?id=669331
Matthias Clasen [Mon, 6 Aug 2012 15:03:42 +0000 (11:03 -0400)]
Plug a minor memory leak in GDBusObjectProxy
As pointed out by Patrick Ohly in bug 680505,
GDBusObjectProxy was forgetting to free its object_path.
David Rothlisberger [Mon, 16 Jul 2012 12:12:15 +0000 (13:12 +0100)]
gobject docs: Remove confusing acronym
In the wikipedia disambiguation page[1] the only entry that even
remotely makes sense in this context is "and so on". Google searches
for "aso memory management" and "aso garbage collection" don't yield
anything relevant.
[1] http://en.wikipedia.org/wiki/ASO
https://bugzilla.gnome.org/show_bug.cgi?id=679996
David Rothlisberger [Mon, 16 Jul 2012 09:57:46 +0000 (10:57 +0100)]
gobject docs: Remove incorrect reference to signals docs
The chapter on signals comes after this chapter, not before (see
"tut_gobject.xml" in docs/reference/gobject/gobject-docs.xml).
https://bugzilla.gnome.org/show_bug.cgi?id=679996
Brian Koning [Mon, 23 Jul 2012 15:04:45 +0000 (11:04 -0400)]
Remove extra newline chars in local g_application_command_line_print/err
The extra newline chars in the local implementation of g_application_command_line_print and g_application_command_line_printerr() cause an unwanted newline after printed strings. This patch removes the newline chars to make the functions consistent with their documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=680459
Pavel Vasin [Mon, 16 Jul 2012 11:57:26 +0000 (15:57 +0400)]
GDBusActionGroup: hold ref until async init done
to avoid use-after-free if GDBusActionGroup was finalized
https://bugzilla.gnome.org/show_bug.cgi?id=679509
Pavel Vasin [Sun, 15 Jul 2012 10:34:53 +0000 (14:34 +0400)]
gio/tests/actions: test for bug679509
Matthias Clasen [Mon, 6 Aug 2012 12:51:40 +0000 (08:51 -0400)]
Deprecated GSlice config API
This was marked as 'internal debugging' in the headers, and
should have never been made public. As a first step to repair
this, deprecate it.
https://bugzilla.gnome.org/show_bug.cgi?id=680831
Matthias Clasen [Mon, 6 Aug 2012 12:49:30 +0000 (08:49 -0400)]
configure.ac: Use AS_HELP_STRING throughout
https://bugzilla.gnome.org/show_bug.cgi?id=680831
Stef Walter [Fri, 3 Aug 2012 19:51:08 +0000 (21:51 +0200)]
gtlscertificate: Don't confuse certificate and public key in docs
* A certificate sorta acts as a public key, but more specifically
it contains a public key (in its subjectPublicKeyInfo) field.
* Documentation was confusing and could have read like the
certificate and certificate-pem properties were returning the
public key part of the certificate.
https://bugzilla.gnome.org/show_bug.cgi?id=681158
Stef Walter [Tue, 31 Jul 2012 14:47:45 +0000 (16:47 +0200)]
gchecksum: Add g_compute_checksum_for_bytes()
* Add a GBytes based version of g_compute_checksum_for_data()
* Add appropriate tests
https://bugzilla.gnome.org/show_bug.cgi?id=680912
Stef Walter [Fri, 3 Aug 2012 16:19:36 +0000 (18:19 +0200)]
checksum: Use functions instead of macros when building tests
* No need for hard to debug and maintain macros here.
https://bugzilla.gnome.org/show_bug.cgi?id=681151