1d6ca8fc59
write the output to a temporary file
2018-12-02 16:20:40 -05:00
a74ea34352
introduce partial files
2018-12-02 12:12:58 -05:00
289391a9df
more robust tests for input/output equality
2018-12-02 10:45:36 -05:00
614bd6379b
inplace -> in_place
2018-12-01 17:39:27 -05:00
1e69e89ff9
t: check a few cases of successful option parsing
2018-12-01 17:36:58 -05:00
7189d63c20
check for duplicate options
2018-12-01 17:23:38 -05:00
d67ce423d1
parse_options: return the error message in the status
2018-12-01 13:26:22 -05:00
6f290702a8
catch getopt's errors
2018-12-01 13:03:44 -05:00
b60183c0ca
calling opustags without arguments is now an error
...
Get rid of the exit_now status and simplify the help display code.
2018-12-01 11:36:03 -05:00
c4acca18d8
review the --help message
2018-11-24 20:02:24 -05:00
5b5b67a0df
clean-up the includes
2018-11-24 11:56:43 -05:00
80a4b2ccf6
rewrite ot::read_comments with getline
2018-11-24 11:44:15 -05:00
d1299360de
smart ot::file handle
2018-11-24 11:33:04 -05:00
bfa46273b9
fix ot::read_comments when handling empty lines
2018-11-24 11:33:04 -05:00
26411d3843
t: test ot::read_comments
2018-11-24 11:33:04 -05:00
8949094203
run: return better status
2018-11-18 11:43:45 -05:00
62d56aafff
accompany returned status codes with a message
2018-11-18 11:04:11 -05:00
b9a0ece567
include the error message in ot::status
2018-11-18 10:42:27 -05:00
5445c5bc7c
t: test the ogg writer
2018-11-18 10:15:49 -05:00
cc83a438ae
t: tests for ogg_reader
2018-11-18 09:45:11 -05:00
6ed0326a74
t: copy gobble.opus to the binary directory
2018-11-18 09:34:22 -05:00
0980b35ecd
polish the interface of the opus module
2018-11-17 17:34:51 -05:00
2e88bdc207
t: cli.t -> opustags.t
...
It reflects the module it tests.
2018-11-14 19:56:51 -05:00
e41cf918d1
RAII interface for dynamic ogg packets
2018-11-13 20:46:30 -05:00
82ff7f7751
validate_identification_header: take the ogg_packet
2018-11-13 18:51:28 -05:00
351d6149c9
identification header check in opus.cc
2018-11-13 18:45:44 -05:00
1866dbd1f0
call stderror for ot::status:standard_error
2018-11-13 18:15:43 -05:00
5ff99b620c
ot::error_message
2018-11-13 18:04:26 -05:00
b0e8813be6
t: introduce tap.h
2018-11-13 18:04:08 -05:00
326ae74afa
t: factor opustags_binary and opustags together
2018-11-11 11:19:56 -05:00
497caaa8f3
t: simply the prototype of Perl's opustags
2018-11-11 11:12:26 -05:00
6565cb56b3
t: faithful copy without --overwrite
2018-11-11 11:01:13 -05:00
f664ed94d4
t: generate out.opus in the binary dir
2018-11-11 10:58:33 -05:00
bf386899ae
fix a few signedness warnings
2018-11-11 10:30:48 -05:00
fae547c4eb
t: rename unit.t to opus.t
2018-11-10 14:07:14 -05:00
3aeb2097de
cmake: factor the libogg dependency
2018-11-10 14:00:13 -05:00
2a31c5491b
use std::string instead of ot::string_view
...
String views are cool, but let's play it safe and standard for now. The
impact on performance is insignificant, since most of the job is reading
the ogg file, not actually manipulating tags.
2018-11-10 11:30:30 -05:00
0426c369be
t: test --overwrite
2018-11-10 10:26:12 -05:00
74cc6038b2
t: pass opus data in stdin/stdout
2018-11-10 10:24:14 -05:00
0c4c11032f
general status code enum
2018-11-09 18:28:21 -05:00
2905b193b1
t: trigger all the possible parse errors
2018-11-07 20:46:07 -05:00
9d3e9c20a3
make parse_tags return a precise error code
2018-11-07 20:31:08 -05:00
1744cab9ed
string_view: expose data and size as functions
...
Be consistent with C++17.
2018-11-06 21:01:03 -05:00
d9b96d471d
store the vendor as a string_view
2018-11-06 20:51:55 -05:00
590a6814dd
delete free_tags, now useless thanks to RAII
2018-11-06 20:48:13 -05:00
7ae7a50151
store comments in a std::list
2018-11-06 20:46:34 -05:00
0df7514a83
preserve the extra data after the comments
2018-11-06 18:46:40 -05:00
bd50fb34d9
t: recode a packet with padding (fails)
2018-11-05 19:03:21 -05:00
3e77092f85
t: check that render_tags is faithful
2018-11-05 18:53:01 -05:00
a3a6cb4e36
t: check parse_tags on a simple sample
2018-11-05 18:41:14 -05:00