summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-2626-321/+321
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* coverity#982784 Unintentional integer overflowCaolán McNamara2014-03-211-7/+6
| | | | Change-Id: Ib50e0987adf419ecdd569fc5dd5c8b2b1e246e2f
* coverity#707964 Uninitialized scalar fieldCaolán McNamara2014-03-211-0/+2
| | | | Change-Id: I051e5ae4200563426d810e9a4d94ab02fb8ccf51
* Find places where OUString and OString are passed by value.Noel Grandin2014-03-184-12/+12
| | | | | | | | | | It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
* package: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2014-03-102-4/+2
| | | | Change-Id: I6cfedbb93fade4179d9dcbf3701116d4b320ebd3
* Use cppu::OImplementationId for XUnoTunnel IDsStephan Bergmann2014-03-104-15/+10
| | | | Change-Id: I564ec761b7a7b3488682acfb3aff56beb3f68213
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-2648-618/+618
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from packageAlexander Wilms2014-02-2641-186/+186
| | | | | | | Change-Id: Icef40ad2d451d3c5ca90ed4b305ece5430d352f7 Reviewed-on: https://gerrit.libreoffice.org/8289 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe2014-02-213-5/+3
| | | | Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
* comphelper: sal_Bool -> boolStephan Bergmann2014-02-174-29/+29
| | | | Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
* ucbhelper: sal_Bool -> boolStephan Bergmann2014-02-171-1/+1
| | | | Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
* normalize values of SYSTEM_ZLIB, SYSTEM_DICTS, SYSTEM_FONTCONFIGMichael Stahl2014-02-121-1/+1
| | | | Change-Id: I7530cb9d0797df5fc86695b0379cc44c159d2ab5
* fdo#54938 Convert to cppu::supportsServiceAlexandre Vicenzi2014-02-031-6/+1
| | | | | | | | Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10 Reviewed-on: https://gerrit.libreoffice.org/7649 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
* bool improvementsStephan Bergmann2014-01-287-7/+7
| | | | Change-Id: I5dfdb3a11737a2cb805ff44652c9ca502e5fc81b
* Don't use OSL_LOG_PREFIX when throwing exceptions in non-debug builds.Jan Holesovsky2014-01-2714-731/+815
| | | | | | | | | | | | Using OSL_LOG_PREFIX in the exceptions is not a good idea; it blows the size of the string literals tremendously - full build path for every line that uses that, including the line. Let's not remove it for good, but hide it for non-debug builds (OSL_DEBUG_LEVEL == 0) so that anybody who would like to use this during debugging could still do (but I doubt it has any value for anybody). Change-Id: Icc8db95ae0862671a206e681f92c60cdf51ffc32
* css::io::XInputStream _is_ allowedDavid Tardon2014-01-271-1/+1
| | | | Change-Id: Ib72c02a329bbc9a26390a16e115fd8ae94343263
* bool improvementsStephan Bergmann2014-01-224-9/+9
| | | | Change-Id: I80dfcb60878d9e280e8a03297ccc4833277c235d
* Revert "impl. enumeration for ZipPackage"David Tardon2014-01-162-37/+2
| | | | | This reverts commit 5b2cca80eeb2c8ee210820cc8ed95e5d69214807. Also reverts commit 86a5053df0d755d10121d65c533f3d327340a0fd.
* do not close input, unless it was us who opened itDavid Tardon2014-01-162-1/+4
| | | | Change-Id: I6ffedd1e64e48b4fc4bd6f5eb63e96b49f1a8508
* bahDavid Tardon2014-01-152-4/+4
| | | | Change-Id: I0fd33c8ee1791714ee9b42f50cabbdc51ebe4440
* impl. enumeration for ZipPackageDavid Tardon2014-01-152-2/+37
| | | | Change-Id: I800d22d8ec99e943b59467cf64b96aaa1f797953
* package: avoid un-necessary modification event work.Michael Meeks2014-01-053-1/+15
| | | | Change-Id: Ia4b4e3edccf661b8c5f474c5c7474b5f9e497fcc
* No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann2013-12-173-0/+12
| | | | | | | ...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-172-4/+4
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* fdo#71786 : Implemented Glossary folderRohit Deshmukh2013-12-131-0/+4
| | | | | | | | | | | | | | 1. Glosary folder is imported as Intrograb and exported. 2. Added unit test case Reviewed on: https://gerrit.libreoffice.org/6825 Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx writerfilter/source/filter/ImportFilter.cxx Change-Id: Ifd51a75a65e030d44d30e02cd7ab51fb088186b3
* Related: EDB-29934-1 add .zip cppunit testsCaolán McNamara2013-12-027-0/+113
| | | | Change-Id: Iaafdcc4e2c97e06bee245251316b18b3d9e87262
* remove unnecessary use of OUString constructor when assigningNoel Grandin2013-11-191-1/+1
| | | | | | | | | change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
* convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin2013-11-111-4/+4
| | | | | | | | | | Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
* remove unnecessary use of OUString constructorNoel Grandin2013-11-111-1/+1
| | | | Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
* Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin2013-11-041-1/+1
| | | | | | This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
* fdo#54938: Convert package, writerfilter and writerperfectMarcos Paulo de Souza2013-10-309-24/+16
| | | | | Change-Id: I5220e172bf9722ad86eef3bc557c30779f07201c Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* gbuild: set Package default target to INSTDIRMichael Stahl2013-10-281-2/+0
| | | | Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
* fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza2013-10-251-7/+2
| | | | | | | | Change-Id: Id6bed78d92eba52283a17ab3ca66e751c225e48d Reviewed-on: https://gerrit.libreoffice.org/6423 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* clean up some include guardsThomas Arnhold2013-10-232-4/+4
| | | | | | | | | | Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-225-5/+5
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* -Werror,-Wunused-variableStephan Bergmann2013-10-111-4/+1
| | | | Change-Id: I682b5d72c1785e8d8cb9c8bb42d4a0bab6db263e
* 'ist' -> 'is' here and there.Jan Holesovsky2013-10-041-1/+1
| | | | Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
* WaE: unused variableTor Lillqvist2013-10-021-1/+0
| | | | Change-Id: Iad493e5022a36895a30438340826ef4df50b2837
* WaE: unused variableTor Lillqvist2013-10-021-2/+0
| | | | Change-Id: Iae213402c69a4ca35f160aae1a7ecae9a7a0d47e
* -Werror,-Wunused-const-variableStephan Bergmann2013-10-021-2/+0
| | | | Change-Id: I1a6f8fdd6904c9567b72d4bf5156aef5ce7d84f0
* Resolves: rhbz#1013844 fdo#47482 encrypted OOo 1.0 docs cannot be reopenedCaolán McNamara2013-10-021-5/+29
| | | | | | | | Workaround for the encrypted OpenOffice.org 1.0 documents generated by Libreoffice <= 3.6 with the new encryption format and using SHA256, but missing a specified startkey of SHA256 Change-Id: Ib1acc4441b5adc6721cb3cde7a1191aa978e9a1b
* Try to fix cross-compilationTor Lillqvist2013-09-231-1/+1
| | | | | | | | Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
* Towards a working instdir for Mac OS XStephan Bergmann2013-09-111-1/+1
| | | | | | | | | | | | | | | | | Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
* End iterator might not be constJulien Nabet2013-08-281-2/+1
| | | | Change-Id: I95c0999903762e79e606fdae7fd11b1ce79fe8d0
* These shall apparently check for URL scheme prefix matchStephan Bergmann2013-08-271-1/+1
| | | | | | | | | | | ...they had originally been aURL.equalsIgnoreAsciiCaseAsciiL( "vnd.sun.star.pkg", 16 ) etc., so where likely confused with the OUString compareTo functions that take a maxLength argument. Change-Id: Ie12df4f589dda310b7e49eb93535ad797f88a8a7
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-211-4/+4
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* Further work on the "Mac-like app structure" optionTor Lillqvist2013-08-181-1/+1
| | | | | | | Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
* fdo#68084: OOXML import: handle exceptions if stream is missingMichael Stahl2013-08-161-1/+5
| | | | | | | The bugdoc does not have a styles.xml but a stylesWithEffects.xml, whatever that may mean. (the app.xml contains "Microsoft Macintosh Word") Change-Id: If3d11c5d166dcaf3d94129339559787c20e6db46
* fdo#62475 removed pointless commentsJelle van der Waa2013-07-3134-619/+7
| | | | | | | Change-Id: Ic3743e48ef9055933ff040c180561ef41b3a2990 Reviewed-on: https://gerrit.libreoffice.org/5174 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa2013-07-231-9/+0
| | | | | | | Change-Id: I595c10b9c3df8ea487d9fde0a7910ba0bca0ab43 Reviewed-on: https://gerrit.libreoffice.org/5059 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>