https://bugs.kde.org/show_bug.cgi?id=348088

Robby Stephenson <ro...@periapsis.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/tell |http://commits.kde.org/tell
                   |ico/da2a81cd87edf6b44c8ad8d |ico/fe0f594a9102ffcce5af8fe
                   |9015b693d9bcdcc06           |2f924bbb6c98dbeee

--- Comment #3 from Robby Stephenson <ro...@periapsis.org> ---
Git commit fe0f594a9102ffcce5af8fe2f924bbb6c98dbeee by Robby Stephenson.
Committed on 07/11/2016 at 00:41.
Pushed by rstephenson into branch '2.3'.

Correct the name of the image directory when file has multiple periods

The local image directory was using .section('.', 0, 0) and should
be using completeBaseName() so file names with multiple periods would
use the expected directory name

Unit test added to verify that backwards compatability is not broken.
But users with this behavior would not be able to go back to an older
version and have the images work correctly.

Conflicts:
        src/images/imagefactory.cpp

M  +1    -1    src/document.cpp
M  +1    -1    src/images/imagedirectory.cpp
M  +31   -1    src/images/imagefactory.cpp
M  +3    -0    src/tests/CMakeLists.txt
A  +-    --    src/tests/data/with-image.tc
A  +139  -0    src/tests/documenttest.cpp     [License: GPL (v2/3)]
A  +38   -0    src/tests/documenttest.h     [License: GPL (v2/3)]
M  +3    -1    src/translators/htmlexporter.cpp

http://commits.kde.org/tellico/fe0f594a9102ffcce5af8fe2f924bbb6c98dbeee

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to