okular/core
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
..
script clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
synctex Update to synctex 1.19 2017-09-12 21:56:49 +02:00
action.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
action.h Add override 2017-03-02 20:38:50 +01:00
annotations.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
annotations.h Add annotation resize functionality 2017-03-19 23:18:17 +01:00
annotations_p.h Add annotation resize functionality 2017-03-19 23:18:17 +01:00
area.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
area.h clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
audioplayer.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
audioplayer.h clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
audioplayer_p.h port KUrl -> QUrl 2015-01-29 20:55:57 +01:00
bookmarkmanager.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
bookmarkmanager.h Fix build with Qt 5.5 branch. 2015-03-02 13:09:27 +01:00
chooseenginedialog.cpp Port to new connect api 2015-01-30 22:06:53 +01:00
chooseenginedialog_p.h clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
chooseenginewidget.ui small touches to the backend choosing dialog: 2007-03-30 15:35:01 +00:00
debug.cpp Only show warning messages by default 2017-01-16 18:41:33 +01:00
debug_p.h Use categorized logging 2014-09-16 23:24:36 +02:00
document.cpp Update to synctex 1.19 2017-09-12 21:56:49 +02:00
document.h clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
document_p.h Update to synctex 1.19 2017-09-12 21:56:49 +02:00
documentcommands.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
documentcommands_p.h Add annotation resize functionality 2017-03-19 23:18:17 +01:00
fileprinter.cpp Fix width and height being switched when printing Custom size 2017-08-21 00:09:27 +02:00
fileprinter.h Merge remote-tracking branch 'origin/master' into frameworks 2015-03-17 08:47:52 +01:00
fontinfo.cpp Fonts are scanned again by poppler5 2016-07-13 23:46:43 +02:00
fontinfo.h Use QVector 2015-08-04 14:21:25 +02:00
form.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
form.h Add the additional action to form 2017-03-03 00:41:06 +01:00
form_p.h Add the additional action to form 2017-03-03 00:41:06 +01:00
generator.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
generator.h no need for & here 2017-03-02 22:45:45 +01:00
generator_p.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
generator_p.h Add override 2017-03-02 20:38:50 +01:00
global.h Move the definition of the 'EmbedMode' enum to 'part.h' 2011-11-02 20:29:31 +00:00
misc.cpp Use categorized logging even more 2014-09-16 23:38:25 +02:00
misc.h port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
movie.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
movie.h Merge remote-tracking branch 'origin/master' into frameworks 2015-10-18 22:29:00 +02:00
observer.cpp Fix my email address 2013-03-14 23:09:07 +01:00
observer.h port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
okularGenerator.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2017-02-04 06:23:35 +01:00
page.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
page.h clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
page_p.h Add a way to get the PagePrivate if you have the Page 2017-03-03 00:32:08 +01:00
pagecontroller.cpp Fix includes 2015-03-20 08:55:32 +01:00
pagecontroller_p.h Port away from signal/slot keyword 2016-07-11 19:34:08 +02:00
pagesize.cpp make PageSize implicitely shared 2007-04-17 21:20:35 +00:00
pagesize.h port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
pagetransition.cpp Support for non-integer transition durations in PDF presentations 2015-10-15 00:16:55 +02:00
pagetransition.h Merge remote-tracking branch 'origin/master' into frameworks 2015-10-18 22:29:00 +02:00
rotationjob.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
rotationjob_p.h Q_DECL_OVERRIDE -> override 2017-03-02 20:39:24 +01:00
scripter.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
scripter.h Add a scripter class to execute scripts on request. 2008-04-13 22:31:59 +00:00
sound.cpp krazy include order issues 2007-04-19 18:30:20 +00:00
sound.h port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
sourcereference.cpp Fix parsing of lilypond URLs 2016-07-24 20:27:04 +02:00
sourcereference.h port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
sourcereference_p.h More QUrl porting 2014-08-10 20:36:41 +02:00
textdocumentgenerator.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
textdocumentgenerator.h Make it clear that the caller to convert takes ownership 2017-08-25 01:17:31 +02:00
textdocumentgenerator_p.h clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
textdocumentsettings.cpp Fix memory leak in text document settings d-pointers 2017-08-27 13:18:31 +02:00
textdocumentsettings.h Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
textdocumentsettings_p.h Fix memory leak in text document settings d-pointers 2017-08-27 13:18:31 +02:00
texteditors_p.h Use QStringLiteral 2015-10-29 13:37:11 +01:00
textpage.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
textpage.h clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
textpage_p.h Improve searching code 2013-10-18 16:30:07 +02:00
tile.h port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
tilesmanager.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
tilesmanager_p.h port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
utils.cpp Drop libkscreen dependency 2016-01-30 18:15:07 +01:00
utils.h Drop libkscreen dependency 2016-01-30 18:15:07 +01:00
utils_p.h Viewport transition refinements for Find and Undo/Redo actions 2013-12-29 23:27:30 +01:00
view.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
view.h port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
view_p.h Start a View class for managing the "views" of a document. 2008-04-27 11:05:59 +00:00