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
Matej Kenda
41f045c271
fix(NumberFormatter): Add HEX_ to number formatting options to avoid name conflicts with other libraries.
2025-09-11 10:37:25 +02:00
Matej Kenda
f24547cdcf
enh(Poco): Mark deprecated functionality with C++ attributes and resolve internal usage of deprecated functions ( #4551 )
...
* enh(poco): Replace deprecated comments with C++ deprecated attribute.
* enh(Poco): Replace some deprecated functionality in Poco sources. (#4426 )
* enh(Poco): Replace more deprecated functionality in Poco sources. (#4426 )
* fix(CMake): Variable BUILD_SHARED_LIBS must be defined properly to create valid binaries.
* enh: Code improvements done while resolving deprecated functionality (#4426 )
* Un-deprecate LocalDateTme (#4426 )
* enh(Poco): Replace usage of deprecated functionality with other functions/classes (#4426 )
* chore(SSL): temporarily un-deprecate SSL-related functionality (#4426 )
* chore(SSL): temporarily un-deprecate old MongoDB protocol functionality (#4426 )
* enh(Poco): Minor Hash improvements (#4426 )
* enh(Foundation): Compile deprecated hash tests only when POCO_TEST_DEPRECATED is enabled (#4426 )
* enh(Net): Compile deprecated Socket::select functionality only when POCO_TEST_DEPRECATED is enabled (#4426 )
* enh(Bonjour): Replace deprecated Socket::select with PollSet (#4426 )
* enh(Poco): Introduce POCO_DEPRECATED macro to have the ability to disable deprecation warnings in applications (#4426 )
* test(ODBC): add few asserts to testStoredProcedureDynamicVar
* fix(ODBC): rename DynamicAny -> DynamicVar in tests
* fix(ODBC): make Dignostics static members inline to prevent explicit instantiation warnings on windows
---------
Co-authored-by: Alex Fabijanic <alex@pocoproject.org >
2024-07-29 08:37:35 +02:00
Matej Kenda
111fe90dd9
enh(NumberFormatter): Introduce backward compatible options for formatHex functions ( #4333 )
...
* enh(NumberFormatter): Introduce backward compatible options for formatHex functions.
* enh(NumberFormatter): Corrections and improvements suggested in code review.
* fix(ci): disable testEncryptDecryptGCM on macOS which often fails.
* enh(NumberFormatter): Improved naming.
2023-12-15 18:30:55 +01:00
Aleksandar Fabijanic
57bc0bbbb5
3102 json lowercase hex ( #4306 )
...
* Made it possible to use lowercase hex numbers, also when encoding JSON (#3102 )
Co-authored-by: Thomas Weyn <Thomas.Weyn@cebir.be >
* fix(JSONString): Remove deprecated toJSON functions #4305
* fix(NumericString): conversions inconsistencies #4304
---------
Co-authored-by: Archipel <thomas@weynwebworks.com >
Co-authored-by: Thomas Weyn <Thomas.Weyn@cebir.be >
2023-11-27 22:43:20 +01:00
John Vandenberg
0e6e16645c
Remove trailing whitespace ( #3668 )
2022-07-07 04:18:20 -05:00
Aleksandar Fabijanic
674446d44d
Revert "formatHex with lower case ( #3657 )" ( #3670 )
...
This reverts commit b1823b61c0 .
2022-07-07 02:43:52 -05:00
JackyWoo
b1823b61c0
formatHex with lower case ( #3657 )
2022-07-04 14:25:02 -05:00
Alex Fabijanic
ae00f1c8eb
fix(NumberFormatter): Negative precision in NumberFormatter::format() #2511
2022-06-24 09:59:30 +02:00
Günter Obiltschnig
aa46e9b6e4
fixed type overloads
2020-01-09 18:02:29 +01:00
Günter Obiltschnig
03d1dd9822
fixes for macos/clang
2020-01-09 11:53:03 +01:00
Conor Burgess
fe693de41d
Add support for (unsigned) long long when long is 64bit
2017-09-11 15:55:54 +01:00
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
8c607d3213
fixed GH #1128 : Poco::NumberFormatter::format(float, precision) rounding changed
2016-02-28 13:32: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
Alex
dd2e677f8a
separate function for unsigned to string conversion
...
Separated unsigned integer conversion to eliminate warnings (and
slightly improve performance). Added Darwin-clang warning suppression
for unused functions/variables
2012-12-01 14:10:06 -06:00
aleks-f
91d5be438b
replaced stream-based number formatting
...
embedded a portion of double-conversion library
(http://code.google.com/p/double-conversion/ )and replaced stream-based
number formatting
2012-12-01 14:10:04 -06:00
aleks-f
9cd0f0b4f7
integer to string conversion
...
replaced sprintf-based int-to-string functionality with built-in
intToString
2012-12-01 14:10:02 -06:00
Marian Krivos
0ad8b3c924
formatting fix and few tests from the old trunk
2012-04-29 11:04:08 +00:00
Marian Krivos
bd59670069
backport bool support to the NumberParser/NumberFormatter
2012-04-28 09:30:38 +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
7d7c02c579
trunk: backport eventing from 1.4.3
2012-02-05 12:16:58 +00:00
Marian Krivos
fd98b17390
added method & tests to the class NumberFormatter for bool values
2009-03-23 20:10:51 +00:00
Guenter Obiltschnig
fa1658b23a
integrated improvements from 1.3.4 (NumberFormatter::append(), DateTimeFormatter::append()
2009-02-21 10:59:58 +00:00
Guenter Obiltschnig
da49971d0f
synced with main repository
2008-01-28 17:23:19 +00:00
Guenter Obiltschnig
dcabc2befc
latest changes from main rep
2007-05-04 11:04:40 +00:00
Guenter Obiltschnig
7639f5a3f0
sync to internal repository
2007-02-23 14:27:57 +00:00
Guenter Obiltschnig
bb11cbaf29
sources from main repository
2006-12-22 09:51:53 +00:00
Guenter Obiltschnig
772a1021dc
sources from main repository
2006-12-22 09:31:08 +00:00
Guenter Obiltschnig
768642ae98
sources for 1.3
2006-11-17 16:21:51 +00:00
Guenter Obiltschnig
84fedbdb60
set eol-style to native
2006-10-23 15:48:43 +00:00
Guenter Obiltschnig
2d4078f392
submitted 1.2.0
2006-08-29 07:10:35 +00:00