summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2013-05-21UI Controller Factory fixesAriel Constenla-Haile1-1/+1
- "ModuleName" --> "ModuleIdentifier": the IDL definition for css::frame::PopupMenuControllerFactory and css::frame::StatusbarControllerFactory tells to use a property named "ModuleIdentifier", but in the code it is named "ModuleName" - Undocumented css::frame::ToolbarControllerFactory - Fix service name of ToolbarControllerFactory (ToolbarControllerFactory instead of ToolBarControllerFactory) - Convert the three service factories to new style, and use these new-style services in the source code - Implement multiple inheritance: added new css::frame::XUIControllerFactory - Added a (true) base class and implemented the three factories in a single file (cherry picked from commit acc7fed28f54f836b0923180431a0c180f91e98c) Conflicts: framework/inc/pch/precompiled_framework.hxx framework/inc/uielement/toolbarmanager.hxx framework/inc/uifactory/popupmenucontrollerfactory.hxx framework/inc/uifactory/statusbarcontrollerfactory.hxx framework/inc/uifactory/uicontrollerfactory.hxx framework/source/uielement/addonstoolbarmanager.cxx framework/source/uielement/menubarmanager.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/statusbarmanager.cxx framework/source/uielement/toolbarmanager.cxx framework/source/uifactory/popupmenucontrollerfactory.cxx framework/source/uifactory/statusbarcontrollerfactory.cxx framework/source/uifactory/uicontrollerfactory.cxx framework/source/unotypes/fwk.xml offapi/com/sun/star/frame/PopupMenuControllerFactory.idl offapi/com/sun/star/frame/StatusbarControllerFactory.idl offapi/com/sun/star/frame/makefile.mk svtools/source/uno/toolboxcontroller.cxx Change-Id: Ia8580539badf650a84bc6e57a6b832071e011f0a
2013-05-21Related: #i121442# Adapt existing code in other modulesAriel Constenla-Haile1-37/+36
(cherry picked from commit 6c640ee420df6f7c9f3ab981e49ee304f1d2319e) Conflicts: reportdesign/source/ui/misc/statusbarcontroller.cxx sfx2/inc/sfx2/stbitem.hxx svtools/inc/svtools/statusbarcontroller.hxx svtools/source/uno/statusbarcontroller.cxx Change-Id: If03a201214a4afe09efa4e3e996aded9b6a57bdf
2013-05-20vcl: all EnableAutoSize methods take a bool.Michael Meeks1-2/+2
Change-Id: I6f974d6b82f6bb77996d20219b5c0ceb78596c5c
2013-05-20add experimental option for sidebar to 'Advanced' pane.Michael Meeks1-2/+34
2013-05-20Related: #ii122198# added ColorValueSetColumnCount entry to configurationArmin Le Grand1-0/+59
default is 12 (cherry picked from commit dc9abefa2d01377b14bef15463e360d9a7e9bdc2) Conflicts: officecfg/registry/schema/org/openoffice/Office/Common.xcs svtools/inc/svtools/accessibilityoptions.hxx svtools/source/inc/configitems/accessibilityoptions_const.hxx Change-Id: Ic035b34bbcde426fa8fb76df16f84786908e18fa
2013-05-20Related: #i122041# More unifications for FillStylesArmin Le Grand3-147/+114
better defaults and better preview visualizations (cherry picked from commit 35c9acfc98fc98399005815e0464b1944f327d4e) Conflicts: officecfg/registry/schema/org/openoffice/Office/Common.xcs svtools/inc/svtools/accessibilityoptions.hxx svtools/inc/svtools/valueset.hxx svtools/source/config/accessibilityoptions.cxx svtools/source/control/ctrlbox.cxx svtools/source/control/valueset.cxx svtools/source/inc/configitems/accessibilityoptions_const.hxx svx/inc/svx/dlgctrl.hxx svx/inc/svx/xtable.hxx svx/source/dialog/dlgctrl.cxx svx/source/tbxctrls/SvxColorValueSet.cxx svx/source/xoutdev/xtabdash.cxx svx/source/xoutdev/xtable.cxx vcl/inc/ilstbox.hxx vcl/inc/vcl/combobox.hxx vcl/inc/vcl/lstbox.hxx vcl/inc/vcl/settings.hxx vcl/source/app/settings.cxx vcl/source/control/combobox.cxx vcl/source/control/ilstbox.cxx vcl/source/control/lstbox.cxx Change-Id: I905b6814cb796a35aa23fedb9ce716f77e2bfda0
2013-05-20Resolves: #i122041# Unified and centralized control for Color ValueSetsArmin Le Grand2-2/+220
(cherry picked from commit 68e707bbc6fe23881b822e6efab8a2933343dc1a) Conflicts: cui/source/inc/backgrnd.hxx cui/source/inc/cuitabarea.hxx cui/source/tabpages/backgrnd.cxx cui/source/tabpages/tpcolor.cxx sd/source/ui/view/drviews6.cxx svx/Package_inc.mk svx/inc/svx/colrctrl.hxx svx/source/sidebar/tools/ColorControl.cxx svx/source/tbxctrls/colorwindow.hxx svx/source/tbxctrls/colrctrl.cxx svx/source/tbxctrls/tbcontrl.cxx Change-Id: Ie06fe355846b737ec8aae9aade4d408232c83193 Related: #i122041# Add a11y values for defining behaviour of ColorValueSets (cherry picked from commit 401e8f2db607081e62eaaa1f08a8cd8971a3f637) Conflicts: cui/source/tabpages/backgrnd.cxx officecfg/registry/schema/org/openoffice/Office/Common.xcs sc/source/ui/miscdlgs/tabbgcolordlg.cxx svtools/inc/svtools/accessibilityoptions.hxx svtools/source/inc/configitems/accessibilityoptions_const.hxx vcl/inc/vcl/bitmap.hxx vcl/source/gdi/bitmap4.cxx Change-Id: If9d0db5f22974cad1ac886eca3719ca92ca7f240
2013-05-16resolved fdo#56772 keep track of HTML ON/OFF tokensEike Rathke1-4/+18
Regression introduced with 11cbcb8b08b540b144a5df744e9fba0b6ba8144a followed by 56d6589368c2e88cffec0c2e518f7c90863eeae6 Deep from svtools/source/svhtml/parhtml.cxx HTMLParser::_GetNextToken() only a HTML_TABLEDATA_OFF was generated for <td .../> without a matching HTML_TABLEDATA_ON (actually same for all <XXX/> ON/OFF tokens). This confuses a state machine that doesn't keep track of such unexpected closures and also expects all attributes of an element at an ON token. Only the parser knows this is actually one token but needs to generate separate ON/OFF tokens. These bugs mentioned in the original code and commits are still fixed with this change: https://bugs.freedesktop.org/show_bug.cgi?id=34666 https://bugs.freedesktop.org/show_bug.cgi?id=36080 https://bugs.freedesktop.org/show_bug.cgi?id=36390 Change-Id: I2b3190d297a35ee3dfda95f9a4841f7c53ed4a92
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist1-1/+1
2013-05-15svtools FormattedField: don't reparse value from text after ReFormatLionel Elie Mamane1-7/+19
If our format is lossy / not a bijection (as is e.g. our default date format, because of 2-digit year), then reparsing the string that came from the format leads to data loss (the value is changed to something else). The existing code tried to do that, by calling Modify() and then setting m_bValueDirty to false. However, this fails because listeners are called while m_bValueDirty is true. If any of them calls e.g. GetValue(), the reparse happens. Change-Id: I272f377927f83c71ede1eb80eafbc689f36fb17a
2013-05-14Remove obsolete RestrictedPath env var supportStephan Bergmann7-53/+5
Change-Id: Ia4ea7d60d7b69c863c1e891887060265e73e1cb6
2013-05-13added Udmurt [udm-RU] to language listAndras Timar1-0/+1
Change-Id: Ief2413fda7ecbf4cc73bc0d2bf483f9a6c16cca8
2013-05-11added N'ko [nqo-GN] to language list, fdo#64331Eike Rathke1-0/+1
RTL and CTL Change-Id: Ifdce9e3e08a715dcf493c4103479c5fd64a42d74
2013-05-09make conversions between BitmapColor and sal_uInt8 explicitHerbert Dürr2-17/+15
Implicit conversions are a dangerous cause of confusion as seen in http://markmail.org/thread/a4copx2di7cxeowg and require tricky rewrites to work around them, this change cleans them up and disables them. (cherry picked from commit 2d9d5c8d6beb7fb0a7dafa0c1c4d10a25d7200fd) Conflicts: filter/source/graphicfilter/egif/egif.cxx filter/source/graphicfilter/epbm/epbm.cxx filter/source/graphicfilter/epgm/epgm.cxx filter/source/graphicfilter/ipbm/ipbm.cxx filter/source/graphicfilter/ipsd/ipsd.cxx sd/source/ui/slidesorter/view/SlsButtonBar.cxx svtools/source/filter/igif/gifread.cxx svtools/source/filter/jpeg/jpeg.cxx svtools/source/filter/wmf/winwmf.cxx svtools/source/graphic/grfmgr2.cxx vcl/inc/vcl/bmpacc.hxx vcl/inc/vcl/salbtype.hxx vcl/source/gdi/bitmap.cxx vcl/source/gdi/bitmap3.cxx vcl/source/gdi/outdev2.cxx Change-Id: I1d163c66782c2750aeee00725dbb2b614507c0d4 (cherry picked from commit ff80c37b18b941712fb967a0c1d48813b47c0583)
2013-05-09fdo#63154: Remove _CL and _LF from solar.hMarcos Paulo de Souza1-2/+2
And use RTL_CHAR_{CR,LF} from rtl/string.h Conflicts: vcl/source/app/dbggui.cxx Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a Reviewed-on: https://gerrit.libreoffice.org/3740 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-08cppcheck: variables reassigned before using old valueJulien Nabet1-4/+2
Change-Id: I5108253859eac682ab423843f8812c8c8c6ce9fa
2013-05-07officecfg: remove Package_cppheaderMichael Stahl1-0/+4
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák4-18/+18
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-02Resolves: #i117461# set row count to 0 and add further checkJürgen Schmidt1-0/+8
Patch By: Tsutomu Uchino Review By: jsc (cherry picked from commit d56225de586f878acd2f953bcf3208fe9a3c79a3) Change-Id: I91ea7add253a5c40272ee112d207fcf510cd3935
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-42/+8
2013-04-27some eco-activismThomas Arnhold6-11/+1
Change-Id: Ib447cd8633c3102ee78c919cfbeabcc88018b130
2013-04-27Bin ugly (ab)use of preprocessor in headersTor Lillqvist9-20/+0
The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-26EmbeddedObjectRef: guard against div by zeroMiklos Vajna1-1/+1
With this, if dc92bac5df72ecca123472a5e945b1864a17f457 fails, it won't crash, just the assertion will fail. Change-Id: I9830094088819cade7cf47d1f25d34bb6eb52ae6
2013-04-25fix scrolling performance of listboxes with hundreds of entriesCaolán McNamara1-6/+24
make it approximately infinitely faster a) add a method AdjustEntryHeightAndRecalc that just does AdjustEntryHeight and RecalcViewData and replace all the places that do the two of those together with that utility b) in our SetFont now only call AdjustEntryHeightAndRecalc if the new font is different to the old font, ignoring color which doesn't have a bearing on row size. c) where we originally called SetFont(GetFont()), which would have triggered AdjustEntryHeightAndRecalc, now call the new AdjustEntryHeightAndRecalc explicitly. The performance problem apparently a regression from ac7acb0ab1329913b0cec79790adcde0263960be where we seem to now end up drawing on ourself and calling SetFont on ourself rather than on a pImpl without an overridden SetFont. So when we redraw on scrolling we triggered a cascade of calculations and force text layout of every row. Change-Id: I3c284c360f06ac383e8c38045fc4c2946f505b35
2013-04-25PCH quickfixStephan Bergmann1-0/+4
Change-Id: I457288d881ba74db2127e8543b0de70b6498002d
2013-04-25fdo#62088: Fix regression introduced by the DateTime incompatible change.Jan Holesovsky1-2/+8
It is not good to mess with the stream operators, more so when the size of the data changes ;-) Change-Id: Id02b83224496a28575f4e12196892de198793983
2013-04-25update pchThomas Arnhold1-1/+7
Change-Id: I67e73438312f2a672e71762ee6707ec5d425bb47
2013-04-24add border width to optimal size when presentCaolán McNamara1-0/+6
Change-Id: I37c396c3c61521e140d290fd8f17220f60c43284
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist1-1/+0
Change-Id: If783897a60a545baf3968c5eeccf80a1e186bc51
2013-04-24gbuild: drop empty use_packages callsDavid Tardon1-3/+0
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon2-7/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen156-27205/+1
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-22restore a FontSizeBox::GetValue variantCaolán McNamara2-0/+22
correctly removed by 994a737a317165db736f2a2f6a25b3439207da5d but we will need it again soon Change-Id: Ifedf8da2a33e834a5cba6da11c63c784572bd58d
2013-04-22restore FontNameBox from ResId ctorCaolán McNamara2-0/+11
removed by ecda52f6b3919950870f3ddb195d34d3baf71168 but we'll need it again soon Change-Id: I3a038c162beba7147ac7abc8bb4085b41140bf5c
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks8-166/+39
2013-04-20Remove pass-through header file sot/inc/sot/clsids.hxxMichael Dunphy4-4/+4
Change-Id: I122669d4ffaf72fb1d5f6fccc98e8a648f31aa23 Reviewed-on: https://gerrit.libreoffice.org/3490 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza13-31/+31
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19Remove pass-through header svtools/inc/svtools/txtcmp.hxxMichael Dunphy2-27/+0
Change-Id: I605ae778e57a12588dca274a4ee34a018004034e Remove pass-through header sfx2/inc/sfx2/imgdef.hxx Change-Id: I9a5ebabefccdd63b55d64aec26488542d0d362e3 Remove pass-through header xmloff/inc/xmloff/xmlcnitm.hxx Change-Id: If880679499daee2f77d1f6e148dba963d09bbb9c Reviewed-on: https://gerrit.libreoffice.org/3477 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane5-9/+9
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18allow tree and tab boxes to have borders via .uiCaolán McNamara2-3/+18
Change-Id: I988f307d2ce88ac5f7e1ee7d7c5cffd352c963e0
2013-04-17fdo#62096 - replace some O(U)String compareTo with ==Artur Dryomov2-2/+2
Change-Id: I98d04d7da4c2b7ea0b769df9c2bfa8c1ad86bf2d Reviewed-on: https://gerrit.libreoffice.org/3422 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-17Update pchAurimas Fišeras1-10/+1
Change-Id: Ice80350184f7a514d5beab0a5e1da5b98d5733e4 Reviewed-on: https://gerrit.libreoffice.org/3427 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-17-Werror=unused-macros (MinGW, svtools)Stephan Bergmann1-0/+2
Change-Id: I843a14b093c2cc21364dd3e3f1c6b5b5566999b0
2013-04-16UniString->OUStringCaolán McNamara1-24/+24
Change-Id: I217944d40ed7cd3a2fca4ad0d61729ff5d94ed96
2013-04-16Resolves: fdo#47209 and rhbz#927223 syntax highlighter crashCaolán McNamara1-0/+4
when trying to parse empty lines looking for the matching bracket Change-Id: I3961a3d0e804d136de286e21934c6ba5ab0496cf
2013-04-15make SvtURLBox ui buildableCaolán McNamara2-14/+25
Change-Id: I13a917c84678d4dc5a0e6dae80a1a494909ca1d3
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold3-5/+5
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15fdo#60724 correct spellingThomas Arnhold2-2/+2
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 informations -> informationThomas Arnhold5-5/+5
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-13Secure EmbeddedObjectRef::GetGraphic to react when something goes wrongArmin Le Grand1-5/+12
when trying to get the replacement graphic, better fallback to default ole replacement graphic (cherry picked from commit 9dc64b4255ed0f2eda0df3a3bbf59fa47202788c) Conflicts: svtools/source/misc/embedhlp.cxx Change-Id: I31db9bf954cfca8f9c10163b03346c2b796ee0c8