summaryrefslogtreecommitdiffstats
path: root/helpcompiler
Commit message (Collapse)AuthorAgeFilesLines
* V801: Decreased performanceCaolán McNamara2015-03-092-2/+2
| | | | Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
* Typo: containted->containedJulien Nabet2015-02-211-1/+1
| | | | Change-Id: I678c35ca2007169a38529b36fd31367bac4ed481
* Typo: trough->throughJulien Nabet2015-02-211-1/+1
| | | | Change-Id: I5af784709df88492695d1ac9c9a5b020e909f362
* Resolves: fdo#88970 fix Incorrect Extended-tips with dodgy ahelp tagsCaolán McNamara2015-02-021-5/+25
| | | | | | | | | | | | ahelp puts the tip on the previous bookmarks with hid branches but has a scattergun effect if those previous bookmarks have nothing to do with the current element being described. So take the hid attribute of the ahelp and if its hid="." use the current set of bookmarks as the context otherwise believe it and apply the tip just to the stated hid Change-Id: I00648daadf5673e1abc96f222a4526959f1f7d7a
* replace '\n' to space in extended help textAndras Timar2015-01-221-0/+1
| | | | | | | Change-Id: Ida354ee41b4158716ab39a92f009fa7c9a2ce21f Reviewed-on: https://gerrit.libreoffice.org/13919 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Some more loplugin:cstylecast: helpcompilerStephan Bergmann2015-01-204-31/+31
| | | | Change-Id: I9e094356601cf156537f75d0629fd214710d80e8
* fdo#39440 reduce scope of local variablesŁukasz Hryniuk2015-01-071-1/+1
| | | | | | | | | Beside scope changes, it fixes lack of initialization in a few places. Change-Id: Ia09fdb9845d8ac17256330a5ec5168401c84f0f2 Reviewed-on: https://gerrit.libreoffice.org/13755 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Some loplugin:revisibility clean-upStephan Bergmann2015-01-051-1/+1
| | | | | | | | | | | | | Stumbled across such redundant visibility re-specifications when looking at the odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in cppu/source/cppu/cppu_opt.cxx and used in inline code in include/com/sun/star/uno/Reference.hxx with only a declaration lacking CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows. However, this plugin is probably not worth it being run all the time, so committing it to compilerplugins/clang/store/. Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
* boost::unordered_map->std::unordered_mapCaolán McNamara2015-01-022-4/+4
| | | | | | you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
* indent try-block, remove obsolete commentMichael Weghorn2014-12-171-136/+135
| | | | | | | | | | indent block one level deeper than block in which it is contained Change-Id: Ibefd1a87c25100001f842f42f053d9e68feba8a6 Reviewed-on: https://gerrit.libreoffice.org/13498 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* coverity#704150 Resource leak in objectCaolán McNamara2014-12-151-9/+9
| | | | | | | | | and coverity#704151 Resource leak in object coverity#704152 Resource leak in object Change-Id: I68c455adc25375b8027236fd44d99a397e372994
* More -Werror,-Wunused-private-fieldStephan Bergmann2014-10-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...detected with a modified trunk Clang with > Index: lib/Sema/SemaDeclCXX.cpp > =================================================================== > --- lib/Sema/SemaDeclCXX.cpp (revision 219190) > +++ lib/Sema/SemaDeclCXX.cpp (working copy) > @@ -1917,9 +1917,10 @@ > const Type *T = FD.getType()->getBaseElementTypeUnsafe(); > // FIXME: Destruction of ObjC lifetime types has side-effects. > if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) > - return !RD->isCompleteDefinition() || > - !RD->hasTrivialDefaultConstructor() || > - !RD->hasTrivialDestructor(); > + return !RD->hasAttr<WarnUnusedAttr>() && > + (!RD->isCompleteDefinition() || > + !RD->hasTrivialDefaultConstructor() || > + !RD->hasTrivialDestructor()); > return false; > } > > @@ -3517,9 +3518,11 @@ > bool addFieldInitializer(CXXCtorInitializer *Init) { > AllToInit.push_back(Init); > > +#if 0 > // Check whether this initializer makes the field "used". > if (Init->getInit()->HasSideEffects(S.Context)) > S.UnusedPrivateFields.remove(Init->getAnyMember()); > +#endif > > return false; > } to warn about members of SAL_WARN_UNUSED-annotated class types, and warn about initializations with side effects (cf. <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039602.html> "-Wunused-private-field distracted by side effects"). Change-Id: I3f3181c4eb8180ca28e1fa3dffc9dbe1002c6628
* (Rudimentary) C++11 support is a hard requirement nowStephan Bergmann2014-09-111-4/+1
| | | | Change-Id: I43ed776d52336b822aa6152f0f2a29e39303bb75
* New loplugin:stringconcatStephan Bergmann2014-07-011-2/+1
| | | | Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
* coverity#1223090 Uncaught exceptionCaolán McNamara2014-06-172-2/+2
| | | | Change-Id: Iec100b86e2952a5efe4fa52bd85fbc00b51f78c3
* coverity#983682 Uncaught exceptionCaolán McNamara2014-06-102-2/+4
| | | | Change-Id: Ie5c7ce0ba499ce67365c5e2079a50d73b9849e73
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-093-8/+1
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
* Fix memory leakStephan Bergmann2014-05-281-6/+11
| | | | | | ...and add---most likely necessary---null check Change-Id: I3f31c20442c45ddfd98429347f5c2521597c1769
* Correct common misspellings, and remove some ASCII art along the way.Chris Laplante2014-05-171-1/+1
| | | | | | | Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
* fixincludeguards.sh: some smaller dirsThomas Arnhold2014-04-194-8/+8
| | | | Change-Id: Ic25bd678dc299627299b22145efd7bebcf2b39d0
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-04-172-8/+8
| | | | Change-Id: Ibadadacbe09a93e7d7a7210868c52a8fa582d427
* typo: paramter -> parameterThomas Arnhold2014-04-141-2/+2
|
* Remove visual noise from helpcompilerAlexander Wilms2014-02-261-1/+1
| | | | | | | Change-Id: Ied20352592de019c3b4735af8cc63947cd7d61a2 Reviewed-on: https://gerrit.libreoffice.org/8266 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#707948 Uninitialized scalar fieldCaolán McNamara2014-02-111-3/+5
| | | | Change-Id: I254c5695f1a80eba8a90421da3417969b3e0e8f8
* bool improvementsStephan Bergmann2014-01-281-2/+2
| | | | Change-Id: I510d75d784c357dfd3420202fc8c5769e665e456
* Remove unnecessary use of OUString constructor in + expressionsNoel Grandin2013-12-171-2/+2
| | | | | | | | | Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin2013-11-201-3/+3
| | | | | | | | | | Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
* remove unnecessary use of OUString constructorNoel Grandin2013-11-111-3/+2
| | | | Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
* remove redundant calls to OUString constructorNoel Grandin2013-11-041-4/+3
| | | | | | | | | Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
* Remove unnecessary SyntaxHighlighter::Tokenizer statefulnessStephan Bergmann2013-10-281-1/+0
| | | | | | ...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it. Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e
* Fold SyntaxHighlighter::initialize into ctorStephan Bergmann2013-10-281-2/+2
| | | | | | ...which reveals that m_pKeyWords, m_nKeyWordCount members are unused. Change-Id: I55020e892d463f2e40d5bcf71efba92778b317c1
* Remove unused SimpleTokenizer_Impl::nLine/nColStephan Bergmann2013-10-281-2/+2
| | | | | | ...which are never read; remove thereby unused parameters from functions. Change-Id: I644d2dc1b2d13ae2f932d04243521eef97e67e3e
* Use conventional std::vector idiomsStephan Bergmann2013-10-221-5/+5
| | | | Change-Id: I4d26372ea40e7890b76461a764435f8948466ae1
* Unwind HighlightPortions typedefStephan Bergmann2013-10-221-1/+1
| | | | Change-Id: I0ecc15f9bfd557d0a70a05536906a4984a46463c
* remove last uses of config 'GUI' variableMatúš Kukan2013-06-201-5/+4
| | | | | | | Change-Id: I97188235f0b72b5b54423e05deeaf17c5c681048 Reviewed-on: https://gerrit.libreoffice.org/4188 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* rename HAVE_CXX0X->HAVE_CXX11 and clean up to #define in a config headerLuboš Luňák2013-06-132-7/+3
| | | | Change-Id: Id13e77fe890301a8510952994a91853568a7aea6
* helpcompiler: remove Package_incMichael Stahl2013-05-0713-281/+14
| | | | Change-Id: Iddafa9068edcc20135c08ed205b8fb7fb5382eba
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-3010-231/+40
|
* rename expat external to 'expat'David Tardon2013-04-093-3/+3
| | | | | | | expat_utf16 is long gone, so there is no need to fool around with expat_utf8. Change-Id: I0dd4a5c4d78805e98913e645cc83d2ab634bcb89
* HelpLinker: add comment for mysterious XML parsingMichael Stahl2013-04-081-0/+3
| | | | Change-Id: I9aa5fd2cb0cb4eae0a94f8d3d6b6185a1fcffdc4
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0712-111/+111
| | | | | | | | 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
* Remove Mac OS X for PowerPC supportTor Lillqvist2013-04-031-7/+0
| | | | Change-Id: I10b15141e6a5f93365e1cfa6fbc0c7cc3ea49b15
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-191-7/+7
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* fdo#60148 Clean up warnings from the Clang compiler pluginnccuong2013-03-061-2/+1
| | | | | | | | 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>
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* do not create index for shared help moduleDavid Tardon2013-02-282-0/+7
| | | | Change-Id: I83f9b99abcc952dfea924662a0db8d98efc56307
* add opt -nolangroot needed for gbuildDavid Tardon2013-02-262-1/+7
| | | | Change-Id: Id76dfc5698619f8095e0c682ae4ce5e181c9a599
* avoid string substr/replace with invalid posDavid Tardon2013-02-261-3/+6
| | | | Change-Id: Iceb9851bcb5e6fe66efd701fcb31e16596fe8b5a
* Move SyntaxHighlighter class from svtools to comphelperAndras Timar2013-02-163-4/+3
| | | | | | | | We use this class in helpcompiler, and it is not desirable to compile svtools (thus half of LibreOffice) for a build tool in cross-compiling environment. Change-Id: I5e6bc3e576af41eb03c1420dd347c542306f69fa