summaryrefslogtreecommitdiff
path: root/xmlsecurity
AgeCommit message (Collapse)AuthorFilesLines
2014-04-11Use valid UNOIDL identifiers in XCompressedDocumentHandlerStephan Bergmann3-21/+21
...which is new in LO 4.3 and still unpublished. Change-Id: I2d6b553c27906d7855c62f33fdf0060b58d3ec62
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin6-16/+16
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann6-6/+6
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann11-62/+62
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann24-212/+212
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-21coverity#708739 Uninitialized scalar fieldCaolán McNamara1-7/+12
Change-Id: I2ac9aa4d74321c9d4312650e744ce54c4af553bb
2014-03-21coverity#708740 Uninitialized scalar fieldCaolán McNamara1-6/+11
Change-Id: Ic3cb17f2344192a3e9704ff7e1d825e62dc45d19
2014-03-17xmlsecurity: prefer passing OUString by referenceNoel Grandin10-13/+13
Change-Id: I44b96a8adc2f6309088d99ff3bce438f660d302d
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke1-4/+4
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-04fdo#54938: Convert some places to use cppu::supportsServiceMarcos Paulo de Souza5-41/+13
The last cases are non obvious, so it's pratically done Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547 Reviewed-on: https://gerrit.libreoffice.org/8445 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann57-483/+483
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert3-0/+5
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-06typo fixes in commentsAndras Timar1-3/+3
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-01-30convert cert path page to .uiCaolán McNamara7-129/+223
Change-Id: Ic726e5665a46b9e34fb05d800460b50977d94ee6
2014-01-30convert view certs tabdialog to .uiCaolán McNamara7-64/+136
Change-Id: Iee67e273cf19a1af6c4947870bb9f131f0a6cc11
2014-01-28bool improvementsStephan Bergmann5-9/+9
Change-Id: I550337b24e6efe96bb8ac40bd6e574065e84b135
2014-01-22bool improvementsStephan Bergmann1-3/+3
Change-Id: I74db1d1b8250a6832fc68a6856912713b1d8944b
2014-01-17Convert xmlsecurity to cppu::supportsServiceAlexandre Vicenzi6-42/+24
Change-Id: Ifcec9e067e54cc8a3d1254d41d09ea251820849d
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin1-2/+2
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2013-12-20Spelling correction: s/retrive/retrieve/Tor Lillqvist1-3/+3
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann1-0/+4
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann4-8/+8
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin1-6/+6
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen1-1/+1
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin3-6/+5
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin1-1/+1
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann1-1/+0
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14make l10n buildable separatelyBjoern Michaelsen1-1/+4
- 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-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin1-1/+1
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-09Converge on SvtSecurityOptions::isTrustedLocationStephan Bergmann1-13/+1
Change-Id: Ibcf4b7d9d11295c7679637a37d41dc2960e04f8f
2013-11-07remove unnecessary use of OUString constructor in XMLSECURITY moduleNoel Grandin12-15/+15
Change-Id: I95b0eda83c60456f3db267183030fe5f6cd70bc4
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin1-1/+1
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-10-28windows: warning 4355 is disabled globally in com_MSC_defs.mkThomas Arnhold4-21/+0
So there is no need to do this locally, too. Change-Id: I0fa1d0cd3e077ba0985848a9d2cbb061b123e8ad
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist3-3/+3
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-16cleanupThomas Arnhold3-10/+0
Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
2013-10-03CID#708741 uninitialized membersCaolán McNamara1-1/+5
Change-Id: I15475d560e889b0f0fc91d96cfa6ae97e81a41b5
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-3/+0
Change-Id: Ic8279d6a52691532b987e7947709bdc14064cc3e
2013-10-01libxmlsec: stop delivering static and import librariesMichael Stahl1-9/+15
... and also check COM instead of CROSS_COMPILING. Change-Id: I049c9211d4b6eabe4012f66d39d86c7b025dc18c
2013-09-22find lots of external static libraries in UnpackedTarball dirMichael Stahl1-13/+5
Note: do NOT put file paths to static libraries into FOO_LIBS variables that are passed to bundled externals that are built with --enable-static: on Mac OS X this will result in .a archives that contain other .a archives as entries, and trying to link those results in errors like: ld: warning: ignoring file .../libodfgen-0.0.a, file was built for archive which is not the architecture being linked (i386) Change-Id: If2c5a458058e4da76f80b3643e55b489d1edee24
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar1-1/+1
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-04WaE: 'BufferNode::notifyAncestor': recursive call has no side effectsTor Lillqvist3-40/+0
Interesting function that just traverses a chain of objects using recursion, but does nothing at all otherwise. Kill it. But at least it had an Enterprise Ready block comment in front. Change-Id: If2296d2534cb9451d4ceadaf966b8c70f0a17557
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák5-10/+10
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-18fdo#57950: Remove some chained appends in xmlsecurityJelle van der Waa6-39/+17
Change-Id: I35ac622abb995a9259f0774f463ec2816b3668b6 Reviewed-on: https://gerrit.libreoffice.org/5477 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-08-17Revert "fdo#57950: Remove some chained appends in xmlsecurity"Andrzej J.R. Hunt6-18/+40
This reverts commit 4f20c9f6f95c117bcdb520682df4fa1429a56477 Change-Id: I4d8cef801d570b0c20e580144e79a5940b100271 Reviewed-on: https://gerrit.libreoffice.org/5476 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-08-17fdo#57950: Remove some chained appends in xmlsecurityJelle van der Waa6-40/+18
Change-Id: If70fa38ad4836b6dacdd0c5577c66b78be6826a6 Reviewed-on: https://gerrit.libreoffice.org/5465 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-08-12Ifdef out code which had been accidentally un-commented-outTor Lillqvist1-0/+4
The code snippet had been commented out since its introduction in 2004. In 1452e5659796db395efa222d50cc8158275c5442 it was accidentally un-commented-out, but it causes compilation errors. So ifdef it out instead, with a comment. Note that I have no idea what the code does and whether it actually is useful to keep for future reference or not. Change-Id: Ie60ca065b2c65f86a7b382e246c1b650424daa1d
2013-08-11fdo#62475 removed pointless commentsJelle van der Waa6-45/+0
Change-Id: I02b264a9661bcefaea96d6c5743352914154427d Reviewed-on: https://gerrit.libreoffice.org/5345 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-24fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa2-2/+1
Change-Id: Ie959aa5a6874aae3c60273355a959c344e82699e Reviewed-on: https://gerrit.libreoffice.org/5083 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-22Mark as constTakeshi Abe1-1/+1
Change-Id: I2746b92b1360c3c181879a81f653c44ef609f351
2013-07-16convert versions of dialog to .uiCaolán McNamara10-22/+22
Change-Id: I1be2211b5c936e6e00f2fe81883b8fb1e67ef550