summaryrefslogtreecommitdiffstats
path: root/l10ntools
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:useuniqueptr extend to check local varsNoel Grandin2017-12-052-8/+5
| | | | | | | | | | | | | | just the simple and obvious case for now, of a local var being allocated and deleted inside a single local block, and the delete happening at the end of the block Reviewed-on: https://gerrit.libreoffice.org/33749 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 2489000d3fd66319a8355fd4e37cfdfda47296d0) Change-Id: I3a7a094da543debdcd2374737c2ecff91d644625 (cherry picked from commit e540ccfb5eb43bd4a3d6920074dce8436720ba8e)
* tdf#106525: Implement an XSLT import filter for ADO rowset XMLMike Kaganski2017-04-061-2/+2
| | | | | | | | | | | | | | | | | There are online services and management systems (like SharePoint) that allow to export datasets in ADO rowset XML format ([MS-PRSTFR], https://msdn.microsoft.com/en-us/library/cc313112). Usually they are intended to be open with MS Excel as a spreadsheet (with autofilter). This allows to open this data in Calc. Change-Id: I495cd790138bdd6bd24630c0f422a0c8b4e3d0fb Reviewed-on: https://gerrit.libreoffice.org/35159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit d6323a2180cf51f9bd6a62d50503c2e0ef0964f1) Reviewed-on: https://gerrit.libreoffice.org/36131 Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
* loplugin:unusedfieldsNoel Grandin2016-11-172-12/+0
| | | | | | | Change-Id: Id2dbbf384637223db3d334d95332251832918003 Reviewed-on: https://gerrit.libreoffice.org/30927 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:countusersofdefaultparams in editeng..rscNoel Grandin2016-11-111-2/+2
| | | | Change-Id: I8a8d13faf228cbc934ae21d6763d92d370eb42ec
* loplugin:expandablemethods in hwpfilter..linguisticNoel Grandin2016-11-082-3/+2
| | | | | | | Change-Id: I62ae20ab4a47b3b7e2b0d503cedcad3319cc9c85 Reviewed-on: https://gerrit.libreoffice.org/30683 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:expandablemethodds in hwpfilter..linguisticNoel Grandin2016-10-192-8/+1
| | | | | | | Change-Id: If20fd4a6cf8a8e005804dbb7caf41cce73d587a5 Reviewed-on: https://gerrit.libreoffice.org/30016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:singlevalfields in l10ntools..saxNoel Grandin2016-09-152-10/+0
| | | | | | and ignore URE headers in the plugin Change-Id: I939df744c1173cf0f67d515f6c3fb4ac4cb25588
* loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann2016-09-133-8/+8
| | | | | | | | | | | | | | | | | The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
* coverity#1371323 Missing move assignment operatorCaolán McNamara2016-09-122-0/+8
| | | | Change-Id: I806cb0a1ede9c025c00fab58a3fd8835887c0a44
* this doesn't need a virtual dtorCaolán McNamara2016-09-121-7/+1
| | | | Change-Id: I5c628a063fb5309f493729ee4bd7b122a3d2c3d5
* add Venetian (vec) ui languageChristian Lohmaier2016-08-311-0/+1
| | | | Change-Id: I643eb91691dddf2c4ece2edb27383cb7dd0e3fdc
* screenshot: develop interactive screenshot dialogArmin Le Grand2016-08-281-1/+1
| | | | | | | | | | | | | | | | Implemented a first version of an interactive screenshot dialog that supports annotations, text excerpts for these and allows to create a screenshot file How to use: * enable experimental features in Tools->Options * open any random dialog * open context menu - there's now a 'Screenshot' entry * click that, screenshot dialog pops open, mouse over the grayed-out screenshot to highlight controls * click once to highlight, click a 2nd time to unselect Change-Id: I3bcd76b96ad023e11421e4fcfac866ebf4f5ff78
* new loplugin to check for static OUStringsNoel Grandin2016-08-161-5/+1
| | | | | | | | | that are better declared as OUStringLiteral Change-Id: Ifb5d9a12bb31a68641940bec16971a8181a46567 Reviewed-on: https://gerrit.libreoffice.org/27377 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:countusersofdefaultparams in framework..lotuswordproNoel Grandin2016-08-052-2/+2
| | | | | | | Change-Id: I9833d85eb6543e996b0f357657c53b1c076ecde4 Reviewed-on: https://gerrit.libreoffice.org/27898 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* improve passstuffbyref return analysisNoel Grandin2016-07-274-8/+8
| | | | | | | Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Fix typosAndrea Gelmini2016-07-221-1/+1
| | | | | | | | | | Thanks to Carlo Bertoldi for the german translation. Change-Id: I76f554e757318aed4e28b5a05fae0ba15bd46afb Reviewed-on: https://gerrit.libreoffice.org/27355 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* ditch the application per-language IsAutoMnemonicEnabled settingCaolán McNamara2016-07-101-2/+0
| | | | Change-Id: I9734ada09edb6544a332893a7c5d31730b0d081d
* ditch the multiply dialog width * X where X is based on language thingCaolán McNamara2016-07-101-2/+0
| | | | | | | Which should be unnecessary since the vcl layout work and optimal size widgets, and its a small and arbitary set of languages for which its set. Change-Id: Ifa397218510ade251f795cdd9360d6bdccb115b7
* Remove last traces of First Start WizardSamuel Mehrbrodt2016-07-051-1/+1
| | | | | | | Change-Id: Idf7171ecfd90edf47fb29d44b8036578a2e6ad61 Reviewed-on: https://gerrit.libreoffice.org/26935 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Fix some spelling errors in comments and stringsOtto Kekäläinen2016-07-042-2/+2
| | | | | | | Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e Reviewed-on: https://gerrit.libreoffice.org/26883 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
* tdf#99589 - tolower / toupper - dangerous to Turks ...Gökhan Gurbetoğlu2016-06-231-2/+2
| | | | | | | Change-Id: I8b0fe9354232a7b60f3605fa6f90f6741f7bf683 Reviewed-on: https://gerrit.libreoffice.org/26537 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* loplugin:unusedmethodsNoel Grandin2016-06-011-1/+0
| | | | | | | Change-Id: Ia7981447e96d9ac87526ad1276585ab3077d7f08 Reviewed-on: https://gerrit.libreoffice.org/25707 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethodsNoel Grandin2016-05-261-1/+0
| | | | | | | Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* l10ntools: replace boost::crc with rtl_crc32Michael Stahl2016-05-252-23/+4
| | | | | | | | Tested with output of "make translations", it apparently computes the same CRC function, despite the documentation specifying different polynomials, but maybe that is just different notations... Change-Id: Ia28a881f5cdf54326fe5051527acd445e7a5771c
* Convert LIST to scoped enumNoel Grandin2016-05-222-34/+33
| | | | | | | Change-Id: Ia8a1dbf0277c553e8bd7b3a1da5b9f865f076608 Reviewed-on: https://gerrit.libreoffice.org/25195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Convert STATE to scoped enumNoel Grandin2016-05-201-15/+13
| | | | Change-Id: Id2bb63be495a50376dbaccf6eeb27a900fc2ac7b
* Convert TEXT_STATE to scoped enumNoel Grandin2016-05-201-6/+5
| | | | Change-Id: I86822b99c81f1e6f2cd6a117f15fdc3d20d18495
* Convert ID_LEVEL to scoped enumNoel Grandin2016-05-203-11/+9
| | | | | | | Change-Id: Icdb5f39329ddb94fc1a51e59c8ac99d2684f9cbc Reviewed-on: https://gerrit.libreoffice.org/25164 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods in l10ntools to lotuswordproNoel Grandin2016-05-191-1/+0
| | | | | | | Change-Id: Ibda82734821f3faa9388f7508e6a3e39e5b5007d Reviewed-on: https://gerrit.libreoffice.org/25106 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#99589 tolower / toupper - dangerous to Turks ...Krishna Keshav2016-05-101-1/+2
| | | | | | | | | | | replaced tolower with to AsciiLowerCase() in lingucomponent/source/languageguessing/altstrfunc.cxx l10ntools/source/gL10nMem.cxx Change-Id: I1340da18b263a4a921e2e8d96c0f133fe300086e Reviewed-on: https://gerrit.libreoffice.org/24682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Add SAL_FALLTHROUGH, where apparently appropriateStephan Bergmann2016-05-101-1/+1
| | | | Change-Id: Ib0cb61ce63b065f6e2845ef7e8da0827556110ba
* genlang .src lex support for sfx itemsjan Iversen2016-05-051-14/+14
| | | | Change-Id: I011daee882fd1831bf5dfa7bc69290af4727de95
* genlang, made gDiff.sh intelligentjan Iversen2016-05-051-2/+6
| | | | | | Removed output from identical files Change-Id: Id9619b7cd005aa8087fcccf4e679ee13e14955eb
* genlang helpcontent2 is now identicaljan Iversen2016-05-051-53/+57
| | | | | | | Helpcontent2 generated pot files at different locations than as stored in pootle (strange). Change-Id: I647d6acaf775d4a8c304855c90cfafd5e9a7d392
* genLang .tree files got "help_section"jan Iversen2016-05-042-3/+4
| | | | | | | | Added text type to .tree files fixed line wrap problem when saving to .pot Change-Id: I551521bb81e21724edf8f3bfa8aba1516ca7e879
* genlang keygen with newline changedjan Iversen2016-05-041-2/+15
| | | | | | | when generating the keyid for text, all newlines \n must be converted to 0x0A Change-Id: I626776e94a6573d044522990a7f9ccc3d52b825b
* genlang correct xcu filterjan Iversen2016-05-042-3/+8
| | | | | | modified algorithm for adding "." Change-Id: Ibaa59cf5faa7bf211ead222dbb2e5a391929d679
* genlang .ulf uses LngText as id.jan Iversen2016-05-031-1/+1
| | | | | | Added fixed subid for .ulf files Change-Id: I9e882e3ab40e334c7d504d583b8e515d9dc36d6b
* genlang .xcu dot handling and level func for .srcjan Iversen2016-05-035-7/+9
| | | | | | | .xcu stores a '.' between keys and keys with no name count .src has commands without name (identifier used instead) Change-Id: I135c5f5594c429ebc1b278dbb7d5709b7b8ca119
* genlang .src single line macrojan Iversen2016-05-031-2/+3
| | | | | | | Macros do not always end with \\ only those for translation added #define exception to the lex layer. Change-Id: I656bb8776d970288c243302cdc74a0afd975975e
* genlang macro support for .src filesjan Iversen2016-05-025-57/+83
| | | | | | | Added macro detection in .src filter Updated gDiff and gRun scripts with enhancements Change-Id: Idddd3ef72e8ccee65d03fe5080e27699ceebb079
* vm174 .xcu updatejan Iversen2016-05-021-0/+1
| | | | | | One project uses "." as prefix, but LO uses ".." Change-Id: I18eaf66c54176b0c3268d9fb94a002e4b68722fe
* genLang .src conversion, first version.jan Iversen2016-05-024-172/+218
| | | | | | | | | | LO uses the .src quite differently, so a new implementation was made. The unused old functions are hanging in a #if 0, and will be removed later. Change-Id: Ic466a1b97f9f65c9f658612bd2aa325396e929c3
* genlang, update to compile with VC 2015, and script cleanupjan Iversen2016-04-303-416/+12
| | | | | | VC2015, detected a problem that VC2013 did not. Change-Id: I4378ad5b2c831900460839aebe0a18bbc4bc062a
* update loplugin stylepolice to check local pointers varsNoel Grandin2016-04-261-5/+5
| | | | | | | | | | | | are actually pointer vars. Also convert from regex to normal code, so we can enable this plugin all the time. Change-Id: Ie36a25ecba61c18f99c77c77646d6459a443cbd1 Reviewed-on: https://gerrit.libreoffice.org/24391 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-202-8/+8
| | | | Change-Id: I689887a14e6797a83c31069d3fa7a3b20d33a681
* cppcheck: unused variablesCaolán McNamara2016-04-182-3/+3
| | | | Change-Id: Ief3d2cd7af2047e49ea026d8a94d7532769a820c
* cppcheck: catchExceptionByValueCaolán McNamara2016-04-181-2/+2
| | | | Change-Id: Id8e2fc67a1de4f608188d070f0f536576ad0e69a
* cppcheck: noExplicitConstructorCaolán McNamara2016-04-181-1/+1
| | | | Change-Id: Iee9d28c9630a144e4da8e46e58f01a4be99aa961
* loplugin:passstuffbyref in variousNoel Grandin2016-04-143-13/+13
| | | | Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022