summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2014-02-26fdo#39468 Translate German Comments - vcl/source/window/toolbox2.cxxChristian M. Heller1-234/+43
Conflicts: vcl/source/window/toolbox2.cxx Change-Id: Ifcb3a31733d8122d228596e8ec1253990f979471 Reviewed-on: https://gerrit.libreoffice.org/8174 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26fdo#39468 Translate German Comments - vcl/source/window/floatwin.cxxChristian M. Heller1-63/+17
Conflicts: vcl/source/window/floatwin.cxx Change-Id: I5cf91515e088f7f7bb766089c0812b023ecb3bdd Reviewed-on: https://gerrit.libreoffice.org/8172 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26fdo#39468 Translate German Comments - vcl/source/window/dockwin.cxxChristian M. Heller1-104/+12
(BTW: There seems to be some duplication between dockwin and dockmgr) Conflicts: vcl/source/window/dockwin.cxx Change-Id: Icaf421620f87de7512a461b778958f6e141946db Reviewed-on: https://gerrit.libreoffice.org/8171 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26Remove implementation details from vcl/settings.hxxTobias Lippert1-68/+2053
This reduces the number of files which need to be recompiled after a change to the internal details. Also: Remove explicit assignment operators since they are no longer needed. Change-Id: Ieb18a8437fbcd39c6003b50c656ce010f5002d9a Reviewed-on: https://gerrit.libreoffice.org/8161 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-02-26Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe1-3/+2
Change-Id: I773524536c0ed7bc34eb08cd35cfc77e83f722ba
2014-02-25fdo#39468 Translate German Comments - vcl/source/window/dockmgr.cxxChristian M. Heller1-86/+7
Conflicts: vcl/source/window/dockmgr.cxx Change-Id: I0af8a95eab8b05752bb4497295d26b717021d3fd Reviewed-on: https://gerrit.libreoffice.org/8169 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25loplugin:literaltoboolconversionStephan Bergmann2-2/+2
Change-Id: I74bd9af6936f00fb26273606f7924f99ee7767d3
2014-02-25Update little-to-big endian GetSwapFloat functionsDouglas Mencken1-2/+5
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 Grandin1-10/+0
Change-Id: Ia6967bd5ae412b473187d8bf5485e56fdc934efb
2014-02-25remove unused code Menu::IsTemporaryItemFromPos(unsigned short)Noel Grandin1-10/+0
Change-Id: I90a9116aba75316992d2bddaf2f6466288b95bd0
2014-02-25callcatcher: update unused codeCaolán McNamara2-51/+0
Change-Id: Ia8e6abffb85b92ee4538fb0aeaee4e4aa18f2772
2014-02-25Add config_libraries.h definitions to get library names easily.Matúš Kukan6-59/+13
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 Bergmann5-40/+40
Change-Id: Ie180b99a1a2d71922009c85c16ccb33b7968bd03
2014-02-25vcl/osx/sal: SDK 10.5 compatibilityDouglas Mencken4-0/+51
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ürr3-27/+28
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ürr8-27/+21
(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 McNamara1-4/+4
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 Bergmann2-2/+2
Change-Id: I3719401a0eb68ba9204be19c2dd4f93617bf097c
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann5-77/+77
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-23CoreText SDK 10.5 compatibilityDouglas Mencken3-5/+36
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 Wilms146-3459/+3459
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 McNamara1-1/+1
Change-Id: Iee024e2a16291aed98c10bfb6c33af6b17d44e4e
2014-02-23coverity#440750 Dereference after null checkCaolán McNamara1-51/+59
Change-Id: I155e9fabaf26df71758c4b8da92664a35956accb
2014-02-22pick a reasonable looking place for a SolarMutexGuard for setting changesCaolán McNamara1-0/+2
Change-Id: Ibfe88035900fb6aa638d9654b68a8b8b452c6c75
2014-02-22'SetSymbolsStyle' : is not a member of 'StyleSettings'. Remove the call.Matúš Kukan1-8/+5
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úš Kukan1-12/+5
Change-Id: I5761d616e0b7255c2fbe17bb709cae0bdcb95910
2014-02-22C++11'ismStephan Bergmann1-1/+1
Change-Id: If2e3f4f7cd78d37fb4bbc35c62742f56da662765
2014-02-21c++11ismCaolán McNamara1-1/+1
Change-Id: I0838eafa47aaed222aca30d234300f2c05697175
2014-02-21Adapt vcl to various loplugin warnings on Mac OS XStephan Bergmann28-71/+72
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
2014-02-21fix mac build, c++11ismsCaolán McNamara1-11/+12
Change-Id: I91dba6c054511554e90006aa66134b17cca206fe
2014-02-21WaE: implicit conversion of literal of type 'const char *' to 'bool'Tor Lillqvist1-1/+1
Change-Id: Ia0c05b93bbb5a399257d0e1ab8670aa95be01fd7
2014-02-21WaE: unused variablesTor Lillqvist1-2/+2
Change-Id: Ia5bdfd7db7ed2769b34e8dbd7e0ed7dbe5499d34
2014-02-21Include <stdexcept> for std::runtime_errorTor Lillqvist2-0/+4
Change-Id: I6ef2036f075c2992b692d9a227db257edc4a6955
2014-02-21other vclplugs need adaptingCaolán McNamara2-2/+2
Change-Id: I83c54b27dc58dfeac72462d8c5eb92a08b5e8e2e
2014-02-21WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'Tor Lillqvist1-2/+2
Change-Id: Icc60d9dbbc8be68bd1ac54c93bd2506af6c01c0c
2014-02-21This uses boost_headersTor Lillqvist1-0/+4
Change-Id: I3e587cf07674374c18fa49e0528c0d7f8605f0df
2014-02-21I missed a nullptr c++11ishCaolán McNamara1-1/+1
Change-Id: I048efbb816fc4f4e91eb3a80a16f3f82b52599e0
2014-02-21Bug #63962 Dynamically scan the config directory for icon themesTobias Lippert19-234/+1089
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 Lippert1-145/+33
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 McNamara1-2/+5
Change-Id: Ie65cdb00ec8823db329d2330ed142f4d841b095a
2014-02-21coverity#1130458 Uncaught exceptionCaolán McNamara1-2/+5
Change-Id: I2fd30daef6df18d0ef25132f9c0e445f613da10f
2014-02-21Windows vcl: sal_Bool -> bool fixupStephan Bergmann12-42/+42
Change-Id: I60cba53ec0a5aaedf20b6c0c295a91be226b4354
2014-02-21Silence false "control reaches end of non-void function" warningStephan Bergmann1-1/+1
Change-Id: I4614f445b23aa5c498b7b64a181cb5ca74f18081
2014-02-21Mac OS X vcl: sal_Bool -> bool fixupStephan Bergmann11-44/+44
Change-Id: I77a2e7957351ca6da44948e5a28d08116e1cd14d
2014-02-21vcl: sal_Bool -> boolStephan Bergmann241-5214/+5230
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-20fix compilation of iostsahi glik1-0/+1
2014-02-20fdo#74584: These tags should be lowercase for correct clipboard handling.Kohei Yoshida1-4/+4
Change-Id: I323b96cecbf7158919fad534a202f158965ca99f
2014-02-20vcl: try to make android tinderbox happy tooMichael Stahl1-0/+1
Change-Id: If83b12578ce1e5dcae688589e92a54b96040abdd
2014-02-20vcl: fix Mac build a little moreMichael Stahl2-0/+2
Change-Id: I29c73865679fbd041fdc033aa1b62495a0ec95c2
2014-02-20vcl: try to fix the Mac build a bitMichael Stahl3-0/+4
Change-Id: Icc4cb23594d9c866a2a73676ceb649db54efab67