Commit Graph

5159 Commits

Author SHA1 Message Date
Tavi Cacina
ea03d882f2
Net: make MessageHeader limits configurable (#3404) 2022-05-29 21:29:16 -05:00
BeBinder
2aaa7f851d
Syslog: Include Facility to Syslog Message (#3452)
* Fixed indentation

* Added Facility to Message in RemoteSyslogListener
2022-05-29 21:28:08 -05:00
Alex Fabijanic
980cd0273b fix(CppUnit): CppUnit notEqualsMessage causing compile errors #3615 2022-05-29 11:46:33 -05:00
Alex Fabijanic
a17a7bf027 fix(CppUnit): enable_if disarm numeric notEqualsMessage 2022-05-29 09:13:30 -05:00
Matej Kenda
9740190551
MongoDB::Array: int --> size_t in get for consistency with size(), new helper functions to add elements to an array. (#3016) 2022-05-29 00:03:08 -05:00
hectots
0f9a8760a0
#2569: Added TIMESTAMP data type support on MySQL (#3471)
* Unit test for TIMESTAMP data type in MySQL.

* Added support for TIMESTAMP data type.

Co-authored-by: Hector Toledo Soto <hsoto@transperfect.com>
2022-05-28 21:33:44 -05:00
Alex Fabijanic
1fe93ca26a Merge branch 'devel' of https://github.com/pocoproject/poco into devel 2022-05-28 21:17:33 -05:00
Alex Fabijanic
1343caa639 chore(ci): run ci on pull requests 2022-05-28 21:15:27 -05:00
Romain Geissler @ Amadeus
75eb0ca7cb
Avoid clang 10 -Wimplicit-int-float-conversion warning/error when converting int into float (#2943)
Example of warning (error when using -Werror) we get with clang 10:

/remote/intdeliv/components/osp/Poco/Foundation/19-0-0-6/include/Poco/Dynamic/VarHolder.h:444:14: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-int-float-conversion]
                if (from > std::numeric_limits<T>::max())
                         ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/remote/intdeliv/components/osp/Poco/Foundation/19-0-0-6/include/Poco/Dynamic/VarHolder.h:332:4: note: in instantiation of function template specialization 'Poco::Dynamic::VarHolder::checkUpperLimitFloat<float, int>' requested here
                        checkUpperLimitFloat<F,T>(from);
                        ^
/remote/intdeliv/components/osp/Poco/Foundation/19-0-0-6/include/Poco/Dynamic/VarHolder.h:2175:3: note: in instantiation of function template specialization 'Poco::Dynamic::VarHolder::convertToSmaller<float, int>' requested here
                convertToSmaller(_val, val);
                ^
2022-05-28 21:14:04 -05:00
Alex Fabijanic
b52ec8cc47 fix(LogFile): LogFile_STD (LogFileImpl) fails to recover from getting out of space #2084 2022-05-28 20:50:29 -05:00
Alex Fabijanic
9f7ccaf9f7 fix(TCPServer): #1884 #1965 2022-05-28 19:49:22 -05:00
Hernan Martinez
fcaab80a65
ProGen vs170 projects with Win32,x64,ARM64 (#3612) 2022-05-27 21:58:46 -05:00
Alex Fabijanic
71a3a79ec9 fix(UDPHandler): data race #3613; clean up all Net tsan warnings 2022-05-27 21:57:34 -05:00
Alex Fabijanic
216d5ae3a4 default disable new state on move 2022-05-27 13:32:24 -05:00
Alex Fabijanic
3e6e259c2a fix(PollSet): default enable epoll on linux 2022-05-27 12:09:16 -05:00
Alex Fabijanic
0df6a6a7d9 feat(Platform): LoongArch support #3460 2022-05-27 09:52:24 -05:00
Hernan Martinez
6ab38be5b0
Added missing closing </File> tags (#3610) 2022-05-27 08:35:26 -05:00
Hernan Martinez
6cf3a53997
Remaining changes for Windows on ARM64 support (#3608)
* Add ARM64 to Foundation

* Changed lib, and bin folders of ARM64 builds

* Updated buildwin.cmd
2022-05-26 22:40:30 -05:00
Hernan Martinez
76fa43062f
Remove SDK version from VS2022 test projects (#3607) 2022-05-26 22:39:28 -05:00
Alex Fabijanic
f6de0cd3f4 fix(SocketReactor): Poco::Net::SocketConnector unregistering #2513 2022-05-26 21:49:38 -05:00
Alex Fabijanic
d24bbd636d fix(Foundation): remove SDK version from VS 2022 project #3605 2022-05-26 12:53:21 -05:00
Alex Fabijanic
72fdd3b444 chore(testsuite): fix testsuite Makefile 2022-05-26 12:00:41 -05:00
Kevin Dick
9a4853582f
Added LocalConfigurationView to only search inside the viewed scope (#3529) 2022-05-26 09:40:13 -05:00
Hernan Martinez
0081bde084
Use transaction_isolation in MySQL 8+ (#3490)
* Use transaction_isolation in MySQL 8+

* Trim buffer before comparison
2022-05-26 09:36:45 -05:00
cesar
3d316bd548
Readded named substring support for regexes (#3569)
Original merged PR #952 was merged in 2015, but has gone missing. This is adding it back in.
2022-05-26 09:11:05 -05:00
Alex Fabijanic
5f1292a4d7 Merge branch 'devel' into poco-1.12.0 2022-05-26 09:09:06 -05:00
Alex Fabijanic
48d013dd90 chore(ci): remove close-inactive-issues.yml 2022-05-26 09:04:44 -05:00
Fabrice Fontaine
a91a5bd746
Add --ldflags configure option (#3545)
* updated README.md

* Create close-inactive-issues.yml

* Add --ldflags configure option

Add --ldflags configure option to allow the user to provide additional
flags to the linker such as -latomic. This will avoid the following
build failure with ActiveRecord on sparc v8:

/home/peko/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/peko/autobuild/instance-1/output-1/build/poco-1.11.1/ActiveRecord/Compiler/obj/Linux/sparc/release_shared/Compiler.o: in function `Poco::RefCountedObject::release() const':
Compiler.cpp:(.text._ZNK4Poco16RefCountedObject7releaseEv[_ZNK4Poco16RefCountedObject7releaseEv]+0xc): undefined reference to `__atomic_fetch_sub_4'

Fixes:
 - http://autobuild.buildroot.org/results/b01/b014d6fcb8fdf28984d7ce606db2347b0265bc6a/build-end.log

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-05-26 09:03:48 -05:00
Spaky
dbf3a589df
Add missing changes from zlib update (#3601) 2022-05-26 08:49:56 -05:00
Alex Fabijanic
c8f4720077 Merge branch 'devel' into poco-1.12.0 2022-05-26 08:22:33 -05:00
Hernan Martinez
13f0cc395a
Add ARM64 to ProGen for vs170 (#3606)
* Updated project properties and templates

* Added ARM64 templates

* Added ARM64 library suffixes

* Fix VS2022 TargetMachine property when targeting ARM64
2022-05-26 08:15:36 -05:00
Alex Fabijanic
f9677ef89a cleanup Data transcode test 2022-05-25 22:45:16 -05:00
Alex Fabijanic
34aa8d052b merge 1.12.0 2022-05-25 21:13:55 -05:00
Byungjun Lee
09590f8068
Update minimum GCC version information (#3603)
Changed in 1.10.0 Release
Content modification based on minimum compiler version upgrade (C++14)
2022-05-25 14:48:20 -05:00
Alex Fabijanic
6b87beb723 #3405 #3482 #3485 2022-05-24 18:35:58 -05:00
Alex Fabijanic
ebeef47a8c feat(Data): Add JSONRowFormatter #3602 2022-05-22 12:41:34 -07:00
Alex Fabijanic
78558f868d fix(JSON): Arbitrary indent of 2 applied to JSON string objects Var conversion #3253 2022-05-21 11:48:48 -07:00
Alex Fabijanic
cd85052231 fix(HTTPClientSession): broken proxy tests #2271 2022-05-21 10:42:20 -07:00
Alex Fabijanic
0008f2cc4d chore(samples): add/fix VS project/solution files #2271 2022-05-20 15:14:10 -07:00
Alex Fabijanic
804ce9ee59 feat(samples): add SetSourceIP #2271 2022-05-20 14:51:58 -07:00
Alex Fabijanic
be7006af2f feat(HTTPClientSession): HTTPClientSession source IP address #2271 2022-05-20 14:38:23 -07:00
Alex Fabijanic
cf4dc753f0 fix(Platform): Poco errors with _DEBUG and NDEBUG #3039 2022-05-19 09:15:27 -07:00
Alex Fabijanic
2aa53f486a fix(Task): Task::postNotification possible leak #3240 2022-05-19 08:38:43 -07:00
Alex Fabijanic
07bb778799 fix(SharedLibrary): SharedLibrary::isLoaded() not thread safe #3175 2022-05-18 16:03:28 -07:00
Matej Kenda
8a8c23c352
Fixes from develop experimental (on top of 1.11.2) (#3017)
* MongoDB::PooledConnection: Prevent unwanted release by disabling copy semantics. Enabled move semantics for C++11.

* Construct MongoDB::Cursor from aggragation cursor.

* Added function to get OS-specific numerical thread ID and %J pattern to use numerical OS thread id in pattern formatter.

Co-authored-by: Tomaz Beltram <tomaz.beltram@topit.si>
2022-05-18 17:23:16 -05:00
Alex Fabijanic
5bac3e303f fix(IPAddress): IPAddress::isLoopback() returns false for IPv4 mapped in IPv6 #3399 2022-05-18 15:04:09 -07:00
Günter Obiltschnig
fd75336a98 upgrade bundled sqlite to 3.38.5; fixed a warning in SQLiteTest.cpp 2022-05-17 13:46:27 +02:00
Günter Obiltschnig
083c3691b9 Cell: fix wrong condition when checking for font styles 2022-05-17 09:21:59 +02:00
Günter Obiltschnig
2cccd9fede
Merge pull request #3596 from pocoproject/poco-1.12-cppunit-improvements
CppUnit: add generic assertEquals
2022-05-17 09:10:58 +02:00
Günter Obiltschnig
bdc681389e
Merge pull request #3595 from pocoproject/poco-1.12-prom
Add Prometheus library
2022-05-17 09:10:44 +02:00