1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-06-30 22:54:23 +00:00
Commit Graph

228 Commits

Author SHA1 Message Date
Nelson Benítez León
91aa9bfc4e Update libgd to current master to fix #1242
Update libgd/gd-two-lines-renderer.c to latest libgd which
includes commit libgd@258c05b0 that fixes a Pango >= 1.44
regression causing #1242 issue.
2023-01-17 20:35:11 +00:00
Bastien Nocera
d97fdcda6e unarr: Remove obsolete unarr copy/paste
RAR support is now in libarchive.

Closes: #848, #1396
2022-03-01 20:50:05 +00:00
Bastien Nocera
e167b8bb0a unarr: Update LZMA SDK
Using lzma2107.7z from:
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/
2021-12-28 14:59:03 +01:00
Christian Persch
b30057993e build: Use symbol visibility to hide symbols in private libs
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.
2021-12-01 16:51:33 +01:00
Bastien Nocera
c1c1854336 unarr: Update LZMA SDK
Using lzma2104.7z from:
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/
2021-11-19 19:53:46 +01:00
Bastien Nocera
a9f6bb7455 unarr: Update LZMA SDK
Using lzma2103.7z from:
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/
2021-11-19 19:50:03 +01:00
Bastien Nocera
772c275753 unarr: Update LZMA SDK
Using lzma2102.7z from:
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/

And adapt RAR decoder for changes in C API.
2021-10-11 02:36:03 +00:00
Bastien Nocera
b9d9e821de unarr: Add error reporting to open function
Add a new open function that reports the error encountered, so that it's
possible to detect RAR v5 archives.
2021-02-21 17:36:38 +00:00
Vincent Torri
87ffebe573 windows: build needs shlwapi
* PathFindExtension() needs shlwapi DLL to build on Windows.
  shlwapi only is defined on windows platform.
2021-01-24 11:03:20 -03:00
Christian Hergert
6e87290dab cut-n-paste: filemanager: create proxy synchronously
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>
2020-06-22 19:05:08 -04:00
Germán Poo-Caamaño
20728d6008 cut-n-paste: Use async calls in file manager
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.
2020-06-22 19:05:08 -04:00
Germán Poo-Caamaño
9e16eda4d2 cut-n-paste: Add libdazzle utilities to open file manager 2020-06-22 19:05:08 -04:00
Iñigo Martínez
b27189bb3c build: Remove autotools
To avoid the burden of maintaining multiple build systems, autotools
support has been removed.

GitLab CI configuration has also been updated to use meson.
2020-05-30 22:39:51 -04:00
Germán Poo-Caamaño
43a45e7280 synctex: Annotate more functions that wraps formatting strings
Annotate missing functions after sync them with upstream
2020-05-30 18:45:26 -04:00
Germán Poo-Caamaño
7a15043209 synctex: Sync against upstream synctex
Branch 2020, a256d4835b7, 2020-05-11.
2020-05-30 18:43:26 -04:00
Germán Poo-Caamaño
0d59bd26a0 cut-n-paste: Annotate functions that wraps formatting strings
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
2020-05-30 11:33:07 -04:00
Bastien Nocera
12501c7c8c unarr: Disable debug output
So that we don't see logs like:
Aug 02 13:16:05 classic flatpak[7363]: - rar.c:65: Skipping directory entry "Name of directory"
2019-08-05 14:21:31 +00:00
Bastien Nocera
d498d23777 unarr: Update LZMA SDK
Using lzma1900.7z from:
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/
2019-02-23 11:49:28 +01:00
Bastien Nocera
2636e08309 unarr: Update LZMA SDK
Using lzma1806.7z from:
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/
2019-01-13 16:15:29 +01:00
Germán Poo-Caamaño
a331e2c8d1 cut-n-paste: sync libgd to remove symbols deprecations 2018-11-12 00:52:41 -03:00
Germán Poo-Caamaño
923c852c14 gimpcellrenderertoggle: Synced against Gimp master
* Remove/replaced deprecated symbols
* Aware of different window scales
2018-11-11 02:21:03 -03:00
Iñigo Martínez
d69158ecf0 build: Port to Meson build system
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.
2018-09-24 10:28:33 +02:00
Germán Poo-Caamaño
d2eef2fd92 synctex: Add license distributed with Synctex 2018-08-17 15:31:52 -03:00
Germán Poo-Caamaño
eaa0c41c8a synctex: Annotate functions that wrap vfprintf
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
2018-08-04 17:06:23 -04:00
Germán Poo-Caamaño
e16ce591b2 synctex: Move _GNU_SOURCE to the top of the source code
As suggested in the documentation:
https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
2018-08-02 16:23:06 -04:00
Germán Poo-Caamaño
90155d61c4 synctex: Remove unused labels
Avoid compilation warning for unused labels
2018-08-02 16:23:06 -04:00
Germán Poo-Caamaño
c3e7b60aac synctex: Update script to sync against synctex repository 2018-08-02 16:23:06 -04:00
Germán Poo-Caamaño
678410e81d synctex: Silence error when no synctex file is present
Evince deals with a multiple users and documents. It is natural
that many (if not most) of them will not have a SyncTeX
counterpart.
2018-07-14 00:08:04 -04:00
Germán Poo-Caamaño
dab0dc31db synctex: Fix compilation
Default synctex does not build on Evince. Add declaration
of missing prototypes, and define #_GNU_SOURCE to use
vasprintf from stdio.
2018-07-13 22:30:32 -04:00
Germán Poo-Caamaño
ed2d42b8ed synctex: Update from version 1.18 to 1.21
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
2018-07-13 22:30:32 -04:00
Germán Poo-Caamaño
9edaca5b7b build: Use synctex system library if available
Check if a system synctex is available and use that instead of
bundled version if possible.

Fixes #479
2018-05-24 22:27:33 -04:00
Bastien Nocera
b705652ca4 unarr: Add instructions on how to update LZMA SDK
https://bugzilla.gnome.org/show_bug.cgi?id=794327
2018-03-15 14:28:38 +01:00
Bastien Nocera
fe3c4272ee unarr: Update LZMA SDK
Using lzma1803.7z from:
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/

https://bugzilla.gnome.org/show_bug.cgi?id=794327
2018-03-15 14:28:38 +01:00
Florian Weimer
0e700196e8 unarr: Fix build on s390x
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
2017-09-04 16:17:53 +02:00
Bastien Nocera
833708afac unarr: Remove unused LzmaDec.* files
The RAR4 format doesn't use LZMA compression, so remove the files that
implement it.

https://bugzilla.gnome.org/show_bug.cgi?id=787116
2017-09-04 16:15:42 +02:00
Bastien Nocera
ccbeb9cca2 unarr: Update LZMA SDK
Using lzma1701.7z from:
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/

https://bugzilla.gnome.org/show_bug.cgi?id=787035
2017-09-04 16:15:42 +02:00
Jonas Hahnfeld
35ee62bf7b unarr: Generate .gitignore files in subdirectories
https://bugzilla.gnome.org/show_bug.cgi?id=786337
2017-08-19 09:02:17 +02:00
Jonas Hahnfeld
8b86c139e5 gimpcellrenderertoggle: Remove code for drawing a shadow
I can't see any difference in the current version of all libraries.

https://bugzilla.gnome.org/show_bug.cgi?id=786464
2017-08-19 08:34:58 +02:00
Jonas Hahnfeld
80c87939c2 gimpcellrenderertoggle: Fix rendering without hover
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
2017-08-19 08:28:02 +02:00
Jonas Hahnfeld
fe8e70c93e gimpcellrenderertoggle: Replace depracted gtk_cell_renderer_get_size
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
2017-08-19 08:27:33 +02:00
astian
80e6561f27 unarr, build: Quell Automake warning
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
2017-08-05 08:17:13 +02:00
Bastien Nocera
670bc92574 unarr: Use zlib's crc32 instead of an internal implementation
https://bugzilla.gnome.org/show_bug.cgi?id=785141
2017-07-22 14:40:51 +02:00
Bastien Nocera
5bc3704283 libgd: Update from libgd git master
https://bugzilla.gnome.org/show_bug.cgi?id=784913
2017-07-22 14:40:34 +02:00
Emmanuele Bassi
0d049a4798 build: Remove all mentions of old generated files
We don't build marshallers any more, so we must not reference them in
the list of sources.

https://bugzilla.gnome.org/show_bug.cgi?id=784852
2017-07-12 17:28:48 +01:00
Bastien Nocera
827f15121b gimpcellrenderertoggle: Simplify build
By removing glib-genmarshal usage, seeing as the generic marshaller via
libffi works just as well.

https://bugzilla.gnome.org/show_bug.cgi?id=784852
2017-07-12 16:20:32 +02:00
Bastien Nocera
92e98f6ebc unarr: Remove a number of unused files
They were compiled but unused.

https://bugzilla.gnome.org/show_bug.cgi?id=784842
2017-07-12 13:33:10 +02:00
Bastien Nocera
fa61e9fb1b unarr: Update for LZMA SDK API changes
https://bugzilla.gnome.org/show_bug.cgi?id=784310
2017-06-29 00:36:21 +02:00
Bastien Nocera
ee4b2b3165 unarr: Update LZMA SDK
Using lzma1700.7z from:
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/

https://bugzilla.gnome.org/show_bug.cgi?id=784310
2017-06-29 00:36:21 +02:00
Bastien Nocera
a2aa919cd2 comics: Fix "function declaration isn’t a prototype" errors
Need to use "void" as the arguments when declaring.

FIXME: Should be upstreamed!

https://bugzilla.gnome.org/show_bug.cgi?id=720742
2017-03-25 12:09:57 +01:00
Bastien Nocera
5e1a0ef3a2 comics: Fix "no previous prototype for..." errors
Functions that aren't used outside the C file should be marked as
static.

https://bugzilla.gnome.org/show_bug.cgi?id=720742
2017-03-25 12:09:57 +01:00