Native Apple Silicon (arm64) support and bundled Python 3.10 baselineSquashed combination of two efforts, applied onto trunk as a singlecommit. (trunk is not intended to be buildable; this lands t
Native Apple Silicon (arm64) support and bundled Python 3.10 baselineSquashed combination of two efforts, applied onto trunk as a singlecommit. (trunk is not intended to be buildable; this lands the work forreference/integration.)=== Apple Silicon (macOS arm64 / AAPCS64) ===Build plumbing: set_soenv.in + source_soenv.sh arm64 Darwin branch(CPU=R, CPUNAME=AARCH64, OUTPATH=unxmaccr); new solenv/inc/unxmaccr.mkand unx.mk dispatch; macro.hxx AARCH64 arch string; osarch.pm +gbuild/platform/macosx.mk arch entries; configure.ac arm64 hostdetection, Big Sur+ version math, and 11.0 deployment target.C++/UNO bridge (new s5abi_macosx_aarch64): abi.cxx/hxx AAPCS64 classifier(HFA + <=16B/>16B size rules), uno2cpp + call.s AArch64 trampoline,cpp2uno incoming path + privateSnippetExecutor + AArch64 codeSnippetcodegen (x8 indirect-result handled, not displacing this/x0), share.hxx__cxa_exception reserved-member alignment fix; Library_cpp_uno.mk +makefile.mk wiring. sal/osl/unx/interlck.c arm64 atomics (__sync_* ->LSE).Externals: openssl darwin64-arm64-cc; icu arm64 little-endian. (NSS 3.39deferred -- too old for arm64.)Packaging/JVM: Info.plist LSMinimumSystemVersion 11.0; installerdownload.pm/worker.pm/update_module_ignore_lists.pl recognize unxmaccr;jvmfwk modern macOS JDK discovery (/Library/Java/JavaVirtualMachines +Contents/Home probe).The ABI/atomics/trampoline/JDK-discovery code was unit-tested nativelyon an arm64 macOS host; a full AOO build (and bridgetest) was not run.Code-signing infra (mandatory for arm64 distribution) is NOT included.=== Bundled Python 2.7.18 -> 3.10 baseline (Unix/macOS first) ===pyversion.mk/_dmake.mk -> 3.10.18 (single version knob). Shipped .pyfixes: imp -> types.ModuleType (pythonscript.py, pythonloader.py) andfile() -> open(); mailmerge.py Py3 email module imports + encoders.Windows Python 3 build and the makefile.mk/d.lst/configure.ac Py3 workare NOT included (separate, larger effort).NOTE: macOS 11 becomes the minimum supported version. Python 3.10 isEOL 2026-10; the version knob allows a later bump.(cherry picked from commit 5e139d9fe42a654147771da4118aea6285c03168)
show more ...
icu module parallel build fixParallel builds of the icu module fail sporadically due to a racecondition. Tweak the makefile dependencies to hopefully fix theproblem.(cherry picked from commit
icu module parallel build fixParallel builds of the icu module fail sporadically due to a racecondition. Tweak the makefile dependencies to hopefully fix theproblem.(cherry picked from commit 17604d2661ceca2ca6d152a1fcedd0802bbab260)
pre-commit auto remove trailing whitespace from `.mk` files (#377)If there are too many changes / files I can create a smaller PRThanks(cherry picked from commit 31bbceb0f9d64c0c2c3b22a794a1666
pre-commit auto remove trailing whitespace from `.mk` files (#377)If there are too many changes / files I can create a smaller PRThanks(cherry picked from commit 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
pre-commit: add hook to auto trim trailing whitespace (#277)So far targets only `.pl` files(cherry picked from commit 569f9dbcf6b6e381a1fb2d124b30824476b68dba)
pre-commit(end-of-file-fixer): auto fix `.mk` files (#266)* pre-commit(end-of-file-fixer): auto fix `.mk` files* Update makefile.mk* Update makefile.mk---------Co-authored-by: Matthias Seid
pre-commit(end-of-file-fixer): auto fix `.mk` files (#266)* pre-commit(end-of-file-fixer): auto fix `.mk` files* Update makefile.mk* Update makefile.mk---------Co-authored-by: Matthias Seidel <mseidel@apache.org>(cherry picked from commit 78190a370f7d7129fed9a7e70ca122eaae71ce1d)
Allow compilation under MacOS(cherry picked from commit 0774725aa1f8e85bfb763e54c8ea5a3057c0d040)
Switch to icu 4.2.1Update createmak.pl to adjust paths.Update createmak.cfg to the new sources.(cherry picked from commit b0de321897d0795c98972c112b1134c6a4cb160d)
icu/createmak.pl: debugging and symbols enabled from environment variables.(cherry picked from commit 0e7a4e4f44b7a4d74f1b949a4c82c54b5aa29563)
When building icu on FreeBSD with ports gcc, use the rpath to find libstdc++.This many only be needed with gcc is installed with a non-default PREFIXand/or ldconifig is not run on that directory.
Merge r1852965 from trunk:Port main/i18npool to gbuild.Allow ICU's version.mk to be used by GNU make (= instead of *=).Add support for building generated C files.Reference ICU libraries using
Merge r1852965 from trunk:Port main/i18npool to gbuild.Allow ICU's version.mk to be used by GNU make (= instead of *=).Add support for building generated C files.Reference ICU libraries using "gb_Library_use_externals" across the tree.Also ICU is an external library, remove it from RepositoryFixes.mkwhich is only for internal ones, and keep it in RepositoryExternal.mkexclusively. Since we get to specify the full linker parameter over there,remove the half-baked hacks for it from RepositoryFixes.mk.Patch by: meSubmitted by: damjanReviewed by: jimgit-svn-id: https://svn.apache.org/repos/asf/openoffice/branches/AOO42X@1853583 13f79535-47bb-0310-9956-ffa450edef68
Get main/icu building on Win64.Patch by: megit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1826062 13f79535-47bb-0310-9956-ffa450edef68
Fix -Wformat-security warnings.There are a number of instances where the code calls *printf() toprint arbitrary strings and the string is passed as the formatargument to *printf(). Since these s
Fix -Wformat-security warnings.There are a number of instances where the code calls *printf() toprint arbitrary strings and the string is passed as the formatargument to *printf(). Since these strings might contain %conversion sequences, this is a security hazard. Fix the problemby printing the strings with a "%s" format.git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1758644 13f79535-47bb-0310-9956-ffa450edef68
#i126840# - Windows/MSVC build often fails in main/icuThe build script (used only on MSVC, not MingW or other OSes) for icugenerates nmake makefiles for the build using icu'ssource/allinone/allin
#i126840# - Windows/MSVC build often fails in main/icuThe build script (used only on MSVC, not MingW or other OSes) for icugenerates nmake makefiles for the build using icu'ssource/allinone/allinone.sln, in which layoutex doesn't list a dependencyon i18n, despite linking to icuin.lib from i18n, which sporadically causesthe icu build to fail. This is really an upstream bug, however upstreamdoesn't build using allinone.sln so we are affected more.This patch declares the missing dependecy, and makes icu build reliably.Patch by: meTested by: patsgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1729921 13f79535-47bb-0310-9956-ffa450edef68
Many spelling fixes: directories h* - p*.Attempt to clean up most but certainly not all the spellingmistakes that found home in OpenOffice through decades. Wecould probably blame the internationa
Many spelling fixes: directories h* - p*.Attempt to clean up most but certainly not all the spellingmistakes that found home in OpenOffice through decades. Wecould probably blame the international nature of the code butit is somewhat shameful that this wasn't done before.git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1591060 13f79535-47bb-0310-9956-ffa450edef68
allow non-gcc icu-compile on Macgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1476202 13f79535-47bb-0310-9956-ffa450edef68
fix icu build breaker for compilers supporting user-defined literalsgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1469818 13f79535-47bb-0310-9956-ffa450edef68
fix build breaker in ICU caused by narrowing conversion in an initializer listUpstream ICU should change the type of ranges.value to an uint32_tbut the static_cast is less invasive so it is better
fix build breaker in ICU caused by narrowing conversion in an initializer listUpstream ICU should change the type of ranges.value to an uint32_tbut the static_cast is less invasive so it is better for our casegit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1451592 13f79535-47bb-0310-9956-ffa450edef68
#i119946# enable SAFESEH, NXCOMPAT and DYNAMICBASE for icu binariesPatch-by: Herbert DuerrFound-by: Herbert Duerrgit-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1362483 13f7953
#i119946# enable SAFESEH, NXCOMPAT and DYNAMICBASE for icu binariesPatch-by: Herbert DuerrFound-by: Herbert Duerrgit-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1362483 13f79535-47bb-0310-9956-ffa450edef68
remove svn:executable properties from make and pack filesgit-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1244512 13f79535-47bb-0310-9956-ffa450edef68
FreeBSD port: build fixes.git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1235124 13f79535-47bb-0310-9956-ffa450edef68
Update headers to Alv2 headersgit-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1232676 13f79535-47bb-0310-9956-ffa450edef68
Update headers to Alv2 headersgit-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1229815 13f79535-47bb-0310-9956-ffa450edef68
check string acesses in ICU uloc.cgit-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1214135 13f79535-47bb-0310-9956-ffa450edef68
Initial import of the old OOo hg repository tip revision. .../trunk/main is a copy of (currently tip-most) http://hg.services.openoffice.org/OOO340/rev/c904c1944462 .../trunk/extras/l10n is a co
Initial import of the old OOo hg repository tip revision. .../trunk/main is a copy of (currently tip-most) http://hg.services.openoffice.org/OOO340/rev/c904c1944462 .../trunk/extras/l10n is a copy of (currently tip-most) http://hg.services.openoffice.org/master_l10n/OOO340/rev/af6bc9467af5 Note that the following files with line-end and/or encoding anomalies were left out (they will need to be to be checked in separately):/ooo/trunk/core/dictionaries/de_DE/README_hyph_de_DE.txt/ooo/trunk/core/dictionaries/de_CH/README_hyph_de_CH.txt/ooo/trunk/core/dictionaries/de_AT/README_hyph_de_AT.txt/ooo/trunk/core/gettext/gettext-0.18.1.1.patch/ooo/trunk/core/apache-commons/patches/codec.patch/ooo/trunk/core/libcroco/libcroco-0.6.2.patch/ooo/trunk/core/testautomation/writer/optional/input/import/mactext.txt/ooo/trunk/core/graphite/graphite-2.3.1.patch/ooo/trunk/core/hwpfilter/source/hwpeq.cpp/ooo/trunk/core/solenv/bin/cwstouched.pl/ooo/trunk/core/readlicense_oo/html/THIRDPARTYLICENSEREADME.html/ooo/trunk/core/writerfilter/source/doctok/escher.html/ooo/trunk/core/writerfilter/source/odiapi/qname/resource/office2003/WordprocessingML Schemas/xsdlib.xsd/ooo/trunk/core/writerfilter/source/odiapi/qname/resource/office2003/WordprocessingML Schemas/wordnetaux.xsd/ooo/trunk/core/filter/source/xslt/odf2xhtml/export/common/body.xsl/ooo/trunk/core/filter/source/xslt/odf2xhtml/export/common/styles/style_mapping_css.xslAlso: Repository.mk from the l10n toplevelgit-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1162288 13f79535-47bb-0310-9956-ffa450edef68