File: CHANGES

package info (click to toggle)
cstream 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 536 kB
  • sloc: ansic: 1,622; sh: 886; makefile: 346
file content (259 lines) | stat: -rw-r--r-- 5,519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
3.2.4:
------

Fix incorrect rejection of large block sizes.

Fixes from Jimmy Olgeni.

Fixes from Hans Ulrich Niedermann.

3.2.3:
------

Fix bug when invoking with no arguments.

3.2.2:
------

Move throughput measuring end to after close(2).

3.2.1:
------

print throughput after fsync, if requested.

3.2.0:
------

-O F option (do an fsync at the end of the output file).

When closing files fails, exit with an error code.

3.1.1:
------

-n <nbytes_to_stream> was not clear to use numbers > 2 GB.  I didn't
notice since it worked fine if you used suffixes "K/M/G" as long as
the number was < 2 G.  Sorry about that.

3.1.0:
------

O_DIRECT supported for input.

3.0.0:
------

IPV6 support for IPV6 day 2011.

The IPV6 support shouldn't break anything after hostname lookup
succeeds.  Issues might be building on older platforms if I screwed up
the autoconf mechanism to not compile it in.

Having said that, assorted little code cleanups are in this release,
too.  They shouldn't break anything but non-IPV6 things were touched.


Aftermath for 2.7.4 - 2.7.6:
----------------------------

ATTENTION:
I'm afraid that support for the '-B <size_of_buffer>' was clobbered in
2.7.4 or whereabouts.  This one allowed you do have a reader do
multiple reads before the writer could write or vice versa.

Change reverted in 2.7.6.

2.7.4 and 2.7.5 do not have working -B.

2.8.0:
------

Support platforms that do not have open(2) with O_DIRECT.
Such as MacOS X.

2.7.6:
------

Revert 2.7.3 which broke -B

2.7.5:
------

NetBSD and general pkgsrc compatibility.  Should get rid of the only
patch used in pkgsrc.

2.7.4:
------

Print the message that we switch to normal from O_DIRECT only when
verbose > 0.

SEE ABOVE, broke -B.

CHANGE reverted

2.7.3:
------

More c flags changes for more portability.

2.7.2:
------

Fix compilation under Redhat-7.3.

2.7.1:
------

Support for $CSTREAM_AUDIO_BITRATE.

2.7.0:
------

Support for O_SYNC and O_DIRECT, but only on the output side for now.

Please send mail if you want this for input.

2.6.1:
------

Timer-based throughput reports from -T<n> will now also print what the
throughput since the last report was.  Useful when performance changes
during runtime.

2.6.0:
------

Bandwidth limiting was not > 4 GB clean on platforms with 32 bit
integers.  I had lost an already existing fix here.


2.5.2:
------

Commandline options, options to -O and -I:
-ON
-IN

which prevents cstream from interpreting filenames with ":" in them as
TCP specifications.  By default the presense of a colon means host:port.

2.5.1:
------

Add option -T <interval> which will print the statistics every
<interval> seconds.

2.5:
----

There was a 4 GB limitation on 32 bit machines when you used bandwith
limiting.  Thanks to Sergey M. Serov for reporting!

2.4.1b:
-------

Use SO_REUSEADDR on serving socket.

2.4:
----

Bandwidth limiting is not not only as a strict maximum at any point in
time but now you can also limit for the session as a whole.  Do so by
giving a negative bandwidth limit.  To make it clear: if the session
was running below the limit for some time for other bottlenecks in the
chain, then it will run above the limit to make good for it at other
times when it can.

2.3:
----

Identical to 2.3b3, sigchld handling is assumed to be correct now and
works with various versions of the Linux kernel.

Version 2.3 has sound support, see e.g. `cstream -Oa -o /dev/dsp`.

2.3b3:
------

Further SIGCHLD fixes.

2.3b2:
------

Fix SIGCHLD handling so that stopping and continuing the child in a
concurrent mode would not terminate.

2.3b1:
------

Version 2.3 has sound support, see e.g. `cstream -Oa -o /dev/dsp`

version 2.2:
------------

TCP/IP socket support.

Linux glibc 64 bit files.

Version 2.1:
------------

- Add audio mode: -O a/-I a try to switch output file into CD-quality
  16bit 44100Hz stereo mode.  If input is just generated, a sine wave
  of 440 Hz will be played.
- Add tee-fd mode.  -O t will copy the stream to file descriptor 3
  (which must already be opened by parent process).

Version 2.0:
------------
- Add -c flag for concurrent mode.
- Add -B flag (buffering of multiple input blocks before output
  blocks are written).
- Add -l flag (statistics will include line count).
- If input data is just 'generated', use a buffer that remotely
  resembles ASCII text with a line length of 76 chars and has a
  newline at the end of data.
- Number of bytes transferred is also displayed in GB/MB/KB, if
  appriopriate. 
- Change throughput report to be shorter.
- Add automatic tests `make check`.
- Througput reporting on signals got the wrong time when cstream was
  not called with -v > 0.
- Use SIGINFO for throughput report.
- Use more values from configure script.
- Throughput report is now asynchronous, not after next read() or write().
- Throughput report will report buffer fillage if -B is in use.

Version 1.4:
------------

- Fix Linux compilation problems.
- The -b and -t options now also recognize 'k', 'm', 'g' for kilo-,
  mega-, gigabyte like the -n option did.
- The signal for shutdown is now SIGUSR2, not SIGHUP.

Version 1.3:
------------

- Fix permissions of created files
- You can now specify the input file without using a switch (if it is
  the last argument)
- Improve messages

Version 1.2:
------------

- Argument checking for -v was broken, fixed.

Version 1.1:
------------ 

- Fix version number reporting, introduce -V switch.
- Fix usage() typos.

Version 1.0:
------------

- Initial version.