Commit Graph

86 Commits

Author SHA1 Message Date
Lars Immisch b62ee3004e Fixes for contemporary setuptools, autoconf update
The fix for finding the Python Makefile directly in configure is a hack, of course, but I ca'nt find it in autoconf
2016-12-02 22:29:44 +01:00
Tilo Prütz 9f38971d33 Revert "Gentoo's “fax compatibility” patch"
This reverts commit 3413f4c72a.

The patch was originally from Gernot Müller for patching a problem with incompatible fax receivers
[1].
It violates the CAPI specifications and therefore should not be included [2].

[1] http://osdir.com/ml/linux.isdn.capisuite.user/2004-05/msg00043.html
[2] https://github.com/larsimmisch/capisuite/pull/7#issuecomment-26650942
2013-10-29 15:31:12 +01:00
Tilo Prütz 428f6cf592 the remains of Gentoo's Python 2.5 patch 2013-10-11 11:39:24 +02:00
Tilo Prütz 3413f4c72a Gentoo's “fax compatibility” patch 2013-10-11 11:39:20 +02:00
Tilo Prütz 095a1c2dce Gentoo's GCC-4.3 patch 2013-10-11 11:39:14 +02:00
Tilo Prütz 1f56cdb4d1 Typo-Fix that was corrected in Gentoo's API-Patch 2013-10-11 11:39:00 +02:00
Lars Immisch d36c789423 Patches from Gerd v. Egidy (slightly reworked) 2013-08-23 17:52:41 +02:00
Lars Immisch 1410b36fe5 New autoconf/automake version 2013-08-14 10:34:48 +02:00
Lars Immisch ff5125118a Added clean target 2013-08-14 10:32:03 +02:00
Christian Lohmaier 375d5cda09 don't return empty user-values, but return default instead
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.
2013-05-25 11:08:04 +02:00
Lars Immisch eb002f080f Fix remote inquiry.
Create symbolic link to README (automake insists on it).
2012-03-09 00:42:58 +01:00
Lars Immisch c6c51e4daa New automake/autoconf versions. 2012-03-07 11:29:21 +01:00
Lars Immisch f75255640c Python layout changes.
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.
2012-03-07 10:57:02 +01:00
Lars Immisch fd0e9ae989 memcpy needs string.h 2012-03-04 13:16:33 +01:00
Lars Immisch 982c49385d Detect CAPI_LIBRARY_V2 and extend the argument lists for the latest CAPI. 2012-03-04 13:14:05 +01:00
gernot a404a1119e - improve comments, remove old history
- 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
2005-02-01 18:57:09 +00:00
htgoebel 69398972d7 Fixed passing fax-info about received faxes to MailFaxRecievd message.
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
2005-01-28 19:35:51 +00:00
gernot 1a4c1eedeb add come comments from Hartmut so they don't get lost
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@427 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-26 21:02:59 +00:00
htgoebel 284682a4da Added mapping ISDN/CAPI-error-codes to user friedly text-messages.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@425 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-23 12:07:01 +00:00
htgoebel 9f0c5f72e6 * Added core.Capi.__repr__()
* Fixed core.Call.__repr__() (can't use %x for representing handle)


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@424 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 13:53:38 +00:00
htgoebel 27a6451bc7 Fixed aborting non-existing fax jobs (this was caused by a duplicate
identifier in exceptions.py).


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@423 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 13:22:48 +00:00
htgoebel dc6217c64a core.Call.__repr__() includes handle, service and numbers now.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@422 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 13:20:42 +00:00
htgoebel 1c5da4b790 * Test whether core.log is available prior to using is (it is
currently only available if running within capisuite)
* some minor code clean up in _setProtection()


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@421 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 12:53:55 +00:00
htgoebel 18485a9269 Return codes of fax.sendfax() hade wrong order in case of capi.call_faxG3() failed. Fixed.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@420 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 11:29:44 +00:00
htgoebel b1e851f619 Debugged sending faxes.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@419 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-21 19:48:48 +00:00
htgoebel 32fa45cda1 __known_sections__ has had the old names (containing spaces) for the
Mail* sections. Fixed.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@417 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 20:09:57 +00:00
gernot 65438ac13a add missing parameter, change some names according to Hartmut's suggestions
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@406 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-09 10:46:15 +00:00
gernot d1608780ab First rough ideas of new classes for mail delivery and item storage.
Comments welcome.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@405 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-08 08:41:32 +00:00
gernot 2a6f2ace71 fix installation paths for capisuite-py files, fixes bug #108
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@390 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-07 09:15:15 +00:00
htgoebel 57a9865dde added GPL license information to src/capisuite-py/*.py files
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@388 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-03 18:59:47 +00:00
htgoebel 71edbe1da9 * Enhanced for SCons build system:
- Added traget 'dist' and 'distcheck' for creating and testing a
    distribution archive (.tar.gz).
  - Added env.InstallMan() for easy installation of man pages.
  - Added more fine-grained 'install-*' targets sub-aliases of
    'install' this allowed some cleaning up in SConscripts.
  - Added target 'rpms' for build source and binary RPMs (currently
    the .spec file is hardcoded).
  - Updated tests to status of current ./configure script
    (CS_TEST_CAPI4LINUX, CS_TEST_SFFTOBMP, CS_SET_DOCDIR)
* Enhanced for SCons build scripts for supporting SCons 0.96's
  'toolpath' feature.
* Use prebuild man pages from SVN repository. Building from docbook is
  still to do.
* New SConscript for building .spec files.
* Added .spec for Mandrake 9.2


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@385 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-02 22:05:17 +00:00
gernot d2fbc2506f fix another "automake doesn't work in SVN version" problem...
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@381 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-12-29 23:23:18 +00:00
gernot e0c8664770 fix some comments
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@380 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-12-13 18:57:10 +00:00
gernot b90495a088 -regenerate with the sfftobmp changes, add two other missing files
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@374 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-12-04 06:52:38 +00:00
gernot a22481c4fc - merge branches/py-lib, revisions 265-325 to trunk
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@328 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-10-31 14:07:07 +00:00
gernot b75a6e0f54 delete old obsolete CVS info
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@318 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-08-14 10:34:51 +00:00
gernot a208cb46ce add autogenerated files as these are difficult to generate for many
people when trying to build the CVS version


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@316 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-07-15 00:21:01 +00:00
gernot c345ad9d9d support new parameter in ALERT_REQ of newer capi4linux
versions, thx to Steffen Barszus for reporting and the fix


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@315 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-07-15 00:19:15 +00:00
gernot 9f5d6ed52a prevent CapiSuite from crashing when a too high DDIBaseLength was
configured, thx to Michael Ressel for reporting and analyzing



git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@309 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-06-10 20:48:11 +00:00
gernot 4f33b2dc2c shorter is better :)
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@285 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-03-20 11:24:14 +00:00
gernot c621d21748 2004-03-20 Gernot Hillier <gernot@hillier.de>
* src/application/pythonscript.h: extend prefix() so that it can
          create a short prefix, too; use short prefix for Python traceback 
          (fixes bug #63, reported anonymously)
        * src/application/pythonscript.cpp: Likewise.



git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@284 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-03-20 11:15:01 +00:00
gernot afbe12ee88 2004-03-09 Hartmut Goebel <h.goebel@crazy-compilers.com>
* src/application/idlescript.cpp: Reduced delay until
          idlescript.py is called the first time after startup.



git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@278 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-03-13 22:57:34 +00:00
gernot dc43bcade6 2004-02-20 Gernot Hillier <gernot@hillier.de>
* src/application/capisuite.cpp: changed include order to get rid of
          the "_POSIX_C_SOURCE redefined" warning (thx to Hartmut Goebel)
        * src/application/capisuitemodule.cpp: Likewise.
        * src/application/idlescript.cpp: Likewise.
        * src/application/incomingscript.cpp: Likewise.
        * src/application/pythonscript.h: Likewise.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@236 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-20 14:33:08 +00:00
gernot 7afe826bdc 2004-02-17 Hartmut Goebel <h.goebel@goebel-consult.de>
* docs/manual.docbook: fixed some syntax errors
        * src/application/pythonscript.h: fixed #include statement
        * src/backend/connection.cpp: Likewise.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@232 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-17 22:31:59 +00:00
gernot ad6c633600 2004-02-11 Gernot Hillier <gernot@hillier.de>
* scripts/incoming.py (faxIncoming,CVS log): fixed two typos /
          removed not allowed german umlauts
        * src/modules/audioreceive.h (AudioReceive): correct exception
          declaration order (thx to Matthias Haberkorn for the patch)
        * src/modules/callmodule.h (mainLoop): Likewise.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@229 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-11 05:17:43 +00:00
gernot a67f0e5b9f 2004-02-08 Gernot Hillier <gernot@hillier.de>
* src/backend/connection.cpp (data_b3_conf): fix behaviour when
          DATA_B3_CONF comes immediately after DATA_B3_REQ


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@226 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-08 21:09:28 +00:00
gernot 40b4aa8042 2004-02-08 Gernot Hillier <gernot@hillier.de>
* src/application/capisuitemodule.cpp (capisuite_audio_send,
          capisuite_fax_send): catch some missing Exceptions
        * src/backend/connection.{cpp,h} (connectWaiting,rejectWaiting): throw
          CapiExternalError instead of CapiError when user passed a wrong call
        * src/backend/connection.{cpp,h} (connectWaiting,connect_b3_active_ind,
          disconnect_b3_ind,disconnect_ind,data_b3_ind,facility_ind_DTMF,
          info_ind_alerting,info_ind_called_party_nr,select_b_protocol_conf,
          alert_conf,data_b3_conf,facility_conf_DTMF,disconnect_b3_conf,
          disconnect_conf,send_block,start_file_transmission): add CapiError to
          allowed throwable objects in declaration
        * src/modules/audiosend.{cpp,h} (mainLoop): Likewise.
        * src/modules/callmodule.{cpp,h} (mainLoop): Likewise.
        * src/modules/faxsend.{cpp,h} (mainLoop): Likewise.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@225 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-08 21:06:08 +00:00
gernot 08c5fa93fc 2004-01-10 Gernot Hillier <gernot@hillier.de>
* .cvsignore: added stamp-files
        * docs/manual-de.docbook (creating_alaw): small stylistic improvement
        * src/capisuite.conf.in, src/application/capisuite.cpp (CapiSuite,
          readConfiguration): added new options DDI_base, DDI_length and
          DDI_stop_numbers
        * src/application/capisuite.cpp (checkOption): nicer output format
        * src/backend/capi.{cpp,h} (Capi,readMessage): new parameters for DDI,
          enable Called Party Info Element if DDI is used; accept Called
          Party Info Element; pass on DDI options to Connection object
        * src/backend/connection.{cpp,h} (Connection,info_ind_called_party_nr):
          new parameters for DDI; interpret Called Party Info Element, get
          CalledPartyNumber from there instead of CONNECT_IND when DDI is used;
          docu improvements
        * src/modules/connectmodule.h: disabled the automatic adding of CVS log
          messages


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@203 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-01-10 14:16:40 +00:00
gernot 8861fe7d46 * src/modules/connectmodule.{h,cpp} (ConnectModule): throw
CapiExternalError only when connection's already up, otherwise
  use CapiWrongState


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@201 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-12-31 16:28:55 +00:00
gernot 803d71524c - reworked TODO, disabled automatic log message adding to source files
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@197 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-12-28 21:01:04 +00:00