summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-05-10don't override TMPDIR with /tmp on cygwin, cleanup TMPDIR/TMP handlingChristian Lohmaier
on cygwin, configure forced TMPDIR to /tmp, regardless whether it is set or not. And while it respects an existing value of TMP, TMP is only used in a few places. Changes the ones that explicitly check for TMP to prefer TMPDIR, and don't duplicate configure's check in other scripts. Change-Id: Ia8ac3f8d92e5f971c5237b85f66f7c0a58932930 Reviewed-on: https://gerrit.libreoffice.org/3701 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-10Updated coreAndras Timar
Project: help 9c6ee8419cc4e7ff0d5b3cfbd9fc0e538e78f8ab
2013-05-10Potty mouthChris Sherlock
Change-Id: I276fa2fa24b5553a748e6e628129d54419e69c9a Reviewed-on: https://gerrit.libreoffice.org/3843 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-10Fix: change to std::dec after having used std::hexChris Sherlock
The basefield flag of a stream is persistent, which I didn't realise before. This fixes commit 256e42646bedbeb9cba900f962f36ba4b1a1cda3 Change-Id: Ic0076c63ae6236ae75dcd79d108add27391b2125 Reviewed-on: https://gerrit.libreoffice.org/3842 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-10Related: #i120306# better input checks in WinSalBitmap::ImplCreateDIB()Herbert Dürr
Patch-by: hdu, orw (cherry picked from commit 7b6990763f759f2de1902f8d22a22eb8e66797f7) Conflicts: vcl/win/source/gdi/salbmp.cxx Change-Id: I106efb3960cb99367d2ecefb8bcae006f389e271 Corrected static_cast which does not work on Win compiler reinterpret cas needed (base classes are not related) (cherry picked from commit 99e4d3a57f88f71c47f1e519bde13080f0df3041) Change-Id: I02fc89d1ab346231985c68d63d9710c036d2ab2a
2013-05-10WaE: unreachable codeTor Lillqvist
Change-Id: Ia3e12c18a30e5aa0f37db5035cd308b06b2b5655
2013-05-10Related: #i115922# Fontwork alignment and spacing controlsHerbert Dürr
Capitalize them consistently with the reference being their UNO names defined in main/helpcontent2/helpers/uno-commands.csv (cherry picked from commit 6a2ea0d81349d3bf6e3ce71cd60288e70b34e198) Conflicts: svx/source/tbxctrls/fontworkgallery.cxx Change-Id: I3400c68bf121f4a95cf1068c62be9864257c8ac2
2013-05-10bnc#758621: show preset texts in slide placeholderFelix Zhang
2013-05-10Font refcount is not uint16 (anymore)Eike Rathke
Change-Id: I1aa89a8d6f712abb4f768a413ebac29e14612484
2013-05-10Enhancements to VCL metafile handlingChris Sherlock
* Remove EMFP_DEBUG with OSL_DEBUG conditional defines and SAL_INFO * While we are about it, to help with troubleshooting metafile issues, add another vcl.emf area to log-areas.dox * Improve error handling when processing an EMF header: + replace variable name nsal_uInt32 (!!) with sane variables to make the code more readable + check to ensure that type field is 0x1, which is all it can be for metafiles + check that signature field is set to ASCII-encoded value "FME" + loose check of version field to see if it is 0x00010000 + warn if record count is zero - that really shouldn't be possible + check bytes field in header to make sure it correlates to the actual size of the metafile + additional check - [MS-EMF] states that reserved field should be zero, and ignored... but we can use this to check for file corruption - not 0, not correct! * Quite a few more comments in the code to clarify the intended structure of a metafile, per [MS-EMF] documentation Change-Id: Id4ed486b2dd0c6e7bdee67cb344aaaf8e8d98f84 Reviewed-on: https://gerrit.libreoffice.org/3839 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-10More gb_PROGRAMDIRNAME clean upStephan Bergmann
Change-Id: I5af86e15bcb8958a680e7309f13d7a865f29d7a9
2013-05-10Solve fdo#64406 Missing right closing parenthesisJoren De Cuyper
Change-Id: I3812b60f097b1daf554bf2d337b126e8a8067573 Reviewed-on: https://gerrit.libreoffice.org/3837 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-10Resolves: #i122208# introduce rtl::CStringHash and rtl::CStringEqualHerbert Dürr
unify the various c-string compares and hashes. (cherry picked from commit b7e3470a154538a92f0a21b14e726d75723f4a92) Conflicts: oox/inc/oox/export/shapes.hxx oox/source/export/shapes.cxx sal/inc/rtl/string.hxx sdext/source/minimizer/pppoptimizertoken.cxx svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx vcl/source/glyphs/gcach_ftyp.cxx writerfilter/source/resourcemodel/TagLogger.cxx xmloff/source/draw/EnhancedCustomShapeToken.cxx Change-Id: Ib742744077bfb4d38a462d88b44bdef45601b4ae
2013-05-10Resolves: #i122142# use simple text hilight framesArmin Le Grand
use simple text hilight frame when captions are in TextEdit mode (cherry picked from commit bdcd01c39324f5c74e0f696f2afc3449243e6c4b) Conflicts: svx/source/svdraw/svdmrkv.cxx svx/source/svdraw/svdorect.cxx Change-Id: Id570a220873d1bbd0f9caed4db44f90ca2f67d9e
2013-05-10Abstract over PACKAGEDIRNAME as it is MacOS rather than program on Mac OS XStephan Bergmann
Otherwise, the FILELIST scp2 items would create a program directory even on Mac OS X, before gid_Brand_Unixlink_Program creates the program -> MacOS symlink. (gb_Pyuno_PROGRAMDIRNAME shoudl be renamed to something more general than Pyuno, and maybe more */Package_*.mk would benefit from using it.) Change-Id: Ib6fc8d1abaf3b1a47a0f026a62bf0abdb14fc521
2013-05-10UntabifyTor Lillqvist
Change-Id: I42f54c87384419f5f605c2a5a8146477238f4dfb
2013-05-10Personas: Kill the non-finished "Background Image" feature.Jan Holesovsky
It seems not to be a too good idea anyway - the image has to have some specifics, so the value of setting any random image as the background of Writer / Calc / Impress is questionable. Either way, if anybody wants to finish that, easy to recover from the history ;-) - better than keeping the unused code around. Change-Id: I5079210bd91b5e70ce20681e5477b860bb28ff07
2013-05-10Updated coreAndras Timar
Project: dictionaries c178908939c5e5c727f5c7c78b9cc32356f6ea46
2013-05-10fix kde buildCaolán McNamara
Change-Id: Iddcf995b079867cf14454d28c363efacc0323ae8
2013-05-10Updated coreAndras Timar
Project: dictionaries 7c495c0a113c52ba9f2b15a5ab38d06b02e1c8df
2013-05-10protect SalFrameView's isOpaque() method by an isAlive() checkHerbert Dürr
(cherry picked from commit feb1be19817d10e0ed1a18bada9c917f2a4532db) Change-Id: I9e6ddcf04047bdc905f00b709db84459112122db
2013-05-10Related: #i112873# check native widget's control value type...Herbert Dürr
before converting to SpinbuttonValue or ScrollbarValue Else problems like #i112873# or even crashes can and do happen. (cherry picked from commit d2fde1d34c3c28572b1b6b4780269c15dd4c2bef) Conflicts: vcl/unx/kde/salnativewidgets-kde.cxx Change-Id: I6429205ab41b3194577bc50aa02384c920e11ed2
2013-05-10temporarily disable unit test that fails on windowsNoel Power
Change-Id: Id3cc26b6fbb1ec0ddacf7228e1c147085db415e1
2013-05-10Fix more exception specificationsStephan Bergmann
Change-Id: Ie5168a9e67ab9479cf7b6d0e350ec0b3c4f0616f
2013-05-10Make harfbuzz Windows XP compatibleFridrich Štrba
In a case we use harfbuzz on Windows once, it is using in the uniscribe backend some OpenType shaping that is available only in Vista and later. So call this functions over function pointers if available and if not, fallback to the itemizing/shaping/placing that is available in Windows XP uniscribe. Change-Id: I5b1a22d812d57194d1147effa87033cdf6af78d3
2013-05-10Fix exception specificationStephan Bergmann
Change-Id: I1167d2ebeba97380b65c6e7789ba7fc3ad6b0a1e
2013-05-10WaE: private field 'pFilenameLab' is not usedTor Lillqvist
Change-Id: I1c68a1fd425d54e2d01ff63580e62dc0fb6416e2
2013-05-09MinorKhaled Hosny
Change-Id: I31b95844234135d14f117ae74124350eedf7d20a
2013-05-09[coretext] Fix line spacingKhaled Hosny
It should have been nExtDescent + pMetric->mnDescent, but then the whole thing does not make any sense; why add the descent to the leading and then calculate the leading by subtracting the descent! (well, the ATSUI code was doing this but it makes no sense either). Just use CTFontGetLeading() directly. Change-Id: Ia54648f6c02c11359865f4aa6476adf40b27f906
2013-05-09coverity#736132: comparison of array against NULLMarkus Mohrhard
Change-Id: Icba7557140d65b769bef17df57e2cdc1bdba3193
2013-05-09icoverity#705451: comparison of array against NULLMarkus Mohrhard
Change-Id: I544760548866d55807a3291a31b4ce948a751946
2013-05-09coverity#705449: comparing array against NULLMarkus Mohrhard
Change-Id: I92ba78e96ad4f7c4a661dd879a721e422b6d0d2e
2013-05-09coverity#705446: self assignmentMarkus Mohrhard
Change-Id: I950a6d971b1be742fa7c0ce26697cd84121a14d0
2013-05-09coverity#982277: reosurce leakMarkus Mohrhard
Change-Id: I5d2b99645faf18e8af9bc0f0b4bff210f9ee8743
2013-05-09coverity#704141: resource leakMarkus Mohrhard
Change-Id: I4147dfa5d0d1fb2324a6441580212f25ce9d4a01
2013-05-09Related fdo#35546: Cosmetic fixes for Photo Album DialogSamuel Mehrbrodt
* Display spaces in filenames correctly * Adjust Spacing in Dialog * Remove the label showing the full path Change-Id: I5c5d3d54b7e21063628c4cdb4a92f534ec4a3088 Reviewed-on: https://gerrit.libreoffice.org/3834 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-09Related: #119477#, nBuStart is initialized as -1, an unsigned int is requiredXisco Fauli
Otherwise 65536 will be printed as the firt bullet Change-Id: Ie200c1c67a9b73321990a55940115ae30b9e7c37
2013-05-09#119477# fix bullet's start with error when save .ppt fileSun Ying
Reported by: Liu Ping Tan Patch by: Ying Sun Review by: Steve Yin.
2013-05-09Perhaps this will help the clang buildbot (?)Kohei Yoshida
Change-Id: Ib0b56e1c7d3b58de10a45ebc352f4f116cba58f9
2013-05-09Get clucene to build on Windows.Kohei Yoshida
Change-Id: I5c8460db80f41569714f743265ee57736ce02211
2013-05-09add missing exception specificationLuboš Luňák
Change-Id: I3dff13178c60d1abfbfdbaee1352af3b3dd98061
2013-05-09no FT_Face_GetCharVariantIndex on RHEL-5, dlsym itCaolán McNamara
Change-Id: Ie94e6d0acdfbb11801bc974b9ed37133df964245
2013-05-09Go back to the old way of detecting headers.Kohei Yoshida
Change-Id: Iabad8f0a3936fa30d4ba68a717a79e4e0b497991
2013-05-09Remove a patch that's no longer needed.Kohei Yoshida
Change-Id: Ie309848f80606432752b60fbdf34e7597308d800
2013-05-09Update mdds to 0.8.0.Kohei Yoshida
Change-Id: I5dcf3b14993ac4d699e884c4981af668277a41df
2013-05-09ScHint doesn't need to store broadcaster pointer. Let's not.Kohei Yoshida
Change-Id: I86f9b44c87f3a730902d12505252e4b7e0a24fe4
2013-05-09Test more broadcaster relocation scenarios.Kohei Yoshida
Change-Id: Ib34b86cfe6b96134dadf5f8da6dcd14ec0adb9d6
2013-05-09Simplify this a bit.Kohei Yoshida
By taking advantage of 1) cell array being std::vector, and 2) broadcasters are no longer stored with cells. Change-Id: I9ba1d3004e62d7bb7810d8fed0c4e8fd17605d0f
2013-05-09This is not necessary either.Kohei Yoshida
Change-Id: I9651d58209afd1dd9a77d859db0925b586c3c8ab