12006-5-27  Britton Leo Kerin <rawrec@letterboxes.org>
2
3        * Version 0.9.991 released.
4
5	* play.c, record.c, move_au.c, move_fd.c: Fixed bug which caused
6	root permissions to be dropped before all threads were created.
7
82006-1-10  Britton Leo Kerin <rawrec@letterboxes.org>
9
10	* main.c: fixed command line help output, fixed problem when
11	program invoked by full path name.
12
13	* all_files: updated copyright.
14
152002-11-28  Britton Leo Kerin  <fsblk@uaf.edu>
16
17        * Version 0.9.98 released.
18
19	* main.c: basename() is no longer used at all.
20
21	* play.c, record.c, ringbuf_init.c: Accounted for fact that POSIX
22	defines for MEMLOCK can be magic numbers meaning features are not
23	available or need a runtime check.  Accounted for fact that libc
24	doesn't seem to set these symbols exactly as specified by the
25	standard.
26
27	* Makefile: Added commented out variable which can define a
28	preprocessor symbol to enable some fancy thread responsiveness
29	features.
30
312002-11-22  Britton Leo Kerin  <fsblk@uaf.edu>
32
33	* globals.c: Comment fix.
34
35	* get_au_blksz.c: Changed type for internal blocksize variable from
36	long to int to hopefully keep ioctl happy.
37
382002-09-02  Britton Leo Kerin  <fsblk@uaf.edu>
39
40	* main.c: Added FIXME comment about limiting core production.
41
422002-06-21  Britton Leo Kerin  <fsblk@uaf.edu>
43
44	* record.c, play.c: Fixed comment to refer to correct variable
45	name.
46
47	* move_au.c: Added a FIXME about wrong-looking dropping of partial
48	samples from the middle of the stream.
49
502002-05-10  Britton Leo Kerin  <fsblk@uaf.edu>
51
52	* Makefile: Used wildcard make function to get rid of explicit
53	header list and .o file list.
54
552002-04-08  Britton Leo Kerin  <fsblk@uaf.edu>
56
57	* usage.c: Made description of -v flag better.
58
59	* usage.c: Added newlines after first line of usage() output.
60
612002-03-19  Britton Leo Kerin  <fsblk@uaf.edu>
62
63	* rawrec.h: Added clarifying comment.
64
652002-02-09  Britton Leo Kerin  <fsblk@uaf.edu>
66
67	* Makefile, audio_close.c, audio_init.c, data_close.c, data_init.c,
68	err_die.c, get_au_blksz.c, get_format_code.c, globals.c,
69	is_pow_two.c, main.c, min.c, move_au.c, move_fd.c, play.c,
70	process_command_line.c, rawrec.h, record.c, ringbuf_close.c,
71	ringbuf_init.c, set_au_blksz.c, shutdown_signal_handler.c,
72	sleep_on_option.c, test_dsp_params.c, thread_functions.h, usage.c,
73	write_silence_on_option.c: Imported sources into CVS.
74
752002-01-02  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
76
77	* src/record.c (record): Now uses __func__ to report function name
78	if the unrecognized sample format bug occurs.
79
802001-12-12  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
81
82	* err_die function now used wherever appropriate.
83
84	* src/Makefile (debug): Now invokes gcc with -v option.
85	(debug): No longer does clean first.
86
872001-12-01  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
88
89        * src/play.c (play): Fixed prototype for shutdown_signal_handler,
90	removed bogus cast due to bad prototype.
91        * src/record.c (record): Fixed prototype for
92	shutdown_signal_handler, removed bogus cast due to bad prototype.
93        * src/shutdown_signal_handler.c (shutdown_signal_handler): Used
94	signal value as flag true value.  Added prototype.
95
96	* src/Makefile: Fewer compilation warnings by default.
97
982001-11-16  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
99
100        * src/Makefile (CFLAGS): Introduced new subvars WARNFLAGS,
101	DEBUGFLAGS, and OPTFLAGS.
102
103        * src/Makefile (debug): Fixed target, changed to use -ggdb3 flag.
104
1052001-03-27  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
106
107        * Version 0.9.97 released.
108
109	* src/play.c (play): Skipping in pipes now correctly uses
110	audio_fragsz instead of incorrect app->fragsz.
111	* src/play.c (play): The audio device is now grabbed and the
112	audio_fragsz determined before skipping (as per -j or -J).
113
1142001-03-26  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
115
116        * Version 0.9.96 released.
117
118	* src/process_command_line.c (process_command_line): If the
119	channels are not set exactly as requested, the user is always
120	notified, regardless of the verbosity setting.
121
122	* src/process_command_line.c (process_command_line): When
123	INVALID_PARAM is returned by test_dsp_params, the value that
124	failed to get set is reported to the user in the error.
125
1262001-03-23  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
127
128	* src/main.c (main): Invalid argument to -f option no longer
129	displays full usage information.
130
131	* src/get_format_code.c (get_format_code): New file
132	get_format_code.c, new function get_format_code translates string
133	representation of sample format to driver integer code.
134        * src/Makefile: New file names added to OBJS and SRSC.
135	* src/test_dsp_params.c (test_dsp_params): Now calls
136	get_format_code.
137	* src/audio_init.c (audio_init): Now calls get_format_code.
138
139	* src/test_dsp_params.c: Fixed typo bug which caused u16_le format
140	to be improperly tested as format AFMT_U16_BE.
141
1422001-03-20  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
143
144	* src/play.c (play): Jumping (-j and -J options) code modified to
145	allow jumping into pipes using throw away reads.
146
1472001-03-19  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
148
149	* src/main.c (main): Added --version option.
150
1512001-03-07  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
152
153	* src/process_command_line.c (process_command_line): INT64_MAX
154	used for maximum ap.samplim if __GNUC__ defined.
155	* src/rawrec.h: (parameters_stt): Conditional use of int64_t for
156	samplim, sys/types.h #include 'd.
157        * src/rawrec.h: Local definition of INT64_MAX if __GNUC__ defined.
158
159	* src/write_silence_on_option.c (write_silence_on_option): changed
160	types of bytes_silence and bytes_done from long to double to allow
161	long silent writes.
162
163	* src/Makefile (CFLAGS): Added new defines to enable LFS.
164
1652001-02-18  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
166
167	* src/Makefile: install is not used instead of cp, and directories
168	are created if they don't exist.
169
1702001-01-01  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
171
172	* src/process_command_line.c (process_command_line): added
173	exit(EXIT_FAILURE) to INVALID_CHANNELS error condition.
174
1752000-12-13  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
176
177	* Version 0.9.95 released.
178
1792000-12-08  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
180
181	* src/main.c (main): added exit(EXIT_FAILURE) after usage() for
182	badly names executables.
183
1842000-12-03  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
185
186        * src/Makefile (distclean): New target.
187
188        * docs/user/rawrec.1: Updated to include information on signal
189	handling and buffer overflow behavior.
190
191	* src/Makefile (bin_install): Now correctly depends on $(PROG),
192	which prevents relinking on make install.
193
194	* src/Makefile: Removed -m486 from CFLAGS.  Not that I've tested
195	anything on other archs yet.
196
197        * src/move_au.c (move_au): When recording, move_au now aborts the
198	entire program if a trylock on a segment fails (if it finds itself
199	waiting on move_fd).
200
201	* Added special shutdown processing for SIGTERM.  Involved adding
202	shutdown_signal_seen and tell_main_follower_done flags and
203	associated mutex awareness to play, record, move_au, move_fd, and
204	term_handler.
205	* New file: src/shutdown_signal_handler.c. Contains a handler
206	function which allows us to perform clean shutdown on SIGTERM.
207	Mechanism should work fine for other signals as well, but
208	currently only SIGTERM and SIGINT get special treatment.
209
2102000-09-01  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
211
212	* src/ringbuf_close.c (ringbuf_close): added free(is_last_seg)
213
2142000-08-24  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
215
216	* Version 0.9.94 released
217
218	* src/play.c (play): jump_bytes set from time_startjump is now
219	correctly rounded down to a multiple of (app->channels * bps / 8)
220	(no more hideous static from unlucky arguments to -j option).
221	* src/write_silence_on_option.c (write_silence_on_option):
222	modified to write correctly rounded number of bytes as above
223
2242000-08-22  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
225
226	* Version 0.9.93 released
227
228        * src/globals.c (have_root_authority): added global
229	have_root_authority, modified other functions to allow operation
230	with or without root permissions
231
232	* src/ringbuf_init.c (ringbuf_init): error checking on all mallocs
233	* src/write_silence_on_option.c (write_silence_on_option): error
234	checking on all mallocs
235
236	* src/move_fd.c (move_fd): added wait on condition variable
237	wrap_ready_cv to prevent buffer wrap around before second thread
238	started
239
240	* src/ringbuf_init.c (ringbuf_init): code to determine seg_cnt now
241	insists on at least three segments (so staggered locking works
242	right)
243
244	* src/main.c (main): changed format of long option names to hyphen
245	seperated words, rather than underscore seperated words
246	* src/usage.c (usage): changed output to reflect new option name
247	format
248
2492000-08-18  Britton Leo Kerin  <fsblk@aurora.alaska.edu>
250
251	* src/play.c (play): changed audio_init call to use correct
252	FOR_WRITING instead of incorrect FOR_READING
253
2542000-08-17  Britton Leo Kerin  <fsblk@aurora.alaska.edu>
255
256	* src/play.c (play): actual lseek moved inside conditional so
257	lseek is only called if time_startjump or samp_startump nonzero
258
2592000-08-09  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
260
261	* Version 0.9.9 released
262
263	* src/main.c (main): changed long option --format to
264	--sample_format to agree with documentation
265
2662000-08-08  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
267
268        * Version 0.9.8 released
269
270	* src/process_command_line.c (process_command_line): added case to
271	handle setting of sample limit when a filename is given to rawplay
272	without a time limit.
273
274	* src/process_command_line.c (process_command_line): when a limit
275	gets set, then ap.time_limit_set and ap.samp_limit_set also get
276	set as appropriate (except when the limit is a bogus maximum of a
277	type).
278
2792000-08-04  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
280
281	* src/Makefile (bin_install): added suid warning
282
2832000-08-03  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
284
285	* all vars holding large byte counts are now doubles, not longs
286
287	* src/Makefile: man_install target now links rawplay.1 to rawrec.1
288
2892000-07-25  Britton Leo Kerin  <fsblk@aurora.uaf.edu>
290
291	* Version 0.95 released (first public release)
292