Commit Graph

353492 Commits

Author SHA1 Message Date
Stephan Bergmann
a34d0fb56f Remove unused ZCODEC_ZFILTERED, ZCODEC_ZHUFFMAN_ONLY macros
Change-Id: Ie02fb495beebd02d8331e547cbe6648dc70f241f
2014-05-21 15:30:14 +02:00
Stephan Bergmann
b2e5b0ec14 Remove unnecessary DEFAULT_IN/OUT_BUFSIZE macros
Change-Id: Icd509f55b3f91c4ce3b21bfa3a501d99532539d9
2014-05-21 15:30:14 +02:00
Stephan Bergmann
5271e5b01b nMemUsage is always MAX_MEM_USAGE
...so just use zlib.h's MAX_MEM_LEVEL directly.

Change-Id: I76d73f665df242bfb180b76aa7054cf8ddbe9e67
2014-05-21 15:30:14 +02:00
Stephan Bergmann
f5e44ac7e6 Use default argument values
Change-Id: I69273648155f5071b297c9c77edda58a8f25436d
2014-05-21 15:30:13 +02:00
Stephan Bergmann
fe1e1d1292 A single ZCodec ctor suffices
Change-Id: Ib831b80afcdde98928a2759616810923348f65e8
2014-05-21 15:30:13 +02:00
Stephan Bergmann
faac2327e9 Clean-up C-style (void) parameter lists
Change-Id: I41da8920e33dfdd0f1483ea2d7cf67111224b441
2014-05-21 15:30:13 +02:00
Zolnai Tamás
d1711bb430 glTF embedding: handle missing image on a better way
Using empty tree leads to empty image url which
cause problem.

Change-Id: If815ce588fb303905035185404ede93fa424fcba
2014-05-21 15:25:08 +02:00
Zolnai Tamás
ee734562df glTF objects: set playback loop by default
Change-Id: I17f5636196ba2b14f46f805ce013af5e6bede9a8
2014-05-21 15:25:08 +02:00
Douglas Mencken
7e4708739d care for Java 1.5 support in external packages
apache commons-lang 3.3.1 and commons-codec 1.9 are for use
only with JDK 1.6 and higher

see commits:
  1731f6e692 "bump apache-commons-lang to 3.3.1"
  3dad9b1019 "bump apache-commons-codec to 1.9"

Change-Id: I3e71f6474becafe6c91836bbac5c6a8b7ca3442c
Reviewed-on: https://gerrit.libreoffice.org/9312
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-21 07:57:55 -05:00
Noel Grandin
e142ad49ce cid#708875 Unused pointer value
Change-Id: I0cf85027a84482fd504b753bfc32ceb1c07241b4
2014-05-21 14:56:39 +02:00
Caolán McNamara
b1439cf5de drop unused helpids
Change-Id: I35fd20220a206fbe9cbc9eed9670b59e4051ae11
2014-05-21 13:55:56 +01:00
Markus Mohrhard
1225fc1047 improve the text rendering a bit
Less scaling means more beautiful text

Change-Id: I787244a5f7a472a14f463729f8f434a4969a6285
2014-05-21 14:50:53 +02:00
Markus Mohrhard
addc7e821f we need to set text size in woorld coordinates
Change-Id: If77133080851a3b2d700ac54c9722f560e71f26e
2014-05-21 14:50:52 +02:00
Caolán McNamara
705c26a655 Updated core
Project: help  2ef15cb93840390d9927f64bddb958ad699cb792
2014-05-21 07:54:59 -05:00
Caolán McNamara
ca4a381947 lets drop the custom DescriptionEdit widget
Change-Id: Id08b364b828ccacd5c54276daf605ec4ff3fdb0a
2014-05-21 13:47:05 +01:00
sk94
5690def7c8 RID_DLG_UPDATE conversion to .ui
Conflicts:
	desktop/source/deployment/gui/descedit.hxx

Change-Id: Icf9ee3081b468f99833d1e38182887ad1da6f675
Reviewed-on: https://gerrit.libreoffice.org/9417
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-21 07:46:34 -05:00
Markus Mohrhard
2bbcf97eb3 fix my issues with the offscreen rendering
Change-Id: I4a2ed8a20890119220d63a6768f13365a7b5f97d
2014-05-21 14:24:09 +02:00
Eike Rathke
b8e8c9c471 add unit test for static isValidBcp47() method
Change-Id: Ib234fb1d14087236d337dfe351aea941945e718c
2014-05-21 14:15:24 +02:00
Eike Rathke
a6e6cc49bf add static LanguageTag::isValidBcp47()
Change-Id: I2c646b3e2f13a6fccc845ce8eb82fccee154f3c6
2014-05-21 14:15:24 +02:00
Noel Grandin
f824604b5c fix spelling
Change-Id: I1a4d66a78549ea49649a6bed92acb44dbd8b13e2
2014-05-21 13:14:11 +02:00
Bjoern Michaelsen
46f1a5a7de also add Unity and Systemd
Change-Id: I941c1f651f7b1a4478c50a9047993da881ebfd70
2014-05-21 12:48:19 +02:00
Eike Rathke
636581bf87 most certainly == was meant
Change-Id: I1b0833daa576cd8603421e1036b8773badc8c775
2014-05-21 12:45:24 +02:00
Bjoern Michaelsen
e1d90b31f6 add Debian Jessie
Change-Id: I94473904747593714998ed159a304417060d691d
2014-05-21 12:43:57 +02:00
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