summaryrefslogtreecommitdiff
path: root/odk/examples/cpp/remoteclient
AgeCommit message (Collapse)Author
2021-09-10This example doesn't have any idl filesStephan Bergmann
Change-Id: Ia70268084603db3329d276533a9351e6c1eebbca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121894 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-07-22Remove obsolete dynamic exception specifications from SDK example C++ codeStephan Bergmann
GCC 11 trunk g++ defaults to C++17 now, so that CustomTarget_odk/build-examples and CustomTarget_odk/build-examples_java would now fail with "error: ISO C++17 does not allow dynamic exception specifications". 550e0e42d9ccef1244299b2d6cbda18549f8af19 "Remove dynamic exception specifications from cppumaker-generated code" had long since removed the exception specifications from the underlying (C++ classes representing) UNO interface types, so just remove them from the SDK example code, too. An alternative would have been to make sure those CustomTarget use an old C++ compiler standard. However, testing that the examples work against a new standard has probably similar merit to testing that they keep working against some obsolete standard. Change-Id: I8ec9ac2f9ced7bd1b746fb00d9bce94bf6aedda5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99218 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-19sal_Char->char in lotuswordpro..odkNoel Grandin
Change-Id: I5a7bd149554d24276a67437b654f8ffd2610a276 Reviewed-on: https://gerrit.libreoffice.org/85478 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-06Fixing '....' and '..'Andrea Gelmini
Change-Id: I926069d6c1f2712e5020d930f7ff6c62fd00e912 Reviewed-on: https://gerrit.libreoffice.org/78667 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-20Fix typos in codeAndrea Gelmini
Extracted from https://gerrit.libreoffice.org/#/c/75487/1 Change-Id: I80f9247c5c961a33c0d2c8354ea0524820b33409 Reviewed-on: https://gerrit.libreoffice.org/76028 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2018-09-10tdf#42949 Fix IWYU warnings in include/cppuhelper/*Gabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ib420e9216b8313f5ed7634ec375e39ceb741fd45 Reviewed-on: https://gerrit.libreoffice.org/59297 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-04-27Make SDK examples compile againStephan Bergmann
Revert (parts of) various commits that tried to use LIBO_INTERNAL_ONLY features in external odk/examples/ code. Change-Id: I275c3e8979c995430329bca61e51b2841503234f
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-19Make SDK examples compile againStephan Bergmann
...after various recent changes to include files etc. Change-Id: I9d2acbcfb09ca1df6247038afa6fbd99aa74a90d
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-17Keep using component_getImplementationEnvironment in extensionsStephan Bergmann
...instead of relying on the implicit CPPU_CURRENT_LANGUAGE_BINDING_NAME convention. Keeping that convention an implementation detail makes it easier to do improvements in the future. (Theoretically, the bundled extension in mysqlc could be considered internal code and not adapted, but just be safe.) Change-Id: Iae41a6e072dabc2bf7c1481ba6cfed61680edf37
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-29Unused includeStephan Bergmann
Change-Id: If6caa7abed25ce95f1c62f9673619426eb49b5a8
2013-04-19Adapt SDK to usage of msvcrtd for Windows --enable-dbgutilStephan Bergmann
* Re-use existing settings/dk.mk to tunnel ENABLE_DEBUG into the SDK. Turns out this was explicitly included in ~all examples Makefiles, but only after settings.mk where it is now used, so include it in settings.mk now and dropped it from all the exmaples Makefiles. * The old settings.mk was apparently confused with using /MT ("link with LIBCMT.LIB") on cl command line and /MD ("link with MSVCRT.LIB") on link command line (where it was ignored), and you apparently can't pass both together to cl, so I settled on /MD (resp. /MDd) now and dropped /MT (resp. /MTd). No idea if that is exactly right, however. * Introduced client-facing LIBO_SDK_LDFLAGS_STDLIBS that covers kernel32.lib and msvcrt.lib vs. msvcrtd.lib on Windows. Adapted examples Makefiles and /ure/source/uretest/Makefile accordingly. Some examples Makefiles additionally use msvcprt.lib, no idea whether that still needs to be addressed. Change-Id: Ia8d9d177e415abfbaf6f9fa6239f0ef9998868be
2013-04-04remove -dylib_file mappings that are not needed anymoreChristian Lohmaier
XCode 2.5 (i.e. Mac OSX 10.4 & 10.5) couldn't find the libraries without explicit mapping, but as baseline is now 10.6, this wrapping is no longer necessary Change-Id: I225fc47b9ea4b1fb2b13ba575605cbdebc014fd8 Reviewed-on: https://gerrit.libreoffice.org/3192 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: Icdf89cd23f34b9d599512414b14907c9ac67cffb
2011-07-12Remove component_getImplementationEnvironmentMatúš Kukan
2011-03-23Merge commit 'ooo/DEV300_m103'Jan Holesovsky
Conflicts: odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx odk/examples/cpp/complextoolbarcontrols/exports.cxx odk/examples/cpp/counter/countermain.cxx odk/examples/cpp/remoteclient/remoteclient.cxx odk/settings/settings.mk
2011-03-19Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)Thomas Arnhold
2011-03-01jsc340: i114609: adapt examples to work with the URE and use the passive ↵Juergen Schmidt
registration
2011-02-28jsc340: i114609: adapt examples to work with the URE and use the passive ↵Juergen Schmidt
registration
2011-02-09Trying to remove the stlport mention from the codeFridrich Štrba
2010-11-27RTL_CONSTASCII_USTRINGPARAM in sdk 2Gert Faller
Notes: split repo tag: sdk_LIBREOFFICE_PRE_BOOTSTRAP_BUILD
2010-11-27RTL_CONSTASCII_USTRINGPARAM in sdk 1Gert Faller
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)
2009-11-05#i106627# extend and adapt env for VC9, building manifest, change macroJuergen Schmidt
2008-07-11INTEGRATION: CWS jsc21 (1.13.74); FILE MERGEDRüdiger Timm
2008/06/27 08:49:54 jsc 1.13.74.2: #i90032# adapt link flags and linking for MacOS 2008/05/21 13:19:20 jsc 1.13.74.1: #i88797# adapted to new structure
2007-01-25INTEGRATION: CWS jsc17 (1.12.8); FILE MERGEDOliver Bolte
2007/01/22 13:31:40 jsc 1.12.8.1: #i72793# integrate patch and verify all C++ makefile
2006-12-20INTEGRATION: CWS jsc15 (1.11.46); FILE MERGEDIvo Hinkelmann
2006/11/24 12:51:55 jsc 1.11.46.1: #i68136# insert manifest linking
2006-11-06INTEGRATION: CWS jsc14 (1.6.14); FILE MERGEDKurt Zenker
2006/10/25 08:52:30 jsc 1.6.14.1: #i70636# remove auto generated precompiled header include
2006-09-16INTEGRATION: CWS pchfix02 (1.5.152); FILE MERGEDOliver Bolte
2006/09/01 17:32:27 kaib 1.5.152.1: #i68856# Added header markers and pch files
2006-07-13INTEGRATION: CWS jsc8 (1.10.58); FILE MERGEDOliver Bolte
2006/06/19 08:27:59 jsc 1.10.58.1: #i66541# increase sleep time
2005-03-29INTEGRATION: CWS sdkbugfix02 (1.9.10); FILE MERGEDRüdiger Timm
2005/03/03 15:42:06 jsc 1.9.10.1: #41142# replace make with internal MAKE variable
2005-01-31INTEGRATION: CWS sdksample (1.8.4); FILE MERGEDRüdiger Timm
2005/01/28 10:06:01 jsc 1.8.4.5: #i29308# prepare path for del command (windows only) 2004/11/11 10:33:54 jsc 1.8.4.4: #i29308# adapted 2004/10/25 12:58:54 jsc 1.8.4.3: #i29308# minimize exported symbols 2004/10/22 14:13:35 jsc 1.8.4.2: #i29308# insert --singleaccept 2004/07/21 12:45:39 jsc 1.8.4.1: i29308# wait for server on UNIX
2004-05-18INTEGRATION: CWS sdk13 (1.7.20); FILE MERGEDRüdiger Timm
2004/05/07 07:26:48 jsc 1.7.20.2: #i27128# use macro for regcomp 2004/05/05 09:31:42 jsc 1.7.20.1: #116658# merge cinnabar changes
2004-03-17INTEGRATION: CWS sdk12bugfix (1.4.8); FILE MERGEDOliver Bolte
2004/03/01 11:38:52 jsc 1.4.8.1: #112169# remove unnecessary header
2004-02-02INTEGRATION: CWS geordi2q14 (1.3.72); FILE MERGEDJens-Heiner Rechtien
2004/01/30 13:11:46 hr 1.3.72.1: #111934#: merge CWS ooo111fix2
2004-02-02INTEGRATION: CWS geordi2q14 (1.6.72); FILE MERGEDJens-Heiner Rechtien
2004/01/30 13:11:45 hr 1.6.72.1: #111934#: merge CWS ooo111fix2
2003-06-30INTEGRATION: CWS sdk04 (1.2.28); FILE MERGEDJens-Heiner Rechtien
2003/06/24 11:08:26 jsc 1.2.28.1: #110313# insert source license header
2003-06-30INTEGRATION: CWS sdk04 (1.5.6); FILE MERGEDJens-Heiner Rechtien
2003/06/24 11:08:27 jsc 1.5.6.1: #110313# insert source license header
2003-06-10INTEGRATION: CWS sdk02 (1.4.10); FILE MERGEDVladimir Glazounov
2003/05/16 14:01:30 jsc 1.4.10.1: #109045# improve build process
2003-04-23INTEGRATION: CWS uno2 (1.1.4.1.18); FILE MERGEDRüdiger Timm
2003/04/14 10:11:04 jsc 1.1.4.1.18.1: #107991# new naming convention for uno components
2003-04-17INTEGRATION: CWS sdk01 (1.1.4.1.6); FILE MERGEDRüdiger Timm
2003/04/12 10:13:52 jsc 1.1.4.1.6.2: #108799# new naming convention 2003/04/10 11:34:35 jsc 1.1.4.1.6.1: #108799# use new naming convention for uno components
2003-03-26MWS_SRX644: migrate branch mws_srx644 -> HEADJens-Heiner Rechtien