David King [Fri, 21 Aug 2015 14:10:59 +0000 (16:10 +0200)]
glib-unix: add function to ensure an fd is sealed
Add a function that checks if a fd is sealed and, if it's not, seals it.
On Linux this is more or less an operation on memfd. On other systems,
it currently always returns FALSE.
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Change-Id: I021e40249c2cdd0f1137f6f9f3813f5d4e5083c5
Ryan Lortie [Fri, 21 Aug 2015 14:06:15 +0000 (16:06 +0200)]
gbytes: substantial rework for kdbus purposes
This patch is 'squashed' version of Ryan Lortie's patches from
wip/kdbus-junk branch [1].
Main changes:
- introduce a new type of GBytes: 'inline' - this allows us to
make a single allocation instead of two in the g_bytes_new() case,
- new g_bytes_take_zero_copy_fd() function - function takes a memfd,
seals it, and creates a GBytes based on it,
- add g_bytes_get_zero_copy_fd() function - add a way to get the
zero-copy fd back out of a GBytes that was created from one.
[1] https://git.gnome.org/browse/glib/log/?h=wip/kdbus-junk
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Change-Id: I65c31e42c23346f3d7351f815ccbeda7461d3c01
Lukasz Skalski [Wed, 12 Aug 2015 15:09:22 +0000 (17:09 +0200)]
packaging: Bump to 2.44.1
Change-Id: I1eb90fc7dc9d717e16d30985a4458f2a2dba223c
Signed-off-by: Lukasz Skalski <l.skalski@samsung.com>
Philippe Coval [Wed, 26 Nov 2014 11:11:00 +0000 (12:11 +0100)]
packaging: Bump to 2.43.1
Change-Id: Id068a8288f85baef2ffada606d10bcb2dbf78cf4
Bug-Tizen: TC-2124
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Philippe Coval [Wed, 26 Nov 2014 11:03:56 +0000 (12:03 +0100)]
packaging: Bump to 2.40.1
Change-Id: I23e399e680e58b26358c00e15cd4325c5eb08338
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Philippe Coval [Tue, 1 Apr 2014 14:46:03 +0000 (16:46 +0200)]
packaging: Bump to 2.40.0
Change-Id: I6d64c12841cc6d0c536e27f1f3d69ec3a675d7d6
Bug-Tizen: PTREL-773
Bug-Tizen: TIVI-2898/part
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Anas Nashif [Tue, 13 Aug 2013 15:21:17 +0000 (11:21 -0400)]
add .gbs.conf and update to 2.36.4
Change-Id: I0540f90b0b0ba28680cd5ae1d5186d07be078e61
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Alexandru Cornea [Fri, 28 Jun 2013 20:11:14 +0000 (23:11 +0300)]
resetting manifest requested domain to floor
Philippe Coval [Fri, 19 Jul 2013 13:00:32 +0000 (15:00 +0200)]
changes: Bug-Tizen: TZPC-3317 (... remove the fav apps icon ...)
Conflicts:
packaging/glib2.changes
Anas Nashif [Tue, 13 Aug 2013 15:18:01 +0000 (11:18 -0400)]
Remove empty docs package
Anas Nashif [Tue, 13 Aug 2013 14:06:17 +0000 (10:06 -0400)]
remove docs package
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Anas Nashif [Sat, 27 Apr 2013 12:37:34 +0000 (05:37 -0700)]
Update to 2.36.1
Anas Nashif [Wed, 27 Mar 2013 16:05:31 +0000 (09:05 -0700)]
Update to 2.36.0
Anas Nashif [Fri, 22 Mar 2013 18:22:23 +0000 (11:22 -0700)]
Update to 2.35.9
Anas Nashif [Tue, 5 Mar 2013 09:10:41 +0000 (01:10 -0800)]
Remove previous crash fix (TZPC-453)
Anas Nashif [Tue, 26 Feb 2013 14:36:06 +0000 (06:36 -0800)]
Update to 2.35.8
Anas Nashif [Tue, 26 Feb 2013 14:30:35 +0000 (06:30 -0800)]
Update to 2.35.8
Anas Nashif [Thu, 7 Feb 2013 20:18:02 +0000 (12:18 -0800)]
Update to 2.35.7
Anas Nashif [Thu, 7 Feb 2013 20:17:15 +0000 (12:17 -0800)]
cleanup spec file
Anas Nashif [Thu, 31 Jan 2013 16:51:26 +0000 (08:51 -0800)]
Update to 2.35.4
Anas Nashif [Tue, 15 Jan 2013 15:00:05 +0000 (07:00 -0800)]
Update to 2.35.4
Anas Nashif [Tue, 5 Mar 2013 09:08:42 +0000 (01:08 -0800)]
split commit
Anas Nashif [Tue, 18 Dec 2012 20:46:15 +0000 (12:46 -0800)]
update to 2.35.3
Anas Nashif [Mon, 10 Dec 2012 03:12:39 +0000 (19:12 -0800)]
add changelog
Anas Nashif [Mon, 10 Dec 2012 02:55:35 +0000 (18:55 -0800)]
package license file
Anas Nashif [Mon, 10 Dec 2012 01:03:26 +0000 (17:03 -0800)]
add codegen to %files
Anas Nashif [Mon, 10 Dec 2012 00:55:22 +0000 (16:55 -0800)]
BR glibc-devel
Anas Nashif [Thu, 20 Dec 2012 21:10:25 +0000 (13:10 -0800)]
adapt %files section
Anas Nashif [Tue, 4 Dec 2012 15:41:21 +0000 (07:41 -0800)]
update to 2.35.2
Anas Nashif [Tue, 4 Dec 2012 14:39:56 +0000 (06:39 -0800)]
cleanup %files
Anas Nashif [Tue, 4 Dec 2012 14:35:38 +0000 (06:35 -0800)]
cleanup %files
Anas Nashif [Tue, 4 Dec 2012 14:31:13 +0000 (06:31 -0800)]
run autogen
Anas Nashif [Tue, 4 Dec 2012 13:59:21 +0000 (05:59 -0800)]
add packaging
Matthias Clasen [Wed, 13 May 2015 02:43:13 +0000 (22:43 -0400)]
2.44.1
Garrett Regier [Wed, 15 Apr 2015 03:44:38 +0000 (20:44 -0700)]
gtype: Bump allowed number of children
Restricting the number of children to be less than 4095 can
be an issue when generating types. This is also an issue for
the Lua bindings as each Lua state will create a new GType each
time the Lua code is executed.
https://bugzilla.gnome.org/show_bug.cgi?id=747882
Ting-Wei Lan [Wed, 29 Apr 2015 06:55:00 +0000 (14:55 +0800)]
tests: Use de_DE.UTF-8 instead of de_DE
de_DE.UTF-8 is supported by more operating systems, including FreeBSD,
NetBSD and OpenBSD.
https://bugzilla.gnome.org/show_bug.cgi?id=748612
Hans Petter Jansson [Tue, 28 Apr 2015 14:50:42 +0000 (16:50 +0200)]
gmarkup: Make append_escaped_text() slightly more robust.
https://bugzilla.gnome.org/show_bug.cgi?id=631597
Chun-wei Fan [Wed, 14 May 2014 08:02:35 +0000 (16:02 +0800)]
Fix the thumbnail-verification Test
The third parameter of the thumnail_verify() function had been updated to
const GLocalFileStat, so update the thumbnail-verification test likewise
so that the test works properly on all supported platforms.
https://bugzilla.gnome.org/show_bug.cgi?id=711547
Ryan Lortie [Thu, 2 Apr 2015 21:17:35 +0000 (17:17 -0400)]
app info: tweak default application algorithm
Always run the full algorithm for a given mime type before considering
fallback types.
This includes considering installed applications capable of handling a
particular mimetype, even if such an app is not explicitly marked as
default, and there is a default app for a less-specific type.
Specifically, this often helps with cases of installing apps that can
handle a particular subtype of text/plain. We want to take those apps
in preference to a generic text editor, even if that editor is listed as
the default for text/plain and there is no default listed for the more
specific type.
Because of the more holistic approach taken by the algorithm, it is now
more complicated, but it also means that we can do more work while
holding the lock. In turn, that lets us avoid duplicating some strings,
which is nice.
https://bugzilla.gnome.org/show_bug.cgi?id=744282
Sveinn í Felli [Tue, 21 Apr 2015 14:31:19 +0000 (14:31 +0000)]
Updated Icelandic translation
Stas Solovey [Mon, 30 Mar 2015 21:42:33 +0000 (21:42 +0000)]
Updated Russian translation
Ryan Lortie [Wed, 25 Mar 2015 13:29:49 +0000 (09:29 -0400)]
GListModel: roll back use of type redefinition
We declare the typedefs for GListModel and GListStore in giotypes.h, as
a matter of convention. This is not actually required, since the
typedef is emitted as part of the G_DECLARE_* macros.
The giotypes.h approach is only used to avoid cyclic dependencies
between headers, which is not a problem in this case.
Type redefinition is a C11 feature, and although it was around in some
compilers before then, gcc 4.2.1 (from 2007) is apparently still in wide
use, being the default compiler for OpenBSD.
Eventually, we will probably hit a case where we actually need to
redefine a type, but since we're not there yet, let's back off a bit.
Petr Kovar [Wed, 25 Mar 2015 12:01:47 +0000 (13:01 +0100)]
Update Czech translation
Ryan Lortie [Mon, 23 Mar 2015 16:28:50 +0000 (12:28 -0400)]
GLib 2.44.0
Muhammet Kara [Sun, 22 Mar 2015 00:16:33 +0000 (00:16 +0000)]
Updated Turkish translation
Philip Withnall [Thu, 15 May 2014 10:44:18 +0000 (11:44 +0100)]
gsocket: Document FD ownership with g_socket_new_from_fd()
https://bugzilla.gnome.org/show_bug.cgi?id=730188
Ask H. Larsen [Sat, 21 Mar 2015 15:24:27 +0000 (16:24 +0100)]
Updated Danish translation
Inaki Larranaga Murgoitio [Sat, 21 Mar 2015 15:11:38 +0000 (16:11 +0100)]
Updated Basque language
Andika Triwidada [Sat, 21 Mar 2015 12:30:13 +0000 (12:30 +0000)]
Updated Indonesian translation
Kjartan Maraas [Thu, 19 Mar 2015 20:21:26 +0000 (21:21 +0100)]
Updated Norwegian bokmål translation.
Enrico Nicoletto [Thu, 19 Mar 2015 19:45:58 +0000 (19:45 +0000)]
Updated Brazilian Portuguese translation
Chao-Hsiung Liao [Wed, 18 Mar 2015 01:56:56 +0000 (01:56 +0000)]
Updated Chinese (Taiwan) translation
Fran Dieguez [Tue, 17 Mar 2015 23:43:50 +0000 (00:43 +0100)]
Updated Galician translations
Yosef Or Boczko [Tue, 17 Mar 2015 10:26:03 +0000 (12:26 +0200)]
Updated Hebrew translation
Ryan Lortie [Mon, 16 Mar 2015 18:25:53 +0000 (14:25 -0400)]
GLib 2.43.92
Stas Solovey [Mon, 16 Mar 2015 10:01:52 +0000 (10:01 +0000)]
Updated Russian translation
Matej Urbančič [Sun, 15 Mar 2015 13:31:13 +0000 (14:31 +0100)]
Updated Slovenian translation
Claude Paroz [Sat, 14 Mar 2015 08:34:57 +0000 (09:34 +0100)]
Updated French translation
A S Alam [Sat, 14 Mar 2015 03:50:42 +0000 (22:50 -0500)]
Translation pa updated for Gnome
Ryan Lortie [Fri, 13 Mar 2015 21:34:57 +0000 (17:34 -0400)]
ContextSpecificGroup: some fixups
For all of the effort spent ensuring that this algorithm would be
correctly threadsafe, I messed up the order of operations within a
single thread when porting to the new approach.
Fix that up.
Also: fix some overzealous asserting in the testcases. Since shutdown
is now lazy, we can never surely say !is_running at any particular point
in time.
Samir Ribic [Fri, 13 Mar 2015 20:57:49 +0000 (20:57 +0000)]
Updated Bosnian translation
Sebastian Rasmussen [Fri, 13 Mar 2015 17:16:00 +0000 (17:16 +0000)]
Updated Swedish translation
Philip Withnall [Fri, 13 Mar 2015 09:10:01 +0000 (09:10 +0000)]
goption: Mention type of G_OPTION_ARG_CALLBACK in documentation
Tim-Philipp Müller [Fri, 12 Dec 2014 01:38:24 +0000 (01:38 +0000)]
threads: use FUTEX_WAIT_PRIVATE and FUTEX_WAKE_PRIVATE if possible
This avoids some expensive code paths in the kernel, see
http://lwn.net/Articles/229668/
https://bugzilla.gnome.org/show_bug.cgi?id=741442
Ryan Lortie [Thu, 12 Mar 2015 21:24:05 +0000 (17:24 -0400)]
docs: clean up a few glib issues
Fix a few typical problems, and also stop wrapping the inline definition
of g_steal_pointer in parens, since it is not necessary and it confuses
gtk-doc.
Ryan Lortie [Thu, 12 Mar 2015 21:01:00 +0000 (17:01 -0400)]
gio docs: remote errant colon from docstring
This does not belong there.
Ryan Lortie [Thu, 12 Mar 2015 20:53:18 +0000 (16:53 -0400)]
Convert remaining uses of 'Rename to:'
This was replaced by (rename-to) in 2013 (see bug 676133).
They're also causing gtk-doc trouble, so let's get rid of them.
Ryan Lortie [Thu, 12 Mar 2015 20:43:02 +0000 (16:43 -0400)]
docs: more cleanups for GIO
Xavier Claessens [Wed, 11 Feb 2015 16:27:28 +0000 (11:27 -0500)]
Doc: Fix missing API from GOptionGroup boxing
Xavier Claessens [Thu, 5 Feb 2015 18:10:14 +0000 (13:10 -0500)]
Doc: Mark a few things as private
Xavier Claessens [Wed, 28 Jan 2015 17:25:10 +0000 (12:25 -0500)]
Win32: Move g_win32_check_windows_version() to the correct place in header
It was added after G_END_DECLS, outside the #ifdef G_PLATFORM_WIN32,
and inside a #ifndef __GTK_DOC_IGNORE__ block. So it was missing from
the doc.
https://bugzilla.gnome.org/show_bug.cgi?id=743661
Rūdolfs Mazurs [Thu, 12 Mar 2015 19:54:49 +0000 (21:54 +0200)]
Updated Latvian translation
Changwoo Ryu [Wed, 11 Mar 2015 17:51:35 +0000 (02:51 +0900)]
Updated Korean translation
Tom Tryfonidis [Wed, 11 Mar 2015 13:12:14 +0000 (13:12 +0000)]
Updated Greek translation
Jordi Mas [Tue, 10 Mar 2015 21:44:19 +0000 (17:44 -0400)]
Update Catalan translation
Benjamin Steinwender [Tue, 10 Mar 2015 20:56:05 +0000 (20:56 +0000)]
Updated German translation
Piotr Drąg [Tue, 10 Mar 2015 18:50:30 +0000 (19:50 +0100)]
Updated POTFILES.in
Philip Withnall [Thu, 21 Aug 2014 18:04:04 +0000 (19:04 +0100)]
gtask: Add a GTask:completed property
This can be used to query whether the task has completed, in the sense
that it has had a result set on it, and has already – or will soon –
invoke its callback function.
Notifications for this property are emitted immediately after the task’s
main callback, in the same main context as that callback. This allows
for multiple bits of code to listen for completion of the GTask, which
opens the door for blocking on cancellation of the GTask and improved
handling of ‘pending’ behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=743636
Alexander Shopov [Tue, 10 Mar 2015 08:35:24 +0000 (10:35 +0200)]
Updated Bulgarian translation
Dušan Kazik [Mon, 9 Mar 2015 11:48:33 +0000 (11:48 +0000)]
Updated Slovak translation
Trần Ngọc Quân [Mon, 9 Mar 2015 06:26:18 +0000 (13:26 +0700)]
Updated Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
Daniel Mustieles [Sun, 8 Mar 2015 20:25:11 +0000 (21:25 +0100)]
Updated Spanish translation
Aurimas Černius [Sun, 8 Mar 2015 18:26:36 +0000 (20:26 +0200)]
Updated Lithuanian translation
Baurzhan Muftakhidinov [Sun, 8 Mar 2015 18:06:01 +0000 (18:06 +0000)]
Updated Kazakh translation
Balázs Úr [Sun, 8 Mar 2015 17:38:41 +0000 (17:38 +0000)]
Updated Hungarian translation
Milo Casagrande [Sun, 8 Mar 2015 15:32:40 +0000 (15:32 +0000)]
Updated Italian translation
Piotr Drąg [Sun, 8 Mar 2015 14:42:16 +0000 (15:42 +0100)]
Updated Polish translation
Piotr Drąg [Sun, 8 Mar 2015 14:39:02 +0000 (15:39 +0100)]
Updated POTFILES.in
Changwoo Ryu [Sat, 7 Mar 2015 18:31:59 +0000 (03:31 +0900)]
Updated Korean translation
Dan Winship [Tue, 9 Dec 2014 12:35:06 +0000 (13:35 +0100)]
GSocketClient: fix handling of application proxies
g_socket_client_add_application_proxy() claimed "When the indicated
proxy protocol is returned by the #GProxyResolver, #GSocketClient will
consider this protocol as supported but will not try to find a #GProxy
instance to handle handshaking." But in fact, it did the checks in the
wrong order, so GProxy proxies ended up overriding
application-specified ones. Fix that.
Also, simplify the code a bit by making use of g_hash_table_add() and
g_hash_table_contains().
https://bugzilla.gnome.org/show_bug.cgi?id=733876
Paolo Borelli [Sat, 28 Feb 2015 10:05:02 +0000 (11:05 +0100)]
HTTP proxy support
Based on code from "WockyHttpProxy" written by Nicolas Dufresne
and Marc-André Lureau. Initial glib patch by Brian J. Murrell.
https://bugzilla.gnome.org/show_bug.cgi?id=733876
Chun-wei Fan [Thu, 5 Mar 2015 08:13:03 +0000 (16:13 +0800)]
Windows: Use Standard Networking Functions If Possible
Currently, the Windows code use Winsock2-specific APIs to try to emulate
calls such as inet_pton(), inet_ntop() and if_nametoindex(), which may not
do the job all the time. On Vista and later, Winsock2 does provide a
proper implementation for these functions, so we can use them if they exist
on the system, by querying for them during g_networking_init(). Otherwise,
we continue to use the original code path for these, in the case of XP and
Server 2003.
This enables many of the network-address tests to pass on Windows as a
result, when the native Winsock2 implementations can be used.
https://bugzilla.gnome.org/show_bug.cgi?id=730352
ria.freelander@gmail.com [Thu, 5 Mar 2015 13:07:00 +0000 (13:07 +0000)]
gfdonotificationbackend: support themed icons
The spec allows setting the "image-path" hint to an icon name as well.
https://bugzilla.gnome.org/show_bug.cgi?id=745634
Chun-wei Fan [Mon, 19 Jan 2015 03:03:57 +0000 (11:03 +0800)]
gresolver.c: Windows: Fix IPv6 Address Handling
Check the IPv6 addresses on Windows, as we need to reject those that have
brackets/ports around them as valid addresses in this form would have been
accepted during the call to g_inet_address_new_from_string ().
https://bugzilla.gnome.org/show_bug.cgi?id=730352
Marc-Antoine Perennou [Wed, 4 Mar 2015 10:46:46 +0000 (11:46 +0100)]
gio: add some missing autocleanup
https://bugzilla.gnome.org/show_bug.cgi?id=745589
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Chun-wei Fan [Wed, 4 Mar 2015 12:11:43 +0000 (20:11 +0800)]
MSVC Builds: Few More Enahncements
Update the .pdb file generation for the MSVC 2010+ DLLs (and the x64 gspawn
helper programs), so that they match the names of the DLLs/EXEs that are
built. Also update the .lib generation so that all will use -$(ApiVersion)
from the property sheets instead of the -2.0 which was previously hard
coded (as we will eventually move into GLib 3.x in the future, for example)
Philip Withnall [Wed, 4 Mar 2015 08:52:22 +0000 (08:52 +0000)]
gobject: Mark a helper variable as const
It’s only used for argv values, which are not modified here.
https://bugzilla.gnome.org/show_bug.cgi?id=614684
Philip Withnall [Fri, 19 Dec 2014 18:21:30 +0000 (18:21 +0000)]
gerror: Minor clarifications to the GError documentation
• Clarify that GError** parameters are for the return of _newly
allocated_ GError*s.
• Clarify that errors may need to be checked for explicitly if the
return value of a function doesn’t reliably indicate them.
https://bugzilla.gnome.org/show_bug.cgi?id=741779
Мирослав Николић [Tue, 3 Mar 2015 19:05:47 +0000 (20:05 +0100)]
Updated Serbian translation
Philip Withnall [Fri, 19 Dec 2014 17:08:59 +0000 (17:08 +0000)]
gvariant: Use ‘UTF-8’ in docs rather than ‘utf8’
Nitpicky correction.
https://bugzilla.gnome.org/show_bug.cgi?id=741779