office-gobmx/desktop
Tomaž Vajngerl 3810f28d78 Fix currency symbol selection in Calc on mobile
In LOK we use one language identifier for both - UI language and
the locale used. This is a problem when we determine that we a
language for UI is not available and fall-back to the default
"en-US" langauge, which also changes the locale. This introduces
a separate variable that stores the language tag for the locale
independently to the language.

Another problem is that in some cases we don't reset the staticly
initialized data, when the new document is loaded, which is on
the other hand used to define which currency symbol is used as
SYSTEM locale. That can in some cases select the wrong currency
symbol even when we changed the locale to something else. This fix
introduces a reset function, which is triggered on every document
load.

Change-Id: I55c7f467600a832895f94346f8bf11a6ef6a1e49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89320
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89343
Tested-by: Jenkins
2020-02-25 09:25:33 +01:00
..
inc tdf#127205 split Desktop::terminate process 2020-02-22 09:14:52 +01:00
qa Fix currency symbol selection in Calc on mobile 2020-02-25 09:25:33 +01:00
scripts merge OpenGLZone and OpenCLZone into one generic code 2020-02-07 09:11:32 +01:00
source Fix currency symbol selection in Calc on mobile 2020-02-25 09:25:33 +01:00
test/deployment Fix Extension_test-{active,passive} 2020-01-10 21:59:18 +01:00
uiconfig/ui most has_tooltip uses are bogus 2020-01-07 16:02:39 +01:00
unx/source clang-format c*,d*,e* with under 5-percent lines of change 2020-02-16 14:10:11 +01:00
util
win32/source tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
AllLangMoTarget_dkt.mk
CppunitTest_desktop_app.mk
CppunitTest_desktop_dialogs_test.mk
CppunitTest_desktop_lib.mk Fix currency symbol selection in Calc on mobile 2020-02-25 09:25:33 +01:00
CppunitTest_desktop_lokinit.mk
CppunitTest_desktop_version.mk
CustomTarget_desktop_unopackages_install.mk
CustomTarget_soffice.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
Executable_minidump_upload.mk
Executable_oosplash.mk
Executable_quickstart.mk
Executable_sbase.mk
Executable_scalc.mk
Executable_sdraw.mk
Executable_simpress.mk
Executable_smath.mk
Executable_soffice_bin.mk macOS Xcode ld is known to always support -platform_version now 2020-02-20 23:15:52 +01:00
Executable_soffice_com.mk
Executable_soffice_exe.mk
Executable_sweb.mk
Executable_swriter.mk
Executable_unoinfo.mk
Executable_unopkg.mk Make unopkg.com proper launcher for unopkg.bin on Windows 2020-01-23 06:20:22 +01:00
Executable_unopkg_bin.mk Make unopkg.com proper launcher for unopkg.bin on Windows 2020-01-23 06:20:22 +01:00
Executable_unopkg_com.mk Make unopkg.com proper launcher for unopkg.bin on Windows 2020-01-23 06:20:22 +01:00
Extension_test-active.mk
Extension_test-passive.mk
GeneratedPackage_desktop_unopackages_install.mk
IwyuFilter_desktop.yaml Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
Jar_active_java.mk tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
Jar_passive_java.mk tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
Library_active_native.mk
Library_crashreport.mk
Library_deployment.mk
Library_deploymentgui.mk
Library_deploymentmisc.mk
Library_migrationoo2.mk
Library_migrationoo3.mk
Library_offacc.mk
Library_passive_native.mk
Library_sofficeapp.mk
Library_spl.mk
Library_unopkgapp.mk
Makefile
Module_desktop.mk
Package_branding.mk
Package_branding_custom.mk
Package_sbase_sh.mk
Package_scalc_sh.mk
Package_scripts.mk
Package_sdraw_sh.mk
Package_simpress_sh.mk
Package_smath_sh.mk
Package_soffice_sh.mk
Package_swriter_sh.mk
Pagein_calc.mk
Pagein_common.mk
Pagein_draw.mk
Pagein_impress.mk
Pagein_writer.mk
Pyuno_passive_python.mk
Rdb_passive_generic.mk
Rdb_passive_platform.mk
README
README.vars
StaticLibrary_winlauncher.mk
StaticLibrary_winloader.mk
UIConfig_deployment.mk
WinResTarget_quickstart.mk
WinResTarget_sbase.mk
WinResTarget_scalc.mk
WinResTarget_sdraw.mk
WinResTarget_simpress.mk
WinResTarget_smath.mk
WinResTarget_soffice.mk
WinResTarget_sofficebin.mk
WinResTarget_sweb.mk
WinResTarget_swriter.mk

What used to be the desktop in StarOffice 5 - now the binary.


Stable Interface
================

Some of the artifacts built here are part of a LibreOffice installation set's
stable interface, which (programmatic) clients can depend on.  Among them are:

soffice
=======

In the "program" directory ("program/" on Linux and Windows, "Contents/MacOS/"
on macOS).

unoinfo
=======

In the "program" directory ("program/" on Linux and Windows, "Contents/MacOS/"
on macOS).

When called with a sole argument of "c++", it prints to stdout an absolute
pathname denoting the directory where the public URE libraries are found.

When called with a sole argument of "java", it prints to stdout a marker
character (either an ASCII '0' or '1') followed by a sequence of zero or more
absolute pathnames denoting jars or directories that need to be included in a
class loader's search locations.

If the marker character is '0' (on Linux and macOS), the pathnames are
encoded as bytes, and any two pathnames in the sequence are separated from each
other by NUL bytes.

If the marker character is '1' (on Windows), the pathnames are encoded as
UTF-16-LE two-byte code units, and any two pathnames in the sequence are
separated from each other by two-byte NUL code units.