this way, if we move "data" (for ghostscript/PC research faxes -- see FAXMAGIC) we are always sure to free the right memory buffer
CCBUG: 247300
svn path=/trunk/KDE/kdegraphics/okular/; revision=1161849
also, no need to iterate again, as the input dialog will not accept an empty (not totally blank) value
furthermore, abort annotator creation if the user aborts the input dialog
BUG: 236865
svn path=/trunk/KDE/kdegraphics/okular/; revision=1160649
Checks if a file exists before trying to open it.
Prevents from having 2 error messages when the file is an archive
acked by tsdgeos
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156880
Fix mouse scrolling when wrapping sometimes sending you where you did not want
Patch by Mathieu Lornac
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156337
Patch by Mathieu Lornac
Will *not* be in KDE 4.5.0
Might backport it to stable branch for some KDE 4.5.x if noone finds any problem
BUGS: 201669
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156320
Simply shows the full path, file name can be extracted from it.
The button did not toggle between title and file path, also
because title is always shown if found.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1152390
Make sure that setting the toc to be the current index does not break sidebar
visibility
Make Sidebar::isSidebarVisible symmetric with Sidebar::setSidebarVisibility
If showing the container make sure the list is also shown
svn path=/trunk/KDE/kdegraphics/okular/; revision=1152385
Only start watching the file in case if it wasn't removed, thus was modified
Patch by Victor Blázquez
Fixes bug 234139
svn path=/trunk/KDE/kdegraphics/okular/; revision=1146408
Only start watching the file in case if it wasn't removed, thus was modified
Patch by Victor Blázquez
Fixes bug 234139
svn path=/trunk/KDE/kdegraphics/okular/; revision=1146404
API and make it call the new API.
CCMAIL: kde-bindings@kde.org
CCMAIL: aacid@kde.org
CCBUG: 194586
svn path=/trunk/KDE/kdegraphics/okular/; revision=1134631
synctex_scanner_new_with_output_file() tries first to open the file in an
"unquoted mode"; if it fails, it tries again quoting the file name.
During the first attempt, the synctex_io_mode_t is passed as pointer and it
can be incremented, making the second attempt start from "rb" instead of "r".
The easiest solution is to reset the io_mode before doing the second open
attempt.
Bug seen, analyzed and patched by Albert Astals Cid.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1132526
Also update the patches we carry:
- new 00-fix-__synctex_open-declaration.diff: fix a misplaced function declaration
- new 00-disable-SYNCTEX_INLINE.diff: disable SYNCTEX_INLINE on !MSVC, to avoid compiling issues
- remove 02-fix-_synctex_error.diff: code is already present in SyncTeX
- refresh 01-fix-win32-define.diff, 03-fix-_synctex_scan_named.diff, 04-gcc-specify-printf-format.diff, 05-fix-error-formats.diff
svn path=/trunk/KDE/kdegraphics/okular/; revision=1129764