russell
d99b677f35
remove almost all of the checks of the result from ast_strdupa() or alloca().
...
As it turns out, all of these checks were useless, because alloca will never
return NULL.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 13:22:15 +00:00
russell
4985725e60
remove checks of the result of ast_mutex_lock
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25716 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 21:27:47 +00:00
russell
0a10ced39a
revert a patch that wasn't supposed to be committed ... oops
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25714 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 21:07:12 +00:00
russell
fdb839ee42
make sure that the MOD_SUBDIR_CFLAGS and OTHER_SUBDIR_FLAGS come before
...
ASTCFLAGS so that -Iinclude comes before any system include path
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25686 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 21:00:16 +00:00
rizzo
70020a2853
do not export the tzlock and the list head, and introduce a new method,
...
ast_walk_indications(), to walk through the list of indications.
The new method returns an unlocked record, which is no different from the
behaviour of other existing methods in indications.c
(i.e. they all need to be fixed, with refcounts or some similar
method).
Note that ast_walk_indications() uses the pointer argument only as a
search key, so its implementation is completely safe.
In turn, this change allows the removal of AST_MUTEX_DEFINE_EXPORTED.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16532 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30 17:10:11 +00:00
rizzo
9aeb117db9
mention issues with the protection of the list used in indications.c
...
(part of work done to figure out what is used and what is not in lock.h)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16124 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29 16:00:51 +00:00
russell
bdb1758d15
conversions to allocation wrappers and various other coding guideliens fixes (issue #6582 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11231 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-27 01:37:56 +00:00
kpfleming
24c1e3c222
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29 18:24:39 +00:00
twisted
affd985bf2
issue #5826
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7188 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-23 05:03:42 +00:00
russell
2c3b3edc86
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
markster
e62d1e4e33
Make indications work more efficiently and without heavy floating point (bug #5360 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6796 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 03:07:15 +00:00
kpfleming
95fe2b8fd4
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
markster
74994ed0a3
Merge midi changes (bug #4441 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5928 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17 14:25:44 +00:00
kpfleming
6f0f46299c
more file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming
b2cbb6a75d
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
kpfleming
d6e1341f9b
phase 1 of header include cleanup (bug #4067 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 13:11:34 +00:00
kpfleming
31e8dcf4fe
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
markster
9f592c60af
Fix misspellings of separate (bug #3607 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5034 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-16 02:58:18 +00:00
markster
ee9a76e7cb
Merge russell's flag macro patch (with slight mods) (bug #3046 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4469 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-16 03:15:20 +00:00
markster
4d714a5488
Big diet for struct ast_channel
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4399 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-07 20:38:43 +00:00
markster
19e9dc4858
Need actual offset space (bug #2076 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3469 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-18 15:58:57 +00:00
citats
899ce8fd6d
Misc formatting cleanups
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3279 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 20:11:15 +00:00
citats
00b34f3e0a
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 18:49:00 +00:00
markster
7d00f23ad4
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09 01:45:08 +00:00
markster
2e4c989ffb
Initialize frame for playtones just in case
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3138 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-03 17:06:33 +00:00
markster
b837107b6b
Get rid of all that old needlock garbage now that we're using recursive mutexes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2644 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-06 22:17:32 +00:00
markster
5acf40987d
Make read/write mode have a lock parameter and use it properly.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2572 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-27 06:50:12 +00:00
markster
324d5b785f
Take out unnecessary setting of delivery times.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2510 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-21 07:35:40 +00:00
markster
8113df26dc
Fix milliwatt and musiconhold to know about delivery times
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2508 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-20 23:31:40 +00:00
markster
89201083ba
Add queue logging and fix indications buglet
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2159 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-12 22:11:02 +00:00
markster
444e48a0d1
Don't free if it's NULL
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2154 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-11 05:14:19 +00:00
markster
043834c47d
Fix several memory leaks
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2153 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-11 03:54:28 +00:00
markster
9cb49092c8
Various minor cleanups (bug #931 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2087 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-28 21:32:48 +00:00
malcolmd
404eacef92
Fix to generate tones having one amplitude modulated by another: Bug #746
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1902 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-08 15:47:16 +00:00
markster
dbc9edcaac
Totally revamp thread debugging to support locating and removing deadlocks
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1310 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-13 15:25:16 +00:00
martinp
5f8cdb4012
Fix the playtones app so that we can pass the tones as an argument ( we don't need to refer to a defined tone in indications.conf )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1102 f38db490-d61c-443f-a65b-d21fe96a405b
2003-06-17 18:59:58 +00:00
markster
246797b309
More contributed BSD enhancements
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@919 f38db490-d61c-443f-a65b-d21fe96a405b
2003-04-27 21:34:27 +00:00
matteo
342cf00fb7
dom mar 16 23:37:23 CET 2003
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@647 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-16 22:37:31 +00:00
markster
bfeaccab3d
Version 0.3.0 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@600 f38db490-d61c-443f-a65b-d21fe96a405b
2003-02-04 15:48:42 +00:00