Commit Graph

114 Commits (7876a359ad141ebcdad6e00225355ec352f341cf)

Author SHA1 Message Date
Jeff Peeler 7876a359ad Fix a deadlock in device state change processing.
15 years ago
Jeff Peeler ab95a82f60 Ensure editline cleanup occurs when Ctrl-C is pressed at control console.
16 years ago
Russell Bryant bcd4e8787c Fix a 100% CPU consumption problem when setting console=yes in asterisk.conf.
16 years ago
Tilghman Lesher 0994ab3574 Less than zero is an error, not any non-zero value.
16 years ago
Tilghman Lesher 408cf5d2a2 Ensure that all areas that previously used select(2) now use poll(2), with implementations that need poll(2) implemented with select(2) safe against 1024-bit overflows.
16 years ago
Tilghman Lesher 307d1b7888 Avoid race with consolethread on shutdown (on parallel processors).
16 years ago
Tilghman Lesher 7258f41a2b Don't change ownership/group/permissions on run directory, if it already exists.
16 years ago
Russell Bryant 0dbe3c9921 Backport unit test API to 1.4.
16 years ago
Tilghman Lesher 458abdf68c Ensure restartable system calls can restart (BSD signal semantics)
16 years ago
Tilghman Lesher f703a2d7fa Prevent CLI prompt from distorting output of lines shorter than the prompt.
16 years ago
Tilghman Lesher a9b91b8435 Use sigaction for signals which should persist past the initial trigger, not signal.
16 years ago
Terry Wilson 7e9a71f5d8 Merged revisions 265320,265467 via svnmerge from
16 years ago
Tilghman Lesher abe8ae27a3 Launch Asterisk on Mac OS X with launchd.
16 years ago
Tilghman Lesher 096a41e440 Some platforms clear /var/run at boot, which makes connecting a remote console... difficult.
16 years ago
Sean Bright 90bf027119 Update main copyright date.
16 years ago
Michiel van Baak 9d6f7502ac Update copyright year in visible output. (cli)
16 years ago
Tilghman Lesher 366ef836c1 Fix a bunch of off-by-one errors
17 years ago
Tilghman Lesher 63cc189747 AST-2009-005
17 years ago
Sean Bright 7605487610 Safely handle AMI connections/reload requests that occur during startup.
17 years ago
Tilghman Lesher a8dc553099 Add debugging mode for diagnosing file descriptor leaks.
17 years ago
Eliel C. Sardanons a81abfbd02 Avoid destroying the CLI line when moving the cursor backward and trying to autocomplete.
17 years ago
Russell Bryant 6efa254bea Fix cases where the internal poll() was not being used when it needed to be.
17 years ago
Russell Bryant 7374b9195f Update the copyright year for the main page of the doxygen documentation.
17 years ago
Tilghman Lesher c257ffeed0 Lose the CAP_NET_ADMIN at every fork, instead of at startup. Otherwise, if
17 years ago
Tilghman Lesher e34da1e519 Extra NULLs in the output cause some terminal types to abort in the middle of
17 years ago
Tilghman Lesher 5dd486be22 Compile, even if both DAHDI and Zaptel are not installed.
17 years ago
Jeff Peeler e0bec5d67d (closes issue #13480)
17 years ago
Tilghman Lesher 6d268e6d39 Simple fix for Ctrl-C not immediately exiting Asterisk, but also add a
17 years ago
Tilghman Lesher f6ef5d5d6c When a Ctrl-C or Ctrl-D ends a remote console, on certain shells, the terminal
17 years ago
Russell Bryant c2446000d9 Remove the test_for_thread_safety() function completely.
17 years ago
Russell Bryant 96d185b5aa Move the sanity check that makes sure "always fork" is not set along with the
17 years ago
Kevin P. Fleming add5ff5b05 fix a bunch of potential problems found by gcc 4.3.x, primarily bare strings being passed to printf()-like functions and ignored results from read()/write() and friends
18 years ago
Russell Bryant 17f164852c Move AMI initialization to occur after loading modules. This prevents a
18 years ago
BJ Weschke 656de6f30d As per kpfleming's comments to the prior commit, I'm reverting some of the changes here.
18 years ago
BJ Weschke 77b4928d8d Fix the 1.4 branch compile again broken with r150557 when using with Zaptel and not DAHDI
18 years ago
Jason Parker 979e2cd58d Correctly allow chan_dahdi to compile against older versions of Zaptel.
18 years ago
Russell Bryant 46b65b2cc0 Add the licensing section to the docs in 1.4, as well, so that we can work on
18 years ago
Kevin P. Fleming cd12517eeb make some more changes to the dahdi/zap channel name support stuff to ensure allthe globals are 'const', and clean up mmichelson's changes to app_chanspy to simplify the code
18 years ago
Mark Michelson 252c5728fc As suggested by seanbright, the PSEUDO_CHAN_LEN in
18 years ago
Kevin P. Fleming 6a0bcc4754 fix up namespace pollution for dahdi_chan_mode enum
18 years ago
Kevin P. Fleming 75c6f9ab0f a whole pile of Zaptel/DAHDI compatibility work, with lots more to come... this tree is not yet ready for users to be easily upgrading or switching, but it needs to be :-)
18 years ago
Tilghman Lesher f03638747b The RDTSC instruction was introduced on the Pentium line of microprocessors,
18 years ago
Jeff Peeler f9818af8dd Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff should continue working. Release announcement to follow.
18 years ago
Tilghman Lesher 7ca3880d4e NULL character should terminate only commands back to the core, not log
18 years ago
Tilghman Lesher 2454daba41 Also remove preamble from asynchronous events (reported by jsmith on #asterisk-dev)
18 years ago
Tilghman Lesher 0b0f6a1a58 Strip the preamble from the output also when -rx is not being used
18 years ago
Russell Bryant 67634386e9 Don't filter the magic character in the network verboser. It gets filtered
18 years ago
Russell Bryant 2c4b2d92dd 1) Don't print the verbose marker in front of every message from ast_verbose()
18 years ago
Russell Bryant 8183ebfbcc Don't display the verbose marker for calls to ast_verbose() that do not include
18 years ago
Tilghman Lesher 2fc71fe563 If the socket dies (read returns 0=EOF), return immediately.
18 years ago