Commit Graph

116 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
69fd7c39e7
feat(build): add arm cross-compile and CI #4437 (#4438) 2024-02-04 01:00:16 +01:00
Aleksandar Fabijanic
c7d16b2a7e
4368 oracle odbc tests (#4410)
* feat(format): Add string_view format type spec #4409

* chore(Types): add demangle

* fix(Data): Oracle failing ODBC tests #4368

* fix some CQL and fuzz warnings; add Var::typeName()

* fix(build): -std=c++17 and c11

* fix windows build

* fix(Foundation): test apps vs projects c++17

* chore(build): remove uneeded compiler flag

* fix(VarHolder): number of digits range check for int->float conversion (reported by CIFuzz)

* fix(test): CIFuzz

* fix(CIFuzz): another attempt

* fix(progen): add LanguageStandard (stdcpp17, stdc11); regenerate vs170 projects

* fix(CiFuzz): add int->float precision loss barrier; fix erroneous number of digits logic

* enh(Var): silent loss of precision on int->float conversion #4423

* enh(Var): silent loss of precision on int->float conversion #4423

* chore(build): remove old build files

* chore: fix missing parens warning

* enh(Thread_POSIX): prevent double-joining; add error description to exceptions

* fix(Data): unresolved Column<long> linkage in test

* fix(demangle): determine type name from template parameter; add eror diagnostic for demangling failures

* chore(buildwin): remove old vs versions from build and progen scripts; update documentation

* chore(buildwin): remove leftover closing curly
2024-01-31 22:07:07 +01:00
Matej Kenda
843ed4345e
gcc/clang (-fvisibility=hidden): corrections to compile and work properly (#4394)
* fix(ActiveRecord): missing ActiveRecordLib_API definitions for clang/gcc.

* fix(FPEnvironment): export FPEnvironmentImpl classes (#4393, #3331)

* fix(Crypto): export *Impl classes used from inlines (#4393, #3331)

* fix(Dynamic): explicitly instantiate and export Dynamic::Struct for string and int (-fvisibility=hidden) (#4393, #3331)

* fix(JSON): explicitly instantiate and export SharedPtr for JSON::Array and JSON::Object (-fvisibility=hidden) (#4393, #3331)

* enh(CMake): Set symbol visibility to hidden (#4393, #3331)

* enh(configure): user c++17 standard for iphone, Darwin and ARM-Linux.

* fix(UTF): explicitly instantiate and export 16 and 32-bit strings (-fvisibility=hidden) (#4393, #3331)

* fix(RecordSet): make Extraction.h internal and instantiate RecordsSet::column template functions only for supported types. (-fvisibility=hidden) (#4393, #3331)

* fix(UTF): fix explicitly instantiation on Windows (-fvisibility=hidden) (#4393, #3331)

* enh(CMake): Add github jobs for macOS with visibility set to hidden (#4393, #3331)

* fix(CppParser): Add missing declarations for CppParser_API (#4393, #3331)

* enh(CMake): Enable more options in github jobs for macOS with visibility set to hidden (#4393, #3331)

* fix(MongoDB): Add missing MongoDB_API (#4393, #3331)
2024-01-17 14:13:24 +01:00
Matej Kenda
54f0feb282 fix(ci): Partially revert "add sendfile method for streamsocket (#4007)"
This reverts commit 24b7122f43.
2023-12-12 22:13:00 +01:00
Alexander B
24b7122f43
add sendfile method for streamsocket (#4007)
* add sendfile method for streamsocket

* add mswsock.lib to the project files and templates

* remove /DPOCO_NO_AUTOMATIC_LIBS for cmake windows build

* merge from upstream

* merge from upstream

* fix code stile
add NotImplemented exception for unsupported platforms
exculude <sys/sendfile.h> for POCO_EMSCRIPTEN, because https://
github.com/emscripten-core/emscripten/pull/16234

* add iostream include for std::cout

* fix compilation for emscripten (wrap sendfile)
2023-12-11 10:47:03 +01:00
Alex Fabijanic
6dad8502d3 fix(Data):
* make bool Session::isTransaction() return Poco::Optional
* move parsing to Statement
* SQLParser make build
* other fixes and improvemets #4230
2023-11-01 00:25:46 +01:00
Aleksandar Fabijanic
5131fe1c15
fix(Poco::Data): fixes and improvements #4198 (#4199)
* fix(Poco::Data): fixes and improvements #4198

* chore: remove inadvertently commited garbage file

* fix(SQLite): SQLChannel tests #4198

* fix(Data::SessionPool): Improve Data::SessionPool thread safety #4206
2023-10-22 12:53:54 +02:00
Aleksandar Fabijanic
701c8dae2d
Build and dev system improvements (#4193)
* fix shellcheck warnings; add some ci ignore test entries

* fix(make): Redirect build stderr to a file #4112

* enh(dev): add vscode run script and launch items for tests
2023-10-18 18:48:20 +02:00
Alessandro Di Nepi
3eb18502e7
Fix platform when building for iPhoneSimulator (#4137)
When building for iPhoneSimulator the parameter to specify the minimum
OS version should be matched.
2023-09-11 13:55:51 +02:00
Stefan Csomor
b391d86502
switching to 64 bit arch for simulator as well (#3009) 2023-06-10 18:13:01 -05:00
Byungjun Lee
5430b4c5b6
Fix Aix Build (#3860)
* Fix : Aix System NumberFormatter Build Error

* Fix : Aix System OpenSSL 3.0 Build Support

 - https://github.com/openssl/openssl/blob/openssl-3.0.0/NOTES-UNIX.md?plain=1#L110

* Add : Aix System Gcc Build Support

* Revert "Add : Aix System Gcc Build Support"

This reverts commit b9a4b90e39.

* Add : Aix System Gcc Build Support
2023-01-24 00:55:17 -06:00
Günter Obiltschnig
69d15c5ddd fix include/lib paths for Apple Silicon 2022-11-17 11:47:18 +01:00
Alex Fabijanic
437fa66892 core(CI): add c++20 2022-08-06 23:22:01 +02:00
John Vandenberg
0e6e16645c
Remove trailing whitespace (#3668) 2022-07-07 04:18:20 -05:00
Aleksandar Fabijanic
168f1eb6e2
As of C++11, std::swap is noexcept. #2386 (#3645)
* As of C++11, std::swap is noexcept. #2386

* fix(Any): remove throw on swap

* fix(Any): As of C++11, std::swap is noexcept. #2386

* fix(Any): make size const #2386

* fix(SimpleRowFormatter): clang won't compile noexcept #2386

* a couple of arm fixes

* fix(Any): As of C++11, std::swap is noexcept. #2386

* fix(AnyTest): local() for POCO_NO_SOO# 2386

* test(RSACipher): RSA encryption without private key #2367

* chore(RSACipherTest): delete ciphers #2367
2022-06-28 12:14:36 -05:00
Günter Obiltschnig
3772163fc5 fix ARM-Linux build config 2021-06-17 14:22:55 +02:00
Günter Obiltschnig
dd0ce693ff add Linux cross build, build Data libs on macos 2021-06-17 12:09:49 +02:00
Günter Obiltschnig
ff6144f064 support sanitizers in build configs 2021-06-16 08:33:13 +02:00
Günter Obiltschnig
0d621635b0 update build configs - add support for Apple Silicon 2021-06-14 18:33:56 +02:00
Günter Obiltschnig
4a45cfe05b FreeBSD build config now uses clang 2020-02-16 19:52:01 +01:00
Günter Obiltschnig
35ce47c66e fix clang config 2020-01-24 13:07:05 +01:00
Günter Obiltschnig
d92219e8c3 fixed build configuration for Xcode 11 on Catalina 2019-11-26 11:24:26 +01:00
Alex Fabijanic
1a6c93af41 add Cygwin build config 2018-05-07 21:33:44 -05:00
Alex Fabijanic
5122cf88e9 remove CYGWIN 2018-05-07 21:21:41 -05:00
Francis ANDRE
0ada331543 Fix SYSFLAGS for CYGWIN build 2018-04-03 08:28:30 +02:00
Guenter Obiltschnig
24ecd1736e fix more embedded Linux build configs 2017-11-11 17:42:15 +01:00
Guenter Obiltschnig
a6bdc7b53b cleaned up build configs 2017-11-09 19:28:31 +01:00
Alex Fabijanic
2cfe5a5097 add -std=c99 for g++ and clang 2017-09-27 14:37:58 -05:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
1435c9ad97 revert changes to Error.cpp; it's hopeless with strerror_r()... 2017-02-14 14:35:56 +01:00
Guenter Obiltschnig
e8a8b4b13f added Alpine Linux build config 2017-02-13 18:56:53 +01:00
Guenter Obiltschnig
8ef2e5a11f use -D_XOPEN_SOURCE=600 on Linux builds 2017-02-12 13:28:13 +01:00
Guenter Obiltschnig
186e89923a style fixes and SolarisStudio support backported from develop 2017-01-25 11:07:51 +01:00
Guenter Obiltschnig
bbecde0829 fixed GH #1536: Building with OS X 10.12 SDK and 10.7 deployment target without libc++ fails; updated Darwin build configurations 2017-01-10 16:57:22 +01:00
Guenter Obiltschnig
917a4da7e9 fixed GH #1546: Enable bitcode for iPhone build config 2017-01-10 15:08:03 +01:00
Guenter Obiltschnig
a4475b694e updated Apple configs 2016-12-29 11:20:58 +01:00
Guenter Obiltschnig
8572c2d8c9 Updated iPhone build configs. All iPhone configs are now the same and use c++11 and libstc++ and are compatible with default Xcode project settings. 2016-12-05 22:17:29 +01:00
Guenter Obiltschnig
f9aa76f76d added Yocto config; updated ARM-Linux config 2016-10-07 22:09:36 +02:00
Günter Obiltschnig
3d1a094725 Merge pull request #1026 from zosrothko/Cygwin
Fixes for producing the poco-1.6.2 release on a Cygwin x86 platform
2016-02-28 15:29:08 +01:00
Guenter Obiltschnig
ff64eb69ba enable bitcode for iPhone build config 2016-01-11 16:45:51 +01:00
FrancisANDRE
d53bee6b70 Fix OSARCH_64BTIS
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-17 10:32:05 +01:00
Guenter Obiltschnig
72842fd98d integrated #1030 into 1.6.2 2015-11-13 10:52:27 +01:00
FrancisANDRE
43d01461bc flags for shared libraries should be on SHLIBFLAGS.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-12 16:52:07 +01:00
FrancisANDRE
8ba74efd02 Remove POCO_NO_SHAREDMEMORY. Readd POCO_NO_WSTRING.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-12 16:14:33 +01:00
Guenter Obiltschnig
7dc992643c #1029 tvOS / WatchOS bitcode enabled 2015-11-12 08:17:12 +01:00
FrancisANDRE
82d62bfe86 Refactorying. Add detection of OSARCH_64BITS.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-12 07:52:20 +01:00
FrancisANDRE
cc32b600f8 use same naming convention as CMake install for Cygwin.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 16:11:53 +01:00
FrancisANDRE
7178da8751 restore previous version
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:21:45 +01:00
FrancisANDRE
603e43ee7d Revert "Revert "avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined.""
This reverts commit e1c0db371d.
2015-11-10 14:19:06 +01:00
FrancisANDRE
e1c0db371d Revert "avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined."
This reverts commit 7d7bbfe5b2.
2015-11-10 14:11:08 +01:00