summaryrefslogtreecommitdiff
path: root/embedserv/source/embed/tracker.cxx
AgeCommit message (Collapse)Author
2018-12-08Remove obsolete SAL_FALLTHROUGH completelyStephan Bergmann
...after 7ffdd830d5fb52f2ca25aa80277d22ea6d89970b "HAVE_CPP_ATTRIBUTE_FALLTHROUGH is always true now" Change-Id: I54e5ff4e036a6bb3e5774d1c0524158aae18e937 Reviewed-on: https://gerrit.libreoffice.org/64800 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-09-24loplugin:external (clang-cl)Stephan Bergmann
Including: * expanding STDAPI to its definition (as per <https://msdn.microsoft.com/library/ms686631(vs.85).aspx> "STDAPI"), to add __declspec(dllexport) into its middle, in extensions/source/activex/so_activex.cxx; as discussed in the comments at <https://gerrit.libreoffice.org/#/c/60691/> "Get rid of Windows .def files in setup_native, use __declspec(dllexport)", having a function both listed in a .def file EXPORTS and marking it dllexport is OK, and the latter helps the heuristics of loplugin:external; however, the relevant functions in extensions/source/activex/so_activex.cxx probably don't even need to be exported in the first place? * follow-up loplugin:salcall in sal/osl/w32/file-impl.hxx Change-Id: Ida6e17eba19cfa3d7e5c72dda57409005c0a0191 Reviewed-on: https://gerrit.libreoffice.org/60938 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-01embedserv: MSVC: pragma warning: make more specific, remove obsoleteMike Kaganski
Change-Id: I0abd5662648b09f31164d919688e17a651bf78c8 Reviewed-on: https://gerrit.libreoffice.org/48976 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-01-23More loplugin:cstylecast on WindowsStephan Bergmann
Automatic rewrite (of loplugin:cstylecast and loplugin:unnecessaryparen) after cab0427cadddb3aaf1349c66f2fa13a4234ba4b2 "Enable loplugin:cstylecast for some more cases" and a409d32e7f6fc09e041079d6dbc3c927497adfed "More loplugin:cstylecast" Change-Id: Ib3355159dd08333e1b7a8d091caf2069cdcc7862 Reviewed-on: https://gerrit.libreoffice.org/48317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-27loplugin:includeform: embedserv (Windows)Stephan Bergmann
Change-Id: I98bd95a46e645cf61f81d66faa1f700675e538bd
2017-09-30Use explicit function names for fooA/fooW WinAPI; prefer fooWMike Kaganski
We should only use generic foo function name when it takes params that are also dependent on UNICODE define, like LoadCursor( nullptr, IDC_ARROW ) where IDC_ARROW is defined in MSVC headers synchronised with LoadCursor definition. We should always use Unicode API for any file paths operations, because otherwise we will get "?" for any character in path that is not in current non-unicode codepage, which will result in failed file operations. Change-Id: I3a7f453ca0f893002d8a9764318919709fd8b633 Reviewed-on: https://gerrit.libreoffice.org/42935 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-10Clean up uses of SAL_U/SAL_W: embedservStephan Bergmann
Change-Id: I5a73acf6ccfc1709e95e55fa15c32ec6dda2657a
2017-01-11loplugin:externvar (clang-cl)Stephan Bergmann
Change-Id: Ic7e4ba1ada97a0fff1ae6d209b22e372431cc6e7
2016-10-16clang-cl loplugin: embedservStephan Bergmann
Change-Id: I9901dac882a74453015881ded2355ff0a51b50d5 Reviewed-on: https://gerrit.libreoffice.org/29868 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-25SAL_FALLTRHOUGH in Windows-only codeStephan Bergmann
Change-Id: If35da46c209746a86687e1c3f60f72f2f08aa681
2016-03-04-Werror,-WshadowStephan Bergmann
Change-Id: Ie6a35ce1fece5de31f455d88ab3e12010b8047f5
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-11-24-Werror,-Wbitwise-op-parenthesesStephan Bergmann
Change-Id: I36bd91dc2bb77a09f59e865527db1e9c6724a652
2014-05-10remove globally disabled warnings from source filesThomas Arnhold
Change-Id: Ic7b092a24b4d1e48ca11e53b507da5c2bfdeabe8
2012-11-28We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist
We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2010-10-13Add vim/emacs modelines to all source filesSebastian Spaeth
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-11INTEGRATION: CWS changefileheader (1.7.18); FILE MERGEDRüdiger Timm
2008/03/31 13:33:42 rt 1.7.18.1: #i87441# Change license header to LPGL v3.
2007-05-25INTEGRATION: CWS mingwport04 (1.6.2); FILE MERGEDVladimir Glazounov
2007/04/18 12:47:23 vg 1.6.2.1: #i75844# MinGW port efforts part II
2007-03-26INTEGRATION: CWS mingwport03 (1.4.8); FILE MERGEDVladimir Glazounov
2006/11/07 17:44:07 vg 1.4.8.2: RESYNC: (1.4-1.5); FILE MERGED 2006/09/07 15:54:55 vg 1.4.8.1: #i53572# MinGW port
2006-09-25INTEGRATION: CWS obo05 (1.4.10); FILE MERGEDVladimir Glazounov
2006/08/28 13:47:50 obo 1.4.10.1: #i53611# diable warnings C4917 and 4555
2006-06-20INTEGRATION: CWS warnings01 (1.3.16); FILE MERGEDJens-Heiner Rechtien
2006/02/20 15:31:47 cd 1.3.16.1: #i55991# Warning free code for Windows C++ compiler
2005-09-08INTEGRATION: CWS ooo19126 (1.2.32); FILE MERGEDRüdiger Timm
2005/09/05 18:46:12 rt 1.2.32.1: #i54170# Change license header: remove SISSL
2004-02-25INTEGRATION: CWS layoutmanager (1.1.2); FILE ADDEDKurt Zenker
2004/02/02 17:02:48 abi 1.1.2.2: tracker fixed 2004/02/02 09:13:58 abi 1.1.2.1: recttracker with win32-api