summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-21Bin code that died in 2010 in d4dbc31173487a97e4b022f0bb9dae25440856a8Tor Lillqvist1-36/+2
Change-Id: I5b88b7c66c1c3a3c68e6a837d10e7477cb7ae8fe
2014-05-21fdo#77725 make testcase minimalMiklos Vajna1-0/+0
Loading 54 pages to check a single footnote is a waste of time. Change-Id: Ic68d1d29e26e3d66973e5fca65c8958b953c78e0
2014-05-21Use more specific tagTor Lillqvist2-1/+2
Change-Id: Ife10cae3f0bd7dd294c74799412528f2596369c8
2014-05-21Log also the sizeTor Lillqvist2-2/+2
Change-Id: I391fbc092b05600b0a4c2107e3934e1fb7334554
2014-05-21Bin ENUM_FONTRELIEF_DECLARED crackTor Lillqvist1-5/+0
We don't test or define it anywhere else so the header guard for the file itself is enough. Change-Id: I15a81b50ab3250a9c792a1b86a4b15f49ec224d1
2014-05-21Add a SAL_INFOTor Lillqvist1-0/+2
Change-Id: I3eb6a1f7dab30346a68050f37d31c082336ab7b6
2014-05-21Add debugging output operator<< for FontMetricTor Lillqvist1-1/+16
Change-Id: I8df204b01a73454396561052f10784c71f10d081
2014-05-21Don't disable painting.Jan Holesovsky1-1/+1
Change-Id: Ia7d8a49af756a642c393f47b7dc342b8e48b5eda
2014-05-21fdo#78663 : Corrupt: 2007 WordArt whithin a Drawing toolRajashri6-8/+67
A file contains a 2007 word art within a drawing tool. In Original file, the xml structure is as below: sample xml: <p> <r> <ac> <drawing> <txbx> <txbxContent> .. <pict> </pict> </txbxContent></txbx> </drawing> </ac> </r> </p> LO was preserving this as : <p> <r> <ac> <drawing> <txbx> <txbxContent> .. <drawing> <txbx> <txbxContent> .. </txbxContent></txbx> </drawing> .. </txbxContent></txbx> </drawing> </ac> </r> </p> Now after this fix, If there is a custom shape within a text box, then we should postpone it and write it in a separate run. This approach is followed on the fact that LO writes nested TextBoxes in separate run. NOTE1 :Due to this fix, xpath related to the below UT needs to be updated. testFdo76249 in ooxmlsdrexport.cxx NOTE2: In docxsdrexport.cxx : 'm_bIsInDMLTextFrame' is no more required. For adding LockedCanvas, we only need to check if the property exists in the property set. Therefoew removing the above bool variable. Reviewed on: https://gerrit.libreoffice.org/9392 Change-Id: I00e94712e912ad1977fcb65a945fefb927795d77
2014-05-21extras: add some more words to technical.dicMichael Stahl1-0/+11
Change-Id: Ie337f8d1b24c8e7c9c422a13b11705f8eeaffdcc
2014-05-21unused DocxSdrExport::setDrawingOpen()Miklos Vajna2-6/+0
Change-Id: I8a5d36325edda8c475c4ad5874ec83c444bf2b50
2014-05-21fdo#78469 FileCorrupt:During export LO was adding wrong tags inside <w:sdtPr>Tushar Bende6-3/+41
Description : Docx file corrupt after roundtrip. Root cause: For some documents During export LO was not checking for the content of sdt and Even if sdt contains Drawing object LO was writing text data related tags <w:text/> & <w:dataBinding> in <w:sdtPr>,This was the reason for corruption. To Fix this checking is there is any Drawing Object in run if yes skip writing <w:dataBinding> tag in <w:sdtPr> And if sdt content is Text and Drawing both do not write <Text> or <Picture> as these tags will again result in corruption. Presently, while writing the sdtContent tag LO does not check for the content type due to which LO ends up adding the dataBinding along with the Drawing/AlternateContent which is incorrect according ecma ECMA-376, Second Edition, Part 1 : 17.5.2.6. This cause in file corruption. Added a check to restrict the aforementioned. Reviewed on: https://gerrit.libreoffice.org/9371 Change-Id: Id31437db0309b0a2159389a4a9a1f5e13c1ac3a5
2014-05-21ODS load perf: transfer ownership of the ScTokenArray to save cycles.Michael Meeks5-6/+41
Add API to wnsure we don't end up allocating 32k bytes of tokens for each ScFormulaToken, as happens when you Add a token to a new empty ScTokenArray. Change-Id: Ib12a3065eb513243a2146ebb009fbaa650385dd9
2014-05-21ODS load perf: avoid excessive calls to uppercase to compare tab names.Michael Meeks1-1/+10
Change-Id: I37b9e49607c8c51f10bc8ff8fc342b02fdb8b7e1
2014-05-21Default OS X thread stack size too small for -fsanitize=addressStephan Bergmann1-5/+12
...witnessed stack overflow in huge function FunctionMapFactory::createFunctionMap__library_effects__allChildren in workdir/UnpackedTarball/opencollada/COLLADASaxFrameworkLoader/src/generated14/ COLLADASaxFWLColladaParserAutoGen14PrivateFunctionMapFactory.cpp Change-Id: I9451912043e282c8e06aff446cf3d1190f1de9cf
2014-05-21Work around Clang -fsanitize=address inline asm errorStephan Bergmann1-27/+38
same as 08947735f9cc4b7bd69676c9dd4d1700e8e3b15b for gcc_linux_x86-64 Change-Id: I28d138dd13adc9a3e09d46befe69ac86ab1fffb6
2014-05-21fdo#78921 Don't crash when there is no storage specifiedMaxim Monastirsky1-0/+4
Not sure it's a good idea to get here at all when exporting as flat xml, but anyway it shouldn't crash. Change-Id: Ib2ce6b044b4395222a394312d49f5a01d157f9f3
2014-05-21upgrade to python-3.3.5Thomas Arnhold6-245/+42
- remove now obselete patches, which were applied upstream. - Hack to get MacOS to build Change-Id: Id68e78e411efc92a46ea9e180f09c390fe5acb4a Reviewed-on: https://gerrit.libreoffice.org/9311 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-05-21forgot to release the OpenGL resourcesMarkus Mohrhard1-0/+4
Change-Id: I2baefbe611f9ed28defc46ca3af332d13b32c561
2014-05-21use FBO for the pickingMarkus Mohrhard3-2/+28
Change-Id: Ibab6daa1f76300d159ccd4cfbca061c8d8c1951f
2014-05-21add method for creating framebuffer objects to OpenGLHelperMarkus Mohrhard2-0/+43
Change-Id: I08bd2e58ee98a68accae256fcbcc288a8c56ae0b
2014-05-21set the color for the pickingMarkus Mohrhard3-12/+32
Change-Id: If7b902b16626384440241d88937161cf327e14d5
2014-05-21remove unnecessary whitespacesMarkus Mohrhard1-2/+0
Change-Id: I4d93c0149aaf90e2477c1382aa51f8f08c967626
2014-05-21avoid division by zero that happens to me in some casesMarkus Mohrhard1-1/+1
Change-Id: Ifc80462e7826e7d717dc553f50dd00f2b771bf15
2014-05-21we need to create the bufferMarkus Mohrhard1-0/+2
Somehow this only crashes when I use gdb. Change-Id: Ic18ffa3af931b80a7241e8fe711753db03da166e
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet82-586/+585
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-20Don't use two separate names for the same thingTor Lillqvist2-2/+1
Change-Id: Iad76d452d5dbaa03099c1a649d7f278b0151f340
2014-05-20We don't support the Apple Remote in sandboxed modeTor Lillqvist1-0/+2
Change-Id: Ie0a456647376b9d249850227d3481be5b4ee991d
2014-05-20Following fdo#78838, let's make this part safe tooJulien Nabet1-1/+1
(Thank you Eike) Change-Id: Icc7061c7f7296302d6ed21f0e74a48cbaa82011a
2014-05-20Fix wrong copy paste, should be <ucb::CheckinArgument>Julien Nabet1-1/+1
See http://nabble.documentfoundation.org/Wrong-copy-paste-in-ucbcmds-cxx-ucb-module-td4109103.html for more details Change-Id: I4f6754cf0350e969cece52008b310e1d8f182622
2014-05-20Correct linker library sequence for pdfimportJan-Marek Glogowski1-1/+1
Otherwise I get a lot of missing fontconfig symbols. Change-Id: I9bc3e395d54380a36cd6dd73cf95b7f4e4cab54e
2014-05-20avoid duplicationDavid Tardon1-41/+46
Change-Id: I2de8da0ce3648657977825309d4dd9902c0f8900
2014-05-20fdo#60338: Introduce osl_createDirectoryWithFlagsStephan Bergmann6-7/+58
...so that utl::TempFile can pass osl_File_OpenFlag_Private and doesn't have to resort to umask (the calls to umask around Directory::create had somewhat erroneously been removed recently with 1d72a0262c4570631d0aa8f98e34e21fb9d6ae42 "Related fdo#60338: Create missing temp file dir with user's original umask," mistaking this for creation of intermediate directories in the hierarchy). On Windows, the flags argument to osl_createDirectoryWithFlags is ignored completely for now. Change-Id: Iac56a5049d579be729a3f338aa62105123edb6cb
2014-05-20loplugin:implicitboolconversion,literaltoboolconversionStephan Bergmann1-3/+3
Change-Id: Ib783fd0557361286ce7b913a429c9ab8fc101c75
2014-05-21Avoid possible memory leaks in case of exceptionsTakeshi Abe7-34/+19
Change-Id: Idb8f0df3848416d96299ebc47ac5bd53d766e52c
2014-05-20fdo#78971 There's even a git hook to prevent commits containing SAL_DEBUGStephan Bergmann1-18/+0
Change-Id: I5a46e1eed129edf3648c68c36951d6fdf9bd370d
2014-05-20SvxRelativeField: set the unit from the passed stringmapMichael Stahl4-5/+20
In the Paragraph "Indents & Spacing" tab there are fields with unit: <object class="svxlo-SvxRelativeField" id="spinED_LEFTINDENT:0cm"> But the unit is effectively ignored, and the resulting SvxRelativeField with FUNIT_NONE and 9999 max somehow results in 0.18cm max when the dialog sets cm as unit. Change-Id: I6001c93079fd7d899f1e119913b29ea4898b1c34
2014-05-20(related: fdo#62176) Revert "reset min/max values in paragraph ...Michael Stahl1-2/+4
... dialog before setting the actual value" This prevents handling negative first-line indent in Impress, for which it is necessary that the values are set before the limits. This reverts commit 3d7ff1e907713d8ed53a1e193641a2f16de3c38b. Change-Id: I47807d7d49716acab3657de1da64c6e9a99fc44d
2014-05-20Displaying the number of standardized pages in the Word count windowMichal Siedlaczek7-286/+500
The number of standardized pages (unit defined in the options) for the entire document and the selected area is displayed (if enabled in options) in the Word count window. The number of pages of size P for an area containing N characters equals P/N. This value is a float with one decimal place precision. The default size of the standardized page is 1800 characters (including whitespace characters). The configuration can be altered in Options->Writer->General. Conflicts: sw/source/ui/config/optload.cxx Change-Id: If13e87c73cb7706ff6618fa0352ba29c7c670aec Reviewed-on: https://gerrit.libreoffice.org/7642 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-20Make CoinMP build for AndroidTor Lillqvist3-0/+170
(No idea whether it works, of course.) Patch the config.sub files to recognize arm-linux-androideabi. Don't build any binary programs as that fails for Android becuase we don't pass in the right C++ library to use anyway. (And those programs aren't really useful to us anyway, on any platform, I guess?) Change-Id: I70c7a527db41081a51548ce6983b6a9ae8a08bc7
2014-05-20normalize member var. namesDavid Tardon1-88/+88
Change-Id: Ib6215520d51ada6f956f8400de36f61a5ff025ba
2014-05-20use VCL's OpenGLContext for 3D transitionsDavid Tardon5-537/+148
Change-Id: I510518461eb8bc9669d0de2679c34c473f66b175
2014-05-20Revert "fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT"Stephan Bergmann2-9/+9
This reverts commit 0562a17c64f4016f2d3ba01e1c19c27feadb2543, sal/log.hxx functionality is only available in C++.
2014-05-20kill some old 16 bit column indicesMarkus Mohrhard3-37/+29
Change-Id: Ie1c3f3b11ed216b53f3fd385614f6fcb2c38220c
2014-05-20fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTMukhiddin Yusupov2-9/+9
Changed OSL_ASSERT with SAL_WARN_IF Change-Id: Ie81eeb51f6978162abd372f7e9910344a2baaccd Reviewed-on: https://gerrit.libreoffice.org/9401 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2014-05-20Win32 - warn of extraordinary behaviour with LoadLibrary and long PATHsMichael Meeks1-0/+8
Change-Id: I0a8ee157aa548a5b04df67a2355e3f4fd15e84cd
2014-05-20Add the CoinMP libsTor Lillqvist1-0/+7
Change-Id: I37b4c1081055f98c9254d64480efeb2c205e711d
2014-05-20Make CoinMP build for iOSTor Lillqvist2-0/+4
Change-Id: I8adff18896115d7dd0fce49916a18dc830506a36
2014-05-20No reason to avoid CoinMP for Android and iOSTor Lillqvist1-2/+2
Change-Id: I78eb3a706251ba64ad87e7985fc43c90bea2f767
2014-05-20If we don't want lpsolve we don't want lpsolveTor Lillqvist1-18/+20
Change-Id: I6038faf296831da0855eb7cd3628c5c6978d4cb3