summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-04-26Toolbar overflow/context menu: keep ordering and don't discard separator.Andrzej Hunt
Previously the overflow/context menu should have had a separator shown between the overflow items and the hidden items, however these were inadvertently removed by ImplClearPopupMenu which filters the items before the menu is displayed. The previous ordering of items was also the REVERSE of the ordering in the toolbar -- the overflow menu is a logical extension of the toolbar hence items should be in the same order as they were in the toolbar. Change-Id: I8444f4814fea64be1d8f8790445ad6aa01532e70
2014-04-25coverity#735656 Division or modulo by zeroCaolán McNamara
Change-Id: I846f5f10649e2f12bac763c87e88cd55135f3d00
2014-04-25Revert "give empty constructed default font a default height"Caolán McNamara
and make a real copy of the TargetFont the 0,0 font size appears to mean "default" size so it can take the desktop env font size or some such, with a hard-coded value then the various "bold" entries in the UI are huge This reverts commit 121aac37673c1a8142db01e26e50be6de7b36987. Change-Id: Iec1d3867403808370d89d6b5ad2fec60ffdcd881
2014-04-25Fix OutputDevice::PopStephan Bergmann
Change-Id: Iaaf19c01dc4ec10c72a66dac35ac64e37766d08e
2014-04-25VCL: ImpObjStack replaced with std::stackChris Sherlock
ImpObjStack uses it's own home-grown stack and stack functions. There is a function that unwinds the stack, but really it would be better if we used std::set. In fact, this is better, because the name ImpObjStack is really not terribly descriptive. I've replaced it with a stack of OutDevState objects. Change-Id: I87bdd4340ad77b7ffd9ff176fa5a9ffeac8b8666
2014-04-25VCL: Remove unused and deprecated debug check functionChris Sherlock
Change-Id: I3fcf630b8a0ef5be0d98ddc11a746e07885bae53
2014-04-25add better info on the Qt patches needed for KFileDialogLuboš Luňák
Change-Id: I1902f962ac03b171c5e7a45d9c8e59450b04418f
2014-04-25disable KFileDialog usage if QClipboard can recurseLuboš Luňák
Change-Id: If23a365b96c1634c2f8940f6ece973089dc3151f
2014-04-25fix Qt4 QSocketNotifier configure checkLuboš Luňák
When built as a part of the configure check, this doesn't know SAL_OVERRIDE. Change-Id: I1420dd50efdd6666f246884f286a3f29e0b56a2c
2014-04-25make sure KFileDialog does not leave the SolarMutex releasedLuboš Luňák
Change-Id: I806bf5fe1cd1871de499ceeeadf36de539e9d637
2014-04-25Revert "Rewrite Qt4 based nested yield mutex locking."Luboš Luňák
In a dbgutil build LO aborts on an assertion failure the moment KFileDialog is open. It's definitely on okay to release SolarMutex just like that, since the Qt event loop is integrated with LO's, it'll call back to LO code without the mutex held. This reverts commit 13a34f4c6307d1bd2443cbf3fbd83bfdd8cdbafb. Conflicts: vcl/unx/kde4/KDE4FilePicker.cxx vcl/unx/kde4/KDEXLib.cxx Change-Id: Idfa27fbb4728b529c37c25f710ea208fdaa4455c
2014-04-25VCL: Reorganize and rename wallpaper functionsChris Sherlock
Grouped wallpaper functions in outdev.hxx, also changed the function names: + ImplDrawColorWallpaper -> DrawColorWallpaper + ImplDrawBitmapWallpaper -> DrawBitmapWallpaper + ImplDrawWallpaper -> DrawWallpaper Change-Id: I0eb9c21bf2f6a336df22cd27cd1557f2c795f792
2014-04-25Renamed ImplGetDPI(X|Y) to GetDPI(X|Y)Chris Sherlock
Change-Id: If76b99589ddd83431593404c1034b8b726bc3f9b
2014-04-25Remove ImpInitOutDevData and ImplDeInitOutDevData in OutputDeviceChris Sherlock
All these do is some very, very basic initialization. There is no need to lazy load the structure, it should be initialized when OutputDevice is created in the constructor and deinitialized in the destructor. Change-Id: I780caf4d02e9a2a7d094989cf0bba579493ca98d
2014-04-24fdo#77089 if available, use ext. dimensions for non-placable WMFTomaž Vajngerl
Change-Id: Idcfaa127ed6abed40d6eec7f81fbbfb36658cc91
2014-04-24fdo#77089 if font width 0, pass 0 - don't take it from font metricTomaž Vajngerl
Change-Id: I6c73da1d2470e75774affda836a8d587eebfbe4b
2014-04-24fdo#74336 wrongly transformed line width - use 0 for heightTomaž Vajngerl
Change-Id: I3915cfabb9568480d74ea6d4e459def6fe912eb9
2014-04-24wmf: support fat lines for PolyPolygons in wmf filterTomaž Vajngerl
Change-Id: I9fe9d7b5237031e3001f64af7001d91fa53f1c64
2014-04-24wmf: cleanup winmtf.cxxTomaž Vajngerl
Change-Id: Ib69a5d651dfffa4ebe4806a1836d78b09103188e
2014-04-24wmf: cleanup winwmf.cxxTomaž Vajngerl
Change-Id: Iac28bea6f7ae7d83e48945ac34807d9db8f71caf
2014-04-25Change ImplInitClipRegion to InitClipRegion in menu.(c|h)xxChris Sherlock
Change-Id: If9d3d92c4ceb11a3a49cb8d59e9e40bbebf737f5
2014-04-25Rearrange function locations in outdev.hxx and outdev/clipping.cxxChris Sherlock
Change-Id: Idb1faf5632da8ea3fec674f9fb2d042c7ff14fa7
2014-04-25VCL: Rename OutputDevice::ImplSelectClipRegion to SelectClipRegionChris Sherlock
Change-Id: I8c683588d8bdb6dd287e60fc1e249bd5633a4ee2
2014-04-25VCL Change OutputDevice::ImplSetClipRegion to SetDeviceClipRegionChris Sherlock
Change-Id: Ia2db9d640af6bdc35f3e38b5b85355721d5b8331
2014-04-25fdo#74702 Move GetActiveClipRegion code into WindowChris Sherlock
Window checks to see if the window is currently being painted, then it checks to see if there is an active clipping region (which it needs to intersect with). Printer and VirtualDevice don't have this need, so they just return the clipping region. Change-Id: I1a9af237940f5add725c783c02a193c9e3329fa6
2014-04-25VCL: remove comment, rename ImplInitClipRegion to InitClipRegionChris Sherlock
Change-Id: If8d18b59285f75d61d9972ca019390fce700be3c
2014-04-24WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist
Change-Id: I1a7172cb9b2663b84874b3c3f277fb3b3786c7a4
2014-04-25fdo#74702 Move ImplInitClipRegion Window code out of OutputDeviceChris Sherlock
Window instances need to handle overlapped window clipping, VirtualDevice and Printer do not have to worry about this. This code should be kept in the class that handles it, so I'm seperating it out. Change-Id: Ie7df90c983f7a858b563d4f892ceb64d575c0319
2014-04-25VCL: Rename ImplReleaseGraphics to ReleaseGraphics, change to protectedChris Sherlock
Change-Id: Iff4198fdd51db787461b897f2d9d8b7640dbf772
2014-04-24vcl-quartz: fix build of recently introduced DrawTextSpecial for OSX<10.6Douglas Mencken
Change-Id: I277d9e2f385b712001385e115b22f6fbb8106ae5 Reviewed-on: https://gerrit.libreoffice.org/8790 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-04-24Related: #i124686# give empty constructed default font a default heightArmin Le Grand
(cherry picked from commit 4a7c54e07713f02a5658471e4aa9163de53f7460) Change-Id: Iaff17eb95d1ad1e1b9bca4388b03703899d9a0db
2014-04-24VCL: Remove unnecessary headers from outdev/transparent.cxxChris Sherlock
Change-Id: I0b3c6e4a1f75d2cb50ed35595dca65d8bb89996e
2014-04-24VCL: Remove unnecessary headers from outdev/text.cxxChris Sherlock
Change-Id: I0a55fcad484c368634d8eb79d1a0fb440c6f635a
2014-04-24VCL: Remove unnecessary headers from outdev/polyline.cxxChris Sherlock
Change-Id: I2439ad38dc531fb35167f6778312a244bb2fbb01
2014-04-24VCL: Remove unnecessary headers from outdev/pixel.cxxChris Sherlock
Change-Id: Ibc307a74e93cd80c651d17e41a3828c06a58b160
2014-04-24VCL: Cleanup headers in outdev/nativecontrols.cxxChris Sherlock
Change-Id: I3dd371fee066eebe357379d6a3b3f6ebe1901471
2014-04-24VCL: Remove unnecessary headers from outdev/wallpaper.cxxChris Sherlock
Change-Id: I361074519a84c9c1497a4ce91df86842e69fc6b0
2014-04-24VCL: Remove unnecessary headers from outdev/textline.cxxChris Sherlock
Change-Id: I533593d8e5dee52441e97d55a72685def7566320
2014-04-24VCL: Remove unnecessary headers from outdev/polygon.cxxChris Sherlock
Change-Id: Ib8f72898bc9cc40a7a4fc1e509eb2f2e36e3d283
2014-04-24VCL: Remove unnecessary headers from outdev/mask.cxxChris Sherlock
Change-Id: Id759b151bb636aa7c79043854a622a88a544138d
2014-04-24VCL: Remove unnecessary headers from outdev/map.cxxChris Sherlock
Change-Id: Idd1bc7f640fb62265f453b5a201b052bbbc14b77
2014-04-24VCL: Remove unnecessary headers from outdev/font.cxxChris Sherlock
Change-Id: I45c811b9f7c5c10fcefe0e2da809bdc5cc381de1
2014-04-24VCL: Remove unnecessary headers from outdev/curvedshapes.cxxChris Sherlock
Change-Id: Iae98ff3b75dce83a7d05176b6a0bdf93b7e5fb00
2014-04-24VCL: Remove unnecessary headers from outdev/clipping.cxxChris Sherlock
Change-Id: Idee24d0d5ec25082ed1be48bee6051f132e00a97
2014-04-24VCL: Remove unnecessary headers from outdev/bitmap.cxxChris Sherlock
Change-Id: Ib4d5da9bb36e6ad7a02536f169ae7b634bb939db
2014-04-24add missing modelines to cxx and hxx filesThomas Arnhold
some of them have no copyright header Change-Id: I9c2c0c859dabe231cb29af29290847e7b4aa46a3
2014-04-24coverity#984006 Uncaught exceptionCaolán McNamara
Change-Id: I0aae5a1dfab6a5f0439905a03b13f83be84a8746
2014-04-24Fix scoped_ptr -> scoped_arrayStephan Bergmann
Change-Id: I427c49efabbe5cb60b5dc945d9c7f48c504700f0
2014-04-24vcl/text clean-up includesNorbert Thiebaud
Change-Id: Ic984322bb4890196a8ff8e8798ac16292c95dc70
2014-04-24vcl/text remove unnecessary and hardly needed using clauseNorbert Thiebaud
Change-Id: Iaceaa0806b200bb79ea2e033b93512670dd9d58b