Age | Commit message (Collapse) | Author |
|
After 2ad716f406e0fdb9b9294876c64ae92fecbf5e27 "Revert 'pyuno: set up fake
command line in getComponentContext(),'" e.g. PythonTest_sw_python would fail on
Windows, where WinSalGraphics::GetDevFontList (vcl/win/source/gdi/salgdi3.cxx)
calls osl_getExecutableFile and is itself called in a python process where
osl_setCommandArgs has not been set up.
This patch makes osl_getExecutableFile on all platforms if osl_setCommandArgs
has not (yet) been set fall back to the code that was
osl_bootstrap_getExecutableFile_Impl (which was called from
sal/rtl/bootstrap.cxx, which can now call osl_getExecutableFile).
Change-Id: I6c1bb59205041b3208c830a8b8406e28128b4566
|
|
Change-Id: Idf514941f4bb05834d8ac0d7bafbe86e34377611
|
|
...cf. previous 2ad716f406e0fdb9b9294876c64ae92fecbf5e27 "Revert 'pyuno: set up
fake command line in getComponentContext().'"
Change-Id: Ia77132465ada17a5839f9d4f9ccaf20f8b113075
|
|
This reverts commit 2386a92c1e6e8ec263edb4dc4fdcfeaa4673ce1f and its follow-ups
1acaa577b67158c060d2f57414f7aea86504a489 "sal: add special handling of argc==0
to osl_setCommandArgs()" and 01f27b5e5d428cc3c4aeabdcbbb8204494fbd435 "sal: fix
osl_setCommandArgs() on WNT."
The situation that osl_getCommandArgCount is called without a prior call to
osl_setCommandArgs should be considered as harmless and can legitimately not
only happen in the pyuno case discussed in the reverted commits, but also in
case binary UNO is bootstrapped from within a Java process, as happens in
test-javanative in ure/source/uretest/Makefile.
Change-Id: I2829db390e37dfe5daeda33a4c0659b7d35e565a
|
|
Change-Id: If89443c1668ca01c826c8fc353b20097c7da7bf4
|
|
...so no need to leak an OString (and no need for a static char const *locale,
as osl_getProcessLocale calling _imp_getProcessLocale already takes care about
that).
Change-Id: Ic831415596fe44335a6b12b5d884e781368676b8
|
|
Change-Id: Ifc35c379d5c68fb363ae3507ccb5bff37c8cd9aa
|
|
Change-Id: I7422cb010c38de34a7effa6124c5146f70419f79
|
|
Change-Id: Id55f27a3e1a35d1c5ebeccdd9a853f661b5c1746
|
|
...in the hope that that makes cid#706206 (TOCTOU) go away
Change-Id: I4bc7b44e0268cf5d46aaf55fb4073dcdf67b324c
|
|
Change-Id: I148005489e4ef31b55886c1dd3076650d3a2ec17
|
|
...lets hope it is actually declared as a macro wherever it is known.
Change-Id: If541d02af3ac5d9ad4f0ac1cb4dd9f9f4550a78a
|
|
Change-Id: I42a81e70e76cb4699052815cfd415a8efd902b03
|
|
Change-Id: If3e436d137b6989af22df43c3a9a247bb2c9ffe9
|
|
...corresponding to the OUStringBuffer couterpart
Change-Id: I3ab03343696e6755cf1ccc470e4decc2f41d2558
|
|
Change-Id: I482e6eeca09e7b15a8d95a866ebab35d06f13e9e
|
|
Change-Id: I9051284b34e5a6f3f48ee58243d6481b072e0a80
|
|
Change-Id: Ifaed964d084d0b7a2dacbc23a93fb77eb7515ab4
|
|
Introduces OUStringBuffer::appendUninitialized.
Change-Id: If225ec4d798e0df91cad60130e3f22ee26b88abb
|
|
Change-Id: I963d001aee68f1218ba7273562cb41f3cf4c5e20
|
|
Change-Id: I95e4f43f4ef40e8c04b37002bbae03f4f23a9e34
|
|
Change-Id: I091fa9f9fd4c2df1818aadcba7995b174b07f098
|
|
Change-Id: I39a60d0b775bfe40fa89e8b5d5f7466d0db5d36e
|
|
(obsoleting cid#983584)
Change-Id: Icbf25bd364fdabb208abe201ddc146daa60f9b62
|
|
Change-Id: Ifad9594eb6fa396e32818b6d2bafc16adb478994
|
|
Change-Id: I1d7f47b81e558a071a6beb52999d0bca185f02d5
|
|
Change-Id: Ifaf971d77f11cef207706989bba11dbe2028ca79
|
|
This reverts commit 0e589394e8452ee8dea8e807d3b5ef6620a1c6c1, which
was a misguided attempt at solving a problem already solved by Tor.
|
|
Change-Id: I4a8cbbbebe9833625af4805074d0c68ef3623ebd
|
|
Change-Id: I098d0b8b3428cbf57a69c331515093df36e0c172
|
|
Change-Id: Ic16758e436da13684320e7e3bf07b80d8d8c7c5d
|
|
Change-Id: Ic11f5e0923b8b9d656b74b900f52ff154bb65971
|
|
Change-Id: I0fb87c5658bd02e327df8fdf3e0aa79f20bbc111
|
|
Change-Id: I930c581525ed5b02dd8850e9781b01eed12c857f
|
|
Change-Id: If0d71f0660d60e3bcea4db3906ffe600e00f69f2
|
|
Change-Id: I1adcaeea7a1a3f7a3634897821f15443dbc78e94
|
|
Change-Id: Iaee3f8a43cba1d4fd02b6a51d42f73c8ef9e99b7
|
|
Change-Id: I2494779521d56edcab41f66a7c64e7dc5a9205ad
|
|
Change-Id: Ia71097a3d0fbeb606b1f6cfb7e6edb86bd45082a
|
|
Change-Id: I90ca3ddbc2e1d4b830ec6e536e36e924ee14416a
|
|
Change-Id: If0f0e40964f7dc107e14753da49df5cdc77732be
|
|
Change-Id: I4629a01a67dd57d5915403a89da90e98b5184503
|
|
(At least some glibc make FD_ISSET happen to be of type bool in C++, that's why
we explicitly cast it to bool instead of comparing != 0 to avoid
loplugin:implicitboolconversion; cf.
<https://sourceware.org/ml/libc-help/2014-11/msg00018.html> "Type of FD_ISSET
happens to be bool in C++.")
Change-Id: I6da67620067392f5866d053b074198413da814b1
|
|
Change-Id: I6d9f43a18e13cb291cb678b6faeeed7c0ec9de1a
|
|
Change-Id: I0c9659379e6120c0bf01b6436d3127b83ad01af1
|
|
Change-Id: Ida0c3c0c521f71fd3f18a12c02cf98ac96c5b7a6
|
|
Change-Id: I24ebffd1b055bdd6ad93d2f071d20480b549379f
|
|
Change-Id: I87d977aabd09ff01cba0f25247dca43a2bf0dd2b
|
|
Change-Id: I24545b92d7aa0898289d0dee19f34966769702a1
|
|
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, undid one remove that was
detrimental to loplugin:unreffun
Change-Id: I18d8252084d828f94ef7a954e1dbfb45743d7970
|