Commit Graph

18055 Commits

Author SHA1 Message Date
Piotr Drąg
1d4e8f5342 Add month names with day to Irish translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
5d83103dc3 Add month names with day to Friulian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
dc45e88c08 Add month names with day to Persian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
bda8b1abe4 Add month names with day to Basque translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
7f1b023578 Add month names with day to Estonian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
fac607dd7e Add month names with day to Esperanto translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
ec9a7dcc54 Add month names with day to English (Canadian) translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
53c0f9a24c Add month names with day to Greek translation
Greek uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
ee85287d09 Add month names with day to Catalan (Valencian) translation
Catalan uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
d6fb609632 Add month names with day to Catalan translation
Catalan uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
3875749c15 Add month names with day to Bosnian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
89c9441b6a Add month names with day to Bengali (India) translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
e23db21c77 Add month names with day to Bulgarian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
c7b5c89162 Add month names with day to Belarusian translation
Belarusian uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
f18d5f9cec Add month names with day to Assamese translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
1ce2e85935 Add month names with day to Arabic translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
782a37f4bc Add month names with day to Aragonese translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
f556f36835 Add month names with day to Afrikaans translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Rūdolfs Mazurs
777f1fc5d7 Update Latvian translation 2018-03-04 13:49:49 +00:00
Jiri Grönroos
9a8cd4f271 Update Finnish translation 2018-03-04 12:29:57 +00:00
Anders Jonsson
feac4a337a Update Swedish translation 2018-03-04 10:20:09 +00:00
GNOME Translation Robot
e23ab2b03b Update Dutch translation 2018-03-03 21:40:12 +00:00
Ask Hjorth Larsen
174806b7e8 Updated Danish translation 2018-03-03 17:36:02 +01:00
Aurimas Černius
7fb96a1c6c Updated Lithuanian translation 2018-03-03 13:22:13 +02:00
Bruce Cowan
ee000de730 Update British English translation 2018-03-02 12:50:14 +00:00
GNOME Translation Robot
9a635bd283 Update Scottish Gaelic translation
(cherry picked from commit fba630a560)
2018-03-01 10:37:54 +00:00
Marek Černocký
4e8a4d0d57 Updated Czech translation 2018-02-28 22:45:41 +01:00
Philip Withnall
8266238f6d gnetworkmonitornm: Use g_strv_contains() rather than reinventing it
This introduces no functional changes.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793880
2018-02-28 17:39:04 +00:00
Philip Withnall
35d4c7f898 gnetworkmonitornm: Fix some minor GVariant memory leaks
Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793880
2018-02-28 17:39:04 +00:00
Philip Withnall
61a899815b gnetworkmonitornetlink: Fix a memory leak in unusual circumstances
If the GNetworkMonitorNetlink is finalised part-way through a dump
(after request_dump() is called, but before finish_dump() is called),
dump_networks was leaked. Fix that.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793880
2018-02-28 17:39:04 +00:00
Philip Withnall
183c846b30 gnetworkmonitornetlink: Fix memory leaks on error paths
Use a common error handler to avoid leaks on the error paths.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793880
2018-02-28 17:39:04 +00:00
Philip Withnall
88bf4939f6 gnetworkmonitornetlink: Refactor some code to reduce duplication
This should introduce no functional changes. Factor out some common
code, flip some arguments around to use the more conventional (data,
length) order, and move some memory management calls out of
if-blocks.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793880
2018-02-28 17:39:04 +00:00
Philip Withnall
23fad11430 gnetworkmonitornetlink: Use a coarser-grained timer for dumps
By using g_timeout_source_new_seconds(), we can let timer wakeups be
coalesced by the scheduler, and reduce power consumption a bit. This
shouldn’t really affect the accuracy of the network monitoring.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793880
2018-02-28 17:39:04 +00:00
Philip Withnall
85f3bc133f gnetworkmonitornetlink: Fix potential GMainContext issue
Previously, the GSource would be attached to whatever GMainContext was
the thread default at the time; but that might no longer be the same as
the default at the time of constructing the GNetworkMonitor.

Save the default from construction time, so that source callbacks are
always invoked in the same GMainContext.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793880
2018-02-28 17:39:04 +00:00
Philip Withnall
11909c67d1 gdatetime: Clarify documentation about clamping on addition
If adding months or years to a date, the day of the month of the result
is supposed to be the same as in the input — but that doesn’t work if
that day doesn’t exist in the result month.

Clarify the documentation about what happens here (the day of the month
is clamped to the length of that month).

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Reviewed-by: nobody
2018-02-28 15:31:34 +00:00
Christophe Fergeau
29df0b98da gio: Fix 'overide' typo in g_network_address_parse doc
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
2018-02-28 15:07:27 +01:00
Rafal Luzynski
2c15b903e2 date: Amend some comments about the month names
Some source code comments amended to avoid possible future confusion.
It has been explained that a month name is used in a genitive case
only if it is required by the language rules. Also it has been
explained that %OB is also supported by other platforms (e.g., BSD)
but for this test we are focused on glibc 2.27 vs. Windows.

https://bugzilla.gnome.org/show_bug.cgi?id=749206
2018-02-28 11:33:37 +00:00
Erik van Pienbroek
f5d1ac0d40 GNetworkMonitorBase: don't fail when IPv6 support is unavailable
https://bugzilla.gnome.org/show_bug.cgi?id=733338
2018-02-27 12:05:43 +00:00
Dr. Michael Lauer
170466db26 gio: fix compiling on macOS by moving all Objective-C file into libgio-objc-2.0
Previously, only gnextstepsettingsbackend.c was taken into account.

https://bugzilla.gnome.org/show_bug.cgi?id=793565
2018-02-27 11:04:24 +00:00
Changwoo Ryu
6cea0c68fb Update Korean translation 2018-02-25 16:08:14 +00:00
Baurzhan Muftakhidinov
5f5eda2b6e Update Kazakh translation 2018-02-24 15:20:06 +00:00
Balázs Meskó
cbca4211f1 Update Hungarian translation 2018-02-23 21:53:01 +00:00
Philip Withnall
90d3337e1d docs: Mention pointer semantics for g_array_set_clear_func()
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Reviewed-by: nobody
2018-02-23 19:23:27 +00:00
Милош Поповић
2e117e24fc Update Serbian Latin translation 2018-02-22 11:56:45 +00:00
Марко Костић
6b1c9b5f9a Update Serbian translation 2018-02-22 11:55:37 +00:00
Claude Paroz
658fe8dc1a Updated French translation 2018-02-22 09:10:30 +01:00
Philip Withnall
0cf523e791 gdbus-tool: Factor out common GOptionContext construction
In doing so, ensure that g_option_context_set_ignore_unknown_options()
is always called if completion is being done.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793597
2018-02-21 14:20:59 +00:00
Iain Lane
e2d9884958 gdbus-tool: Don't repeatedly complete --signal
In this situation:

  $ gdbus emit --session --object-path /org/foo/bar --sig<tab><tab><tab>

We will currently insert --signal three times.

We should only do that once.

https://bugzilla.gnome.org/show_bug.cgi?id=793597
2018-02-21 14:00:51 +00:00
Iain Lane
2a2717062b gdbus-tool: Make --dest optional for emit again
Commit faf9440908 made the bash completion more
robust, but in doing so it made the optional --dest argument to `gdbus emit'
mandatory by mistake.

Remove the error case when --dest is not specified. To keep the completion
working, we shuffle the cases around. --dest should be offered up for
completion after --session/--system/--address have been supplied, so we can
complete its argument. Additionally, if --dest isn't specified then we can't
complete --object-path or --signal, so guard these completions accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=793597
2018-02-21 14:00:51 +00:00
Iain Lane
1717a8c965 gdbus-tool: Ignore unknown options for the 'emit' subcommand when completing
When completing, we parse the options that the user has typed so far. Up
until now we've been doing this without ignoring unknown options. This
leads to broken completions when the user has typed an incomplete
parameter.

For example, when doing the following:

  $ gdbus emit --session --obj<tab>

We expect --object-path to be completed, but it is currently not. What
happens is that we fail to parse the options, therefore don't act on
--session and so don't connect to the session bus, then we early-exit
because we need to know which bus to operate on for later completions.

Instead we can ignore the half-completed --obj, parse --session, get
connected to the bus and then move on to the later completion code.

https://bugzilla.gnome.org/show_bug.cgi?id=793597
2018-02-21 14:00:51 +00:00