summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-02-07Am I faster than the clang tinderboxes, or not?Jan Holesovsky
Change-Id: Ie38066e8b3953c07f343bae69b6fec5b0ceb25b4
2014-02-07vclbuilder: Honor the "visible" flag of toolbar items.Jan Holesovsky
Change-Id: Iaf58462cbc700b48f693ca60c0a4242a73b290eb
2014-02-07remove germanism: bEnde -> bEndThomas Arnhold
2014-02-06typo fixes in commentsAndras Timar
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06Typo: formating -> formattingJulien Nabet
Change-Id: If4aba89909a3ef049a756182c37d8a5d6812ae70
2014-02-06-Typo: falback -> fallbackJulien Nabet
Change-Id: Ic6ad17315d0d4566971f006e3a8736e1608eb934
2014-02-06Related: #i123795# add a windowForParent() method for AquaA11yWrapperHerbert Dürr
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)
2014-02-06fdo#72187 Implement KDE4 picker notificationsJan-Marek Glogowski
This notifies the XFilePickerListener of filter changes and file selection changes. Change-Id: I749c5f7420f020a3a2fbb764acb5c45d40972cf1
2014-02-06Simplify control item switch statementsJan-Marek Glogowski
Just check the dynamic_cast result to verify check boxes. Change-Id: I5f370e337e12719eb7ef0dd3512a0f46c76a981e
2014-02-06bSearch has constantly been trueStephan Bergmann
...ever since 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import" Change-Id: I101d3c530c573f1831aacb5478b9e1ecc27e10ea
2014-02-06Blind fix^3Stephan Bergmann
Change-Id: I4124084a6ce47e96936b5cc8695af1981f9f33d4
2014-02-06fdo#54938 Convert oox, sc, vcl, svtools... to cppu::supportsServiceAlexandre Vicenzi
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>
2014-02-06Resolves: rhbz#975421 wrong chart direction in FarsiCaolán McNamara
Where Farsi (and apparenly Moroccon) are RTL but have LTR math and charts should reportedly follow the math direction Change-Id: Ib60eaaaa90fe46ef240030a91169fdff3f736329
2014-02-06Blind fix^2Stephan Bergmann
Change-Id: I8d44908fc849f93bbd076c7c62ad11a68f0dab6f
2014-02-06TabControl::DeactivatePage should return boolStephan Bergmann
Change-Id: I9fb774a235db2b9bc759976d2d3f84363ed944ec
2014-02-06Blind fix for spurious -Werror=clobberedStephan Bergmann
Change-Id: I724713927f181251e8f4a5be7887c49e6dc6edda
2014-02-06Make vcl/source/filter/jpeg/jpegc.c be C++ codeStephan Bergmann
...simplify the corresponding jpeg.h now that it deals in C++, and fold SetJpegPreviewSizeHint into ReadJPEG to avoid global static data. Change-Id: Id3721bdb37be05e3e6bbbaef3b0aa0c0e1a9ff5a
2014-02-06Related: rhbz#1061864 filtername is somehow NULLCaolán McNamara
Change-Id: I11930d8401ada43c7fce570131baf2e8a7067ecb
2014-02-06coverity#736301 the 2nd arg is a gpointerCaolán McNamara
Change-Id: I66e57d570c5ae70e69eea2d44812a72a3b67509e
2014-02-06Introduce com.sun.star.util.thePathSettings singleton.Matúš Kukan
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
2014-02-06fdo#69358: Avoid discontinuity in the gradient of window bar and toolbarTor Lillqvist
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
2014-02-06fdo#39944: improve mapping between ATK and UNO rolesJacobo Aragunde Pérez
* 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
2014-02-06fix debug=2 buildCaolán McNamara
Change-Id: I9643a60cdc932bef6a4d5f409cbb0e333147fccc
2014-02-05Revert "hidpi: Blind fix - avoid double scaling by updating GetItemImage()."Norbert Thiebaud
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
2014-02-05fdo#69358 Introduction of native Mac OSX Toolbar, based on CoreUIJoren De Cuyper
Change-Id: I7774368a9b59e8087573348f6061b6a220fea130
2014-02-05fdo#35105: notify role change through a new UNO a11y eventJacobo Aragunde Pérez
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>
2014-02-05WaE: [loplugin:literaltoboolconversion]Tor Lillqvist
Change-Id: I4025c6a00ed6f9dc3522701bcd85153276626330
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplHasMirroredGraphics()Chris Sherlock
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>
2014-02-05fdo#74424 - added TODOChris Sherlock
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>
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplInitOutDevData()Chris Sherlock
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>
2014-02-05OutputDevice::ImplHasMirroredGraphics can be constCaolán McNamara
Change-Id: I639c4821d9ef4da04ccbed6b93f7e6e3b51ae74d
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplDrawFrameDev()Chris Sherlock
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>
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplGetGraphics()Chris Sherlock
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>
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplLogicToDevicePixel()Chris Sherlock
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>
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplInitFontList()Chris Sherlock
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>
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplSelectClipRegion()Chris Sherlock
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>
2014-02-05fdo#54938 Convert comphelper and vcl to cppu::supportsServiceAlexandre Vicenzi
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>
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplReleaseGraphics()Chris Sherlock
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>
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplIsRecordLayout()Chris Sherlock
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>
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplReMirrored()Chris Sherlock
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>
2014-02-05fdo#74424 Use Window::GetOutDev() to access ImplGetDPI(X|Y)()Chris Sherlock
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>
2014-02-05fdo#74424 Start to decouple Window class from OutputDeviceChris Sherlock
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>
2014-02-05rhbz#1057977 avoid use of invalidated pointersDavid Tardon
Change-Id: Ib81f79da696b5e8002f5a2ddcf160903231dc3f1
2014-02-05Doxygen 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 Change-Id: I1c2eed941619b8764dbfcfc5ab38027518cdf261
2014-02-05Add informative commentTor Lillqvist
Change-Id: Ic8e56294a0f7527feac71516047b82e71ae0d50c
2014-02-05fdo#39944: fallback for DOCUMENT_* roles in ATK < 2.1.0Jacobo Aragunde Pérez
Set fallback to DOCUMENT_FRAME role. Change-Id: Ib83cd2f9881bcdec7b69a7660cf4166a612aaf60
2014-02-05MinorKhaled Hosny
Change-Id: Ic2182ffc76d63b966fc381dadb59af344dda945e
2014-02-05Set HarfBuzz buffer flags for text boundariesKhaled Hosny
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
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-04fdo#70666 fix Graphite ligature replacement at line breaksLászló Németh
Change-Id: I5b7c149f7f419ba18bd2cc59f4e77a0b61280caa