summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2012-10-02XubString->OUStringCaolán McNamara
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28Related: fdo#39626 bootstrap.ini is windows-only, use generic mechanismCaolán McNamara
Change-Id: If3cb8451b8af874b82512f1b731654d918d0a196
2012-09-28convert hard-coded layout of char name tabpage to .uiCaolán McNamara
Change-Id: I20829b6a0835bf96489d67b6f7effcfa84650328
2012-09-28convert hard-coded layout of effects tabpage to .uiCaolán McNamara
Change-Id: I6aa02f112b0b13402db1f0cf721d0db8862432bc
2012-09-28having two SetPosSizePixel is a blasted nuisanceCaolán McNamara
Lets rename the multiargument SetPosSizePixel to setPosSizePixel drop the various using Window::SetPosSizePixel and work towards de-virtualizing SetPosSizePixel/SetPosPixel and SetSizePixel and doing the work in a virtual setPosSizePixel Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-09-27Remove DECLARE_SVTREELIST.Kohei Yoshida
There is only one place that uses it. Change-Id: Ie3a41b36a5273c9b658b6a2f0e5d029bcb148546
2012-09-27Use more STL iterators instead of First(), Next() and last() (sic).Kohei Yoshida
Change-Id: If5f7b749539979e95548b93b840412f18fcb68d7
2012-09-27Correct prefix for integer type.Kohei Yoshida
Change-Id: I57668a3a288b4ffc4f0adf6614cdd7e50d21fdf8
2012-09-27Let's use std::vector directly.Kohei Yoshida
Change-Id: Ie725c554d0ec8b3b505212d47c76b70e6ecdddd5
2012-09-27const correctness.Kohei Yoshida
Change-Id: I7303a31d415d23c50d6b7b8a6b071c260cb00bb0
2012-09-27Hide method definitions of SvTreeEntryList.Kohei Yoshida
Change-Id: Id110a12bc462d4da0b000d7c441da34f861c8892
2012-09-27Improvements on previous commitStephan Bergmann
* Made XDatabaseContext inherit XDatabaseRegistrations non-optionally, adapted call-sites to just use XDatabaseContext w/o querying. (The previous commit had inadvertantly effectively removed support for XDatabaseRegistrations from the ODatabaseContext implementation, as an optional UNO super-interface does not lead to a super-class in the corresponding C++ class hierarchy, but making the super-interface non-optional fixes that anyway.) * Adapted some more call-sites to just use XDatabaseContext w/o querying. * Added @since tag. * Replaced new uses of comphelper::ComponentContext::getUNOContext with comphelper::getComponentContext (see 03a9f139bd9ea1a4f9096fc982e6b326def58532 "ComponentContext::getUnoContext -> getComponentContext simplification;" I intend to get rid of comphelper/componentcontext.hxx much sooner than of comphelper/processfactory.hxx). Change-Id: I68d09f2dbe651629f79ed21cd40cdb6d6b32c624
2012-09-27fdo#46808, Adapt sdb::DatabaseContext UNO service to new styleNoel Grandin
Create a merged XDatabaseContext interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Quite a few IDL files had to be marked as published for this to work. Change-Id: Ie9a0da88d8c33cc83fc9d2334ff83ab2744c222f
2012-09-26TransferableHelper: fix annoying assertion "bad pCharClass"Michael Stahl
The % must be URI encoded, not acceptable. Change-Id: I1274170275d1a1432fb2f933cbd3c6ee8c35d436
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-23be in lexicographic orderTakeshi Abe
Change-Id: I26b15fe1cc5f8f3066f241143d01615a7416eb5b
2012-09-23fix typoTakeshi Abe
Change-Id: I8bb811cfe06d409bebad586c16cf3837551f5a5f
2012-09-23add missing basic keywords to syntax highlighterAndras Timar
Change-Id: I920ad01c0ea338795afeb16e44cd8ec09e5fc5d6
2012-09-21unusedcode: SvtSlideSorterBarOptions::*ListenerLinkMatúš Kukan
Change-Id: I7e396b9ed7f3d64c0b085448fdea562e3d740084
2012-09-20fdo#49350 Speedup entry painting for SvTreeListBoxTomaž Vajngerl
Painting code for entry in SvTreeListBox switches between default and highlight font (which is only the default font with a different colour). This is done using SetFont which assumes that the font changes entry dimensions, which then recalculates everything. This is done for every entry so it is slow if there are a moderate number of entries. Fix here is to call Control::SetFont - we can do this because we know that switching between highlight and default font wont change the font dimensions. On the other hand - this highlighting entries when selected is (at least on linux) already supported by the native widget. Change-Id: I12d32f6f7b43e669442e462ad4dd80cde24b9e74
2012-09-20introduce new option --disable-cve-testsDavid Ostrovsky
Change-Id: I288638c4a70396ccb7354b20e901aa0c46ffe442 Reviewed-on: https://gerrit.libreoffice.org/653 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17fdo#46808, Adapt i18n::LocaleData UNO service to new styleNoel Grandin
The implementation of the LocaleData implements the optional XLocaleData4, so rather than creating a new interface for the new-style service, we simply make the service implement XLocaleData4, which in turn implements XLocaleData3, XLocaleData2, XLocaleData. Change-Id: I3e9a48b031be6b2aa5e04b376b3940b942add85a
2012-09-17XubString->OUStringCaolán McNamara
Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14- fdo#35973 - Remember the state of the sidebar pane in Impress (ToolPanel)Rob Snelders
Change-Id: Ifd45a289a5a7b0cb87100e1ff3854ec72143019c Reviewed-on: https://gerrit.libreoffice.org/526 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2012-09-14fix debug messageLuboš Luňák
It did not compile, and not using the deprecated macro fixes that as a side-effect. Change-Id: I97b8cd2ff1a650ec9d38cbf7eeb8780177a7fd7a
2012-09-14gridfixes: fixed assertionFrank Schoenheit [fs]
Change-Id: I89756b173835d0356fee7fbb166d1998bd0415ac Reviewed-on: https://gerrit.libreoffice.org/533 Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: use long instead of sal_uInt32, to prevent pb on 64bit platformsNorbert Thiebaud
Change-Id: Ib612223a5626d4b525b4e86277c0a5623c0955e8 Reviewed-on: https://gerrit.libreoffice.org/540 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: impl_getColumnForOrdinate:no need to subs m_nRowHeaderWidthPixelNorbert Thiebaud
m_aColumnWidths already contains it Change-Id: I404c58fb0b32db7b7b7bf60be997f81709908ceb Reviewed-on: https://gerrit.libreoffice.org/556 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: impl_ni_calculateColumnWidths: re-calculate the proper valuesNorbert Thiebaud
for distributePixel/takeAwayPixel before finally using it to correct the rounding errors Change-Id: I6f3b178400db0696df0289331be94d69f1d4f0d2 Reviewed-on: https://gerrit.libreoffice.org/555 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: ensure removal of a column in grid control adjusts the cursorNorbert Thiebaud
Change-Id: I99be214bf12d340cc5e9330d1c21046dd366b07a Reviewed-on: https://gerrit.libreoffice.org/554 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: re-enable the mouse listeners which got lostNorbert Thiebaud
in a previous change. Do this by making the TableControl a CompoundControl, so VCL cares for everything which is needed. Consequently, get rid of the manual notification of the respective VCLEVENT_*'s, and everything related to it Change-Id: Id8872680b744e1171be916f6f66a4968e9d6567a Reviewed-on: https://gerrit.libreoffice.org/553 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: lcl_getAlignmentTextDrawFlags: row header w/o columnsNorbert Thiebaud
care the rare cases that the table has row headers, but no columns at all Change-Id: Iece17add6f5e0adf425c33f0817e8b1be953e1a7 Reviewed-on: https://gerrit.libreoffice.org/552 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: impl_ni_relayout: update the child window position/size lastNorbert Thiebaud
it relies on the other calculations (in particular calculation of the column widths) being finished Change-Id: I599aa5b2938e2aa810980c00ac8f598b4f4fcfcb Reviewed-on: https://gerrit.libreoffice.org/551 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: fixed selection handling, part INorbert Thiebaud
RowSelection::HandleMouseDown: always forward to the SelectionEngine, even if the hit row is already selected. This ensures proper de-selection handling in case of Ctrl+Click Change-Id: I46fd63332101fd078c6341c94575dc69f48f8a68 Reviewed-on: https://gerrit.libreoffice.org/549 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14UNFINISHED: column resizing refactoringFrank Schoenheit [fs]
Change-Id: Iac8db5ee848f35f19f8fe4eb431485559600be49
2012-09-14gridfixes: #i117398# allow to specify selection colors in table/gridNorbert Thiebaud
Conflicts: toolkit/inc/toolkit/helper/property.hxx toolkit/source/controls/grid/defaultgriddatamodel.cxx Change-Id: Ie863aa7cecb4c7bda230ab829e6090689518dab8
2012-09-14gridfixes: #i117398# cleaned up the row selection APINorbert Thiebaud
- made explicit that it is about row selection, leaving room for a future selection of columns - some changes for consistency - do not derive XGridControl from XGrid(Row)Selection, those two are orthogonal - published involved UNO types Change-Id: Ie97de42a9ea70a0191657f898ca9d59706e23290 Reviewed-on: https://gerrit.libreoffice.org/542 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: copied #i112562#'s fix from CWS gridcontrol06 hereinNorbert Thiebaud
Change-Id: Ifa29a8b3c027970d46844b428a3529e680c0b09c Reviewed-on: https://gerrit.libreoffice.org/541 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: #i112465# delegate RequestHelp to the base class,Norbert Thiebaud
when we do not have own help to display Change-Id: I953144aa0921e849df14e9de31010e8904dffc5f Reviewed-on: https://gerrit.libreoffice.org/539 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: when the table controls doesn't have the focus use diff. color.Norbert Thiebaud
use a different color to paint the selection, to be consistent with all our other controls Change-Id: Ia5160dfb769279e2a8a3458b16fe8f6cec08145e Reviewed-on: https://gerrit.libreoffice.org/537 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14gridfixes: #i117265# use a NumberFormatter for converting cell values to text.Norbert Thiebaud
This means using the Locale setup in the Options, and allows for more value types (like Date/Time) to be supported Change-Id: I78fb08f2da88405851664e3e1dd4505c3727e56b Reviewed-on: https://gerrit.libreoffice.org/534 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>