103 Commits

Author SHA1 Message Date
Pavle Dragisic
f30d759c08
Virtualize ServerApplication::handlePidFile() (#4223)
* feat(OptionSet): Add replaceOption() #4181

* revert changes #4181

* feat: make ServerApplication::handlePidFile virtual #4181

* move handlePidFile() out of ifdef #4181

* fix(ServerApplication): move handlePidFile() out of all ifdefs #4181

---------

Co-authored-by: Pavle <pavle@debian-gnu-linux-11.localdomain>
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2023-11-21 06:36:36 +01:00
Günter Obiltschnig
33d5d9c083 #4182: Util: Make load()/save()/clear() operations on configurations thread-safe 2023-10-12 10:38:41 +02:00
Günter Obiltschnig
22213f1111 #4173: AbstractConfiguration: when expanding property references, allow specifying a default value; #4174: AbstractConfiguration: support Int16/UInt16 and Int32/UInt32 2023-09-30 14:18:10 +02:00
Spencer J Coward
334a754b48
Changes to POCO_APP_MAIN in Poco::Util::Application which allows for compiling a Poco App for a VxWorks RTP (#3764)
Co-authored-by: Spencer Coward <spencerjcoward@gmail.com>
2022-08-21 23:31:48 -05:00
John Vandenberg
0e6e16645c
Remove trailing whitespace (#3668) 2022-07-07 04:18:20 -05:00
Aleksandar Fabijanic
168f1eb6e2
As of C++11, std::swap is noexcept. #2386 (#3645)
* As of C++11, std::swap is noexcept. #2386

* fix(Any): remove throw on swap

* fix(Any): As of C++11, std::swap is noexcept. #2386

* fix(Any): make size const #2386

* fix(SimpleRowFormatter): clang won't compile noexcept #2386

* a couple of arm fixes

* fix(Any): As of C++11, std::swap is noexcept. #2386

* fix(AnyTest): local() for POCO_NO_SOO# 2386

* test(RSACipher): RSA encryption without private key #2367

* chore(RSACipherTest): delete ciphers #2367
2022-06-28 12:14:36 -05:00
Alex Fabijanic
41f11b02bc chore(LocalConfigurationView): fix style #3529 2022-06-20 17:48:53 +02:00
Aleksandar Fabijanic
ff879f5905
Fix/tsan (#3617)
* fix(Foundation): tsan warnings fixes

* fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress

* fix(Util): tsan fixes

* fix(netSSL_OpenSSL): tsan fixes

* fix(Data): tsan warnings fixes

* feat(ci): add tsan job

* feat(ci): add tsan job, another attempt

* feat(ci): add tsan job, 3rd attempt

* fix(Foundation): tsan warnings fixes

* fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress

* fix(Util): tsan fixes

* fix(netSSL_OpenSSL): tsan fixes

* fix(Data): tsan warnings fixes

* feat(ci): add tsan job

* feat(ci): add tsan job, another attempt

* feat(ci): add tsan job, 3rd attempt

* fix(ResultMetadata): memory leak #3474

* feat(ci): disable ActiveDispatcher tests for tsan runs

* feat(ci): try to fix tsan options file detection (again)

* chore(TestLibrary: correct spelling

* fix(ci): fix tsan run; add -y to apt; disable samples build for some jobs

* fix(ci): add mysql ports

* feat(ci): add VS asan

* feat(double-conversion): Upgrade double-conversion to v3.2.0 #3624

* chore(asan): disable msvc asan build (dll not found)

* chore(double-conversion): move NumericString.h before double-conversion includes to prevent min/max collision; reinstate lost loongarch64

* chore(JSON): sync pdjson with upstream

* fix(Statement): Poco::Data::Statement becomes unusable after exception #2287
2022-06-01 23:47:26 -05:00
Kevin Dick
9a4853582f
Added LocalConfigurationView to only search inside the viewed scope (#3529) 2022-05-26 09:40:13 -05:00
Günter Obiltschnig
010cf8b7d0 #3507: Reference counting for bound configuration in Util::Option is broken 2022-02-19 10:35:30 +01:00
Günter Obiltschnig
70da508a79 style/whitespace 2021-06-26 06:30:49 +02:00
Günter Obiltschnig
4066c4d794 add Application::windowSize() 2021-04-11 16:00:53 +02:00
Günter Obiltschnig
958387b6ba improved Lambda support 2020-01-26 08:41:22 +01:00
Günter Obiltschnig
1bf40a0cd2 merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8 2020-01-09 10:08:09 +01:00
Jan Kevin Dick
2ac3df363c Fixed wrong Method name in WinServiceTest.
Added Comment to setFailurActions Method.
2019-11-18 12:04:51 +01:00
Jan Kevin Dick
51fe7836ca Rename Method and fix error in vcxproj File 2019-11-18 11:57:58 +01:00
Jan Kevin Dick
3917135a7f Added Method to configure the Failure Actions 2019-11-18 11:24:04 +01:00
Jan Kevin Dick
9762ed37e9 Added Method to Query the Failure Actions for the Service 2019-11-18 10:29:17 +01:00
Jan Kevin Dick
34ad48d16c Added Method to check if a service is stopped 2019-11-18 10:14:39 +01:00
Jan Kevin Dick
5a484c1896 Added Constructor to create WinService with an existing Connection to a Service Manager 2019-11-18 10:08:11 +01:00
Joerg-Christian Boehme
73897b4357 Add POCO_OS_ANDROID as platfrom definitons (#2186)
* Add POCO_OS_ANDROID as platform definition

* Ignore test big ping when its failing
2018-02-26 19:18:45 -06:00
Björn Schramke
fe313fa278 update class documentation for Util::SystemConfiguration and Util::Application 2018-02-13 08:14:00 -06:00
Björn Schramke
27d8106599 Update Application.h
Add missing method declaration
2018-02-13 08:10:35 -06:00
Björn Schramke
82efad08c2 add new path values (configHome,cacheHome, etc) application config 2018-02-13 08:10:14 -06:00
Björn Schramke
b9259452a9 add new path values (configHome,cacheHome, etc) application config 2018-02-13 08:09:48 -06:00
Björn Schramke
b59329034f add some methods to Poco::Path for make it easy to follow XDG Base Directory Specification 2018-02-13 08:07:45 -06:00
Rudolf-Walter Kiss-Szakács
275275baa9 Issues #1609 and #561 have not made it into a stable release #2152 2018-02-13 07:53:41 -06:00
Guenter Obiltschnig
d172273a75 remove remaining $Id$ tags from file headers 2017-10-31 16:01:51 +01:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Günter Obiltschnig
968dfe77dc fixed typos and style 2017-09-01 20:54:11 +02:00
Günter Obiltschnig
8d65ebf02a Poco::Util::LayeredConfiguration: added support for labelling configurations and finding them by their label 2017-09-01 20:23:35 +02:00
Guenter Obiltschnig
df855c88b7 fixed GH #1462: AbstractConfiguration::getUInt does not parse hex numbers 2016-10-24 09:41:49 +02:00
Guenter Obiltschnig
5df2508986 XMLConfiguration default (and single-argument delimiter) constructor now loads an empty XML document with "config" root element to make the configuration usable without an additional call to load() or loadEmpty(). 2016-10-16 13:39:17 +02:00
Guenter Obiltschnig
80f95d7c16 add a load() overload to specify name pool size 2016-10-07 10:59:24 +02:00
Guenter Obiltschnig
ff1834eb76 added Poco::Util::MapConfiguration::copyTo() 2016-03-01 07:31:18 +01:00
Guenter Obiltschnig
8b4709155d fixed GH #1114: World-write permissions on files created by daemon. Default umask is now 027; other mask can be set with --umask command-line parameter 2016-02-27 21:17:39 +01:00
Aleksandar Fabijanic
e7fb853c7d Merge pull request #665 from cryptoknight/Subsystems
Add getter for an Application's list of Subsystems
2015-01-08 18:32:14 -06:00
Scott Davis
240128b640 Add getter for an Application's list of Subsystems 2015-01-08 17:20:38 -05:00
Scott Davis
7b347ea592 Make WinRegistryKey easier to extend 2015-01-08 16:44:59 -05:00
Guenter Obiltschnig
c2edf4470f prevent re-schedule of cancelled TimerTask 2014-11-24 18:38:05 +01:00
Hayk Karapetyan
8b75f229f6 unit tests and changes according to comments 2014-09-12 11:02:34 +04:00
Hayk Karapetyan
93ed40c785 WinRegistryKey::getInt64 failed to read QWORD type from the windows registry.
BINARY data type support for WinRegistryKey
2014-09-11 16:18:18 +04:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Guenter Obiltschnig
70e116fda2 Poco::Util::Timer now uses Poco::Clock instead of Poco::Timestamp 2013-12-12 18:37:08 +01:00
Guenter Obiltschnig
448d4f3da3 Units.h fix 2013-07-25 13:23:56 +02:00
Aleksandar Fabijanic
dbe5a37106 fixed GH #141: Application::run() documentation/implementation discrepancy 2013-03-30 16:59:29 -05:00
Aleksandar Fabijanic
4c593dba7a GH #134: Fixed problem in Util::Application with xml or inifile no config
GH #134: Fixed problem in Util::Application with xml or inifile no
config
2013-03-24 00:18:35 -05:00
Reto Schneider
6544af712a Fix documentation: OptionException gets thrown by a validator, not InvalidOptionException. 2013-02-03 18:17:55 +01:00
aleks-f
76a7e2e716 GH56: Need a way to disable *_API macros with GCC
GH #56: Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00