summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)AuthorFilesLines
2013-12-06More Expert Config Page fixesStephan Bergmann2-80/+131
Change-Id: Iaa2b7df4246ab3fa31737126f27e4a9da3814048 (cherry picked from commit 434465cee3c5e21881d3466f115d968e8fbf731c)
2013-12-06fdo#72125 - Expert config dialog takes too much time to come upNoel Grandin1-48/+29
This is not a full fix, this just trims some of the fat in CuiAboutConfigTabPage::FillItems. Specifically - improve string handling - don't use catch/throw unnecessarily Change-Id: I5b4987407bd007fbbb18f76fcf26f4a33282c0c0 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>: reintroduced lost "/" into path of recursive FillItems calls (cherry picked from commit 7468f9b773d5a9a4cb3af57cf123c2a0e7e937fd)
2013-12-06A bit of constness.Jan Holesovsky2-5/+4
Change-Id: If7681341c7d5d88286f36f943708f99b3c5700e0 (cherry picked from commit 0b5e5783d8b15b0415c9fd5043932882904aece8)
2013-12-05made button labels > ' < and > " < non-translatableEike Rathke1-4/+4
These are the ASCII characters typed in that shall be auto-corrected to typographic quotes defined in locale data. It makes no sense to translate them. Change-Id: Ied9c53950882b6dd3bf65a044c3ecc34bd5becaa (cherry picked from commit 958ec1b6e1b87c541521fd7faf2f72931c170702)
2013-12-04Related: fdo#72258 re-orient dialog verticallyCaolán McNamara3-1/+83
Change-Id: I9f703e2ab5c787641e9cc62f223f39dbd5d02529 (cherry picked from commit cce14c9717e3c21a61bbd4ce620d17fa23feafa2)
2013-12-04Resolves: fdo#72258 options is .ui now, so drop SfxNoLayoutSingleTabDialogCaolán McNamara1-4/+4
Change-Id: Ie1def5b116c4b998e62f840b992633a8c0d4d61a (cherry picked from commit f8d96ebdf71f74c3608e2c6d7cc889a055ed3c2c)
2013-12-02fdo#43494 Allow UI scaling up to 400%Samuel Mehrbrodt1-1/+1
Change-Id: Ibf53276b567b0591f9635f49761784900faae816 Reviewed-on: https://gerrit.libreoffice.org/6891 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 62e2cfa79cef65a82c21f3d2bcca890d85beae95)
2013-11-30mark non-translatable .ui strings explicitely as suchAndras Timar1-1/+1
so bin/ui-translatable.sh will not find false positives Change-Id: I35e98ba22ba8c0cc9bbf0de40b31be421acc4c15
2013-11-25Add missing keyboard shortcut to dialogOlivier Hallot1-3/+3
Add missing keyboard shortcut to dialog swpossizepage.ui Change-Id: Ie1e499af05e2a08432dd7649c0ffbe9ea0a12bf2 Reviewed-on: https://gerrit.libreoffice.org/6795 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit f336d8f8e9e9fdc1cf04c43ab2dbdc74706a3bf5)
2013-11-21.ui typo fixesAndras Timar1-2/+2
Change-Id: Icbd66948404051014fa21669d353e6893c967532
2013-11-20avmedia: Implement "block untrusted referer links" featureStephan Bergmann1-2/+2
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block untrusted referer links' feature" for details. This adds some further /*TODO?*/ comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not blocked during a slideshow presentation. Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-20fdo#67642 Expert Config Page Moved to its own windowEfe Gürkan YALAMAN8-178/+256
Expert Config Page moved SfxTabPage to ModalDialog. It has its own window as requested on this bug. Double click works as edit button now for better usability. Also Default button renamed as Reset button. Change-Id: Ie4732860b9677a313697d5faa72109c8b16b9c2d Reviewed-on: https://gerrit.libreoffice.org/6704 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-20convert delete gradient/color queryboxes to .uiManal Alhassoun7-14/+72
Conflicts: cui/UIConfig_cui.mk Change-Id: Ie45c1c0d549fc879043d7f108f33e67adc4721fd Reviewed-on: https://gerrit.libreoffice.org/6729 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20convert delete bitmap querybox to .uiManal Alhassoun5-7/+36
Change-Id: Ie789954555012f766e48f9605f84e0ca5b2bca6d Reviewed-on: https://gerrit.libreoffice.org/6717 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20convert delete hatch querybox to .uiManal Alhassoun11-7/+42
Change-Id: If550ac8ad58ea7ff05650692d1a506c5088d05e2 Reviewed-on: https://gerrit.libreoffice.org/6708 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin1-1/+1
Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin1-2/+2
Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin2-5/+5
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin3-4/+4
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-18missing resourceCaolán McNamara3-26/+0
this is missing since abad15bc31e99d554a68c6806a3ebb5f592dabbd "small improvement of Insert -> Hyperlink -> Internet dialog". I can only assume that removing the target button was intentional. Change-Id: I71147394bcab348ed1d9e1e19e32b5ebdddc8c0e
2013-11-17missing translatable="yes" attributesAndras Timar1-1/+1
Change-Id: I138c8f245e4bfb2f23dd4cd8a629d8e5e3aac56b
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann1-1/+0
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14SvxBrushItem: Improve Referer from member to GetGraphic[Object] parameterStephan Bergmann3-7/+20
Change-Id: I034132c315b74d0ea5e03b7d5f7cc225a6c8164e
2013-11-14make l10n buildable separatelyBjoern Michaelsen1-1/+4
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-11-14rhbz#887420 Implement "block untrusted referer links" featureStephan Bergmann7-10/+10
For now, this checks for a trusted referer (if the BlockUntrustedRefererLinks configuration prop is set) in utl::MediaDescriptor::impl_openStreamWithURL and SvxBrushItem::GetGraphicObject. Checking in additional places will probably be necessary to block /all/ unwanted communication. Also, some places marked /*TODO?*/ currently pass in an empty referer (which is always considered trusted) and will probably need to be adapted. Ideally, Referer URIs would never be empty (and consistently use something like <private:user> for cases where access is explicitly initiated by the user and should never be blocked), but that's a very daunting task, so start small by identifying the places that potentially need blocking and adding appropriate Referer URIs there. Also, Referer information should always be computed as freshly as possible from the context in which an access attempt is made, but, again, always carrying the information from the context all the way to the relevant functions is a very daunting task, so for now store the information upon object instantiation in some cases (SvxBrushItem, SdrGrafObj, ...). The Referer URI (css.document.MediaDescriptor property; SID_REFERER) was already used to track macro execution, and there is one place in SfxApplication::OpenDocExec_Impl where opening of hyperlinks (explicitly clicked by the user) is done that needs the current document's URI as Referer to check execution of macro URIs but needs an empty (or <private:user>, see above) Referer to not block non-macro URIs. Special code has been added there to handle that. Change-Id: Iafbdc07a9fe925d9ee580d4f5778448f18f2ebd9
2013-11-14Add "block untrusted referer links" switchStephan Bergmann4-1/+38
Change-Id: Id2f2a3dafc3bb7ec6fada6bfda5843348dfac5a1
2013-11-13On Mac OS X LibreOffice cannot use native print dialog at allAndras Timar1-1/+1
Change-Id: I37d36ba175362dedffbbabb561a11033a0454110
2013-11-13fdo#59256 hide this option when experimental features are disabledAndras Timar1-0/+5
GTK print dialog is experimental, the checkbox has no effect, if experimental features are disabled. Change-Id: I664a5520ed8fd0740c381af3d38fc5252c020548
2013-11-11SAL_WARN_UNUSED INetURLObjectStephan Bergmann2-3/+0
Change-Id: Ia9af3b76c2a2ac654b02c1502aa2d0c2c987fbf2
2013-11-11remove unnecessary use of OUString constructorNoel Grandin1-8/+8
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11remove unnecessary use of OUString constructor in CUI moduleNoel Grandin5-16/+16
Change-Id: Ib6cc0f089e9b3cbcfee67c6a780527e148f3c382
2013-11-08fdo#67401 set AntiAliasing for SVG logoAndras Timar1-0/+7
Change-Id: I90aae11aca84c9c5445f58bdf76d65f0213a334c
2013-11-08Make INetURLObject-from-OUString ctor explicitStephan Bergmann1-2/+2
...and clean up call sites. Change-Id: I7219a33652835e82fdc44e9e801a7e62868e4f38
2013-11-07xub_Strlen to sal_Int32Andras Timar3-4/+3
Change-Id: I5cf06c6d9648f8f447b7669edfab8436e6f948ab
2013-11-06convert xub_StrLen to sal_Int32Noel Grandin1-2/+2
convert for loops using xub_StrLen to use sal_Int32 Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin2-6/+5
Convert code like: xub_StrLen nLen = aStr.getLength(); into sal_Int32 nLen = aStr.getLength(); Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
2013-11-05Resolves: i123564 corrected some aspects when working with bitmaps...Armin Le Grand1-11/+22
with low color depth or small size (cherry picked from commit ba54ce4fc788605fc96235f432b455311faee406) Conflicts: cui/source/tabpages/tpbitmap.cxx Change-Id: I10677414ab7d1904dbb29cd395a0c0334e0faa03
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin1-1/+1
Converts code that calls comphelper::string::getTokenCount() to use sal_Int32 to store the return value. Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde
2013-11-05update pchThomas Arnhold1-0/+1
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-11-04cui: remove unused .map fileMatúš Kukan1-25/+0
Change-Id: Ib7a040c48d8f35e8bd68a30e7b5219a7499ec8da
2013-11-04fdo 70998: Termchange: Graphics->ImageSamuel Mehrbrodt2-2/+2
Change-Id: If451dfb24567157c86bca9a4a8564eb8de231a38 Reviewed-on: https://gerrit.libreoffice.org/6524 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin1-21/+21
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin2-3/+3
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin2-5/+4
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-03cppcheck: Clarify expression with parenthesisJulien Nabet1-1/+1
boolean result used in bitwise operation Change-Id: I581b681a6f3ba682c7b743928d1b6f397ecf960c
2013-10-31convert new/move menu to .uiCaolán McNamara7-194/+201
Change-Id: I77e46382cae6da03c3a972c9838afb3f8698c9a3
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin6-25/+21
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-29fdo#70049 Expert Config page cannot save booleanEfe Gürkan YALAMAN1-10/+8
This patch fixes unsaveable booleans. Also fix the problem occurs when there is multiple changes on page. Page was commiting only last added one, now commits all. Change-Id: Id1a15634e95d5ca9d54e7a90fa1bbbaf874e3f08 Reviewed-on: https://gerrit.libreoffice.org/6457 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-28fixincludeguards.sh: cuiThomas Arnhold114-289/+289
Change-Id: I0a9f69b8c2129329f742f18e7749484b6f3e5bf7
2013-10-28Resolves: #i123497# corrected modify implementations for bitmap...Armin Le Grand3-13/+28
lineend and color (cherry picked from commit 03fa6020a862b1b6faf69f33274022cb871e8f4b) Conflicts: cui/source/tabpages/tpbitmap.cxx cui/source/tabpages/tpcolor.cxx cui/source/tabpages/tplneend.cxx Change-Id: Ib99e8f0a59fb611972133bab1e864d59d019457b