File: changes.html

package info (click to toggle)
txt2html 1.28-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 184 kB
  • ctags: 51
  • sloc: perl: 1,194; makefile: 34
file content (321 lines) | stat: -rw-r--r-- 11,249 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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<LINK REV="made" HREF="http://www.aigeek.com/">
<LINK REV="owns" HREF="http://www.aigeek.com/">
<TITLE>Change history of txt2html</TITLE>
</HEAD>

<BODY fgcolor="#000000" bgcolor="#EEEEEE" link="#FF0000" vlink="#CC0000">

<H1>Change history of 
<A href="http://www.aigeek.com/txt2html/">txt2html</A></H1>

<H2>1.28</H2>
<UL>
      <LI>bugfix: reserved characters in titles created with --titlefirst are
        now escaped properly.</LI>
      <LI>bugfix: when preformatting entire document, each line was
      getting its own &lt;PRE&gt;&lt;/PRE&gt; container (introduced
      with explicit preformatting feature in 1.26).</LI>
      <LI>dict: added some characters to those allowed in http urls (=&amp;;,).</LI>
      <LI>dict: added "-" to allowed characters within *emphasized-pattern*.</LI>
</UL>

<H2>1.27</H2>
<UL>
      <LI><STRONG>Changed names of default link dictionaries to txt2html.dict</STRONG></LI>
</UL>

<H2>1.26 (not released) </H2>
<UL>
  <LI>Added -8 (for 8-bit-clean) to disable conversion of non-ASCII
       characters to their corresponding Latin-1 character entities.
  <LI>Added -pm to allow explicit marking of preformatted text in source</LI>
  <LI>Changes => to , in mapping, to stay compatible with Perl 4
  <LI>Added debug flag 4, for observing link rules in action</LI>
  <LI>Fixed length checking bug in header underline analysis
  <LI>Change a regexp so Perl 5.6 doesn't complain.</LI>
  <LI>No longer add space after &lt;LI&gt; tags
  <LI>Allow unindented lists to start after CAPS lines</LI>
  <LI>Use &middot; as a bullet character
  <LI>Fixed bug that dropped a character when certain actions were
       taken on the last line of input that didn't end with a newline.

  <LI>Added more aggressive regexps for _underlined_ and *emphasized* text.</LI>
  <LI>Improved character markup rules
  <LI>Added link rule for news URLs.  (This must have been
       accidentally deleted at some point.)
  <LI>Added link rule for common explicit url markup: &lt;URL:foo&gt;</LI>
</UL>

<H2>1.25</H2>
<UL>
  <LI>Changed the official home page to <A
       href="http://www.aigeek.com/txt2html/">http://www.aigeek.com/txt2html/</A> (the old page will have a working redirect indefinitely.) 
  <LI>Added a LICENSE to the distribution.  (modified BSD-style)</LI>
  <LI>When no title is specified, an empty title element is inserted.
       (The old behavior was to omit the title element, which is
       forbidden by the spec.)
  <LI>Made heading anchors appear inside the heading, rather than
       surrounding it (which is forbidden by the HTML spec)
  <LI>Changed the DTD name</LI>
  <LI>Added the --linkonly option so people can use the links
       dictionary feature without doing any other markup.  This is
       useful for adding links to HTML fragments or documents.
  <LI>Added the --prepend_body option for prepending HTML to the body.</LI>
  <LI>Made in_link_context smarter so it won't link on attributes or
       tag names.  (This is good for adding hyperlinks, but may screw
       up some clever uses of the linking code.)
  <LI>Added link rules for _underlined text_ and *emphasized text*</LI>
  <LI>Added --noescapechars to suppress converting "&amp;" "&lt;" and
       "&gt;" into "&amp;amp;" "&amp;lt;" and "&amp;gt;"
  <LI>Changed pattern rules to handle non-ascii letters properly in
       matching patterns.
  <LI>Added conversion of non-ascii letters into character entities.</LI>
  <LI>Lots of upgrades to the links dictionary patterns</LI>
</UL>

<H2>1.24</H2>
<UL>
  <LI>Changed behavior of custom headers to something much more
       useful: Header levels are assigned by regex in order seen.
       When a line matches a custom header regex, it is tagged as a
       header.  If it's the first time that particular regex has
       matched, the next available header level is associated with it
       and applied to the line.  Any later matches of that regex will
       use the same header level.  
  <LI>Added the -EH / --explicit-headings option</LI>
  <LI>Added some unnecessary initialization to avoid warnings when
       perl is run with the -w switch.</LI>

</UL>

<H2>1.23</H2>
<UL>
  <LI>Added handling for when the consistent formatting of numbered
       lists is the position of the non-numeric character, not the
       amount of whitespace preceding the number.  (The numbers
       grow to the left instead of the right.)</LI>
</UL>


<H2>1.22</H2>
<UL>
  <LI>Fixed bug in unhyphenation</LI>
  <LI>Changed HTML version in default doctype line to 3.2</LI>
</UL>


<H2>1.21</H2>
<UL>
  <LI>Added &lt;META NAME=&quot;generator&quot; CONTENT=&quot;txt2html v1.21&quot;&gt;</LI>
</UL>

<H2>1.20</H2>
<UL>
  <LI>Added DOCTYPE tag and --doctype options.</LI>
  <LI>Syntax change to get rid of Perl 5 warning
  <LI>Added ability to use the first line of the text as the title</LI>
  <LI>Fixed some (unused) grossness in links dict file</LI>
</UL>

<H2>1.19</H2>
<UL>
  <LI>Added --append_head</LI>
  <LI>Mail and News name anchor surrounds just the first word
       ("Newsgroups:" or "From"), and not the whole line.  That way,
       newsgroup names and email addresses get HREF'd as normal.</LI>
</UL>

<H2>1.18</H2>
<UL>
  <LI>Cleaned up nested list handling &amp; fixed a bug under Perl 5.</LI>
  <LI>Changed a couple minor things to get rid of some of the Perl 5 warnings.</LI>
</UL>

<H2>1.17</H2>
<UL>
  <LI>Lists can start even when not indented and not preceded by a
       blank line if the previous line was short or a header.
  <LI>New flag "o" added for dictionary entries.  Specifies that the
       link should only be done the first time a match is found.</LI>
</UL>

<H2>1.16</H2>
<UL>
  <LI>Added anchoring of custom headers</LI>
  <LI>Took the changelog out of the script
  <LI>Tweaked $line_indent in sub liststuff</LI>
  <LI>Insert &lt;P&gt; before each mail/news message</LI>
</UL>

<H2>1.15</H2>
<UL>
  <LI>Fixed options handling for -e/+e , -r</LI>
  <LI>Added "Newsgroups:" to trigger mail headers
  <LI>Fixed anchor naming</LI>
  <LI>took out -T option, since it isn't implemented yet.  Whoops..
  <LI>Fixed bug in endpreformat</LI>
</UL>

<H2>1.14</H2>
<UL>
  <LI>Fixed +l/--nolink option handling</LI>
  <LI>Fixed major bug in dynamic_make_dictionary_links that allowed
       nested links under some circumstances.</LI>
</UL>


<H2>1.13</H2>
<UL>
  <LI>Fixed usage message so it matches options.  (whoops)</LI>
  <LI>Added custom heading style feature</LI>
</UL>


<H2>1.12</H2>
<UL>
  <LI>Fixed bug in heading regexp</LI>
  <LI>Changed underline tolerance parameters from min &amp; max length
       difference to length difference &amp; offset difference
  <LI>Centralized line reading, added handling of DOS carriage returns</LI>
  <LI>Switched to heading style stack.  Styles still very limited.
  <LI>Changed heading anchor names from a simple count to a hierarchical
       section number.</LI>
</UL>



<H2>1.11</H2>

<UL>
  <LI>Blank lines are never considered underlined</LI>
  <LI>Shortline breaking slightly more intelligent (or at least different)
  <LI>Paragraph breaks much more intelligent</LI>
  <LI>Lowercased tags.  Style is so fickle.
  <LI>Added links dictionaries, link making, etc.</LI>
  <LI>Allow repeated bullet chars for unordered lists.  (Tiny mod to regexp)
  <LI>switched order of caps &amp; liststuff in main()</LI>
  <LI>improved untabify() so it converts the whole line, not just beginning
  <LI>split up all lines &gt;79 characters to avoid common downloading error
       (people would sometimes copy the script off the display,
       inadvertently adding a few newlines in bad places in the code)
  <LI>Handles option "--" now.</LI>
  <LI>Accepts named files as input as alternative to stdin
  <LI>Deals with stdin properly (no more extra EOFs needed)</LI>
  <LI>Improved mail handling</LI>
</UL>

<H1>1.10</H1>

<UL>
  <LI>Added --extract, etc.
</UL>

<H2>1.9</H2>

<UL>
  <LI>Changed from #!/usr/local/bin/perl to the more clever version in
   the man page.  (How did I manage not to read this for so long?)
  <LI>Swapped hrule &amp; header back to handle double lines.  Why should
   this order screw up headers?</LI>

</UL>

<H2>1.8</H2>

<UL>
  <LI>put mail_anchor back in.  (Why did I take this out?)</LI>
  <LI>Finally added handling of lettered lists (ordered lists marked with
   letters)
  <LI>Added title option (--title, -t)</LI>
  <LI>Shortline now looks at how long the line was before txt2html
   started adding tags.   ($line_length)
  <LI>Changed list references to scalars where appropriate. (@foo[0] -&gt; $foo[0])</LI>
  <LI>Added untabify() to homogenize leading indentation for list
   prefixes and functions that use line length
  <LI>Added "underline tolerance" for when underlines are not exactly the
   same length as what they underline.
  <LI>Added error message for unrecognized options</LI>
  <LI>removed \w matching on --capstag
  <LI>Tagline now removes leading &amp; trailing whitespace before tagging</LI>
  <LI>swapped order of caps &amp; heading in main loop
  <LI>Cleaned up code for speed and to get rid of warnings</LI>
  <LI>Added more restrictions to something being a mail header
  <LI>Added indentation for lists, just to make the output more readable.</LI>
  <LI>Fixed major bug in lists: $OL and $UL were never set, so when a
   list was ended "&lt;/UL&gt;" was *always* used!
  <LI>swapped order of hrule &amp; header to properly handle long underlines</LI>

</UL>

<H2>1.7</H2>

<UL>
  <LI>Added to comments in options section</LI>
  <LI>renamed blank to is_blank
  <LI>Page break is converted to horizontal rule &lt;HR&gt;</LI>
  <LI>moved usage subroutine up top so people who look through code see
   it sooner</LI>

</UL>

<H2>1.6</H2>

<UL>
  <LI>Creates anchors at each heading</LI>
</UL>

<H2>1.5</H2>

<UL>
  <LI>Fixed minor bug in Headers</LI>
  <LI>Preformatting can be set to only start/stop when TWO lines of
   [non]formatted-looking-text are encountered.  Old behavior is still
   possible through command line options (-pb 1 -pe 1).
  <LI>Can preformat entire document (-pb 0) or disable preformatting
   completely (-pe 0).
  <LI>Fixed minor bug in CAPS handling (paragraph breaks broke)</LI>
  <LI>Puts paragraph tags *before* paragraphs, not just between them.</LI>

</UL>

<H2>1.4</H2>

<UL>
  <LI>Allow ':' for numbered lists (e.g. "1: Figs")</LI>
  <LI>Whitespace at end of line will not start or end preformatting
  <LI>Mailmode is now off by default</LI>
  <LI>Doesn't break short lines if they are the first line in a list
   item.  It *should* break them anyway if the next line is a
   continuation of the list item, but I haven't dealt with this yet.
  <LI>Added action on lines that are all capital letters.  You can change
   how these lines get tagged, as well as the minimum number of
   consecutive capital letters required to fire off this action.</LI>

</UL>

<H2>1.3</H2>

<UL>
  <LI>Tiny bugfix in unhyphenation</LI>

</UL>

<H2>1.2</H2>

<UL>
  <LI>Added unhyphenation</LI>
</UL>


<HR>
<ADDRESS>
<A HREF="http://www.aigeek.com/">seth@aigeek.com</A>
</ADDRESS>
<!-- hhmts start -->
Last modified: Tue May 23 13:14:41 BST 2000
<!-- hhmts end -->
</BODY>
</HTML>