Fabio D'Urso
cbdd986ef7
Compile^^
...
The original code worked on 32-bit only, the previous Compile++ patch worked on
64-bit only. Hopefully this will work on both ;)
13 years ago
Albert Astals Cid
ed68caae95
Compile++
13 years ago
Jaan Vajakas
dff8bf1b36
Improve searching code
...
Also simplified code a bit by removing unnecessary calls to toLower in TextPagePrivate::findTextInternalForward and TextPagePrivate::findTextInternalBackward I also fixed a small bug: the letter capital I with dot above (U+0130) did not match itself in case-insensitive mode on Qt 4.8.4 (U+0130 still does not match lowercase i (U+0069), which can be considered another bug, that I didn't fix (although this behavior conforms to the Unicode case folding rules)).
(I did not implement the Knuth-Morris-Pratt algorithm that I promised in a comment of Bug 323263 because on second thought I find that the win, if any, would probably be negligible except for some very special documents and special query strings.)
BUGS: 323262
BUGS: 323263
REVIEW: 112135
13 years ago
Fabio D'Urso
c2c643bed7
Test we don't crash if the document is closed while a RotationJob is running
...
Cherry-picked from e73e54a784
13 years ago
Fabio D'Urso
e73e54a784
Test we don't crash if the document is closed while a RotationJob is running
13 years ago
Peter Grasch
2282c543d2
Add tests file
...
Albert forgot to commit it
13 years ago
Peter Grasch
4d4dd68ca2
Fix usability issues with selecting annotations
...
REVIEW: 109627
13 years ago
Fabio D'Urso
77a71a021a
Test that Okular doesn't crash after a canceled reload
...
This would have caught the crash I'm going to fix in the next patch
13 years ago
Fabio D'Urso
889c942909
Test that we don't crash if we open the Configure backends dialog twice
...
This would have caught the issue fixed in 3dd3a000db
13 years ago
Jon Mease
4296ac7e5d
Rotate annotation to match page when setting annotation's properties
...
BUG:318828
REVIEW:110229
13 years ago
Jon Mease
3c6140b616
Fix Undo / Redo of annotation creation doesn't properly handle page rotation and adds undo unit tests
...
BUG: 318091
REVIEW: 109989
13 years ago
Albert Astals Cid
50d014b46b
Make the tests pass
13 years ago
Albert Astals Cid
8288959bab
Add proper headers
13 years ago
Jaydeep Solanki
1121cff1b8
Implement Open url in browser for plain text
...
BUGS: 281027
REVIEW: 108614
FIXED-IN: 4.11.0
13 years ago
Albert Astals Cid
005153a728
Try to make it fail on jenkins too
...
Seems the path is not being utf8 and thus stuff does not fail
Don't think this will do anything, but won't hurt
13 years ago
Albert Astals Cid
fc754ec4d7
Add a test (that needs pdflatex) that tests synctexpdf
...
The second one fails (patch is coming in a moment)
This is just to try what jenkins says of all this :D
13 years ago
Albert Astals Cid
e81589e77d
Add test for 311232
13 years ago
Albert Astals Cid
a1ce96bc4a
Make sure regular test does not crash
...
This would have caught bug 313146
13 years ago
Albert Astals Cid
c8a03333b5
Build++
13 years ago
Albert Astals Cid
5261272e45
test to make sure the toc reload feature works
13 years ago
Glen Kaukola
122fab0eee
Krazy: Check single-char QString operations for efficiency.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110335
16 years ago
Pino Toscano
a355d9fea4
isolate the argument -> url conversion code in an own function in the ShellUtils namespace
...
make the function able to be reused in unit tests (ie adding a function hook for the filename existance check)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032962
17 years ago
Pino Toscano
d5dd8fce01
when we remove the file:/ from the argument, do the precent-encoding removal to avoid being percent-encoded more than needed
...
based on a patch by Albert, slightly changed + unit test by me
BUG: 207461
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032944
17 years ago
Pino Toscano
ca9b4a14ec
improve/add tests
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032934
17 years ago
Pino Toscano
b4e301c0e0
start adding a unit test for the shell-related stuff
...
the single test case so far is for testing the url splitting
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032845
17 years ago