comparison lisp/erc/ChangeLog @ 98560:7a2a452a3e7d

ERC: DCC fixes.
author Michael Olson <mwolson@gnu.org>
date Wed, 08 Oct 2008 04:05:10 +0000
parents 9592c50233ab
children 54f0f48fe43e
comparison
equal deleted inserted replaced
98559:1543d4143479 98560:7a2a452a3e7d
1 2008-10-03 Michael Olson <mwolson@gnu.org>
2
3 * erc-dcc.el (english): Increase size heading by two places.
4 (erc-dcc-byte-count): Move higher.
5 (erc-dcc-do-LIST-command): Use erc-dcc-byte-count to get accurate
6 count. Coerce byte total to floating point before performing
7 computation, otherwise division will truncate to 0.
8 (erc-dcc-append-contents): Update erc-dcc-byte-count.
9 (erc-dcc-get-filter): Don't update erc-dcc-byte-count, because
10 that will give incorrect size totals. Instead, figure out how
11 much we have by summing byte count and current buffer size.
12 (erc-dcc-get-sentinel): Don't update erc-dcc-byte-count.
13
14 2008-10-01 Michael Olson <mwolson@gnu.org>
15
16 * erc-dcc.el (erc-pack-int): Make sure returned string is within 4
17 bytes. Always return a 4-byte string, so that we conform to the
18 CTCP spec.
19 (erc-most-positive-int-bytes): New constant representing the
20 number of bytes that most-positive-fixnum can be stored in.
21 (erc-most-positive-int-msb): New constant representing the
22 contents of the most significant byte of most-positive-fixnum.
23 (erc-unpack-int): Make sure that the integer we get back can be
24 represented in Emacs.
25 (erc-dcc-do-CLOSE-command): Update docstring. Don't use the line
26 variable. Try to disambiguate between type and nick when only one
27 is provided. Validate both type and nick arguments. Allow
28 matching by just nick.
29 (erc-dcc-append-contents): Set inhibit-read-only to t. Prevent
30 auto-compression from triggering when we write the contents to a
31 file.
32 (erc-dcc-get-file): Prevent auto-compression from triggering when
33 we truncate a file.
34
1 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu> 35 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2 36
3 * erc.el: Remove code for Carbon. 37 * erc.el: Remove code for Carbon.
4 38
5 2008-06-07 Glenn Morris <rgm@gnu.org> 39 2008-06-07 Glenn Morris <rgm@gnu.org>