caa211b620
The idea is to internally in sal/osl/unx/ use OString instead of OUString to represent pathnames, so that the OString carries the actual bytes that make up the pathname. At the boundary of translating between pathname OStrings and file URL OUStrings, translate sequences of bytes that are valid according to osl_getThreadTextEncoding() into UTF-8 and translate other bytes into individual (percent-encoded) bytes in the file URL. This change required duplicating some of the internal functionality in sal/osl/unx/ for both OString and OUString, and to make part of sal/rtl/uri.cxx accessible from sal/osl/unx/ via new sal/inc/uri_internal.hxx. Change-Id: Id1ebaebe9e7f2d21f350f6b1a07849edee54331f Reviewed-on: https://gerrit.libreoffice.org/78798 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> |
||
---|---|---|
.. | ||
asm | ||
backtrace.c | ||
backtrace.h | ||
backtraceapi.cxx | ||
conditn.cxx | ||
createfilehandlefromfd.hxx | ||
file.cxx | ||
file_error_transl.cxx | ||
file_error_transl.hxx | ||
file_impl.hxx | ||
file_misc.cxx | ||
file_path_helper.cxx | ||
file_path_helper.hxx | ||
file_stat.cxx | ||
file_url.cxx | ||
file_url.hxx | ||
file_volume.cxx | ||
interlck.cxx | ||
memory.cxx | ||
module.cxx | ||
mutex.cxx | ||
nlsupport.cxx | ||
nlsupport.hxx | ||
osxlocale.cxx | ||
pipe.cxx | ||
process.cxx | ||
process_impl.cxx | ||
profile.cxx | ||
random.cxx | ||
readwrite_helper.cxx | ||
readwrite_helper.hxx | ||
salinit.cxx | ||
saltime.hxx | ||
secimpl.hxx | ||
security.cxx | ||
signal.cxx | ||
socket.cxx | ||
sockimpl.hxx | ||
soffice.cxx | ||
soffice.hxx | ||
system.cxx | ||
system.hxx | ||
system.mm | ||
tempfile.cxx | ||
thread.cxx | ||
time.cxx | ||
unixerrnostring.hxx | ||
uunxapi.cxx | ||
uunxapi.hxx | ||
uunxapi.mm |