summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-29Remove redundant C-style castStephan Bergmann
Change-Id: I1785b47bf24f6be55f7ee346c9972ffa12cd138b
2015-03-29vcl: add ScopedInfoAccess to BitmapTomaž Vajngerl
Change-Id: I57292ef47ecec98d2faeff9689702e07050dde1b
2015-03-29vcl: cleanup pngreader, use unique_ptr for pImplTomaž Vajngerl
Change-Id: I36fb35338d8635e4bf1ac7c60e0f09da401406db
2015-03-29Clean up remaining C-style casts among void pointersStephan Bergmann
Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
2015-03-28Revert "tdf#89666: vcl: speed up HbLayoutEngine with cache in SwTxtFormatInfo"Norbert Thiebaud
This reverts commit 1efe5fe38031f7bc23150c35e4c68940621a1d5b. which broke windows.
2015-03-29Bin superfluous whitespace, ASCII art and useless commentsTor Lillqvist
Change-Id: Ic70fe69f407e49604b056cdcb92aa3d656e1aeaf
2015-03-28IsEnableAccessInterface() is not used anywhereTor Lillqvist
Change-Id: If5591adcc15bef2144505f9747d2348568b8e1ae
2015-03-28Fix weird style, whitespace changes onlyTor Lillqvist
Change-Id: Iab7e3704b6094a3a3754400f05b9718853fe6c58
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: Iad602cece6e328c7f5d5f36adb294c97b152ade3
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: Ife048a705e899870a8b1d9987b109d5c0cd80599
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I5f4029fc583952ae6392dbf2d478155982ccecef
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I4ce94a1cbe0567a829de977aaa9fd1cdbff71788
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I717c260ecdc378a9fd33494f2b98eccec0417d66
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I5e370445affbcd32b05588111f74590bf24f39d6
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I92c0a6c602e473b796df43b88c98b823de8d9399
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I834eb4ecd0fa71caf6fa746901367fac8b538305
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I6c7c31befd61cbf0800a62c08e7395ddf78e4b30
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: Icdb619101a992a740c71545e669e138cb5dc63a6
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I6dd7c7fbaf0d4b22abba0a7b1f5e37f0a46d0747
2015-03-28tdf#89666: vcl: speed up HbLayoutEngine with cache in SwTxtFormatInfoMichael Stahl
When a SwTxtFormatInfo is created to format a paragraph, pre-compute the result of vcl::ScriptRun::next() and cache it for future calls to OutputDevice::GetTextBreak() and GetTextWidth(). This requires adapting a bunch of methods to pass the additional parameter, and some classes to backup and restore the cache when they replace the text of the SwTxtFormatInfo. There is some code in vcl OutputDevice::ImplPrepareLayoutArgs() to modify the passed string and replace digits depending on "meTextLanguage" member; try to set it to the correct value when creating the layout cache (unfortunately it's not possible if the user sets the CTL Numerals config to the non-default "Context" value). Another issue is the check in OutputDevice::ImplLayout() if there is a mpConversion member on the font; apparently this is used to translate between different Symbol fonts, so not very important; just ignore the cache in this case. This reduces vcl::ScriptRun::next() from 11 to 0.36 billion callgrind cycles when built with GCC 4.9.2 -m32 -Os (which is still 16% of the formatting). Change-Id: I61fb8530333f2e7a9199f767c00cf2181ba49951 Reviewed-on: https://gerrit.libreoffice.org/14732 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-27loplugin:staticfunctionNoel Grandin
Change-Id: I10c30ef28e7321882a720d1e7869a75a89febfc5
2015-03-27loplugin:staticfunctionNoel Grandin
Change-Id: I982ba552579019e4902ae59fddf14a6b34ba5954
2015-03-27new clang plugin: staticmethodsNoel Grandin
Genius suggestion from Tor Lillqvist, write a clang plugin that finds methods that can be static. Change-Id: Ie6684cc95d088e8750b300a028b49f763da00345
2015-03-27fix macro and enum name collision using CamelCaseNoel Grandin
so that the enum names remain consistent Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
2015-03-27work around Windows and OSX macro collisions with enum valuesNoel Grandin
Change-Id: I3d14b96b6b51e497bde33f0177b377e7fe3dbad9
2015-03-27convert GETATTRIBS_ constants to enum classNoel Grandin
Change-Id: I236caa9e2dc80455198b442e72e8d9df58f03adc
2015-03-27convert CUTFLAG_ constants to enum classNoel Grandin
Change-Id: I98dc5488954a4d46f7e0158790a4c3dabebfc1b3
2015-03-27convert AVMEDIA_ constants to enum classNoel Grandin
Change-Id: Ic4918f57a1575a24cf0b9251cc7e7c6180ee25fd
2015-03-27convert SymbolAlign to enum classNoel Grandin
Change-Id: Iecc1400809212f56915cad56b739378cda49b90f
2015-03-27convert BUTTON_ constants to enum classNoel Grandin
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
2015-03-27convert ProminentEntry to enum classNoel Grandin
Change-Id: I51578e83a6a44beece174792c9e3e59f7f8c5fef
2015-03-27vcl: stack blur implementation + basic test & performance testTomaž Vajngerl
Change-Id: I793ed80a07d9488c5f75b3abdca6db344d80d3d8
2015-03-27vcl: use unique_ptr for fillcolor, linecolor in bmpaccTomaž Vajngerl
Change-Id: I09d00c4492d2866aeb79d1a4818a55f9cdfdc4f0
2015-03-27vcl: get rid of macros for lazy people in bmpaccTomaž Vajngerl
Change-Id: I4b64a70e185f061c7d7e1e895d85ffb47ee60101
2015-03-27cleanup pngwrite, use const std::unique_ptr for pImplTomaž Vajngerl
Change-Id: I7c9941731789be3553d473d64716484bfceaf8b4
2015-03-26remove the gap now to pretend it was never thereCaolán McNamara
Change-Id: I234defd865e6bf5d9d9eccc85cde7e69c0549c3f
2015-03-26why would we ever want FLOATWIN_POPUPMODE_PATHMOUSECANCELCLICKCaolán McNamara
if we're from the menubar we never set it, but if we are a submenu from a menu in the menubar we set it. with it set, and on right click, the right click is passed through to what ever is underneath the pointer I don't see why we want to do that, especially the inconsistency from e.g. the File menu, vs the "File->New" menu Change-Id: I548f5c95e2511b5e921e8b74600f65eecdd8f498
2015-03-26tdf#81073 :Addition of text zoom levels to print preview zoomRishabh Kumar
SvxZoomItem includes text zoom level Ids unlike SfxUInt16Iem which only includes zoom percent id.SfxUInt16Item is the base class for SvxZoomItem. Change-Id: I8ad2a8cf48632853538aa2d99993f8dfccf49f4c Reviewed-on: https://gerrit.libreoffice.org/14488 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-26add GtkLongPressGesture support and implement long-press in slideshowCaolán McNamara
so a long press shows the context menu to e.g. allow switching on/off draw-on-slide mode Change-Id: Icd6ea52d2172217794f4fc802246ccf13020e134
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I17c57a85bcda98ef36ddefd6562d4681d0c7d5fc
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Ic90647cc4da716b54b00520b683cee027a664c22
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Iabe2ecce65a91b003fe042a22630131449968fd8
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Idbae574e5d51d497fea7eadb6d80dec8f97d499a
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I8682fee997d8dac254ca431f96172c9aa58c8c06
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: If774a3b4e2e993d26dd9b5777a55665a330b2abe
2015-03-26add GtkSwipeGesture support and implement swipe left/right to change slidesCaolán McNamara
keep it simple for now. deliver to the same target window that gets the MouseWheel events, maybe worth combining MouseWheel and Gestures into the same thing and use it in slideshows so swipe toward the left to advance to the next slide, to the right to return to the previous slide. swipes are followed by mouse up events, impress already has a similar hack to hide an mouse-up from the (incredibly complicated) interaction with the slideshow so simply use that Change-Id: Ib34f6fa0f15f3aa34eef887eb9d5642de9e5cdd1
2015-03-26the valid flags in SvxBulletItem are unusedNoel Grandin
Change-Id: Ifd06179e42edc916002e8b0feaabd888852f1aa6
2015-03-26bullet justification in SvxBulletItem is unusedNoel Grandin
Change-Id: Ib303c89f84a95eed96cfccfc947c2b4d6919ab95
2015-03-26convert BS_ constants to SvxBulletStyle enum classNoel Grandin
Change-Id: I8d68394c29b7602b21f8d972552aa7226778d3ff