Commit graph

2081 commits

Author SHA1 Message Date
Pino Toscano
9361ce44be less deprecated (Q3CString)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546943
2006-05-31 13:37:58 +00:00
Pino Toscano
1c5d4a5507 start to provide information, only the title for the moment
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546915
2006-05-31 11:42:53 +00:00
Pino Toscano
6b401ba29b not need to unlock() something not locked.
now i don't get the: "ASSERT failure in QMutex::unlock(): "A mutex must be unlocked in the same thread that locked it.", file thread/qmutex.cpp, line 248" and the crash when closing okular.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=546856
2006-05-31 08:27:36 +00:00
Pino Toscano
7862ce2c4c initialize some unitialized variables, thanks to valgrind
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546752
2006-05-30 22:42:23 +00:00
Albert Astals Cid
e5a42e86ab with this i can get the first page of valgrind PS manual to display
no more pages are generated, and crashes on closing, but something is something :-D

svn path=/branches/work/kde4/playground/graphics/okular/; revision=546697
2006-05-30 19:18:53 +00:00
Albert Astals Cid
b505aff492 has to be a gui app, if not crashes when asking for QX11Info
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546669
2006-05-30 17:48:09 +00:00
Pino Toscano
129b431ad4 make the ghostview generator use the paper size managment of the Generator, ie reusing the already-there action
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546397
2006-05-29 22:30:50 +00:00
Pino Toscano
6f25714b53 change the way we build qgs and the ghostscript plugin of okular: instead of
compiling both separately and relying on the installed qgs for okular, only
look for libgs and build both qgs and ghostscript at the same time.

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=546363
2006-05-29 20:33:55 +00:00
Pino Toscano
c4dbfa5ea3 fix assert
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546302
2006-05-29 17:44:36 +00:00
Pino Toscano
ee18262afa fix connections
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546211
2006-05-29 13:53:42 +00:00
Pino Toscano
d89f7c92d4 fix crash by ending the paint operations when they're done
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546187
2006-05-29 12:49:03 +00:00
Pino Toscano
fedf49f089 less deprecated
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546170
2006-05-29 11:35:30 +00:00
Pino Toscano
507c365be8 export correctly so it can be started by klauncher
use the correct types (uint -> int)

svn path=/branches/work/kde4/playground/graphics/okular/; revision=546158
2006-05-29 10:51:32 +00:00
Pino Toscano
4cf3904b16 convert the config widget to ui4 and "fix" the crash when creating the ghostscript generator
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546132
2006-05-29 09:12:29 +00:00
Pino Toscano
007a1cab7e SVN_SILENT clean a bit
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546124
2006-05-29 08:33:16 +00:00
Pino Toscano
f8c91c218b make the ghostview generator compile and link (but crashes...)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546123
2006-05-29 08:24:13 +00:00
Albert Astals Cid
13dde4096f use the nice code brad wrote for poppler that allows you to extract embedded files from a pdf document.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545966
2006-05-28 16:54:54 +00:00
Pino Toscano
be8b593472 less deprecated
svn path=/branches/work/kde4/playground/graphics/okular/; revision=543726
2006-05-22 16:53:18 +00:00
Pino Toscano
7049feb8de port to the new kdelibs api; mainly ktrader usage and URL -> Url
svn path=/branches/work/kde4/playground/graphics/okular/; revision=543576
2006-05-22 14:02:24 +00:00
Pino Toscano
64867d5b3c move the okular configurations to config-okular.h
create again the options to force the DRM (give -DOKULAR_FORCE_DRM=ON to cmake)
KPDF_FORCE_DRM -> OKULAR_FORCE_DRM

svn path=/branches/work/kde4/playground/graphics/okular/; revision=542815
2006-05-20 12:35:11 +00:00
Albert Astals Cid
7ab451aae1 some leaks less
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540485
2006-05-13 16:06:54 +00:00
Albert Astals Cid
8f9801edf4 fix spacing
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540476
2006-05-13 15:04:55 +00:00
Albert Astals Cid
68830e0508 fix search (a bit) and rect passing top != right dude!!
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540475
2006-05-13 15:04:22 +00:00
Laurent Montel
1acd92c193 kde4_header and kde4_footer() are gone now
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540429
2006-05-13 12:55:15 +00:00
Albert Astals Cid
33848a3ee8 The big poppler commit, we now don't use poppler but poppler-qt4 frontend, and that is GOOD
You need poppler from cvs as of today, i'll change the check to a bigger version number once a new poppler gets released
There are still some problems i think but i'm commiting to see if someone wants to help ;-)
Includes some EBN fixes by Christian Mueller

svn path=/branches/work/kde4/playground/graphics/okular/; revision=540404
2006-05-13 11:17:24 +00:00
Pino Toscano
f8de9e780e adapt to the recent cmake changes
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540372
2006-05-13 09:10:26 +00:00
Pino Toscano
1e697c87ca less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=538075
2006-05-06 17:56:18 +00:00
Laurent Montel
aec1a39263 fix warning
svn path=/branches/work/kde4/playground/graphics/okular/; revision=533081
2006-04-23 16:00:45 +00:00
Laurent Montel
1ce4f247a4 Fix use {PLUGIN_INSTALL_DIR}
svn path=/branches/work/kde4/playground/graphics/okular/; revision=531061
2006-04-18 14:25:16 +00:00
Pino Toscano
90db8a5868 less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=529479
2006-04-13 14:51:05 +00:00
Pino Toscano
abbe32b397 fix compilation
svn path=/branches/work/kde4/playground/graphics/okular/; revision=528357
2006-04-10 20:26:46 +00:00
Pino Toscano
e3994658b6 make it compile with the new snapshot
port to the new i18n api

svn path=/branches/work/kde4/playground/graphics/okular/; revision=528345
2006-04-10 19:50:00 +00:00
Pino Toscano
965dff8965 SVN_SILENT cleanup
svn path=/branches/work/kde4/playground/graphics/okular/; revision=527316
2006-04-07 17:28:50 +00:00
Pino Toscano
863da7ba3e less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=526826
2006-04-05 17:49:44 +00:00
Pino Toscano
55bc51a6d0 less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525131
2006-03-31 21:51:45 +00:00
Pino Toscano
58a391e7a2 improve a bit
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524837
2006-03-31 11:22:29 +00:00
Albert Astals Cid
e83d78eac6 build a bit more
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524654
2006-03-30 21:13:14 +00:00
Pino Toscano
11d5e77ff4 less qt3/kde3 support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524525
2006-03-30 15:27:27 +00:00
Pino Toscano
22c45feb7e less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524154
2006-03-29 20:43:48 +00:00
Pino Toscano
34f2498f1f less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524117
2006-03-29 19:14:04 +00:00
Albert Astals Cid
26708c58b9 would link if i did not had to copies of poppler around
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524092
2006-03-29 17:47:07 +00:00
Pino Toscano
4bd3b60d6c less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524083
2006-03-29 17:16:46 +00:00
Pino Toscano
a536c798f2 - the fax library and its generator compile and link correctly
- less kde3 support
- small fix in the top CMakeLists.txt

svn path=/branches/work/kde4/playground/graphics/okular/; revision=524044
2006-03-29 15:50:33 +00:00
Pino Toscano
0b29b076b8 Some work on the chm generator:
- correctly find the chm library
- make the chm generator and the kio-msits compile and link
- some qt3/kde3 support less

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=523938
2006-03-29 14:33:15 +00:00
Pino Toscano
c256664918 not executable
svn path=/branches/work/kde4/playground/graphics/okular/; revision=523930
2006-03-29 14:08:47 +00:00
Pino Toscano
76c8417b5a Make the kimgio generator link correctly. The first oKular generator that links with cmake :-)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=523735
2006-03-28 22:32:32 +00:00
Pino Toscano
8db887dfb1 New QGS check (partially untested).
New CHM check.
Activating okular anyway, and disable its poppler generator if poppler is not found.

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=523311
2006-03-27 21:09:36 +00:00
Pino Toscano
7e1eb57d25 slightly better, but not enough; later i'll apply on finding and using poppler
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522738
2006-03-26 16:08:11 +00:00
Laurent Montel
3d0eefb6d4 Add support for cmake (not tested for the moment)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522661
2006-03-26 12:19:40 +00:00
Albert Astals Cid
b61b6e2f22 some fixes more, able to see pdf already
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522382
2006-03-25 11:45:16 +00:00
Pino Toscano
5a39ea2213 includemoc + some libs to link with
still libkfax resists me :-/

svn path=/branches/work/kde4/playground/graphics/okular/; revision=522274
2006-03-24 23:12:44 +00:00
Albert Astals Cid
7ae1f13b3f when i said all linked i lied because i still had to commit that ;-)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522271
2006-03-24 22:57:41 +00:00
Albert Astals Cid
9db38ffa47 everything links for me pino :-S
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522268
2006-03-24 22:54:41 +00:00
Pino Toscano
20747dabd7 compile (still not link)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522267
2006-03-24 22:53:31 +00:00
Pino Toscano
0ea21e0f3b compile (not link)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522264
2006-03-24 22:46:07 +00:00
Albert Astals Cid
221f3ffa9b compile
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522259
2006-03-24 22:40:18 +00:00
Albert Astals Cid
467b839cf0 libokularGenerator_fax.la links
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522258
2006-03-24 22:20:48 +00:00
Albert Astals Cid
b98637741d libokularGenerator_poppler links
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522254
2006-03-24 21:45:59 +00:00
Pino Toscano
8b41489e2f porting
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522251
2006-03-24 21:31:46 +00:00
Albert Astals Cid
db09e1aabe some more things compile, commiting so Pino has lastest
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522242
2006-03-24 20:40:02 +00:00
Albert Astals Cid
aa5a58187c some fixes to the makefiles, don't know if better than before, but not at least unsermake starts
svn path=/branches/work/kde4/playground/graphics/okular/; revision=520823
2006-03-20 22:11:37 +00:00
Albert Astals Cid
1eef1c2363 more moving
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=520370
2006-03-19 18:12:10 +00:00
Albert Astals Cid
56a491d542 moving
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=520369
2006-03-19 18:11:17 +00:00
Albert Astals Cid
30c2f8067d oKular goes poppler
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=520367
2006-03-19 18:03:43 +00:00
Albert Astals Cid
074303b849 compile
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=510317
2006-02-16 21:33:19 +00:00
İsmail Dönmez
ca38324adb backport compile fix for newer freetype ( CVS ) versions from kpdf
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=509938
2006-02-15 21:48:26 +00:00
Piotr Szymanski
c7da917e38 - add minor checks for validity of requests
- fix ghostscript backend (works now)

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=509917
2006-02-15 21:02:13 +00:00
Piotr Szymanski
4387e1489e - GIGANTIC 2700 line diff with LOTS OF FEATURES!
- 1. editor-like text selection, and I do mean it, its not pseudo-editor 
  (like the ones acroread and kviewshell have) it doesnt intersect the 
  selection area with words under it, no, it does a lot more, including 
  work on cursors and searching for the text area closest to the given
  cursor
- 2. rotation support, change the orientation of the documents if 
  you need too :)
- 3. the kfaxview backend works beautifully, porting kviewshell backends
  is damn easy ! djvu and dvi will be next!
- 4. Hardware Blending of selection rectangles! We now use XRender 
  instead of KImageEffect, makes a damn faster blend!
- 5. Overview mode - as seen in Kviewshell, but quite a bit extended, 
  the kviewshell is only one state, while we support it in both 
  continous and non-continous form
- BTW. I coded all those features myself, (apart from kfaxview backend library)
  it is an impressive bit right? but oKular cant be run by only one person, 
  join in on the fun! i can introduce you into the code just mail niedakh@gmail.com


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=509871
2006-02-15 18:54:49 +00:00
Albert Astals Cid
efd05b1ea5 branchport r503607
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=503613
2006-01-29 17:46:56 +00:00
Albert Astals Cid
2425a7639a branch port r499428 and r499429
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=499432
2006-01-17 20:06:01 +00:00
Albert Astals Cid
85aa75c5b2 branch port r494666
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=494667
2006-01-05 23:51:38 +00:00
Albert Astals Cid
9d2d7085f0 branchport r489480
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=489483
2005-12-18 21:46:54 +00:00
Piotr Szymanski
3dad5f6890 - back to proper working state
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=488648
2005-12-15 09:55:58 +00:00
Albert Astals Cid
83c7b6028a Branchport r487750
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=487757
2005-12-11 21:00:13 +00:00
Piotr Szymanski
75510d8697 - compiles now
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=486815
2005-12-08 21:11:09 +00:00
Piotr Szymanski
b59e6dcf8b - ported ghostview backend to libqgs, finally compiles
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=486812
2005-12-08 20:56:55 +00:00
Albert Astals Cid
69539574fc Fix for CAN-2005-3193 and friends
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=486452
2005-12-07 21:44:06 +00:00
Piotr Szymanski
5e0e973e12 - add supported mimetype caching to the kpdf part properly
- begin work on ghostscript backend port to libqgs
- minor tweak in configure.in.bot 

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=486447
2005-12-07 21:25:25 +00:00
Piotr Szymanski
99c8344024 - notfinished indexing stuff from kchmpart
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=485825
2005-12-05 20:54:05 +00:00
Albert Astals Cid
5f647d3140 fix check
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=485824
2005-12-05 20:44:39 +00:00
Piotr Szymanski
00823bf3a6 - missign files?
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=484981
2005-12-02 12:43:57 +00:00
Stephan Binner
dd43125621 i18n style guide fixes
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=481809
2005-11-20 17:32:53 +00:00
Piotr Szymanski
75db44d843 - sync with hdd, refactored text page, ported backends to textpage,
- fixed crash in fax, chm builds and ghostview nearly ported to libqgs

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=481340
2005-11-18 20:48:01 +00:00
Piotr Szymanski
de78c91f71 - this directory builds now, please wait until i commit the updated core
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=481116
2005-11-17 22:56:56 +00:00
Piotr Szymanski
d09fd28b89 - MERGE KPDF 3.5 CHANGES
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477586
2005-11-04 11:59:51 +00:00
Piotr Szymanski
befcda1a14 - update for the move, libgsinterpreter now libkgs
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471685
2005-10-18 12:46:23 +00:00
Piotr Szymanski
9597e74d6b - moved to kdesupport
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471681
2005-10-18 12:27:41 +00:00
Piotr Szymanski
d5c57158b5 - rename to oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471444
2005-10-17 18:34:58 +00:00
Piotr Szymanski
838dc70c44 - ported in 2h 30 minutes, compiles properly, should work, but i cant test it yet because
kdebase compilation takes 90% of CPU

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=463959
2005-09-25 20:42:19 +00:00
Thiago Macieira
66480a8e8a KDE sources are UTF-8.
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=463098
2005-09-22 23:52:31 +00:00
Piotr Szymanski
de2fcf1322 - bah i need to go to sleep, have just found about an appointemnt for tommorow, well, ill port it tomorow, when i come back,
for a start has been done. I want to measure how long it will take to port so ill tell you when i start working on the port tommorow

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=462761
2005-09-22 00:21:37 +00:00
Piotr Szymanski
3639fee113 - copy kfaxview into oKular, Im pondering how fast can i port it to oKualr API,
I have 30 minutes before gcc 4.1 finished compiling

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=462759
2005-09-22 00:06:07 +00:00
Laurent Montel
b72814a9d4 Fix postincremental
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=459553
2005-09-11 12:07:31 +00:00
Albert Astals Cid
7a051d3ee2 configure improvements
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=457815
2005-09-06 16:46:20 +00:00
Adriaan de Groot
15bbda73ca Dox fixes: match parameters w/ @param list; looks like CHMFile::ParseAndFillIndex got a little out-of-sync.
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=457302
2005-09-05 14:14:31 +00:00
Piotr Szymanski
1904ae6d05 - a better version of tsdgeos's fix
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=456227
2005-09-02 10:33:03 +00:00
Piotr Szymanski
bfee50a06f - last commit fixes crashes on page_count and etc, adding a note about dsc too
- Wilfried, could you recheck oKular from svn and rebuild it, should work for you now :)
CCMAIL:Wilfried Huss <Wilfried.Huss@gmx.at>

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=456053
2005-09-02 00:52:20 +00:00
Piotr Szymanski
481dd5f9f1 - incorporate tsdgeos's remodelling of configure.in.in check for libgs
- fix loading docuemnts that dont have the dsc by using one page of local papersize with the pixmap generated by ghostscript after sending the whole document, fixes first bigger bug in oKular

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=456051
2005-09-02 00:48:27 +00:00
Piotr Szymanski
241ca3b987 - another possible fix
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=455535
2005-08-31 19:06:33 +00:00
Piotr Szymanski
eda1c570d7 - try not to crash
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=455534
2005-08-31 19:03:27 +00:00
Piotr Szymanski
3cbcb2fb7f - update openDocument and freegui stuff
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=455516
2005-08-31 18:13:59 +00:00
Piotr Szymanski
e84607d34c - use the per character textpage generation by default
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=450786
2005-08-19 02:40:39 +00:00
Piotr Szymanski
0513ddeb58 - my wrapper around both KHTMLPart and KCHMView's chmlib wrapper so that we get a rendered page.
- What works: 
  + viewing documents 
  + thumbnail generation
  + calculating page sizes based on the size of their KHTMLView
  + table of contents

- What is pending:
  + using internal index, will code it once I comeback, wasted too much time on textpage generation

- What probably will not work:
  + printing the entire document, no CHM viewer provides it now
    it would need some kind of being able to print multiple HTML files
    at once or sth similar (maybe anyone else has an idea?)

- About generating the textpage:
  I went a long way, with enormous, and I do mean enormous help from SadEagle explaining to me how
  to use the KHTML API to generate the text page in a usable way (actually getCaretPos is depreciated
  and not document, and if you try to read the code, you'll notice it delegate the important stuff
  further and further into the KHTML core. Understanding KHTML's core is a bit too much to require 
  at the moment.

  Well finally I had something close to working, some words are matched properly - the rectangles are ok,
  most are matched with a one/one and a half offshot to the right, finally some are not matched because
  getCaretPost returns -1 as the left X border, I have no idea why, when I am asking for a

  This is why I am ccing to kfm-devel, if anyone of you guys, has a while to spare and would be kind 
  enough, I would like to ask you to look at generator_t.cpp and the 
      void TGenerator::recursiveExploreNodes(DOM::Node node,KPDFTextPage *tp)
  function, and tell me what seems wrong there? Also if you knwo a better way to get per character
  coordinates for every character in the text inside a HTML Page, please let me know.

CCMAIL:kfm-devel@kde.org


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=450785
2005-08-19 02:37:37 +00:00
Piotr Szymanski
c394549b81 - reusing code from KCHHViewer, contains a small wrapper around chmlib and a better version of kio-msits then the one from kdevelop, added minor modifications by myself so that they can be used in oKular, also stripped the library of unneeded stuff
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=450783
2005-08-19 02:22:44 +00:00
Piotr Szymanski
e73e14bb1e - adding the directory for CHM backend (also to Makefile.am, no configure check yet, you need to have chmlib installed and have chm_lib.h in your include path, libchm in your lib path)
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=450782
2005-08-19 02:20:03 +00:00
Piotr Szymanski
687fe3c0fc - trying to fix the automake issue
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=448935
2005-08-13 16:27:32 +00:00
Piotr Szymanski
c259a8fc9d - I get:
make: *** No rule to make target `gssettingswidget.lo', needed by `libgssettings.la'.  Stop.
  but everything seems to be ok in the makefile.am, help me please


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445674
2005-08-11 15:31:20 +00:00
Piotr Szymanski
d2dc54a926 - fix compile
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445650
2005-08-11 14:27:09 +00:00
Piotr Szymanski
21d9c299d0 - interpreters contain anticrash fixes,
- GSLogWindow initially based on kghostview code got a total overhaul and is practically rewritten
- THIS SHOULD COMPLETE 3rd of5 DELIVERABLES, 5 am, need sleep now.

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445397
2005-08-11 03:37:38 +00:00
Piotr Szymanski
b55e0c3d71 - API headers of ESP Ghostscript 8.15rc3, but should work with any other Ghostscript with libgs. GPL
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445396
2005-08-11 03:00:14 +00:00
Piotr Szymanski
ac523a75a5 - add relevant signals (xpdf)
- port to new api (kimgio)

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445384
2005-08-11 01:00:20 +00:00
Piotr Szymanski
83a91ddbe9 - comment out textpage genration on loading of document (takes too much time, need a different way)
- port to new generator API/desktop

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445382
2005-08-11 00:48:11 +00:00
Piotr Szymanski
c5b853601e - adding the libgs detection functions
Ghostscript backend depends on libgs Ghostscript shared library.
- BTW. anyone know how to add a -Lsth flag to KDE_CHECK_LIB so it can be found if nonstandard directory is chosen?


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445369
2005-08-10 23:58:01 +00:00
Piotr Szymanski
571fe69b58 - sync X before sending pixmap, works ok now
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445318
2005-08-10 21:37:35 +00:00
Piotr Szymanski
691a5324ab - update to reflect current state, only libgs configure check pending and this is finished
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445294
2005-08-10 20:17:00 +00:00
Piotr Szymanski
5a03d1e2a6 - add libgs helper app
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445291
2005-08-10 20:13:07 +00:00
Piotr Szymanski
aaa190ce2e - SVN_SILENT get rid of bad file
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445278
2005-08-10 19:45:14 +00:00
Piotr Szymanski
94635d7041 - Adding the follwoing code:
1. GSGenerator (generator ghostview, need renaming) 
     Implements the Generator class, handles PixmapRequest transmission and starts other objects.

  2. InternalDocument
     Holds information stored in document's DSC and the information set by the user:
     Page Format, BoundingBoxes, etc, some code taken from kghostview

  3. GSInterpreterLib, the synchronous pixmap generator

  4. GSInterpreterCMD, asynchronous pixmap generator that communciates with the kpdflibgsasynchelper application
  

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445276
2005-08-10 19:44:28 +00:00
Piotr Szymanski
350667967d - pscopying functions, from kghostview
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445274
2005-08-10 19:38:45 +00:00
Piotr Szymanski
9548d85a98 - add configuration widgets for ghostscript backend
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445273
2005-08-10 19:36:54 +00:00
Piotr Szymanski
1bf4276bf8 - add %%Copyright comment support
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445264
2005-08-10 19:32:05 +00:00
Piotr Szymanski
757db52ac7 - gui support
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=442117
2005-08-01 17:47:17 +00:00
Piotr Szymanski
235e3e4c29 - support for changing rotation and added access to the programs interface
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=442116
2005-08-01 17:46:43 +00:00
Piotr Szymanski
0be10d88e5 - code for use of command line GS interpreter, reused from kghostview, a little remodeled, still fails to work,
GS says it cant open the initial device, does it mean the pximap or the widget? does the widget need to be shown
  before it can receive communication from X11?
  Asking Luis, he might know. I wanted to use the library version of the interpreter but it 
  somehow fails to create instance... Will investigate it later.
CCMAIL: luis@luispedro.org

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=439247
2005-07-27 13:52:37 +00:00
Piotr Szymanski
bb8e583945 -make the library based interprer one of the possibilities
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=438593
2005-07-25 13:25:26 +00:00
Piotr Szymanski
fdf0f2ff51 - gvinterpreter using libgs, doesnt work, gsapi fails to provide an instance, no idea why... moving to owrk on commandline gs
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437870
2005-07-23 11:51:50 +00:00
Piotr Szymanski
1c7662dec2 - makefile changes for reorganisation
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437102
2005-07-20 22:47:35 +00:00
Piotr Szymanski
a1989bda36 - move xpdf to genrators/xpdf/xpdf as it is that generator's backend
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437100
2005-07-20 22:42:44 +00:00
Piotr Szymanski
df76e34a99 - add this too
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437098
2005-07-20 22:39:05 +00:00
Piotr Szymanski
b9d106bb6f - move to generators
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437097
2005-07-20 22:38:29 +00:00
Piotr Szymanski
fc6b0ad1f0 - reorganisation part 1, moving pdf generator to genrators/xpdf
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437095
2005-07-20 22:33:27 +00:00