Re: I need some help to improve the crash testing

2013-12-19 Thread David Tardon
Hi,

On Thu, Dec 19, 2013 at 01:46:21AM +0100, Markus Mohrhard wrote:
 'application/clarisworks' : 'cwk',
 'application/macwriteii' : 'mw',

These are text document formats - writer.

 'application/x-hwp': 'hwp',

I see hwp in the list already :)

 'application/x-aportisdoc': 'pdb',
 'application/prs.plucker' : 'pdb_plucker',
 'application/vnd.palm' : 'pdb_palm',
 'application/x-sony-bbeb' : 'lrf',

Writer again.

 'application/x-pocket-word': 'psw',

Writer, but IIRC we dropped Pocket Word support a year ago...

 'application/x-t602': '602',
 'application/x-fictionbook+xml': 'fb2',

Writer.

 'image/x-freehand': 'fh',
 'image/x-cmx': 'cmx',
 'image/x-wpg': 'wpg',

Draw.

Btw, you can grep for the mimetype in
filter/source/config/fragments/types , then grep for PreferredFilter
property in filter/source/config/fragments/filters and look at property
DocumentService.

D.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I need some help to improve the crash testing

2013-12-19 Thread David Tardon
Hi,

On Thu, Dec 19, 2013 at 09:22:15AM +0100, David Tardon wrote:
 Btw, you can grep for the mimetype in
 filter/source/config/fragments/types , then grep for PreferredFilter
 property in filter/source/config/fragments/filters and look at property
 DocumentService.

Also, property Flags in filter config. files (i.e.,
filter/source/config/fragment/filters) can contain IMPORT, EXPORT or
both, with obvious meaning :-)

D.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I need some help to improve the crash testing

2013-12-18 Thread Thorsten Behrens
Markus Mohrhard wrote:
 Please write me the format and the name of the export filter as needed by
 storeToURL. I'll add that to the script and will hopefully soon be able to
 provide results for a first full scale import/export testing run.
 
Can look into that for Impress, can you point me to the script?

-- Thorsten


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I need some help to improve the crash testing

2013-12-18 Thread Markus Mohrhard
Hey,


On Thu, Dec 19, 2013 at 1:29 AM, Thorsten Behrens 
t...@documentfoundation.org wrote:

 Markus Mohrhard wrote:
  Please write me the format and the name of the export filter as needed by
  storeToURL. I'll add that to the script and will hopefully soon be able
 to
  provide results for a first full scale import/export testing run.
 
 Can look into that for Impress, can you point me to the script?

 -- Thorsten


Attached is the list of unhandled mimetypes. Additionally bewlow is the
part of the existing mapping.

validCalcFileExtensions = [ .xlsx, .xltx, .xls, .ods, .ots,
.sxc, .stc, .fods, .xlsb, .xlsm, .xltm, .csv, .slk, .wks,
.sdc, .sdc5 ]
validWriterFileExtensions = [ .docx , .rtf, .odt, .fodt, .doc,
.odm, .ott, .oth, .sxw, .sxg, .stw, .dotx, .lwp, .wpd,
.wps, .abw, .hwp, .docm, .dotm, .sdw, .sdw5, .sgl5 ]
validImpressFileExtensions = [ .ppt, .pptx, .odp, .fodp, .otp,
.sxi, .sti, .pptm, .sldm, .ppsm, .potm, .ppotx, .ppsx,
.sldx, .key, .sdd_i, .sdd5, .sdp5 ]
validDrawFileExtensions = [ .odg, .fodg, .otg, .sxd, .std,
.vsd, .vdx, .pub, .cdr, .sda5, .sdd_d ]
validBaseFileExtensions = [ .odb ]
validMathFileExtensions = [ .odf, .otf, .sxm, .mml, .smf, .smf5
]


I plan to push the code soon to the repository but i#m currently still
eliminating embarrassing crashes in the script ;)

If you see any errors please shout. Below is also a list of the export
mapping that I currently use. If you want to see another format in there
please tell me.

Regards,
Markus

'application/vnd.oasis.opendocument.chart': 'odc',
'application/vnd.oasis.opendocument.chart-template': 'otc',
,
# OOo XML
'application/vnd.sun.xml.chart': 'sxs',

# MSO

# W3C
'application/xhtml+xml': 'xhtml',
'text/html': 'html',
'application/docbook+xml': 'docbook',
# misc
'application/x-dbase': 'dbf',
'application/clarisworks' : 'cwk',
'application/macwriteii' : 'mw',
'application/x-hwp': 'hwp',
'application/x-aportisdoc': 'pdb',
'application/prs.plucker' : 'pdb_plucker',
'application/vnd.palm' : 'pdb_palm',
'application/x-sony-bbeb' : 'lrf',
'application/x-pocket-word': 'psw',
'application/x-t602': '602',
'application/x-fictionbook+xml': 'fb2',

# binfilter
'application/x-starchart': 'sds',
'application/vnd.stardivision.chart': 'sds5',

# relatively uncommon image mimetypes
'image/x-freehand': 'fh',
'image/cgm': 'cgm',
'image/tiff': 'tiff',
'image/vnd.dxf': 'dxf',
'image/x-emf': 'emf',
'image/x-targa': 'tga',
'image/x-sgf': 'sgf',
'image/x-svm': 'svm',
'image/x-wmf': 'wmf',
'image/x-pict': 'pict',
'image/x-cmx': 'cmx',
'image/svg+xml': 'svg',
'image/x-MS-bmp': 'bmp',
'image/x-wpg': 'wpg',
'image/x-eps': 'eps',
'image/x-met': 'met',
'image/x-portable-bitmap': 'pbm',
'image/x-photo-cd': 'pcd',
'image/x-pcx': 'pcx',
'image/x-portable-graymap': 'pgm',
'image/x-portable-pixmap': 'ppm',
'image/vnd.adobe.photoshop': 'psd',
'image/x-cmu-raster': 'ras',
'image/x-xbitmap': 'xbm',
'image/x-xpixmap': 'xpm',
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


I need some help to improve the crash testing

2013-12-17 Thread Markus Mohrhard
Hey,

as you might now we have our crash testing script running on a VM and I
added support for testing the export part. However I now need your help in
classifying the file formats.

W need the information which format is imported into which application.
That determines the export formats that we use.

Additionally I need from the people doing the work on fixing crashes and
looking through validation errors the formats that we should use in the
export testing. Currently I have ods, xls and xlsx for calc, odt, rtf, doc
and docx for writer.

Please write me the format and the name of the export filter as needed by
storeToURL. I'll add that to the script and will hopefully soon be able to
provide results for a first full scale import/export testing run.

Regards,
Markus

Btw. you should state if you need validation for your formats. For
everything except for odf and ooxml I would also need the linux tool that
can validate the files.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice