Age | Commit message (Collapse) | Author | Files | Lines |
|
...it leads to better handling of the failure downstream, if e.g. this is an
attempt to copy a file from the presets to an existing file of a previously
partly generated UserInstallation, and the presets and the UserInstallation are
on different drives and rename(3) fails with EXDEV. (Without this fix, removing
the UserInstallation's registrymodifications.xcu caused restarting soffice to
fail with "User installation could not be completed" in this case; regression
introduced with 6edbcc1b231feb02f304ff646c323b5df051d9a4 "cid#1242936 handle
rename failure.")
Change-Id: I409698c4e2e6cc6ccd8b2be80a393c9657b5125d
(cherry picked from commit d2a7abebf210cacf9ea357dd8b4a0772be7308df)
Reviewed-on: https://gerrit.libreoffice.org/18899
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
(cherry picked from commit f7a7a9dd84d1cd8b49d59e1fb1853ea7e9f40edf)
Conflicts:
sal/qa/rtl/strings/test_strings_replace.cxx
sal/rtl/ustring.cxx
(cherry picked from commit e36ca8d3c69d0c08ad28ceea278b05a0af81e102)
Conflicts:
sal/qa/rtl/strings/test_strings_replace.cxx
Change-Id: I745b09d8a248f08afdd3387f4cfcf69d71ec3c39
Reviewed-on: https://gerrit.libreoffice.org/16465
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
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
(cherry picked from commit 41565560250294e22fc1c21bc4bab8286255d4cc)
|
|
Change-Id: Idf514941f4bb05834d8ac0d7bafbe86e34377611
(cherry picked from commit 85b5e24b903b6b4438ce422e6cb3eb8c7a02035f)
|
|
...cf. previous 2ad716f406e0fdb9b9294876c64ae92fecbf5e27 "Revert 'pyuno: set up
fake command line in getComponentContext().'"
Change-Id: Ia77132465ada17a5839f9d4f9ccaf20f8b113075
(cherry picked from commit 54981ce9286073306513fa58405ebc7730eb6dfb)
|
|
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
(cherry picked from commit 2ad716f406e0fdb9b9294876c64ae92fecbf5e27)
|
|
...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
|
|
Change-Id: Ifa6775384993900980c93df88162143aa7ac0a08
|
|
Change-Id: I767b9300568971c09c058347a9bbb66108dd792a
|
|
Sadly cannot forward declare "struct {...} TimeValue;".
rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h
was painful enough for now...
Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
|