Modern g++ (11.2) uses -std=c++17 as default, which doesn't permit
dynamic exception specifications anymore. Downgrading to c++11 will
turn the related compiler errors into deprecation warnings:
warning: dynamic exception specifications are deprecated in C++11
probably the reason why people had problems with the sendmail-command
method was because the code passed an invalid envelope-from string. Fix
that by removing the envelope from and have it set by the MTA.
Also switch from the deprecated popen2 to using corresponding methods of
the subprocess module.
this is not only a lot faster, but also allows lossless conversion.
Along that line, don't try to alter the pagesize during conversion to
PDF. PDF-viewer applications do a great job adjusting to the paper-size
as the user wants it, so let the user make the decision. After all when
having the PDF, it is unlikely that it will be printed out anyway.
even if it is overruled by the named options that are also specified
otherwise python complains with the slightly confusing error:
"method requires 1 argument (2 given)"
since otherwise it contradicts the documentation when e.g. sending mail
notifications, as the code that requests e.g. the fax.email property
provides the user as default.
But when using the empty string as documented to use the user's name as
sender, it returns the empty string and that then causes sending the
mail to fail, as there is no recipient.
Install capisuite python module in pkgpython_PYTHON, this puts capisuite as
a module into the standard python path.
cs_helpers.py(in) was renamed to helpers.py(in) and also put into
the capisuite module. The old autoconf code put cs_helpers into
site-packages, and that is not part of the default sys.path any more.
That may be a Debian issue, but having the capisuite python code in two
different directories seemed undesirable enough to warrant this change.
- make Capi::readProfile and attributes used by it static again as
it should be
- make number of maxLogicalConnections auto-detected instead of using 2
as default
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@430 4ebea2bb-67d4-0310-8558-a5799e421b66
Details:
core.py: some fax functions did not return faxInfo even if the C++
implementaion does. Fixed.
fax.py: sendinfo now returns the faxInfo like this:
((result, resultB3), faxInfo)
idle-script: faxInfo is now taken from fax.sendfax() and included into
sendinfo, which is used by MailFaxRecievd message.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@429 4ebea2bb-67d4-0310-8558-a5799e421b66