Günter Obiltschnig
034ed3332d
fix warning
2021-06-16 14:11:48 +02:00
Günter Obiltschnig
ea455ad891
fix warnings
2021-06-15 10:36:53 +02:00
Günter Obiltschnig
6fda5b590b
#3266 : Order of Util::Application::uninitialize() is not in reverse as documented
2021-06-15 07:45:47 +02:00
Günter Obiltschnig
43aa85df70
#3193 : ServerApplication::registerService() unquoted path security vulnerability
2021-06-15 07:32:47 +02:00
Günter Obiltschnig
4066c4d794
add Application::windowSize()
2021-04-11 16:00:53 +02:00
Günter Obiltschnig
e3a05a4c58
fixed a warning
2020-02-14 11:22:18 +01:00
Günter Obiltschnig
4de9a21187
make CMake files style (more) consistent
2020-02-14 11:07:32 +01:00
Günter Obiltschnig
75a86ad868
remove POCO_STATIC
2020-02-12 22:10:01 +01:00
Günter Obiltschnig
bb63b28121
Merge pull request #2920 from KevDi/closeServiceHandleAfterUnregister
...
Close Service Handle after DeleteService Function call
2020-02-12 20:36:23 +01:00
Jan Kevin Dick
753cfcecd7
Close Service Handle after DeleteService Function call
2020-02-12 13:10:09 +01:00
Jan Kevin Dick
e51adf72cf
Fixed setFailureActions. Function could crash if the given Vector has
...
less then 3 Elements. Also the Function crashes if no SVC_REBOOT or
SVC_RUN_COMMAND are specified. If this is the case ac.lpCommand and
ac.lpRebootMessage are not set.
2020-02-12 13:01:45 +01:00
Günter Obiltschnig
958387b6ba
improved Lambda support
2020-01-26 08:41:22 +01:00
Günter Obiltschnig
71585b7daa
#2152 : XDG support
2020-01-21 21:20:35 +01:00
Joerg-Christian Boehme
885c5cbc55
Ignore tests in cmake from cppignore and set POCO_BASE environment.
2020-01-14 21:45:56 +01:00
Günter Obiltschnig
4920df18ce
re-generated project files
2020-01-12 23:04:09 +01:00
Günter Obiltschnig
165f5cfd20
re-generated project files
2020-01-11 22:33:28 +01:00
Günter Obiltschnig
4c1e357e4a
project file fixes
2020-01-11 12:45:39 +01:00
Günter Obiltschnig
fea390fe6a
remove gradle files
2020-01-11 10:04:22 +01:00
Günter Obiltschnig
e84ab92ee0
removed x64 project files
2020-01-11 09:52:49 +01:00
Günter Obiltschnig
fe3f6405b6
updated progen files
2020-01-11 09:34:54 +01:00
Günter Obiltschnig
59898cd3c2
remove old VS project files
2020-01-10 14:26:36 +01:00
Günter Obiltschnig
03d1dd9822
fixes for macos/clang
2020-01-09 11:53:03 +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
Francis ANDRE
e59f37318e
Add /MP option and remove /Gm as it is ignored and will be removed
2019-12-07 19:11:24 +01:00
Günter Obiltschnig
a7cbff393e
Merge pull request #2815 from brice-gros/brice.gros/1.10.0+allow-for-cmake-fetchcontent
...
Make Poco git repository fetchable using CMake's FetchContent
2019-11-25 21:24:16 +01:00
Günter Obiltschnig
3fdf8624a9
Merge pull request #2840 from KevDi/bugfix/deleteRegKeyOnWOW6432Node
...
Deleting Registry Keys on the WOW6432Node is not possible on 64Bit Applications
2019-11-25 11:58:32 +01:00
Jan Kevin Dick
4773db3527
Updated CMakeList
2019-11-18 14:05:01 +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
991387a113
Passing _readOnly and _extraSam inside delete Key to the RegistryKey Constructor
2019-11-18 11:48:45 +01:00
Jan Kevin Dick
39784f73a2
Added Test File to all VS Project Files
2019-11-18 11:44:33 +01:00
Jan Kevin Dick
5be6be5228
Added to the x64 Project
2019-11-18 11:32:57 +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
Brice Gros
990f7825b5
Fix path to DLLVersion.rc and enable to skip Foundation; Fix Foundation samples referencing useless libs
2019-10-18 15:35:02 +02:00
Günter Obiltschnig
9a8ab0858f
include version resource in DLLs built with CMake
2019-06-24 15:39:06 +02:00
Francis ANDRE
5dbb9cc3de
Regenerating VisualStudio projects
2018-06-20 09:47:40 +02:00
Francis ANDRE
b7330492e5
Add <TargetMachine>MachineX64</TargetMachine> on <Lib> element
2018-06-15 14:28:43 +02:00
Francis ANDRE
19eecbaafb
Remove WinTestRunner
2018-06-10 19:46:19 +02:00
Joerg-Christian Boehme
612f092235
Cleanup cmake build system to use transitive dependency management from cmake ( #2321 )
...
* Some cleanup in the root CMakeLists.txt
* Cleanup cmake targets
* Add find openssl modul for older cmake version
* Set proper scope
* Change crypto default to off
* Fix openssl default to on
* Remove global setting of C99 standard
* Set from C11 to C99
* Fix for NetSSL win build
* Set C99 compile features
* Fix Windows build
* Fix windows build
* Cleanup poco unbundle definition
* Fix PDF build
* Remove unused set affinity
* Add _CRT_SECURE_NO_WARNINGS as target compile definitions
* Add _AFXDLL as target compile definitions
* Remove commented out line
* Refactor add_definitions to target_compile_definitons in Util
* Refactor add_definitions to target_compile_definitons in XML
* Remove THREADSAFE in data sql cmake build
* Refactor add_definitions to target_compile_definition in cmake mysql
* Refactor add_definitions to target_compile_definition in cmake odbc
* Refactor add_definitions to target_compile_definition in cmake sqlite
* Refactor add_definitions to target_compile_definitions in platform specific cmake
* Add _DEBUG as compile definition
* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build
* Use cmake property to build shared libs
* Cleanup POCO_NO_AUTOMATIC_LIBS. Set only for Windows in cmake build system
* cleanup LIB_MODE_DEFINITIONS in cmake buld system
* Add POCO_STATIC for CppUnit
* Cleanup target link libraries and add option dependencies.
* Add dependencies management in cmake
* Update cmake documentation
* Squashed commit of the following:
commit 38c233f93fc8e9ad6e24d686c905eb18c86e19a7
Fix "invalid new-expression of abstract class type ApacheServerRequest" (#2231 )
- abstract method "bool secure() const" defined in HTTPServerRequest was implemented in ApacheServerRequest, one of its derived classes
- a ap_log_error had one of its parameters changed for fixing a warning "passing NULL to non-pointer argument"
- minor indentation problems corrected
commit 4cbdfbe828943871618172f9e042176f115d61d8
Fix build dependencies
* Improve database cmake build dependencies
* Update doc
* Update doc
* Update cmake build commands
* Set public on target link libraries in cmake build system
* Fix PostgreSQL build
* Fix PostgreSQL build in cmake
* Fix PostgreSQL from SQL to Data
* Squashed commit of the following:
commit 1ba7d5dcbfb8d07860dd4efda33b31bedf6184c4
Add missing cmake file
* Set path to PostgresSQL in AppVoyer
* Try to fix AppVeyor build
* show dir in appvoyer
* Disable PostgreSQL build on Appvoyer
* Refactor add_definitions to target_compile_definitions
2018-06-03 11:17:50 -05:00
Francis ANDRE
4c22b871ae
Use CppUnit as a Poco module: regenerate all VS projects
2018-05-28 23:29:12 +02:00
Francis ANDRE
db5d570f33
Add Poco as prefix of CppUnit import libs
2018-05-28 19:58:05 +02:00
Francis ANDRE
be79688077
Use PocoCppUnit instead of CppUnit
2018-05-25 14:05:00 +02:00
zosrothko
960ecb38f0
Poco 1.9.1 assert true ( #2255 )
...
* Rename assert by assertTrue
* Update submodules
* Missing assertTrue
* Rename poco_assertTrue to poco_assert
* Rename poco_assertTrue to poco_assert
2018-03-29 11:12:54 -06:00
Günter Obiltschnig
d73bb2ea86
fixed GH #2058 : Synchronization issue in Poco::Util::Timer at destruction
2018-03-06 17:33:02 +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
Joerg-Christian Boehme
9feabc7723
Add android build on travis ( #1981 )
...
* Add build for android in travis CI.
* Fix review findings. Change from __ANDORID__ to POCO_ANDROID
* Add android test
* Fix compile issue after rebase
* Ignore test big ping when its failing
2018-02-26 18:54:40 -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
7d4d01e343
GH #1988 : Remove OpenVMS support
2017-11-09 12:42:13 +01:00
Francis ANDRE
5591d10a21
Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0
2017-10-31 18:11:51 +01:00
Guenter Obiltschnig
d172273a75
remove remaining $Id$ tags from file headers
2017-10-31 16:01:51 +01:00
zosrothko
f2e58c17e8
Add Gradle build scripts.
2017-10-31 09:07:53 +01:00
Günter Obiltschnig
8b52be675b
remove obsolete VMS and VxWorks build system support
2017-09-09 11:15:29 +02: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
f10d3a28f3
added Visual Studio 2017 project files
2017-02-20 16:20:16 +01: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
Guenter Obiltschnig
d4cdb91c01
respect POCO_NO_FORK_EXEC in ServerApplication
2015-09-29 14:32:30 +02:00
Guenter Obiltschnig
e25a17030d
integrated CMake improvements from develop (GH #946 )
2015-09-26 11:11:23 +02:00
Günter Obiltschnig
4f0b692d66
added project and solution files for VS2015
2015-08-01 10:29:32 +02:00
Gamadril
dc402085e8
Fixed issue #705 Error building with ENABLE_UTIL=ON and ENABLE_XML=OFF
2015-05-19 17:08:58 +02:00
Sascha Zelzer
10425a9556
Do not overwrite CMAKE_PREFIX_PATH in component config files.
...
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Alex Fabijanic
74c24a3789
related to GH#705: Error building with ENABLE_UTIL=ON and ENABLE_XML=OFF
2015-02-02 00:00:26 -06:00
Pascal Bach
f778e67430
CMake: Improve installation and package generation
...
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +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
Pascal Bach
97ea3ef483
CMake, WinCE: Make samples and tests compile under Windows CE
2014-12-21 16:23:35 +01:00
Pascal Bach
10ef2b2335
CMake: Remove WinDriver usage in tests
...
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Pascal Bach
e2538ac6e2
Add additional test for Poco::Util::Timer
...
Test scheduling with Timestamp and Clock
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2014-12-17 10:50:40 +01:00
Guenter Obiltschnig
931a5a5252
Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past
2014-12-15 11:05:13 +01:00
Günter Obiltschnig
c455631e45
WinRegistryConfiguration fix
2014-11-26 10:52:49 +01:00
Guenter Obiltschnig
f848f0db19
add test for c2edf4470f
2014-11-24 18:45:41 +01:00
Guenter Obiltschnig
c2edf4470f
prevent re-schedule of cancelled TimerTask
2014-11-24 18:38:05 +01:00
Günter Obiltschnig
42c814cca4
enabled WinRegistryKey and WinRegistryConfiguration for WinCE
2014-11-24 15:30:33 +01:00
Günter Obiltschnig
bc0978d01e
fixed GH #471 : vs2010 release builds have optimization disabled
...
fixed GH #616 : Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Guenter Obiltschnig
e6ea29c26e
fixed GH #198 : The application.configDir property is not always created.
2014-11-20 00:12:54 +01:00
Günter Obiltschnig
5f380f0b80
Merge pull request #574 from siemens/cmake
...
Cmake updates
2014-11-06 11:17:45 +01:00
Günter Obiltschnig
1db210e8b9
GH #575 : fixed compile error if POCO_WIN32_UTF8 is not defined
2014-10-16 12:57:55 +02:00
Pascal Bach
b69fafb84c
CMake: Create PocoConfig.cmake to make importable from other CMake projects
...
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Günter Obiltschnig
6fe2e4fb11
VS project files: do not share intermediate directory between projects in same folder
2014-10-06 13:51:49 +02:00
Günter Obiltschnig
1966ac9e24
make WinRegistryKey compile on pre-C++11 compilers
2014-09-19 19:58:09 +02:00
Guenter Obiltschnig
544229302e
#538 prevent destructors from throwing exceptions
2014-09-19 09:46:49 +02: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
Pascal Bach
7950001803
cmake: Cleanup CMakeLists.txt for all components
...
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code
The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Günter Obiltschnig
30bb18f394
added VS2013 project/solution files for Windows Embedded Compact 2013
2014-08-09 10:49:04 +02:00
Pascal Bach
d2af29d9ea
cmake: Util cleanup
...
- replace tabs by spaces
Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:07 +02:00