summaryrefslogtreecommitdiff
path: root/store
AgeCommit message (Collapse)AuthorFilesLines
2013-03-19further OUString cleanupThomas Arnhold1-3/+2
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-18cleanup doxygen warningsPeter Foley1-4/+4
Change-Id: I9181cad5bfa93f9e8b3d944b2b50a3ccc0b42595
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold1-1/+1
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-09Use BOOST_STATIC_ASSERTStephan Bergmann7-25/+29
Change-Id: Ib9dc2541c3bf72ddd6094331297a91352138e5af
2013-03-04remove unused and commented out codeThomas Arnhold1-8/+0
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-27store: new ZipPackage_store_odk_headersMichael Stahl3-7/+9
Change-Id: I2d4e2853014ef30419a66c8f9b2675b92d60adb6
2013-02-11Leftover store/inc/makefile.mkStephan Bergmann1-30/+0
Change-Id: I7237ebb7177df66a457fcf46e5d4a963a357c2bc
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl1-1/+1
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26Some cppcheck cleaningJulien Nabet2-46/+44
2012-12-25Get rid of (most uses of) GUITor Lillqvist1-4/+4
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini3-11/+11
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl1-2/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl1-1/+2
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl1-0/+1
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-17migrate some of the biggest consumer of osl_*InterlockedCount to osl_atomicNorbert Thiebaud1-2/+2
Change-Id: I0e6992afbeffaf3b993e6630fb396d93012890e0 Reviewed-on: https://gerrit.libreoffice.org/632 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-14remove use of SAL_MIN() macroNorbert Thiebaud2-7/+18
Change-Id: Ia91118388240c9a54d010b94aef34ad528ce5761
2012-08-22remove unused module-description xml filesMatúš Kukan2-25/+0
Change-Id: I531e47538f308ee43e0fe8d7db59f525e45942c3
2012-08-22do not deliver these module-description xml filesMatúš Kukan2-32/+0
Change-Id: Ife2f42b3a917ece10dc7ee9fcd83f1558084c4f1 Reviewed-on: https://gerrit.libreoffice.org/454 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2012-07-28Partially revert "Remove some unused defines and controls"Thomas Arnhold1-0/+1
This partially reverts b63027f0992cf5c368faeb807c69110997dd00ea http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html Change-Id: I2c87ea89e1b05aa6874a74d2b781b976e970f979
2012-07-20Globally unique symbols missing from some map filesStephan Bergmann1-0/+8
...after gbuild'ification (they used to be added via solenv/bin/addsym.awk). And sunjavaplugin.map is actually unused. Change-Id: If6804cff8d01e268b84512d6c4b1edebde018cc0
2012-06-29Remove some unused defines and controlsThomas Arnhold1-1/+0
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
2012-06-29Remove some more include guardsThomas Arnhold5-19/+0
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-27re-base on ALv2 code.Michael Meeks28-562/+399
2012-06-21re-base on ALv2 code.Michael Meeks4-92/+56
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks3-42/+42
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-01targeted string re-workNorbert Thiebaud1-10/+10
Change-Id: Ibe5c739c3066f3e706a44b64d4ad775abde9662c
2012-05-29gbuild conversion: store moduleDavid Ostrovsky1-0/+1
Change-Id: Idbab17b87d042079a8fa6ded7a7424a745761b2f
2012-05-07add gb_STDLIBSDavid Tardon1-0/+1
Change-Id: I53d4f6ddd9c79b9cd025339ef9a5e92ce1a881bc
2012-05-07gbuild conversion: store moduleDavid Ostrovsky12-196/+207
Change-Id: Idbab17b87d042079a8fa6ded7a7424a745761b2f
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-0/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-24WaE: MSVC2008 C4530 exception handler without unwind semanticsCaolán McNamara1-0/+1
2012-03-23Make default zero-initialization explicitStephan Bergmann1-1/+1
...to match style used for other data members.
2012-03-23Initialize m_hFile in FileMapping constructor.Catalin Iacob1-1/+1
GCC gives the following warning which breaks compilation when using --enable-werror: lockbyte.cxx: In function 'storeError store::FileLockBytes_createInstance(rtl::Reference<store::ILockBytes>&, rtl_uString*, storeAccessMode)': lockbyte.css:512:37: error: 'prephitmp.221' may be used uninitialized in this function [-Werror=uninitialized] lockbyte.cxx:906:1: note: 'prephitmp.221' was declared here It's not clear from GCC's message, but what it warns about is FileMapping::m_hFile. This is because of the following sequence: * xMapping.release() makes xMapping.m_value be a default constructed FileMapping * the xMapping local variable in store::FileLockBytes_createInstance gets destructed * ~ResourceHolder() calls ResourceHolder::reset * ResourceHolder::reset() calls FileMapping::UnmapFile::operator() passing m_value as rMapping * FileMapping::UnmapFile::operator() uses rMapping.m_hFile but rMapping is a default constructed FileMapping and therefore has m_hFile uninitialized Signed-off-by: Stephan Bergmann <sbergman@redhat.com>: To me, this looks more like a compiler error. Also note that ResourceHolder::reset only calls FileMapping::UnmapFile::operator() if tmp != value, which is not the case here, as both tmp and value are default- constructed. And FileMapping::operator!= is carefule not to use the potentially uninitialized m_hFile. But always intiializing m_hFile is probably not a bad idea, anyway. And if it helps a certain compiler, all the better.
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann5-0/+15
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-02-21WaE: silence some documentation errorsThomas Arnhold1-1/+1
2012-02-06Added READMEs for modules related to URE, with content from the wikiJosh Heidenreich1-0/+1
2012-01-31SimplificationStephan Bergmann1-9/+2
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann11-18/+17
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-10valgrind: have MappedLockBytes take complete ownership of the file handleCaolán McNamara1-0/+2
have MappedLockBytes take complete ownership of the file handle and unmap it and close it on release. Otherwise xFile will close it and MappedLockBytes will unmap it in that order, which breaks post android requirement to have a valid file handle in unmap
2011-12-21osl_unmapFile can't work for files bundled inside the .apk on AndroidTor Lillqvist1-5/+9
On Android, when an app is installed, arbitrary files bundled in the app won't be unpacked into actual separate files in the file system. They will exist only as archive entries in the .apk file (which is a zip archive). The SDK tooling puts such files under the /assets folder in the .apk. The LibreOffice bootstrapping code for Android maps the .apk file into memory. osl_openFile() knows about the /assets special case, and uses a separate abstraction for such memory-mapped files. Obviously, when producing an .apk, one needs to make sure these bundled files are not compressed, if one wants to be able to use them directly from the memory-mapped .apk file. We do that in our test and sample Android projects. When mapping such files under /assets , just return a pointer to the file's location inside the mapped .apk archive. We can't use the old osl_unmapFile() on such mapped files, as that would unexpectedly unmap fairly arbitrary pages of the .apk mapping, wreaking havoc on later use of the same pages. So, introduce a new osl_unmapMappedFile() function that takes also the oslFileHandle originally passed to osl_mapFile(). Use this instead in the few places where the code actually called osl_unmapFile(). Make sure osl_mapFile() is nonexistent on Android.
2011-12-11I don't see NO_BSYMBOLIC being used anywhereTor Lillqvist1-1/+0
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud2-63/+0
2011-11-27remove include of pch header from storeNorbert Thiebaud16-30/+0
2011-11-27remove PCH support in dmake-moduleNorbert Thiebaud1-8/+0
2011-11-10Deliver libstore.so for AndroidTor Lillqvist1-0/+1
2011-09-21OSL_TRACE: Remove trailing newlinesThomas Arnhold1-2/+2
Done with perl regex: s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs; - removed trailing whitespaces and (multiple) newlines
2011-09-06[cppchecker] suppression of unread VariablePierre-André Jacquod1-2/+1
2011-08-08Deliver also static libstoreTor Lillqvist1-2/+1