summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2015-02-16sal: -Werror=unused-parameterMichael Stahl
Change-Id: Iad2a1c7796812e09c408868d7fa60705a1cc91be
2015-02-16Related: tdf#63690 - add stubs for removed rtl_logfile functions.Thorsten Behrens
This fixes up 3d403f2af2e5b7d26254d45590764f279450fab6, by not removing public API. Change-Id: I60a4b7284661238bdf32a1600f27a7e507c5374a
2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-16It is not necessary to be _that_ verbose.Jan Holesovsky
Change-Id: Ie7685beae20df8b3798070135fad529cde3604a9
2015-02-14Related: tdf#63690 - remove rtl_logfileThorsten Behrens
This was unused since the earlier cleanup. Change-Id: Ia56641c4242037a0ce501e43939b8dc862499f0e
2015-02-12coverity#1268298 mark up codeCaolán McNamara
Change-Id: I6e48e2593f93efd71e84a076a99457c3daf7d9e0
2015-02-11coverity#1267660 etc.: remove redundant checksStephan Bergmann
...all these functions take a "handle to a created condition." Change-Id: I043f310801452b05e6daaca4d246b305d18f6104
2015-02-08coverity#1267668 Logically dead codeCaolán McNamara
Change-Id: Id9458f55efa4d27914c24b8ab7c4ced081e19626
2015-02-08make this a comment a coverity quellerCaolán McNamara
Change-Id: I0eccec058f506be69f6c95a1a6d97be64cb734bc
2015-02-07coverity#1268297 Logically dead codeCaolán McNamara
Change-Id: Ie9a37e7eb837abf0d2783a9a0f8c2b33a6772d33
2015-02-06O[U]StringBuffer::appendUninitialized unit testsStephan Bergmann
Change-Id: I55f0a5bd01a3e250764e1eb34d674b535b85b56f
2015-02-06Remove bogus assertsStephan Bergmann
...regression introduced with b0ef5cf258f3a84054c052f0a09a208dbc17fdf3 "sal: add some argument checking assertions for strings and buffers" not being aware of 186990395d72a803dd4a9f087fe4e05f49e69ad2 "Clean up Mac _imp_getProcessLocale: Introduces OUStringBuffer::appendUninitialized." Change-Id: I828d98eb52f57f4e39e71ded39ef034e1788f4d1
2015-02-05sal: add some argument checking assertions for strings and buffersMichael Stahl
Also remove some now redundant asserts from headers. Some of these actually trigger on unit tests so are commented out. Change-Id: I07c6b2b2bd175361691a141f22eec584e3ab8f0b
2015-02-05convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-03Let's use log tags starting with "sal" here in salTor Lillqvist
2015-02-03Let's use log tags starting with "sal" here in salTor Lillqvist
Change-Id: I89e71e03ede5175fabe1df949b8d3200f64757a0
2015-02-03Improve loggingTor Lillqvist
Change-Id: Iabfe272e95e4f3517f3072dd6c36b8889c2fdbd1
2015-02-03Fix typoTor Lillqvist
Change-Id: I4f96972255ca99debd53d4302073d1823cc27492
2015-02-03Improve logging, change OSL_TRACE into SAL_WARN and SAL_INFOTor Lillqvist
Change-Id: I37a0003ca321ca788f7885eb9fdea69ed388a35d
2015-02-03Bin stupid macro that was used just onceTor Lillqvist
Change-Id: I2e7528cb374d621f148d559c51521013bba62477
2015-02-03Bin code that has been commented out since initial importTor Lillqvist
Change-Id: Ie96cf3043b126577087eadae5900489a5eb84bcf
2015-02-02warning C4701: potentially uninitialized local variable 'Addr' usedStephan Bergmann
Change-Id: I63c22fb682175edc450b1ce3b6ea78cf5a5bc2f1
2015-01-29Extract loplugin:redundantcast from loplugin:cstylecastStephan Bergmann
Change-Id: I08f17dd9cc092206083ff41bbbc178e0322e86d0
2015-01-28Some more loplugin:cstylecast clean-upStephan Bergmann
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
2015-01-28Clean up implementation of osl_getSymbol et alStephan Bergmann
Change-Id: Ic71b7bc8e8b5783deb1f9fa89136537c24281a55
2015-01-28This typedef is not unusedTor Lillqvist
Fix fallout from fe480d8136b204c8dc6c68916cce7e816f8b9c48. Change-Id: I36807f0e43311e66f4ccd3542a4c064d5ccd7430
2015-01-28remove unused typedefsNoel Grandin
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-26Visible function type RTTI for Clang -fsanitize=functionStephan Bergmann
...by adding some further SAL_DLLPUBLIC_RTTI type annotations (cf. b4f6b26b5a1a78fecfa95ec2eb7ac8b80495d8aa "SAL_DLLPUBLIC_RTTI for proper RTTI visibility for LLVM") and by making sure relevant function types do not use incomplete types in their parameter and return types (which would make the RTTI hidden). Change-Id: Id7aadcbc0704b9759968ae36266fc9ce11a2e340
2015-01-26sal,sd: Windows SDK 8.1 deprecates inet_addr()Michael Stahl
Change-Id: I443f73fab48f1b66b38e2c77af0fe89f99ee4cd0 Reviewed-on: https://gerrit.libreoffice.org/14142 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-22loplugin:cstylecast (MACOSX)Stephan Bergmann
Change-Id: I9d798beba649a946446893063386a8e521455a48
2015-01-21Avoid reinterpret_cast to same typeStephan Bergmann
...as GCC 4.6 reports "error: invalid cast from type 'pthread_t {aka long unsigned int}' to type 'long unsigned int'" despite [expr.reinterpret.cast]/2: "An expression of integral, enumeration, pointer, or pointer-to-member type can be explicitly converted to its own type; such a cast yields the value of its operand." Change-Id: I26f1a3e6df2f0e55c665ad4f49185e0ebf432e95
2015-01-21loplugin:cstylecast (on Mac OS X, where pthread_t is a pointer type)Stephan Bergmann
Change-Id: Ie4474a1bae02de88ea0c79510f3730d2f829239c
2015-01-20Fix for Android gethostbyaddrStephan Bergmann
Change-Id: Icc8f5f71f07d0afb016b6188daea26068db93769
2015-01-20Missing constStephan Bergmann
Change-Id: I13058a46526a1186deaa8fffde303c272c0cc8aa
2015-01-20Some more loplugin:cstylecast: salStephan Bergmann
Change-Id: Ie54d340478412e62b87d66e287fd8a3963e97898
2015-01-16rtl_arena_alloc must never obey AMode_SYSTEMStephan Bergmann
...as e.g. the read+write+exec arena used in bridges/source/cpp_uno/shared/vtablefactory.cxx has specific requirements on obtained memory. This broke recent 8b9968a26265facaf5e761485d750ce9cedab3ab "fdo#72755: Only use double mmap as fallback" for e.g. --enable-ooenv (which sets G_SLICE). This is a partial revert of ce906b8096081dee15dc8cc96e570d5b0b587955 "skip tricky allocators on G_SLICE=always-malloc." Change-Id: I5a5fb7c3c920a7856381e6c55638137c625b5111
2015-01-12android: No reason to return JNI version less than Java 6Tomaž Vajngerl
Change-Id: Id9fae6561268bb7e5a465c19bdb80124f94f4939
2015-01-08[API CHANGE] Remove osl_send/receiveResourcePipeStephan Bergmann
...they had not been documented in osl/process.h and the sal/osl/unx implementation had been stubbed out since 7b37265b8e1afe480a6bbd271bf48fa1cbb44d55 "sal: remove unx implementation of osl_sendResourcePipe/osl_receiveResourcePipe" in 2012 Change-Id: Ia3ae853d95b6f3b2d2743f06755ef8f6246501d8
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07loplugin:cstylecast: salStephan Bergmann
Change-Id: I0ad9681a8b31d78cefce5b66040415154a1c7a99
2015-01-07drop crashrep unused since start of LibreOfficeCaolán McNamara
Change-Id: I3df1216054c133314b2317849744a0a37e9fbc8f Reviewed-on: https://gerrit.libreoffice.org/13733 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-06-Werror,-Wmacro-redefined (under Clang -fsanitize=*)Stephan Bergmann
Change-Id: Ifd23373b1ac4919793d1b4251ed90cf2dd6f2bda
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2015-01-01error C2039: 'max' : is not a member of 'std'Miklos Vajna
Change-Id: I2a059f9332215678936d78990ee36a5ae2161712
2014-12-29"NOMINMAX" is not used [-Werror=unused-macros]Julien Nabet
So let's let this for Windows only Change-Id: I1f76e03b0e3431a6954a75f5cb247ef1a1644a28
2014-12-28try to fix windows buildMarkus Mohrhard
2014-12-27boost::unordered_map -> c++11 std::unordered_mapCaolán McNamara
Change-Id: I28438000c2b0a8e6ce4f5640f861f572c0cb83c8
2014-12-20TyposJulien Nabet
Change-Id: I3475be796cf2655d9b619b86c9686aeef4b97b82
2014-12-19constants via #define must be integer if used in #if statementChristian Lohmaier
breaks windows build otherwise (fatal erro C1017) Change-Id: Idae78c621bfb8f989eb33220f015e17a7b7fb92f