summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-18Re-enable Kashida insertion in CommonSalLayoutKhaled Hosny
We now do Kashida insertion in ApplyDXArray(), no need for a separate step. This simplifies the code greatly (old code is in GenericSalLayout::KashidaJustify()). Change-Id: Ie31c8969e26f1f293820f1e90f963a5ba1fc9eb1
2016-10-18Fix applying DX adjustments in CommonSalLayoutKhaled Hosny
By overriding GetCharWidths() and ApplyDXArray() with a simpler and saner implementation. This fixes rendering of Awami Nastaliq, as well as subtending marks in Amiri and potentially other bugs. Breaks Kashida justification, will need to rewrite that one as well. Change-Id: I843679e937f2881e77df61f5cbd9516b6df1b3b6
2016-10-18Don’t check glyph class unnecessarilyKhaled Hosny
Don’t call hb_ot_layout_get_glyph_class() unless the glyph advance width is zero, as we really do not use its result otherwise. Change-Id: Id02238abef91b9343931f1886d54d966d7157f25
2016-10-18Cache HarfBuzz fontKhaled Hosny
We now create it only once per physical font, saves us few percents from the all over time spent on layout. Change-Id: I8de582cb20a168c93d72921e539c2477fa97fb54
2016-10-18Always build Graphite everywhereKhaled Hosny
It is no longer an optional feature on any platform. The --enable-graphite stuff is kept as it controls the old Graphite integration code and it should be removed without. Change-Id: Ib4d76bba782a1439f02f93411b22d237a1987ea5
2016-10-18Always build HarfBuzz everywhereKhaled Hosny
It is no longer an optional feature on any platform. Change-Id: I70cdcd2c0df69d961ecc5f36b4e8d035d251ef16
2016-10-18GSoC: Speed up CommonSalLayout by caching hb_faceAkash Jain
Cache hb_face so it is not created again and again. Switch from GDI to DirectWrite on Windows to obtain SFNT table data. Change-Id: I9c532cd72e1f6b57313f3b7d42a6b9b0633eb0ef
2016-10-18GSoC: Move TextOutRenderer definition to winlayout.hxxAkash Jain
Change-Id: I705f92d5ad55d7612c6413436c801de13f5352a6
2016-10-18GSoC: Add Graphite support for CommonSalLayoutAkash Jain
Enable Graphite font rendering in CommonSalLayout through Harfbuzz Change-Id: Ia6a00a1bb6ea1a7bd705ed91d4f4f6cb9803e062
2016-10-18GSoC: Enable building Harfbuzz with GraphiteAkash Jain
Harfbuzz will now need to be built with Graphite support. This allows Harfbuzz to handle Graphite fonts. In case we all building with system Harfbuzz, then it should be built with Graphite support else we error out. Change-Id: I156ec08b9e5ad7ce87cc15e4b5852d9c57c98f7f
2016-10-18GSoC: Integrate new CommonSalLayout in quartz/ codeAkash Jain
Change-Id: I07a9c956f09be5d43ee58ff0784ba0f81f52cd9a
2016-10-18GSoC: Integrate new CommonSalLayout in win/ codeAkash Jain
Change-Id: Ifeb2fa7ca9e2cd0da1c504d4e770aa0bb1b0b0de
2016-10-18GSoC: Integrate new CommonSalLayout in unx/ codeAkash Jain
Change-Id: I991cb5cbd2adad4f4c9f62f807990b9fde2a5133
2016-10-18GSoC: Modify DrawServerFontLayout and add DrawSalLayoutAkash Jain
Modify the definiton of the DrawServerFontLayout method. Add new DrawSalLayout method which will be used for drawing text independent of the platform. Change-Id: Ie3eefb172b1781c685def1ef549db2538f672a62
2016-10-18GSoC: Modify HARFBUZZ_LIBS flag if compiling with MSVCAkash Jain
MSVC has a different format for specifying libs to be linked. Therefore, modify libs flag accordingly. Change-Id: Ib919c4b6b0cdac47a8a6ad6730d20e19bc05b0d4
2016-10-18GSoC: Add new CommonSalLayout classAkash Jain
Change-Id: Ic11e573da2f5fd6ef931f53ab674f8894815c3b4
2016-10-18GSoC: Move code from winlayout.cxx to winlayout.hxxAkash Jain
WinFontInstance definition moved to winlayout.hxx. It has to be used in the new layout class. Code and headers which WinFontInstance depends on also moved to winlayout.hxx Change-Id: Idc8f87e6601c220d504398671326b1f23d1779a3
2016-10-18GSoC: Move winlayout header file to vcl/inc/winAkash Jain
The winlayout header file will need to be included in the new layout class. Its better to move it to vcl/inc. Change-Id: Ifb4170e1948dc56b5ec1728380eff7c2b4a07137
2016-10-18GSoC: Move scrptrun header and source file out of unxAkash Jain
Scrptrun class will be used by the new layout engine for script itemisation. It will need to be compiled on all platforms. Therefore move the header and source file to vcl/inc/ and vcl/source/gdi/ respectively. Change-Id: If4e1e0e76ffb94f9d0ca08f7d5f9982dd907c1c6
2016-10-18GSoC: Add a generic GetTable function for WinFontFaceAkash Jain
Change-Id: Ia10ffd8c4b5e0cef89571204f5f1df32daa9edb7
2016-10-18xmlsecurity: use NSS on Linux/macOS to generate pdf signatureMiklos Vajna
This is just the minimum so that our own PDF signature validation is happy. Change-Id: I1148817c11174fd4f9184d0ce2c0511e9d6bd11c Reviewed-on: https://gerrit.libreoffice.org/30018 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-18dynamic_cast followed by static_castCaolán McNamara
Change-Id: I079b483f2fce1a55f5690fa5a990cbe40ead6a7a
2016-10-18make area tab page of paragraph properties not crashCaolán McNamara
cause the parent dialog isn't a SvxAreaTabDialog Change-Id: I1a1311ca4b414c797d4b3e72208e64bffea863ca
2016-10-18Resolves: tdf#101583 references to be expanded must be at least 2 cols/rowsEike Rathke
... wide/tall also in named expressions. Change-Id: If0c192def74812cc9405ae633b6f83f7021344d0
2016-10-18Simplify some dynamic/static_castsStephan Bergmann
...that are unnecessarily complicated after the "remove tools/rtti.hxx" commits Change-Id: I570751a1f81c547b50248fe4e2824c5c7c5dd624
2016-10-18Resolves: tdf#98807 gtk3 isn't giving utility windows focusCaolán McNamara
so just give up on that and give them a dialog hint instead Change-Id: Icca0c707dc464b0dbf362988b1dfee56866eadc0
2016-10-18Don't crash on closing gtk3 popup menu without enabled itemsMaxim Monastirsky
This thing: GtkSalMenu::ShowNativePopupMenu Menu::Deactivate MenuItemList::Remove GtkInstance::DestroyMenuItem deletes the SalMenuItem, leaving GtkSalMenu with invalid pointers. Change-Id: I22ff10fc62421a800d808a56625ce7144c8e04b4
2016-10-18Skip the placeholder added by PopupMenu::ImplExecuteMaxim Monastirsky
Change-Id: I7766a63aff240141342db8b4a9236f5930236b13
2016-10-18Avoid warning when opening the save dropdownMaxim Monastirsky
Change-Id: I92980d8d9326b8c0ed865d2ce796dccb7729e3e7
2016-10-18Fix: Quit in SafeModeDialog didn't work properlySamuel Mehrbrodt
Change-Id: I4c093ff02457040ee3752ef6ae4b63cbe5bb3863 Reviewed-on: https://gerrit.libreoffice.org/30006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-18tdf#103274 (7): Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: I734f673c54956daf7070bf3e8faeac5102bac01f Reviewed-on: https://gerrit.libreoffice.org/29992 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-18so_activex_x64: Avoid warning LNK4070Mike Kaganski
Don't specify optional library name in DEF file that is used both for 32-bit and 64-bit library: it's explicitly specified in command line. Change-Id: I20e732f2095367ec3648741dde26cf7ec101f28f Reviewed-on: https://gerrit.libreoffice.org/30008 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2016-10-18Any.get<Any>() is AnyJochen Nitschke
Change-Id: I0939163fb2180af319ff9828564126a7d8ad4788 Reviewed-on: https://gerrit.libreoffice.org/30002 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-18Revert "std::list<sal_uLong> to deque"Caolán McNamara
stldebug assert on insert->table, ok, ctrl+a, ctrl+c, ctrl+v This reverts commit 9e9e7bd3c9dc9a3149436916e747c7f7ee040621.
2016-10-18xmlsecurity: add signing stub in pdfverifyMiklos Vajna
It does (almost?) everything to add a valid signature, except the actual signature blob. Change-Id: I727770caef2335473a8dba29d60daf5a049129b9 Reviewed-on: https://gerrit.libreoffice.org/30001 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-18update creditsChristian Lohmaier
Change-Id: I494fe3abcd3827c9604fffff7f26e4ccd96c5600
2016-10-18Drop 'Human' icon themeSamuel Mehrbrodt
Was used in Ubuntu formerly, but they now switched to breeze. Human is mostly similiar to Tango, with some Ubuntu colors. So it should be enough to keep Tango. Change-Id: Ib44cbefb2953406c95dbb269ada663bce2503234 Reviewed-on: https://gerrit.libreoffice.org/29537 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-18Resolves: tdf#100251 gtk3 toolbar separators are white in AdwaitaCaolán McNamara
Change-Id: Iceeba474535026cd13393432ef9a2e25121c134a
2016-10-18prep WinResTarget for WNT in testdirBjoern Michaelsen
Change-Id: I04c050dca1212d247c9b11a996ba8f37c0a6492f Reviewed-on: https://gerrit.libreoffice.org/29825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-18Resolves: tdf#97065 gtk3: Date field displayed incompleteCaolán McNamara
a spinfield with a dropdown is sort of weird, we should probably revisit this and see if SPIN and DROPDOWN are mutually exclusive and for DROPDOWN use ComboBox styles Change-Id: Id7f5c54974dc2dfd63ab30df18e14f6a67a8ea90
2016-10-18tdf#103274 (6): Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: I71d83f1094800c3156f9159b6628e4d53d723b95 Reviewed-on: https://gerrit.libreoffice.org/29991 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-18Document the --language cmd line parameterSamuel Mehrbrodt
Change-Id: I46369bbbed1b74f7d13eb8c2b893df8cade73b79 Reviewed-on: https://gerrit.libreoffice.org/29996 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-18tdf#89307: Removed T* SvRef::opeartor &()Jacek Fraczek
Usage has been replaced with SvRef::get() or removed where applicable. Change-Id: I49f108910b668466134c40940b53fc3ab2acd816 Reviewed-on: https://gerrit.libreoffice.org/29780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-18Lock SolarMutex in SfxAppDispatchProvider::queryDispatchStephan Bergmann
...which can be called remotely via UNO, as happens during JunitTest_sfx2_unoapi Change-Id: I9dbf83f9985124ccb84f33cdd30ec1225a4f183d
2016-10-18Resolves: tdf#101590 cannot interact with filepicker from import categoryCaolán McNamara
the post-execute category dialog is picked as the toplevel parent, and gtk3 vclplug will grab events to that hierarchy, but can't interact with them in this state. Just dispose the category dialog so its not a candidate for the file dialog parent. Change-Id: I063fc6d687d556db229e2e200bb280a6cd3425f5
2016-10-18tdf#103204 opencl: initialize command queue on demandTomaž Vajngerl
Change-Id: Ie3da1d6ec91e951b1ffc15abf376c7af57789e47 Reviewed-on: https://gerrit.libreoffice.org/29802 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-10-18xmlsecurity: initial incremental update support in pdfverifyMiklos Vajna
I plan to use this for signing purposes, but so far what's implemented just writes out an incremental update at the end of the file, without actually updating much (just an unreferenced appearance object). Change-Id: I1cb40430ade6af0a25ff914ba4df670a77fcf457
2016-10-18tdf#95031 DOCX import: auto spacing inside numbering means no spacingMiklos Vajna
The WW8 import has code for this in SwWW8ImplReader::AppendTextNode(), with lots of corner-cases. Not all of that is implemented here yet, but the bullet list in the bugdoc already looks correct now. Change-Id: I9499bfa4d8d7fcc425d7b95e64987258c099f7f2 Reviewed-on: https://gerrit.libreoffice.org/29989 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-18tdf#100837: Register new URI handlers with installerMike Kaganski
This patch registers vnd.libreoffice.command unconditionally, and also registerd ms-word, ms-excel, ms-visio and ms-powerpoint handlers according to SELECT_WORD, SELECT_EXCEL, SELECT_VISIO, and SELECT_POWERPOINT properties (that are set in FileTypeDialog). This allows to use these URIs in e.g. SharePoint WebDAV integration Change-Id: I3231a15196858da77f1784a47f86f1729a6044bb Reviewed-on: https://gerrit.libreoffice.org/29988 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2016-10-18-Werror=unused-functionStephan Bergmann
Change-Id: I9e0585460d908024f75a1134bc1cd20d12ea3b4e