Commit Graph

353519 Commits

Author SHA1 Message Date
Bjoern Michaelsen
6f126ed6a7 remove obsolete Ubuntu names (pre 10.04 LTS)
Change-Id: I427e4318eab9ed50db882176e5542b5cb63d298b
2014-05-21 12:41:18 +02:00
Bjoern Michaelsen
c37fdd6502 add current Ubuntu release names
Change-Id: Ia84e758ca598d506c9bdae524afff0421f68be81
2014-05-21 12:41:18 +02:00
Tor Lillqvist
224fd0a946 Bin code that died in 2010 in d4dbc31173
Change-Id: I5b88b7c66c1c3a3c68e6a837d10e7477cb7ae8fe
2014-05-21 13:36:30 +03:00
Miklos Vajna
612e0c647e fdo#77725 make testcase minimal
Loading 54 pages to check a single footnote is a waste of time.

Change-Id: Ic68d1d29e26e3d66973e5fca65c8958b953c78e0
2014-05-21 12:28:44 +02:00
Tor Lillqvist
c1dbed8ac6 Use more specific tag
Change-Id: Ife10cae3f0bd7dd294c74799412528f2596369c8
2014-05-21 13:26:15 +03:00
Tor Lillqvist
02dcdb1011 Log also the size
Change-Id: I391fbc092b05600b0a4c2107e3934e1fb7334554
2014-05-21 13:26:14 +03:00
Tor Lillqvist
e2565690b5 Bin ENUM_FONTRELIEF_DECLARED crack
We don't test or define it anywhere else so the header guard for the file
itself is enough.

Change-Id: I15a81b50ab3250a9c792a1b86a4b15f49ec224d1
2014-05-21 13:26:14 +03:00
Tor Lillqvist
566e47a19d Add a SAL_INFO
Change-Id: I3eb6a1f7dab30346a68050f37d31c082336ab7b6
2014-05-21 13:26:14 +03:00
Tor Lillqvist
6da81bb513 Add debugging output operator<< for FontMetric
Change-Id: I8df204b01a73454396561052f10784c71f10d081
2014-05-21 13:26:14 +03:00
Jan Holesovsky
58cb649dbe Don't disable painting.
Change-Id: Ia7d8a49af756a642c393f47b7dc342b8e48b5eda
2014-05-21 12:18:29 +02:00
Rajashri
b349d2483e fdo#78663 : Corrupt: 2007 WordArt whithin a Drawing tool
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-21 11:56:38 +02:00
Michael Stahl
cae2376f6f extras: add some more words to technical.dic
Change-Id: Ie337f8d1b24c8e7c9c422a13b11705f8eeaffdcc
2014-05-21 11:36:40 +02:00
Miklos Vajna
0fc4bd9674 unused DocxSdrExport::setDrawingOpen()
Change-Id: I8a5d36325edda8c475c4ad5874ec83c444bf2b50
2014-05-21 11:27:40 +02:00
Tushar Bende
1fc9923b19 fdo#78469 FileCorrupt:During export LO was adding wrong tags inside <w:sdtPr>
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-21 11:19:10 +02:00
Michael Meeks
c07b8dedf7 ODS load perf: transfer ownership of the ScTokenArray to save cycles.
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-21 10:03:36 +01:00
Michael Meeks
7732f806df ODS load perf: avoid excessive calls to uppercase to compare tab names.
Change-Id: I37b9e49607c8c51f10bc8ff8fc342b02fdb8b7e1
2014-05-21 10:01:50 +01:00
Stephan Bergmann
85dc388993 Default OS X thread stack size too small for -fsanitize=address
...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-21 09:06:32 +02:00
Stephan Bergmann
00468b48e8 Work around Clang -fsanitize=address inline asm error
same as 08947735f9 for gcc_linux_x86-64

Change-Id: I28d138dd13adc9a3e09d46befe69ac86ab1fffb6
2014-05-21 09:06:31 +02:00
Maxim Monastirsky
c354deac3c fdo#78921 Don't crash when there is no storage specified
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-21 08:59:59 +03:00
Thomas Arnhold
005fae2bdd upgrade to python-3.3.5
- 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-21 00:08:02 -05:00
Markus Mohrhard
19979ae270 forgot to release the OpenGL resources
Change-Id: I2baefbe611f9ed28defc46ca3af332d13b32c561
2014-05-21 02:09:11 +02:00
Markus Mohrhard
61b2ae31c6 use FBO for the picking
Change-Id: Ibab6daa1f76300d159ccd4cfbca061c8d8c1951f
2014-05-21 01:50:44 +02:00
Markus Mohrhard
8c39739a38 add method for creating framebuffer objects to OpenGLHelper
Change-Id: I08bd2e58ee98a68accae256fcbcc288a8c56ae0b
2014-05-21 01:50:44 +02:00
Markus Mohrhard
e634b0dcdd set the color for the picking
Change-Id: If7b902b16626384440241d88937161cf327e14d5
2014-05-21 01:50:44 +02:00
Markus Mohrhard
1b8cfd5d14 remove unnecessary whitespaces
Change-Id: I4d93c0149aaf90e2477c1382aa51f8f08c967626
2014-05-21 01:50:44 +02:00
Markus Mohrhard
5500a4fedc avoid division by zero that happens to me in some cases
Change-Id: Ifc80462e7826e7d717dc553f50dd00f2b771bf15
2014-05-21 01:50:44 +02:00
Markus Mohrhard
08bed8aa8a we need to create the buffer
Somehow this only crashes when I use gdb.

Change-Id: Ic18ffa3af931b80a7241e8fe711753db03da166e
2014-05-21 01:50:44 +02:00
Julien Nabet
227af32d8c Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-20 23:29:53 +02:00
Tor Lillqvist
0f836296ea Don't use two separate names for the same thing
Change-Id: Iad76d452d5dbaa03099c1a649d7f278b0151f340
2014-05-20 23:37:04 +03:00
Tor Lillqvist
c41ad388af We don't support the Apple Remote in sandboxed mode
Change-Id: Ie0a456647376b9d249850227d3481be5b4ee991d
2014-05-20 23:37:03 +03:00
Julien Nabet
0483124971 Following fdo#78838, let's make this part safe too
(Thank you Eike)

Change-Id: Icc7061c7f7296302d6ed21f0e74a48cbaa82011a
2014-05-20 20:50:44 +02:00
Julien Nabet
f332958999 Fix wrong copy paste, should be <ucb::CheckinArgument>
See http://nabble.documentfoundation.org/Wrong-copy-paste-in-ucbcmds-cxx-ucb-module-td4109103.html
for more details

Change-Id: I4f6754cf0350e969cece52008b310e1d8f182622
2014-05-20 20:09:41 +02:00
Jan-Marek Glogowski
a130817f7d Correct linker library sequence for pdfimport
Otherwise I get a lot of missing fontconfig symbols.

Change-Id: I9bc3e395d54380a36cd6dd73cf95b7f4e4cab54e
2014-05-20 19:59:49 +02:00
David Tardon
4ffc795536 avoid duplication
Change-Id: I2de8da0ce3648657977825309d4dd9902c0f8900
2014-05-20 19:24:17 +02:00
Stephan Bergmann
f65de4feee fdo#60338: Introduce osl_createDirectoryWithFlags
...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 1d72a0262c
"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-20 18:12:33 +02:00
Stephan Bergmann
1122d513ef loplugin:implicitboolconversion,literaltoboolconversion
Change-Id: Ib783fd0557361286ce7b913a429c9ab8fc101c75
2014-05-20 17:59:56 +02:00
Takeshi Abe
1c9ba8a81c Avoid possible memory leaks in case of exceptions
Change-Id: Idb8f0df3848416d96299ebc47ac5bd53d766e52c
2014-05-21 00:25:20 +09:00
Stephan Bergmann
dc24203e5f fdo#78971 There's even a git hook to prevent commits containing SAL_DEBUG
Change-Id: I5a46e1eed129edf3648c68c36951d6fdf9bd370d
2014-05-20 17:01:38 +02:00
Michael Stahl
68bc8af6b6 SvxRelativeField: set the unit from the passed stringmap
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 16:44:29 +02:00
Michael Stahl
35199df7b7 (related: fdo#62176) Revert "reset min/max values in paragraph ...
... 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 3d7ff1e907.

Change-Id: I47807d7d49716acab3657de1da64c6e9a99fc44d
2014-05-20 16:44:29 +02:00
Michal Siedlaczek
43cd2f79da Displaying the number of standardized pages in the Word count window
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-20 09:29:53 -05:00
Tor Lillqvist
63bc29b2a8 Make CoinMP build for Android
(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-20 17:07:45 +03:00
David Tardon
9a076c316d normalize member var. names
Change-Id: Ib6215520d51ada6f956f8400de36f61a5ff025ba
2014-05-20 15:48:51 +02:00
David Tardon
eccaf91ec9 use VCL's OpenGLContext for 3D transitions
Change-Id: I510518461eb8bc9669d0de2679c34c473f66b175
2014-05-20 15:48:51 +02:00
Stephan Bergmann
92621df9e7 Revert "fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT"
This reverts commit 0562a17c64,
sal/log.hxx functionality is only available in C++.
2014-05-20 15:46:31 +02:00
Markus Mohrhard
ee212bf4db kill some old 16 bit column indices
Change-Id: Ie1c3f3b11ed216b53f3fd385614f6fcb2c38220c
2014-05-20 15:25:18 +02:00
Mukhiddin Yusupov
0562a17c64 fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
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-20 08:16:19 -05:00
Michael Meeks
ef02ced3ec Win32 - warn of extraordinary behaviour with LoadLibrary and long PATHs
Change-Id: I0a8ee157aa548a5b04df67a2355e3f4fd15e84cd
2014-05-20 14:06:32 +01:00
Tor Lillqvist
c1fd24e18f Add the CoinMP libs
Change-Id: I37b4c1081055f98c9254d64480efeb2c205e711d
2014-05-20 15:25:46 +03:00
Tor Lillqvist
dd633de592 Make CoinMP build for iOS
Change-Id: I8adff18896115d7dd0fce49916a18dc830506a36
2014-05-20 15:25:45 +03:00