summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-07-29Update LOK Readme to use LibreOfficeKitInit.hAndrzej Hunt1-4/+11
2014-07-29Kill the libreofficekit static library / shim.c.Andrzej Hunt10-42/+25
It looks like the cleanest method of getting lok_init into a LibreOfficeKitInit.h header (in a c89 compatible way) is to have it as a static function. (inline is only available in C99 or later -- this is actually available on Linux which is the only place that we can actually use lok_init anyways currently, however given we have to keep c89 for the C code (for MSVC) compatibility, selectively enabling c99 would likely be more messy.) Change-Id: I0493e7a68ed5397479220bb6ba8c3db870b6dd32
2014-07-28fdo#79578: Properly update formulas upon change in db collection.Kohei Yoshida19-138/+84
Update it to handle formula groups correctly. Change-Id: I009a7fcf3d3fb17ef6951c50534ca6bc1fffc259
2014-07-28fdo#79578: Write test for this first.Kohei Yoshida2-0/+70
Change-Id: I46ccf0954f9397779244132488d93f3162cf04d6
2014-07-28Move this fucntion to ScDBDocFunc.Kohei Yoshida5-49/+47
so that it could be usable from unit test. Change-Id: Iea10cb473bc17d7e030c018fd2c84fbeccce3e47
2014-07-28Add separate project file for VS2013Tor Lillqvist3-2/+510
Easier than trying to figure out how to make the VC2010 project work with VS2013, it seems. Luckily it works fine tojust have VS2013 upgrade the old project file and then pass that to msbuild. Change-Id: I94c0248211767d97f2898f35b1b677aee372a329
2014-07-28Add separate project file for VS2013Tor Lillqvist3-2/+492
Easier than trying to figure out how to make the VC2010 projec work with VS2013, it seems. We only need a project file for the lcms2_DLL project. Change-Id: Icab47ac7625b9a492942ea0835fe52ef06cdf2d9
2014-07-28writerfilter: nobody reads the classfordefine attributeMiklos Vajna2-9/+3
Change-Id: I030137cb379de04968fb144516e90dbd1bdd97f6
2014-07-28(related: fdo#81033) writerfilter: default tab fill character is spaceMichael Stahl2-3/+8
This avoids an ugly "Character" box in the dialog with a null byte in it. Change-Id: Iee35a8e1bd6b57fb4eb8ae06722bd79ee1d5d8de
2014-07-28fdo#81033: writerfilter: RTF import: fix tab stop inheritance from styleMichael Stahl3-1/+30
For RTF, the tab stops that are set directly on the paragraph are the tab stops the paragraph has effectively; there is no equivalent of OOXML <w:tab w:val="clear" w:pos="4536"/> that would override a tab stop of the applied style; that is done by simply omitting the tab stop. It would perhaps be possible to implement something to synthesize a NS_ooxml::LN_Value_ST_TabJc_clear in the RTF tokenizer for this case, but it's simpler to just generally disable domain mapper's InitTabStopFromStyle() for RTF. Change-Id: I7b0581be8db19ffda81c8d1da290abf0a0f69529
2014-07-28writerfilter: unneeded whitespace tweakMiklos Vajna1-6/+2
Change-Id: Ib25ae32be6132a9209eaa81db18b0659b73d5b82
2014-07-28writerfilter: add script to detect generated code changesMiklos Vajna1-0/+47
Change-Id: I340ef55dc9a09bd196469ed51848b22ba986de8c
2014-07-28-Werror=declaration-after-statementMiklos Vajna1-7/+7
Change-Id: I97b1d03410e98c5ff2ad3cc15cef692e9b994a6c
2014-07-28MSWordExportBase::OutputSectionBreaks: avoid fake section breaksMiklos Vajna3-5/+12
Regression from ee9f23bb94b4c2c8c4db6466ecca272a092e9492 (docx export: invalid sectPr added at the beginning of the doc, 2013-01-10), the problem was that we even tried to generate section breaks at places where the two page styles are in practice the same. Change-Id: Iccf91ce542d9b075b93da25bcd42236db667e3d4
2014-07-28Use CPPUNIT_ASSERT instead of assert.Andrzej Hunt1-1/+1
Change-Id: I24e7934002ebdde208db74ae3308b26875a3155b
2014-07-28Prevent LOK DocView crash if document too large.Andrzej Hunt1-4/+18
There seems to be a maximum size that gdk's pixbuf can handle, however I have been unable to find any documentatation. Seeing as the current implementation isn't realistically useable anyway, we might as well set a hard limit here (in practice we'd have much smaller tiles + compositing). Specifically extras/source/shellnew/soffice.ods will fail without this patch. Change-Id: I6ac495adca8e15878989375ef8b2de472788279a
2014-07-28PAGE_DBWIZARD_TEXT, PAGE_TEXT, DLG_TEXT_CONNECTION_SETTINGS conversion to .uiSzymon Kłos31-574/+1127
Change-Id: Iea5105cc33b436e9c0728df799b1ceb63f20e46e Reviewed-on: https://gerrit.libreoffice.org/10579 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-28Recovery files can have an extensionMaxim Monastirsky1-1/+1
Looks like unintentional change made in c4a593b6b1732def0a21f455c0ca50f82a9bc40d Change-Id: If314a3f290c79909e3a807f9c9c95791c26067e9
2014-07-28Copy first-header-footer test from ww8 to ooxmlLuke Deller4-43/+44
The test document was converted from doc to docx using MS Word 2010. Several fixes were required to make this test pass: - Do not clear the "FirstIsShared" property on page styles, as the code instead uses the old fashioned method of translating a Word section with "different first page header/footer": two page styles linked together, the first page style and the follow page style. (Also remove a wrong test case which checks the FirstIsShared property) - Do not clear the "HeaderIsShared"/"FooterIsShared" properties on the first page style, only on the follow page style. - Actually set the "FollowStyle" property on the first page style to link it to the follow page style. This didn't matter for the very first Word section because it was mapped to the default page styles "First Page" and "Standard" which are already linked, but it does matter for subsequent Word sections. - For some reason setting a new page style at a section break was excluded in the case where the following section had a title page. Remove this exclusion. - The exclusion mentioned in the last point was masking that bnc#751077 was not entirely fixed. To resolve that issue: When checking if the last paragraph of the section is empty, consider not just text content but also shapes. - Remove a workaround for bnc#780843 involving copying of headers and footers from the "Standard" (first section) page style in the case where the following section had a title page. This workaround is no longer needed as the test case passes without it. Change-Id: Iacc9bba0720c11414da3e852892cff301ebbc4fe
2014-07-28use the Redline iteratorBjoern Michaelsen1-3/+3
Change-Id: Ia15e5a376b2a7503f56f183a555e21d1122fe66f
2014-07-28a const_iterator for RedlinesBjoern Michaelsen1-0/+3
Change-Id: I22481191d5cbc905a9af7530e075acda21fcbeba
2014-07-28xmerge: If statement is redundantrbuj3-21/+9
Change-Id: I62914ab65258de36790387b7a8865a32b0d7bca6 Reviewed-on: https://gerrit.libreoffice.org/10587 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-28xmerge: Enhanced For-Loopsrbuj6-39/+22
Change-Id: Id9fbffbf74d7583bf1ac8239899abdf0c2347cf2 Reviewed-on: https://gerrit.libreoffice.org/10573 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-28fix a memory leakTakeshi Abe1-1/+1
Change-Id: I105f0ac40251122348ed86eaab5d99a023f5c09b Reviewed-on: https://gerrit.libreoffice.org/10588 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-28sfx2: -Werror=parenthesesMichael Stahl1-4/+4
Change-Id: I94973343bb3ec4a055d9a46ca7ac800dd08406ad
2014-07-28Linked the sax library to CMISMihai Varga1-0/+1
This is needed for the use of DateTime converter. I forgot to add the makefile when I commited this patch: https://gerrit.libreoffice.org/#/c/10586/ Change-Id: I7cb9ab40fab549a95beb6818ab4ad4befdd3dea1
2014-07-28Some properties in File->Properties->General Tab are not set for remote docsMihai Varga1-0/+49
This patch handles the case in which no meta information could be extracted from the file, so CMIS properties are displayed instead, if it is a CMIS document. Size and creation/modification dates are handled here. Change-Id: I97f920172b15a76297d78a33ac3a07a8333ef8a6 Reviewed-on: https://gerrit.libreoffice.org/10511 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-07-28UNO to CMIS properties conversion fixMihai Varga1-13/+50
The initial code always extracted Strings from the UNO instead of extracting the same data type that was written into it. This patch extracts the properties according to their data type and formats them to be reconstructed into CMIS properties. Change-Id: Ib160020e9d923a46e2c4f90924da847f2dac5e7a Reviewed-on: https://gerrit.libreoffice.org/10586 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-07-28make sure ICU libs are available when neededDavid Tardon1-2/+8
Change-Id: I56faa8f0b1567a4e45cafc8edff17423b1e29c35
2014-07-28Use better coordinates for unit test of fdo#77229Arnaud Versini1-1/+1
Change-Id: I5fae217687e12313451da5bf4b4e6f914551b628 Reviewed-on: https://gerrit.libreoffice.org/10447 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-07-28Include <algorithm> for std::minTor Lillqvist1-0/+1
Change-Id: I012027c38a6d2b06a4bb0cb53743d350b124ccf4
2014-07-28It's called "GNU Make", not "gnumake"Tor Lillqvist1-7/+7
Change-Id: I54900e077d5325fb6bfad84a2afa37f3adf551bb
2014-07-28WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist1-1/+1
Change-Id: I18274d920865f8e28377acce8084eb1629ff8127
2014-07-28xmerge: If statement is redundantrbuj2-18/+6
Change-Id: Ic36d66e376f6fca536a25db4b3b69b50e2b95ae2 Reviewed-on: https://gerrit.libreoffice.org/10570 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-28xmerge: @Overriderbuj5-0/+11
Change-Id: I9be006d018335dcbfad5ccba5f55648ba24f609c Reviewed-on: https://gerrit.libreoffice.org/10577 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-28Improvements for Windows build with only VS2013 installedTor Lillqvist3-11/+28
I thought it was possible now to build on Windows with Visual Studio 2013 as the only installed Visual Studio version, but no. I tried on a fresh Windows 8.1 installation. This commit fixes the configury a bit at least. (One needs to pass the --with-visual-studio=2013 option. Otherwise configure gets confused by the partial (?) VS2012 that seems to be installed, too, when installing VS2013, and prefers that...) The build fails at least in external/lcms2, but I'll leave sorting out that for later. Change-Id: I15942e4b088a3f0a62c3f7fa8f9b45f77beaff6f
2014-07-28xmerge: javadoc <code>..</code> fixrbuj2-2/+2
Change-Id: I44b7014d01e481a69c514fc52ffb7e0bf09999e5 Reviewed-on: https://gerrit.libreoffice.org/10571 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-28xmerge: remove String constructor invocationrbuj1-12/+8
Change-Id: Ibd7a94c0f53be3b3a3e9ee764dbdeb6199857441 Reviewed-on: https://gerrit.libreoffice.org/10576 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-28xmerge: Unused assignmentrbuj1-1/+1
Change-Id: Ie059c6689976c0a52fedaa6fdee2dd36d944eb56 Reviewed-on: https://gerrit.libreoffice.org/10574 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-27bnc#467459 - fix editeng text search with expanded fields.Michael Meeks5-61/+224
Change-Id: If59d0e2f886e94148b81cb6cfcad067733fcb918
2014-07-27fdo#81617: Split formula groups at sort range boundaries.Kohei Yoshida3-0/+17
Otherwise, partially sorting a range may crash, or at best incorrectly update formula references. Change-Id: Iefcb86d205d83ccc5b684048bfd9aadabf6e13eb
2014-07-27fdo#81617: Write test for this first.Kohei Yoshida2-0/+77
This test currently crashes. Change-Id: I57133495b483664c960a15e638520d195eb02070
2014-07-27Resolves fdo#79273: Data Statistics crashes with any entryJulien Nabet8-16/+0
Change-Id: I50b1a14e6bb9907f3a09e515dba28f9bed5511ea
2014-07-27xmerge: remove import from same packagerbuj2-2/+0
Change-Id: Ia6bd561021c1042f594f20cc748c15ef8f5f00fd Reviewed-on: https://gerrit.libreoffice.org/10578 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27xmerge: javadoc <p>..</p> fixrbuj1-2/+2
Change-Id: Ie10a8ab293091c7528e915487728a97ce51e818f Reviewed-on: https://gerrit.libreoffice.org/10572 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27writerfilter: convert factoryimpl_ns to PythonMiklos Vajna4-1214/+719
Change-Id: Ia2380a23e31583f40a368168bc09d7fddd3e4ab7
2014-07-27indentation fixesMiklos Vajna9-27/+16
Change-Id: I0a0f04d0f0e008e8947a5a7e3ed6083c1589e61b
2014-07-27Dead declarationMaxim Monastirsky2-6/+0
DetectFilter impl. removed in 2fcfebf3900ee4df2e2fe39e37d55ee87ab5d6cb. Change-Id: Ia21199066ac00c1b0ddc40168bcc7f1406cb9ea0
2014-07-27jurt: Enhanced For-Loopsrbuj3-38/+23
Change-Id: I74a9b8afd1e4a1364c61c7b85277909f38611f6d Reviewed-on: https://gerrit.libreoffice.org/10553 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27Updated coreOlivier Hallot1-0/+0
Project: help 4cdb8959d25330c2b26123b5a89b126617066e1e Fix fdo#80444: Help pages fo STDEV functions help page for STDEV.P and STDEV.S Change-Id: Iab0cd53f0cdda84e1331a204c74f08c154e9589b Reviewed-on: https://gerrit.libreoffice.org/10568 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>