summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-02-25loplugin:literaltoboolconversionStephan Bergmann
Change-Id: I74bd9af6936f00fb26273606f7924f99ee7767d3
2014-02-25Update little-to-big endian GetSwapFloat functionsDouglas Mencken
rSt >> pPtr[3] >> pPtr[2] >> pPtr[1] >> pPtr[0] results in error: no match for 'operator>>' in 'rSt >> *(pPtr + 3u)' Change-Id: I1820bac8c72f7633ab01a17bf5d073b988e1b58c Reviewed-on: https://gerrit.libreoffice.org/8207 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-25remove unused code Menu::GetItemAccKeyStrFromPos(unsigned short)Noel Grandin
Change-Id: Ia6967bd5ae412b473187d8bf5485e56fdc934efb
2014-02-25remove unused code Menu::IsTemporaryItemFromPos(unsigned short)Noel Grandin
Change-Id: I90a9116aba75316992d2bddaf2f6466288b95bd0
2014-02-25callcatcher: update unused codeCaolán McNamara
Change-Id: Ia8e6abffb85b92ee4538fb0aeaee4e4aa18f2772
2014-02-25Add config_libraries.h definitions to get library names easily.Matúš Kukan
Works for libmerged too, so we can get rid of LIBO_MERGELIBS. And remove few more #defines in vcl. It's generated by gbuild, so probably abusing config_host directory. Open to improvements. Change-Id: I87ab109bf109e42751766011daf076e9cdf8f5ee
2014-02-25Mac vcl: sal_Bool -> bool sequelStephan Bergmann
Change-Id: Ie180b99a1a2d71922009c85c16ccb33b7968bd03
2014-02-25vcl/osx/sal: SDK 10.5 compatibilityDouglas Mencken
NSWindowDelegate and NSMenuDelegate protocols, IOPMAssertion* are available only in OS X v10.6 and later. Change-Id: Icda4b8014d9a6dde2284b9f5df493eb470fb79fc Reviewed-on: https://gerrit.libreoffice.org/8211 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-24Resolves: #i119006# delay Mac initial event until the app has launchedHerbert Dürr
delaying the initial event prevents complaints from OSX>=10.7's "windows restore" feature to recur infinitely. Apparently OSX cleans things up for us just before we get the applicationDidFinishLaunching() callback. (cherry picked from commit 0f3712ff654c740f3593b9580f34cdfe21ac3250) Conflicts: vcl/osx/salinst.cxx Change-Id: I0f1d59f03ffe4efc7c9a73fa881151fa06af5424
2014-02-24Resolves: #i123840# prefer NSZero* constants over open coded alternativesHerbert Dürr
(cherry picked from commit a8c471a7003fdac7d5e1c97e903f669da6bcf0c7) Conflicts: vcl/osx/salframe.cxx vcl/osx/salframeview.mm vcl/osx/salnsmenu.mm vcl/osx/salobj.cxx Change-Id: I379d80355d741dd28aad2e6119a8b82ac10159f5
2014-02-24sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through itCaolán McNamara
which means that icons suddenly reappeared in the menus when the gtk theme had disabled them ref e8f8f24c8415898c787bbfb629247ed62e73a2b9 Change-Id: Ia9aef5ca39bda2ddf6d7c4ebc2bddc01d470d09b
2014-02-24warning C4805: '==' : unsafe mix of type 'sal_Bool' and type 'bool'Stephan Bergmann
Change-Id: I3719401a0eb68ba9204be19c2dd4f93617bf097c
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-23CoreText SDK 10.5 compatibilityDouglas Mencken
Change-Id: Ic876ec473b1c03a70c160af4251c68b299b27eca Reviewed-on: https://gerrit.libreoffice.org/7143 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23coverity#441533 Dereference after null checkCaolán McNamara
Change-Id: Iee024e2a16291aed98c10bfb6c33af6b17d44e4e
2014-02-23coverity#440750 Dereference after null checkCaolán McNamara
Change-Id: I155e9fabaf26df71758c4b8da92664a35956accb
2014-02-22pick a reasonable looking place for a SolarMutexGuard for setting changesCaolán McNamara
Change-Id: Ibfe88035900fb6aa638d9654b68a8b8b452c6c75
2014-02-22'SetSymbolsStyle' : is not a member of 'StyleSettings'. Remove the call.Matúš Kukan
Something similar was done in vcl/source/window/window.cxx in commit 076a7eacca48f203f0a8b9aa537e88fea9a88409 so hopefully this fix is enough. Change-Id: I11eb3c2d315a918056ffdee16c98c1430e174ed9
2014-02-22Do not try to use gb_STDLIBS explicitly. It's used by default anyway.Matúš Kukan
Change-Id: I5761d616e0b7255c2fbe17bb709cae0bdcb95910
2014-02-22C++11'ismStephan Bergmann
Change-Id: If2e3f4f7cd78d37fb4bbc35c62742f56da662765
2014-02-21c++11ismCaolán McNamara
Change-Id: I0838eafa47aaed222aca30d234300f2c05697175
2014-02-21Adapt vcl to various loplugin warnings on Mac OS XStephan Bergmann
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
2014-02-21fix mac build, c++11ismsCaolán McNamara
Change-Id: I91dba6c054511554e90006aa66134b17cca206fe
2014-02-21WaE: implicit conversion of literal of type 'const char *' to 'bool'Tor Lillqvist
Change-Id: Ia0c05b93bbb5a399257d0e1ab8670aa95be01fd7
2014-02-21WaE: unused variablesTor Lillqvist
Change-Id: Ia5bdfd7db7ed2769b34e8dbd7e0ed7dbe5499d34
2014-02-21Include <stdexcept> for std::runtime_errorTor Lillqvist
Change-Id: I6ef2036f075c2992b692d9a227db257edc4a6955
2014-02-21other vclplugs need adaptingCaolán McNamara
Change-Id: I83c54b27dc58dfeac72462d8c5eb92a08b5e8e2e
2014-02-21WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'Tor Lillqvist
Change-Id: Icc60d9dbbc8be68bd1ac54c93bd2506af6c01c0c
2014-02-21This uses boost_headersTor Lillqvist
Change-Id: I3e587cf07674374c18fa49e0528c0d7f8605f0df
2014-02-21I missed a nullptr c++11ishCaolán McNamara
Change-Id: I048efbb816fc4f4e91eb3a80a16f3f82b52599e0
2014-02-21Bug #63962 Dynamically scan the config directory for icon themesTobias Lippert
The hard-coded icon themes have been replaced by a dynamic list which is filled by scanning the config directory Conflicts: include/vcl/settings.hxx vcl/source/app/settings.cxx vcl/source/window/window.cxx Change-Id: Ie3680ffe27d06e375acf22753e036cb6ddabc4ed Reviewed-on: https://gerrit.libreoffice.org/7935 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21Replace handwritten reference counting with shared_ptrTobias Lippert
This will help to avoid race conditions because the shared pointers are thread safe and use atomic increments. Conflicts: include/vcl/settings.hxx vcl/source/app/settings.cxx Change-Id: Ie3d27d6412167855a0cea1442676b81b733c15e8
2014-02-21coverity#1130457 Uncaught exceptionCaolán McNamara
Change-Id: Ie65cdb00ec8823db329d2330ed142f4d841b095a
2014-02-21coverity#1130458 Uncaught exceptionCaolán McNamara
Change-Id: I2fd30daef6df18d0ef25132f9c0e445f613da10f
2014-02-21Windows vcl: sal_Bool -> bool fixupStephan Bergmann
Change-Id: I60cba53ec0a5aaedf20b6c0c295a91be226b4354
2014-02-21Silence false "control reaches end of non-void function" warningStephan Bergmann
Change-Id: I4614f445b23aa5c498b7b64a181cb5ca74f18081
2014-02-21Mac OS X vcl: sal_Bool -> bool fixupStephan Bergmann
Change-Id: I77a2e7957351ca6da44948e5a28d08116e1cd14d
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-20fix compilation of iostsahi glik
2014-02-20fdo#74584: These tags should be lowercase for correct clipboard handling.Kohei Yoshida
Change-Id: I323b96cecbf7158919fad534a202f158965ca99f
2014-02-20vcl: try to make android tinderbox happy tooMichael Stahl
Change-Id: If83b12578ce1e5dcae688589e92a54b96040abdd
2014-02-20vcl: fix Mac build a little moreMichael Stahl
Change-Id: I29c73865679fbd041fdc033aa1b62495a0ec95c2
2014-02-20vcl: try to fix the Mac build a bitMichael Stahl
Change-Id: Icc4cb23594d9c866a2a73676ceb649db54efab67
2014-02-20vcl: fix windows buildMichael Stahl
Change-Id: Ic55c02f7f17b4d4b2c36e194749bb48bb8fe493d
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20implement loading GtkSeparatorToolItemsCaolán McNamara
Change-Id: I8111b154d8358fd4dd667000ccbdd16be38a6dc5
2014-02-20Combine two subsequent SAL_INFO calls into oneTor Lillqvist
Change-Id: Iec931ddb77ce09df72ee9ce321e443e6f5a785f1
2014-02-20prefer a Scoped[Read|Write}AccessMarkus Mohrhard
Change-Id: I8ddad720685f3cbcc330b9d1f61fcf833a3d2472
2014-02-20more scope reductionMarkus Mohrhard
Change-Id: I5eb438ae70330990a58bc103406a0c434e53ca3f