summaryrefslogtreecommitdiffstats
path: root/vcl
Commit message (Collapse)AuthorAgeFilesLines
* typo fixes in commentsAndras Timar2014-02-064-7/+7
| | | | Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
* Typo: formating -> formattingJulien Nabet2014-02-061-1/+1
| | | | Change-Id: If4aba89909a3ef049a756182c37d8a5d6812ae70
* -Typo: falback -> fallbackJulien Nabet2014-02-061-1/+1
| | | | Change-Id: Ic6ad17315d0d4566971f006e3a8736e1608eb934
* Related: #i123795# add a windowForParent() method for AquaA11yWrapperHerbert Dürr2014-02-064-10/+8
| | | | | | | | | | | | | | | | | for getting the parent window of an A11y enabled NSView. The method viewElementForParent() was abused for that purpose, but it was mis-named and mis-typed. The new method cleans this up and the now unused viewElementForParent() method can be retired. (cherry picked from commit 96cd47d49a3aa5b1e3b96b649f40e516ca568d4b) Conflicts: vcl/osx/a11ywrapper.mm vcl/osx/salframeview.mm Change-Id: Ib88aa1ad442d3b8fb3adbf7a76b3ed8ca268fa87 (cherry picked from commit a7d6569fdecc36bd5ca093442a9b7aec093637d5)
* fdo#72187 Implement KDE4 picker notificationsJan-Marek Glogowski2014-02-062-0/+26
| | | | | | | This notifies the XFilePickerListener of filter changes and file selection changes. Change-Id: I749c5f7420f020a3a2fbb764acb5c45d40972cf1
* Simplify control item switch statementsJan-Marek Glogowski2014-02-061-177/+86
| | | | | | Just check the dynamic_cast result to verify check boxes. Change-Id: I5f370e337e12719eb7ef0dd3512a0f46c76a981e
* bSearch has constantly been trueStephan Bergmann2014-02-061-2/+1
| | | | | | ...ever since 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import" Change-Id: I101d3c530c573f1831aacb5478b9e1ecc27e10ea
* Blind fix^3Stephan Bergmann2014-02-063-8/+6
| | | | Change-Id: I4124084a6ce47e96936b5cc8695af1981f9f33d4
* fdo#54938 Convert oox, sc, vcl, svtools... to cppu::supportsServiceAlexandre Vicenzi2014-02-061-2/+2
| | | | | | | Change-Id: I6268bc57417d53b9810c81071fbcd604e2a19507 Reviewed-on: https://gerrit.libreoffice.org/7886 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
* Resolves: rhbz#975421 wrong chart direction in FarsiCaolán McNamara2014-02-061-30/+46
| | | | | | | Where Farsi (and apparenly Moroccon) are RTL but have LTR math and charts should reportedly follow the math direction Change-Id: Ib60eaaaa90fe46ef240030a91169fdff3f736329
* Blind fix^2Stephan Bergmann2014-02-061-3/+3
| | | | Change-Id: I8d44908fc849f93bbd076c7c62ad11a68f0dab6f
* TabControl::DeactivatePage should return boolStephan Bergmann2014-02-061-5/+2
| | | | Change-Id: I9fb774a235db2b9bc759976d2d3f84363ed944ec
* Blind fix for spurious -Werror=clobberedStephan Bergmann2014-02-061-1/+4
| | | | Change-Id: I724713927f181251e8f4a5be7887c49e6dc6edda
* Make vcl/source/filter/jpeg/jpegc.c be C++ codeStephan Bergmann2014-02-067-151/+111
| | | | | | | ...simplify the corresponding jpeg.h now that it deals in C++, and fold SetJpegPreviewSizeHint into ReadJPEG to avoid global static data. Change-Id: Id3721bdb37be05e3e6bbbaef3b0aa0c0e1a9ff5a
* Related: rhbz#1061864 filtername is somehow NULLCaolán McNamara2014-02-061-2/+5
| | | | Change-Id: I11930d8401ada43c7fce570131baf2e8a7067ecb
* coverity#736301 the 2nd arg is a gpointerCaolán McNamara2014-02-061-1/+1
| | | | Change-Id: I66e57d570c5ae70e69eea2d44812a72a3b67509e
* Introduce com.sun.star.util.thePathSettings singleton.Matúš Kukan2014-02-062-3/+3
| | | | | | | | | | | | To replace single-instance com.sun.star.util.PathSettings service, incorrectly converted in 89b0017b22889af6a8afe28b94c06e7095dc8c6f Keeping util::PathSettings::create in sc/source/ui/vba/vbaapplication.cxx because for some reason util::thePathSettings::get does not work in sc_macros_test while testing sc/qa/extras/testdocuments/Ranges.xls. Change-Id: I75b68ae56ac5b58f72416070dba100ab3ab70fe8
* fdo#69358: Avoid discontinuity in the gradient of window bar and toolbarTor Lillqvist2014-02-061-1/+1
| | | | | | | CUIDraw() is undocumented (as it should be, it is after all a private API), but I was lucky and guessed what was needed. Change-Id: If686667d9b5dfa3a40e57e5e2b4f87be5796c801
* fdo#39944: improve mapping between ATK and UNO rolesJacobo Aragunde Pérez2014-02-061-1/+2
| | | | | | | | | | | | | | * UNO role GROUP_BOX was not mapped to any ATK role, now it's mapped to ATK_ROLE_GROUPING. * UNO role COMMENT was mapped to ATK_ROLE_SCROLL_PANE, we replaced it with ATK_ROLE_COMMENT. We use registerRole method to map these instead of doing a direct association to prevent a failure in case the installed version of ATK doesn't contain these roles. Change-Id: I7e266a7e92d59b282c51934df05b53414588cc7e
* fix debug=2 buildCaolán McNamara2014-02-061-1/+1
| | | | Change-Id: I9643a60cdc932bef6a4d5f409cbb0e333147fccc
* Revert "hidpi: Blind fix - avoid double scaling by updating GetItemImage()."Norbert Thiebaud2014-02-051-39/+16
| | | | | | | | | | | | | | The GetItemImage change causes some controls to draw wrongly and have hit-testing problems. The change is broken because we want them to think the bitmap is big. One day LibreOffice will use large bitmaps. Some places call SetItemImage repeatedly, such as the font color dropdown control and so it needs a sanity check in SetItemImage. This reverts commit 0459682b4186b7522783e33cca3791420559817a. Change-Id: If208543def6467ad7d19e21edf0ab11e9a32f0f4
* fdo#69358 Introduction of native Mac OSX Toolbar, based on CoreUIJoren De Cuyper2014-02-053-5/+39
| | | | Change-Id: I7774368a9b59e8087573348f6061b6a220fea130
* fdo#35105: notify role change through a new UNO a11y eventJacobo Aragunde Pérez2014-02-053-0/+17
| | | | | | | | | | | | | | A new UNO accessibility event called ROLE_CHANGED has been created. It should be triggered when an accessible object changes its role and every accessibility toolkit should use its own methods to make that change effective. Code to support the event in ATK has been added. Change-Id: I132e303bdb148967231334458c3cfa369c36ec8f Reviewed-on: https://gerrit.libreoffice.org/7853 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* WaE: [loplugin:literaltoboolconversion]Tor Lillqvist2014-02-051-1/+1
| | | | Change-Id: I4025c6a00ed6f9dc3522701bcd85153276626330
* fdo#74424 Use Window::GetOutDev() to access ImplHasMirroredGraphics()Chris Sherlock2014-02-055-31/+39
| | | | | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Conflicts: vcl/source/window/window.cxx Change-Id: If429486dee4f7cc1e55ca48ab5d715d0c30578a3 Reviewed-on: https://gerrit.libreoffice.org/7794 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 - added TODOChris Sherlock2014-02-051-0/+2
| | | | | | | | | | The function OutputDevice::ImplInitClipRegion() should be moved into Window, VirtualDevice and Printer. Added a TODO note. Change-Id: Ia9c7a5299e8762ad96788232466b0772c0a2e6bb Reviewed-on: https://gerrit.libreoffice.org/7796 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 Use Window::GetOutDev() to access ImplInitOutDevData()Chris Sherlock2014-02-051-2/+6
| | | | | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Conflicts: vcl/source/window/window.cxx Change-Id: Ia68ba25a9d42ce653c093dbea7087ab8431c8509 Reviewed-on: https://gerrit.libreoffice.org/7795 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* OutputDevice::ImplHasMirroredGraphics can be constCaolán McNamara2014-02-051-1/+1
| | | | Change-Id: I639c4821d9ef4da04ccbed6b93f7e6e3b51ae74d
* fdo#74424 Use Window::GetOutDev() to access ImplDrawFrameDev()Chris Sherlock2014-02-051-9/+14
| | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Change-Id: Ie1381b06b940f9220ee77606f9882aa7a4ea1381 Reviewed-on: https://gerrit.libreoffice.org/7808 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 Use Window::GetOutDev() to access ImplGetGraphics()Chris Sherlock2014-02-052-4/+10
| | | | | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Conflicts: vcl/source/window/window2.cxx Change-Id: I964596bb6457ccb24e69bad15c497dbf97e5880f Reviewed-on: https://gerrit.libreoffice.org/7789 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 Use Window::GetOutDev() to access ImplLogicToDevicePixel()Chris Sherlock2014-02-053-18/+25
| | | | | | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Conflicts: vcl/source/window/window.cxx vcl/source/window/window2.cxx Change-Id: I5e5241ed9eb586bc31ae9411cd7eef460aa707c3 Reviewed-on: https://gerrit.libreoffice.org/7800 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 Use Window::GetOutDev() to access ImplInitFontList()Chris Sherlock2014-02-051-1/+2
| | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Change-Id: I18a2688d85ed23a4773e6527bd4923f7d6c83a28 Reviewed-on: https://gerrit.libreoffice.org/7799 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 Use Window::GetOutDev() to access ImplSelectClipRegion()Chris Sherlock2014-02-052-5/+11
| | | | | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Conflicts: vcl/source/window/window.cxx Change-Id: Idae6dcaa1c774a437887a7cfdbfc882aa4b35325 Reviewed-on: https://gerrit.libreoffice.org/7797 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#54938 Convert comphelper and vcl to cppu::supportsServiceAlexandre Vicenzi2014-02-053-370/+268
| | | | | | | Change-Id: I391a7324bf92208fe632dac17874943343b1f65a Reviewed-on: https://gerrit.libreoffice.org/7757 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
* fdo#74424 Use Window::GetOutDev() to access ImplReleaseGraphics()Chris Sherlock2014-02-051-3/+6
| | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Change-Id: Idde976aacd1bea2871cc72509a59c17af6f560f5 Reviewed-on: https://gerrit.libreoffice.org/7790 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 Use Window::GetOutDev() to access ImplIsRecordLayout()Chris Sherlock2014-02-051-1/+3
| | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Change-Id: Ibbdd8062659ed0de2925a61ce5e63e5a21834ade Reviewed-on: https://gerrit.libreoffice.org/7814 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 Use Window::GetOutDev() to access ImplReMirrored()Chris Sherlock2014-02-056-31/+62
| | | | | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get he Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Conflicts: include/vcl/window.hxx Change-Id: Ie422df837e1596881b61d34a1627b0ecc668a54e Reviewed-on: https://gerrit.libreoffice.org/7793 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 Use Window::GetOutDev() to access ImplGetDPI(X|Y)()Chris Sherlock2014-02-051-2/+3
| | | | | | | | | | | | | | Part of the decoupling of Window from OutputDevice. We now get the Window's OutputDevice instance and manipulate this. Do not rely on the inherited function. Conflicts: include/vcl/window.hxx Change-Id: I93c83578eb92cdf10c7009f98e91ab177879c141 Reviewed-on: https://gerrit.libreoffice.org/7788 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#74424 Start to decouple Window class from OutputDeviceChris Sherlock2014-02-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to start to decouple Window from OutputDevice. This is because a Window should *use* an OutputDevice, a Window is *not* an OutputDevice. In order to start to decouple the two classes, the strategy will be: 1. This patch adds in a new private member pOutputDevice as well as an accessor. When the Window is initialized, pOutputDevice is set to a downcasted instance of this (because we are still inheriting Window from OutputDevice). 2. We will start to go through all the functions in Window that rely on OutputDevice and use the getter function to use the OutputDevice private member. 3. Any subclasses of Window will then need to have the same procedure done on them. 4. Once this is done, we need to work out the best way of initializing mpOutputDevice, then we can remove OutputDevice as the parent class of Window (and all Window subclasses). Change-Id: I39886c77070befb1542c8f22346111cde1c360b1 Reviewed-on: https://gerrit.libreoffice.org/7786 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* rhbz#1057977 avoid use of invalidated pointersDavid Tardon2014-02-051-6/+53
| | | | Change-Id: Ib81f79da696b5e8002f5a2ddcf160903231dc3f1
* Doxygen warnings correctedChris Sherlock2014-02-0512-57/+58
| | | | | | | | | | | | | | | * 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 Change-Id: I1c2eed941619b8764dbfcfc5ab38027518cdf261
* Add informative commentTor Lillqvist2014-02-051-0/+2
| | | | Change-Id: Ic8e56294a0f7527feac71516047b82e71ae0d50c
* fdo#39944: fallback for DOCUMENT_* roles in ATK < 2.1.0Jacobo Aragunde Pérez2014-02-051-0/+5
| | | | | | Set fallback to DOCUMENT_FRAME role. Change-Id: Ib83cd2f9881bcdec7b69a7660cf4166a612aaf60
* MinorKhaled Hosny2014-02-051-7/+2
| | | | Change-Id: Ic2182ffc76d63b966fc381dadb59af344dda945e
* Set HarfBuzz buffer flags for text boundariesKhaled Hosny2014-02-051-0/+7
| | | | | | | | | If the run is the start and/or end of the whole text string being laid out, set corresponding HarfBuzz buffer flags as it will help HarfBuzz e.g. place a stray combining at the beginning of a paragraph on a dotted circle. Change-Id: I05c9fa46b251a2ce4e716da33fb6edda680d2dd1
* convert specialised SvStream::operator>> methods to ReadXXX methodsNoel Grandin2014-02-0430-199/+247
| | | | | | | | | | 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>
* fdo#70666 fix Graphite ligature replacement at line breaksLászló Németh2014-02-041-3/+11
| | | | Change-Id: I5b7c149f7f419ba18bd2cc59f4e77a0b61280caa
* sal_True to true in commentsAndras Timar2014-02-041-69/+69
| | | | Change-Id: I1f99b9377294de94c46943a0768d91cd51380a26
* fix some color mismatch in high contract mode on WindowsAndras Timar2014-02-041-0/+7
| | | | Change-Id: Ifadcddf0c6c0a0e33c80ac47dd64af6b56387d30
* Revert "Doxygen warnings corrected"Caolán McNamara2014-02-0412-58/+57
| | | | | | | | | | | 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>