summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-18-Werror,-Wimplicit-fallthroughTor Lillqvist
Change-Id: I13a6a64f118bcfb99f47cd47a0dc638c5c9a5a14
2016-10-17upload libwps 0.4.4David Tardon
Change-Id: I7dc8b6412fd1a9d7bc2edf28cb23307c2eebd669
2016-10-17Resolves: tdf#89760 get correct menubar text color for 'close preview'Caolán McNamara
Change-Id: Ife6f2665eabeefd6125a53318404dbd7b9af42ee
2016-10-17let LanguageTag::convertToLocale() decide when to create a temporaryEike Rathke
Change-Id: Id4e718eb23d4acf2ee7bddc4da1cd4e8e811be78
2016-10-17GTK_STYLE_CLASS_LABEL no defined in all versionsCaolán McNamara
Change-Id: I648067e30d5a2e725111b2bc920367ac2d5e0f80
2016-10-17gtk3: split tabitem rendering to a standalone thingCaolán McNamara
Change-Id: I88cd8926b733717c9ea0ecf64a9882eaa777dcfe
2016-10-17let LanguageTag::convertToLocale() decide when to create a temporaryEike Rathke
Change-Id: Iaefddb13192aff1aad912ac9f908c3d12236b94d
2016-10-17comment that the country entries are just placeholdersEike Rathke
09f2f36 related, tdf#102357 Change-Id: I053853227d36dfd17da5914487a6aefe8af06f2d
2016-10-17gtk3: use theme tab fontCaolán McNamara
Change-Id: I3ea5a9e65e62133c910945e603bdc1155c9a07c3
2016-10-17gtk3: split out gtk->vcl font mapping codeCaolán McNamara
Change-Id: Ic379307ba9e663e0ffc27c945852f6d68197f995
2016-10-17Resolves: tdf#92776 ensure correct notebook tab font colorCaolán McNamara
despite various theme layout differences Change-Id: I209258583571b57b2b7869937fa4821855125eac
2016-10-17pamper over-pessimistic whining compilers, tdf#102357 follow-upEike Rathke
No, stupid, the switch-cases really cover all possible cases we entered this block for. Change-Id: I1abbe2d784d5bbcc29c4c929adb622d9fe92fe54
2016-10-17Resolves: tdf#102357 export correct locale attribution, not just countryEike Rathke
So all XMLPropertyHandler derived XMLCharLanguageHdl, XMLCharScriptHdl, XMLCharCountryHdl and XMLCharRfcLanguageTagHdl are actually called. Broken since commit 21661ebfbec9ea162582bbc7ab46607eb9095f1a Date: Wed Aug 21 19:16:23 2013 -0400 fdo#60740: Populate auto styles from edit cells without using UNO API. Change-Id: If0523752a4dea4e18d3d86ca5a2735fbcf39c3e3
2016-10-17tdf#103274 (3): Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: I0a3d8fbea1143c3f7fee6f9f3cbdfc24399090ed Reviewed-on: https://gerrit.libreoffice.org/29980 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-17GTK_STYLE_CLASS_POPUP not defined in older gtksCaolán McNamara
Change-Id: I6192d13419aab42993e4b6dc011db30a4c3c1787
2016-10-17older gtk3 versions still out there to build againstCaolán McNamara
Change-Id: I64cb12185fc3943a211928e35e756b82942095b0
2016-10-17replace <<= with assign for <<= with rhs AnyJochen Nitschke
makeAny and Any ctor return an Any Change-Id: Iaa361bc315d785f80153acf1009bf47d109728ec Reviewed-on: https://gerrit.libreoffice.org/29914 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-10-17delete setProperty specialisation with value type AnyJochen Nitschke
Using delete instead of std::enable_if because of better error message. Change-Id: I92c57a4bb3281b119166a8f98a94ed3aa6079df5 Reviewed-on: https://gerrit.libreoffice.org/29930 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-10-17fix wrong usages of setProperty vs setAnyProperty...Jochen Nitschke
and remove some useless casts. setAnyProperty takes an Any for property value. setProperty takes any value and creates an Any. Change-Id: Ida0a80bd679775c08925309bfbc695630af2225f Reviewed-on: https://gerrit.libreoffice.org/29917 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-10-17So MSVC 2013 is too dumb...Stephan Bergmann
...to introduce a temporary in lcl_makePropVal<sal_Int16>(PROP_START_WITH, m_nIStartAt) and instead complains: "cannot convert argument 2 from 'sal_Int32' to 'sal_Int16 &&'". Change-Id: Ic79de8635cc33556ba0803330c0eef314414a7fc
2016-10-17tdf#103274: Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: I4c9e4945e9fd4bb4fc2fe29e5a2a800cc5f298ae Reviewed-on: https://gerrit.libreoffice.org/29966 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-17Use perfect forwardingStephan Bergmann
Change-Id: Id34fb78bc80b0796a09286c4fe5f25c5cf98c211
2016-10-17gtk3: rework theme code to separate old and new theming schemesCaolán McNamara
Change-Id: I7c1341a920c4607937ffab06c182a0ba0e0b26fd
2016-10-17Resolves: tdf#101699 get combobox junction rightCaolán McNamara
gtk3-demo has examples of foreign drawing, follow the patterns there to figure out what to do, add stuff to gtk3-demo to demo what we need to do if any particular case here is lacking Change-Id: Ia1a22280161c97a3eab2d94fc4744fe971d31727
2016-10-17stop warning on older gtk3sCaolán McNamara
Change-Id: I57d0875acdaf3a1a14badb9e08e7c08fd726baea
2016-10-17use released 3.20.0 instead of 3.19.2Caolán McNamara
Change-Id: Iac311e0c326cf79a2dbacb889d39ab49ccaa9325
2016-10-17need 3.19.2 or above for theseCaolán McNamara
Change-Id: If385b45b12c72a0d7460a9a4c9d0b0e3bfc1195e
2016-10-17gtk3: select old/new gtk theme behaviour etc at runtimeCaolán McNamara
Change-Id: Ie09419049e3d839315f4fc8a937f0dde74688d98 Reviewed-on: https://gerrit.libreoffice.org/29969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-17safemode: Add hints how to get help/report a bugSamuel Mehrbrodt
Change-Id: Ie65e9706017f5f56fa4c453aa3fdb117b201096e Reviewed-on: https://gerrit.libreoffice.org/29961 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-17split these ifdefs into larger blocksCaolán McNamara
Change-Id: I501d06096aa51066af8806277b7d392e39747494
2016-10-17bundle duplicate code togetherCaolán McNamara
Change-Id: Id67e5026e21138c0583df8099436da01e4e2dab3
2016-10-17Related: tdf#103166 but still allow removing placeholder submenusCaolán McNamara
Change-Id: I3ed5feaebcd074562d5412dca9e5cb4086a7df39
2016-10-17tdf#103274: Add helper for a default XCommandEnvironment reference.Giuseppe Castagno
This helper should be used where the empty XCommandEnvironment e.g. something like: css::uno::Reference< css::ucb::XCommandEnvironment >() is currently used. See comment in the committed code (include/unotools/ucbhelper.hxx) for details. A case use is presented in this commit, please see: sfx2/source/doc/docfile.cxx for details. Change-Id: Ieb97c0ed61f31ef8df532c8be0e7ff1035327915 Reviewed-on: https://gerrit.libreoffice.org/29927 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-17Don't swallow exceptions in DBG_UTIL modeStephan Bergmann
Besides, the original "on Windows..." comment from 600163882703c64103784ff66c4bedfbe83809eb "INTEGRATION: CWS fwkfinal1: #i43920#: catch hidden exceptions" looks bogus, anyway. Change-Id: I1a31b63ca5aa818db3730b2006d2381b749e4dd3
2016-10-17Force disable OpenCL in Safe ModeSamuel Mehrbrodt
Change-Id: I046eb2a01c528945232cedabbf5fa08483c9e057 Reviewed-on: https://gerrit.libreoffice.org/29960 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-17Force disable OpenGL in Safe ModeSamuel Mehrbrodt
Change-Id: I3f19231d9a9168499d9f9ed970d4da1a69cca36a Reviewed-on: https://gerrit.libreoffice.org/29959 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-17xmlsecurity: detect if PDF signature doesn't sign the whole fileMiklos Vajna
For ODF signatures we require that all streams of the storage are signed. The PDF equivalent of this is to ensure that the byte range is the entire file, including the signature dictionary but excluding the signature value itself. Change-Id: Ie47f42913e2aa960f35079eb981768cd47fb9f92 Reviewed-on: https://gerrit.libreoffice.org/29890 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-17xmlsecurity: verify certificate of PDF signaturesMiklos Vajna
We patch xmlsec to not verify certificates, and the PDF tokenizer in xmlsecurity doesn't do that, either. The point of doing so, is that the DocumentSignatureInformation UNO struct has separate CertificateStatus and SignatureIsValid fields for the validity of the certificate and the signature. That means the certificate has to be validated somewhere as well. ZIP-based formats do that in DocumentDigitalSignatures::ImplVerifySignatures(), and this commit implements the same for PDF signatures, too. Change-Id: Ic486afc8f392625b1efcad989fd9053b014a261b Reviewed-on: https://gerrit.libreoffice.org/29889 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-17tdf#95416: Get rid of #include ../foo/bar.hxx style includesArnold Dumas
Change-Id: I6c6e0d4e013c5101f7b78bb8506a6f1f0e1b1497 Reviewed-on: https://gerrit.libreoffice.org/29934 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-10-17tdf#43740 Don't add space after ininvisible characters.Mark Hung
Move CJK justify code in SwFntObj::DrawText to SwScriptInfo::CJKJustfiy() and use break iterator to prevent unecessary space. Change-Id: Ifd25373530fc97d3ce547ee3cd0484d4a852491c Reviewed-on: https://gerrit.libreoffice.org/29911 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-10-17sw: rename static members in SwStyleNameMapperMiklos Vajna
Other code in sw seems to use the 'm_' prefix only for non-static members, while the most used convention for static members is 's_', so use that here as well. Change-Id: Ic7dd5c454e98753a9489664ee022e05ef743b863 Reviewed-on: https://gerrit.libreoffice.org/29958 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-17loplugin:unnecessaryoverrideStephan Bergmann
Change-Id: Id90a0a3334f4551b926a240b2e06a34337188c07
2016-10-17I made a grammar error hereAdolfo Jayme Barrientos
Change-Id: I202ed2cf4b60c8534098143bbbe26670760d7e5f
2016-10-17tdf#100180: Band-aid fix for non-editable chart sidebarKatarina Behrens
no way should sfx2 sidebar controller be used in a base class, it just wreaks havoc in chart which inherits from this class, but uses its own controller. Since those NotifyResize calls were introduced to prevent cropped widgets on switching between different shape fills, try to make up for that with other means in .ui file Change-Id: I5a40e4d413b583b1de1e3f751493d65d41ff8465 Reviewed-on: https://gerrit.libreoffice.org/29813 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-10-17external/firebird doesn't know --enable-debug, but make target "Debug"Stephan Bergmann
* There's an --enable-developer configure option, but it probably does more than just default to the "Debug" target, things we potentially don't want here. * Disabling --enable-debug for MSC was apparently a leftover from firebird 2 times, f58f10fc89e19d182b5a415bb69af5ecc7de080a "firebird: --enable-debug breaks the build with MSVC". Change-Id: Id9f7b6aa0cdfcea0b07f94814a8dab43488879bb
2016-10-17tdf#100352 Provide French classification fileLaurent Balland-Poirier
Change-Id: I1dea9c22054dde4a52241d544fb02c0ad84b0872 Reviewed-on: https://gerrit.libreoffice.org/29915 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-10-17xmlsecurity: check file header when reading PDF signatureMiklos Vajna
Currently the only non-ZIP-based import filter that declares the SUPPORTSSIGNING flag is PDF, so if we get a stream without a storage, we assume it's PDF. If any other non-ZIP-based format would add that flag in the future, that would mean PDFDocument::Read() gets that as an input. That means it makes sense to at least check the file header early in the tokenizer, and return early when that doesn't match. Change-Id: I8760d130c4211f37be705e03b22814825042cac8 Reviewed-on: https://gerrit.libreoffice.org/29888 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-17Executable_pdfverify: initialize nss / mscryptoMiklos Vajna
This was broken since commit 9fe910e4861a7911c6d286258a30954e715653ac (xmlsecurity: use common NSS init in PDFDocument, 2016-10-13), after that PDFDocument assumes that the client code does the crypto initialization. Change-Id: Iaee005afef6bd602c3a95e9a18f407c4d4223a26 Reviewed-on: https://gerrit.libreoffice.org/29887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-16tdf#103170 Heikobar: Add table section and adjust clipboard sectionYousuf Philips
Change-Id: I62a3a16c52566f1877e9c3ac7a627efab1b4058f Reviewed-on: https://gerrit.libreoffice.org/29908 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-10-16tdf#103170 Heikobar: image section icons, alignment and menusYousuf Philips
Change-Id: Ib1fda02ba6cecac8566535c4729af4e45c9c0d91 Reviewed-on: https://gerrit.libreoffice.org/29900 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>