1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-05 00:59:07 +00:00
Commit Graph

216 Commits

Author SHA1 Message Date
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
Bastien Nocera
0941130ea1 comics: Add unarr copy/paste
To allow us to decompress CBR comics compressed with recent versions of
RAR, from https://github.com/sumatrapdfreader/sumatrapdf/tree/master/ext/unarr

https://bugzilla.gnome.org/show_bug.cgi?id=720742
2017-03-25 12:09:57 +01:00
Trinh Anh Ngoc
f91addc511 Fix warnings with GTK+ 3.20
https://bugzilla.gnome.org/show_bug.cgi?id=758793
2016-06-19 13:12:04 +02:00
Carlos Garcia Campos
0ac236ac68 recent-view: Use a GtkIconView and get rid of most of libgd cut-n-paste 2014-05-10 14:27:18 +02:00
Bogdan Petcu
20d4338c41 libgd: Highlight items on mouse-hover 2014-05-05 11:18:07 -07:00
Carlos Garcia Campos
f4aff92367 libgd: Expect a cairo surface instead of a pixbuf for the GdMainIconView cell renderer 2014-05-04 16:08:50 +02:00
Carlos Garcia Campos
c5177e1822 libgd: Use cairo surfaces instead of pixbufs in gd_embed_image_in_frame 2014-05-04 16:08:40 +02:00
Aakash Goenka
fe7a89ae3a libgd: Added libgd to cut-n-paste
A separate commit where libgd is added to cut-n-paste. libgd is used for the bookshelf
view of recent documents.
2014-05-04 16:08:32 +02:00
Christian Persch
3853ca5e68 shell: Remove smclient
https://bugzilla.gnome.org/show_bug.cgi?id=677981
2014-02-23 19:23:26 +01:00
Christian Persch
070833837c synctex: Fix -Wundef warning 2013-07-26 21:34:36 +02:00
Christian Persch
d0faf92a83 synctex: Update from upstream 2013-07-26 21:32:03 +02:00
Christian Persch
d4216cc576 build: Don't use INCLUDES
It's deprecated. Instead use *_CPPFLAGS.
2013-07-26 21:26:35 +02:00
Carlos Garcia Campos
ac9d889ba8 cut-n-paste: Remove ephy-zoom-control 2013-01-03 10:58:03 +01:00