summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-11-10add a OpenGLContext::init for unix backendMarkus Mohrhard
That one does not need the indirection through a Window instance to get to the X resources that are necessary for a GLX context. Change-Id: I3195a5f2b447172434881bd9b0b230c8992c1c87
2014-11-10split method in part related to windows and other stuffMarkus Mohrhard
Change-Id: Ie3851bfd558ffeabd374afdc2a4d4833e3866a6e
2014-11-09SfxTabDialog ctors: take an OUStringMiklos Vajna
Change-Id: I91b9b2ffd19b2412ac01dd12429d6460b4c4812c
2014-11-09fdo#82707 Unify click behavior in Statusbar (Writer)Samuel Mehrbrodt
Use single click for primary action, right click for context menu Change-Id: Ia707a88b48f4af144588c45d37acea547e77773e
2014-11-09fdo#85804 Use the new popups in the sidebar tooMaxim Monastirsky
Change-Id: Ib4767eeef1dc6c404bb36068f806c42ccc1086b6
2014-11-09fdo#85804 Introduce bullets and numbering popupsMaxim Monastirsky
Change-Id: I39ea402a3ce3296f55ea127b0139e89954e41252
2014-11-08Unindent.Kohei Yoshida
Change-Id: I98b5a0b91c92e58bae3caa69a4ed35c72dc839dd
2014-11-08xmloff: remove unused parameter of SvxXMLListStyleContext::FillUnoNumRule()Michael Stahl
Change-Id: I359f37ce778d55e6868bd1c78c0ff0d452f36088
2014-11-08sw: store Outline Numbering as ODF fragment instead of SfxPoolItemsMichael Stahl
This should be less fragile and re-uses some xmloff and unocore code. Storing from ~SwBaseNumRules() does not work because other gobals that the export code relies on are already dead at the time it is called from a terminate() listener, so store when the dialog updates a format. Change-Id: I4e148b82d0a338ec7ffa6429c6e162db79f8c44e
2014-11-07coverity#1251176 Uncaught exceptionCaolán McNamara
Change-Id: Ibeedfcb59e3a249c066a9c0f5dd3fcced9beed90
2014-11-07fdo#84938: replace MOUSE_ modifier constants with enumNoel Grandin
and make the two categories of constants non-overlapping, we really don't need to risk confusion in order to save 6 bits in a data structure like this. Change-Id: I2251195d8e45ed04e2a89e47ae9c3e52cf0475c0
2014-11-07Removed #includes including themselvesAndrea Gelmini
Change-Id: I3fe3227967e07b6b0c82dccf3c9400bfe6e1d729 Reviewed-on: https://gerrit.libreoffice.org/12292 Reviewed-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-07Optimize ImplCheckSizeOfSwappedInGraphics() a bitZolnai Tamás
Store used size as a member so we don't need to recalculate it all the time and no need to use a size map. Change-Id: I1f929c5d3a56f545cef123bda087ecaf8ca0be4a
2014-11-07Make SdrGrafObj swapping methods private.Zolnai Tamás
Plus remove some useless call of them. Change the tests accordingly. Change-Id: I47a50b5734d799ac02ee7221c95f82415afb9497
2014-11-07Swapping Graphic is a privilage of GraphicObject.Zolnai Tamás
This means more things: * Graphic won't swap out itself, so those classes which uses Graphic without GraphicObject won't need to deal with swapping. * When a Graphic is queried from GraphicObject the caller won't need to deal with swapping, because GraphicObject swaps it in before return. * GraphicObject will swap in the Graphic always when a swapping dependent data is queried (e.g. whole graphic, transformed graphic or AnimationNotifyHdl) Change-Id: I2bf6e37291ec94146f10aac4a35084682437ed16
2014-11-07More unused swapping related methods / member of SdrPageZolnai Tamás
Change-Id: I4a979dd09418df4526409d9026d6abb98c6bf954
2014-11-07ForceSwap{In,Out}Objects methods are unused nowZolnai Tamás
They are called only by themselves recuirsively, but not from outside. Change-Id: I1cde392c95bbc60ac7937d0bf3cd4b0fd062568b
2014-11-07Remove duplicated swapping methodsZolnai Tamás
Change-Id: I0e61aeb0705ed13872d252ee1594f9ab4aab4f8a
2014-11-07SdrUndoDelObj: one more manual swap out callZolnai Tamás
This thing seems a good optimization to me, but it would be good to hide all of this swapping thing inside GraphicObject class, to make our code more robust (e.g. no image loss because of missing manual swap in / swap out call). Auto swapping mechanism will take care of that, anyway. Change-Id: I933dafd95597ffff038dc6aeb0a64fcaa3941bd8
2014-11-07Remove unused IsInSwap() methodZolnai Tamás
Change-Id: Ib295bd71b5cf16fd75d04818dfd415ff24cb2655
2014-11-07Paint background images always via drawinglayerZolnai Tamás
Painting via GraphicObject is obsolete. See fdo#68927 where the problem was the quality of svg graphics, it seems a good idea to extend this improvement to all graphic type. Change-Id: I57a26d4fcfea8e4f666504a90281365e8a9a7e1d
2014-11-07Avoid an image loss situation of auto swappingZolnai Tamás
Before an image data is used GraphicObject should be swapped in. When a GraphicObject is swapped in auto swapping mechanism is triggered which can swap out some of the images. We should avoid to swap out the same image on which the swap in method was called before because the caller code assumes that the image data is there. Change-Id: Ia4addc370742aea5fbf185cf87e3c062a5ebf5be
2014-11-07Make SetSwapState() an internal methodZolnai Tamás
So we can be sure it is always called when user data changed. Change-Id: If107907afffb85a7a57817f5807847a5c028416c
2014-11-07Avoid using null pointer as a special indicatorZolnai Tamás
When ImpGraphic::ImplSwapOut() is called with null pointer it was assumed that it is becase the graphic is a link and so we don't need to swap out it actually (we can load it anytime using the link), only clear the graphic's internal data. The problem with that it can happen that ImplSwapOut() is called with null pointer accidentally on a non-link graphic object which leads to that we loose the graphic. Seems more robust to use an explicit indicator (GRFMGR_AUTOSWAPSTREAM_LINK) for links swapout. indicator Change-Id: Icf31524a192c7866278ba6a13eb85648aa69f554
2014-11-07wrong place I guessCaolán McNamara
Change-Id: I56d18dec48ccccab637ed3d818f4dd757c6f873b
2014-11-07still need one of the variantsCaolán McNamara
Change-Id: I4639fb32c1dfc115bc33ce071fc3440138605362
2014-11-07callcatcher: number format serialization cleanup falloutCaolán McNamara
Change-Id: Ib5b5f653b027bfe5c05c0db417a2aa713309d9a5
2014-11-06remove include/svl/nfversi.hxxEike Rathke
Change-Id: I8d10c0d2b24ec20795a504b4538b196cf1ce499a
2014-11-06change nNewStandardDefined to bAdditionalBuiltinEike Rathke
and remove SV_NUMBERFORMATTER_VERSION_ADDITIONAL_I18N_FORMATS Change-Id: I63f341e74a1eb7172dbb024a5cef66435a46e1df
2014-11-06eliminate ImpInsertNewStandardFormat()Eike Rathke
Change-Id: I66fd200f1a504af22430e0471e1c98927101a9de
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NEWSTANDARDEike Rathke
Change-Id: I63e8925e54c48cc35e09d9cd993520d6c85622eb
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NF_TIME_HH_MMSS00Eike Rathke
Change-Id: Ia6e9594654f89cadaedc19e7c3bddc1083cf9347
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NF_DATE_WWEike Rathke
Change-Id: Ia0bee4a370e130a7e6fddd7cc984c31aa9a39a5d
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NF_DATETIME_SYS_DDMMYYYY_HHMMSSEike Rathke
Change-Id: I97c0f9154828c1d3ce801482242d951de8eab7e7
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_FIXED_FRACTIONEike Rathke
Change-Id: Ia4779dba9b8068d172d47ce2aff32219634a9616
2014-11-06remove obsolete GetNewStandardDefined()Eike Rathke
Change-Id: I7b68754b1ac2fd3bd1ca8944deeded646a2e74d6
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06If XPersistObject support is dropped, all this unsupported old data can goCaolán McNamara
Change-Id: I7000df307920b1b04b81cc4c436009cf6b6548e0 Reviewed-on: https://gerrit.libreoffice.org/12282 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-07vcl: split asserts in VclBuilder::get() for fdo#85939Chris Sherlock
Change-Id: I41e9961ae797ac99fdfb1480e1a58dbe92178bb8
2014-11-06svl: remove unused codeNoel Grandin
Change-Id: I5a01162d2925eede97f1cdc24aa876179b8b43b4
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-06rename KEY_MODTYPE to KEY_MODIFIERS_MASKNoel Grandin
Change-Id: I7948988e4fd89bf94a98afee15298cd33e2a4d06
2014-11-05idle: implement ProcessAllIdleHandlers.László Németh
It is often useful to flush all pending idle / GUI work for testing and/or profiling - so make that easy to do with this new method. Also tag idle Timers with a boolean, for ease of use. Change-Id: I57e883be8fe8637b3715008e8074d0fa258ca0c3
2014-11-05changed some timer to idleJennifer Liebel
Change-Id: Ifd5e2d87732d3e537c7754e52be24ef768ecb8d9
2014-11-05Basic Idle handler implementationTobias Madl
An idle handler will ultimately be a zero time timeout with prioritisation layered on top of that. Change-Id: I3f0802d5001172fc7b8409274bc5a3632e5dad34
2014-11-05editeng: SvxRTFParser sal_Bool to boolMichael Stahl
Change-Id: I2159f5c45ec6e6df965836705792cf2d71abbc42
2014-11-05WaE: unused variable 'bSuccess'Tor Lillqvist
Change-Id: Ia76ac36d3220883aa72b67dbaaa5c0e0251e3cf3
2014-11-05rtl::OUString::fromUtf8(): use rtl_convertStringToUString()Miklos Vajna
So that we can assert if the input wasn't valid UTF-8. Change-Id: I626a5874b37553b2fe76acfea2ce7d9d9fd38725
2014-11-05Add rtl::OUString::fromUtf8()Miklos Vajna
Note that this should be used only at places legitimately assuming that the OString contains valid UTF-8. Change-Id: I9e8ecef9928975fe0737553f5b2a19ff2dd40861
2014-11-05vcl: renamed OutputDevice::PaintLineGeometryWithEvtlExpand()Chris Sherlock
I asked on the LO dev mailing list what Evtl means and what is being expanded, and Michael Stahl kindly responded: > "Evtl" usually means German "eventuell" which means "possible" or > "optional" (i.e. totally different meaning from English "eventual"). So in other words, it means paint using line geometry and optionally expand. Or in other words, it just draws a line using a B2DPolyPolygon. Thus, I have renamed it to drawLine(), which is a private function of OutputDevice. I think this makes it somewhat clearer :-) Change-Id: I7eec23c61eda9dc1074922f5f2f67eacbc7fd725 Reviewed-on: https://gerrit.libreoffice.org/12264 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>