| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The headers refer to GAsyncResult which is a part of GIO.
|
| |
|
|
|
|
|
|
| |
Busybox doesn't support readlink -e, readlink -f is almost equivalent.
Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
|
|
|
|
|
|
|
| |
Run the code through 2to3 tool and fixed parts that need manual fixing.
Also ported dbus-python use to be Python 3 compatible.
Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
|
|
|
|
|
|
| |
Spaces are not valid characters in property names, and never were.
Until recently GLib silently fixed up the name by replacing the
space with '-', but now tightened up the validation.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
See commit d70ba9ba46ea037b8003efc27de7f8c2d067befa in telepathy-glib.
See also: https://bugs.freedesktop.org/show_bug.cgi?id=46523
|
| |
|
|
|
|
| |
maintainer-prepare-release: do "git tag" in srcdir
|
|
|
|
| |
Based on a commit by Slava Monich <slava.monich@jolla.com>
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=91272
|
|
|
|
|
| |
Reviewed-by: George Kiagiadakis <gkiagia@tolabaki.gr>
https://github.com/TelepathyIM/telepathy-mission-control/pull/1
|
| |
|
| |
|
|
|
|
|
|
|
| |
Otherwise, if we "goto error" too soon, we'll try to g_object_unref
uninitialized memory. gcc doesn't spot that because we're using
tp_clear_object, which uses an intermediate variable, and it doesn't
propagate "uninitializedness" through assignments.
|
|
|
|
| |
We were semi-consistently using it wrong.
|
| |
|
|
|
|
|
|
|
|
| |
It seems that the order of the dbus signals is unpredictable,
so requiring it in the test sometimes makes it fail. It also
seems that the other checks above in the same unit test have
the same logic of not expecting a certain order in signal emission,
so this is probably the right thing to do.
|
|
|
|
|
|
|
|
|
| |
Apparently the nm library also tries to access the /.../Settings
object of NM, which was not available in our fake NM implementation.
This commit implements the basic properties of the Settings object,
which allows the tests to continue past this point.
https://bugs.freedesktop.org/show_bug.cgi?id=96917
|
|
|
|
|
|
| |
It is required to correctly show translated messages on some locales.
https://bugs.freedesktop.org/show_bug.cgi?id=93661
|
|
|
|
|
|
|
| |
The code doesn't compile anymore, the features used have been removed.
The replacement is logind, for which support exists in MC since 5.15.1.
https://bugs.freedesktop.org/show_bug.cgi?id=70458
|
|
|
|
|
|
|
| |
required for the fake-network-monitor in the unit tests
https://bugs.freedesktop.org/show_bug.cgi?id=96763
Reviewed-by: Diane Trout <diane@ghic.org>
|
|
|
|
|
|
|
|
|
|
| |
"connectivity" properties of GNetworkMonitor
"connectivity" is required since glib 2.44
"network-metered" is required since glib 2.46
https://bugs.freedesktop.org/show_bug.cgi?id=96763
Reviewed-by: Diane Trout <diane@ghic.org>
|
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=94310
Reviewed-by: George Kiagiadakis
|
|
|
|
|
|
| |
nm support
This GError variable is not used anywhere else in this function.
|
|
|
|
|
|
|
|
|
|
| |
This patch switches to use th enew libnm API, also snice nm_client_new
now takes a GError, I thought I'd report the error message if mission
control can't connect to the network manager.
Additionally we can remove a definition of the NM_CHECK_VERSION
macro for old versions of NM, as well as a guard for the
NM_STATE_DISCONNECTING constant.
|
|
|
|
|
|
|
|
| |
mcd_service_new() can return NULL if we didn't manage to connect to D-Bus.
Best to handle this gracefully rather than crashing horribly.
This is the top crasher on Ubuntu btw.
https://errors.ubuntu.com/problem/7e2a5f9a379f34a347895782ae948177926a1932
|
| |
|
| |
|
|
|
|
|
|
| |
The second argument has to be the type of the value.
https://bugs.freedesktop.org/show_bug.cgi?id=81751
|
| |
|
| |
|
|
|
|
|
| |
Fix a regression introduced when backporting fix for
https://bugs.freedesktop.org/show_bug.cgi?id=79827
|
|
|
|
|
|
|
|
|
| |
The McdAccount object may still be alive for a short while because of pending
async operations. We want to get rid of the D-Bus object as soon as possible
and so, for example, a new Account object replacing the deleted one can be
created.
Fix https://bugs.freedesktop.org/show_bug.cgi?id=79827
|
|
|
|
|
| |
It's more useful when reading logs than G_STRLOC and that's what we already
use in src/mcd-debug.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As with telepathy-glib commit 36c2a545c9, a rule like this:
_gen/x.c _gen/x.h: prerequisites
$(AM_V_GEN)x-generator
doesn't consider x.c and x.h together. Instead, it expands to two rules,
one to generate x.c and one to generate x.h, which happen to run the
same commands.
This means that in the worst case, you can end up running x-generator
twice in parallel, and they'll race with each other and overwrite or
delete each other's output.
Updated version of a patch from Ross Burton, taking into account that
we now generate a separate header for the gtk-doc. I use the gtk-doc
header as the one that "matters", because it's the last to be generated.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69446
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
|
| |
|
|
|
|
|
|
|
| |
We were using the wrong finish-function.
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=74187
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also fix a memory leak in login1_inhibit_cb.
[The intention was to hold one "ref" to the inhibit fd for each
connection that was waiting to disconnect, plus one "ref" for the
idle state of "waiting to be notified by logind". We correctly took
one "ref" per connection, but did not release the extra one. -smcv]
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73599
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
|
|
|
|
|
| |
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72652
|
|
|
|
|
|
| |
[fixed argument type -smcv]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72138
|
|
|
|
|
|
| |
We have to wait for the default GObject properties to be set before calling
g_settings_bind(). If we don't, they override the value fetched from
GSettings.
|
| |
|
| |
|
| |
|