summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2016-01-06Related tdf#96833: fix behaviour of 'Remote Files' edit dialog.Giuseppe Castagno1-4/+8
Fixed: - TCP port got lost/reset when editing a server; - in Gtk widget disabled comma; - secure protocol checkbox always unchecked when editing a server. Change-Id: I358fc7375552b29e4840a3616e4e47b95b88ed2c Reviewed-on: https://gerrit.libreoffice.org/21039 Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit d373cb7e15ceca249c33be39583a0515b413e417) Reviewed-on: https://gerrit.libreoffice.org/21143 Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-01-06Related tdf#96833: Allow port with more than 4 charactersJulien Nabet1-2/+2
Change-Id: Ib6676f6f940ce497ac6fe28189e1c3a4ed4ec0bf Reviewed-on: https://gerrit.libreoffice.org/21032 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit 9236a99ad4640cd568abe9040ac37e398c60061f) Signed-off-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-12-23tdf#96637 svtools: fix missing highlight of selected entry in list boxMiklos Vajna1-7/+7
Regression from 87199d3829257420429057336283c55be6ae7481 (vcl: re-introduce idle handling., 2015-11-24), this probably worked previously as the idle repaint triggered SvImpLBox::Paint() multiple (at least two) times, so in the first run it could mark the first entry in the list box as selected/highlighted, and then the second run it could paint accordingly. Now it's called only once, so it's required that selecting the first entry happens before the actual painting. With this, the certificate selection dialog has the default signing certificate pre-selected again. (cherry picked from commit 171ca32e02976022858b9f0affb532a35c495833) Change-Id: I0546bf673f44f4270e36b9bbf02bb723f23d6160 Reviewed-on: https://gerrit.libreoffice.org/20850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-15svtools: print some exception messages with SAL_WARNMichael Stahl1-6/+6
Change-Id: I2d51b6093e13fd5ea2a93c5a4f38e4078587808d (cherry picked from commit 7dfa45a62b3b942823af5ccd59897364788589c8)
2015-12-06tdf#87933 easier visibility of automatic page breaksAybuke Ozdemir1-2/+2
Change-Id: I1d81b740bf67402b7f59b572bbd8a9fbc4a989f2 Reviewed-on: https://gerrit.libreoffice.org/19706 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit 22d4b98da59c9821e72cc1d4f9d94d57b7a12d51) Reviewed-on: https://gerrit.libreoffice.org/20421 Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-11-26vcl: reduce pointless timer / scheduler / idle includes.Michael Meeks1-0/+1
Change-Id: I8bf7f8d6ba1a54f2969e055956fadc52ff6c8673
2015-11-25loplugin:unusedfields in include/sot,include/svl,include/svtoolsNoel Grandin1-11/+11
Change-Id: Ia2dd13c2c48b127ab85311a668fa1f37608d360a
2015-11-23VirtualDevices either match another device depth, or are 1 bitCaolán McNamara1-2/+2
cairo can therefore always render to a svp virtual device with need for a fallback Change-Id: I5d03ae541820389e26f7448444444be009fb28a4
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara1-1/+2
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-23loplugin:unusedfields svtools/Noel Grandin4-11/+6
Change-Id: Ibab9bab1e36dd6bb938c2977d143d40a287bf4ab
2015-11-20loplugin:sallogareasStephan Bergmann1-1/+1
Change-Id: Ib1f06cb5f925535858bc14aab6f59ad7fd2a3a8d
2015-11-19use comphelper::containerToSequenceNoel Grandin1-10/+2
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-18use unique_ptr for pImpl in svtools/Noel Grandin10-16/+4
Change-Id: Ic82db5859464978ca58094e2b6f44e3c9ba30b4c
2015-11-16Move CommandInfoProvider to vcl and use it from thereSamuel Mehrbrodt2-318/+0
Change-Id: If7e3ef81cad8974bc54f359096e3ecc700fa62d6 Reviewed-on: https://gerrit.libreoffice.org/19984 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin5-18/+7
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16tdf#60906 Make color configuration consistentSedat Ak1-8/+8
Change-Id: I7b8291c53c5f482c9287a73ad626bf937a3cfcfb Reviewed-on: https://gerrit.libreoffice.org/19934 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-16Cleanup: Consolidate the different ways to get command labels/tooltipsSamuel Mehrbrodt2-0/+318
Change-Id: Ieab809a3122c9d592894b84ec2e68195a4e02dde
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian1-341/+317
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin5-12/+5
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin2-6/+3
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin3-8/+4
performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin5-12/+6
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-13cppcheck: noExplicitConstructorCaolán McNamara2-4/+4
Change-Id: Ife26f55c28c4631aec4ba4105225bfca72da8bff
2015-11-13svtools: make this condition readableMichael Stahl1-3/+3
Change-Id: I3dfa3f5933010adb4c9277aac441a8c8a7c9c4b6
2015-11-13svtools: remove pointless sal_uLong castMichael Stahl1-2/+2
Change-Id: Icb37c70535fec579effddf39f2e60e4418c9d98e
2015-11-13svtools: rename global variablesMichael Stahl2-28/+28
Change-Id: I3745d31135062778ce5ec618f1d491fb21a540f6
2015-11-12Namespace cleanup and disambiguationAshod Nakashian3-34/+33
Change-Id: Ib6d2f8b4e71436c3a7c26bdfc9847152ebaf0739 Reviewed-on: https://gerrit.libreoffice.org/19900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-12Encourage ValueSet to render a legend as well as an icon.Michael Meeks2-11/+71
Change-Id: I83688a70b864bddb2af0a0a5b34968099c49d112 Reviewed-on: https://gerrit.libreoffice.org/19913 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-12svtools: boost::ptr_vector->std::vectorNoel Grandin2-4/+3
Change-Id: Iee77fa2a6b8bc5d186157430c4bfeb7d29056129
2015-11-12svtools: boost::ptr_vector->std::vectorNoel Grandin1-9/+9
Change-Id: If03ab05ff90585285063705bf56527c6138e22fd
2015-11-115th step to remove tools/rtti.hxxOliver Specht4-12/+1
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-10Missing includesAshod Nakashian1-0/+1
Restored some missing includes and refactored sot/formats.hxx. Change-Id: I11b7102b06889f426f5e0f3efa3a835c6e774d88 Reviewed-on: https://gerrit.libreoffice.org/19891 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2015-11-10This language string should be more consistentAdolfo Jayme Barrientos1-1/+1
Change-Id: I84d3346f7074f7fb413f800386c5ff2f4dbf0a69
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann125-839/+839
Change-Id: I7fc4b4d5c895f241cfb052b009e943e073f3befe
2015-11-09Prevent += called on temporary O[U]String instancesStephan Bergmann1-5/+5
...found regression e31205f3ec1f941ab5a188bfde6329edf2acc55b "EditUndoRemoveChars::GetStr must return a reference" and dubious code 0e23f7b0839df68d277186b4df54ba391ac3406a "Lets assume this doesn't want to update m_pForcedPrefix->GetText() anyway" in addition to the apparent sillies directly fixed in this commit. Introduces HAVE_CXX11_REF_QUALIFIER. Change-Id: I564e98254fd53c1dd9b34193d7057c59721ee24c
2015-11-08Fix property name: ModuleName -> ModuleIdentifierMaxim Monastirsky1-1/+1
8b050d1e91a6623fb2770421e564a74d6259d816 changed this everywhere except here. (This reason is that the commit was imported from Apache, which didn't have this place.) Change-Id: I07a914298ee0d350c744789a5dd39605b01e5311
2015-11-06Add title to image export options dialogYousuf Philips1-0/+1
Change-Id: I79e6722f2cfa8aabe3b3cacefe97d34063965d5d Reviewed-on: https://gerrit.libreoffice.org/19812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann13-61/+61
Change-Id: I3da35c56d042b11cda04a94667923d6089c921a8
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin18-39/+36
Change-Id: I2f8c9cb71a06f7796576509f605796624e654422
2015-11-04yyyyyNoel Grandin5-27/+20
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-10-30com::sun::star->css in svtoolsNoel Grandin91-1397/+1387
Change-Id: I95fd8317ab1142068e0c7b50fc62643fe9f95dc2 Reviewed-on: https://gerrit.libreoffice.org/19683 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin1-2/+2
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30tdf#90987: SlideSorterBarOptions was missing Commit() tooKatarina Behrens1-7/+38
Commit() of related _Impl class actually wasn't called anywhere after 465359c35fcd8c30a2bedd3d0beb07c0c1c36cba removed it from destructor. The config was also never tagged as modified, so fix that too. Change-Id: I8293fee20ec154d5d70a7cda8b015bf723b50c87 Reviewed-on: https://gerrit.libreoffice.org/19558 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-10-30convert Sequence<XInterface> constructions to use initializer listsNoel Grandin1-4/+2
Change-Id: I66475190cc0f18465c56b94af7bc0d5a1ca81242
2015-10-27tdf#60906 make color configuration consistentFeyza Yavuz1-4/+4
Change-Id: I8b9b05ca90f055be77f1b5d8602be9d880f1d14f Reviewed-on: https://gerrit.libreoffice.org/19571 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin1-0/+1
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27don't allocate uno::Reference on the heapNoel Grandin2-9/+8
There is no point, since it's the size of a pointer anyway (found by temporarily making the new operator in uno::Reference deleted). Change-Id: I62a8b957fef9184f65d705600acfdab4116dcb34 Reviewed-on: https://gerrit.libreoffice.org/19603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27loplugin:unusedmethodsNoel Grandin1-45/+0
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26remove extra spaces around ::Noel Grandin1-1/+1
just makes it harder to grep for methods Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
2015-10-21drop unused stuff scheduled to be removed 'before the next major'Caolán McNamara1-9/+1
Change-Id: I2162618d430cf8dc6bb8d20d9a5dd9af543fa934