pre-commit auto remove trailing whitespace from `.mk` files (#377)If there are too many changes / files I can create a smaller PRThanks
Restore patch file
Fix spelling (#368)* misc: fix spelling* Update ignored words list
Remove the -Werror option from debug buildsThe flag is set by default by the graphite configure script, but itlets the compilation fail with gcc 7.5
Add initial support for building AOO with Clang on Linux.This allows Ubuntu 16.04 to compile AOO with Clang 1.8 on an x86.Other architectures probably don't work, as Clang 1.8 is prettystrict ab
Add initial support for building AOO with Clang on Linux.This allows Ubuntu 16.04 to compile AOO with Clang 1.8 on an x86.Other architectures probably don't work, as Clang 1.8 is prettystrict about the low-level C++ ABI hacks in main/bridges, but atleast they should fail early in main/bridges instead of theprevious behaviour, where main/bridges compiles nothing when"$(COM)" != "GCC" and main/i18npool then fails with a mysterious"error: cannot get uno environments" message.Patch by: megit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1782030 13f79535-47bb-0310-9956-ffa450edef68
show more ...
Fix --enable-debug build with clang as the compiler. Clang warns about this expression in graphite: if (!m_srAttachTo == 0)Operator precedence rules require this to be evaluated as:
Fix --enable-debug build with clang as the compiler. Clang warns about this expression in graphite: if (!m_srAttachTo == 0)Operator precedence rules require this to be evaluated as: if ((!m_srAttachTo) == 0)but clang worries that the author might have intended this to mean: if (!(m_srAttachTo == 0))Fortunately these two are equivalent, as is: if (m_srAttachTo != 0)and the latter is much easier for humans to understand.For some reason, --enable-debug adds -Werror to the graphite CFLAGS eventhough its makefile.mk specifies: EXTERNAL_WARNINGS_NOT_ERRORS := TRUEgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1755245 13f79535-47bb-0310-9956-ffa450edef68
Fix equivalent to Graphite2 CVE-2016-1521. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1735542 13f79535-47bb-0310-9956-ffa450edef68
FreeBSD build fixes.This allows out the box builds with gcc and tosimplify the build with clang and also the FreeBSD port.From Don Lewis (FreeBSD port maintainer):Because we need to use differ
FreeBSD build fixes.This allows out the box builds with gcc and tosimplify the build with clang and also the FreeBSD port.From Don Lewis (FreeBSD port maintainer):Because we need to use different CFLAGS for gcc and clang, I had to addsome compiler detection logic. On most platforms, the value of $(COM)is either set statically by set_soenv, or set_soenv parses the compilername to figure out which compiler is being used and then set $(COM)appropriately. The latter doesn't work for FreeBSD because cc couldeither be gcc or clang. For FreeBSD, I added the compiler detectionlogic to configure, which then passes that to set_soenv, in a somewhathackish manner.When building with ports gcc on FreeBSD, we need to pass the rpath forthe gcc runtime to the linker. The FreeBSD port attempts to to this byadding this information to LDFLAGS, which the openoffice configurescript then steps on, and in any case, this does not help the out of thebox build. My solution is to add some logic to configure to generatethe necessary linker flags, which it then passes to set_soenv forinclusion in FreeBSD*Env.Set.sh.On FreeBSD, the out of the box build needs to pass $LIBINTL_PREFIX inthe environment to the build phase. I added some code to configure tofigure out the value of this variable and to pass it to set_soenv forinclusion in FreeBSD*Env.Set.sh so that this does not need to be done asa extra step in the build.Changing $(COM) from GCC to CLANG for clang builds caused a numberregressions elsewhere in the build framework. These were mostly causedby the framework checking for $(COM) == GCC and $(OS) == FREEBSD, with$(COM) == CLANG case unhandled. The fix was generally to just ignorethe value of $(COM) and only test the value of $(OS). One special casewas the bridgetest regression test, which started dumping core on INTEL32-bit when built with clang. It turns out that this entire test is wasskipped for $(COM) == gcc, $(OS) == FREEBSD, and $(CPU) == I. Ratherthan also skipping this test when building with clang, I tracked downthe failure to a particular subtest involving polymorphic structuresthat also fails on OS/2 and tweaked the code to also skip that subteston FREEBSD INTEL (32-bit). Now bridgetest is run and passes on FreeBSDwith both gcc and clang, on both i386 and amd64.Submitted by: Don Lewisgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1694132 13f79535-47bb-0310-9956-ffa450edef68
#i123501# fix invalid iterators in graphitegit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1570513 13f79535-47bb-0310-9956-ffa450edef68
#i122208# allow silgraphite build with a move-semantic enabled STLby fixing the non-canonical copy constructor of gr::Segment()git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@15459
#i122208# allow silgraphite build with a move-semantic enabled STLby fixing the non-canonical copy constructor of gr::Segment()git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1545963 13f79535-47bb-0310-9956-ffa450edef68
Merged with the trunk.git-svn-id: https://svn.apache.org/repos/asf/openoffice/branches/ia2@1519381 13f79535-47bb-0310-9956-ffa450edef68
#i122378# support graphite on system-STL based AOO on Windowsgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1486846 13f79535-47bb-0310-9956-ffa450edef68
FreeBSD port: workaround stlport issues.git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1433648 13f79535-47bb-0310-9956-ffa450edef68
remove svn:executable properties from many more non-exec filesgit-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1244909 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
118674: Made category B code optional and disabled by default.git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1215131 13f79535-47bb-0310-9956-ffa450edef68
fix build breakers unxlngx6.pro gcc 4.6.1 (Debian wheezy amd64)Builds up to but not including offapi.git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1162554 13f79535-47bb-0310-99
fix build breakers unxlngx6.pro gcc 4.6.1 (Debian wheezy amd64)Builds up to but not including offapi.git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1162554 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