]>
git.ipfire.org Git - thirdparty/HylaFAX.git/log
Aidan Van Dyk [Wed, 4 Oct 2006 22:11:27 +0000 (22:11 +0000)]
SCO's /bin/sh doesn't accept unquoted words begining with ^ characters.
Quote the grep expressions, as in other uses.
Aidan Van Dyk [Wed, 4 Oct 2006 21:50:36 +0000 (21:50 +0000)]
SCO sed doesn't have the immediate quit "Q" function. With regular q, the
auto-print prints the blank line when doing:
$SED -e '1,/^$/q'
The blank line doesn't play well when we are trying to compose e-mail
headers.
To use the q, we have to suppress the default auto-printing, and then
include a print command "p", like:
$SED -n -e '[...];p'
This patch does that in the e-mail functions, so we now work on SCO as well.
Tested on Linux (GNU Awk), Solaris, and SCO OpenServer.
Aidan Van Dyk [Wed, 4 Oct 2006 21:41:13 +0000 (21:41 +0000)]
Ack! Sorry - hard quit is neccessary "Q" - going back..
Aidan Van Dyk [Wed, 4 Oct 2006 21:26:02 +0000 (21:26 +0000)]
Some $SED portability issues, similar in vein to the $AWK ones.
Most sed handle 0,/^$/d as deleting liens starting right away.
SCO OpenServer can't start at 0, and needs 1, which is technically correct.
Also - SCO's sed doesn't have the "Q" command (hard quit), but since we don't
use auto-print, a normal quit "q" is sufficient.
Aidan Van Dyk [Wed, 4 Oct 2006 17:50:47 +0000 (17:50 +0000)]
Oops - forgot the changed file:
from the doc->cover renaming - cover is 5 characters.
Aidan Van Dyk [Wed, 4 Oct 2006 17:41:39 +0000 (17:41 +0000)]
from the doc->cover renaming - cover is 5 characters.
This fixes faxqclean, which used to remove all cover docuements.
Darren Nickerson [Tue, 3 Oct 2006 04:10:06 +0000 (04:10 +0000)]
Keep those beta's coming!
Patrice Fournier [Tue, 3 Oct 2006 01:47:48 +0000 (01:47 +0000)]
Sets faxrcvd templates to also use the Quoted-Printable encoding.
Patrice Fournier [Tue, 3 Oct 2006 01:00:46 +0000 (01:00 +0000)]
* added quoted-printable encoding option
* email body is encoded according to the template header
* All templates are configured to use Quoted-Printable encoding
Aidan Van Dyk [Mon, 2 Oct 2006 22:40:55 +0000 (22:40 +0000)]
Bug 822
Be more verbose in typerules conversion error.
Patrice Fournier [Mon, 2 Oct 2006 21:12:36 +0000 (21:12 +0000)]
RO templates also had the hostname and port hardcoded...
Patrice Fournier [Mon, 2 Oct 2006 21:10:00 +0000 (21:10 +0000)]
Communication log URL were missing the c prefix in templates.
Aidan Van Dyk [Mon, 2 Oct 2006 21:01:52 +0000 (21:01 +0000)]
Install Romanian template (ro) on make install
Claudiu Cristea [Mon, 2 Oct 2006 20:28:03 +0000 (20:28 +0000)]
Convert line endings from CRLF DOS style to CR Unix style
Claudiu Cristea [Mon, 2 Oct 2006 20:13:45 +0000 (20:13 +0000)]
'Status' is better translated as 'Stare' instead of 'Statut'. Thanks Jonathan Smithe <gigelusster@gmail.com>
Claudiu Cristea [Mon, 2 Oct 2006 20:13:45 +0000 (20:13 +0000)]
'Status' is better translated as 'Stare' instead of 'Statut'. Thanks Jonathan Smithe <gigelusster@gmail.com>
Claudiu Cristea [Mon, 2 Oct 2006 20:13:30 +0000 (20:13 +0000)]
Convert line endings from CRLF DOS style to CR Unix style
Patrice Fournier [Mon, 2 Oct 2006 20:05:23 +0000 (20:05 +0000)]
$FILE was not exported, thus left empty when used in templates
Claudiu Cristea [Mon, 2 Oct 2006 19:22:19 +0000 (19:22 +0000)]
.settings directory from Eclipse added to .cvsignore
Aidan Van Dyk [Mon, 2 Oct 2006 17:28:35 +0000 (17:28 +0000)]
Add Claudiu's Romanian templates.
Aidan Van Dyk [Mon, 2 Oct 2006 17:14:06 +0000 (17:14 +0000)]
Make sure TMPDIR is initialized and setup before we install
our trap handler (which removes TMPDIR)
Aidan Van Dyk [Mon, 2 Oct 2006 17:04:58 +0000 (17:04 +0000)]
Fix substr error found in mawk/gawk differences during discussion on
Bug 828. substr should start from 1, not 0. gawk handles this more
such that starting from 0 seemed ok, but it's not really (and mawk
shows why)
Aidan Van Dyk [Mon, 2 Oct 2006 15:56:40 +0000 (15:56 +0000)]
Back out out changes which seem to be causing problems in beta2:
$VAR and \$VAR substitution in templates caused the preceeding character to be lost.
TAG: PatchSet-1345
Claudiu Cristea [Sun, 1 Oct 2006 09:34:27 +0000 (09:34 +0000)]
.project file from Eclipse added to .cvsignore
Aidan Van Dyk [Sat, 30 Sep 2006 21:21:44 +0000 (21:21 +0000)]
Add Apple (Motorola) USB SM56 modem
Aidan Van Dyk [Sat, 30 Sep 2006 20:48:56 +0000 (20:48 +0000)]
Bug 815: Add HPUX 11.11 support to configure
Patrice Fournier [Mon, 25 Sep 2006 11:41:44 +0000 (11:41 +0000)]
$VAR and \$VAR substitution in templates caused the preceeding character to be lost.
Patrice Fournier [Mon, 25 Sep 2006 11:09:34 +0000 (11:09 +0000)]
Hostname and port were left hardcoded in some templates.
Darren Nickerson [Sat, 23 Sep 2006 16:42:32 +0000 (16:42 +0000)]
First beta of 4.3.1
Aidan Van Dyk [Thu, 21 Sep 2006 09:13:42 +0000 (09:13 +0000)]
Allow Cover page documents to be seen in DOCQ after they were renemed.
Patch from Lee Howard
Patrice Fournier [Mon, 18 Sep 2006 07:16:11 +0000 (07:16 +0000)]
handle +FHNG/+FNG after AT+FDT in Class 2
Aidan Van Dyk [Sat, 16 Sep 2006 21:16:11 +0000 (21:16 +0000)]
Install templates into $SPOOL/etc/templates/
Aidan Van Dyk [Fri, 8 Sep 2006 21:29:47 +0000 (21:29 +0000)]
Align German templates
Aidan Van Dyk [Fri, 8 Sep 2006 21:28:05 +0000 (21:28 +0000)]
Align temlpates where 2-byte sequences make 1 character
Aidan Van Dyk [Fri, 8 Sep 2006 17:41:01 +0000 (17:41 +0000)]
This increases functionality of the templating system. It now supports:
$SOMETHING
Replaced with the $SOMETHING variable
\$SOMETHING
The \$ makes it not take $SOMETHING as a variable
#INCLUDE <file>
Lines *STARTING* with #INCLUDE call the file <file> (relative to $SPOOL)
to be included, so files can include other files.
Aidan Van Dyk [Fri, 8 Sep 2006 17:38:55 +0000 (17:38 +0000)]
JTIME needs to be exported for templates
Aidan Van Dyk [Fri, 8 Sep 2006 15:47:53 +0000 (15:47 +0000)]
Install notify-4.2.sh for users wanting to keep using it.
Aidan Van Dyk [Sat, 2 Sep 2006 12:16:35 +0000 (12:16 +0000)]
Add templates for notify, based on current dictionary translations
Aidan Van Dyk [Sat, 2 Sep 2006 12:13:03 +0000 (12:13 +0000)]
Add templated version of notify, using common-functions
Aidan Van Dyk [Sat, 2 Sep 2006 12:04:52 +0000 (12:04 +0000)]
Save old notify in preparation for new notify
Aidan Van Dyk [Sat, 2 Sep 2006 11:39:26 +0000 (11:39 +0000)]
Docs for TEMPLATE available in faxrcvd
Aidan Van Dyk [Wed, 30 Aug 2006 11:19:24 +0000 (11:19 +0000)]
Vars needs to be exported to used by template's $AWK
Aidan Van Dyk [Wed, 16 Aug 2006 15:55:25 +0000 (15:55 +0000)]
Default templates (english):
Add Content-type line
Aidan Van Dyk [Wed, 16 Aug 2006 15:53:43 +0000 (15:53 +0000)]
Portuguese(BR) faxrcvd templates:
Switch to UTF-8
Add appropriate Content-Type header
Adjust spacing
Aidan Van Dyk [Wed, 16 Aug 2006 15:51:37 +0000 (15:51 +0000)]
Portuguese faxrcvd template:
Switch to UTF-8
Add appropriate Content-Type header
Adjust spacing
Aidan Van Dyk [Wed, 16 Aug 2006 15:47:09 +0000 (15:47 +0000)]
Italian faxrcvd templates:
Switch to UTF-8
Add appropriate Content-Type header
Adjust spacing
Aidan Van Dyk [Wed, 16 Aug 2006 15:44:04 +0000 (15:44 +0000)]
Spanish faxrcvd templates:
Switch to UTF-8
Add appropriate Content-Type header
Adjust spacing
Aidan Van Dyk [Wed, 16 Aug 2006 15:36:00 +0000 (15:36 +0000)]
German faxrcvd templates:
Switch to UTF-8
Add appropriate Content-Type header
Adjust spacing
Aidan Van Dyk [Wed, 16 Aug 2006 15:35:02 +0000 (15:35 +0000)]
French faxrcvd templates:
Switch to UTF-8
Add appropriate Content-Type header
Adjust spacing
Aidan Van Dyk [Wed, 16 Aug 2006 15:15:20 +0000 (15:15 +0000)]
Generic common-functions CreateMailMessage that can be used in both faxrcvd
and notify. This changes faxrcvd to use it, simplifying the faxrcvd script
even more.
Aidan Van Dyk [Tue, 15 Aug 2006 21:01:15 +0000 (21:01 +0000)]
This unifies the mimeEncode() between faxrcvd/notify, which corrects the
notify misuse of uuencode (not striping header/footer)
Aidan Van Dyk [Tue, 15 Aug 2006 19:17:54 +0000 (19:17 +0000)]
Forgot to translate the faxinfo "tag" strings.
Patrice Fournier [Sat, 12 Aug 2006 20:51:29 +0000 (20:51 +0000)]
Usage information was not up-to-date for many utilities
Aidan Van Dyk [Sat, 12 Aug 2006 19:30:50 +0000 (19:30 +0000)]
Oops - these template should have FROMADDR, not fax@ifax.com
Aidan Van Dyk [Sat, 12 Aug 2006 19:30:35 +0000 (19:30 +0000)]
We need to export vars so the sed process can see them for templates.
Aidan Van Dyk [Sat, 12 Aug 2006 19:26:56 +0000 (19:26 +0000)]
These are an initial set of translated templates.
I have taken them as a direct aplication of the current dictionary to the
original mails.
Aidan Van Dyk [Sat, 12 Aug 2006 19:24:51 +0000 (19:24 +0000)]
Initial set of templates for tempated faxrcvd.
These are based on the current emails.
Aidan Van Dyk [Sat, 12 Aug 2006 18:16:16 +0000 (18:16 +0000)]
Add tempate() function to common-functions
Aidan Van Dyk [Sat, 12 Aug 2006 18:12:54 +0000 (18:12 +0000)]
Move encode() from faxrcvd to common-functions.
This should still be unified with mimeEncode in notify, but mimeEncode trumps
variables ($FILENAME) so is not quite suitable.
Aidan Van Dyk [Sat, 12 Aug 2006 18:08:42 +0000 (18:08 +0000)]
Add a parseFaxInfo to common-functions.sh
Aidan Van Dyk [Sat, 12 Aug 2006 18:07:00 +0000 (18:07 +0000)]
move parseQfile to common-functions
Patrice Fournier [Fri, 21 Jul 2006 21:25:55 +0000 (21:25 +0000)]
* don't exit faxq with assertion failure when a job times out and is
interrupted during sending
Aidan Van Dyk [Fri, 21 Jul 2006 18:17:15 +0000 (18:17 +0000)]
Some more of Lee's warning cleanup, being explicit with assignment brackets.
Aidan Van Dyk [Fri, 21 Jul 2006 17:55:20 +0000 (17:55 +0000)]
These are some of Lee's warning cleanups - eliminating dead code that has no effect.
Aidan Van Dyk [Fri, 21 Jul 2006 17:46:10 +0000 (17:46 +0000)]
This patch from Lee helps faxaddmodem cope with some modems:
this allows us some means of identification for Class 2.0 modems like
Motorola CE (wireless phone) that don't give us anything with AT+FMM?
or AT+FMI?
Aidan Van Dyk [Fri, 21 Jul 2006 09:29:30 +0000 (09:29 +0000)]
Another fix from Lee:
If a sender sent a DCS signal that was too-short we were not stopping and
requiring it to be resent. This fixes that.
Aidan Van Dyk [Fri, 21 Jul 2006 09:13:22 +0000 (09:13 +0000)]
This is another fix Lee has kept in his private tree:
fix timeouts in recvECMFrame due to missing timeouts on getModemBit
Aidan Van Dyk [Fri, 21 Jul 2006 08:54:02 +0000 (08:54 +0000)]
Another fix from Lee:
fix indicator when 100% non-zero TCF data is received
Aidan Van Dyk [Fri, 21 Jul 2006 08:52:39 +0000 (08:52 +0000)]
Fix CHANGES
Aidan Van Dyk [Fri, 21 Jul 2006 08:50:25 +0000 (08:50 +0000)]
Another patch Lee has used for a while:
timing, timing... do a Class1SwitchingCmd before sending MCF after PPS-NULL
Aidan Van Dyk [Fri, 21 Jul 2006 08:46:17 +0000 (08:46 +0000)]
This is a patch that Lee has used for a while:
This replaces the usage of Class1SendMsgDelay with Class1SwitchingCmd, which
I believe will be a more reliable approach.
Aidan Van Dyk [Thu, 20 Jul 2006 13:58:54 +0000 (13:58 +0000)]
This is a simple change from Lee to log the error when +FTH=3 fails after EOM.
Aidan Van Dyk [Thu, 20 Jul 2006 13:53:58 +0000 (13:53 +0000)]
Fix config file for parsing Digicom Leanardo modems
Aidan Van Dyk [Wed, 19 Jul 2006 12:48:18 +0000 (12:48 +0000)]
Commit Lee's work on identifying NSF more reliablly - not ignoring the 1st 3 bytes
Aidan Van Dyk [Wed, 19 Jul 2006 12:42:57 +0000 (12:42 +0000)]
Use ln -sf to set links for lib*.so...., so it replaces the old link
when compiling a new version.
Aidan Van Dyk [Wed, 19 Jul 2006 12:41:20 +0000 (12:41 +0000)]
Commited a bunch of smal documentation changes that Lee has made
Aidan Van Dyk [Wed, 19 Jul 2006 12:34:02 +0000 (12:34 +0000)]
Doc update for hylafax-config: fix NO ANSWER/NO CARRIER mixup
Aidan Van Dyk [Wed, 19 Jul 2006 12:31:39 +0000 (12:31 +0000)]
Doc update for hylafax-config - fix FPTS typo
Aidan Van Dyk [Wed, 19 Jul 2006 12:30:22 +0000 (12:30 +0000)]
Doc update for faxcron - expand on fax user
Aidan Van Dyk [Wed, 19 Jul 2006 12:29:43 +0000 (12:29 +0000)]
doc update for wedged
Aidan Van Dyk [Wed, 19 Jul 2006 07:35:46 +0000 (07:35 +0000)]
Bug 805: Data Format returns numbers instead of expected values
dataFormatName() is a string, not an integer, and should be printed with %s
not %d.
Aidan Van Dyk [Wed, 5 Jul 2006 15:54:22 +0000 (15:54 +0000)]
Bug 800: Add timeout to putModemLine
Aidan Van Dyk [Wed, 5 Jul 2006 14:43:45 +0000 (14:43 +0000)]
Whitespace cleanup in faxalter.c++
Aidan Van Dyk [Wed, 5 Jul 2006 14:18:39 +0000 (14:18 +0000)]
another Xerox NSF
Aidan Van Dyk [Wed, 5 Jul 2006 14:16:40 +0000 (14:16 +0000)]
Bug 804: Handling of JBIG tiffs
JBIG TIFFs do not currently support anything but infinite rows per strip, so
the tiffcp "-r" option does not work and causes problems in our historical
usage in tiff2fax. So we don't use the "-r" option when tiffcp'ing JBIGs.
Aidan Van Dyk [Wed, 5 Jul 2006 14:05:37 +0000 (14:05 +0000)]
Bug 783
Some fax machines, notably Brothers, don't like how we will retransmit
a single frame in duplicate. This causes them to truncate the image at
that point. However, some receivers will always miss the first frame
transmitted, and so we must eventually send single frames through in
duplicate to get them through in those cases.
So the first time we retransmit a single frame we do it alone - this
should catch nearly all of the Brother-like situations. Then, if we
have to retransmit that single frame yet again we do it then in duplicate.
Aidan Van Dyk [Tue, 4 Jul 2006 20:56:09 +0000 (20:56 +0000)]
Bug 199 - Improve recovery after Class 1 TCF receipt times out
if we aborted TCF reception we shouldn't then look for NO CARRIER afterwards
Aidan Van Dyk [Tue, 4 Jul 2006 20:45:32 +0000 (20:45 +0000)]
Bug 801: Improve the modem handling of user aborts in Class 1 sending
When aborting sends, we have to return the modem to command mode.
Aidan Van Dyk [Tue, 4 Jul 2006 20:06:05 +0000 (20:06 +0000)]
Bug 792
Add missing From: headers to notify e-mails.
Aidan Van Dyk [Tue, 4 Jul 2006 20:00:53 +0000 (20:00 +0000)]
Bug 798. Although the colour space is CIELab, the encoding is ITULAB
Aidan Van Dyk [Tue, 4 Jul 2006 19:55:27 +0000 (19:55 +0000)]
Lee's fix for Bug 794
parseClass2Capabilities is used for both +FCS and +FIS and consequently needs
to be told which use it is taking and handle DF appropriately
Aidan Van Dyk [Tue, 4 Jul 2006 19:43:44 +0000 (19:43 +0000)]
CHANGES: Previously added
Aidan Van Dyk [Tue, 4 Jul 2006 19:42:19 +0000 (19:42 +0000)]
CHANGES: Previously fixed
Aidan Van Dyk [Mon, 3 Jul 2006 21:08:31 +0000 (21:08 +0000)]
This cleanup tries to move the code in runScheduler more in line with Lee's.
The code now batches jobs from the sleepq and runqs in the same manner as
Lee's, with a helper function batchJob() intruduce to remove some duplication.
It also optimizes unblockDestJobs/setReadyToRun by not calling job control
again immediately when taking jobs from the blocked queue (which have just
job control run to before becoming blocked), again including factoring out
common code into a helper setReady() function.
Aidan Van Dyk [Mon, 3 Jul 2006 14:07:39 +0000 (14:07 +0000)]
Add documentation for the new faxinfo formatting options
Aidan Van Dyk [Thu, 29 Jun 2006 15:15:35 +0000 (15:15 +0000)]
Accidently switched the behaviour of the -n in the faxinfo formatting work.
This changes it back to match historical usage.
Aidan Van Dyk [Mon, 26 Jun 2006 20:55:49 +0000 (20:55 +0000)]
This adds the shortcuts for common alternative formats for faxinfo (like CSV).
Aidan Van Dyk [Mon, 26 Jun 2006 20:44:02 +0000 (20:44 +0000)]
This applies most of the fixes Paulo caught with the faxinfo changes:
1) Off by one in the malloc (NULL termination needed) in escapedSequence
2) smash %n in the format
3) Add a -b for file basename (not using libgen.h though)
4) Add a -D for debug to print the formats being used
Aidan Van Dyk [Mon, 26 Jun 2006 17:19:55 +0000 (17:19 +0000)]
Change the callid printing to use printField as caught by Lee
Aidan Van Dyk [Mon, 26 Jun 2006 17:12:43 +0000 (17:12 +0000)]
Insread of building one big format string:
printf("<-s fmt><value fmt><-e fmt>", name, value)
it keeps them separate:
printf("<-s fmt>", name)
printf("<value fmt>" value)
printf("<-e fmt>", name);
This makes the -s -e formats much easier to understand, and leads to
simpler formats needed, like:
old format new format
------------------- -----------------
-s '%.0s' -s ''
-e '%1$s' -e '%s'