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
e7687d4bba
enh(Foundation): modernised header files (override, using, nullptr, ...)
2025-02-12 19:47:52 +01:00
Günter Obiltschnig
5fec3deeb9
fix(Foundation): Poco::BasicMemoryStreamBuf is missing seekpos() #4492
2024-03-22 08:53:14 +01:00
John Vandenberg
0e6e16645c
Remove trailing whitespace ( #3668 )
2022-07-07 04:18:20 -05: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
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02:00
Kim Grasman
db635739c4
Fix #928 : Workaround to fix -Wswitch warning
2015-11-10 09:38:17 +01:00
martin-osborne
9b2e897280
Removed comment.
2015-01-25 10:05:59 +00:00
martin-osborne
c264a0d716
Restored original names for typedefs. Fixed gcc build.
2015-01-25 07:28:24 +00:00
martin-osborne
5e104addd3
Issue #297 - Implemented BasicMemoryStreamBuf::seekoff
...
This change adds support for `tellp`, `tellg` and seeking.
**Additional notes:**
+ `tellg` calls `rdbuf->pubseekoff(0, cur, out)` [lib.ostream.seeks] so need to
provide an override of `seekoff`.
+ Requirements for `seekoff` are in 27.7.1.3.
+ 27.7.1.3 - Standard has a roundabout way of saying `cur` is valid if only one
of `in` or `out` is specified (Condition 3).
+ `xend` is `egptr`/`epptr` (get area/put area).
+ `xbeg` is `eback`/`pbase` (get area/put area).
+ `xnext` is `gptr`/`pptr` (get area/put area).
+ `newoff` is a bit of a misnomer, the new offset into the stream is given by
`newoff + off`. `newoff` is really the start point.
+ You can set `gnext` with `setg`, but you can't do that with `setp` you have
to `pbump` by the new offset minus the current offset.
2015-01-24 18:39:06 +00: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
Patrick White
69f7cb9846
Fix warnings in headers because application/user settings control what warnings are seen when compiling against poco
2014-01-23 16:22:38 -05:00
Aleksandar Fabijanic
cfbcce0481
FIFOBuferStream and tests (Windows/VS2010 only compiled/tested)
2012-06-07 03:59:13 +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
c8321f8857
trunk/branch integration: adding new files
2011-08-22 16:17:57 +00:00