summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tdf#86087 Save relative links in DOCXSzymon Kłos2017-11-197-0/+317
| | | | | | | | | | Save links depending on preferences set Options -> Load/Save -> General -> Save URLs relative to ... Change-Id: I96d06cfdc405d1e1254515106926374aee279f6c Reviewed-on: https://gerrit.libreoffice.org/44785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
* tdf#86087 DOCX Import link as relative if preferredSzymon Kłos2017-11-192-1/+3
| | | | | | | Change-Id: I92e273aa57db8b4b9779d8d784c5bbad42d720e5 Reviewed-on: https://gerrit.libreoffice.org/44735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
* Typos about "bottom"Julien Nabet2017-11-194-4/+4
| | | | | | | Change-Id: I8fec1f12d5f8330cd54da3e219268bf4e0b4c213 Reviewed-on: https://gerrit.libreoffice.org/44932 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* clang-tidy modernize-use-equals-default in svtoolsJochen Nitschke2017-11-193-30/+0
| | | | | | | | | | no need to explicit delete SvtScriptedTextHelper_Impl assinment operator because it's implicit deleted anyway. Change-Id: I8463345e9035fc0466a22ed6648eb5b2614ed1b5 Reviewed-on: https://gerrit.libreoffice.org/44927 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* clang-tidy modernize-use-equals-default in sw/source/uibaseJochen Nitschke2017-11-1915-201/+3
| | | | | | | | | | removing unused assignment operators for SwDocDisplayItem, SwElemItem and SwShadowCursorItem, which are implicitly deleted now. Change-Id: I25200c3c61b77c5dedf7cf9de3edabc9d1e68730 Reviewed-on: https://gerrit.libreoffice.org/44928 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* iOS, updated app iconjan Iversen2017-11-196-19/+74
| | | | | | new demands for appicons (iOS 11.1) Change-Id: I26eb7c61d4ffe24347ed3b192b579d07e46afc34
* iOS, added schemes to projectjan Iversen2017-11-194-11/+286
| | | | | | | | | This is very much an experimental feature, to ease the building process. Currently only SIMULATOR is tested Change-Id: I67137057132115d800af31a617aeafc585b0819b
* tdf#86087 Open relative links in WriterSzymon Kłos2017-11-191-2/+19
| | | | | | | Change-Id: I3f6caad559d92ec559b8ae1c66e7fea13f52cb76 Reviewed-on: https://gerrit.libreoffice.org/44734 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
* Use for range loops and lambda in dbfindex (dbaccess)Julien Nabet2017-11-192-60/+32
| | | | | | | | Change-Id: I72186af1eae37e31cafec695581336729d123d09 Reviewed-on: https://gerrit.libreoffice.org/44925 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* tdf#113777 dont translate 'Family:' and 'Style:' stringsYousuf Philips2017-11-191-8/+8
| | | | | | | | | | | these strings are replaced by strings in the code, so no need to translate them 4 additional times Change-Id: I6cd28b76367a950a2075cf5ef4ee021fe1a89fe0 Reviewed-on: https://gerrit.libreoffice.org/44761 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com> Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
* tdf#113536 Better wording for CSV separatorheiko tietze2017-11-192-3/+3
| | | | | | | Change-Id: I4bdd275f2343341e64a4a5dba4e5271888ca1799 Reviewed-on: https://gerrit.libreoffice.org/44901 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
* iOS reactivated swarmsolverjan Iversen2017-11-192-6/+2
| | | | | | | swarmsolver now compiles after the license issue was corrected, so no need to have a special case for iOS. Change-Id: Icae81c2b5769af9c8fd53068d69cbb6e608c7e69
* Reuse already existing valueMike Kaganski2017-11-191-1/+1
| | | | | | | Change-Id: I996cd76b55265e783f51573b6d67b0c0187427c8 Reviewed-on: https://gerrit.libreoffice.org/44924 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Replace list by vector in accessible part of scJulien Nabet2017-11-193-30/+19
| | | | | | | | | | + remove useless typedef following https://cgit.freedesktop.org/libreoffice/core/commit/?id=65e578640f0258768a9253389356dbc63c845b7e + use for range loops Change-Id: I9b69acf4c0b783ee8db34791b1044cbebb68da9f Reviewed-on: https://gerrit.libreoffice.org/44919 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* tdf#108947 Added Unittest.Thomas Beck2017-11-192-0/+134
| | | | | | | | | | Added different branches for Windows/Linux because of differences in linebreaks. Recommit with ifdef guard for preventing tinderbox failure Change-Id: I08c45e3e653990a47a85aee6f63f063b2f9385a7 Reviewed-on: https://gerrit.libreoffice.org/44677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Remove include config_lgpl.h from SwarmSolver, license is MPLv2Tomaž Vajngerl2017-11-191-1/+0
| | | | Change-Id: I7c29c2e1a6e782dfc24b284f196521a7f7beef61
* tdf#50746 Make "paste unformatted text" work for CalcSerge Krot2017-11-1911-0/+52
| | | | | | | | | | The same command with the same Ctrl+Shift+Alt+V hot-key was already added inside Writer. So now Calc has it too. Change-Id: I2b2d1b02e33288bc058c773431f029fb1d33d3be Reviewed-on: https://gerrit.libreoffice.org/44886 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* tdf#111486 Multiply by whole base transformation, and not only by scale of itBartosz Kosiorek2017-11-181-1/+2
| | | | | | | Change-Id: Ib50fa1ac36f06dbd7e5e921f9c13c5d5ac8bb138 Reviewed-on: https://gerrit.libreoffice.org/44869 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
* ofz#4306 init draw layerCaolán McNamara2017-11-181-0/+1
| | | | | | | | Change-Id: I2a8bfa72e7e83ec86301cbfb952235e6b984b363 Reviewed-on: https://gerrit.libreoffice.org/44906 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* we now get a solver lib even without lpsolve or coinmpCaolán McNamara2017-11-183-4/+5
| | | | | | | | Change-Id: I867d9aa37f876532dd67dadff7cd76f6e35868ba Reviewed-on: https://gerrit.libreoffice.org/44912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* silence some coverity warningsCaolán McNamara2017-11-1826-30/+31
| | | | | | | | Change-Id: I5a530e37156b5cd36e8a07ac20851880a46f520d Reviewed-on: https://gerrit.libreoffice.org/44875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* One more proper construction of vnd.sun.star.pkg URLMike Kaganski2017-11-182-16/+24
| | | | | | | Change-Id: I4b1bfc9c9b158506424ec0b5e2fd71c6ccb7d3ec Reviewed-on: https://gerrit.libreoffice.org/44917 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* tdf#113777 Add colon after family and style labelsYousuf Philips2017-11-181-4/+4
| | | | | | | Change-Id: I27a58b9c6f63275f3901d00e807588c2f4c278af Reviewed-on: https://gerrit.libreoffice.org/44905 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Makefile.in typojan Iversen2017-11-181-2/+2
| | | | | | Typo in the foreach macro. Change-Id: Ic9d69753eff81d06f662be7cd0dc1fc4f965b4f3
* We now require orcus-0.13 to build.Kohei Yoshida2017-11-181-1/+1
| | | | | | | Change-Id: Ieea3eda0c3f073caf5a957e55567c84bd7261ed2 Reviewed-on: https://gerrit.libreoffice.org/44908 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
* gbuild-to-ide cleaned up double scripts.jan Iversen2017-11-183-2905/+654
| | | | | | | | | | | | | | | | | Moved gbuild-to-ideNS to gbuild-to-ide (NS was the original) Removed gbuild-to-ideNS from Makefile.in the original gbuild-to-ide was split off to gbuild-to-ideNS, in order not to disturb the production environment while playing with new ide generation. Work on a new IDE generator have been stopped for a half year, so time to clean up. The work on a new Xcode generator continues offline (for now), and are part of the iOS development. Change-Id: Ia67355df21c6aec592d792ffa7c904a568eff961
* iOS, swarmsolver workaroundjan Iversen2017-11-182-2/+6
| | | | | | Due to license problems (see mail dev list) disabled swarmsolver Change-Id: I39889ddab2563a857c3bf0982244f889a402097f
* Update LibreOffice.natvisMike Kaganski2017-11-181-1/+41
| | | | | | | Change-Id: If9a0b5c185e828b5a1cf50fd42879aa3fa0f8635 Reviewed-on: https://gerrit.libreoffice.org/44910 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
* Updated liborcus to 0.13.1.Kohei Yoshida2017-11-1816-89/+47
| | | | | | | Change-Id: Id5aa07f87603879fe7a21dc96cad207f1b168286 Reviewed-on: https://gerrit.libreoffice.org/44850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
* RotateFlyFrame3: Corrected wrong static_castArmin Le Grand2017-11-181-20/+22
| | | | Change-Id: Ia3e0748d0b4ba11ec84a85e823472cdac9bf987a
* RotateFlyFrame3: add support for AutoContourArmin Le Grand2017-11-1810-109/+291
| | | | | | | | | | | For transformed FlyFrames with no Border and no Padding it would be nice to immediately start using AutoContour, added first implementation to do so. Added several conditions for AutoContour, need to work on reaction on changes to these. Corrected needed transform adaptions to Contour(s) Change-Id: Ia3d7845fd5d50c8a413d592ae07ce2041ccc91b9
* RotateFlyFrame3: Corrected Contour when rotatedArmin Le Grand2017-11-181-7/+35
| | | | | | | | | | | When rotated, the contour has to be adapted to that state and also needs to be calculated in untransformed state, added needed code. Also need to add a ClipRegion set at the target OutputDevice (e.g. from Contour) to the prepared GraphicPrimitive. It was sometimes used due to a VCL_Based PrimitiveRenderer being used, but that is just a coincidence. Change-Id: I1888ecd0468243bf2f41233b0cb3f99a50ac9805
* RotateFlyFrame3: Corrected interactive CropArmin Le Grand2017-11-1811-120/+226
| | | | | | | | | | | | | | | | | | | | To correct interactive Crop in transformed states, I had to rework some stuff involved that anyways was in a non optimal state. Added functionality to translate the object to make Crop seem to work more seamlessly. Some mapping was needed to make the Cropped, transformed object to be in the correct relative position to the uncropped, untransfomed one. Restructured TransformableSwFrame to directly re-create last non-transformed SwFrame(s) from the SwFrameAreaDefinition from the current Transformations, offering the untransformed SwRect(s) now for usage. Identified and corrected error when FlyFrame was translated using keyboard, the accessing method needed to adapt position in the transformed case. Started to look at Contour stuff, adapted a set contour to be correctly used by adapting it as needed in the transformed case. Change-Id: I0d5f14958bcd6f826b9abd53f1f47b7d0bc5a0e2
* RotateFlyFrame3: Made interactions work properlyArmin Le Grand2017-11-189-80/+217
| | | | | | | | | | | | Have now created working interactive Rotation, Scale, Move and Crop. Using as much of the old code as possible since it does corrections based on BorderWidth/s stuff and similar. To do so, need to back-transform and execute in unrotated/ untransformed state as much as possible. Had some problems with SwVirtFlyDrawObj::NbcMove usages and hacks there, had to restructure some of these. Change-Id: Ibedf6d834f96b2f8e9c1ace2a0c984aa26cedc74
* RotateFlyFrame3: Restructured TransformableSwFrameArmin Le Grand2017-11-186-208/+177
| | | | | | | | | | No longer derive a SwFrame that needs Transformation support from TransformableSwFrame, but keep it as a member (in a std::unique_ptr). Adapted all usages, also added reset of local SwRect(s) in local SwFrameAreaDefinition during layouting. That makes PrintPreview work correctly. Change-Id: I2e7720e67b57d4d29c0feb065878e246192a8a4c
* RotateFlyFrame3: Added basic transformation supportArmin Le Grand2017-11-187-13/+98
| | | | | | | | | | | In lcl_MoveAllLowers SwFrame(s) were directly modified, not even by calling any member method what makes it hard to react on changes to geometric definition(s). Added logic to Transform a SwFrame, currently basic by using e.g. SwFrame::Ltransform_translate, may be later unified to general Transformation usage with a homogen Matrix Change-Id: I7582fbd1472e12e481adacedda2e65cc0c282eac
* RotateFlyFrame3: Isolated functionality and automationsArmin Le Grand2017-11-186-178/+302
| | | | | | | | | | Isolated tooling stuff for SwFrames that support Transformations to TransformableSwFrame, adapted all usages. Developed functionality to reset temporarily the already adapted SwFrame of the outer frame to non-rotated to mate the layouting work. Made the outer frame being layouted always first. Change-Id: Ia60a971b8eaa28859d0f2a5243eabf68fe949846
* RotateFlyFrame3: Late-Updating of AreasArmin Le Grand2017-11-189-109/+146
| | | | | | | | | | | | | When Layouting the update of the Areas is needed, but during layout needs to be stable on the unrotated values. Hard to find the right spot to do this, decided to use the inner/outer frame, layout both, and trigger the updates when the inner frame is layouted to non- rotated Areas for inner and outer frame. Still not sure if this will be correct, but is close to working well. Some repaints/updates missing Change-Id: I3d7dcbf624f3f32392e5e98420cb348d11d7d322
* RotateFlyFrame3: Added transformation support to SwFrameArmin Le Grand2017-11-186-94/+234
| | | | | | | | | | | | | | The layout element SwFrame now has methods to get linear transformations for the geometry-defining FrameAreaDefinitions. These return by default the SwRect (without being relative for the FramePrintArea to make things easier), but are replaced by the now two SwFrame derivates that support rotation. The layout will now use the BoundRects of the transformations, thus supporting a future that will allow all kinds of free transformations (including mirror, rotation and shear) Change-Id: I18b85f5ddc2970a1b8c137d30b0c2ee49bb8df72
* RotateFlyFrame3: Initial support addedArmin Le Grand2017-11-188-0/+235
| | | | | | | | | | | First steps to get a rotated FlyFrame and content that only uses layouted sizes/positions and does not change the model data (except rotation). This works with persistence, after reload the rotation can be resetted with going back to the original FrameSize. Lot of stuff not yet working, experimental state. Change-Id: Ie29d501fe2e618a1cb4457d600ce97575ed372d0
* iOS, swarmsolve needs LPSOLVE or COINMPjan Iversen2017-11-181-1/+0
| | | | | | | | | | | if neither LPSOLVE or COINMP is defined swarmsolve terminates with an error "No LIBFILENAME set", if either one is a demand for swarmsolve it should make an error message, if not the mk should be modified. For now enabling coinmp for iOS builds. Change-Id: I0c0611c119f7930f50c90ff52d382196135f2c1f
* iOS, Xcode upgrade ruined project.pbxprojjan Iversen2017-11-181-118/+1
| | | | | | | The latest Xcode upgrade caused dublicate XBUILDCONFIGURATIONS, giving a strange behaivour when changing parameters using Xcode. Change-Id: I3e4d43af5540ef505665cf832090c767774bd951
* Fix typo in bitmap preset 73Yousuf Philips2017-11-181-1/+1
| | | | | | | Change-Id: Ie7dfdf4c2ec1d5629a5bd69623074f306831a9d2 Reviewed-on: https://gerrit.libreoffice.org/44899 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
* Remove redundant checkMike Kaganski2017-11-181-7/+4
| | | | | | | Change-Id: If925aef0109a023d5760a7f83ab570a1f0312cb6 Reviewed-on: https://gerrit.libreoffice.org/44903 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* tdf#113861: Less aggressive expansion of chart headers.Vasily Melenchuk2017-11-181-53/+52
| | | | | | | | | | | | | For sheets with low data density (many empty cells) created charts with checked "First row as label" or "First column as label" can get too much extra rows/columns from data range (if they contain no data). New approach is to treat empty cells as belonging to data, not to headers. Change-Id: Ib5fd47636b80e0b8807f75d9eb582eed0ef68627 Reviewed-on: https://gerrit.libreoffice.org/44755 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* MSC: Embed Natvis to PDBs, to use in /DEBUGEXE debugsMike Kaganski2017-11-181-0/+1
| | | | | | | | | | | | | | | | E.g., when a unit test is debugged using make CppunitTest_foo CPPUNITTRACE=TRUE then devenv.exe is launched with /DEBUGEXE switch, and it's impossible to add a .natvis file to the debug session (unless one adds the file to path where VS looks for visualizers). A natvis added to PDBs will be used in this case. See https://docs.microsoft.com/en-us/cpp/build/reference/natvis-add-natvis-to-pdb Change-Id: Icc31eb7c4fd063810e4074eaff774e8146b86877 Reviewed-on: https://gerrit.libreoffice.org/44595 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
* Assume thread encoding for ODBC status stringMike Kaganski2017-11-182-4/+3
| | | | | | | | | | | | | | | OTools::ThrowException uses SQLGetDiagRec to get error message. It's not the caller's responsibility to define the encoding of resulting string. Also, using the default setting of RTL_TEXTENCODING_MS_1252 turns returned localized strings into garbage. To allow correct conversion into Unicode string, let's use current thread encoding, and drop the input encoding parameter. Change-Id: Idb02e3ebb4fc407ce5e658fb2137ea2aa3bc127d Reviewed-on: https://gerrit.libreoffice.org/44877 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Replace list by vector in macromigrationdialog (dbaccess)Julien Nabet2017-11-181-23/+19
| | | | | | | | | + use for range loops Change-Id: I676009baa7b7aeb8c26951a8786da22431b0bc81 Reviewed-on: https://gerrit.libreoffice.org/44896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Replace list by vector in framectr (extensions)Julien Nabet2017-11-181-10/+7
| | | | | | | | | + use for range loop Change-Id: I7bd95df8a75979bf342e3a8920fab016593e1b18 Reviewed-on: https://gerrit.libreoffice.org/44891 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Replace lists by vector or deque (cppu)Julien Nabet2017-11-184-59/+30
| | | | | | | | | + use for range loops Change-Id: If0fcba6e06538913031c50ec878b18db3547e06c Reviewed-on: https://gerrit.libreoffice.org/44894 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>