341 Commits

Author SHA1 Message Date
Szókovács Róbert
f736c7b7cd resolve conflict between TFM and ARES 2026-01-08 17:50:09 +01:00
Szókovács Róbert
ebd3dafba5 still 2026-01-08 17:26:07 +01:00
Szókovács Róbert
8556d886a7 typo fix 2026-01-08 17:19:03 +01:00
Szókovács Róbert
b95f15f3d8 following up missing ExternalDns change 2026-01-08 17:05:33 +01:00
Scott Godin
e8a487ac60 Deprecate old Pidf.hxx/cxx in favor of the newer and more flexible GenericPidfContents class
- update resip stacks internal uses of Pidf to GenericPidfContents
- remove Pidf.hxx/cxx and tests from build
- leave files in place (for now) to allow use if still needed
- fixes ContentsFactory ambiguity over which Contents class to use when parsing
2025-11-12 18:50:14 -05:00
Andrey Semashev
06f72f71f3 Fix usage of <cctype> functions.
Functions defined in <cctype> have undefined behavior if a negative
value is passed on input. Input values must always be converted to
unsigned integers.

Also, added missing includes.
2025-09-13 23:36:02 +03:00
jmarias
7160616720 Added a reject method with a Contents object. (#420)
* dum: Added a reject method with a Contents object
2025-08-14 11:08:48 -04:00
Scott Godin
ee7aa13b1b Fix linux build warnings
- ParserContainer.hxx: remove deprecated std::iterator use
-  GeoProximitTargetSorter: replace deprecated std::random_shuffle
- misc signed/unsigned warnings
- tfm/SequenceSet - remove this pointer check (never null)
2025-01-15 16:02:28 -05:00
Scott Godin
b81b40534e - remove pcre dependency from tfm projects 2024-12-11 13:39:41 -05:00
Scott Godin
ab267a732e - remove no longer needed pcre and fmt libraries from contrib
- adjust deprecated Visual Studio solution and project files to remove pcre and fmt
- remove VS 2017 solution and project files, leaving VS2019 and VS2022 in place for now, however CMake is the new supported/maintined build system for Visual Studio
2024-12-11 13:24:25 -05:00
Scott Godin
8e0c47ad25 - fix linux build error
- supress tfmrepro error log
2024-12-10 18:13:28 -05:00
Scott Godin
495defc80f Adopt size_t in more places and remove compiler warnings
- change Data::size_type from uint32_t to size_t to more inline with C++ API standard - also helps remove 64-bit compilation warnings
- ares.h - fix include order issue that was causing redefinition errors or NO_ERROR on windows builds
2024-12-10 17:32:19 -05:00
Scott Godin
5212341457 Cmake improvements (#387)
- Get windows / Visual Studio cmake build working correctly (both Ninja and solution and vcxproj creation)
- Add post build step for visual studio solutions to copy appropriate OpenSSL and BerkelyDb DLL's to build output so programs can be run and debugged directly
- Get TFM to build, including NetXX and CppUnit biulds
- Enable TFM and TFM tests in GitHub CI / Actions
- Fix and enable a few unit tests
- Re-generate TFM repro certs that had expired
- Add DialogInfoSubClient to cmake
- Address a few compiler warnings
- Fix issue with testTransportSelector when running on windows
- Fix tfm repro tests that were expecting a 480 to be forwarded from a 503 response.  Code was recently changed in repro to send a 500 instead as recommended by RFC3261
- Cleanup CMake Visual Studio folder specifications
- Copy files needed for RFC4475TortureTests and enable it
- Use Cajun from contrib since package is not easy to find
2024-12-03 17:24:10 -05:00
Scott Godin
62c5383e56 -remove a number of compilation warnings in 64-bit builds 2024-10-23 17:51:44 -04:00
Vyacheslav Khudan
4107f2fe6c build: add CMake flag to exclude tests
This option might be useful for release builds where tests are not
required. It reduces building time and makes the installation directory
clean.
2024-08-23 06:59:13 -06:00
Scott Godin
2e2b91186c -fix up some tfm tests that were failing
-need different TimerC value for repro, for dum tfm tests vs repro tfm tests
-improve ServerInviteSession logging for reliabel provisional retranmissions
2023-10-30 12:54:09 -04:00
Scott Godin
708736478c -remove boost package from VS2022 tfm projects (not needed)
-update reTurn readme, since boost is not required
2023-01-24 16:54:10 -05:00
Scott Godin
e00bfde401 -change all paths to nuget packages imports to be relative to $(SolutionDir)
so that projects can be used in other solutions that exist on a different path
 than the solutions provided in the repo
2023-01-24 16:26:59 -05:00
Scott Godin
760b914541 -convert TFM VS2019 projects to use OpenSSL from NuGet
-fix Visual Studio (all supported versions) compilation error with
 TFM's access to ares header
2023-01-24 12:53:34 -05:00
Scott Godin
3619587be9 Merge pull request #301 from resiprocate/b-sgodin-openssl-nuget
Get OpenSSL from NuGet instead of contrib folder for VS2019 and VS2022 builds
2023-01-24 10:33:24 -05:00
Daniel Pocock
679fe0da3c Revert all instances of std::move on std::shared_ptr 2022-12-27 23:21:33 +01:00
Daniel Pocock
d388fa53ac tfm: migrate from boost to C++11: fixes for overloaded methods 2022-12-27 11:32:51 +01:00
Gregor Jasny
71ce8d5d11 build: add popt include directory 2022-12-18 16:25:11 +01:00
Daniel Pocock
85d83c2dc2 build: CMake: remove autotools artifacts 2022-12-14 15:09:22 +01:00
Daniel Pocock
cec962f9e1 Merge branch 'b-dpocock-vstudio-compare-cmake' into b-dpocock-cmake-vstudio 2022-12-05 10:52:41 +01:00
Daniel Pocock
b065deb10f resip/rend, tfm: migrate from boost to C++11, only intrusive_list remains 2022-12-02 15:41:48 +01:00
Daniel Pocock
0d639d268a Merge branch 'b-dpocock-vstudio-compare-cmake' into b-dpocock-cmake-vstudio 2022-11-30 11:19:05 +01:00
Daniel Pocock
9cf2edb13d tfm: stop using hard-coded paths to bundled c-ares includes 2022-11-30 10:17:09 +01:00
Daniel Pocock
05964544f2 build: CMake: release process fixes, update release script, misc fixes, RPM spec file 2022-11-10 16:48:27 +01:00
Scott Godin
6f83c8be2f -update OpenSSL Nuget package from openssl-native to zeroc.openssl.v143 2022-11-04 18:06:52 -04:00
Daniel Pocock
3dcf949a6d Merge branch 'b-dpocock-autotools-compare-cmake' into b-dpocock-cmake 2022-11-01 16:53:12 +01:00
Daniel Pocock
1f373db25d build: libtfmrepro: add missing -release flag 2022-10-31 10:41:48 +01:00
Daniel Pocock
c05b535809 build: CMake: expand configure option logic, library names, install logic, typos 2022-10-28 15:09:55 +02:00
Daniel Pocock
536f326b86 build: extend the CMake build to build all libraries, all binaries and unit tests, many small tweaks 2022-10-07 17:45:04 +02:00
Scott Godin
593702e217 Get OpenSSL from NuGet instead of contrib folder for VS2022 builds
-Add OpenSSL-native, which currently has OpenSSL 1.1.1q in it to all project using OpenSSL
-removed all include paths for openssl that pointed to contrib (Nuget package manages it's own includes)
-removed all link libraries for openssl that pointed to contrib (Nuget package manages it's own linker settings)
-remove fmt use (there is little value in including this, and it requires another license block to be displayed in products)
-Update boost from 1.78 to 1.80
-add package directory and *.bak to .gitignore
2022-09-14 17:11:26 -04:00
Daniel Pocock
d7834dcf4b migrate fixed-size integer types to stdint 2022-06-01 12:22:35 +02:00
Scott Godin
bdea09b233 Merge pull request #210 from zaleos/feature/fix_timer_c_upstream
Running Repro's TimerC for each of the client TXs independently
2022-02-10 12:11:19 -05:00
Ivan Ribakov
c2d9841b99 Init raw pointer 2022-01-28 12:16:34 +01:00
Ivan Ribakov
9ede2d8757 Increase TimerC value for TFM tests to 40 seconds 2022-01-28 12:16:17 +01:00
Ivan Ribakov
2369967646 TFM tests for TimerC 2022-01-26 13:12:22 +01:00
Scott Godin
4dcddad0b6 -VS2022 build - update boost 1.78 and fix up paths to package in tfm vcxproj files 2022-01-17 11:00:06 -05:00
Scott Godin
975d522e1f -increase some of the timeouts in TFM tests to avoid occasional time outs seen
-added batch and makefiles for running stack and rutil tests in 64bit on windows
-ensure trusted node is not present in ACL table for TFM from last test run when starting new run
2021-11-11 15:08:08 -05:00
Scott Godin
458a2c157c -added VS2022 solution and project files
-removed VS2015 solutions and project files (3 supported versions are now: VS2017, VS2019 and VS2022)
-added reTurn, reflow and TFM to main resiprocate solution, now that boost can be brought
 in automatically via NuGet this brings more exposure to the other resip projects
-moved recon solution files to project root for more visibility.  This is kept separate from
 the main resip solution, since it requires sipXtapi to build
-removed old win32 binaries from contrib/popt
-removed VisualStudioReadme.htm with obsolete info
-use NuGet to get boost for rend and tfm
-fixed a couple of compiler warnings
2021-11-11 11:31:28 -05:00
Scott Godin
2da9d5a536 -removed boost NuGet dependency from Visual Studio projects using it
-remove ASIO_HAS_BOOST_BIND preprocessor define now that Boost isn't being used
-retarget VS2017 projects at newer Windows SDK 10.0.19041.0
2021-11-02 18:16:59 -04:00
Scott Godin
958aaecb25 -fixed up VS2019 solutions and project files to find and link with contrib projects from contrib folder 2020-10-09 12:30:47 -04:00
Ben Walden
9bc108f8b8 Fix a runtime access violation in tfdum 2020-09-28 17:26:47 +01:00
Scott Godin
01b7a56095 -updated VS2017 WindowsTargetPlatformVersion from 10.0.17134.0 to 10.0.17763.0
-fixed up some incorrect project references in VS2017 files
-fixed a couple random compiler warnings
-updated resip/stack/test/Makefile.w32 to use newer link locations for OpenSSL
-removed BOOST::shared_ptr and enabled_shared_from_this text from reTurn/README.txt
2020-09-07 16:41:05 -04:00
Ben Walden
abf8944463 Fix a compiler error in tfdum 2020-08-24 19:10:35 +01:00
Ben Walden
c1d6b5506d Fix a test execution failure in tfrepro sanity tests 2020-08-24 16:18:56 +01:00
Ben Walden
9b059d4e08 Add Visual Studio 2019 project files for tfm 2020-08-24 08:40:18 +01:00