Commit Graph

39 Commits

Author SHA1 Message Date
Matej Kenda
8a4a2955d5 Use nullptr in C++ code (solves #4348) (#5043)
* chore(CppParser): 0, NULL --> nullptr

* chore(Crypto): 0, NULL --> nullptr

* chore(DNSSD): 0, NULL --> nullptr

* chore(Encodings): 0, NULL --> nullptr

* chore(CppUnit): Correct indentation.

* chore(Foundation): 0, NULL --> nullptr

* chore(CMake): Always warn about wrong nullptr usage when compiling with GCC or CLang

* chore(Net): 0, NULL --> nullptr

* chore(Foundation): 0, NULL --> nullptr

* chore(Data): 0, NULL --> nullptr

* chore(macOS): 0, NULL --> nullptr

* chore(XML): 0, NULL --> nullptr

* chore(Zip): 0, NULL --> nullptr

* chore(Util): 0, NULL --> nullptr

* chore(Net/NetSSL): 0, NULL --> nullptr

* chore(Bonjour): 0, NULL --> nullptr

* chore(MongoDB, Redis): 0, NULL --> nullptr

* chore(Poco): 0, NULL --> nullptr

* chore(Win32): 0, NULL --> nullptr

* chore(CMake): Only warn about nullptr when verbose warnings are enabled.

* Potential fix for code scanning alert no. 1634: Guarded Free

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* chore(Net): Fix warning reported by gitlab.

* chore(gitlab CI): attempt to clean to gain disk space on the runner.

* chore(gitlab CI): Run build with  --parallel 4, correct docker cleanup.

---------

Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-30 15:20:53 +01:00
siren186
2812dd7049 enh(Application): add ignoreUnknownOptions() function (#4661)
* enh(Application): remove useless function

* enh(Application): add ignoreUnknownOptions() function

* fix(OptionSet): comment error

* enh(Application): public two functions: getApplicationPath/getApplicationDirectory

* enh(Application): make findAppConfigFile function public and virtual

* style(Application): code alignment

* fix(Application): do not re-throw exception
2024-09-11 19:55:29 +02:00
Günter Obiltschnig
33638df51e enh: #4216: use std::string literals 2024-01-30 09:35:35 +01:00
Alexander B
3852a6b6c2 Solaris.build fix #3843 and #3643 (#3939)
* try fix compilation for solaris

* this commit for issue #3843 and #3643
changes in Types.h allow ignore problem with declaration of std::int8_t. int8_t can be defined as char or signed char. IMHO we need strong types for Poco::Int's

Envelop.cpp contains initializer for EVP_CIPHER_CTX_init, because this function prototype depends on openssl version.

Application.cpp contains includes especial for SOLARIS, for ioctl support

ClassLoaderTest.cpp and SharedLibraryTest.cpp contains changes because loadlibrary(dlopen) doesn't load library from current directory by default

LocalDateTimeTest.cpp contains changes because SOLARIS use std::tm without tm_gmtoff

* fix : define of SOLARIOS OS in LocalDateTimeTest

* remove unnecessary wrapper

* fix output dir for windows build with multi-config build

* try to fix bug with unixodbc version in linux-builds
[read here](https://github.com/microsoft/linux-package-repositories/issues/36)

* try to fix bug with unixodbc version in linux-builds
[read here](https://github.com/microsoft/linux-package-repositories/issues/36)

* fix : warning in main cmake for if-condition for multi-config build
fix : error for linux-gcc-make-cxx20, use --allow-downgrades for unixodbc

* fix : warning for cmake windows builds
revert changes for linux-gcc-make-cxx20

* revert ci.yml, remove unixodbc version

* try re-run build

---------

Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2023-03-18 01:28:47 -05:00
Günter Obiltschnig
d28d2b7a80 remove blank line 2021-06-23 08:35:01 +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
4066c4d794 add Application::windowSize() 2021-04-11 16:00:53 +02: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
Björn Schramke
b9259452a9 add new path values (configHome,cacheHome, etc) application config 2018-02-13 08:09:48 -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
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02: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
Guenter Obiltschnig
e6ea29c26e fixed GH #198: The application.configDir property is not always created. 2014-11-20 00:12:54 +01: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
Aleksandar Fabijanic
4826523831 fixed few GH issues
- fixed GH #209: Poco::NumberFormatter double length
- fixed GH #204: Upgrade zlib to 1.2.8
- fixed GH #198: The "application.configDir" property is not always
created.
2013-06-03 23:45:06 -05: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
aleks-f
e60bcd413d added Application::commandPath() 2013-01-05 17:17:27 -06:00
aleks-f
7e8797fb5a GH #48: Need getArgs() accessor
GH #48: Need getArgs() accessor to Util::Application to retrieve
start-up arguments
2013-01-05 15:54:12 -06:00
Mike Naquin
5f1d1b02e2 Add JSONConfiguration to Poco::Util::Application::loadConfiguration. 2012-11-14 10:31:52 -06:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Marian Krivos
8b70c37260 trunk: sync from 1.4.3
make & cmake fixes
2012-02-04 17:03:09 +00:00
Marian Krivos
cc90b38ae5 changes (part 1) from 1.4.3 branch (XMLConfiguration delimiter, OptionProcessor) 2011-11-15 13:59:05 +00:00
Marian Krivos
7e5c3a13d6 XML: complete merge from 1.4.2 2011-09-14 14:55:17 +00:00
Guenter Obiltschnig
28461b8e1b fixed SF# 2765569: LoadConfiguration failing from current directory 2009-04-21 06:43:48 +00:00
Guenter Obiltschnig
f517c1b083 fixed SF# 2679279: Handling of -- option broken 2009-03-10 15:14:46 +00:00
Guenter Obiltschnig
40e7be0bab synced with main repository 2008-01-28 17:30:40 +00:00
Guenter Obiltschnig
cf80f255be committed 1.3 release 2007-05-07 16:46:23 +00:00
Guenter Obiltschnig
be44df77fd latest changes from main rep 2007-05-05 13:15:55 +00:00
Guenter Obiltschnig
965b9458d5 committed latest 1.3 snapshot 2007-04-18 16:24:06 +00:00
Guenter Obiltschnig
488b63fb0d sync to internal repository 2007-02-23 14:35:25 +00:00
Guenter Obiltschnig
898be6c227 sources from main repository 2006-12-22 09:56:56 +00:00
Guenter Obiltschnig
551c728faf sources for 1.3 2006-11-17 16:31:29 +00:00
Guenter Obiltschnig
1ecd4a8a9e set eol-style to native 2006-10-23 16:21:00 +00:00
Guenter Obiltschnig
2d4078f392 submitted 1.2.0 2006-08-29 07:10:35 +00:00
Guenter Obiltschnig
f476bd6b32 initial import 2006-07-11 16:33:40 +00:00