Commit Graph

16813 Commits

Author SHA1 Message Date
Matthias Clasen
e44ea516af 2.50.1 2016-10-10 13:06:25 -04:00
Balázs Meskó
758f448dc7 Update Hungarian translation 2016-10-10 13:42:41 +00:00
Marc-André Lureau
615b847d98 glog: fix crash on windows with --subsystem,windows app
A windows application compiled with -Wl,--subsystem,windows has no
console attached. When started from the start menu for ex, it will crash
when a function attempt to use g_log:

 #10 0x00a21b26 in g_logv (log_domain=0xa842e1 <__func__.7668+329> "GLib", log_level=G_LOG_LEVEL_CRITICAL, format=0xa845c6 <__func__.7668+1070> "%s: assertion '%s' failed", args=0x28f2bc "PG"")
 #11 0x00a21bb1 in g_log (log_domain=0xa842e1 <__func__.7668+329> "GLib", log_level=G_LOG_LEVEL_CRITICAL, format=0xa845c6 <__func__.7668+1070> "%s: assertion '%s' failed") at gmessages.c:1337
 #12 0x00a22bac in g_return_if_fail_warning (log_domain=0xa842e1 <__func__.7668+329> "GLib", pretty_function=0xa84750 <__func__.65002> "g_log_writer_supports_color",
     expression=0xa844de <__func__.7668+838> "output_fd >= 0") at gmessages.c:2453
 #13 0x00a2239e in g_log_writer_supports_color (output_fd=-2) at gmessages.c:1826
 #14 0x00a226ac in g_log_writer_standard_streams (log_level=G_LOG_LEVEL_WARNING, fields=0x28f3c8, n_fields=4, user_data=0x0) at gmessages.c:2254
 #15 0x00a2290e in g_log_writer_default (log_level=G_LOG_LEVEL_WARNING, fields=0x28f3c8, n_fields=4, user_data=0x0) at gmessages.c:2357

According to https://msdn.microsoft.com/en-us/library/zs6wbdhx.aspx:

If stdout or stderr is not associated with an output stream (for
example, in a Windows application without a console window), the file
descriptor returned is -2. In previous versions, the file descriptor
returned was -1. This change allows applications to distinguish this
condition from an error.

Check if the stream exists and has an associated descriptor and return
G_LOG_WRITER_UNHANDLED if it's not the case.

Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=772511

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2016-10-10 09:39:07 -04:00
Ask Hjorth Larsen
a54abbb0c0 Updated Danish translation 2016-10-09 22:08:32 +02:00
Rūdolfs Mazurs
3c1b0c690f Update Latvian translation 2016-10-09 19:17:52 +03:00
Milo Casagrande
9f249bce78 Update Italian translation 2016-10-07 07:17:01 +00:00
Marek Černocký
d4dac1c43d Updated Czech translation 2016-10-07 00:09:34 +02:00
Anders Jonsson
11af09dc6e Update Swedish translation 2016-10-06 21:08:26 +00:00
Piotr Drąg
aa90becd82 Update Polish translation 2016-10-06 22:30:57 +02:00
Rafael Fontenelle
12d0bc3d2c Update Brazilian Portuguese translation 2016-10-06 20:26:01 +00:00
Sam Thursfield
6338cde7ca glib-compile-schemas: Add a --version option
https://bugzilla.gnome.org/show_bug.cgi?id=772269
2016-10-06 21:08:25 +01:00
Sam Thursfield
bce8b6db8d glib-compile-resources: Add a --version option
There have been some improvements to the tool recently, but it's hard to
know if those are available on a given system unless the tool provides a
--version commandline option.

https://bugzilla.gnome.org/show_bug.cgi?id=772269
2016-10-06 21:08:25 +01:00
Florian Müllner
e048d31210 completion: Complete gsettings describe
Commit 8fd72838 added a 'describe' command to the gsettings tool,
but didn't implement completions for it.

https://bugzilla.gnome.org/show_bug.cgi?id=772297
2016-10-05 14:26:42 -04:00
Rico Tzschichholz
0d1eecddd4 unicode: Fix ordering in iso15924_tags to match GUnicodeScript enum
https://bugzilla.gnome.org/show_bug.cgi?id=771591
2016-10-05 15:23:49 +02:00
Philip Withnall
10bac98185 gresolver: Mark GResolver as an abstract class
It only works through its virtual methods, so while it could be
instantiated before (and this is technically an API break), any instance
of it would previously have crashed as soon as any of its methods were
called anyway.

If anybody has any problems with this ABI break, please make them known
during the 2.51 unstable development cycle and it can be reverted.

https://bugzilla.gnome.org/show_bug.cgi?id=772255
2016-10-04 16:02:34 +01:00
Ondrej Holy
bd9e266e11 gunixmounts: Fix /proc/self/mountinfo monitoring
/proc/self/mountinfo is used to monitor changes of mounts with libmount.
However, GFileMonitor is used currently to monitor this file, which
doesn't work and consequently "changed" signal is never emitted. Special
monitoring needs to be used instead, same as it is used for /proc/mounts.

https://bugzilla.gnome.org/show_bug.cgi?id=662946
2016-09-29 10:21:34 +02:00
Edward E
7485abe481 W32: pass argc returned by CommandLineToArgvW() to to protect_wargv()
It turns out that CommandLineToArgvW() (at least on XP) doesn't end the argv
pointer array with a NULL, but goes straight into argv[0] string data, as per
MSDN. So gspawn-win32-helper.c:protect_wargv() counts argc too high and
overflows.

https://bugzilla.gnome.org/show_bug.cgi?id=772054
2016-09-27 16:59:56 +00:00
Matthias Clasen
34751ad17a Add a test for dictionaries in settings
This should clarify the questions in
https://bugzilla.gnome.org/show_bug.cgi?id=771968
2016-09-26 06:27:12 -04:00
Jordi Mas
06c3624412 Update Catalan translation 2016-09-25 20:24:34 +02:00
gogo
ba85715e1e Updated Croatian translation 2016-09-24 10:30:32 +00:00
Philip Withnall
6014039cd1 glib: Add SystemTap probe to g_source_add_child_source()
So that the relationships between parent and child GSources can be
probed using SystemTap.
2016-09-23 22:46:30 -07:00
Rico Tzschichholz
1ff79690fb unicode: Update test data files for unicode 9.0.0
https://bugzilla.gnome.org/show_bug.cgi?id=771591
2016-09-21 18:31:10 +02:00
Rico Tzschichholz
ba18667bb4 unicode: Update to unicode 9.0.0
https://bugzilla.gnome.org/show_bug.cgi?id=771591
2016-09-21 18:31:04 +02:00
Rico Tzschichholz
c7f4699735 unicode: Update break_mappings
This will be required for the update to unicode 9.0.0.

https://bugzilla.gnome.org/show_bug.cgi?id=771591
2016-09-21 18:30:52 +02:00
Chun-wei Fan
fc0567780b MSVC Builds: Fix gio-tool projects
We need to look in $(srcroot)\gmodule for the up-to-date gmodule.h.

Pointed out by Ignacio Casal Quinteiro.
2016-09-20 15:08:42 +08:00
Jordi Mas
29ef74367e Update Catalan translation 2016-09-19 22:45:11 +02:00
Matthias Clasen
eaca4f4116 2.50.0 2016-09-19 06:56:20 -07:00
Inaki Larranaga Murgoitio
3602f93485 Update Basque language 2016-09-18 19:09:33 +02:00
Matthias Clasen
979e2408e8 Updates 2016-09-18 08:15:00 -04:00
Owen W. Taylor
496cd8aac6 Turn on libmount by default on linux
The libmount code produces somewhat different results than the older
Linux code that would parse /proc/mounts; for example, bind mounts
appear in the libmount output. To try and get as many GLib users
as possible to have the same behavior, on Linux, make GLib error out
on missing libmount unless --disable-libmount is passed.

https://bugzilla.gnome.org/show_bug.cgi?id=771438
2016-09-18 07:54:45 -04:00
Jonh Wendell
063e279a56 Fixed annotation for g_log_variant() 2016-09-17 16:25:31 -03:00
Claude Paroz
3e31f80569 Updated French translation 2016-09-16 17:13:10 +02:00
Bruce Cowan
f924d0b1f7 Updated British English translation 2016-09-14 12:18:08 +00:00
Matthias Clasen
e887b4a7b0 2.49.7 2016-09-12 23:03:17 -04:00
Matthias Clasen
2dc11a55f8 Add a test for the previous fix 2016-09-12 22:28:35 -04:00
Kjell Ahlstedt
b12e0b8869 goption: Don't return pointers to deallocated memory
g_option_context_parse() can return pointers to deallocated strings, if the
command line contains an unknown option.

https://bugzilla.gnome.org/show_bug.cgi?id=646926
2016-09-12 22:27:48 -04:00
Rico Tzschichholz
7bf31065cc gsubprocess: Fix annotation for set_environ() 2016-09-12 20:41:40 +02:00
Rūdolfs Mazurs
05a1080564 Update Latvian translation 2016-09-11 12:43:53 +03:00
Ingmars Dirins
4358b44385 Update Latvian translation 2016-09-11 12:41:29 +03:00
Dušan Kazik
b78a2977a7 Updated Slovak translation 2016-09-10 14:32:45 +00:00
Jonh Wendell
4c3ae1c4d7 .gitignore: ignore 'tags' files (ctags stuff) 2016-09-09 10:37:18 -03:00
Jonh Wendell
e7bdd5d189 Add g_log_variant(): structured log that accepts a GVariant
This makes the structured logging available to other
languages via introspection.

https://bugzilla.gnome.org/show_bug.cgi?id=770971
2016-09-09 09:07:50 -03:00
Jonh Wendell
9323378834 tests: Remove an unsed variable 2016-09-09 09:07:50 -03:00
Jonh Wendell
b18051067a Removed an unused include 2016-09-09 08:50:55 -03:00
Piotr Drąg
01e3b92dee Updated Polish translation 2016-09-08 23:04:17 +02:00
Anders Jonsson
caf3e1f1a0 Updated Swedish translation 2016-09-07 17:49:17 +00:00
Fran Dieguez
386bb12052 Updated Galician translations 2016-09-07 18:34:24 +02:00
Tiago Santos
4a4df67d54 Updated Portuguese translation 2016-09-07 05:56:58 +00:00
Yosef Or Boczko
98a9be3444 Updated Hebrew translation 2016-09-06 11:30:20 +03:00
Ask Hjorth Larsen
c7207359bb Updated Danish translation 2016-09-05 02:51:47 +02:00