Commit graph

883 commits

Author SHA1 Message Date
Stefan Kebekus fb0b66bbf1 fixes problem with PS header inclusion
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=504473
2006-02-01 09:06:05 +00:00
Laurent Montel 3aead09295 Compile/link
Deprecated--

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=503481
2006-01-29 11:58:13 +00:00
Laurent Montel 544c95f775 KURL->KUrl
Launch script to adapt to new kdelibs API

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=503148
2006-01-28 13:15:59 +00:00
Stefan Kebekus 3c944416ea fixes problem with MS compiler; patch by Angus Leeming
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=501739
2006-01-23 19:48:39 +00:00
Wilfried Huss 66a13026ea port of commits 497464
The DVI plugin works again.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=497468
2006-01-12 21:22:10 +00:00
Angus Leeming dd6007dfa4 Tweaks to enable the code to compile with MSVC 2003.Net.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=496078
2006-01-09 17:08:53 +00:00
Angus Leeming 4c5fc9311e Whitespace.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=496071
2006-01-09 16:37:38 +00:00
Script Kiddy 318ea790eb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=495180
2006-01-07 12:19:49 +00:00
Angus Leeming 04bca5d65b SVN_SILENT:
Whitespace only (sync with QDVI).

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=494424
2006-01-05 01:05:01 +00:00
Angus Leeming 1a8f7292b6 SVN_SILENT:
Whitespace.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=494366
2006-01-04 21:08:02 +00:00
Angus Leeming fea67c3cbf SVN_SILENT:
Whitespace.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=494063
2006-01-04 02:26:34 +00:00
Angus Leeming f3ba115e88 Use Qt::CursorShape rather than a magic number.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=494030
2006-01-03 23:07:47 +00:00
Wilfried Huss bac7f451ff port of commit 493048
Add support for multithreading to achieve a nonblocking GUI.

At the moment only the fax and djvu plugins use this feature.
For the pdf plugin a small change to libpoppler is needed first.
And since the dvi plugin uses QPainter to draw the pages using
a thread for page rendering is not possible without major changes.
Qt4 should probably help.

There are still a few little issues, but I commit this now since the patch
is already quite large.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=493837
2006-01-03 13:12:11 +00:00
Nicolas Goutte c703ea0db0 SVN_SILENT: fix FSF address ( s/Steet/Street/ )
svn path=/trunk/KDE/kdegraphics/doc/kdvi/; revision=493496
2006-01-02 15:33:57 +00:00
Angus Leeming e3db97f6d5 s/KShellProcess/KProcess/
The trick, Stefan, is changing the store of the printer options from a QString to a QStringList. Cleaner code too...

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=492698
2005-12-30 20:29:26 +00:00
Angus Leeming 74d84cc3c2 Refactor the DVI export and source special code into their own classes.
Still uses KShellProcess because of dvips weirdness.
Tested as well as possible given the current hosed state of the core kdelibs.
(Near identical code in the "working" branch based on KDE3.5's kdelibs works perfectly.)

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=492627
2005-12-30 14:16:24 +00:00
Angus Leeming 3096192ae6 Revert to the use of KShellProcess until I ascertain just why
dvips '-pp1,3-5' ...
works when spawned as 'sh -c dvips ...' but not when spawned directly.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=492583
2005-12-30 12:12:56 +00:00
Stefan Kebekus f40611db01 properly use ReadWritePart now
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=492081
2005-12-28 18:18:52 +00:00
Angus Leeming c8ab3354bf Pass by const reference, not by value.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=490717
2005-12-22 21:50:29 +00:00
Angus Leeming 4cc0d6c670 Constify.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=490716
2005-12-22 21:49:44 +00:00
Wilfried Huss c4c7a82500 Port of commit 490113
Fix inverse search for rotated views.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=490114
2005-12-20 20:53:09 +00:00
Angus Leeming fad8cb4f3d Use separate handles for the editor and export external processes.
Fix a memory leak:
   if (proc != 0) {
+    delete proc;
     proc = 0;
   }
   proc = new KProcess;

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=489001
2005-12-16 18:52:58 +00:00
Angus Leeming 3b0782f406 Fix a crash caused by querying a widget after the dialog has been deleted.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=488994
2005-12-16 18:28:56 +00:00
Angus Leeming 29ef0f27eb KProcess clean up, part II
Don't spawn a process via a shell if you don't need to.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=488815
2005-12-15 23:50:59 +00:00
Angus Leeming 716a4440ae Finish off the previous commit (sorry 'bout that): set setUseShell if quoting args.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=488807
2005-12-15 23:08:53 +00:00
Angus Leeming 24fbb04410 s/KShellProcess/KProcess/
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=488799
2005-12-15 22:44:42 +00:00
Angus Leeming ef88281c04 SVN_SILENT:
True trivia.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=488796
2005-12-15 22:32:31 +00:00
Angus Leeming 3c52ed15fc * Use KMimeType::findByFileContent in preference to the deprecated KMimeMagic::findFileType.
* Trivial tidy up of #includes.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=488794
2005-12-15 22:31:24 +00:00
Angus Leeming 9154aba7e4 More info to emacs on how to retain the current style.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=488778
2005-12-15 21:34:10 +00:00
Angus Leeming a39f4de576 The final s/KProcIO/QProcess/
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=486682
2005-12-08 12:25:58 +00:00
Angus Leeming c9e093dbb3 Tell emacs how to format the files.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=486678
2005-12-08 11:50:35 +00:00
Angus Leeming 0c7e695da4 One more s/KProcIO/QProcess/.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=486675
2005-12-08 11:43:22 +00:00
Angus Leeming 378e4937d6 Remove redundant forward declaration.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=486673
2005-12-08 11:40:27 +00:00
Angus Leeming e9045d6cc7 SVN_SILENT:
Headers in alphabetical order.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=486672
2005-12-08 11:38:49 +00:00
Wilfried Huss ae6bc318d4 Port of commit 485437
Save column widths of the table of contents between sessions.
Correctly restore the GUI layout on plugin switch.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=485439
2005-12-04 11:35:54 +00:00
Angus Leeming 63fce9712a Spawn kpsewhich using QProcess rather than KProcIO.
As discussed with Wilfried and Stefan.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=482408
2005-11-22 21:31:24 +00:00
Angus Leeming 1e73bd360e Enable it to compile if HAVE_FREETYPE is undefined.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=482387
2005-11-22 20:34:31 +00:00
Stefan Kebekus dc1e1419fa fixes rare problem with EPS file location
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=480847
2005-11-16 20:47:43 +00:00
Angus Leeming b614922101 Use QProcess rather than KProcIO to control the external font generation.
As agreed by Wilfried and Stefan ;-)

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=480410
2005-11-14 19:50:47 +00:00
Laurent Montel ae1583c6ad qt3support--
Q3ValueList->QList

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=480297
2005-11-14 10:23:21 +00:00
Stefan Kebekus 3a98f3619a fixes bug #115000
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=479971
2005-11-12 15:56:41 +00:00
Laurent Montel d08e61af60 Byebye Q3VBox
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=479488
2005-11-10 17:59:40 +00:00
Laurent Montel 454459b3e1 qt3support--
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=478607
2005-11-07 09:45:33 +00:00
Angus Leeming f6cf9a091a s/KTempFile/QTemporaryFile/
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=478373
2005-11-06 16:33:34 +00:00
Angus Leeming 8cf9cc84c4 Use the same kdDebug wrapper for both QDVI and KDVI.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=477356
2005-11-03 21:49:55 +00:00
Wilfried Huss 4fe14fa528 Make it compile with the new kdelibs snapshot.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=476641
2005-11-01 17:48:48 +00:00
Laurent Montel 50b5395797 Adapt kde4 api
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=476569
2005-11-01 14:26:25 +00:00
Angus Leeming 7f4b66fbbe SVN_SILENT:
whitespace.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=476146
2005-10-31 18:16:41 +00:00
Angus Leeming 1f8bfc0217 SVN_SILENT:
Whitespace

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=475880
2005-10-30 21:38:52 +00:00
Angus Leeming a0f13fbb25 SVN_SILENT:
Trivia; whitespace, add forward declarations to make the headers more robust.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=475849
2005-10-30 19:14:28 +00:00