1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00
Commit Graph

406 Commits

Author SHA1 Message Date
Moritz Grimm
05c7e32997 Fix command line parsing regression 2015-05-06 16:59:05 +00:00
Moritz Grimm
43e48648fa Refactor configuration (work in progress)
* Move -m and -n command line options into the config file
* Restructure configuration file:
  - Group into "server", "stream", "media", "metadata", "decoders", and
    "encoders"
  - Untangle decoder and encoder:
    o Decoders match on file extensions and convert to a canonical "internal"
      format
    o Encoders create one of the supported stream formats, potentially using
      different parameters (like bitrate)
  - Consistently specify stream format
  - Enable reencoding by selecting an encoder
* Architecturally separate configuration file storage from parsing
  - Allows for different configuration back-ends in the future, like
    YAML, SQL, REST API, ...
* Support roll-back in case of error on (re)load
* Anticipate HTTPS support
2015-05-06 00:38:00 +02:00
Moritz Grimm
ffa2a01c96 Add missing change to xreallocarray() in previous 2015-04-23 00:02:51 +02:00
Moritz Grimm
ab268e9616 Strip xalloc to something much simpler
The libxalloc was reincarnated long ago in a separate utility library.
It did a good job help make ezstream have robust memory management years ago,
but now it's time to move on and get back to basics.

The replacement introduces reallocarray(), which is an overflow-checking
alternative to both malloc (NULL ptr) and realloc().
2015-04-22 23:38:19 +02:00
Moritz Grimm
c6747ef998 Prefer SIGSEGV over SIGABRT in case of explicit internal API abuse
While here, declare some module-internal functions static.
2015-04-22 19:50:00 +02:00
Moritz Grimm
41058dac79 Use log API for all regular output messages
This makes ezstream log via syslog and stderr. The "real-time status
line" remains unaffected.
While here, make the output more concise and consistent.
2015-04-22 19:29:20 +02:00
Moritz Grimm
19af508eae Add a simple logging API
Uses syslog
2015-04-16 19:30:41 +02:00
Moritz Grimm
85c90a3c80 Add support for compiler attributes 2015-04-16 19:30:36 +02:00
Moritz Grimm
9bc65bf717 Factor out command line parsing 2015-04-16 19:30:08 +02:00
Moritz Grimm
4062cc190a Streamline -s option by always requiring an option argument 2015-04-16 19:25:40 +02:00
Moritz Grimm
e3b3ed4cf9 Remove active support for Windows and certain legacy UNIX systems 2015-04-15 23:16:12 +02:00
Moritz Grimm
512e9f2230 Distribute compat/compat.h 2015-04-15 13:52:06 +02:00
Moritz Grimm
dd1ab911c9 Two more indent fixes. 2015-04-15 13:20:32 +02:00
Moritz Grimm
26dd4d2a8e Indent closer to my favorite style(9)
Why yes, it /is/ KNF!
2015-04-13 23:28:21 +02:00
Moritz Grimm
400ef3c9cc Remove comments mentioning the FSF postal address
I do not plan to ever keep that up to date in case they move again.
If you need a copy of the GPL, use the Internet or read COPYING.
2015-03-24 22:42:06 +01:00
Moritz Grimm
7502a3685e Update GPLv2 text from https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
Outdated license text pointed out by ppisar in ticket #2185.
2015-03-24 22:32:14 +01:00
Moritz Grimm
96146fd65c Update to latest strlcat.c 2015-03-03 00:29:47 +01:00
Moritz Grimm
cb3787c577 Switch to current autotools 2015-02-27 23:11:39 +01:00
Moritz Grimm
c243ed5971 Fix cast 2015-02-27 23:02:55 +01:00
Moritz Grimm
8390d09b24 Clean up number of compiler settings 2015-02-27 22:59:20 +01:00
Moritz Grimm
739a08b5b9 Untangle compatibility code
* update to latest strlc*(3) and strtonum(3) functions
* isolate local_basename()
2015-02-27 22:42:51 +01:00
Moritz Grimm
00017d2165 Unconditionally include compat 2015-02-27 15:17:24 +01:00
Moritz Grimm
291ed50044 Drop RCS ID tag 2015-02-23 13:51:55 +01:00
Moritz Grimm
8819f0f9f9 Require automake 1.10 everywhere 2015-02-23 13:51:47 +01:00
Moritz Grimm
ee0700992e Merge branch 'release/0.6.0' 2015-01-18 01:22:10 +01:00
Moritz Grimm
8b4a5beb64 Add missing NEWS entry for Ticket 1620 2015-01-18 00:53:58 +01:00
Moritz Grimm
a138c39be6 Set release date for today. 2015-01-18 00:24:09 +01:00
Moritz Grimm
a7f3ae476d Always include time.h. 2015-01-17 23:50:11 +01:00
Moritz Grimm
7790164cc3 Consolidate INCLUDES into AM_CPPFLAGS 2015-01-17 23:34:32 +01:00
Moritz Grimm
e2e0345d2e Rename configure.in to configure.ac 2015-01-17 23:33:06 +01:00
Moritz Grimm
378d99e6c0 Remove quotes from metadata examples 2015-01-17 22:39:26 +01:00
Moritz Grimm
382c687660 Update tree(3) 2015-01-17 22:35:05 +01:00
Moritz Grimm
dd4c241fef Update copyright and/or author email 2015-01-17 22:34:34 +01:00
Moritz Grimm
d94afc59e0 Bump version 2015-01-17 22:11:09 +01:00
Moritz Grimm
da3c066b48 Update 3rd party URLs 2015-01-17 22:10:58 +01:00
Moritz Grimm
1ca7cee192 Stop tracking history in ChangeLog, that's what Git is for 2015-01-07 23:42:24 +01:00
Moritz Grimm
6211bc8506 Fix a shell command injection vulnerability in metadata
This has been reported by Alexandre Rebert in February 2013(!).
The time to fix is terrible; luckily, the affected user base is likely to be
very small.
2015-01-07 22:49:09 +01:00
Moritz Grimm
538b497192 Add missing NEWS entry for #2045 2015-01-07 22:41:35 +01:00
Moritz Grimm
29ae1b351b Remove unneccessary assignment 2015-01-04 23:43:25 +01:00
Moritz Grimm
10f739f6f3 Add option -m to disable active metadata updates
Requested by cmodyssey via ticket #1620:
"Allow ezstream to stop it sending metadata information by configuration"
2015-01-03 23:19:28 +01:00
Moritz Grimm
f04c395106 Do not close stdin on EOS
From gquintard via ticket #2045:
"Not sending data to stdin can throw ezstream into an infinite loop"
2015-01-03 00:08:12 +01:00
Moritz Grimm
ddb322499f Ignore generated files 2015-01-02 23:06:22 +01:00
Moritz Grimm
47fc346294 Revert all changes since release_0_5_6
The individual commits have been cherry-picked into develop. From
now on, master will always reflect the released state of the code
as per the Gitflow branching model.

See http://nvie.com/posts/a-successful-git-branching-model/ for more
information.
2015-01-01 23:44:22 +01:00
moritz
549af56184 Add new <metadata_refreshinterval/> feature
Add new <metadata_refreshinterval/> feature and configuration option. Based on
a patch by Matthew Adams (thanks!), with minor changes and documentation
additions by me.

(cherry picked from commit 4176545211)
2015-01-01 23:41:31 +01:00
moritz
3042e74ee0 Make ezstream history consistent
Rewrite my part of ezstream history: Replace "ADD" with "NEW".
I changed this without noticing, and this makes it consistent again.

(cherry picked from commit e189a36789)
2015-01-01 23:40:02 +01:00
moritz
82b59b717d ezstream-file_template.xml should also contain <stream_once/>.
(cherry picked from commit cfe1900c8c)
2015-01-01 23:38:44 +01:00
moritz
4176545211 Add new <metadata_refreshinterval/> feature and configuration option. Based on
a patch by Matthew Adams (thanks!), with minor changes and documentation
additions by me.


git-svn-id: https://svn.xiph.org/trunk/ezstream@17301 0101bb08-14d6-0310-b084-bc0e0c8e3800
2010-06-21 18:39:26 +00:00
moritz
e189a36789 Rewrite my part of ezstream history: Replace "ADD" with "NEW". I changed this without noticing, and this makes it consistent again.
git-svn-id: https://svn.xiph.org/trunk/ezstream@17300 0101bb08-14d6-0310-b084-bc0e0c8e3800
2010-06-21 18:10:48 +00:00
moritz
cfe1900c8c This example should also contain <stream_once/>.
git-svn-id: https://svn.xiph.org/trunk/ezstream@16547 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-09-01 07:16:14 +00:00
moritz
86e093909f Post-release version bump.
git-svn-id: https://svn.xiph.org/trunk/ezstream@16541 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-08-31 07:20:15 +00:00