summaryrefslogtreecommitdiff
path: root/external/graphite
AgeCommit message (Collapse)AuthorFilesLines
2017-06-07external/graphite: Avoid -fsanitize=pointer-overflowStephan Bergmann1-0/+11
...that was recently introduced into Clang trunk with <https://reviews.llvm.org/D33305> "[ubsan] Add a check for pointer overflow UB". Here, _code is of type instr*, dist is of type ptrdiff_t, and sizeof(instr) is something like 8. My first impulse was to cast the result of the division (done with arguments promoted to size_t) back to ptrdiff_t, but that wouldn't help: When dist is a relatively small negative number (like -3293184), the division expression will promote it to a large unsigned (size_t) value (like 0xFFFF'FFFF'FFCD'C000), but the result (in our case, 0x1FFF'FFFF'FFF9'B800) would be small enough to fit into ptrdiff_t as a positive value. So assume that sizeof(instr) fits into int and ensure the division is done on signed values. (At least CppunitTest_sc_subsequent_filters_test started to fail with "workdir/UnpackedTarball/graphite/src/inc/Code.h:165:15: runtime error: pointer index expression with base 0x7fb90a3b4df0 overflowed to 0x7fb90a0a0df0".) Change-Id: Ie6698e38d6abec80f2fa817c42ebf20618496109
2017-06-07Remove gb_LinkTarget_add_generated_cxxobjectsStephan Bergmann1-1/+1
...in favor of gb_LinkTarget_add_generated_exception_objects. The former would have needed any flags to be passed in explicitly (but no call sites did), so e.g. StaticLibrary_graphite didn't have any debug information (when building with --enable-debug). I guess there is no downside to having C++ exception support enabled in these places, and using _add_generated_cxxobjects instead was likely an oversight in the first place (at least in the case of external/graphite/StaticLibrary_graphite.mk, it was that way ever since 1ceb47d96da9e7977c96241f49ad291ff0466970 "graphite: convert to gbuild", but for no apparent reason). Change-Id: I9986a6c5ec30a521095dbe5315e5ca649741a790
2016-11-11new release of Graphite lib: 1.3.9Andras Timar1-5/+5
Change-Id: I4e9a7ebf323848a03e02da3e9ed39377d1df6715 Reviewed-on: https://gerrit.libreoffice.org/30771 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-04-01Fix up upgrade to graphite 1.3.8Martin Hosken1-11/+0
Change-Id: Idd7945176e1f667c29ff11144dc78870110bf562 Reviewed-on: https://gerrit.libreoffice.org/23716 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2016-01-06Refresh graphite2.win64.patch.1 to apply using sle11 patch binary.Tomáš Chvátal1-25/+26
Change-Id: If43ca99631fab5a3a04e7dead9b694cf52944666 Reviewed-on: https://gerrit.libreoffice.org/20882 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-12Generalize COM_GCC_IS_CLANG -> COM_IS_CLANGStephan Bergmann1-1/+1
...in anticipation of building with clang-cl.exe on Windows Change-Id: I1d723c9d3b5ca8a2bc6b27ef0189a7b053581398 Reviewed-on: https://gerrit.libreoffice.org/19928 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-24Fix graphite sole diacritic renderingMartin Hosken1-1/+3
Change-Id: If44ab2ff8c860fbed2af3b4702fa031675e425f4 Reviewed-on: https://gerrit.libreoffice.org/18757 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2015-09-17Fix Graphite windows build staticMartin Hosken2-1/+12
Change-Id: I6feb3805e79f7cae4a8df7efa665fd97c56411c2 Reviewed-on: https://gerrit.libreoffice.org/18654 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2015-09-14Refactor graphite integration and update graphiteMartin Hosken4-17/+18
Change-Id: I09db7262c2a6180a078620ba086dd7a4c132bd82 Reviewed-on: https://gerrit.libreoffice.org/18459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2015-06-29external/graphite: work around -fsanitize=nonnull-attribute/vptrStephan Bergmann2-0/+54
Change-Id: Ic0766555dc7a04bbb8c7ad8f9cba3d74d84c59db
2015-03-02remove executable bit from .mk / .patch filesMichael Stahl2-0/+0
Change-Id: Ic8560c9ea13bee56b63e4661446689c7857f789e
2015-02-04Fix graphite on windows 64 bitDavid Ostrovsky2-0/+48
Change-Id: I509fcf9194d3cc0d4454e31a9f7dfbb7f22c421c Reviewed-on: https://gerrit.libreoffice.org/14316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-15Graphite: Add link to main development site and issue trackerDavid Ostrovsky1-0/+3
Change-Id: I8f7777c1234a69e1851b8f4f4e8afc8466cc2e06 Reviewed-on: https://gerrit.libreoffice.org/13918 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-12-12Update bundled Graphite to 1.2.4Khaled Hosny2-31/+0
Change-Id: Id8c90b58c40bd449617c58f6c9e7cdea035a1c41 Reviewed-on: https://gerrit.libreoffice.org/7056 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-18Fix building from inside modules moved to externalKhaled Hosny1-1/+1
Change-Id: Id6023dc3751fe70984f489682be17d1ab1855f71
2013-10-18fdo#70393: move graphite to a subdir of externalKhaled Hosny7-0/+170
Change-Id: If0f3c19fd539d2b1323016df032b9f959a0adf66 Reviewed-on: https://gerrit.libreoffice.org/6305 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>