Use the visibility attribute to hide all symbols from private
convenience static libraries used in the backends.
This removes lots of accidentally exposed, private functions.
We can create the proxy without forcing the launch of the peer
process or waiting for signals/properties. Since this won't block
we meet the needs of [!46] but without the extra main loop
processing. This is important because it allows
tests/test-file-manager to still work as all the necessary RPC
bytes will be written to the stream before exiting
---
Cherry-picked this commit from libdazzle.
[!46]: https://gitlab.gnome.org/GNOME/libdazzle/-/merge_requests/46
Signed-off-by: Germán Poo-Caamaño <gpoo@gnome.org>
Avoid blocking the UI if `dzl_file_manage_show` is called from
the main thread if there were any issue with dbus (no active
or slow).
`dzl_file_manage_show` is a sync call in three systems (Win32,
OSX, and Linux), and ideally, we could have it async for all
platforms, but this is a start, albeit an ugly one (ugly
because of the mix of sync and async calls between platform
ifdefs.
To avoid the burden of maintaining multiple build systems, autotools
support has been removed.
GitLab CI configuration has also been updated to use meson.
clang is stricter than gcc when compiling with -Wformat-nonliteral
and requires annotate the function parameters when passing an
argument to a va_list that contains these arguments.
Fixes#1410
Meson is a build system focused on speed and ease of use, which
helps speed up software development. This patch adds Meson support
alongside Autotools.
Annotate both _syntex_log and _synctex_error that wrap
vfprintf directly and indirectly, respectively. Thus, we
should let the compiler know we that these functions receive
a formatting variable with a variable number of arguments.
Fixes#562
Version 1.19 changes the API, normalized the data types, and function
names.
To keep the API backwards compatible, we use a dummy value for
the new parameters (page-hint) in synctex_display_query. page-hint
is aimed to the results, setting be the best matches close to the
page-hint.
Fixes#878
On some big-endian arches (where MY_CPU_NAME doesn't get set),
there is a preprocessor syntax error. It results in build failures
like this:
In file included from rar/../lzmasdk/Ppmd.h:8:0,
from rar/../lzmasdk/Ppmd7.h:12,
from rar/rar.h:10,
from rar/rar.c:4:
rar/../lzmasdk/CpuArch.h:177:18: error: #elif with no expression
#elif MY_CPU_BE
^
In file included from rar/../lzmasdk/Ppmd.h:8:0,
from rar/../lzmasdk/Ppmd7.h:12,
from rar/rar.h:10,
from rar/uncompress-rar.c:7:
rar/../lzmasdk/CpuArch.h:177:18: error: #elif with no expression
#elif MY_CPU_BE
^
With help from Iain Lane <iain@orangesquash.org.uk>
See https://sourceforge.net/p/sevenzip/patches/317/https://bugzilla.gnome.org/show_bug.cgi?id=787248
The previous code accessed draw_rect which was only set if a shadow
was drawn as hover effect. This has worked until commit 8c225e6
("Remove gtk 2 support") where the gtk 2 code path had
if (gdk_rectangle_intersect (expose_area, cell_area, &draw_rect) &&
(flags & GTK_CELL_RENDERER_PRELIT))
which meant setting draw_rect unconditionally. Commit 0a2d3c2
("[gimpcellrenderertoggle] Paint a shadow when the mouse is over the cell renderer")
readded the code path in its current form which checks the flag first.
https://bugzilla.gnome.org/show_bug.cgi?id=786464
Revert to calling gimp_cell_renderer_toggle_get_size as in the upstream
GIMP code. (Commit 5e064e2f9 ("[gimpcellrenderertoggle] Port to gtk 3")
changed this to the current version with no obvious reason.)
https://bugzilla.gnome.org/show_bug.cgi?id=786464
cut-n-paste/unarr/Makefile.am refers to sources in subdirectories.
Option "subdir-objects" tells Automake to put the compiled objects in
the same directory as the source file. Without this option Automake
prints warnings related to forward compatibility.
https://bugzilla.gnome.org/show_bug.cgi?id=785757