summaryrefslogtreecommitdiff
path: root/filter/source/config/cache
AgeCommit message (Collapse)AuthorFilesLines
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist2-4/+4
2013-05-12Quiet cppcheck + simplify/optimize a bitJulien Nabet1-13/+13
Change-Id: Ibb89a7e5b2889ae996684bf4d7664d1fd0cea8ba
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15fdo#60724 informations -> informationThomas Arnhold4-6/+6
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák20-305/+305
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke1-1/+1
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-03-28unused comphelper/locale.hxxEike Rathke1-1/+0
Change-Id: I7f554c04b7697bc847dc44b88dfec8eab63941f6
2013-03-28use LanguageTag instead of comphelper::LocaleEike Rathke1-1/+2
Change-Id: I628c7fdd9e14c8fdd55800aa470268abf4ed2632
2013-03-07Renamed the method to something more appropriate...Kohei Yoshida2-26/+7
Change-Id: I4a0a6ab0998f41ce238d0570fba2133b79c8f19e
2013-03-07Make check passes. Remove deep-only detection for real.Kohei Yoshida2-191/+0
Now the type detection process is a lot more simpler. Change-Id: I5a3a68afef8276a7f07be75c0b2db8151512b3fb
2013-03-07Temporarily disable deep-only detection phase.Kohei Yoshida1-0/+3
In theory we shouldn't have to do this any more now that we do test against all possible format types in the first pass. But let's test if my theory is right... Change-Id: I70d73a99aec56a66deaeb3f942fd2641a2cc7f48
2013-03-07Some cleanup, comments, and re-organizing...Kohei Yoshida1-47/+32
Change-Id: I5a614ae032149b755d609ff05b9ef2fdb842dadf
2013-03-07fdo#60562: List *all* format types that we support and rank them all properly.Kohei Yoshida1-3/+96
I did my best to check each and every one of them and rank them to the best of my ability. Any mistakes are to be fixed as they are discovered. Note that while working on this, I've noticed that we don't actually have any real type detection codes for many of these format types, especially the graphic file formats. If we ever have trouble loading any file type, check if it's caused by not having any detection code for it, and if so, we should write one for that file type. That said, my casual tests on loading graphic files didn't cause any trouble. Change-Id: I1398cbb72b2d4ccf75434a9aa0d2a5c5d17bdaad
2013-03-07Test all file format types regardless of document services.Kohei Yoshida2-119/+120
The old type detection would only test file format types that are relevant to the current document service. But this would not work if the user tries to open an Excel document whose name ends with a non-default extension (such as .tmp) from Writer UI. To amend this, we need to test all possible format types that are supported by all our modules regardless of the current module, but prioritize them per current module. TODO: The above scenario doesn't work yet. I still need to fix the individual type detection services to get it to work. Change-Id: I51dbdff28299aa64cedc6752b9ff82b96d5d79cf
2013-03-07A little boolean cleanups etc.Kohei Yoshida1-19/+20
Change-Id: I5a059f7799255262d46e5248813da4409eb83a9a
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-12/+6
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck1-1/+1
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold4-8/+8
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King5-23/+23
FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-26fdo#60724: lintian typo fix: useful -> usefulGregg King1-1/+1
Change-Id: I5635c3efaaa6bbe1c1e3ec41a502e203fe17e47c
2013-02-25loplugin: improve indentationThomas Arnhold1-6/+3
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-23Fix typo seperated/separatedJulien Nabet2-2/+2
Change-Id: I133423de994b1befe246b6c921802428a3528202
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet3-4/+4
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-20RTL_CONSTASCII_USTRINGPARAM removalsKrisztian Pinter1-2/+2
Change-Id: I389c863f7ea83071a3d3b43a33f505e9e1ce7d16 Reviewed-on: https://gerrit.libreoffice.org/2285 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-17spelling: otherwhise -> otherwiseIvan Timofeev4-7/+7
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-14fdo#57950: Remove some chained appends in filterMarcos Paulo de Souza2-76/+28
Change-Id: I2386eb47ad7190d626966020e96c1a7ddc07ab4a
2013-02-04fdo#59426: Don't try to repair package during flat detection phase.Kohei Yoshida1-0/+2
Change-Id: I35968241a79db0aabe06e25c0efac2aa3d1c5b84
2013-02-04Add some debug bits for type detection code.Kohei Yoshida3-11/+32
The code is used only during debugging and needs to be explicitly enabled by setting DEBUG_TYPE_DETECTION to 1 and inserting the function that prints debug outputs. Change-Id: I72f31eb86f7fcc99030e3bb6c2a869d076b066fd
2013-01-28fdo#46808, Adapt document::FilterConfigRefresh UNO service to new styleNoel Grandin16-88/+67
The service already existed, it just did not have an IDL file Change-Id: I6894a3435159d9f529f2036354e70ee6358fc778
2013-01-27Some cppcheck cleaningJulien Nabet1-0/+1
Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f
2013-01-21Remove more STRINGPARAM macros from filterMarcos Paulo de Souza5-51/+42
Also, remove some chained appends, and sanitize some functions call. Change-Id: I5bfed073bd84e4dee4bc7e7b4715e413859beb50 Reviewed-on: https://gerrit.libreoffice.org/1772 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens15-46/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin2-3/+4
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-09Get ride of not used macros in filterMarcos Paulo de Souza1-30/+0
Change-Id: I7f06720c9f4614b763066bb3cf136f2464b2c7bd Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/843 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2012-10-03re-base on ALv2 code. Includes:Michael Meeks23-541/+334
tkr41: #117828# office crash fixed . (null pointer) + add unit test Patch contributed by Tobias Krause http://svn.apache.org/viewvc?view=revision&revision=1172105 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 remove the OutDev::GetKernPair* stubs completely Patch contributed by Herbert Duerr http://svn.apache.org/viewvc?view=revision&revision=1179221 reverting un-necessary OS/2 conditionals.
2012-09-27Improvements on previous commitStephan Bergmann1-2/+1
* Made XGlobalEventBroadcaster inherit document::XDocumentEventBroadcaster/ Listener replacements for obsolete document::XEventBroadcaster/Listener. This means some client sides unfortunately still need to use UNO_QUERY_THROW to obtain the obsolete interfaces; those client sides should be cleaned up to use the replacement interfaces instead. * Added @since tag (even to unpublished entities, on "it doesn't hurt" grounds). * Made client sides use XGlobalEventBroadcaster directly instead of querying for its super-interfaces. * Replaced new uses of comphelper::ComponentContext::getUNOContext with comphelper::getComponentContext (see 03a9f139bd9ea1a4f9096fc982e6b326def58532 "ComponentContext::getUnoContext -> getComponentContext simplification;" I intend to get rid of comphelper/componentcontext.hxx much sooner than of comphelper/processfactory.hxx). Change-Id: I6d971ebdaea83d0c3fa9ba299fb6b37e58cdfe9b
2012-09-27fdo#46808, Adapt frame::GlobalEventBroadcaster UNO service to new styleNoel Grandin3-11/+9
Create a merged XGlobalEventBroadcaster interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also add two interfaces to the IDL, which the service already implemented, and existing client code already used. Change-Id: Ib7a9a30c0e50146ef621f3fe5227f8aad3190516
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud1-2/+2
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann1-3/+3
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-12Better error reportingStephan Bergmann1-13/+6
(The MESSAGE_CORRUPTED_FILTERCONFIG in the exception's Message would not be seen by end-users anyway, so better put something more useful in there.) Change-Id: I5c677a894a8b6fcfb61d24c59d45b2cbc53e7a60
2012-08-22fdo#52451: Some name changes to be consistent with other prop names.Kohei Yoshida2-2/+2
We use IMPORT EXPORT flags, so let's stick with the term 'Export' as opposed to 'FileSave'. Also, the file type's extensions are given without the star-dot (*.), so let's strip that as well. Change-Id: Ibde05058f7acb6ae149382009e78f3f10a71d543
2012-08-21fdo#52451: Ensure that the extension for text is .txt from writer.Kohei Yoshida2-0/+2
Added a preferred extension property to the filter which overwrites one(s) given by the default file format type associated with it. Normally this property is not used for the majority of the filters, but for plain text filters, we need to use .txt when saving from writer whereas we do .csv from calc. Change-Id: I3453ad084e4379e5cc1101daeb9d2c3ddd919e92
2012-08-08reduce ascii noise and useless commentsThomas Arnhold23-89/+0
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold21-55/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET1-1/+1
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-07-30Const correct-ness.Kohei Yoshida2-11/+27
Change-Id: I4f5572dcde886db50cb8d189da41a862f6cefe72
2012-07-30Avoid non-ASCII characters in source code.Kohei Yoshida1-6/+6
Change-Id: I4014cf6c88ebdacd1c6c167e44ef61980182bc31
2012-07-01Remove unused definesThomas Arnhold1-12/+0
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-06-29Remove some unused defines and controlsThomas Arnhold2-2/+0
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5