Commit Graph

475 Commits

Author SHA1 Message Date
Steve Underwood 3b8bc35bd9 More fixes for Coverity issues 2014-07-22 10:51:42 +08:00
Steve Underwood fb6ecb4c76 Fixed some issues raised by coverity in spandsp ilbc and unimrcp 2014-07-22 09:38:55 +08:00
Peter Olsson 58a33988a3 spandsp: Add missing include for alloc.h. This fixes a build error on Windows. 2014-07-19 12:47:42 +02:00
Steve Underwood 6a3bf7c4a7 Further improvements to FAX CTC message handling 2014-07-18 16:08:59 +08:00
Steve Underwood 33a4adba62 Better handling of bad HDLC frames in T.38 gateway operation. 2014-07-18 10:29:23 +08:00
Steve Underwood 52435978d0 Step FAX modem type on sending CTC. 2014-07-17 22:32:17 +08:00
Steve Underwood 6f439d3741 Tweaks, and a fix for FAX polling. 2014-07-16 23:26:20 +08:00
Steve Underwood 54b6a0abce Added explanatory comment on a recent change. 2014-07-09 10:18:00 +08:00
Steve Underwood 40214821cb Added additional checks that HDLC frames arriving at the T.38 gateway engine
begin with the correct 2 bytes.
2014-07-08 20:48:15 +08:00
Steve Underwood c3798dbb02 FAX tweaks 2014-06-29 02:11:25 +08:00
Steve Underwood ad1e7e9632 Fixed updating of the modem type after a FAX ECM CTC. 2014-06-28 16:43:05 +08:00
Steve Underwood 557f1d05ac Fixed issue handling modem renegotiation when a T.30 CTC message is received.
Please enter the commit message for your changes. Lines starting
2014-06-23 08:51:41 +08:00
Steve Underwood b15f373cd9 Tweaks 2014-06-20 02:58:33 +08:00
Steve Underwood b780371943 Improved TSB85 tests, which now check call clearing.
FAX now differentiates properly between <page result code> and <image> <page resuly code> when deciding how to retry.
2014-06-20 00:24:10 +08:00
Steve Underwood fc7a74905b Various little memory leak possibilities in spandsp sorts, and the spandsp
test suite is now mostly OK with valgrind.
2014-06-14 19:49:05 +08:00
Steve Underwood 94ab52cd01 Improved FAX disconnect handling 2014-06-11 10:52:54 +08:00
Steve Underwood 10647be5a0 Fixed incorrect T.30 CTC messages. Fixed reseting of the CRC generator
in the HDLC tx code
2014-06-11 01:49:29 +08:00
Anthony Minessale 36e72b86ca force spandsp rebuild 2014-06-05 22:07:08 +05:00
Steve Underwood 3549488e8e Fixed a problem in FAX where a received handshake, delayed so much it is
received as we queue a retry, causes the retry frame to remain queued in the
HDLC entity.
2014-06-04 23:54:03 +08:00
Steve Underwood 44252a5d69 Various small cleanups in spandsp 2014-05-07 13:11:53 +08:00
Steve Underwood 137fb49dc1 Initialise custom TIFF directory offsets, as some versions of libtiff seem
to only set the low 32 bits of the 64 bit offset if the file only contains
a 32 bit offset.
2014-05-07 03:07:07 +08:00
Steve Underwood 9464549eb6 Corrected data type for TIFF directory offsets 2014-05-07 02:28:27 +08:00
Steve Underwood 68a3250a69 Missing data modems files. They are a work in progress at this time, so don't
expect any functionality.
2014-05-06 21:21:33 +08:00
Steve Underwood 29ea8e9979 Fixed some ARM embedded assembly language typos 2014-05-05 08:33:55 +08:00
Steve Underwood 33da3e5bb8 Some tweaks to spandsp project files 2014-05-04 18:14:36 +08:00
Steve Underwood 38abcf7e2c The APIs for spandsp FAX have changes, removing one of the parameters passed in
the callbacks.
2014-05-04 17:22:28 +08:00
Steve Underwood 28a9a40e37 Various little cleanups, many of them from a clang static analysis 2014-05-02 23:32:33 +08:00
Natanael Copa 317f4b1442 Fix building with musl libc
POSIX says poll.h and signal.h should not be prefixed with sys/ (ie
poll.h instead of sys/poll.h)

limits.h also defines a TZNAME_MAX so we change name of the define for
spandsp.
2014-05-02 11:20:36 -04:00
Steve Underwood b205313f4f More fixes from Coverity scans 2014-05-01 02:56:53 +08:00
Steve Underwood 32c0bfde6b A couple more Coverity issues fixed 2014-05-01 01:19:28 +08:00
Steve Underwood 0ebc79457e Another couple of Coverity related cleanups 2014-04-30 22:51:59 +08:00
Steve Underwood b8bd000bdd More elimination of warnings with clang 2014-04-30 22:27:29 +08:00
Steve Underwood bfacd58fa7 Eliminate some clang warnings 2014-04-30 22:18:46 +08:00
Michael Jerris 6e23eab0cc do set compiler flag that compiler doesn't support 2014-04-30 08:33:09 -04:00
Steve Underwood 21a2e19470 Eliminated another Coverity issue 2014-04-30 14:41:06 +08:00
Steve Underwood ba6457bbe9 Some more coverity issues cleaned up 2014-04-30 13:10:59 +08:00
Steve Underwood dac846cc7e Cleared some simple Coverity issues 2014-04-30 12:42:46 +08:00
Brian West d7abe52384 FS-6309 don't try to use incomplete tgmath.h on NetBSD 2014-03-19 03:35:47 -05:00
Michael Jerris 048ce8d1f3 FS-6293: srcdir builds, most of the built in mods work now 2014-03-14 23:13:34 -04:00
Michael Jerris 4aec16e878 pass top level configure cflags into spandsp too 2014-02-24 13:39:17 -05:00
Steve Underwood 5e0b3fa077 Fixes for things picked up by clang compilation 2014-02-24 12:50:41 +08:00
Brian West 7682d96b3f Getting closer 2014-02-23 20:59:54 -06:00
Brian West d7794af38b DragonFly is very similar to OpenBSD with a dash of NetBSD 2014-02-23 20:43:21 -06:00
Michael Jerris bfad336592 openbsd doesn't like this asm for some reason 2014-02-21 16:17:39 -05:00
Michael Jerris 4f8bb1e465 openbsd has but errors out when you use this header 2014-02-21 15:29:11 -05:00
Michael Jerris bf9e3a1f9e tgmath.h on freebsd is horribly broken and should never be used until they fix their operating system 2014-02-19 16:13:51 -05:00
Michael Jerris 7af0618620 more bsd fixes 2014-02-19 15:56:02 -05:00
Michael Jerris 020c9108a1 add search path for libtiff on bsd 2014-02-19 15:04:30 -05:00
Steve Underwood b2cca974c1 Second attempt to fix the use of aligned_alloc with BSD 2014-02-08 22:36:29 +08:00
Steve Underwood 4fa68fcd75 A change to spandsp/src/alloc.c which hopefully improves BSD compatibility 2014-02-08 16:50:53 +08:00
Steve Underwood a61edbd8dc Removed a couple of unused variables 2014-02-08 16:25:10 +08:00
Michael Jerris fa0de66ec8 .gitignore 2014-01-29 17:56:51 -05:00
Anthony Minessale 7c2c032497 rm gen files 2014-01-27 06:17:32 +05:00
Peter Olsson 5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Steve Underwood 63136410ad Fixed poor checking for ARM NEON 2014-01-17 23:16:23 +08:00
Steve Underwood f7a407feca Removal of some pointless callback parameters in the spandsp AT command
interpreter, and fixes for my congential inability to reliably spell psuedo,
er, pseudo, er, whatever.
2014-01-16 00:47:29 +08:00
Jeff Lenk 069941f1da fix spandsp for windows build 2013-12-09 16:37:56 -06:00
Steve Underwood eb3e843692 Eliminate a warning from valgrind, that might potentially be reporting actual
trouble.
2013-12-07 01:57:59 +08:00
Steve Underwood d5a7495a72 This should fix the FAX crashes when negotiation falls back to slower modems 2013-12-05 21:49:59 +08:00
Steve Underwood 9edbbd9c61 Tweaks to FAX modem handling. These do NOT fix the occassional crashes people
see, but they are working towards a clean and complete fix.
2013-12-05 21:10:57 +08:00
Steve Underwood 7d6b0e48b7 Added an XML script to the FAX tests which will provoke the crashing
issue seen recently in spandsp's FAX engine. The next step is to fix
the actual crash.
2013-12-05 13:34:25 +08:00
Jeff Lenk bb53175526 FS-6010 --resolve 2013-11-29 22:16:49 -06:00
Steve Underwood 54ae6ff6c1 Adjusted the test for -Wunused-but-set-variable in spandsp, so it gets the
answer right with clang.
2013-11-01 10:32:32 +08:00
Steve Underwood f532640c49 Fixed an embedded assembly language constraint issue 2013-11-01 02:44:11 +08:00
Steve Underwood 2cdfb045d2 Update some of the MSVC files for spandsp 2013-10-20 20:55:23 +08:00
Steve Underwood eee96c60c9 Tweaks 2013-10-19 18:51:50 +08:00
Steve Underwood 348e9ba1d1 Eliminate a few more warnings in Windows builds 2013-10-16 01:33:37 +08:00
Jeff Lenk e7287f901f fix windows build for recent spandsp commit 2013-10-12 16:40:29 -05:00
Steve Underwood 9990be4209 Avoid use of config.h in build environment tools in spandsp 2013-10-11 23:42:06 +08:00
Steve Underwood 25a942e12c Updated the MSVC version of spandsp.h to follow the generated one 2013-10-09 22:37:01 +08:00
Jeff Lenk 6d0069a0cf add missing decel for last spandsp commit 2013-10-06 20:26:24 -05:00
Steve Underwood 489053beb9 Some polishing of FAX modem Tx handling 2013-10-06 01:25:39 +08:00
Steve Underwood 1d76b2f907 Tweaks to logging in spandsp 2013-10-05 16:07:19 +08:00
Steve Underwood 08201d590a Fixed the comments generated by make_t43_gray_code_tables.c 2013-09-18 21:55:16 +08:00
Jeff Lenk 11fc9175cc FS-5770 --resolve revert accidental commit 2013-09-16 09:41:32 -05:00
Steve Underwood fb238ed997 Tweaks 2013-09-13 23:44:10 +08:00
Steve Underwood b9e307c0ca Improved handling of page lengths in the T.85 decoder 2013-09-08 17:19:00 +08:00
Jeff Lenk e95dd61616 FS-5760 thanks for the heads up on the missing files - tortoisegit has a bug with that 2013-09-05 10:16:01 -05:00
Jeff Lenk 64b463710d FS-5760 committed compiler fixes only 2013-09-05 08:41:41 -05:00
Steve Underwood 44b01bee6b Some tweaks to FAX processing 2013-09-05 04:30:57 +08:00
Steve Underwood 6a272a5529 Fix compile problem with the last spandsp update 2013-09-02 10:58:47 +08:00
Steve Underwood cfe6fccec9 A few little tidyups and the eliminate of a potential crash if the T.85
decoder encounters certain kinds of messed up T.85 images.
2013-09-01 23:37:21 +08:00
Steve Underwood 8b8b91beeb Tweaks to spandsp configuration 2013-09-01 00:36:48 +08:00
Steve Underwood 2ed8e04776 Tweaks to the spandsp alloc functions, and a fix for bi-level image row
squashing.
2013-08-31 03:26:31 +08:00
Steve Underwood c09dec0de1 Fixed jaggies in image resizing.
Split naming of T.81/T.42 type JPEG from normal JPEG. This is in preparation
for allowing the selective output of normal JPEG (like most people want)
and the T.81/T.42 type you might want for forwarding as T.37
2013-08-21 20:08:17 +08:00
Steve Underwood facfa16cae Described the colour FAX illuminants 2013-08-20 09:19:15 +08:00
root 2541bd39aa Make spandsp more toelrant of far end's handling of metric/inch in FAX processing 2013-08-20 02:35:01 +08:00
Steve Underwood d79d28fb4c Formatting tweaks 2013-08-19 23:00:56 +08:00
Steve Underwood d434bfa86f Better tun the use of open_memstream to safe versions of glibc 2013-08-19 22:49:03 +08:00
Jeff Lenk 84e4b38be3 FS-5690 --resolve with bizarre workaround 2013-08-18 17:26:13 -05:00
Steve Underwood b346bf56f5 Some tweaks to colour FAXing and some alterations to the supervisory tones
tables.
2013-08-19 02:04:13 +08:00
Steve Underwood 56725ad2f2 Tweaks for colour FAXing 2013-08-19 01:38:02 +08:00
Steve Underwood 6daf132081 Removed unnecessary fseeks from T.42, and change tried a test with different
default T.42 illuminant, to see if the colours suit screens better.
2013-08-17 03:42:04 +08:00
Steve Underwood d4d2d988a3 Added missing headers to the spandsp Makefile.am 2013-08-16 22:21:17 +08:00
Steve Underwood dfc34d5a96 Some new FAX related variables introduced, to allow access to colour FAXing.
This should be treated as experimental right now.
2013-08-16 10:22:23 +08:00
Steve Underwood a3c1cf0577 Fixed inclusion of a header file that isn't actually finished. 2013-08-09 00:25:18 +08:00
Steve Underwood 365fc08719 Changed spandsp from using TRUE and FALSE to using C99 true and false. It seems
like the quirks we used to get using those with C++ have gone away.
2013-08-08 21:40:28 +08:00
Seven Du 5c7d1ab8d7 fix spandsp build 2013-08-08 09:05:31 +08:00
Anthony Minessale 14ca0b5498 FS-5655 --resolve 2013-08-07 20:40:25 +05:00