summaryrefslogtreecommitdiff
path: root/sal/osl/w32
AgeCommit message (Collapse)AuthorFilesLines
2012-11-21re-base on ALv2 code. Includes:Michael Meeks20-484/+298
Patch contributed by Herbert Duerr: #i118662# remove berkeleyDB from module xmlhelp (author=orwitt) http://svn.apache.org/viewvc?view=revision&revision=1213188 #i119141# remove ISCII converter for now http://svn.apache.org/viewvc?view=revision&revision=1306246 make exceptions for cppunittester verbose http://svn.apache.org/viewvc?view=revision&revision=1174831 Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Patch contributed by Oliver-Rainer Wittmann 88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 drop OS/2 code, remove in-line assembler ARM atomics, and obsolete armarch header.
2012-11-21Revert "#i116915# rewrote unx osl_getSystemPathFromFileURL to avoid mem leaks"Michael Meeks1-5/+0
This reverts commit 8c015fbb85f00fe1cc82e00ea1771ad9fba821d2. Conflicts: sal/osl/unx/file_url.cxx sal/osl/unx/makefile.mk sal/prj/build.lst sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl.cxx
2012-11-21mingwport34: i#117493: mingw port of i109096tono1-1/+1
WCHAR is not compatible with sal_Unicode in mingw Conflicts: sal/osl/w32/module.cxx
2012-11-15Drop obsolete includes of deprecated rtl/memory.hStephan Bergmann1-1/+0
Change-Id: I532558f5502898e036e01d64faa854c68e7109c9
2012-10-17More useless code, "#if 0" blocks in lingucomponent, sal, and rscMarcos Paulo de Souza1-31/+0
Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2012-10-01Remove internal usage of rtl/memory.h in sal moduleArnaud Versini1-1/+2
Change-Id: I43650c6f4a66058e73945851a6990555e42b8ac2 Reviewed-on: https://gerrit.libreoffice.org/744 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud3-7/+7
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17Include header with prototypes of defined functionsStephan Bergmann1-2/+3
Change-Id: Ia28c36b1627ef944adecd5c8a55c150bd0f9aa02
2012-09-16export sal init and deinit functionsDavid Tardon1-2/+2
Linking of cppunittester (and any other executable that uses SAL_IMPLEMENT_MAIN or SAL_IMPLEMENT_MAIN_WITH_ARGS) fails otherwise. Change-Id: I778941ab2069819789f96ab04f364ea61cf4a3cb
2012-09-15Include saldllapi.h explicitly where neededStephan Bergmann1-2/+2
Change-Id: I7ba421479cd332e059ed9da1c6090e2df420347e
2012-09-05fdo#38913: Prevent invalid parameter handler crashesStephan Bergmann1-0/+29
It appears that on Windows at least some jvm.dll versions can cause calls to _fileno(NULL), which leads to a call of the invalid parameter handler (see <http://msdn.microsoft.com/en-us/library/ksazx244%28v=vs.80%29.aspx> "Parameter Validation: Visual Studio 2005"). The default handler causes the application to crash, so install a "harmless" one instead. Change-Id: Id6a3ffb63f70b0c65546bc933e994c8dbf35203c
2012-08-29allow NULL pModuleName for WNT in osl_getModuleHandleCaolán McNamara1-1/+2
osl_getModuleHandle under unix can have a NULL pModuleName and the underlying GetModuleHandle on windows allows a NULL modulename as well Change-Id: Iaf154e635e9c96cbc62d525a7552339ce132f3dc
2012-08-20fdo#53252: _toupper is unreliableStephan Bergmann1-1/+1
<http://msdn.microsoft.com/en-us/library/45119yx3%28v=vs.80%29.aspx> "toupper, _toupper, towupper, _toupper_l, _towupper_l: Visual Studio 2005" states: "In order for toupper to give the expected results, __isascii and isupper must both return nonzero." But a community comment clarifies: "This is incorrect, and should refer to '_toupper' (the macro form), not 'toupper'." (Which makes sense, as otherwise toupper would violate the C Standard.) And indeed, at least for some LO built against MSVC 2008 Express on Windows 7, _toupper('C') = '#' is broken, while toupper('C') = 'C' is good. (And the unexpected '#' then causes all sorts of errors in the code.) Change-Id: Iddaddcaf0cc3ffb30e55b0f410a6cfe9118accc8
2012-08-03sal: let DISABLE_SAL_DBGBOX only disable GUI message boxesMichael Stahl1-0/+6
If DISABLE_SAL_DBGBOX is set, fall back to printing on stderr. Change-Id: Id525b4012291b6b29cca7abcaad7483bc6bfba3b
2012-07-27Use memset and memcpy insteadof rtl_zeroMemory and rtl_copyMemory in salArnaud Versini2-4/+7
Change-Id: I4f9649ca61c988d425b59e41549d1c46bb808f2c
2012-06-25Remove unused definesThomas Arnhold1-3/+0
Second is already commented out, first is unused, too. Change-Id: I1429cab3186189a96d0a07fa7097d87d372b372a
2012-06-22re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks12-285/+177
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-17rtl: (i119939) memory leakNorbert Thiebaud1-0/+1
Change-Id: I1ab34337785967d6cbac9ab47c5a2bb517001840
2012-06-08targetted reversion of minor cppcheck fixMichael Meeks1-22/+2
Change-Id: If67666bccbde6d2104295c5480c3eceb95b6ce35
2012-06-02targeted string re-workNorbert Thiebaud1-2/+2
Change-Id: I145731d9f28faf0065f5960f2c5a32f27d8c8620
2012-06-01targeted string re-workNorbert Thiebaud1-3/+3
Change-Id: I368b9538e3c2e6242fcdcabb4f8c716e17b02d88
2012-06-01targetted cppcheck variable scope revertMichael Meeks1-2/+2
Change-Id: I757615e134eddc1f212533e3e950827e7180c278
2012-05-30Some cppcheck cleaningJulien Nabet1-2/+0
More information on this thread: http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html Change-Id: Ib70532ad72e8418e1036bd52c07dc6452508cd12
2012-03-07probable intentDavid Tardon1-1/+1
2012-03-07WaE: missing braces around initializerDavid Tardon1-1/+1
2012-03-07suppress compiler error when building with -WerrorDavid Tardon1-0/+4
Return value of the function is set by the inline assembler code.
2012-03-07WaE: comparison between signed and unsigned integer expressionsDavid Tardon1-1/+1
2012-03-07WaE: comparison between signed and unsigned integer expressionsDavid Tardon1-4/+4
2012-03-07WaE: redefined macroDavid Tardon1-7/+0
SD_RECEIVE, SD_SEND and SD_BOTH have been defined in mingw-w64 headers since the very beginning. I suppose this was only relevant for mingw32, which we do not support anymore.
2012-03-07WaE: format '%u' expects argument of type 'unsigned int'David Tardon1-1/+1
2012-03-07WaE: declaration of '...' shadows a global declarationDavid Tardon1-3/+0
pfn_ADDEREXCLUDEDAPPLICATIONW has been defined in mingw-w64 headers since the very beginning. I suppose this was only relevant for mingw32, which we do not support anymore.
2012-03-07WaE: suggest parentheses around '&&' within '||'David Tardon1-2/+2
2012-03-07WaE: comparison between signed and unsigned integer expressionsDavid Tardon1-1/+1
2012-03-07WaE: declaration of 'aTmpPath' shadows a previous localDavid Tardon1-5/+5
2012-03-07WaE: deprecated conversion from string constant to 'sal_Char*'David Tardon1-1/+1
2012-03-07WaE: declaration of 'n' shadows a previous localDavid Tardon1-3/+3
2012-03-07WaE: ordered comparison of pointer with integer zeroDavid Tardon1-2/+2
2012-03-07WaE: comparison between 'enum oslFileError' and 'enum osl::FileBase::RC'David Tardon1-2/+2
2012-03-07WaE: deprecated conversion from string constant to 'LPWSTR'David Tardon1-1/+1
2012-03-07WaE: function declared 'static' but never definedDavid Tardon1-7/+0
2012-03-07WaE: unused parameterDavid Tardon1-1/+1
2012-03-07WaE: suggest parentheses around '&&' within '||'David Tardon1-2/+2
2012-03-07WaE: deprecated conversion from string constant to 'TCHAR*'David Tardon1-1/+1
2012-03-07WaE: missing braces around initializerDavid Tardon1-1/+1
2012-02-21Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))Takeshi Abe1-3/+3
to equalsIgnoreAsciiCaseAscii("...")
2012-02-19WaE: unused variable bOkThomas Arnhold1-1/+0
2012-02-19WaE: do this right...Thomas Arnhold1-8/+8
2012-02-18sal: remove dead code and empty linesThomas Arnhold1-148/+0
2012-02-18WaE: unused variable bOkThomas Arnhold1-1/+1