Re: Where Should I Get the Latest SLRN?
- From: Troy Piggins <usenet-0802@xxxxxxxxx>
- Date: Sat, 09 Feb 2008 06:57:16 +1000
* P B is quoted & my replies are inline below :
On 2008-02-08, P B <newsposter625@xxxxxxxxxxxxxxxxx> wrote:
I've been using slrn 0.9.8.1 for several months now and really enjoying[...]
Is the sourceforge.net SVN repository the "official" location of slrn<snip>
source code?
OK, sorry for following up to my own post, but I just installed the
latest S-Lang and SLRN. Everything's gone off without a hitch so far.
I don't suppose anyone would be willing to summarize the major changes
between .0.9.8.1 and pre0.9.9-84? (ahem, paging Mr. Piggins ... )
There's been some traffic on the slrn-user mailing list about
this in the last 24hours. Discussions about updating the slrn
website, documentation, and whether or not to release 0.9.9
stable. The spark for this was instigated by the ever-faithful
PJR :)
The major changes as I understand it, or rather that I have
noticed, have been better handling of UTF8 chars, and bugfixes
too many to mention. If you've installed pre0.9.9-84 there will
be a file called changes.txt in the slrn source directory which
lists this since 0.9.8.1:
--------------------------------------------------------------------------
Changes since 0.9.8.8pl1
0. Removed the dependency on automake. As a result, the configuration
options have changed. Run `./configure --help` to see the current
options.
1. Reorganized the code a bit by moving some of the code in util.c to
strutil.c. Eventually I want to remove ugly constructs such as
'#include "score.c"' from slrnpull.c. This is a step in that
direction.
2. Code simplification in various places including the use of unsigned
variables where appropriate.
3. When following-up on an article with no Newsgroups header, assume
it is from a mailing list and reply instead.
4. Fixed some character-set encoding issues.
5. Improved the email-address parser. I also removed the check for a
domainname because some local mailing lists may not require them.
Moreover a domain name should not be required when forwarding an
article to a local user.
6. src/jdmacros.h: On FreeBSD do not include malloc.h
7. src/config.hin: Add __attribute__ check for printf-style functions
8. src/post.c: Some cleanup and reorganization of the post-functions
9. src/art.c: Fixed a SEGV in the cancel lock code. Slrn_Version was
being used instead of Slrn_Version_String.
10. src/*.c: Renamed slrn_strchr to slrn_strbyte to emphasize that
this function does not work with wide characters.
11. src/strutil.c: slrn_case_str[n]cmp were not handling NULL pointers
in non-utf-8 mode (Thomas Wiegner).
12. src/art.c: non-7 bit characters were not be displayed properly in
UTF-8 mode after rot13. (Thomas Wiegner).
13. src/mime.c: When decoding mime, do not allow \n characters in the
header, and if they occur in the body, split lines accordingly
(Thomas Wiegner).
14. src/post.c: In the prepare_header function, sizeof(buf) was being
used for a char *buf. This was causing Cc addresses to get
truncated to 3 characters. Also the some unchecked malloc
failures were caught.
15. src/art.c: Added support for Mail-Reply-To. If it exists, it
takes precedence over a Reply-To header. This header is used by
mailing lists.
16. src/mime.c: Added a routine to "guess" an unknown character set.
Eventually this will be replaced by a slang-hook.
17. src/post.c: User-generated message-ids were getting corrupted.
18. src/misc.c: Removed the slang-1 specific code.
19. src/mime.c: Better support for long header lines and long encoded
words. Does this break X-Face?
20. src/misc.c: In the rli_self_insert function, do not call
SLrline_redraw, which is buggy in slang-2.0.7. The function is
not needed here anyway.
21. src/charset.c, mime.c: Add Thomas Wiegner's fallback-charset patch.
22. src/mime.c: Made the encoding functions table-driven for easier
maintance and control. Change #19 caused Message-Id and
References to get encoded if they were too long. This change
avoids that.
23. src/mime.c: rewrote "fold_line" to fold a header even if one of the
words is too long.
24. src/art.c+xover.c: Changed the way header fields are allocated to
avoid some memory leaks.
25. src/post.c: large overhaul of code that converts the to-be-posted
file to the linked list for conversion to mime.
26. src/hdrutils.c: new file.
27. src/mime.c: rewrote the routine that mime-enocodes the body of a
post.
28. src/slrnpull.c: Updated to reflect changes in #24. NOTE: slrnpull
has not been tested in any way.
29. src/mime.c: Error in fold-line permitted it to generate lines
larger than the 75 character maximum.
30. src/mime.c: It appears that a mime-encoded X-Face header is not
very well supported. After reviewing the source code to compface,
it appears that a naive folding will work. Time will tell...
31. src/art.c: If the reply function is called with a prefix-argument
of 2, then also use the Cc and To header values.
32. src/interp.c: Removed set_utf8_conversion_table since it did
nothing.
33. src/mime.c: Corrected a possible memory corruption error where
strcat was used instead of strcpy when decoding base64 articles.
34. src/*.c: Corrected various unchecked calls to malloc.
35. src/Makefile.in: installbin and installdirs swapped in the install
target (Joerg Sommer).
36. src/mime.c: From-type headers were not being properly encoded when
the first word of the header contained an 8 bit character.
37. src/win32/: new directory for win32 port
38. src/Makefile.g32: rewrote
39. autoconf/configure.ac: SLRN_LIB_DIR changed from lib/slrn to
share/slrn.
40. src/startup.c: Rewrote the character-set specific code to avoid a
SEGV.
41. src/snprintf.h: include jdmacros.h to ensure ATTRIBUTE_PRINTF is
defined (Joerg Sommer).
42. src/startup.c,interp.c: Removed slang-specific variables from
compile-time tables to run-time functions because of windows DLL
limitations.
43. Modified src/Makefile.g32 to compile with the mingw32
cross-compiler.
44. macros/slrn.sl: New file. This file gets loaded when slrn runs.
It sets up paths and defines some callback functions.
45. src/interp.c: Removed the slrn-specific evalfile function in favor
of the stock slang function, which is aware of slang's load path.
46. src/hooks.c: Rewrote to support adding hooks via function
references, e.g., register_hook ("foo_hook", &callback);
47. src/version.c: Added iconv and rewrote for easier maintenance.
48. src/startup.c: Setting macro_directory variable will invoke a
callback function defined in slrn.sl.
49. src/Makefile.in: Since slrn will try to load a file called
help.txt from CONFDIR, this variable was changed to
$(sysconfdir)/slrn, e.g., /etc/slrn/. This change is also
consistent with the recommendations of FHS 2.3.
50. src/slrn.c: If slang fails to initialize, then exit.
51. src/slrnfeat.hin: If slrnpull has been enabled, then enable spool
support.
52. src/mime.c: Off by 1 bug in split_qp_lines would sometimes cause a
call to realloc with a length of 0, which had the effect of
freeing the buffer.
53. src/interp.c: If slrn.sl is not found, then print the value of the
load-path.
54. src/Makefile.g32: mingw32 tweaks (Rudy Taraschi).
55. src/charset.c: Rewrote the high-level character-set conversion
routine. Previously, the outgoing character set was not being
properly handled.
56. src/art.c: Added a separate field to the article line structure
for the quote-level.
57. src/charset.c: slrn_convert_substring was being called with a
length of 0 instead of the length of the string. This was causing
the conversion to the editor characterset to fail.
58. src/mime.c: Rewrote all the email-address encoding routines
in an effort to address some encoding bugs.
59. src/misc.c: Rewrote the email address generation routines to
comply with the MIME requirement that no encoding should take
place in a quoted-string.
60. src/art.c: Respect MAX_QUOTE_COLORS when setting the quote color.
61. src/art.c: The color index for quotes was off by 1.
62. src/post.c: When configured with --enable-strict-from, a
non-existent function append_to_header was being
called instead of slrn_append_to_header.
63. src/misc.c: Allow the readline buffer to horizontally scroll when editing
long lines.
64. macros/slrn.sl: slrn_get_macro_dir_hook was defined as taking an
argument.
65. src/startup.c,src/slrn.c: Added a --show-config option.
66. src/slrn.c: Wrong file pointer passed to slrn_show_version,
causing a SEGV.
67. src/interp.c: When setting slrn configuration variables via the
set_string_variable function, use the display-character-set when
not in UTF-8 mode. If in UTF-8 mode, then use UTF-8.
68. configure: probe for a timezone variable and tm_gmtoff field in
a "struct tm".
69. src/slrn.c: When called with --help, exit with status=0
70. src/charset.c: An undefined variable was being referenced when
compiled without iconv support (Rudy Taraschi).
71. src/Makefile.g32: clean target corrected for mingw32 build (Rudy
Taraschi).
72. src/mime.c: Convert null characters ('\0') to '?' when encoded in
a header (they are illegal in headers).
73. doc/help.txt: Changed "read" to "displayed" (Rudy Taraschi).
74. src/charset.c: If a charset is unknown-64 or x-user-defined, use
the fallback character set.
75. src/misc.c: Replaced calls to slrn_write_nchars by calls to
SLsmg_write_nstring (slrn_write_nchars did not quite work right).
76. configure: test for va_copy
77. src/startup.c,art.c: Changes to permit --show-config to print the
header format strings.
78. configure: check for langinfo.h (Thomas Wiegner).
79. src/charset.c: commented out call to setlocale in
slrn_init_charset since it was already called.
80. src/Makefile.in: minor cleanups (Joerg Sommer)
81. doc/slrn*.1: Escape hyphens and s-lang -> S-Lang changes (Joerg
Sommer)
82. src/post.c: Strip whitespace from Newsgroups and Follow-To headers.
Changes since 0.9.8.1
0. Bug fixes include:
* slrnpull fetches marked articles even if no new headers are available.
* slrn would sometimes eat the last char of an article when posting.
* slrnpull gives permission 600 to debugging files (may contain passwords).
* Some minor usability glitches (Alain Bench)
* Fixed fd leaks on some error conditions (Sami Farin)
* sltcp.c wrote to stderr, messing up the screen in some cases.
* Going to a numerically tagged article now faster in large groups.
* Do not send trailing space after some NNTP commands (Lars Kellogg-Stedman)
1. Ported to slang-2 (patch by John E. Davis). slrn still compiles with
slang-1 and I will keep this option until slang-2 is completely stable.
Please see the FAQ for the current status of slang-2 support.
2. Support iconv for charset conversion (patch by Felix Schueller).
3. Introduced quit_hook, which is executed when slrn quits.
4. Symbolic key names <BackTab> and <F13> through <F20> added (Alain Bench).
-----------------------------------------------------------------------------
--
Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __
* Currently using slrn pre0.9.9-82 |___ | |/ |/ |
* Try it: ___| | | | |
$ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
.
- Follow-Ups:
- Re: Where Should I Get the Latest SLRN?
- From: Michael Grimm
- Re: Where Should I Get the Latest SLRN?
- References:
- Where Should I Get the Latest SLRN?
- From: P B
- Re: Where Should I Get the Latest SLRN?
- From: P B
- Where Should I Get the Latest SLRN?
- Prev by Date: Re: OT: Content/Download Filtering
- Next by Date: Re: OT: Content/Download Filtering
- Previous by thread: Re: Where Should I Get the Latest SLRN?
- Next by thread: Re: Where Should I Get the Latest SLRN?
- Index(es):
Relevant Pages
|