| 1 |
$Date: 2002/01/12 21:17:02 $ |
| 2 |
$Revision: 1.12 $ |
| 3 |
$Id: ChangeLog,v 1.12 2002/01/12 21:17:02 weaselp Exp $ |
| 4 |
|
| 5 |
0.9.1 - 2002-01-12 |
| 6 |
|
| 7 |
Added python support by Tom Good <[email protected]> |
| 8 |
Added diff file support by Martin Dorey <[email protected]> |
| 9 |
Applied linebreak patch by Andreas Marschallek <[email protected]> |
| 10 |
Added shellscript support by Andreas Marschallek |
| 11 |
Added html-simple and html-nocolor stylesheets by Andreas Marschallek |
| 12 |
Added lisp support by Andreas Krennmair <[email protected]> |
| 13 |
Added html-fntlck stylesheet by Vincent Sanders <[email protected]> |
| 14 |
Added gpasm support by Vincent Sanders |
| 15 |
|
| 16 |
Replaced cosy.sbg.ac.at URIs. |
| 17 |
|
| 18 |
Thanks to everyone who submitted a patch or comments. I apologize for |
| 19 |
the long delay. |
| 20 |
|
| 21 |
0.9 - 2001-03-25 |
| 22 |
|
| 23 |
Add --prefix switch. |
| 24 |
Changed a typo in awk (function header). (MS) |
| 25 |
Added doc comments to C and C++. (MS) |
| 26 |
Added povray support. (MG) |
| 27 |
Changed author address and page URI. |
| 28 |
Changed text/code to text/x-sourcecode in Documentation. |
| 29 |
Added ruby support. |
| 30 |
Made gimsox at regexen gimesox in styles. |
| 31 |
Fixed function header style. |
| 32 |
Fixed HTML style to not create a <font> tag for each char |
| 33 |
seperatly. |
| 34 |
|
| 35 |
0.8.12 - 2000-10-02 |
| 36 |
|
| 37 |
Fixed typo in the manpage and mention that the Action |
| 38 |
module must get loaded for the auto execution with apache |
| 39 |
to work (closes: Debian Bug #72935). |
| 40 |
|
| 41 |
0.8.11 - 2000-04-24 |
| 42 |
|
| 43 |
"\\" was not recognized as a string. added "\\\\\\\\" to regexps. |
| 44 |
same for single quote strings. |
| 45 |
|
| 46 |
0.8.10 - 2000-04-11 |
| 47 |
|
| 48 |
Fixed problem with parameter parsing. The fix in 0.8.8.d, while |
| 49 |
fixing the problem with - beeing used for stdin and stdout, |
| 50 |
broke using of 'binary' options like "-t 4". Should be fixed now. |
| 51 |
|
| 52 |
|
| 53 |
0.8.9a - 2000-03-21 |
| 54 |
|
| 55 |
The style 'continuation' (used for Makefiles) was not defined. |
| 56 |
FIXED. |
| 57 |
|
| 58 |
0.8.9 - 2000-03-18 |
| 59 |
|
| 60 |
--version no longer prints an empty line after the actual |
| 61 |
version message. |
| 62 |
|
| 63 |
Added INSTALL and README. |
| 64 |
|
| 65 |
0.8.8f - 2000-03-16 |
| 66 |
|
| 67 |
HTML templates now have a closing </body> tag. (Closes #102669) |
| 68 |
|
| 69 |
File extensions are treated case insensitive in some cases now. |
| 70 |
(Closes #102670) |
| 71 |
|
| 72 |
Jukka A. Ukkonen helped me to improve the manpage. |
| 73 |
The wording should be more clearly now. |
| 74 |
Formatting is more consistent. |
| 75 |
|
| 76 |
0.8.8e - MARCH 2000 |
| 77 |
|
| 78 |
moved CREDITS, LICENSE, and ChangeLog to their own files. |
| 79 |
$FILES_DISALLOWED_IN_CGI is now set by default. |
| 80 |
|
| 81 |
0.8.8d - MARCH 2000 |
| 82 |
|
| 83 |
changed all command parameters' names from abc_def to abd-def |
| 84 |
the old names should still work |
| 85 |
|
| 86 |
using the minus (-) on the commandline to choose STDIN/STDOUT |
| 87 |
did not work. FIXED. |
| 88 |
|
| 89 |
no pod documentation any longer. Use the man-page. |
| 90 |
|
| 91 |
0.8.8c - FEBRUARY 2000 |
| 92 |
|
| 93 |
fixed a bug in put_output. $params{'outfile'} should be |
| 94 |
$params->{'outfile'}. It did work the old way too, but relied |
| 95 |
on the global %params. not nice. (DM) |
| 96 |
|
| 97 |
file extensions .hpp and .hxx now result in the file treated |
| 98 |
as C++ |
| 99 |
|
| 100 |
added new output definition for 'html-dark' and 'html-nobc' |
| 101 |
Tnx to DM. |
| 102 |
|
| 103 |
Now really check wheter the outputformat is defined. |
| 104 |
|
| 105 |
0.8.8b - JANUARY 2000 |
| 106 |
|
| 107 |
fixed some typos |
| 108 |
|
| 109 |
fixed problem with string recognition if last character was a |
| 110 |
backslash |
| 111 |
|
| 112 |
fixed endtag of 'predefined type' style |
| 113 |
|
| 114 |
0.8.8a - JANUARY 2000 |
| 115 |
|
| 116 |
fixed documentation for REDIRECT_URL call. |
| 117 |
|
| 118 |
'cpp' extensions are now identified as C++ files. |
| 119 |
|
| 120 |
0.8.8 - JANUARY 2000 |
| 121 |
|
| 122 |
added support for different outputformats. the texinfo output |
| 123 |
format will be added soon (perhaps even in this release) |
| 124 |
added --outputformat=s; -o=s switch |
| 125 |
|
| 126 |
added template support |
| 127 |
added --template switch |
| 128 |
|
| 129 |
removed -? switch |
| 130 |
|
| 131 |
tried to move the CGI stuff to CGI.pm but CGI.pm has problems |
| 132 |
handling some file uploaded via filefields, so we'll have to live |
| 133 |
with my selfmade parsing routine. |
| 134 |
|
| 135 |
fixed some perl patterns bugs. TNX to |
| 136 |
"Pepin, Joseph D (Joe), GOVMK" <[email protected]> for reporting. |
| 137 |
|
| 138 |
external language files should work now |
| 139 |
|
| 140 |
Perl sub's with prototypes are recognized (JP). |
| 141 |
|
| 142 |
some line number changes (there was a +-1 error) |
| 143 |
|
| 144 |
introduced STYLESHEET. |
| 145 |
this means that %LANGUAGE was changed: |
| 146 |
o no starttag and endtag anymore for each rule |
| 147 |
o instead there's a style field which refers to an appropriate |
| 148 |
entry in the STYLESHEET |
| 149 |
|
| 150 |
changed license to MIT. |
| 151 |
This is the old license: |
| 152 |
Not derived from licensed software. |
| 153 |
|
| 154 |
Permission is granted to anyone to use this software for |
| 155 |
any purpose on any computer system, and to redistribute it |
| 156 |
in any way, subject to the following restrictions: |
| 157 |
|
| 158 |
1. The author is not responsible for the consequences of |
| 159 |
use of this software, no matter how awful, even if they |
| 160 |
arise from defects in it. |
| 161 |
2. The origin of this software must not be misrepresented, |
| 162 |
either by explicit claim or by omission. |
| 163 |
3. Altered versions must be plainly marked as such, and |
| 164 |
must not be misrepresented (by explicit claim or |
| 165 |
omission) as being the original software. |
| 166 |
3a. It would be nice if I got a copy of your improved |
| 167 |
version sent to [email protected]. However this |
| 168 |
is not obligatory. |
| 169 |
4. This notice must not be removed or altered. |
| 170 |
|
| 171 |
|
| 172 |
0.8.7d - NOVEMBER 1999 |
| 173 |
|
| 174 |
langmode is not case sensitive any longer |
| 175 |
|
| 176 |
0.8.7c - OCTOBER 1999 |
| 177 |
|
| 178 |
line numbers AGAIN :/ (this time everything schould work :) |
| 179 |
|
| 180 |
0.8.7b - OCTOBER 1999 |
| 181 |
|
| 182 |
line numbers AGAIN :/ |
| 183 |
|
| 184 |
0.8.7a - OCTOBER 1999 |
| 185 |
|
| 186 |
declared result in putout, so code2html runs with use strict |
| 187 |
|
| 188 |
patching works with stdin to stdout too. |
| 189 |
|
| 190 |
0.8.7 - OCTOBER 1999 |
| 191 |
|
| 192 |
the newslines where missing with lin[ke]numbers. Fixed (PP) |
| 193 |
|
| 194 |
fixed patchmode. TNX to "Brad M. Garcia" <[email protected]> |
| 195 |
for the bug report (PP) |
| 196 |
|
| 197 |
0.8.6 - OCTOBER 1999 |
| 198 |
|
| 199 |
changed some perl patterns, faster & smaller html (PP) |
| 200 |
|
| 201 |
replaced (abc|Abc|ABC) style patterns with (?i)abc (PP) |
| 202 |
|
| 203 |
changed config file layout; using a data structure now (PP) |
| 204 |
|
| 205 |
speed |
| 206 |
o create_snippets tweaking (BS) |
| 207 |
o Pod::Text not used but required (BS) |
| 208 |
o _new_ _improved_ (great words, eh?) perl patterns (BS) |
| 209 |
|
| 210 |
checkTab in again (PP) |
| 211 |
|
| 212 |
0.8.5 - AUGUST 1999 |
| 213 |
|
| 214 |
fixed linenumbers. |
| 215 |
|
| 216 |
html patching now also has an outputfile. |
| 217 |
(Daniel Winkelmann <[email protected]>) |
| 218 |
|
| 219 |
html patching failed when refering to external files. this is |
| 220 |
fixed now. TNX to Daniel Winkelmann for the bug report |
| 221 |
|
| 222 |
code2html in CGI mode now encodes the output as bz2/gz/Z if |
| 223 |
the program is on the server and the format is accepted by |
| 224 |
the client (HTTP_ACCEPT_ENCODING). |
| 225 |
TNX to Matty <[email protected]> for the idea. |
| 226 |
|
| 227 |
0.8.4 - AUGUST 1999 |
| 228 |
|
| 229 |
Barrie Slaymaker <[email protected]> sent a different |
| 230 |
approach for finding & inserting tags. the hidechar way is no |
| 231 |
longer needed. It is quite fast and needs not that much |
| 232 |
memory. |
| 233 |
|
| 234 |
0.8.3 - AUGUST 1999 |
| 235 |
|
| 236 |
removed 'use HTML::Entities' line. it HTML::Entities was not |
| 237 |
used anyway. |
| 238 |
|
| 239 |
0.8.2 - AUGUST 1999 |
| 240 |
|
| 241 |
John Douglas Rowell <[email protected]> submitted some perl |
| 242 |
tweaks to correctly parse <<"-x-"; and =begin/=end blocks. |
| 243 |
|
| 244 |
anchors are not used any more when no line numbers are wanted. |
| 245 |
|
| 246 |
John Interrante <[email protected]> patched a typo that |
| 247 |
made the html footer even printed if noheader was spezified. |
| 248 |
|
| 249 |
new option -T=s, --title=s; suggested by Harald Fielker |
| 250 |
<[email protected]> as well as Barrie Slaymaker |
| 251 |
<[email protected]>. |
| 252 |
|
| 253 |
significantly reduced memory usage |
| 254 |
|
| 255 |
Barrie Slaymaker <[email protected]> sent a patch to speed up |
| 256 |
insert_tags. I already had a not that bad version some time ago |
| 257 |
but somehow it got lost. Anyway Barrie's way is _a_lot_ faster |
| 258 |
than mine. |
| 259 |
|
| 260 |
0.8.1 - AUGUST 1999 |
| 261 |
|
| 262 |
Joor Loohuis <[email protected]> updated the documentation. |
| 263 |
|
| 264 |
0.8.0 - AUGUST 1999 |
| 265 |
|
| 266 |
Joor Loohuis <[email protected]> converted the long help text to |
| 267 |
pod (plain old documentation, see perlpod(1)). The major |
| 268 |
advantage is that the documentation can now simply be |
| 269 |
converted to html, man, LaTeX or plain text, by using one of |
| 270 |
the filters from the standard Perl POD module. |
| 271 |
|
| 272 |
Joor Loohuis also contributed an example of automatic |
| 273 |
language recognition. I adapted it and it is now part of |
| 274 |
code2html. As a result the syntax has changed. langmode is no |
| 275 |
longer obligatory but optional with -l <langmode> |
| 276 |
|
| 277 |
Joel Andersson <[email protected]> sent me the patterns for |
| 278 |
awl, m4, groff. |
| 279 |
|
| 280 |
perl tweaks; again :/ |
| 281 |
|
| 282 |
regular expressions in config files are now checked for |
| 283 |
correctness. code2html fails gracefully if a regex is wrong. |
| 284 |
|
| 285 |
0.7.1 - August 1999 |
| 286 |
|
| 287 |
corrected (hopefully) a gotcha in the perl patterns (again...) |
| 288 |
|
| 289 |
added one item to the changelog of 0.7.0 |
| 290 |
|
| 291 |
--replace_tabs no longer replaces every tab with the given |
| 292 |
amount of spaces but instead it now replaces it with the right |
| 293 |
number to go to the next tabstop. the parameter given to |
| 294 |
replace_tabs gives the width of tabstops. |
| 295 |
TNX to T. Jahn <[email protected]> for providing an example |
| 296 |
of how to do this in one of his programs. If I had known it |
| 297 |
was that easy I'ld have done it earlier :) |
| 298 |
|
| 299 |
0.7.0 - August 1999 |
| 300 |
|
| 301 |
No longer need for that stupid fatal_error sub. I now use perl's |
| 302 |
handlers for __DIE__ and __WARN__ |
| 303 |
|
| 304 |
complete rewrite of the option and parameter fetching sub. I |
| 305 |
now use Getopt::Long. TNX to Barrie for the pointer. As a |
| 306 |
the number for --replace_tabs / -t is no longer optional. |
| 307 |
|
| 308 |
Added HTML patching: code2html now also allows you to have |
| 309 |
inline source code in an html file. It can then take this html |
| 310 |
file and insert the syntax highlighted code. |
| 311 |
Look in the help. It's very usefull ( at least for me ) |
| 312 |
|
| 313 |
the CGI mode got a forth way to pass the input file. If the |
| 314 |
input_selector parameter is set to REDIRECT_URL the file is |
| 315 |
taken from ENV{'DOCUMENT_ROOT'}.$ENV{'REDIRECT_URL'}. |
| 316 |
Kevin Burton <[email protected]> suggested this so that |
| 317 |
it is possible to configure Apache with an action directive |
| 318 |
to automatically print java files syntax highlighted. |
| 319 |
|
| 320 |
0.6.6 - July 1999 |
| 321 |
|
| 322 |
added sql - it is still very poor since I don't know all the |
| 323 |
keywords etc. If you know, tell me. |
| 324 |
|
| 325 |
Martynov Andrew <[email protected]> pointed me to the qq, qx, |
| 326 |
etc operators in perl. They should now no longer cause problems |
| 327 |
|
| 328 |
Wayne Roberts <[email protected]> |
| 329 |
reported a problem with C strings like "\\". It should be fixed |
| 330 |
too. |
| 331 |
|
| 332 |
I changed the operator with which the default language base |
| 333 |
is assigned to a variable, so there's no need for \\\\\\\\\\ |
| 334 |
quotes anymore :) |
| 335 |
|
| 336 |
0.6.5 - June 1999 |
| 337 |
|
| 338 |
tweaking Perl regular expressions (TNX to Barrie Slaymaker |
| 339 |
<[email protected]>) |
| 340 |
|
| 341 |
if a language mode cannot be found the error message now tells |
| 342 |
you which lang you requested. |
| 343 |
|
| 344 |
new --fallback <lang> option. This language mode is used if the |
| 345 |
given mode by parameter1 is not available. This feature was |
| 346 |
requested by Barrie Slaymaker <[email protected]> |
| 347 |
|
| 348 |
changed 'is called as CGI' heuristics. |
| 349 |
|
| 350 |
0.6.4 - May 1999 |
| 351 |
|
| 352 |
the name attribute in the line numbers was wrong. there should |
| 353 |
be no in it. TNX to <[email protected]> |
| 354 |
|
| 355 |
linking to line numbers now works from the command line too |
| 356 |
|
| 357 |
0.6.3 - May 1999 |
| 358 |
|
| 359 |
fixed C character constant regex. TNX to Jesse |
| 360 |
<[email protected]> |
| 361 |
|
| 362 |
line numbers now can link to themselves |
| 363 |
|
| 364 |
line numbers now have a constant width |
| 365 |
|
| 366 |
0.6.2 - May 1999 |
| 367 |
|
| 368 |
fixed something in HTML lang |
| 369 |
|
| 370 |
0.6.1 - May 1999 |
| 371 |
|
| 372 |
added 'plain' language mode |
| 373 |
|
| 374 |
cgi support improoved. should now also handle |
| 375 |
enctype="multipart/form-data" forms |
| 376 |
|
| 377 |
0.6.0 - May 1999 |
| 378 |
|
| 379 |
fixed Substitution loop at ./code2html.pl (5.2) line 627 |
| 380 |
|
| 381 |
changed string regular expressions: \" is no longer a problem |
| 382 |
|
| 383 |
default locations for the language files have changed: |
| 384 |
first all the files listed in the enviroment variable |
| 385 |
CODE2HTML_CONFIG (seperated by colons (:)) will be checked, |
| 386 |
then, if HOME set, $HOME/.code2html.config and finally |
| 387 |
/etc/code2html.config |
| 388 |
TNX to Eric Brandwine <[email protected]> for the hint. |
| 389 |
|
| 390 |
new: --no_header does not print the <html><head>... stuff |
| 391 |
|
| 392 |
new: --content_type prints Content-Type: text/html; |
| 393 |
|
| 394 |
C/C++: in preprocessor lines: strings are highlighted now |
| 395 |
|
| 396 |
-n now also names the lines with <a name="line<nr>">..</a> |
| 397 |
|
| 398 |
script may now be run as a CGI script. see the CGI section |
| 399 |
in the help |
| 400 |
|
| 401 |
get_config_file was rewritten because it was _ugly_ |
| 402 |
|
| 403 |
0.5.2 - May 1999 |
| 404 |
|
| 405 |
fixed Makefile dependency line bug. (a * in regexp instead a +) |
| 406 |
|
| 407 |
0.5.1 - May 1999 |
| 408 |
|
| 409 |
clarified copyright questions on regular expressions |
| 410 |
|
| 411 |
changed -dumb_default_lang to -dump_default_lang :) |
| 412 |
|
| 413 |
0.5.0 - Apr 1999 |
| 414 |
|
| 415 |
changed find_all_matches__create_taglist__insert_placeholders |
| 416 |
so that it works around a bug in earlier perl versions, in which |
| 417 |
pos() is not set if the return value of m//g is not used. |
| 418 |
|
| 419 |
changed a regex in get_config_file |
| 420 |
|
| 421 |
0.4.1 - Mar 1999 |
| 422 |
|
| 423 |
changed JavaScript regexps slightly |
| 424 |
|
| 425 |
changed find_all_matches_.. slightly |
| 426 |
|
| 427 |
0.4.0 - Mar 1999 |
| 428 |
|
| 429 |
script no longer needs $' and $` thus beeing faster. $& is still |
| 430 |
needed |
| 431 |
|
| 432 |
regexps for perl changed slightly |
| 433 |
|
| 434 |
find_all_matches has been completly rewritten. verify is no |
| 435 |
longer needed. taglist is built while searching. |
| 436 |
May take a bit longer now, but otherwhise a bug could not have |
| 437 |
been fixed. |
| 438 |
|
| 439 |
changed (fixed?) start of language_def_block pos evaluation |
| 440 |
|
| 441 |
0.3.3 - Feb 1999 |
| 442 |
|
| 443 |
fixed STDIN/STDOUT parameters when passed a - the scrpit though |
| 444 |
options would follow and didn't tread this as a handle for STDIN |
| 445 |
|
| 446 |
added -V as shortcut to --version |
| 447 |
|
| 448 |
0.3.2 - Feb 1999 |
| 449 |
|
| 450 |
removed -T from 1st line so activePerl will run the script |
| 451 |
without any modifications |
| 452 |
|
| 453 |
changed perl string regexps. run now faster and better |
| 454 |
(and run at all under win) |
| 455 |
|
| 456 |
added --replace_tabs |
| 457 |
|
| 458 |
0.3.1 - Feb 1999 |
| 459 |
|
| 460 |
fixed language files bug (<space>lang_mode<space> no longer |
| 461 |
starts langmode) |
| 462 |
|
| 463 |
fixed empty html tag bug when reading lang specs |
| 464 |
|
| 465 |
added languages: Makefile, Java, JavaScript, Perl |
| 466 |
|
| 467 |
added --modes |
| 468 |
|
| 469 |
0.3.0 - Feb 1999 |
| 470 |
|
| 471 |
added linenumbers |
| 472 |
|
| 473 |
added <head> and <title> tag in html output |
| 474 |
|
| 475 |
fixed crlf switch works now |
| 476 |
|
| 477 |
0.2.0 - Feb 1999 |
| 478 |
|
| 479 |
first official release |