Commit Graph

43 Commits

Author SHA1 Message Date
f82f7bf3dd Introduce centralized detection for storage-based files
This will allow us to get rid of the duplicated code,
and simplify the type detectors.

Also this commit fixes fdo#46310 and fdo#74978.

Change-Id: I08e958ab10d05e1036cdc2bed5ce14bf73b6245c
Reviewed-on: https://gerrit.libreoffice.org/9221
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2014-05-01 17:03:10 +00:00
58b76a1883 add ppm regression test
Change-Id: Ifd5f68a3b0dec16f8d992f75fba8c9920700f351
2014-04-18 14:37:58 +01:00
3e28dff92c add regression tests for psd filter
Change-Id: Ia9b34bc3b77902f8edbc0e7040da5edd02e02879
2014-04-17 16:19:39 +01:00
9de20d1eb0 add tests for CVE-2008-1097, etc.
Change-Id: Iad6948fdf6eb60f86d764783b72a4fe7f5642e40
2014-04-17 12:00:40 +01:00
e02a6cb2c3 add a ras import test
Change-Id: Idc9267a2bb1bca13c40c746ab3b1974d7e4258ab
2014-04-11 21:51:22 +01:00
6967da019b filter: make LibXSLTTransformer init backward compatible
As reported by Fernand Vanrie, initializing the XSLT service can fail
because the LibXSLTTransformer::initialize was changed to require
the parameters as a nested Sequence; accept previous parameter
convention as a fall-back.

(regression from ca0ea73a4ab104031a16b5bac7a9bb6e57c77ba0)

Change-Id: I136e6e6338f11ffecf9f856f0736d1d0e6b17c3f
2014-03-04 18:05:17 +01:00
d5890e87ab Merge HTML detection to text detection service
Setting the filter name explicitly is not really required,
because TypeDetection::impl_checkResultsAndAddBestFilter
is able to select the correct filter anyway. But it seems that
other detection services also do it, so I followed that way.

Change-Id: I6e73fa79c6867d82f98d63e8d2b7865446f088ef
Reviewed-on: https://gerrit.libreoffice.org/8213
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-03-01 14:45:45 -06:00
cc2893834d related: fdo#73682 Introduce HTML detection service
Change-Id: I66bb579019ce8411b821c623955a454fd81cf811
Reviewed-on: https://gerrit.libreoffice.org/7600
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-01-23 14:49:22 +00:00
78c7eb3507 uiconfig is a l10n-relevant target
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-12-16 17:36:26 +01:00
a1115a5983 fix build
Change-Id: I43391416dba532edd1830e490f7860dc16775fd4
2013-11-14 16:54:35 +01:00
04dead1c6b make l10n buildable separately
- this renames the 'almost' module target to non-l10n
- and adds a l10n target which is intended to only build l10n parts of
  the product
- packagers should then be able to build l10n and non-l10n parts of the
  product independently, thus:
   - enable quicker rebuilds
   - distribution of load
   - updates to l10n without a full rebuild
   - security fixes to binaries without rebuilding all l10n
- the new targets are called build-l10n-only and build-non-l10n-only
- note this is not intended to move a concept of split packages
  upstream -- while this exsists in distros, the number of test
  scenarios for this would explode upstream

Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863

Conflicts:
	filter/Module_filter.mk
2013-11-14 16:45:02 +01:00
191dc43f97 Convert ImpSWFDialog.src to ui
add ui file

Change-Id: I42af9b8969a07b4d738c1fd30fc8917f24f784c6
Reviewed-on: https://gerrit.libreoffice.org/6592
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-13 14:01:37 +00:00
0822a4c84a install xslt filters using filelist
Change-Id: Id84765285b1ace19442ec13d7212e4121f77dabd
2013-05-01 16:55:41 +02:00
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00
ed72983131 rename UI to UIConfig
I plan to use it to deliver all */uiconfig files, not just .ui, as a
preliminary step to get rid of postprocess/packconfig.

Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149
Reviewed-on: https://gerrit.libreoffice.org/3225
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11 03:37:30 +00:00
6a6519c27a Export current Writer page as jpg/png
This is first step to rework of graphic exporting. The idea is to
replace the exporter that works only for Draw/Impress and replace
it with a general exporter for any object. With this it will be
far easier to export objects as charts. Currently only Writer is
supported and only jpg/png.

Additionally, this commit introduces a new Export dialog which
supports setting the pixel width, height and DPI.

Change-Id: I7302b26bd432840d7ef0c3d2d2e13ff150cd2a07
2013-03-25 23:50:10 +01:00
96248beb79 drop empty make rule
Change-Id: I95b8c28a5f7ad7de8b51096fb44f98b48042ca8a
2012-11-27 21:46:42 +00:00
143f0b895f removed obsolete xml validation service and xml source view.
Change-Id: I637531c09b391ef458ae6395518129d981662ff2
Reviewed-on: https://gerrit.libreoffice.org/1166
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-27 21:37:55 +00:00
4664dc52d9 More DISABLE_EXPORT tweaks
Change-Id: I23652e60de720af4da13f29f221001813b927eb2
2012-11-26 10:59:38 +02:00
bcafd193e7 convert xslt filter dialog to .ui
Change-Id: Ia07df75b00b7d34da9dfeeddb47280ddba23b897
2012-11-20 16:47:33 +00:00
bfc71eb03e drop saxon-based XSLT transformer
Change-Id: I2cd4e0965452c376df8c5e43353fbdd6f62fb27d
2012-10-25 14:48:23 +02:00
25113cd050 convert java XSL transformer into extension
Change-Id: Ided6c480969764073056830722c8996e0df52285
2012-10-25 14:48:22 +02:00
4ea8ddb05b PptImporter is unused; it was also missing in scp2
Change-Id: I87c8d46d791525e3e5b6866edc6423e92cbcca81
2012-10-02 11:30:32 +02:00
e0f90c3060 introduce new option --disable-cve-tests
Change-Id: I288638c4a70396ccb7354b20e901aa0c46ffe442
Reviewed-on: https://gerrit.libreoffice.org/653
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-09-20 09:48:29 +00:00
87c7f609cc filtertracer seems to be unused
It has no .component file anyway.

Change-Id: Ia6f609a237cb4268161fe1f139b1f5c0d1d6fc5e
Reviewed-on: https://gerrit.libreoffice.org/528
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2012-09-04 11:06:07 +00:00
30e1b61157 No point with these executables for non-desktop OSes
Change-Id: If2e086cf2783c187f2cdb479608aa91561e0d674
2012-08-07 08:55:24 +03:00
7abe82d525 add pict regression test
Change-Id: I6765bd2de27971c441a7d3f8879e4fd9bc3112cf
2012-07-27 12:27:24 +01:00
2a2158c7ea re-base on ALv2 code.
Change-Id: I0cba9316e229362fa82a45d9e4d4763a6cf29540
2012-06-21 13:11:06 +01:00
a0b640bd18 Initial skeleton code for plain text filter detection service.
Right now it will always fail.

Change-Id: I50011bbf7ce59c3b299d23e688dd1af87bcafeb6
2012-05-25 02:04:18 -04:00
3c0f54a41a Make svg2odf really build :-) 2012-04-14 16:03:10 +02:00
c0a3ff4ad8 Temporarily disable the build of svg2odf. 2012-04-14 15:50:03 +02:00
2a63c47b5b Build svg2odf tool to be able to test the svg import. 2012-04-14 15:37:41 +02:00
58404101e8 filter: use CustomTarget makefile 2012-04-04 11:31:56 +02:00
c8587d05bd confirmed that tests pass on windows 2012-03-22 12:26:41 +00:00
a52f5254c7 tga filter broken for quite a while 2012-03-21 12:48:59 +00:00
e6c0961c3d add a tiff test 2012-03-14 16:34:43 +00:00
76ecc8f15c Don't do the Jar thingies if we don't want to use Java 2011-09-16 12:03:48 +03:00
b72e42b29c filter: add missing resource makefiles 2011-09-15 14:07:29 +02:00
94883340a9 filter: convert odfflatxml library 2011-09-15 14:07:29 +02:00
8c8b34694a filter: svg: adapt to changes in LO 2011-09-15 14:07:28 +02:00
83cb157c54 filter: convert some more libraries to gbuild 2011-09-15 14:07:28 +02:00
2ee5f24cc6 filter: convert some libraries and jars to gbuild 2011-09-15 14:07:27 +02:00
d1248e2413 filter: convert filter configuration to gbuild 2011-09-15 14:07:26 +02:00