office-gobmx/desktop
Thorsten Wagner 1a16762531 tdf#138122 Add window scaling for retina displays on macOS
(1) Remove hack to make application look as if being linked against SDK 10.13

(2) Use quad storage size on virtual devices for displaying on retina displays thereafter

(3) Apply workaround to downsample bitmaps from scaled layers (to be implemented)

(4) Disable dark mode (to be implemented)

(5) Provide new environment variables:

VCL_MACOS_FORCE_WINDOW_SCALING:
window scaling on non retina displays

VCL_MACOS_FORCE_DARK_MODE:
enable dark mode (macOS 10.14, iOS 13 and newer)

VCL_MACOS_USE_SYSTEM_APPEARANCE:
use light mode or dark mode (macOS 10.14, iOS 13 and newer) as configured by system preferences

Change-Id: I99877cd62a98cb91bcbf27af62b043c31c5f5fc9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109072
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-01-17 19:21:15 +01:00
..
inc loplugin:stringviewparam: operator + 2020-12-29 16:42:33 +01:00
qa loplugin:stringviewparam: operator + 2020-12-29 16:42:33 +01:00
scripts desktop: rr --ignore-nested was renamed to --nested=ignore 2020-11-23 14:35:25 +01:00
source fix rendershapeselection for drawing 2021-01-17 09:18:43 +01:00
test/deployment tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-12-20 16:14:19 +01:00
uiconfig/ui replace stock button labels 2021-01-15 12:43:22 +01:00
unx/source Fix check for inclusion of <sys/sysmacros.h> 2020-10-15 11:56:04 +02:00
util
win32/source tdf#48413 handle wildcards on Windows 2020-11-30 10:35:37 +01:00
AllLangMoTarget_dkt.mk
CppunitTest_desktop_app.mk Call framework::Desktop::shutdown directly 2020-06-29 16:40:52 +02:00
CppunitTest_desktop_dialogs_test.mk
CppunitTest_desktop_lib.mk ScriptForge - Update build files 2020-11-07 07:33:06 +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 tdf#138122 Add window scaling for retina displays on macOS 2021-01-17 19:21:15 +01:00
Executable_soffice_com.mk
Executable_soffice_exe.mk
Executable_soffice_safe.mk desktop: separate executable shortcut for safe-mode 2020-07-13 10:53:12 +02:00
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 tdf#42949 Fix new IWYU warnings in directories d* 2020-11-09 16:04:18 +01:00
Jar_active_java.mk Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
Jar_passive_java.mk Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
Library_active_native.mk
Library_crashreport.mk
Library_deployment.mk desktop/deployment: create instances with uno constructors 2020-07-11 11:34:08 +02:00
Library_deploymentgui.mk
Library_deploymentmisc.mk
Library_migrationoo2.mk desktop: create instances with uno constructors 2020-07-09 09:25:57 +02:00
Library_migrationoo3.mk desktop: create instances with uno constructors 2020-07-09 09:25:57 +02:00
Library_offacc.mk
Library_passive_native.mk
Library_sofficeapp.mk Call framework::Desktop::shutdown directly 2020-06-29 16:40:52 +02:00
Library_spl.mk desktop: create instances with uno constructors 2020-07-09 09:25:57 +02:00
Library_unopkgapp.mk
Makefile
Module_desktop.mk desktop: separate executable shortcut for safe-mode 2020-07-13 10:53:12 +02:00
Package_branding.mk
Package_branding_custom.mk
Package_sbase_sh.mk
Package_scalc_sh.mk
Package_scripts.mk On Mac OS X, directly name the executable "unopkg" 2015-02-09 18:07:26 +01:00
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 reduce number of framework libraries 2020-07-04 22:42:54 +02:00
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.