okular/autotests
Henrik Fehlauer bd20e48c3c Update to synctex 1.19
Summary:
This should prevent crashes when reloading some synctex-enabled pdf
files created with newer versions of TeXLive. We also gain bugfixes,
features and improved accuracy from the last 6 years of synctex
development.

Procedure followed:
- svn co svn://tug.org/texlive/trunk/Build/source/texk/web2c/synctexdir
- Check out revision 45150
- Update files present in core/synctex/*
- Adapt Okular code to changes
- Review and drop or update/apply old patches using quilt
- Create missing patches for local synctex changes
- New patch: Omit warning message when opening non-synctex pdf
- Two new patches to fix more compiler warnings
- New patch: Plug multiple leaks and prevent a segfault

TODO for later:
- Move sync file detection code to Okular to never call into synctex C code for non-synctex files
- Evaluate feasibility of upstreaming all patches for TeXLive 2018 and using synctex as a library

BUG: 383915
FIXED-IN: 17.12.0

Test Plan:
- No crash in synctex on reloading empty.pdf from bugreport anymore.
- Shift-clicking on a word in a simple pdf opens Kate with the corresponding tex line.
- Forward and backward search in Kile seems to work.
- Works with synctex files from both TeXLive 2015 and 2017.
- PartTest::testForwardPDF still passes.
- No additional memory leaks in autotests and with basic synctex and non-synctex usage of Okular.

Reviewers: #okular, sander, #kile, aacid

Reviewed By: #okular, aacid

Subscribers: mludwig, aacid

Tags: #okular

Differential Revision: https://phabricator.kde.org/D7594
2017-09-12 21:56:49 +02:00
..
data Make parttest pass by adding the file that it wants to open 2015-11-28 16:04:57 +00:00
addremoveannotationtest.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
annotationstest.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
CMakeLists.txt Remove dependency on KActivities on Windows. 2017-03-18 01:58:47 +01:00
documenttest.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
editannotationcontentstest.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
editformstest.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
generatorstest.cpp Merge remote-tracking branch 'origin/master' into frameworks 2016-10-29 11:13:24 +02:00
mainshelltest.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
modifyannotationpropertiestest.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
parttest.cpp Update to synctex 1.19 2017-09-12 21:56:49 +02:00
searchtest.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
shelltest.cpp Readd test for file existance when opening files with # on the path 2017-01-16 00:33:25 +01:00
testingutils.cpp kdelibs4support-- 2015-03-06 14:00:25 +01:00
testingutils.h Rename to autotests 2014-10-19 18:21:07 +02:00
translateannotationtest.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
urldetecttest.cpp Port away from signal/slot keyword 2016-07-11 19:34:08 +02:00