Review Request: calligra helper app

Jarosław Staniek staniek at kde.org
Wed Dec 29 23:07:13 GMT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100267/
-----------------------------------------------------------

Review request for Calligra.


Summary
-------

Introduce calligra app, helper for opening any document using Calligra Suite regardless of the file associations.

Features
*build of calligra is optional, enabled for desktop build, disabled for TINY (SHOULD_BUILD_CALLIGRA variable)
*Calligra/Application defined in servicetypes/calligra_application.desktop
*X-KDE-ServiceTypes=Calligra/Application added to Calligra apps, declares X-Calligra-DefaultMimeTypes
*X-Calligra-DefaultMimeTypes={list} added to Calligra apps
*multiple urls can be used in the calligra command
*algorithm of opening:
1. Find mimetype for the input url
2. Locate application marked with Calligra/Application servicetype that is default handler of the mimetype
2a. If 2. succeeded, open the url, stop.
3. Locate default application (via the preferred service) for the mimetype.
3a. If 3. succeeded, ask the user if the found application should be used. If yes, do use it, stop.
3b. If 3. failed, display the standard "Open With" dialog so the user can choose application that should be used.

branch: tools-calligra_app-staniek


Diffs
-----

  CMakeLists.txt c1e218c 
  flow/src/part/flow.desktop cf19a44 
  karbon/data/karbon.desktop 43c29fe 
  kchart/kchart.desktop db5dfcb 
  kexi/kexi.desktop 54a8a77 
  kformula/kformula.desktop 7d9e4f6 
  kplato/kplato.desktop 46c12ab 
  kplato/workpackage/kplatowork.desktop 0658a33 
  kpresenter/part/kpresenter.desktop 6f410db 
  krita/krita.desktop 1249896 
  krita/plugins/formats/bmp/krita_bmp.desktop 8e5ecc6 
  krita/plugins/formats/eps/krita_eps.desktop ef26df2 
  krita/plugins/formats/exr/krita_exr.desktop 034588a 
  krita/plugins/formats/gif/krita_gif.desktop 11e44e0 
  krita/plugins/formats/jp2/krita_jp2.desktop 3e8aa25 
  krita/plugins/formats/jpeg/krita_jpeg.desktop e749380 
  krita/plugins/formats/odg/krita_odg.desktop ee30854 
  krita/plugins/formats/ora/krita_ora.desktop 576c36e 
  krita/plugins/formats/pdf/krita_pdf.desktop 6829649 
  krita/plugins/formats/png/krita_png.desktop db65b16 
  krita/plugins/formats/ppm/krita_ppm.desktop c7c57d6 
  krita/plugins/formats/psd/krita_psd.desktop 01dae05 
  krita/plugins/formats/raw/krita_raw.desktop 0804d26 
  krita/plugins/formats/tiff/krita_tiff.desktop b508f7a 
  krita/plugins/formats/xcf/krita_xcf.desktop 185cf69 
  krita/sdk/templates/filefilter/krita_APPNAMELC.desktop 5522223 
  servicetypes/CMakeLists.txt 38abc0e 
  servicetypes/calligra_application.desktop PRE-CREATION 
  tables/tables.desktop 427afa1 
  tools/CMakeLists.txt a10cd08 
  tools/calligra/CMakeLists.txt PRE-CREATION 
  tools/calligra/Messages.sh PRE-CREATION 
  tools/calligra/main.cpp PRE-CREATION 
  tools/f-office/freoffice.desktop fb955ec 
  words/part/words.desktop 5c10e82 

Diff: http://git.reviewboard.kde.org/r/100267/diff


Testing
-------

Transparent for all apps. Test opening various document performed for all cases in the above algorithm. 


Thanks,

Jarosław

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20101229/7c9ae0b7/attachment.htm>


More information about the calligra-devel mailing list