D9937: synctex: Use Windows ANSI versions of the PathFind... methods

Michel Ludwig noreply at phabricator.kde.org
Wed Jan 17 05:00:43 UTC 2018


mludwig created this revision.
mludwig added a reviewer: Okular.
Restricted Application added a project: Okular.
mludwig requested review of this revision.

REVISION SUMMARY
  Okular source references don't work on Windows at the moment when synctex is involved (compiled with MSVC 2017).
  
  The problem seems to originate from the fact that the wchar_t versions of PathFindFileName and PathFindExtension are automatically used.
  However, path names are given in an 8-bit encoding to synctex (QFile::encodeName) and the synctex code is really only prepared for 8-bit encodings.

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D9937

AFFECTED FILES
  core/synctex/patches/16-use-windows-ansi-api-path-find.diff
  core/synctex/synctex_parser_utils.c

To: mludwig, #okular
Cc: michaelweghorn, gassaf, ngraham, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20180117/68954fd5/attachment.html>


More information about the Okular-devel mailing list