summaryrefslogtreecommitdiff
path: root/vcl/inc
AgeCommit message (Collapse)Author
2014-02-04convert specialised SvStream::operator>> methods to ReadXXX methodsNoel Grandin
as preparation for converting the SvStream::operator>> methods on primitive types Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9 Reviewed-on: https://gerrit.libreoffice.org/7798 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-04Revert "Doxygen warnings corrected"Caolán McNamara
This reverts commit ff8036df5c5575503dc30d255dfbe99cc637c510. multiple build failures with namespace collisions etc Change-Id: Ie8ac08feff518af3584a26957f07a60d95932c76 Reviewed-on: https://gerrit.libreoffice.org/7855 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-04Doxygen warnings correctedChris Sherlock
* Doxygen spits out a lot of warnings about not being able to find match function signatures, etc. This is because in some headers we have a using namespace statement, in others it gets confused between ::Window and Window (!). * Wrong use of tags: + Lots of @seealso - should be @see + Wrong usage of @overload - corrected with the right function signature + HTML tags that doxygen doesn't recognize removed Conflicts: include/vcl/toolbox.hxx Change-Id: I687f45e426280d411ef3cb6d8d5993a829f2f324 Reviewed-on: https://gerrit.libreoffice.org/7725 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-03Remove needless SAL_DLLPRIVATE annotationsStephan Bergmann
Change-Id: I21de72679205c9ba8fd7b7014c4ff81a72587b0a
2014-01-30"stati" considered both pretentious and incorrect LatinMichael Stahl
As one knows, the Latin plural of the noun status is statūs. Change-Id: I6b19c57aa2aedcc1337736becc93d8802fe03f2e
2014-01-30fdo#63154 Removed unused solar.h ref. in vclAlexandre Vicenzi
Change-Id: Ibbc80b09a288494baae4e5ebee4428a6a80a904a Reviewed-on: https://gerrit.libreoffice.org/7738 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-30Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.Matúš Kukan
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-28Introduce com.sun.star.frame.theUICommandDescription singleton.Matúš Kukan
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-26fdo#39468 Translate German comments to English (vcl/inc/window.h)Sven Wehner
Change-Id: I83a0e77f6399cdb4cac19ad14da6ea21b4a66969 Also: minor indentation fixes, and unnecessary comments removed Reviewed-on: https://gerrit.libreoffice.org/7651 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-01-24Fix FTBFS when TDE integration is enabledTimothy Pearson
Change-Id: Ia44e15044879fbbc169f7097a6f5f14346a0cf39 Reviewed-on: https://gerrit.libreoffice.org/7626 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-24coverity#708575 Uninitialized scalar fieldCaolán McNamara
Change-Id: I8bf17ed4d0def478168311b82faffc7eed74fea4
2014-01-24coverity#708212 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ib87858db74f393c1e52a78db822cb8e906cc57e9
2014-01-24coverity#738922 Uninitialized scalar fieldCaolán McNamara
Change-Id: I22ca430d8737834655e6f8c30ecf489a50e00ba1
2014-01-24coverity#738923 Uninitialized scalar fieldCaolán McNamara
Change-Id: I37e6fac75c5919a187c49490814d409d4c44006b
2014-01-24Related: #i123895# adjust VCL support for 64bit OSX portHerbert Dürr
(cherry picked from commit 677d987b931c509c4240840c4f21ccad2b518b12) Conflicts: vcl/aqua/source/a11y/aqua11ywrapperrow.mm vcl/inc/aqua/aquavcltypes.h vcl/inc/quartz/salgdi.h vcl/osx/DropTarget.cxx vcl/osx/salframe.cxx vcl/osx/salinst.cxx vcl/osx/salmenu.cxx vcl/osx/vclnsapp.mm Change-Id: I30d72e7caa1269982d176bc4d3baf604d5e7a84b
2014-01-22bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)Stephan Bergmann
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
2014-01-21bool improvementsStephan Bergmann
Change-Id: I714caa8dc3d34fd56e6a11f57db6723dcb7e6705
2014-01-21Translated German commentsLuc Castermans
Change-Id: I63ca99a57a84a0c066a2abb1e65d8c04ae9cabfc Reviewed-on: https://gerrit.libreoffice.org/7522 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-01-18Window::PreNotify should return boolStephan Bergmann
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-18ImplCallPreNotify should return boolStephan Bergmann
Change-Id: I4b25d70c1009fbc714208452c2a646161189ff24
2014-01-18Remove unused ImplCallEventStephan Bergmann
Change-Id: I18ef9f11adce64be7ce93b077d1703ab505918a6
2014-01-18Use a more descriptive and distinct field nameKhaled Hosny
It is not immediately clear what maRerun is, besides it can be confused with regular maRuns. Change-Id: Idc754a185149a9a4d5e7495b76d8e61f783b42d2
2014-01-17bool improvementsStephan Bergmann
Change-Id: I7ec4f5b2e691ec03e9e2c5ca3a004f1e04efbc27
2014-01-17Window::Notify should return boolStephan Bergmann
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17Move SvpSalGraphics::SetVirDevGraphics() for iOS out of the header for clarityTor Lillqvist
Change-Id: I88c0ed27a492b57a0258a7ec211109a9e2552b99
2014-01-16fix rendering issues in iOS with aquatsahi glik
2014-01-16convert SvStream::operator<< overloads to more explicit methodsNoel Grandin
This is in preparation for more conversion of SvStream::operator<< calls to use more explicit method names. This converts the subclasses that have their own convenience overloads of operator<< to use normal methods. Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
2014-01-15Bin unused codeTor Lillqvist
Change-Id: Ie10881ab3f6e252c87fc3fedcf6a2b7fa0af2c56
2014-01-13longparas: convert ValidateKashidas to sal_Int32Caolán McNamara
we can use -1 as the failure return code as return value is always checked and isolated from the rest of the code. Change-Id: I87a743de82d681a7e4eabc61a576c4e50f1279a8
2014-01-13Keep in sync with desktop_strings[] in salplug.cxxMaxim Monastirsky
Items should have the same order. Only that way KDE4 will get the correct icon theme. (A regression of commit cea7cca5c8db3f273ed2c14efde45ff0e73dee7a) Change-Id: Id8ba6fadd312d5ff782de7011694fc58cdfae312 Reviewed-on: https://gerrit.libreoffice.org/7288 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-13SalDisplay::Dispatch shall apparently return boolStephan Bergmann
Change-Id: I46ab0ef04b598a4154659f9a1e1cbb2164023b63
2014-01-13longparas: xub_StrLen to sal_Int32Caolán McNamara
Change-Id: Ib3eb5f9df112696b326bb30e4deed49d37f30c86
2014-01-13make mnCursorPos a sal_Int32Caolán McNamara
Change-Id: I37743b6c310acc70ceb9d08f502dcd7a96a436e4
2014-01-13Clean up #if GTK_CHECK_VERSION(3,0,0)Stephan Bergmann
Change-Id: Idad6d064a20b0be83aebb8bf72013a65acb2d322
2014-01-12mnDeltaStart is unusedCaolán McNamara
Change-Id: I4f970a150b8ecf6e5631c89ae78ae97134c78d7c
2014-01-10endSpool return value is effectively success flag, not job IDStephan Bergmann
Change-Id: I5b96eeff80ca29f0f8f24ee6da7a2ca76cbb05ce
2014-01-06Resolves: #i123840# add and use the sal_GlyphId typeHerbert Dürr
Using the central definition adds consistency and cleans up many ad hoc declarations. The type sal_GlyphId will become a class in the future so that its bitfield operations etc. can then be isolated into nice methods. (cherry picked from commit c0a84ad10964fb7a65b6239cbe1cef8698b5d17b) Conflicts: vcl/aqua/source/gdi/salatslayout.cxx vcl/aqua/source/gdi/salgdi.cxx vcl/generic/glyphs/gcach_ftyp.cxx vcl/generic/print/genpspgraphics.cxx vcl/generic/print/glyphset.cxx vcl/generic/print/glyphset.hxx vcl/headless/svptext.cxx vcl/inc/generic/genpspgraphics.h vcl/inc/generic/glyphcache.hxx vcl/inc/os2/salgdi.h vcl/inc/quartz/salgdi.h vcl/inc/salgdi.hxx vcl/inc/sallayout.hxx vcl/inc/unx/salgdi.h vcl/inc/vcl/fontmanager.hxx vcl/inc/win/salgdi.h vcl/os2/source/gdi/os2layout.cxx vcl/os2/source/gdi/salgdi3.cxx vcl/source/gdi/pdfwriter_impl.cxx vcl/source/gdi/sallayout.cxx vcl/source/glyphs/gcach_ftyp.hxx vcl/source/glyphs/gcach_layout.cxx vcl/source/glyphs/glyphcache.cxx vcl/source/glyphs/graphite_layout.cxx vcl/unx/generic/fontmanager/fontmanager.cxx vcl/unx/generic/gdi/gcach_xpeer.cxx vcl/unx/generic/gdi/gcach_xpeer.hxx vcl/unx/generic/gdi/salgdi3.cxx vcl/unx/generic/gdi/xrender_peer.hxx vcl/unx/headless/svpgdi.hxx vcl/unx/headless/svppspgraphics.cxx vcl/unx/headless/svppspgraphics.hxx vcl/win/source/gdi/salgdi3.cxx vcl/win/source/gdi/winlayout.cxx Change-Id: Ic629131950360e2df4c15db30d6a5362193c6330
2013-12-31Remove unused variables.Matúš Kukan
Change-Id: I062936c50566ce25a652a50fec1ca948b5616415
2013-12-31Resolves: #i123840# normalize SalGraphics point count argument types...Herbert Dürr
to sal_uInt32 The old mixture of sal_uInt32, ULONG, sal_uLong, sal_uIntPtr gets consolidated. 4e9 points are more than enough for a SalGraphics. (cherry picked from commit 03f5dce97331acc1a5e832f956d711a5dc0aac0e) Conflicts: vcl/aqua/source/gdi/salgdi.cxx vcl/generic/print/genpspgraphics.cxx vcl/inc/os2/salgdi.h vcl/inc/quartz/salgdi.h vcl/inc/salgdi.hxx vcl/os2/source/gdi/salgdi.cxx vcl/os2/source/gdi/salgdi2.cxx vcl/source/gdi/salgdilayout.cxx vcl/unx/generic/gdi/salgdi.cxx vcl/unx/headless/svpgdi.hxx vcl/unx/headless/svppspgraphics.cxx vcl/unx/headless/svppspgraphics.hxx Change-Id: Iddf806256c7e5403158635e3f5f0049e9382500f
2013-12-23convert print progress dialog to .uiCaolán McNamara
use an actual ProgressBar rather than direct drawing into the dialog window Change-Id: I13a17970055980e0e248f60058cd4d5ef91f1d7d
2013-12-19The "fake DPI scale" was always 1Tor Lillqvist
Thanks to kendy for noticing. Change-Id: I6b62d5a0c1dc5df374629a8f7c6e7d2f7cd7ffbd
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-17Related: #i123840# normalize SalFrame resolution type to sal_Int32Herbert Dürr
(cherry picked from commit 8a7cfd2bded9a531a034222c71ba3eda9df7d436) Conflicts: vcl/aqua/source/gdi/salgdi.cxx vcl/aqua/source/gdi/salprn.cxx vcl/aqua/source/window/salframe.cxx vcl/inc/aqua/salframe.h vcl/inc/aqua/salgdi.h vcl/inc/os2/salgdi.h vcl/os2/source/gdi/salgdi.cxx vcl/unx/generic/gdi/salgdi3.cxx Change-Id: I86f2902d765422b4b850619c72119ad4e03452d7
2013-12-14iOS tiled rendering workTor Lillqvist
Possibly quite broken intermediate commit. But anyway, now it is possible to render the tile diretly to a CGContext. Can be seen in the MobileLibreOffice app when build in the Debug_tile_tester configuration. See touch_lo_draw_tile() in viewsh.cxx. Unfortunately the old plain LibreOffice test app is now broken, though, and displays nothing at all. This refactoring and hacking in vcl was done in a quite ugly fashion, with ifdefs etc. But trust me, I did try, several times, for many days, to get where I wanted in an elegant and clean fashion. But doing it cleanly meant not being able to actually build it for days while trying to figure ut which bits go where and which class should be split into what base and derived class(es), and it was too much for my limited brain capacity. I just couldn't juggle all the vcl class structure in my head, especially as I don't have any good understanding of the general design of it all. Change-Id: Ia59d6a9cce15a63e63f94e8d8574bef21993fb1f
2013-12-13graphite2: get visibility right for static linkage on windows.Michael Meeks
Change-Id: I79fa15d539bcb86610dd4def08536c33bd2a10c2
2013-12-13Follow header guard conventionTor Lillqvist
Change-Id: I4cf80fb61fd63b10e241154785ae872c6b75eaf7
2013-12-12Bin a few nonsense commentsTor Lillqvist
Change-Id: I65b83b4eda76501a5d37d853df3644b157f296de
2013-12-11regband.hxx is private to vclTor Lillqvist
Change-Id: If17510b572aa172c8d973f74b881b0d723213eef
2013-12-11octree.hxx is private to vclTor Lillqvist
Change-Id: I3cb377cfa99914fdba00504fb7d955e088bfca76
2013-12-11fontmanager.hxx is private to vclTor Lillqvist
Change-Id: Iec1d1539db0b44d2ddc420cf500585098d4793fc