summaryrefslogtreecommitdiff
path: root/store/source
AgeCommit message (Collapse)AuthorFilesLines
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann4-0/+12
...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-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-11-27remove include of pch header from storeNorbert Thiebaud11-22/+0
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-03-23Merge commit 'ooo/DEV300_m103'Jan Holesovsky2-2/+4
Conflicts: codemaker/source/bonobowrappermaker/corbaoptions.cxx codemaker/source/cppumaker/cppuoptions.cxx codemaker/source/cunomaker/cunooptions.cxx codemaker/source/idlmaker/idloptions.cxx codemaker/source/javamaker/javaoptions.cxx cppu/source/typelib/typelib.cxx idlc/source/options.cxx offapi/com/sun/star/util/PathSubstitution.idl offapi/drafts/com/sun/star/form/ListEntryEvent.idl offapi/drafts/com/sun/star/form/XBindableValue.idl offapi/drafts/com/sun/star/form/XListEntryListener.idl offapi/drafts/com/sun/star/form/XListEntrySink.idl offapi/drafts/com/sun/star/form/XListEntrySource.idl offapi/drafts/com/sun/star/form/XValueBinding.idl registry/tools/checksingleton.cxx registry/tools/options.hxx registry/tools/regcompare.cxx registry/tools/regmerge.cxx sal/cppunittester/cppunittester.cxx sal/osl/unx/socket.c sal/osl/w32/diagnose.c sal/prj/d.lst sal/rtl/source/alloc_fini.cxx sal/rtl/source/alloc_global.c sal/rtl/source/makefile.mk
2011-02-01Remove RCS informationThomas Arnhold8-8/+8
2010-11-25Update from sibling repository.Matthias Huetsch [mhu]2-2/+4
2010-11-25#i115784# store: fix memory errors uncovered by valgrind and other tools.Matthias Huetsch [mhu]2-2/+4
2010-10-18remove non-compiled codePovilas Kanapickas4-131/+0
2010-10-17use SAL_N_ELEMENTS macroKenneth Venken1-1/+2
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth21-0/+57
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-05more removed include guards using fixguard.pyPetr Mladek3-30/+0
2010-10-05remove include guards using fixguard.pyPetr Mladek1-18/+0
2010-04-09Update from master repository (DEV300_m76).Matthias Huetsch [mhu]1-0/+1
2010-03-22Update from master repository (DEV300_m75).Matthias Huetsch [mhu]22-62/+22
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien22-249/+142
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-03-04mhu22: resync to master repository (DEV300_m73).Matthias Huetsch [mhu]22-200/+112
2010-03-04mhu22: #i105430# #i108349# Fixed registry:ORegKey reference counting to ↵Matthias Huetsch [mhu]1-0/+0
avoid redundant closeKey()/flush() calls.
2010-01-18#i108349# Added missing statement (compiler warning).Matthias Huetsch [mhu]1-0/+1
2009-12-09Update from master repository (to m67).Matthias Huetsch [mhu]1-1/+1
2009-12-09#i71568# #i108349# Fixed copyright header.Matthias Huetsch [mhu]1-4/+1
2009-12-09Fixed copyright header.Matthias Huetsch [mhu]1-4/+1
2009-11-13Fixed copyright headers.Matthias Huetsch [mhu]6-147/+99
2009-11-13#i71568# #i108349# Simplified block (page) allocation.Matthias Huetsch [mhu]6-282/+170
2009-11-13#i71568# Simplified block (page) allocation.Matthias Huetsch [mhu]6-282/+170
2009-11-10#i71568# #i108349# Remove unnecessary flush(), more cleanup.Matthias Huetsch [mhu]3-39/+60
2009-11-10#i71568# Remove unnecessary flush(), more cleanup.Matthias Huetsch3-39/+60
2009-11-06cmcfixes66: #i106675# silence gcc's memset warning on 0 len when the len ↵Caolán McNamara1-1/+1
really is 0
2009-11-02#i71568# #i108349# Remove unused StateBlock code.Matthias Huetsch [mhu]2-419/+117
2009-11-02#i71568# Remove unused StateBlock code.Matthias Huetsch2-419/+117
2009-10-29#i71568# #i108349# Remove unused range locking code.Matthias Huetsch [mhu]6-379/+31
2009-10-29#i71568# Remove unused range locking code.Matthias Huetsch6-379/+31
2009-09-09CWS-TOOLING: integrate CWS mhu20Oliver Bolte1-1/+1
2009-09-01 15:18:43 +0200 mhu r275662 : #i32526# Fixed missing includes, and a wrong cast 2009-08-28 13:30:05 +0200 mhu r275530 : #i32526# Fixed missing includes and remaining merge conflicts. 2009-08-28 13:28:45 +0200 mhu r275529 : #i32526# osl_readLine() now implemented in sal/osl/<platform>/file.cxx 2009-08-26 19:47:53 +0200 mhu r275445 : CWS-TOOLING: rebase CWS mhu20 to trunk@275331 (milestone: DEV300:m56) 2009-08-25 15:47:00 +0200 mhu r275365 : #i32526# Also maintain phys. file offset. 2009-08-25 15:24:56 +0200 mhu r275364 : #i32526# Added buffered file I/O; refactored file.cxx into multiple files. 2009-08-24 10:38:15 +0200 mhu r275294 : #i32526# Correct OpenFlags for osl_openFile(). 2009-05-25 11:07:34 +0200 mhu r272225 : #i32526# Added support for non-seekable file handles (pipe et al.). 2009-05-25 11:01:50 +0200 mhu r272223 : #i32526# Add osl_readLine() test, cleanup obsolete tests. 2009-05-25 10:56:14 +0200 mhu r272221 : #i32526# Add missing include 2009-05-25 10:48:51 +0200 mhu r272220 : #i32526# Accept OpenJDK (IcedTea6) 1.6.0_0 version string 2009-05-15 19:18:20 +0200 mhu r271965 : #i32526# Initial osl/unx buffered file I/O implementation. 2009-05-15 17:41:57 +0200 mhu r271959 : CWS-TOOLING: rebase CWS mhu20 to trunk@271830 (milestone: DEV300:m48) 2009-03-26 17:28:53 +0100 mhu r270091 : CWS-TOOLING: rebase CWS mhu20 to trunk@270033 (milestone: DEV300:m45)
2009-04-01CWS-TOOLING: integrate CWS cmcfixes56Ivo Hinkelmann2-0/+4
2009-03-26 14:46:13 +0100 cmc r270080 : #i100517# merge changes of locales32 to match 2009-03-26 14:31:32 +0100 cmc r270079 : #i100517# add some brackets and remove stray ; 2009-03-25 13:30:36 +0100 cmc r270021 : #i100503# make tralay work again 2009-03-25 10:13:35 +0100 cmc r269999 : #i100536# remove last unused method 2009-03-24 15:13:50 +0100 cmc r269955 : #i100517# fix straight-forward warnings 2009-03-24 14:36:37 +0100 cmc r269947 : #i100469# keep ia64 and arm alignments after fork-exec to signal change, but hackaround for arm to keep userlevel qemu-arm working 2009-03-24 14:02:27 +0100 cmc r269943 : #i100223# make stl headers warning free for extra gcc 4.3 warnings 2009-03-24 13:58:15 +0100 cmc r269942 : #i100504# drawinglayer is warning free on ix86 linux 2009-03-24 13:56:15 +0100 cmc r269940 : #i100469# keep ia64 and arm alignments after fork-exec to signal change
2009-03-20#i10000# additional files for mhu17Release Engineers5-9/+19
2009-03-13CWS-TOOLING: integrate CWS mhu17Vladimir Glazounov28-8572/+6738
2009-01-23 14:08:09 +0100 mhu r266816 : CWS-TOOLING: rebase CWS mhu17 to trunk@266428 (milestone: DEV300:m39) 2009-01-16 17:49:37 +0100 mhu r266442 : #i98151# Migration to subversion. 2009-01-16 17:48:53 +0100 mhu r266441 : #i98151# Migration to subversion. 2009-01-16 17:47:56 +0100 mhu r266440 : #i98151# Migration to subversion.
2008-04-10INTEGRATION: CWS changefileheader (1.5.44); FILE MERGEDRüdiger Timm2-71/+38
2008/04/01 15:42:44 thb 1.5.44.3: #i85898# Stripping all external header guards 2008/04/01 12:41:55 thb 1.5.44.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.5.44.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.7.38); FILE MERGEDRüdiger Timm2-92/+37
2008/04/01 15:42:44 thb 1.7.38.3: #i85898# Stripping all external header guards 2008/04/01 12:41:55 thb 1.7.38.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.7.38.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.5.44); FILE MERGEDRüdiger Timm1-40/+19
2008/04/01 15:42:44 thb 1.5.44.3: #i85898# Stripping all external header guards 2008/04/01 12:41:54 thb 1.5.44.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.5.44.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.8.38); FILE MERGEDRüdiger Timm1-56/+19
2008/04/01 15:42:44 thb 1.8.38.3: #i85898# Stripping all external header guards 2008/04/01 12:41:54 thb 1.8.38.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.8.38.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.7.38); FILE MERGEDRüdiger Timm1-50/+19
2008/04/01 15:42:43 thb 1.7.38.3: #i85898# Stripping all external header guards 2008/04/01 12:41:54 thb 1.7.38.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.7.38.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.5.44); FILE MERGEDRüdiger Timm1-40/+19
2008/04/01 15:42:43 thb 1.5.44.3: #i85898# Stripping all external header guards 2008/04/01 12:41:54 thb 1.5.44.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.5.44.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.5.38); FILE MERGEDRüdiger Timm1-42/+19
2008/04/01 15:42:43 thb 1.5.38.3: #i85898# Stripping all external header guards 2008/04/01 12:41:54 thb 1.5.38.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.5.38.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.5.66); FILE MERGEDRüdiger Timm1-32/+19
2008/04/01 15:42:43 thb 1.5.66.3: #i85898# Stripping all external header guards 2008/04/01 12:41:54 thb 1.5.66.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.5.66.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.7.38); FILE MERGEDRüdiger Timm1-41/+19
2008/04/01 15:42:42 thb 1.7.38.3: #i85898# Stripping all external header guards 2008/04/01 12:41:54 thb 1.7.38.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.7.38.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.9.44); FILE MERGEDRüdiger Timm1-45/+19
2008/04/01 15:42:42 thb 1.9.44.3: #i85898# Stripping all external header guards 2008/04/01 12:41:54 thb 1.9.44.2: #i85898# Stripping all external header guards 2008/03/31 15:27:47 rt 1.9.44.1: #i87441# Change license header to LPGL v3.