summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-30ScTabViewShell::InnerResizePixel must not mark document as modified...Stephan Bergmann
...when merely toggling the edit mode of a Calc document embedded in another document (via "Insert - Object - OLE Object... - LibreOffice 5.4 Spreadsheet"). Interestingly, none of the other document kinds seem to have this problem. (Maybe it's even unhelpful that ScTabViewShell::InnerResizePixel calls SetDocumentModified() at all?) Anyway, pass this inplaceEditModeChange information down there. Change-Id: Iffb24b068419e3608c9f4b5e9645e44e1716aafe
2016-11-30glDrawArrays takes num of indices, not size of storageCaolán McNamara
this stops the strange missing corner seen during the diamond transition Change-Id: If806a0a3303eb38644bb6d3a479cadbd5fe9ca25
2016-11-30tdf#104013: Band aid for overzealous clippingKhaled Hosny
Change-Id: If66b7a61f4165ea2e504625cde36161adf945a53 Reviewed-on: https://gerrit.libreoffice.org/31418 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-30CppunitTest_xmlsecurity_pdfsigning: add first PAdES testMiklos Vajna
As a start just make sure we accept "ETSI.CAdES.detached" as a valid SubFilter value. Change-Id: I19f480a5a24df0f451261d6d9a0dd9bd72ff6cc1 Reviewed-on: https://gerrit.libreoffice.org/31414 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-30CppunitTest_xmlsecurity_signing: add 2 more ODF / XAdES testsMiklos Vajna
1) Make sure we handle the case when the document has a signature stream, but it's empty. 2) Make sure we find a given XAdES-enabled ODF document valid. Previously this was tested only dynamically, i.e. breaking both the import and the export at the same time went unnoticed. Change-Id: Icaa29cfa1f5b817459239ee8dbdc3bf023a2a1a7 Reviewed-on: https://gerrit.libreoffice.org/31413 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-30rhbz#1122096 tdf#54834: sw navigator: multi-selection of outline entriesMichael Stahl
* SwContentTree::ToggleToRoot(): allow multi-selection iff outline root is displayed * SwContentTree::ExecCommand(): handle outline operations for multiple selected entries; since it's not possible to prevent selecting both parent & child, try to ignore selected children in that case * add Undo bracketing * rename misleading "bModifier" variable which was actually true without the Ctrl key * regarding SwContentTree::KeyInput(), the KEY_RETURN causes the view to jump to the entry, and KEY_DELETE is not possible for outline entries, and KEY_SPACE is only for drawing objects, so no need for handling multi-selection here * it probably doesn't make sense to handle multi selection in the context menu but it appears that the context menu for outline entries is already quite borked even going back to OOo times Change-Id: Ib324065e5fe827796e0f202f01ab9c3e33c47ec5
2016-11-30sw: incorrect assertion in SwContentTree::RequestingChildren()Michael Stahl
Change-Id: I627c99d0540265f34612ac430d4df281acc7e6cd
2016-11-30Resolves: tdf#104152 suppress notifications from EditEngine during PasteEike Rathke
Broadcast once at the end instead to notify a11y. Change-Id: I12383b6efbbb2b149f0d73c67d8576fcc050b253
2016-11-30prevent endlessly creating new lines until out of memory, tdf#104152Eike Rathke
Though this just prevents mishappens during reformatting a broken portion that is in a half-ready state because a11y was notified and attempts to obtain a paragraph. Solving the real cause means not being called in such state.. However, not going out of memory and also having matching X-values for the node's text positions that don't make the EditEngine crash later is better than nothing. Change-Id: Ifa8d2c5d1766b0f145b8e89ad26a78528db42056
2016-11-30tdf#101458 - check PNG for adequate compressionMarco Cecchetti
Change-Id: I7131d3b721ebb4d47b0bb43f09fcb9767f8ac6d8 Reviewed-on: https://gerrit.libreoffice.org/31409 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2016-11-30loplugin:countusersofdefaultparams in include/oox..saxNoel Grandin
Change-Id: Ifb24c0f536d9c00bc9eb8c782d6854052f2d37b9 Reviewed-on: https://gerrit.libreoffice.org/31408 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-30Remove Noto Emoji fontAkshay Deep
Conflicts: Makefile.fetch download.lst external/more_fonts/Module_more_fonts.mk scp2/source/ooo/file_font_ooo.scp scp2/source/ooo/module_hidden_ooo.scp Change-Id: Ic43807cde11fff21d78bece6874783ba154655a2 Reviewed-on: https://gerrit.libreoffice.org/31390 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-30vcl mscrypto PDF sign: fix typo in GetDERLengthOfLength()Miklos Vajna
When id-aa-signingCertificateV2 had a value that was larger than 255 bytes, then the header size is expected to be 4 bytes, but it was only 3. The length part of the header is 3 bytes: one byte declaring the length-of-length, and 3 bytes for the length. We added this additional byte to the result too early, that way we counted that e.g. 278 (the number) fits into a single uint8_t, which is not the case. Also introduce named constants for some of the hardwired numbers in the code for better readability. Change-Id: I816236e5ac561c9d21bd9df703385ee2201482e7
2016-11-30sw: use auto when initializing with a cast to avoid duplicating the type nameMiklos Vajna
Change-Id: Ide7bd0f1f444824b78aa53cfe1db0129cbca1a5d Reviewed-on: https://gerrit.libreoffice.org/31397 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-11-30sw: reindent etc. SwContentTree::ExecCommandMichael Stahl
Change-Id: Icacc4b235c17d64003652c81ffca7bcc247431e7
2016-11-30sw: navigator: fix outline Demote Chapter "down" copypastaMichael Stahl
(regression from 33603a582bdd173a8e85c78bb0e8ef82874b8e59) Change-Id: I95a8ebf0315a10595904dace051bbd4dd43f0496
2016-11-30Updated coreKatarina Behrens
Project: help 6f85ca005b470f6e3b2d9f21633a102bb05912ea Help text for the new profile safe mode feature Change-Id: I929dc882ee0702a51370d09bcde03158da80a751 Reviewed-on: https://gerrit.libreoffice.org/31327 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-30rename getViewIndependentPrimitive2DSequence..Noel Grandin
to getViewIndependentPrimitive2DContainer to match it's new return type Change-Id: I767bdef45316e355d49f6509ca1b50138a45b3fa
2016-11-30Emoji Control: Larger emoji renderingAkshay Deep
Change-Id: Iec51d4e73926cf8203638d2ad013ddfdd47d8ee4 Reviewed-on: https://gerrit.libreoffice.org/31256 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-30Bin not used makefileMatúš Kukan
msvc80 dlls are gone since 4e3086da3e9873f53b5b9e1d5e511f9f77aaf62f Change-Id: Ifc43bc5ffdb404340967786628f360ebdb0e7fbc
2016-11-30vcl mscrypto PDF sign: write IssuerSerial sequenceMiklos Vajna
It fixes a problem detected by the PAdES validator from <https://github.com/esig/dss>, and with this the Windows output is in sync with NSS. Change-Id: Iff6eb441eebb730f08e399cb3012e0156f0397d9 Reviewed-on: https://gerrit.libreoffice.org/31376 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-11-30tdf#80731 Closing parenthesis is now detected (Mid statement and functions).Pierre Lepage
Change-Id: I5efdb6c3ce71148672a8b76d3f1cc87b0fe04994 Reviewed-on: https://gerrit.libreoffice.org/30593 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-30convert GraphicsState flags to o3tl::typed_flagsNoel Grandin
Change-Id: I5b660895c470a904fa5f1bc8123cea901ad8cf9c Reviewed-on: https://gerrit.libreoffice.org/31365 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-30simplify macrosNoel Grandin
Change-Id: Ib56bdc2f8a7015afc8ac83d7cfd6eb65089682bb Reviewed-on: https://gerrit.libreoffice.org/31364 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-30convert VALUE_SET constants to o3tl::typed_flagsNoel Grandin
Change-Id: Ie2dead5e661cbcf31a92b3d38cba1983fa65dff4 Reviewed-on: https://gerrit.libreoffice.org/31363 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-30convert TransferBufferType to o3tl::typed_flagsNoel Grandin
Change-Id: I69bed592e4c7c93ec9d6eb1e92481048370dfb90 Reviewed-on: https://gerrit.libreoffice.org/31361 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-30convert WRITEFIELD constants to o3tl::typed_flagsNoel Grandin
Change-Id: I6412faee844e19195d57415874022bcf8547f4d7 Reviewed-on: https://gerrit.libreoffice.org/31360 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-30convert DelContentType to o3tl::typed_flagsNoel Grandin
Change-Id: I2c94b28e4c95c22c05ba7aed8e413cc7f6b70874 Reviewed-on: https://gerrit.libreoffice.org/31358 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-30convert SwTOOElements to o3tl::typed_flagsNoel Grandin
Change-Id: Ic0636c8f641cf70e0372b31f8a8d111b45ba6070 Reviewed-on: https://gerrit.libreoffice.org/31357 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-30tdf#103975 docx import: don't lose column break #2Justin Luth
Change-Id: I871e10d675d9009c163dd2b0fc74d29206934e34 Reviewed-on: https://gerrit.libreoffice.org/31342 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-11-30starmath: Prefix members of SmSpecialNode etc.Takeshi Abe
Change-Id: I7a1ac67f5fb3066b16b59a3a8277952d66572fb6 Reviewed-on: https://gerrit.libreoffice.org/31353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-11-30tdf#71409: always create edit engine instance for the input window.Kohei Yoshida
In order to properly manage accessibility events esp when no letters are typed. Without this, doing things like: 1) hit F2 to active cell edit, 2) hit ESC to deactivate, 3) go back to 1) and repeat the cycle several times, 4) hit Shift-Ctrl-F2 to activate the top input window would result in duplicated accessibility events fired, the number of which depends on how many times the above step was repeated. Change-Id: I116fdcbc63cbe9d33039d38a47770a6813c4e523 Reviewed-on: https://gerrit.libreoffice.org/31389 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2016-11-30add MIN test caseZdeněk Crhonek
Change-Id: Idcfbfa43736e64c7270ccaf9766f25346e1e1b7e Reviewed-on: https://gerrit.libreoffice.org/31384 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-30lok: ensure positive values for width and heightHenry Castro
also check the pointer memory block allocated Change-Id: I0ded04e06f80400e64c5e58126a32ee503aeb394 Reviewed-on: https://gerrit.libreoffice.org/31388 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-11-29Strip down GetEmbedFontData to what is really usedKhaled Hosny
The only remaining user is EmbeddedFontsHelper, and it just needs the raw font data. Change-Id: Ia15c59158b5c9e44d0936463553303a3c8b6e0f5 Reviewed-on: https://gerrit.libreoffice.org/31374 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-29Dead codeKhaled Hosny
m_aEmbeddedFonts is always empty now. Change-Id: Ia0cdfbabff29722d51b92ed47e04ef40d71f65be Reviewed-on: https://gerrit.libreoffice.org/31373 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-29SalGraphics::GetFontEncodingVector() is a noop nowKhaled Hosny
Change-Id: Id706fa242277a0ea7ba44f52eab4a56e404bd2fa Reviewed-on: https://gerrit.libreoffice.org/31372 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-29Use derived classes' methods instead of Pair::A/BMike Kaganski
Change-Id: I7ffd9a23dbd00672630bc8412e95525a920c5065 Reviewed-on: https://gerrit.libreoffice.org/31379 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2016-11-29tdf#96717: The macro name desired by the user is now took into account.Pierre Lepage
Change-Id: I3949ffed6dcf85e01bc5fc24a27a04265e54fe44 Reviewed-on: https://gerrit.libreoffice.org/30592 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-11-29safe mode: Add help button to the dialogKatarina Behrens
Change-Id: I5aa29ccf048dc6f7d927089cc3c9b8b39bf2893c Reviewed-on: https://gerrit.libreoffice.org/31367 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: comphelperStephan Bergmann
Change-Id: I8361f62199f45dbced45e5d4a4d5eeddf1c42d67
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: connectivityStephan Bergmann
Change-Id: I67d4bb92db04b5103b98a2855ae6069a054f171b
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: editengStephan Bergmann
Change-Id: I374fcd08bdeb37ff542447142b1b164886e0e5db
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: filterStephan Bergmann
Change-Id: I8985f24972d0efd8450de930102ce82cd383b459
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: formulaStephan Bergmann
Change-Id: I28d41341607abae82a3bc5d9cacdb70e7431be18
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: i18nlangtagStephan Bergmann
Change-Id: Ie6b8e644e01ed99559981d001a7ab95d72ffa5c2
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: idlcStephan Bergmann
Change-Id: I6be338f54dd8e6912e48258c0a2e075dc69b2893
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: lotuswordproStephan Bergmann
Change-Id: Iae2b653381562c5a46de6e05afb96954f523114a
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: ooxStephan Bergmann
Change-Id: I75de45677603800baec18d03114418181c4393c2
2016-11-29Rewrite some (trivial) assignments inside if/while conditions: pyunoStephan Bergmann
Change-Id: I01ce742c727c66577d747e441a3794c1743f24ce