Commit Graph

225 Commits

Author SHA1 Message Date
Kevin P. Fleming 35fa97d1d5 use the proper method for adding a new entry
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 19:26:26 +00:00
Kevin P. Fleming df814221c1 Merged revisions 30296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30296 | kpfleming | 2006-05-25 12:39:33 -0500 (Thu, 25 May 2006) | 2 lines

don't try to use -march=s390 when building on S/390 systems (reported via asterisk-users mailing list)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 17:39:46 +00:00
Russell Bryant 74cb39729b further codec module optimization based on codec_alaw changes by rizzo
(issue #7190, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 22:57:03 +00:00
Luigi Rizzo ab5b298805 remove an unused variable, and while at it
add some very minor optimizations.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 09:56:38 +00:00
Russell Bryant 4b49f667d2 remove unused variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:37:18 +00:00
Russell Bryant b88c06b8b5 add some code optimizations, see the report for an explanation
(issue #7105, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 13:37:11 +00:00
Russell Bryant 5f856ea997 minor code optimizations to reduce the number of times that the ast_frame
and ast_trans_pvt pointers have to be dereferenced (issue #7069, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:36:17 +00:00
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
Kevin P. Fleming 1bba6ec6fc merge rizzo's codec module rework (very similar to the format module rework)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 21:40:57 +00:00
Joshua Colp 5b1069f262 Add more 64-bit detection goodness (issue #6850 reported by evilbunny)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:57:49 +00:00
Luigi Rizzo 2326d0d499 Bring in the new loader code as described in mantis #4377
and updated to today's version.

The core of the patch is only two files, loader.c
and include/asterisk/module.h, with the other files
touched only to adapt non-standard usages of the
reference counts and localuser lists.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 21:15:10 +00:00
Kevin P. Fleming b0ac62573a revert loader changes that have clearly not undergone adequate testing before commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 23:22:44 +00:00
Tilghman Lesher bdd24455b4 Bug 4377 - Round 2 of the loader updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 06:02:46 +00:00
Matthew Fredrickson eb368fdd93 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14001 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-03-21 19:28:12 +00:00
Tilghman Lesher adef31698f Bug 6709 - Simplify extensive embedded ifneq logic (and fix missing endif's)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-13 05:24:13 +00:00
Russell Bryant 083a9627b5 Merged revisions 12577 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r12577 | russell | 2006-03-12 12:57:37 -0500 (Sun, 12 Mar 2006) | 2 lines

fix build on parisc (issue #6704)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-12 18:07:23 +00:00
Kevin P. Fleming 6204abdae2 merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 22:53:49 +00:00
Kevin P. Fleming 4ed461db16 set proper mime-type and eol-style on all files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 19:14:15 +00:00
Russell Bryant febbc165a1 fix codec_ilbc.so build - it would build before, but libilbc.a was not linked
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-13 01:58:33 +00:00
Kevin P. Fleming e7c198453d ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 16:52:42 +00:00
Kevin P. Fleming 80b1a19566 don't blow up if multiple copies of the headers are found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 20:48:48 +00:00
Kevin P. Fleming 1f5555735a use auto-build for codecs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 17:41:36 +00:00
Kevin P. Fleming c7da92d2ea fix compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 03:13:25 +00:00
Matthew Fredrickson 4f803dfda0 Lots of little fixes for doing MSVC compiling codecs in windows (#6022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 23:37:27 +00:00
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 18:39:41 +00:00
Russell Bryant fbdc8ce317 conversions to use allocation wrappers (issue #6277)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 08:45:39 +00:00
Matthew Fredrickson 67e32c3f2d fix for codec_gsm on ia64 (#6294)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 23:28:37 +00:00
Russell Bryant ba56332ce8 formatting and doxygen fixes (issue #6300)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 23:23:00 +00:00
Russell Bryant 4a7cec937d remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 17:51:35 +00:00
Russell Bryant 62084f9736 use the system libgsm if available (issue #5434, modified to still work with builtin libgsm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 08:16:53 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming c14588af86 remove remaining .cvsignore files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:09:49 +00:00
Kevin P. Fleming 0941c32d38 issue #5569 minus lock.h changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 04:13:19 +00:00
Kevin P. Fleming 77390dfeaf issue #5572
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 03:31:45 +00:00
Russell Bryant 31a804b97c issue #5605
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 15:09:47 +00:00
Kevin P. Fleming 7ffb604a2f issue #4678
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Russell Bryant 3332a8acd1 clean up a lot of doxygen errors and warnings (issue #5522)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 23:11:36 +00:00
Russell Bryant 6324072247 more doxygenification (issue #5513)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 13:03:17 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Russell Bryant 7d7090ef8f look in CROSS_COMPILE_TARGET for speex headers (issue #5118)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-05 15:48:47 +00:00
Kevin P. Fleming b67fced7ae correct Makefile errors (issue #5072)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 21:29:58 +00:00
Kevin P. Fleming 9519f6c5f4 clean up, use make functions instead of subshells, remove unused stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:54:02 +00:00
Kevin P. Fleming 8e3af106db update to use Speex 1.1.x features and doc cleanups (issue #4755)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 20:14:06 +00:00
Kevin P. Fleming fd781b3174 use memmove() when memory regions might overlap (issue #4957)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:52:38 +00:00
Kevin P. Fleming 85eb4c9afb support DTX and CNG in speex (bug #4608)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 22:20:16 +00:00
Kevin P. Fleming 21332e531e various speex fixes (bug #4253)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 23:16:32 +00:00
Kevin P. Fleming 0e9d920a60 move tools used during build into build_tools subdirectory
clean up Makefile headers


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20 17:26:08 +00:00
Mark Spencer df909bed06 Fix ipaq build (bug #4545)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18 17:54:15 +00:00