May 26, 2007
View 17cde66541

- darwin sigwait() bug workaround: on darwin sigwait is buggy: it will cause extreme slow down on signal delivery for the signals it doesn't wait on (I've measured a 36s delay on a 1.5Ghz powerbook). The workaround is: sigwait() on all the signals we are interested in ser and manually call the master signal handler (sig_usr(sig_no)) if the signal!= slow timer signal.

Andrei Pelinescu-Onciul authored on 26/05/2007 11:12:29
View f233d28135

- changed darwin module link flags (instead of -bundle_loader ser -flat_namespace -undefined suppress) -- in this way the build module dependecy on ser is removed

Andrei Pelinescu-Onciul authored on 26/05/2007 10:55:39
May 25, 2007
View 6776abcd5a

- fixed TMCB_E2ECANCEL_IN wrong value - fixed wrong buffer length in some TMCB_RESPONSE_SENT callback calls - switched TMCB_E2ECANCEL to path the cancel transaction as param. and not the invite one (bugs reported by Gergely Kovacs <gergo@iptel.org>)

Andrei Pelinescu-Onciul authored on 25/05/2007 16:15:11
View 08067fd56f

- more darwin build with libs fixes (works now) - sercmd is no longer force-rebuilt every time

Andrei Pelinescu-Onciul authored on 25/05/2007 15:50:11
May 24, 2007
View 6aa46ec4aa

- tmcb onsend callbacks update (they get also the request or the reply if they are known when the callback is called) - added unlikely() when checking if an onsend callback has to be called (so that the branch will be predicted as untaken)

Andrei Pelinescu-Onciul authored on 24/05/2007 18:01:19
View 32b645a4d4

- added TMCB_E2E_CANCEL_IN callback, called each a CANCEL mathcing an exisitng invite transaction arrives - fixed has_tran_tmcb typo(?)

Andrei Pelinescu-Onciul authored on 24/05/2007 09:59:39
View 5684e3bd1c

needed to call Makefile.nonser in subdirectories

Vaclav Kubart authored on 24/05/2007 07:49:15
View 893fd82d60

creating links with relative path instead of absolute - helps when installed into other directory than used for run

Vaclav Kubart authored on 24/05/2007 07:47:25
May 21, 2007
View da33ba737c

- generic build libs fixes - untested darwin support for automatically setting the library path / rebuilding the lib on changed install path (on darwin the library install path is stored in the library itself and from there it is copied in the linked object => if the library path is changed we have to re-link the library instead of re-linking the object that links it)

Andrei Pelinescu-Onciul authored on 21/05/2007 13:55:51
May 18, 2007
View e507677070

- darwin: if no locking method found revert to sys v sems (neither pthread mutexes or unnamed posix sems work in darwin for inter process synchronization)

Andrei Pelinescu-Onciul authored on 18/05/2007 10:15:21
View 1b8e22766b

- reverted to addic instead of addi - sometimes gcc uses r0 as the second operand in addi and addi rD,r0, val is a special case, equivalent with rD=0+val and not rD=r0+val. addic does not have this problem (but sets the carry flag in XER). - some macro fixes

Andrei Pelinescu-Onciul authored on 18/05/2007 10:08:47
May 17, 2007
View 6884496e28

- experimental lockless callback insert (callback registration should now be safe from everywhere)

Andrei Pelinescu-Onciul authored on 17/05/2007 11:04:56
View 8502fb8dce

Added functions for storing/loading flagged attributes according to user-defined key. Documentation will be updated soon (documentation of this module is out of date and needs to be completely rewritten). solves SER-252

Vaclav Kubart authored on 17/05/2007 09:58:05
May 16, 2007
View b31f3f4bf2

- fixed compile problems when DIALOG_CALLBACKS is defined

Andrei Pelinescu-Onciul authored on 16/05/2007 18:56:42
View 562b6d06af

- callbacks can register to be also called when the transaction or dialog is destroyed (so that they can free their parameters if needed)

Andrei Pelinescu-Onciul authored on 16/05/2007 18:32:17