| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This will hopefully help to indicate why.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
|
|
|
|
|
|
|
|
| |
fd 0 is a valid fd - although if we get stdin as our inotify fd, something
is weird somewhere. For the dbus-daemon, in practice this should never
happen, because we use _dbus_ensure_standard_fds() to make sure stdin
is already open. For unit tests, it could in theory be the case that
stdin is closed.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|\
| |
| |
| |
| |
| |
| | |
Fix `test applications do not display invalid test selection`
Closes #362
See merge request dbus/dbus!233
|
| |
| |
| |
| | |
Fixes #362
|
| |
| |
| |
| |
| | |
With this command line option a list of available tests is printed to
stdout.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Fix test-bus related memory leaks on Windows
Closes #360
See merge request dbus/dbus!232
|
|/
|
|
|
|
|
|
| |
In the mentioned function a local DBusError instance is now used to
fulfill the requirement of dbus_error_has_name() that the parameter
'error' must not be null.
See #360
|
|
|
|
|
|
|
|
| |
If the memory is not sufficient, the created DBusString instance must be
released. This belongs to the mentioned function and
_dbus_string_init_from_string().
Fixes #360
|
|\
| |
| |
| |
| |
| |
| | |
tools/ci-build.sh: Double maximum test time when running tests on Windows
Closes #320 and #359
See merge request dbus/dbus!231
|
|/
|
|
|
|
|
| |
The currently timeout of 60 seconds is too short for test-dbus-daemon on
Windows, depending on the load of the CI system.
Fixes #359
|
|\
| |
| |
| |
| |
| |
| | |
test-spawn-oom: Fix regression with recent Windows refactoring
Closes #357 and #279
See merge request dbus/dbus!228
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
OOM behavior
That way, the spawn-oom unit test could expect OOM on Windows to behave
the same as OOM on Unix, raising DBUS_ERROR_NO_MEMORY.
|
| | |
|
| | |
|
|/
|
|
| |
This avoids overwriting the variable even if there is no result.
|
|\
| |
| |
| |
| | |
_dbus_win_set_error_from_last_error: Always set the error
See merge request dbus/dbus!229
|
|/
|
|
|
|
|
|
|
| |
If we run out of memory while setting an error, we need to recover by
setting the error to "out of memory" instead of the original error.
Otherwise, the error indicator would be unset, breaking the rules of
our error model.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
|
|
|
|
| |
[-Werror=redundant-decls]
Cherry picked from dbus/dbus!227
|
|\
| |
| |
| |
| |
| |
| | |
Fix MinGW build error
Closes #355
See merge request dbus/dbus!226
|
| |
| |
| |
| |
| |
| |
| |
| | |
'FARPROC' [-Werror=cast-function-type]'
The build error occurred in 'dbus/dbus-sysdeps-win.c:129:43:
Fixes #355
|
|/
|
|
|
| |
This makes it much easier to determine the command line used for the
purpose of reproducing the build.
|
|\
| |
| |
| |
| | |
_dbus_spawn_program(): Add additional parameter to return error
See merge request dbus/dbus!223
|
| |
| |
| |
| |
| |
| |
| | |
DBusString
Since the code to compose strings is already used multiple times the
refactoring results in a new function _dbus_string_append_strings().
|
| |
| |
| |
| |
| |
| |
| |
| | |
By specifying an error instance via the additional parameter, errors that
occur in it are transported to the caller in a coordinated manner.
This eliminates the need to query GetLastError() outside the function,
which can return an incorrect value if the implementation changes.
|
| | |
|
|/
|
|
| |
This makes printf like format string related issues visible.
|
|
|
|
|
|
|
| |
The length if the displayed jobs is limited on the gitlab CI pipeline page
and is occupied partly be the prefix.
Cherry-picked from dbus/dbus/!192
|
|\
| |
| |
| |
| | |
autotools: use pkg-config instead of AC_PATH_XTRA
See merge request dbus/dbus!212
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
dbus-run-session: also catches a server-exit under Windows
Closes #354
See merge request dbus/dbus!225
|
|/
|
|
|
|
|
| |
If the dbus-daemon fails before the --ready-event-handle is signalled,
then dbus-run-session now detects that, and exit unsuccessfully.
Fixes #354
|
|
|
|
| |
Fixup for commit 3f7c36f4.
|
|\
| |
| |
| |
| |
| |
| | |
Clarify NULL vs. INVALID_HANDLE_VALUE in _dbus_win_event_free()
Closes #352
See merge request dbus/dbus!224
|
|/
|
|
| |
Fixes dbus/dbus#352
|
|\
| |
| |
| |
| |
| |
| | |
tools/dbus-run-session: fix race between manual and automatically started dbus-daemon on Windows
Closes #297
See merge request dbus/dbus!195
|
| |
| |
| |
| |
| |
| |
| | |
remaining locations
The previously used function _dbus_win_stderr_win_error() has been removed
because it is no longer used.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
dbus-daemon on Windows
dbus-run-session starts a dbus-daemon before the client application.
We must avoid letting the application try to connect before the
dbus-daemon's DBusServer is listening for connections.
In the Unix implementation, we already achieved this via the
--print-address option. If the client tried to connect too soon,
the server would not yet be listening and the client would fail.
In the Windows implementation, we communicate the bus address to
the client application as an autolaunch: address, so if the client
tried to connect too soon, it would autolaunch a new dbus-daemon
instead of using the one that it was intended to use.
We can avoid this by using a new option to pass in a Windows event
object, which will be set when the server has started and is ready
to process connections.
Fixes #297
|
|/
|
|
| |
These functions are in the dbus library to be used everywhere
|
|\
| |
| |
| |
| | |
bus: Don't return success from RemoveMatch if there was no such match-rule
See merge request dbus/dbus!222
|
| |
| |
| |
| |
| | |
Reproduces: https://gitlab.freedesktop.org/dbus/dbus/-/issues/351
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|/
|
|
|
|
|
| |
This means we don't send a spurious successful reply if a caller removes
a match rule that they never added.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|\
| |
| |
| |
| | |
dbus-sysdeps-win.c: corrections of indentations and minor refactoring
See merge request dbus/dbus!221
|
| |
| |
| |
| |
| |
| | |
DBusString instance
This is necessary to avoid possible stack overflows.
|
| |
| |
| |
| | |
The normal style is <function-name><space>(<no-spaces>...<no-spaces>).
|
|/
|
|
| |
_dbus_get_autolaunch_address ()
|
|\
| |
| |
| |
| |
| |
| | |
cmake: In generated cmake support files get value for DBus1_INCLUDE_DIRS from related cmake target
Closes #346
See merge request dbus/dbus!214
|
|/
|
|
|
|
|
|
| |
variable from related cmake target
This allows cmake to construct the resulting (relocatable) runtime paths.
Fixes dbus/dbus#346
|
|\
| |
| |
| |
| | |
CMake: Set IMPORTED_IMPLIB property
See merge request dbus/dbus!172
|