Debian Codegraph @

ChangeLog

raw
1 Mon Jun 14 10:08:01 CEST 2004 Gabriele Bartolini <[email protected]>
2
3 * Tagged release htdig-3-2-0b6
4
5 Sun 13 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
6
7 * db/os_abs.c, (db/os_abs.c.win32 removed):
8 Re-fix Cygwin bug (#814268, fixed 25 Apr) so that it won't be
9 clobbered by autotools.
10
11 Sat 12 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
12
13 * htdoc/RELEASE.html: Separated bug fixes from new features
14
15 * htdoc/{htdig,htfuzzy}.html, installdir/{htdig,htfuzzy}.1.in:
16 Added list of database files used
17
18 * htdoc/{htdump,htmerge,htnotify,htpurge,hts_general,htstat,rundig}.html:
19 Hyperlinked COMMON_DIR, BIN_DIR, DATABASE_DIR to attrs.html.
20
21 * htcommon/defaults.cc, htdoc/attrs.html.in:
22 Remove reference to deprecated '-l' option (generate URL log) of htdig.
23
24 Fri Jun 11 11:48:40 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
25
26 * htsearch/parser.cc (phrase): Applied Lachlan's patch to prevent endless
27 loop when boolean keywords appear in a phrase in boolean match method.
28
29 Fri Jun 11 11:26:56 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
30
31 * db/hash.c (CDB___ham_open): Applied Red Hat's h_hash patch, to ensure
32 that hash function always set to something valid.
33
34 Fri Jun 11 10:53:49 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
35
36 * installdir/HtFileType: Added -f to rm command.
37
38 * htsearch/parser.cc (perform_or): Added missing & in if clause.
39
40 * contrib/htdig-3.2.0.spec: Updated for 3.2.0b6.
41
42 * installdir/Makefile.{am,in}: Don't stick $(DESTDIR) in HtFileType.
43
44 Thu Jun 10 16:39:36 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
45
46 * htcommon/conf_(lexer.lxx,parser.yxx): applied Gilles' patch (April 22)
47 which features:
48 - improved error handling, gives file name and correct line number,
49 even if using include files
50 - allows space before comment, because otherwise it would just complain
51 about the "#" character and go on to parse the text after it as a
52 definition
53 - allows config file with an unterminated line at end of file, by
54 pushing an extra newline token to the parser at EOF
55 - parser correctly handles extra newline tokens, by moving this
56 handling out of simple_expression, and into simple_expression_list
57 and block, as simple_expression must return a new ConfigDefaults
58 object and a newline token doesn't cut it (caused segfaults when
59 dealing with fix above)
60 * htcommon/conf_lexer.cxx: Regenerate using flex 2.5.31.
61 * htcommon/conf_parser.cxx: Regenerate using bison 1.875a.
62
63 Wed Jun 9 12:32:47 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
64
65 * htdig/HTML.cc (do_tag): Fixed meta date handling fix of June 3 to
66 ensure null byte gets put in by get() call.
67
68 Wed 9 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
69
70 * contrib/doc2html/doc2html.pl, installdir/mime.types:
71 Add support for OpenOffice.org documents (#957305)
72
73 Sat 5 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
74
75 * test/t_htdig, test/t_factors: fix tests for non-gnu/linux systems.
76
77 Sat 5 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
78
79 * htdoc/cf_generate.pl: Hyperlink to simplify finding the defaults of
80 attributes defined in terms of others (e.g.,
81 accents_db->database_base->database_dir).
82 * htdoc/attrs.html.in: regenerated using cf_generate.pl
83
84 Sat 5 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
85
86 * htcommon/defaults.cc: Escaped new-line in "allow_spaces_in_url" entry.
87 Set no_next_page_text to ${next_page_text}; likewise no_prev_page_text.
88
89 Fri Jun 4 10:23:53 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
90
91 * htcommon/URL.cc: added "allow_space_in_url" (from fileSpace.1 patch)
92 * htcommon/defaults.[cc,xml]: added documentation of allow_space_in_url
93 * htdoc/attrs.html.in: regenerated using cf_generate.pl
94 * htdoc/cf_byname.html: ditto
95 * htdoc/cf_byprog.html: ditto
96 * htdoc/RELEASE.html: updated with info regarding this attribute
97
98 Thu Jun 3 16:04:23 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
99
100 * htdig/HTML.cc (do_tag): Fixed meta date handling to avoid inadvertently
101 matching names like DC.Date.Review.
102
103 Thu Jun 3 10:01:50 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
104
105 * htdoc/RELEASE.html: updated release notes and changes
106 * htdoc/THANKS.html: updated the 'thanks' section
107
108 Thu Jun 3 09:32:52 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
109
110 * global: updated with 'autoreconf -if' (autoconf 2.59, libtool 1.5.6
111 and automake 1.7.9)
112
113 Wed Jun 2 19:03:14 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
114
115 * contrib/rtf2html: added the rtf2html.c source as modified by David Lippi
116 and Gabriele Bartolini of the Comune di Prato. The source code is now
117 released under GNU GPL and included in the ht://Dig package.
118
119 Tue Jun 1 20:23:40 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
120
121 * htcommon/HtSGMLCodec.cc: changed &curren; to &euro;
122
123 Fri 28 May 2004 Lachlan Andrew <lha at users.sourceforge.net>
124
125 * Most files: Update copyright to 2004
126
127 Sun 23 May 2004 Lachlan Andrew <lha at users.sourceforge.net>
128
129 * htdocs/FAQ.html: Sync with maindocs
130
131 Sun 23 May 2004 Lachlan Andrew <lha at users.sourceforge.net>
132
133 * configure, configure.in:
134 Resolve variables (e.g., BINDIR) copied into attrs.html,
135 without introducing "NONE" prefix detected by Gabriele.
136
137 Sun 23 May 2004 Lachlan Andrew <lha at users.sourceforge.net>
138
139 * .version, htdoc/RELEASE.html, htdoc/where.html,
140 htdoc/attrs.html.in, htdoc/cf_byname.html, htdoc/cf_byprog.html:
141 Prepare docs for release of 3.2.0b6.
142
143 Mon Apr 26 15:12:22 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
144
145 * htfuzzy/Soundex.cc (generateKey): Applied Alex Kiesel's fix to prevent
146 segfaults when word has no letters.
147
148 Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
149
150 * htdig/HTML.cc: Handle empty noindex_start/noindex_end lists.
151 * htlib/StringList.{cc,h}: const-correctness of Add/Insert/Assign(char*)
152
153 * redo mistakenly backed out patch...
154
155 Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
156
157 * htsearch/parser.cc: Address (but not fix) bug #934739
158 If collection->getDocumentRef() on line 889 returns NULL, don't crash.
159 I'm still trying to work out why it does return NULL -- I don't think
160 it ever should.
161
162 * mistakenly back out previous patch :(
163
164 Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
165
166 * htdig/Retriever.{h,cc}, htcommon/defaults.cc, htdoc/FAQ.html:
167 Add store_phrases attribute. If it is false, htdig only stores the
168 first occurrence of each word in a document. This reduces the database
169 size dramatically, and slightly increases digging speed.
170
171 Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
172
173 * db/{aclocal.m4,configure,os_abs.c.win32}, STATUS, htdoc/THANKS.html:
174 Correctly dected paths beginning C: as absolute paths in cygwin/Win32.
175 Fixes bug #814268.
176
177 Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
178
179 * htdig/Retriever.cc:
180 Gilles's patch to avoid regex compile for every URL encountered.
181
182 Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
183
184 * contrib/htdig-3.2.0.spec:
185 Karl Eichwalder's patch to use mktemp to create safe temp file.
186
187 Wed Apr 7 17:12:33 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
188
189 * htdig/Retriever.cc (IsValidURL): Fixed bug #931377 so bad_extensions
190 and valid_extensions not thrown off by periods in query strings.
191
192 Mon Mar 15 11:56:04 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
193
194 * htsearch/Display.cc: changed (and fixed) the date factor formula as
195 Lachlan and David Lippi suggested, in order not to give negative results.
196
197 Fri Mar 12 09:13:28 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
198
199 * configure.in: removed 'eval' expressions which caused the 'NONE' prefix
200 path to be instantiated and the make script to hang
201 * acinclude.in: fixed AC_DEFINEs for SSL and ZLIB check macros, which prevented
202 autoheader (and therefore autoreconf) to correctly work
203 * moved manual pages from htdoc to installdir
204 * htdoc/[manpages].in: removed
205 * installdir/*.[1,8]: removed man pages (htdig-pdfparser.1, htdig.1,
206 htdump.1, htfuzzy.1, htload.1, htmerge.1, htnotify.1, htpurge.1,
207 htsearch.1, htstat.1, rundig.1, htdigconfig.8)
208 * installdir/*.[1,8].in: added pre-configure man pages (htdig-pdfparser.1.in,
209 htdig.1.in, htdump.1.in, htfuzzy.1.in, htload.1.in, htmerge.1.in, htnotify.1.in,
210 htpurge.1.in, htsearch.1.in, htstat.1.in, rundig.1.in, htdigconfig.8.in)
211 * regenerated configure scripts with autoreconf
212 * fixes bug #909674
213
214 Sat 21 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
215
216 * installdir/HtFileType: Use mktemp to create safe temp file (bug #901555)
217
218 Wed Feb 25 11:14:45 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
219
220 * htdocs/THANKS.html: added Robert Ribnitz to the 'thanks' page and fixed
221 Nenciarini's position (it was not in alphabetical order - sorry!).
222
223 Wed Feb 25 11:02:37 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
224
225 * installdir/*.[1,8]: added man pages (htdig-pdfparser.1, htdig.1,
226 htdump.1, htfuzzy.1, htload.1, htmerge.1, htnotify.1, htpurge.1,
227 htsearch.1, htstat.1, rundig.1, htdigconfig.8) provided by
228 Robert Ribnitz <ribnitz at linuxbourg.ch> of the Debian Project
229 * installdir/Makefile.am: prepared the automake script for correctly
230 handling the man pages
231
232 Sat 21 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
233
234 * htsearch/htsearch.cc:
235 Back out change of 21 December, as it causes problems with characters
236 which *should* be unencded, like /
237
238 Thu 19 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
239
240 * aclocal.m4, acinclude.m4, configure.in:
241 Remove duplicate tests for zlib
242 Fix tests for SSL (Fixes bug #829081)
243 Fix configure --help formatting
244
245 * htdoc/*.[18].in, htdoc/Makefile.am, configure.in: Added man pages
246
247 * htdoc/attrs.html.in, htdoc/cf_generate.pl, htdoc/Makefile.am:
248 Fill in #define'd attribs (Fixes bug #692125)
249
250 * test/Makefile.am: Incorporate new tests in make check
251
252 * test/t_htdig, test/t_parsing: suppress unwanted diagnostics
253
254 * STATUS: list Cygwin bug (#814268)
255
256 * htcommon/default.cc:
257 added wordlist_cache_inserts, remove worlist_cache_dirty_level
258
259 * configure, */Makefile.in, */Makefile, htdoc/cf_by{name,prog}.html:
260 regenerated
261
262 Fri 13 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
263
264 * db/mp_cmpr.c: Fix bug with --without-zlib
265
266 Sun 8 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
267
268 * htcommon/URL.cc: Make server_alias case insensitive.
269
270 * htdig/Document.cc: Don't hex-decode twice. (Caused problems with names
271 like file%20name)
272
273 * htdig/Retriever.cc: Test validity of URL value *before* calling
274 signature(), as that implictly normalises, and confuses
275 limit_normalised vs limit_urls_to
276
277 * htdig/htdig.cc: Remove stale md5_db if -i specified
278
279 * installdir/htdig.conf: Set common_url_parts to contain all strings
280 which *must* be in a valid URL. Probably contains whole domain name,
281 so more compression than using standard strings.
282
283 * htcommon/defaults.cc: Update docs. Remove default "bad_extensions"
284 from common_url_parts, and add .shtml
285
286 * test/t_htdig, test/t_htdig_local: Update self-tests
287
288 Tue Feb 3 18:06:38 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
289
290 * htcommon/HtConfiguration.cc: changed the Find method in order not to
291 ignore empty string results for string attributes whenever they are
292 defined in the configuration file by the user
293 * htdig/Document.cc: fixed bugs in handling the http_proxy,
294 http_proxy_authorization, authorization attributes
295 * htlib/Configuration.[h,cc]: added the Exists method in order to query
296 whether an attribute's definition is present in the configuration
297 dictionary (before it was checked against its string's length which
298 prevented empty attributes to be correctly used)
299 * these changes fix bug #887552
300
301 Sun 18 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
302
303 * htcommon/URL.cc, test/url.cc:
304 Rename "allow_dbl_slash" to "allow_double_slash", to match defaults.cc
305
306 * htcommon/default.cc, htdoc/{hts_temlates,attrs}.html:
307 Explain that keywords_factor applies to meta keywords. Fix old typo.
308
309 * test/t_{factors,templates}, test/htdocs/set1/{title.html,bad_local.htm}
310 * test/conf/entry-template:
311 Expanded test suite.
312
313 Sat 17 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
314
315 * test/t_{parsing,htdig_local,factors,templates},
316 * test/htdocs/set1/title.html:
317 Expanded test suite.
318
319 Sat 17 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
320
321 * htcommon/DocumentRef.cc:
322 Fix old-style use of HtConfiguration, so defaults are read correctly.
323 Causes max_descriptions to be treated correctly.
324
325 * htcommon/default.cc, htdoc/{hts_temlates,attrs,cf_byname,cf_byprog}.html:
326 Explain that max_description{s,_length} don't affect indexing -- only
327 text used to fill in template variables.
328
329 Mon 12 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
330
331 * Very many files: Fix bug #873965
332 Replace C++ style comments with C style comments in all C files, and .h
333 files they include.
334 Also, change //_WIN32 to /* _WIN32 */ in .cc files for uniformity.
335
336 Mon 12 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
337
338 * test/t_parsing, test/test_functions.in: Add new tests
339 * htcommon/default.cc, htdoc/hts_templates.html: Cross-ref documentation.
340
341 Mon Dec 29 2003 Lachlan Andrew <lha at users.sourceforge.net>
342
343 * htdig/Retriever.cc:
344 Fix bug in which validity of first URL from each server was not checked.
345
346 Mon Dec 29 2003 Lachlan Andrew <lha at users.sourceforge.net>
347
348 * htdig/htdig.cc, htdoc/htdig.html: Fix bug #845054
349 Fix behaviour of -m and additional list of urls at the end of a command.
350 In either case, "-" denotes stdin.
351
352 Mon Dec 29 2003 Lachlan Andrew <lha at users.sourceforge.net>
353
354 * installdir/rundig, installdir/Makefile.{in,am}: Address bug #860708
355 Make bin/rundig -a handle multiple database directories
356
357 Sun Dec 21 2003 Lachlan Andrew <lha at users.sourceforge.net>
358
359 * htsearch/htsearch.cc:
360 Improve handling of restrict/exclude URLs with spaces or encoded chars
361
362 Sun Dec 21 2003 Lachlan Andrew <lha at users.sourceforge.net>
363
364 * htsearch/HtURLSeedScore.cc, htsearch/SplitMatches.cc: Fix bug #863860
365 Split patterns at "|".
366 For SplitMatches, make "*" only match if all other patterns fail.
367
368 Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
369
370 * htdig/Server.cc: Fix bug #851303.
371 Allow indexing if robots.txt has an empty "disallow".
372
373 * test/t_htdig, test/t_htsearch, test/htdocs/robots.txt:
374 Tests for the above.
375
376 Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
377
378 * htdig/htdig.cc, test/t_factors: Warn if config file has obsolete fields.
379
380 Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
381
382 * htsearch/Display.cc: Apply Gilles's patch for ellipses bug #844828.
383
384 Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
385
386 * test/{t_validwords,t_templates,t_fuzzy,t_factors}
387 * test/{set_attr,synonym_dict,dummy.stems,dummy.affixes,bad_word_list}
388 * test/conf/main-template test/htdocs/set1/{site2.html,site4.html}:
389 Added four new tests to test suite. Not included in "make check",
390 but can be run explicitly by "make TESTS=t_... check".
391
392 Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
393
394 * htcommon/conf_lexer.{lxx,cxx}:
395 Back out changes to try to accept files without EOL :(
396
397 Sat Dec 13 2003 Lachlan Andrew <lha at users.sourceforge.net>
398
399 * htcommon/defaults.{cc,xml}, htdoc/{attrs,cf_byprog}.html:
400 Fix "used by" for max_excerpts, and resulting hyperlinks.
401
402 Sat Nov 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
403
404 * htcommon/conf_lexer.{lxx,cxx}, htcommon/conf_parser.{yxx,cxx}:
405 Partially address bug #823455.
406 Don't complain if config file doesn't end in EOL.
407 Should the grammar be fixed not to need EOL?
408 Report errors to stderr, not stdout, as they confuse the web server.
409
410 Sun Nov 9 14:44:02 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
411
412 * Tagged release htdig-3-2-0b5
413
414 Sat Nov 8 2003 Lachlan Andrew <lha at users.sourceforge.net>
415
416 * htcommon/default.cc, htsearch/parser.cc: Fix bug #825877
417 Reduce backlink_factor to comparable with other factors, and
418 interpret multimatch_factor as the *bonus* given for multiple matches.
419
420 Sat Nov 1 2003 Lachlan Andrew <lha at users.sourceforge.net>
421
422 * htsearch/parser.cc: Fix bug #806419. Ignore bad words at start of phrase.
423
424 Tue Oct 28 11:58:06 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
425
426 * htdig/htdig.cc: set the debug level when we are importing a cookie file.
427 Fix bug #831478.
428
429 Mon Oct 27 17:13:02 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
430
431 * htdig/Server.cc: Fix bug #831407. Make sure time properly reset after
432 delay completed, so that it doesn't allow 2 connections per delay.
433
434 Mon Oct 27 15:57:38 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
435
436 * htdoc/THANKS.html: Added Lachlan, Jim and Neal to the active developers
437 list.
438
439 Sun Oct 26 2003 Lachlan Andrew <lha at users.sourceforge.net>
440
441 * htdoc/hts_templates.html: Clarify that PREV/NEXTPAGE template variables
442 are empty if there is only one page, ignoring no_{prev,next}_page_text.
443
444 Sun Oct 26 2003 Lachlan Andrew <lha at users.sourceforge.net>
445
446 * htcommon/defaults.cc: Fixed documentation to close bug #829767
447 Clarified that noindex_start/end do not get replaced by whitespace.
448 Also removed spurious '>' from start of boolean_syntax_errors, and
449 added missing '#' to many local <a href> tags.
450
451 Sun Oct 26 12:42:27 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
452
453 * htcommon/defaults.cc: Fixed description of 'head_before_get' after
454 Lachlan fixes.
455 * htdoc/attrs.html: rerun cf_generate.pl
456
457 Sat Oct 25 2003 Lachlan Andrew <lha at users.sourceforge.net>
458
459 * htsearch/Display.cc: Fix #829761.
460 If last component of the URL is used as a title, URL-decode it.
461
462 Sat Oct 25 2003 Lachlan Andrew <lha at users.sourceforge.net>
463
464 * htdig/Server.cc: Fix #829754. Avoid calculations with negative time
465
466 Fri Oct 24 17:17:15 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
467
468 * htdoc/htdig.html, htdoc/meta.html, htdoc/require.html: Update URL for
469 the Standard for Robot Exclusion.
470
471 * htdoc/htmerge.html: Added two clarifications to -m option description.
472
473 * htdoc/cf_types.html: Make clear distinction between String List and
474 Quoted String List.
475
476 Fri Oct 24 15:30:08 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
477
478 * htsearch/Display.cc: Fix bug #829746. Applied Niel Kohl's fix for this,
479 to check if words input given before trying to use it, to avoid NULL
480 argument to syslog().
481
482 Fri Oct 24 15:15:53 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
483
484 * htsearch/Display.cc: Fix bug #578570. The enddate handling now works
485 correctly for a large, negative startday value.
486
487 Fri Oct 24 12:47:51 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
488
489 * htdig/HTML.cc (ctor): Fix obvious typo in metadatetags.Pattern setting.
490
491 Thu Oct 23 10:27:18 2003 Lachlan Andrew <lha at users.sourceforge.net>
492
493 * htcommon/default.cc: Fix bug #828808. Default startyear to empty
494 Document "startyear defaults to 1970 if a start/end date set".
495
496 Thu Oct 23 12:14:30 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
497
498 * htdig/htdig.cc: restored the code before Oct 21 (fixes ##828628)
499
500 Thu Oct 23 11:41:15 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
501
502 * htdig/Retriever.[h,cc]: removed 'head_before_get' overriding by
503 restoring the code before Oct 21.
504 * htdig/Document.[h,cc]: ditto, with the exception of detaching the HEAD
505 before GET mechanism from the persistent connections'.
506 * htcommon/defaults.cc: improved documentation (even though it needs
507 corrections by an english-speaking developer).
508 * These changes fix bug #828628
509
510 Wed Oct 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
511
512 * htsearch/parser.cc: Applied Neal's patch to fix bug #823403
513 Documents only added to search list if they were successfully dug.
514 Lines 237-238 of htsearch/Display.cc
515 if (!ref || ref->DocState() != Reference_normal)
516 continue;
517 should now be redundant. (Left in to be defensive.)
518
519 Tue Oct 21 11:04:56 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
520
521 * htdig/Retriever.h: added the 'RetrieverType' enum and an object variable
522 for storing the type of dig we are performing (default initial);
523 * htdig/Retriever.cc: changed constructor in order to handle the type,
524 added some debugging explanation regarding the override of the
525 'head_before_get' attribute, added checks regarding an empty
526 database of URLs to be updated (set the type to initial).
527 * htdig/Document.h: added the attribute 'is_initial' which stores the
528 information regarding the type of indexing (initial or incremental)
529 we are currently performing. Added access methods (get-and-set-like)
530 * htdig/Document.cc: modified the logic of the HeadBeforeGet settings during
531 the retrieval phase, in order to always override user's settings in
532 an incremental dig and automatically set the 'HEAD' call in this case.
533 * htcommon/defaults.cc: modified the default value of 'head_before_get' and a bit
534 of its explanation.
535 * htnet/HtHTTP.cc: detached the HEAD before GET mechanism to the persistent
536 connections one
537 * htdig/Server.cc: added one level of debugging to the display of the
538 server settings in the server constructor
539
540 Fri Oct 17 2003 Lachlan Andrew <lha at users.sourceforge.net>
541
542 * htword/WordType.cc, htcommon/defaults.cc: Patched to fix bug #823083
543 Don't assume IsStrictChar returns false for digits.
544 Clarify behaviour of allow_numbers in the documentation.
545
546 Fri Oct 17 2003 Lachlan Andrew <lha at users.sourceforge.net>
547
548 * htcommon/defaults.cc: Patched to fix bug #823455
549 Escaped "$" in valid_punctuation, and add warnings about $, \ and `.
550
551 Wed Oct 15 11:12:52 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
552
553 * htdig/Server.cc (robotstxt): Patched to fix bug #765726.
554 Don't block paths with subpaths excluded by robots.txt, and make
555 sure any regex meta characters are properly escaped.
556
557 Tue Oct 14 11:54:07 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
558
559 * htnet/HtHTTP.cc: add an empty Accept-Encoding header - this inform the
560 server that htdig is only able to manage documents that are not encoded
561 (if no Accept-Encoding is sent, the server assumes that the client is
562 capable of handling every content encoding - i.e. zipped documents with
563 Apache's mod_gzip module). Partial fix of bug #594790 (which now becomes a
564 feature request)
565
566 Mon Oct 13 2003 Lachlan Andrew <lha at users.sourceforge.net>
567
568 * htfuzzy/Regex.cc: Search for regular expression. (Used to ignore it!)
569
570 * htfuzzy/Speling.cc, htword/{WordList.cc,WordList.h,WordKey.cc,WordKey.h}:
571 When looking in word database for misspelt words, don't ask to match
572 trailing numeric fields in database key.
573
574 * htcommon/defaults.cc, htdoc/htfuzzy.cc: Update docs.
575
576 Sun Oct 12 2003 Lachlan Andrew <lha at users.sourceforge.net>
577
578 * htsearch/htsearch.cc:
579 Fix bug if fuzzy algorithms produced no search words.
580 Send all debugging output to cerr not cout. More debugging output.
581
582 Sun Oct 12 2003 Lachlan Andrew <lha at users.sourceforge.net>
583
584 * htdig/{Retriever,Server}.cc: Back out the previous.
585 Gilles pointed out inconsistency with Retriever::IsValidURL().
586
587 Sun Oct 5 2003 Lachlan Andrew <lha at users.sourceforge.net>
588
589 * htdig/{Retriever,Server}.cc: Jim Cole's patch to bug #765726.
590 Don't block paths with subpaths excluded by robots.txt.
591
592 Sun Oct 5 2003 Lachlan Andrew <lha at users.sourceforge.net>
593
594 * htsearch/htsearch.cc: Highlight phrases containing stop words
595 * test/t_htsearch, test/conf/htdig.conf.in: Tests for the above
596
597 Sat Sep 27 2003 Lachlan Andrew <lha at users.sourceforge.net>
598
599 * test/{test_functions.in,t_htdig,t_htdig_local,t_htnet}:
600 Don't assume shell "." command passes arguments. (Doesn't on FreeBSD.)
601
602 Sat Sep 27 2003 Lachlan Andrew <lha at users.sourceforge.net>
603
604 * htlib/HtDateTime.h, htnet/HtCookie.cc:
605 Avoid ambiguous function call on systems (HP-UX) where time_t=int
606
607 Fri Aug 29 09:35:46 MDT 2003 Neal Richter <nealr at rightnow.com>
608
609 * removed references to CDB___mp_dirty_level ,CDB_set_mp_diry_level()
610 & CDB_get_mp_diry_level()
611
612 * The config verb 'wordlist_cache_dirty_level' was left for possible use in
613 the future.
614
615 Thu Aug 28 15:11:21 MDT 2003 Neal Richter <nealr at rightnow.com>
616
617 * Changed db/LICENSE file to new LGPL compatible license from Sleepycat
618 Software -- Thanks Sleepycat!
619
620 * Reverted to Revision 1.2 or db/mp_alloc.c The recent changed cuased
621 large DB growth. Strangely the files contained no 'new' data, they were
622 just much larger. Looks like the pages were being flushed too often????
623
624 Thu Aug 28 12:41:22 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
625
626 * global: updated with 'autoreconf -if' (autoconf 2.57, libtool 1.5.0a and
627 automake 1.7.6)
628 * 'make check' successful on: AMD64 Linux 2.4, Alpha Linux 2.2,
629 RedHat Linux 7.3 (2.4), SPARC Ultra60 Linux 2.4,
630 Sparc R220 Sun Solaris (5.8).
631 * README.developer: added further info
632
633 Thu Aug 28 12:00:10 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
634
635 * db/[config.guess,config.sub,install-sh,ltmain.sh,missing]: added in the
636 database directory (this way 'make dist' goes on); I have not been able to
637 tell the db/configure script to get the 'top_srcdir' ones (which should be
638 the default behaviour). Maybe in the future we'll look for this.
639
640 Thu Aug 28 11:53:48 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
641
642 * db/configure.in: changed AC_PROG_INSTALL() to AC_PROG_INSTALL and removed
643 AC_CONFIG_AUX_DIR; this implies that autotools copies will be made for the
644 db directory as well.
645
646 Thu Aug 28 11:36:42 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
647
648 * [htcommon,htdb,htdig,htfuzzy,htlib,htnet,htsearch,httools,htword,test]/Makefile.am:
649 added the option above to every *_LDFLAGS
650
651 Thu Aug 28 11:30:39 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
652
653 * Makefile.am: removed acconfig.h from the EXTRA_DIST list
654
655 Thu Aug 28 11:25:07 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
656
657 * configure.in: removed portability checks for error, stat and lstat that
658 caused a compile errors on Solaris. Added the '-mimpure-text'
659 extra ld flag for GCC on solaris systems (a linkage error occurs
660 when libstdc++ is not shared)
661
662 Thu Aug 28 11:22:57 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
663
664 * include/Makefile.am: changed htconfig.h.in into config.h.in
665
666 Thu Aug 28 11:16:19 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
667
668 * htlib/error.[h,c]: removed for now, until replacement functions will be
669 correctly performed.
670
671 Thu Aug 28 11:11:32 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
672
673 * htdoc/cf_generate.pl: fixed an error when opening tail and head files
674 * Makefile.am: enabled rebuild from a different directory (it is used
675 my 'make dist')
676
677 Thu Aug 28 10:46:35 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
678
679 * htlib/malloc.c: modified according to autoconf specifications as far
680 as replacement functions are regarded
681 * htlib/[lstat, stat].c: removed for now
682
683 Thu Aug 28 10:40:58 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
684
685 * htdoc/cf_generate.pl: accept an optional parameter (top source directory)
686 * htcommon/defaults.cc: fixed some broken lines which prevented
687 cf_generate.pl from correctly working
688 * htdoc/Makefile.am: modified the automake file for passing the top
689 source directory to cf_generate.pl
690 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
691 Regenerated using cf_generate.pl.
692
693 Tue Aug 26 12:25:40 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
694
695 * configure.in: removed AC_FUNC_MKTIME because it may not work properly
696 and added default replacement directory (htlib) for future uses
697 * htlib/Makefile.am: back-step with re-inclusion of mktime.c in the
698 list of files to be always compiled (caused linking errors
699 for the __mktime_internal function)
700 * global: updated with 'autoreconf -if'
701
702 Sun Aug 24 12:44:29 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
703
704 * updated with 'autoreconf -if': autoconf 2.57, automake 1.7.6 and
705 libtool 1.5.0a (autotools that come with Debian SID)
706
707 Sun Aug 24 12:39:34 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
708
709 * configure.in: moved AC_PROG_LEX to AM_PROG_LEX
710 * db/configure.in: enabled AM_MAINTAINER_MODE which prevented users without
711 autotools to configure and compile the program (relatively to the db
712 directory)
713 * include/htconfig.h: previously excluded from the branch (severe error!)
714
715 Mon Jul 21 20:54:47 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
716
717 * htlib/(malloc|error|lstat|stat|realloc).c: added for cross-compiling
718 reasons (as suggested by automake)
719 * htlib/error.h: ditto
720 * db/acconfig.h: removed as suggested by autotools' new versions
721 * configure.in: removed AC_PROG_RANLIB (overriden by AC_PROG_LIBTOOL)
722 * updated as of rerun 'autoreconf -if'
723
724 Mon Jul 21 10:08:24 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
725
726 * Patch provided by Marco Nenciarini <mnencia at linux.it> has been
727 completely applied; the patch adds support for detection
728 of standard C++ library
729 * all sources using <iostream.h> <fstream.h> <iomanip.h>: modified
730 to use standard ISO C++ library, if present
731 * db/configure scripts: modified for autoconf 2.57
732
733 Mon Jul 21 09:59:16 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
734
735 * [.,*]/Makefile.in: regenerated by new automake against new configure.in
736 * Makefile.config: now looking for the global configuration file
737 in the source directory
738
739 Mon Jul 21 09:49:22 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
740
741 * configure.in: completely rewritten, deprecated directives have
742 been removed and now version 2.57 is a prerequisite.
743 * acinclude.m4: moved all the macros here
744 * aclocal.m4, configure: regenerated by aclocal and autoconf
745 * acconfig.h: removed as now it is deprecated
746 * include/htconfig.h.in: removed, as 'config.h.in' is preferred
747 and auto-generated
748 * config.[guess,sub]: updated with newer versions
749
750 Tue Jul 8 16:29:44 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
751
752 * htsearch/parser.cc (checkSyntax): Fixed boolean_syntax_errors
753 handling to work over multiple config files.
754
755 Mon Jul 7 00:41:55 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
756
757 * Updated to autoconf 2.57, libtool 1.5 and automake 1.7.5
758 * removed acconfig.h files
759 * autoconf include file is now include/config.h (for autoheader)
760 * include/htconfig.h.in renamed in include/htconfig.h: now includes
761 config.h and redefines the bool types
762 * htlib/HtRegexList.cc, htdig/(Document.cc|ExternalParser.cc): removed
763 TRUE and FALSE and converted to C++ standard values
764
765 Sat Jul 5 2003 Lachlan Andrew <lha at users.sourceforge.net>
766
767 * test/test_functions.in: Fix bugs starting/killing apache
768
769 Sat Jul 5 2003 Lachlan Andrew <lha at users.sourceforge.net>
770
771 * htcommon/defaults.cc: Disable cache flushing to avoid "page leak".
772
773 Tue Jun 24 2003 Neal Richter <nearl at rightnow.com>
774
775 * Update Copyright Notices in code & documentation to 2003
776
777 * Changed License Notice GPL -> LGPL License change (Decided by HtDig
778 Board & Membership October 2002
779
780 Mon Jun 23 2003 Neal Richter <nearl at rightnow.com>
781
782 * Raft of changes. Most todo with Native Win32 support
783
784 * TODO: ExternalTranport & ExternalParser are effectively dissabled with
785 #ifdefs for Native WIN32
786
787 * remove global CDB___mp_dirty_level variable and subsitute functions to set/get variable
788
789 * Added local copies of GNU LGPL regex, POSIX-like dirent routines, getopt
790 library and filecopy routines - mainly for Native WIN32 support
791
792 * improve IsValidURL with return codes (htdig/Retriever.cc)
793
794 * lots of improvements/new-features to libhtdig
795
796 Sun Jun 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
797
798 * db/mp_cmpr.c (CDB___memp_cmpr_open):
799 Make weak compression database standalone to avoid recursion
800 This *should* fix all of the recent problems with dirty cache etc.
801
802 * test/search.cc: Don't take sizeof zero sized array
803
804 Fri Jun 20 2003 Lachlan Andrew <lha at users.sourceforge.net>
805
806 * configure,aclocal.m4,acinclude.m4: --with-ssl set CPPFLAGS, not CFLAGS
807
808 Fri Jun 20 2003 Lachlan Andrew <lha at users.sourceforge.net>
809
810 * db/configure: Hack which should allow select to be detected on HP/UX
811
812 * db/db.c: Replace HAVE_ZLIB with HAVE_LIBZ (as set by configure)
813
814 * htword/wordKey.cc: More descriptive error message
815
816 (Changes to compile with Sun's C++)
817 * htnet/{HtCookie.cc,HtFTP.cc,Transport.cc}:
818 Assign substring of const string to const pointer.
819 * htsearch/ResultMatch.h:
820 Allow use of SortType in ResultMatch::setSortType()
821 * test/search.cc: Don't take sizeof(variable size array)
822 * htdb/htdb_stat.cc: avoid name clash for global var internal
823 * htcommon/URL.h, htlib/HtTime.h, htlib/htString.h, htnet/Connection.h,
824 htword/WordBitCompress.h:
825 Cast default args of type string literal to type (char*)
826
827 * htdocs/require.html: Remove email address.
828
829 * htlib/gregex.h: Avoid warning if __restrict_arr already defined
830
831 Sun Jun 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
832
833 * htcommon/defaults.cc:
834 Set wordlist_cache_dirty_level to 1 (it most conservative value).
835 Miscellaneous reformatting.
836 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
837 Regenerated using cf_generate.pl.
838
839 * htdoc/{require.html,meta.html,all.html,meta.html}:
840 Update disk usage for phrase searching.
841 Updated list of supported platforms. More hyperlinks.
842
843 Fri Jun 13 2003 Lachlan Andrew <lha at users.sourceforge.net>
844
845 * htsearch/Display.cc (setVariables), htdocs/hts_template.html:
846 Set MATCH_MESSAGE from method_names (for internationalisability).
847 Removed all trace of hack for config attribute...
848
849 Thu Jun 12 14:16:05 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
850
851 * htsearch/htsearch.cc (main): Fixed boolean_keywords handling to
852 work over multiple config files (must destroy old list before
853 creating new one).
854
855 * htcommon/defaults.cc, htsearch/Display.cc (setVariables): Removed
856 incorrect default value for "config" attribute, and removed hack
857 that attempted to correct it.
858
859 * htdoc/attrs.html: Regenerated using cf_generate.pl.
860
861 Thu Jun 12 13:28:01 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
862
863 * htcommon/defaults.cc, htcommon/HtSGMLCodec.cc (ctor): Added
864 translate_latin1 option to allow disable Latin 1 specific SGML
865 translations.
866
867 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
868 Regenerated using cf_generate.pl.
869
870 Mon Jun 9 2003 Lachlan Andrew <lha at users.sourceforge.net>
871
872 * htsearch/htsearch.cc: Fixed setupWords loop for junk at end of query
873
874 Mon Jun 9 2003 Lachlan Andrew <lha at users.sourceforge.net>
875
876 * htsearch/Display.cc: Set CONFIG template variable to the base name
877 of the config file (no directory or .conf), as expected by htsearch
878
879 Mon Jun 9 2003 Lachlan Andrew <lha at users.sourceforge.net>
880
881 * test/test_functions.in: avoid trying killing apache multiple times
882
883 * configure,configure.in: Reformat --help output
884 * htdoc/FAQ.html: Brought up-to-date with main docs
885 * htdoc/hts_templates.html: added hyperlinks.
886 * installdir/search.html: Display version
887
888 Sun Jun 8 2003 Lachlan Andrew <lha at users.sourceforge.net>
889
890 * configure: Hack to set --disable-bigfile for Solaris (with Sun cc)
891 and --disable-shared --enable-static for Mac OS X
892
893 * test/{test_functions.in,t_htdig,t_htdig_local,t_htnet}:
894 Only start Apache for tests which need it, and kill it after the test
895
896 * contrib/parse_doc.pl: Allow file names containing spaces (from .deb)
897
898 Mon Jun 2 2003 Lachlan Andrew <lha at users.sourceforge.net>
899
900 * db/mp_cmpr.c: Add default zlib setting to default_cmpr_info
901 * htcommon/defaults.cc, htword/WordDBCompress.cc: Fix docs to say
902 default compression by 8 (not by 3, which I had "fixed" it to...)
903
904 * htcommon/conf_lexer.{cxx,lxx}: Avoid warnings, and document hack.
905
906 Thu May 29 2003 Lachlan Andrew <lha at users.sourceforge.net>
907
908 * db/mp_cmpr.c: Fix comparison of -1 and unsigned which broke SunOS cc
909 * htdoc/install.html: Warn SunOS cc users to --disable-bigfile
910
911 * htcommon/conf_lexer.cxx: Suppress warnings of unused identifiers
912 * test/con/htdig.conf2.in: Disable testing of content_classifier
913 attribute, as didn't work until after installation
914
915 Tue May 27 2003 Lachlan Andrew <lha at users.sourceforge.net>
916
917 * db/configure, db/ac{local,include}.m4:
918 Stop test for zlib from adding -I/default/path (*this* time...)
919
920 * htword/DBPage.h: Fix bug introduce in previous patch
921
922 * test/Makefile.{in,am}: Replace non-portable make -C X by cd X; make
923
924 Tue May 27 2003 Lachlan Andrew <lha at users.sourceforge.net>
925
926 * {,db/}configure, {,db/}ac{local,include}.m4:
927 Stop test for zlib from adding -I/default/path (broke SunOS cc)
928 Fix -Wall test if CCC is g++ but CC is not gcc
929
930 * test/dbbench.cc: #include <fcntl.h> later, to avoid #define open
931 causing problems
932
933 * includedir/synonyms: Remove trailing blank line which caused warning
934 * htnet/HtCookieInFileJar.cc,htfuzzy/Synonym.cc: .get() to stop warnings
935 * htlib/mhash_md5.c: char -> unsigned char to stop warnings
936 * test/search.cc, htword/WordDBPage.h:
937 Casts to (int) to stop printf warnings. ALLIGN -> ALIGN
938
939 Sat May 24 2003 Lachlan Andrew <lha at users.sourceforge.net>
940
941 * htcommon/defaults.cc: Keep more wordlist cache pages clean
942
943 * {,db/}configure{,.in}, {,db/}ac{local,include}.m4:
944 Patch by Richard Munroe to test if -Wno-deprecated needed.
945 Many bug fixes / extra search paths added.
946
947 * include/htconfig.h.in, db/db_config.h.in:
948 Only '#define const' if not C++ (htword/WordDB.cc uses db_config.h)
949 * test/dbbench.cc: check for alloca even if gcc
950 * test/t_url: used grep -C instead of grep -c (for portability)
951 * db/mp_{alloc,cmpr}.c: Removed/replaced C++ style comments
952
953 * htdoc/require.html: Revised list of supported platforms
954
955 Thu May 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
956
957 * htnet/HtFile.cc: Fix previous .get() patch...
958
959 Thu May 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
960
961 * htlib/DB_2.cc: Set wordlist_cache_dirty_level before opening
962 database, to avoid database memory allocation problem.
963
964 * db/db_err.c: Make 'fatal' errors actually exit.
965
966 * htdig/Document.cc, htsearch/parser.cc, htdig/htdig.cc,
967 * htnet/Ht{HTTP,File}.cc:
968 Add .get() to use of strings to avoid compiler warnings (FreeBSD).
969
970 Thu May 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
971
972 * ltmain.sh, test/Makefile.in: Hack to list library dependencies
973 multiple times in g++ command, to get MacOS X to 'make check'.
974
975 * test/{search,word}.cc: cast sizeof() to (int) to avoid warnings.
976
977 * htdoc/install.html: Documented MacOS X's shared libraries problem.
978
979 Sun May 18 2003 Lachlan Andrew <lha at users.sourceforge.net>
980
981 * db/mp_alloc.c: Hopefully the *last* fix for this morning's patch...
982
983 * configure, aclocal.m4, acinclude.m4:
984 Look for httpd modules in .../libexec/httpd for OS X
985 * test/conf/httpd.conf: Disabled mod_auth_db, mod_log{agent,referer}.
986
987 Sun May 18 2003 Lachlan Andrew <lha at users.sourceforge.net>
988
989 * db/db.h.in: Declare variable introduced in db/mp_cmpr.c patch
990
991 Sun May 18 2003 Lachlan Andrew <lha at users.sourceforge.net>
992
993 * db/mp.h, db/mp_{alloc,bh,cmpr,region}.c,
994 * htword/WordDB.cc, htdig/htdig.cc:
995 Avoid infinite loop if memp_alloc has only dirty,
996 "weakly compressed" (i.e. overflow) pages.
997 * htcommon/defaults.cc: Document the above, plus misc updates.
998
999 * htword/WordDBPage.h:
1000 Cast sizeof() to (int) in printf()s to avoid compiler warnings.
1001
1002 Sun APR 20 2003 Lachlan Andrew <lha at users.sourceforge.net>
1003
1004 * htdig/htdig.cc: delete db.words.db_weakcmpr if -i specified.
1005
1006 Wed Feb 26 22:10:40 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1007
1008 * htnet/HtHTTP.cc: fixed colon (':') problem with HTTP header parsing,
1009 as Frank Passek, Gilles and others suggested, as space is not
1010 mandatory between the field declaration and the field value returned
1011 by the server
1012
1013 Sun Feb 23 10:20:58 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1014
1015 * htcommon/defaults.[cc,xml]: added the 'cookies_input_file'
1016 configuration attribute for pre-loading cookies in memory
1017 * htdig/htdig.cc: added the feature above; the code automatically
1018 loads the cookies from the input file into the 'jar' that will be
1019 used during the crawl.
1020
1021 Sun Feb 23 10:16:08 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1022
1023 * htnet/HtHTTP.h: removed the NULL pointer check before assigning a
1024 new jar to the HTTP code
1025
1026 Tue Feb 11 2003 Lachlan Andrew <lha at users.sourceforge.net>
1027
1028 * htcommon/defaults.cc: Set default compression_level to 6,
1029 which enables Neal's wordlist_compression_zlib flag.
1030
1031 Tue Feb 11 2003 Lachlan Andrew <lha at users.sourceforge.net>
1032
1033 * htcommon/{DocumentRef.h, HtWordReference.h},
1034 htsearch/WeightWord.{cc,h},
1035 htsearch/parser.{cc,h}, htsearch/htsearch.cc:
1036 Added field-restricted searching, by title:word or author:word
1037
1038 * htdig/ExternalParser.cc, htdig/HTML.{cc,h}, htdig/Parsable.{cc,h},
1039 htdig/Retriever.{cc,h}:
1040 Parse author from <meta ...> tags. Also moved some common
1041 functionality from HTML/ExternalParser into Parsable.
1042
1043 * test/t_htsearch, htcommon/defaults.cc,
1044 htdoc/{TODO.html,hts_general.html,hts_method.html}:
1045 Test and document the above
1046
1047 Sun Feb 9 2003 Lachlan Andrew <lha at users.sourceforge.net>
1048
1049 * htdig/HTML.cc: fix bug in detection of deprecated noindex_start/end
1050 * htsearch/Display.cc: try harder to find value for DBL_MAX #680836
1051 * htcommon/defaults.cc: fixed typos.
1052
1053 Sat Feb 1 13:57:17 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1054
1055 * htnet/HtCookie.[h,cc]: allowed printDebug to be passed an ostream object
1056 * htnet/HtCookieMemJar.cc: removed a debug call
1057
1058 Thu Jan 30 19:28:32 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1059
1060 * configure.in: used AC_LIBOBJ instead of deprecated LTLIBOBJS's workaround
1061 * ltconfig: removed as not needed anymore since libtool 1.4
1062 * db/configure.in: added AC_CONFIG_AUX_DIR(../) for letting automake know to use
1063 the main ltmain.sh file
1064 * configure, aclocal.m4, Makefile.in, */Makefile.in, config.guess, config.sub,
1065 install-sh, ltmain.sh, missing, mkinstalldirs: re-generated by autotools:
1066 aclocal, autoconf 2.57, automake 1.6.3 and libtool 1.4.3
1067 * db/aclocal.m4, db/configure, db/mkinstalldirs: ditto
1068
1069 Thu Jan 30 00:16:51 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1070
1071 * htsearch/htsearch.cc: removed a warning due to a not-initialized pointer
1072
1073 Wed Jan 29 22:53:25 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1074
1075 * acinclude.m4: included the function for checking against SSL, as
1076 found in the ac-archive.
1077
1078 Tue Jan 28 12:23:16 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1079
1080 * htnet/Makefile.am: added HtCookieInFileJar.[h,cc] files
1081 * installdir/cookies.txt: example file for pre-loading HTTP cookies
1082 * installdir/Makefile.am: added cookies.txt
1083
1084 Tue Jan 28 12:16:28 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1085
1086 * htnet/HtCookieMemJar.[h,cc]: performed deep copy of the jar in the copy constructor
1087
1088 Tue Jan 28 12:13:44 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1089
1090 * htnet/HtCookie.[h,cc]: added the constructor of a cookie object from a line
1091 of a cookie input file (Netscape's way): if an expiration value of '0' is set
1092 through the cookies input file, the cookie is managed as a session cookie.
1093 Improved copy constructor, solving a bug related to the expires field.
1094
1095 Tue Jan 28 12:11:27 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1096
1097 * htnet/HtCookieInFileJar.[h,cc]: class for importing cookies from a text file
1098
1099 Tue Jan 28 12:08:20 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
1100
1101 * htlib/HtDateTime.h: added the constructor HtDateTime(const int)
1102
1103 Sat Jan 25 2003 Lachlan Andrew <lha at users.sourceforge.net>
1104
1105 * htsearch/Display.cc: Convert "<br>\n" in $(DESCRIPTION) to "<br>"
1106 so it can be used in Javascript (feature request #529926).
1107
1108 Tue Jan 21 2003 Lachlan Andrew <lha at users.sourceforge.net>
1109
1110 * HTML.cc (HTML, parse): Handle noindex_start/end as string lists.
1111
1112 * test/{t_htsearch,htdocs/set1/script}: Test the above
1113
1114 * htcomon/defaults.cc:
1115 Add "<SCRIPT" to default noindex_start/end (feature request #586359).
1116
1117
1118 * htlib/String.cc (operator>> (istream&,String&) ):
1119 Exit loop when getline fails for reasons other than a full buffer.
1120
1121 * htnet/HtFile.cc (File2Mime), installdir/HtFileType:
1122 Allow file names containing spaces.
1123
1124 Sat Jan 11 2003 Lachlan Andrew <lha at users.sourceforge.net>
1125
1126 * htnet/HtFile.cc (Request), htdig/Document.cc (RetrieveLocal),
1127 htcommon/URL.h htcommon/URLTrans.cc:
1128 Decode URL paths before use as local filenames (file:/// & local_urls).
1129
1130 * test/{t_htdig,t_htdig_local,t_htsearch}, test/conf/htdig.conf2.in,
1131 test/htdocs/set1/{index.html,site 1,sub%20dir/empty file.html}:
1132 Tests for the above.
1133
1134 * htcommon/HtConfiguration.cc: brackets around assignment in 'if'.
1135 * test/search.cc (LocationCompare): Only specify default arg once.
1136
1137 Fri Jan 10 2003 Lachlan Andrew <lha at users.sourceforge.net>
1138
1139 * htlib/String.cc (operator>> (istream&,String&) ):
1140 Check status of stream, no return value of get().
1141 Fixes bug (for some C++ libs) where reading stops at a blank line.
1142
1143 Fri Jan 1 2003 Lachlan Andrew <lha at users.sourceforge.net>
1144
1145 * htnet/HtFile.cc(Ext2Mime,Request), htdig/Document.cc(RetrieveLocal):
1146 Determine local files' MIME types from mime.types, not hard-coded.
1147 URLs matching attribute "bad_local_extensions" must use their true
1148 transport protocol (HTTP for http://, filesystem for file:///).
1149
1150 * htnet/HtFile.cc (File2Mime, Request): For file:/// URLs only,
1151 files without (or with unrecognised) extensions are checked by
1152 the program specfied by the "content_classifier" attribute.
1153
1154 * htnet/htFile.cc (Request): Symbolic links are treated as
1155 redirects, to avoid problems with relative references.
1156
1157 * htcommon/defaults.cc: Documented the above (and added crossrefs).
1158
1159 * test/t_ht{dig,dig_local,search}, test/htdocs/set1/*,
1160 test/conf/htdig.conf2.in: Add tests for bad_local_extensions.
1161
1162 Mon Dec 31 2002 Lachlan Andrew <lha at users.sourceforge.net>
1163
1164 * configure.in,htfuzzy/EndingsDB.cc,htlib/{HtR,r}egex.h,Makefile.am:
1165 Renamed regex.h to gregex.h and allow use of rx instead.
1166
1167 * htcommon/defaults.cc,htdocs/{attrs,cf_byprog,cf_byname}.html:
1168 Fixed typo in cross-references to restrict and limit_urls_to.
1169
1170 * test/t_htmerge: Re-enabled htmerge command (discarding output).
1171
1172 * test/Makefile,test/conf/htdig.conf3.in: Added conf3 and fixed db path.
1173
1174 Mon Dec 30 2002 Lachlan Andrew <lha at users.sourceforge.net>
1175
1176 * contrib/doc2html/*: Incorporated David Adams' latest version, 3.0.1.
1177
1178 Mon Dec 30 2002 Lachlan Andrew <lha at users.sourcefourge.net>
1179
1180 Forward-ported several patches from 3.1.6:
1181
1182 * htdig/ExternalParser.cc: Added "description_meta_tag_names" attrib.
1183 Added "dc.date|dc.date.created|dc.date.modified" synonyms for "date".
1184 Allow spaces between "url" and "=" in refresh.
1185 Fixed bug in flag positions.
1186 Added "use_doc_date" attribute.
1187
1188 * htdig/HTML.cc: Added "description \_meta_tag_names" attribute.
1189 Added "dc.date|..." synonyms.
1190 Added "ignore_alt_text" attribute.
1191
1192 * htdig/Retriever.cc: Added "ignore_dead_servers" attribute.
1193 Added call to "url.rewrite() in got_href().
1194
1195 * htdig/FAQ.html: Latest version now 3.1.6. Mention old security hole.
1196 Describe external converters for PostScript etc.
1197 Mention pdf_parser not supported in 3.2.
1198
1199 * htdoc/{attrs,cf_byname,cf_byprog}.html: New attributes added
1200 (automatically from defaults.cc).
1201
1202 * htdoc/htmerge.html: Update for multiple database support.
1203
1204 * htdoc/hts_form.html: Describe relative/incomplete dates.
1205
1206 * htdoc/require.html: Describe phrase searching, external parsers,
1207 external transports.
1208 Added some new supported systems. (Commented out as testing
1209 incomplete.)
1210
1211 * htfuzzy/Synonym.cc: Protect against "synonym" entries with one word.
1212
1213 * htlib/String.cc: Protect against negative string lengths.
1214
1215 * htsearch/Display.{cc,h}: Added "search_result_contenttype" attribute,
1216 and corresponding displayHTTPheaders() function.
1217 Rewrite URLs.
1218 Remove old "ANCHOR" variable.
1219 Handle relative dates.
1220 Added "max_excerpts" attribute and buildExcerpts() function.
1221 Added "anchor_target" attribute.
1222
1223 * htsearch/DocMatch.h: Added "orMatches"
1224
1225 * htsearch/htsearch.cc: Added "boolean_keywords" attribute.
1226 Rewrite URLs.
1227
1228 * htsearch/parser.cc: Added "boolean_syntax_errors" attribute.
1229 Added wildcard search.
1230 Fixed bug in perform_phrase() so it now handles "bad words" and
1231 short words properly.
1232 Added "multimatch_factor" to give greater weight to documents matching
1233 multiple "OR" terms.
1234
1235 * htsearch/htparser.h: Added boolean_keywords support.
1236
1237 * htcommon/defaults.{cc,xml}: New attributes added, and enhanced
1238 descriptions
1239
1240
1241 Cleaned code to remove some compiler warnings/errors:
1242
1243 * htcommon/HtConfiguration.cc: Brackets around assignment 'path='
1244 inside 'if'
1245
1246 * htdig/Server.cc, htsearch/Display.cc:
1247 Added ".get()" when strings passed as arguments.
1248
1249 * htlib/StringMatch.h, htword/WordBitCompress.h:
1250 Explicit cast of NULL to (char*)NULL for broken C++ compilers.
1251
1252
1253 Also:
1254
1255 * STATUS: Removed "not all htsearch input parameters handled properly",
1256 "Return all URLs", "Turn on URL parser test",
1257 "htsearch phrase support tests".
1258 Reduced list of things to do for "require.html".
1259
1260
1261 * test/t_htsearch, test/conf/htdig.conf3.in:
1262 Added testing of phrases and boolean_keywords / boolean_syntax_errors.
1263
1264 Thu Nov 28 09:02:46 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1265
1266 * installdir/english.0: Removed S flag from birth, because it doesn't
1267 do what we want (birthes, not births).
1268
1269 Tue Nov 26 23:16:08 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1270
1271 * htdoc/hts_form.html: Fixed typo in link & description for restrict.
1272
1273 Tue Nov 26 22:30:06 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1274
1275 * installdir/english.0: Patched with Lachlan Andrew's changes, fixing
1276 lots of dubious uses of suffixes to get more appropriate and correct
1277 fuzzy endings expansions.
1278
1279 * installdir/synonyms: Updated with the version contributed by
1280 David Adams, with minor changes. Kept old one as synonyms.original.
1281
1282 Mon Nov 4 10:44:35 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1283
1284 * htcommon/URL.[h,cc]: added the assignment operator
1285
1286 Sun Oct 27 09:29:02 2002 Geoffrey Hutchison <ghutchis at localhost>
1287
1288 Merge in word DB zlib patch from Neal Richter.
1289
1290 * db/db.h.in, db/mp_cmpr.c, htword/WordList.cc,
1291 htword/WordDBCompress.h, htword/WordDBCompress.cc: Add support for
1292 using the zlib compression (and compression level) if specified by
1293 the new wordlist_compress_zlib, which is "true" by default.
1294
1295 * htcommon/defaults.cc: Add attribute wordlist_compress_zlib as
1296 above.
1297
1298 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
1299 Update using cf_generate.pl.
1300
1301 Sat Oct 26 21:59:01 2002 Geoffrey Hutchison <ghutchis at localhost>
1302
1303 Merge in fixes from Lachlan Andrew
1304
1305 * test/Makefile.am, test/Makefile.in, test/t_url, test/url.cc,
1306 test/url.children, test/url.parents, test/url.output: Add URL
1307 tests to the automatic test suite (rather than requiring them to
1308 be run manually).
1309
1310 * */Makefile.in: Regenerate using automake-1.4p6.
1311
1312 * htcommon/URL.cc, htcommon/URL.h: Add new configuration attribute
1313 allow_double_slash to only remove // marks when requested (since
1314 some server-side code uses them), handle initial protocols
1315 without double slashes, and only remove the default doc string
1316 from appropriate protocol URLs (e.g. not file), treat ".//" as a
1317 relative path, and collapse /../ *after* // and /./ handling.
1318
1319 * htcommon/defaults.cc: Add documentation for allow_double_slash,
1320 as well as various documentation cleanups.
1321
1322 * htdig/ExternalTransport.cc: Fix minor bug--recognize service
1323 specified as https:// rather than https.
1324
1325 * htdoc/hts_form.html, htdoc/hts_templates.html: Documentation fixes.
1326
1327 * htsearch/htsearch.cc: Create valid boolean query if "exact" not
1328 specified in search_algorithms by adding the exact word with low
1329 weight. Solves PR#405294.
1330
1331 Fri Oct 4 17:05:06 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
1332
1333 * htcommon/defaults.xml: Added first-draft XML version of defaults
1334 file. This will eventually be used to generate defaults.cc and
1335 documentation automatically. (As pointed out by Brian White, this
1336 will make the binaries smaller.)
1337
1338 Wed Sep 25 13:56:31 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1339
1340 * htdig/HTML.cc (parse): Fixed handling of JavaScript skipping so it
1341 doesn't get confused by "<" in code.
1342
1343 Thu Sep 19 09:04:50 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1344
1345 * htnet/HtHTTP.cc : another check for cookie jar's null pointer
1346
1347 Tue Sep 17 17:41:51 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1348
1349 * htcommon/defaults.cc (external_protocols): Fixed table formatting
1350 as suggested by Lachlan Andrew.
1351
1352 Thu Aug 29 21:21:34 CEST 2002 Soeren Vejrup Carlsen <svc at users.sourceforge.net>
1353
1354 * htdig/Document.[h,cc]: first steps in FTP handling. HtFTP.h included and
1355 we now test for the 'ftp' protocol in the Document::Retrieve function.
1356 Has not yet been tested!
1357
1358 * htnet/HtFTP.[h,cc]: added class to handle the FTP-protocol. Very
1359 experimental (has not been tested yet).
1360
1361 Fri Aug 9 13:01:05 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1362
1363 * httools/htnotify.cc (readPreAndPostamble): Check for empty strings
1364 in file names, not just NULL, as suggested by Martin Kraemer.
1365
1366 Wed Aug 7 12:11:31 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1367
1368 * htdig/ExternalParser.cc (parse): Fixed to impose max_doc_size
1369 restriction on external converter output which it reads in.
1370
1371 Tue Aug 6 18:21:11 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1372
1373 * these changes were suggested by David Reed <DReed1 at citgo.com> (thanks)
1374
1375 * htdig/Document.cc: manage cookies via SSL
1376
1377 * htnet/HtCookie.[h,cc]: features both RFC2109 and Netscape version
1378
1379 * htnet/HtCookieJar.cc: ditto
1380
1381 Tue Aug 6 17:12:22 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1382
1383 * htcommon/defaults.cc: added the 'http_proxy_authorization' attribute.
1384 Needs revision due to my usual *spaghetti* english. :-)
1385
1386 * htdig/Document.[h,cc]: proxy authorization is now enabled
1387
1388 Tue Aug 6 09:28:39 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1389
1390 * htnet/Connection.[h,cc]: IP address storing as string (sync with ht://Check)
1391
1392 * htnet/Transport.[h,cc]: HTTP Proxy and Basic credentials handling moved here (ditto)
1393 through the use of a protected static method
1394
1395 * htnet/HtHTTP.h: SetCredentials declared to be virtual (unnecessary because inherited,
1396 but gives better understanding); new method SetProxyCredentials for
1397 proxy authorization.
1398
1399 * htnet/HtHTTP.cc: HTTP header Proxy-Authorization is now handled. The
1400 SetCredentials and SetProxyCredentials methods now make use of the
1401 Transport::SetHTTPBasicAccessAuthorizationString method, in order to
1402 write the string for negotiating the access.
1403
1404 Fri Aug 2 15:40:18 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1405
1406 * htdig/Document.cc (Retrieve): Allow redirects from HTTPSConnect.
1407
1408 Tue Jul 30 12:46:56 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1409
1410 * htlib/md5.cc: Added missing include of stdlib.h, as Geoff suggested.
1411
1412 Sat Jul 27 11:57:25 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
1413
1414 * htnet/SSLConnection.cc: Add fix for segfault on SSL connections
1415 noticed by several users. Fix contributed by Andy Bach
1416 <afbach at users.sourceforge.net>.
1417
1418 Tue Jun 18 10:22:01 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
1419
1420 * htdig/Retriever.cc (got_word): Check that the word length meets
1421 the minimum word length before doing any processing.
1422
1423 Fri Jun 14 17:26:21 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1424
1425 * htsearch/Display.cc (buildMatchList), htsearch/HtURLSeedScore.cc
1426 (Match), htsearch/SplitMatches.cc (Match): Added Jim Cole's fix to
1427 bugs in handling of search_results_order.
1428
1429 Wed May 15 09:45:40 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1430
1431 * htnet/Retriever.cc: fixed the bug regarding the server_wait_time
1432 feature after the maximum number of requests per connection has been
1433 reached.
1434
1435 Tue Apr 9 16:41:33 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1436
1437 * htnet/HtCookie*.[h,cc]: RFC2109 compliant.
1438 * htlib/HtDateTime.[h,cc]: Add const-ness to the DiffTime static method
1439
1440 Tue Apr 9 12:52:30 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1441
1442 * htnet/HtCookie.cc: fixed a bug regarding expiry date recognition
1443
1444 Fri Apr 5 14:08:39 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1445
1446 * htdig/ExternalTransport.cc (Request): Fixed to strip CR from
1447 header lines, output header lines with -vvv.
1448
1449 Tue Mar 19 08:40:54 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1450
1451 * htnet/HtCookie.cc: enhanced controls regarding the expires setting
1452 when no expires is returned. Prevents NULL pointer exceptions to be
1453 arisen.
1454
1455 Mon Mar 18 11:28:02 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1456
1457 * htlib/HtDateTime.h: added the copy constructor
1458 * htnet/HtCookie.cc: fixed a NULL pointer bug regarding 'datestring'
1459 management and HtDateTime copy constructor is now used
1460
1461 Tue Mar 12 18:19:49 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1462
1463 * htlib/HtDateTime.cc (Parse, SetFTime): Added Parse method for
1464 more flexible parsing of LOOSE/SHORT formats, use it in SetFTime.
1465 Also skip unexpected leading spaces in SetFTime, as these frequently
1466 cause problems with some strptime() implementations.
1467
1468 Mon Feb 11 23:28:37 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
1469
1470 * htdig/Retriever.h (got_redirect): Add referer to properly handle
1471 broken links through a redirect as reported by Joe Jah.
1472
1473 * htdig/Retriever.cc: As above.
1474
1475 * htdig/Document.cc (Retrieve): Fix bug that prevented external
1476 transport methods from reporting redirects as reported by Jamie
1477 Anstice <Jamie.Anstice at sli-systems.com>.
1478
1479 * htlib/Dictionary.cc (hashCode): Trial of hash function suggested
1480 by Jamie Anstice.
1481
1482 Sat Feb 9 18:06:29 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
1483
1484 * htsearch/DocMatch.[h,cc]: Add scoring code for the new htsearch
1485 framework.
1486
1487 Thu Feb 7 11:32:14 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1488
1489 * htnet/HtHTTP.cc (ReadChunkedBody): gets control of Read_Line
1490 methods (return error when they fail).
1491
1492 Fri Feb 1 17:12:31 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
1493
1494 * Merged htdig-3-2-x branch back into CVS mainline.
1495
1496 * ChangeLog.0: Update with current 3.1.6 ChangeLog.
1497
1498 Thu Jan 24 18:06:04 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
1499
1500 * configure.in, aclocal.m4: Use new CHECK_SSL macro from the
1501 autoconf archive.
1502
1503 * configure: Generate via autoconf.
1504
1505 Fri Jan 18 11:15:29 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
1506
1507 * htnet/Transport.h (class Transport): Add const to SetCredentials
1508 method declaration as pointed out by Roman Maeder.
1509
1510 Wed Jan 16 13:35:26 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
1511
1512 * db/db.h.in: Add #include <sys/stat.h> which seems to help
1513 problems of stat64 conflicts on Solaris as suggested by Gilles.
1514
1515 Sat Jan 12 16:19:55 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1516
1517 * htcommon/defaults.cc: A few changes to the wording and formatting
1518 of the 'accept_language' attribute description.
1519 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
1520
1521 Fri Jan 11 21:18:00 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1522
1523 * htcommon/defaults.cc: added the 'accept_language' attribute
1524
1525 Fri Jan 11 20:53:36 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1526
1527 * htnet/HtHTTP.[h,cc]: management of the accept-language directive added
1528 * htcommon/URL.[h,cc]: const-ness in copy constructor and other cosmetic changes
1529 * htlib/Server.[h,cc]: management of the 'accept_language' attribute as
1530 a server block configuration directive.
1531 * htlib/Document.cc: set of the attribute above for the HTTP layer
1532
1533 Fri Jan 11 13:25:49 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1534
1535 * htdig/ExternalTransport.cc (Request): Fixed to allocate access_time
1536 object before setting it.
1537
1538 Fri Jan 4 12:31:34 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1539
1540 * htnet/HtCookie.cc, htword/WordKeyInfo.cc, htword/WordMonitor.cc,
1541 test/search.cc: changed all uses of strcasecmp to mystrcasecmp for
1542 consistency and portability.
1543
1544 Fri Jan 4 12:17:10 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1545
1546 * htnet/HtHTTP.cc (HTTPRequest): make the second comparison of the
1547 transfer-encoding header the same as the first, i.e. case insensitive
1548 and limited to 7 characters.
1549
1550 Fri Jan 4 15:13:13 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
1551
1552 * htnet/HtHTTP.cc: parse the transfer-encoding header as case insens.
1553 [fix htdig-Bugs-499388 by Matthias Emmert <Matthias.Emmert2 at start.de>]
1554
1555 Sun Dec 30 15:47:35 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
1556
1557 * HtHTTP.[h,cc]: management of the Content-Language directive for the response
1558
1559 Sat Dec 29 13:07:08 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
1560
1561 * htnet/HtCookie.[h,cc]: new fields (srcURL and isDomainValid) and
1562 a more robust class with initialization list and copy constructor
1563
1564 * htnet/HtCookieJar.[h,cc]: method for calculating the minimum number
1565 of periods that a domain specification of a cookie must have. Depending
1566 on what the Netscape cookies specification says.
1567
1568 * htnet/HtCookieMemJar.cc: Management of the domain field of the cookie
1569
1570 Mon Dec 17 06:45:02 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
1571
1572 * htdig/htdig.cc: fixed bug about cookie jar creation. It is done in
1573 here, because there is only one jar for the whole process. However
1574 it can be moved anywhere else. :-)
1575
1576 Mon Dec 17 06:40:25 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
1577
1578 * htnet/HtHTTP.cc: check for null pointer of cookie jar
1579
1580 Sun Dec 16 19:55:07 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
1581
1582 * htnet/Connection.[h,cc]: default constructor is changed and accepts
1583 a socket value (by default is -1)
1584 * htnet/HtCookieJar.[h,cc]: added a simple iterator
1585 * htnet/HtCookieMemJar.[h,cc]: ditto
1586 * htnet/HtFile: removed the management of modification_time (constructor)
1587 * htnet/HtHTTP.[h,cc]: constructor with initilization list and without
1588 a default constructor (the construction is now forced to pass a valid
1589 connection object). Removed any memory deletion from the destructor.
1590 The class is now abstract (see the virtual pure destructor).
1591 * htnet/HtHTTPBasic.cc: creates a Connection object in the initialization
1592 and the destructor has no responsability
1593 * htnet/HtHTTPSecure.cc: creates an SSLConnection object in the initialization
1594 and the destructor has no responsability
1595 * htnet/HtNNTP.cc: creates a Connection object in the initialization
1596 and the destructor has no responsability
1597 * htnet/Transport.[h,cc]: default constructor accepts a pointer to a
1598 Connection object and the destructor carries out the deletion of it
1599
1600 Thu Dec 6 13:24:30 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1601
1602 * contrib/examples/rundig.sh: Fixed to make use of DBDIR variable,
1603 and to test for and copy db.words.db.work_weakcmpr if it's there.
1604
1605 Fri Oct 19 11:07:33 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1606
1607 * htdig/Retriever.cc (IsValidURL): Fixed discrepancies in debug
1608 levels for messages giving cause of rejection, inadvertantly
1609 changed when regex support added.
1610
1611 Wed Oct 17 15:48:23 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1612
1613 * htdig/ExternalTransport.h: Added missing class keyword on friend
1614 declaration.
1615
1616 Tue Oct 16 14:35:16 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1617
1618 * htcommon/default.cc (external_parsers): Documented external converter
1619 chaining to same content-type, e.g. text/html->text/html-internal.
1620 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
1621
1622 Mon Oct 15 22:25:55 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
1623
1624 * htdig/Document.cc, htdig/htdig.cc, htdig/Retriever.cc: Make sure
1625 setEscaped is called with the current value of
1626 case_sensitive. Fixes bug pointed out by Phil Glatz.
1627
1628 Fri Oct 12 17:14:08 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1629
1630 * htdoc/htdump.html, htdoc/htload.html: Fixed 3 little typos.
1631
1632 Fri Oct 12 15:11:45 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1633
1634 * htnet/HtHTTP.cc (ParseHeader): Show header lines in debugging
1635 output at verbosity level 3, not 4, for consistency with 3.1.x.
1636
1637 * htcommon/URL.cc (removeIndex): Fixed to make sure the matched
1638 file name is at the end of the URL.
1639
1640 Fri Oct 12 10:39:54 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1641
1642 * htlib/HtRegexList.cc (setEscaped): Fixed to set compiled flag to
1643 FALSE when there's no pattern, so match() can detect this condition.
1644 Fixes handling of empty lists in bad_querystr, exclude_urls, etc.
1645
1646 * htdig/Retriever.cc (IsValidURL): Fixed bad_querystr matching to
1647 look at right part of URL, not whole URL.
1648
1649 Mon Sep 24 11:47:15 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1650
1651 * htnet/HtHTTP.cc (SetRequestCommand): Put If-Modified-Since header
1652 out in GMT, not local time, and only put it out if existing document
1653 time > 0.
1654
1655 * htsearch/parser.cc (perform_phrase): Optimized phrase search handling
1656 to use linear algorithm with Dictionary lookups instead of n**2 alg.,
1657 as suggested by Toivo Pedaste.
1658
1659 Tue Sep 18 10:50:40 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1660
1661 * htdoc/running.html: New documentation on how to run after configuring.
1662 * htdoc/rundig.html: New manual page for rundig script.
1663 * htdoc/install.html: Added link to running.html.
1664 * htdoc/contents.html: Added link to running.html, rundig.html, related
1665 projects. Updated links to contrib and developer site.
1666
1667 Fri Sep 14 22:12:56 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1668
1669 * htcommon/URL.h: Moved DefaultPort() from private to public for
1670 use in HtHTTP.cc.
1671
1672 Fri Sep 14 09:25:20 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1673
1674 * htnet/HtHTTP.cc (SetRequestCommand): Add port to Host: header when
1675 port is not default, as per RFC2616(14.23). Fixes bug #459969.
1676
1677 Sat Sep 8 22:15:33 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
1678
1679 * acconfig.h, include/htconfig.h.in: Add undef for
1680 ALLOW_INSECURE_CGI_CONFIG, which if defined does about what you'd
1681 expect. (This is for any wrapper authors who don't want to rewrite
1682 but are willing to run insecure.)
1683
1684 * htsearch/htsearch.cc: Only allow the -c flag to work when
1685 REQUEST_METHOD is undefined. Fixes PR#458013.
1686
1687 Tue Sep 4 18:58:31 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
1688
1689 * htsearch/DocMatch.cc: Add scoring for Quim's new parser
1690 framework. Only the normal word scoring is currently done, not
1691 backlink_factor or other "Document" methods.
1692
1693 Fri Aug 31 15:34:28 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1694
1695 * htdig/HTML.h, htdig/HTML.cc (ctor, parse, do_tag): Fixed buggy
1696 handling of nested tags that independently turn off indexing, so
1697 </script> doesn't cancel <meta name=robots ...> tag. Add handling
1698 of <noindex follow> tag. Added <> delim. to tag debugging output.
1699 Fixed a few typos.
1700
1701 Wed Aug 29 10:33:01 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1702
1703 * htcommon/defaults.cc (url_part_aliases): Added clarification
1704 explaining how to use example.
1705
1706 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
1707
1708 Mon Aug 27 15:05:09 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1709
1710 * installdir/search.html: Add DTD tag for HTML 4 compliance.
1711 * installdir/htdig.conf: Added .css to bad_extensions default,
1712 added missing closing ">".
1713 * htdoc/config.html: Updated with sample of latest htdig.conf and
1714 installdir/*.html.
1715
1716 Wed Jul 25 22:16:06 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1717
1718 * htcommon/defaults.cc: Put new htnotify_* entries in alphabetical
1719 order. Removed superfluous quotes from htnotify_webmaster example
1720 (htnotify.cc adds in the quotes).
1721 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
1722
1723 Tue Jul 24 16:07:01 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1724
1725 * htcommon/defaults.cc: Changed references in (no_)page_number_text
1726 entries from maximum_pages to maximum_page_buttons.
1727 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
1728
1729 Tue Jul 24 14:38:22 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1730
1731 * htdoc/hts_templates.html: Document Quim Sanmarti's URL decoding
1732 feature for template variables.
1733
1734 Thu Jul 12 14:12:02 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1735
1736 * htnet/HtFile.cc (Request): Fixed so it doesn't remove newlines
1737 from documents, and so it only tries to open mime.types once even
1738 if the open fails.
1739
1740 Thu Jul 12 11:40:07 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1741
1742 * contrib/conv_doc.pl, contrib/parse_doc.pl: Fixed EOF handling in
1743 dehyphenation, fixed to handle %xx codes in title made from URL.
1744
1745 * contrib/doc2html/doc2html.pl, contrib/doc2html/pdf2html.pl,
1746 contrib/doc2html/swf2html.pl: Fixed to handle %xx codes in URL title.
1747
1748 Wed Jul 11 15:05:47 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1749
1750 * htsearch/Display.cc (readFile): Added missing fclose() call, and
1751 debugging message for when file can't be opened.
1752
1753 Wed Jul 11 14:26:28 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1754
1755 * htsearch/Display.cc (displayParsedFile): Added debugging message
1756 when file can't be opened.
1757
1758 * htseach/Display.cc (buildMatchList): Fixed while loop to avoid
1759 warning.
1760
1761 * htsearch/htsearch.cc (main): Fixed handling of syntax error message
1762 to use String class instead of strdup().
1763
1764 * htsearch/parser.cc (setError): Added debugging message when error
1765 is set.
1766
1767 * htsearch/parser.cc (parse): Fixed not to clear error message after
1768 it's set.
1769
1770 Sat Jul 7 22:19:18 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
1771
1772 * */Makefile.in: Update using current production automake
1773 (1.4-p4).
1774
1775 * htfuzzy/Regexp.[cc,h]: Change class name to Regexp to prevent
1776 further namespace clashes.
1777
1778 * htfuzzy/Fuzzy.c: #include "Regexp.h" now and make sure we create
1779 the right class when needed.
1780
1781 * htlib/mktime.c: Change included mktime declaration to mymktime
1782 to avoid conflict on Mac OS X. (For some reason, autoconf's
1783 AC_FUNC_MKTIME doesn't work for Mac OS X. So this is a hack in the
1784 meantime.)
1785
1786 * htfuzzy/Makefile.am: Rename Regex files. Oops!
1787
1788 Fri Jul 6 18:38:58 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
1789
1790 * htfuzzy/Regexp.cc, htfuzzy/Regexp.h: Rename Regex class to
1791 prevent problems on case-insensitive systems.
1792
1793 * htlib/HtRegexReplaceList.cc, htlib/String.cc, htdig/htdig.cc:
1794 Change #include of <stream.h> to modern standard of iostream.h.
1795
1796 * htlib/Configuration.cc (Read): Make sure we never reference a
1797 negative position when trimming off whitespace.
1798
1799 * config.guess, config.sub: Update with new versions from GNU to
1800 recognize various flavors of Mac OS X/Rhapsody.
1801
1802 * htlib/strptime.cc: Make sure len is initialized.
1803
1804 Fri Jul 6 12:04:52 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1805
1806 * htlib/HtRegexList.cc (setEscaped): Fixed a potential problem
1807 with list building. When we go back a step, we still have to
1808 compile the new pattern in case it's the last one.
1809
1810 Wed Jul 4 23:39:19 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1811
1812 * htcommon/URL.cc (parse, ServerAlias): Fixed two problems that
1813 caused incorrect signatures to be generated.
1814
1815 Wed Jul 4 13:52:54 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1816
1817 * test/document.cc (dodoc), test/url.cc (dourl),
1818 test/testnet.cc (Retrieve): Fixed up handling of config to match
1819 David Graff's changes of May 16, and handling of HtHTTPBasic class
1820 to match Joshua Gerth's changes of Mar 17.
1821
1822 Tue Jul 3 16:20:56 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1823
1824 * htdig/Retriever.cc (GetLocal): Fixed to use URL class on given
1825 URL, so that default port numbers are stripped off. This was needed
1826 to allow local fetching of robots.txt.
1827
1828 * htnet/Connection.cc (ctors, dtor, Assign_Server, Get_Peername),
1829 htnet/Connection.h: Got rid of strdup stuff, used String class for
1830 peer & server_name.
1831
1832 * htnet/Connection.cc (Get_PeerIP): Used unambiguous name for structure.
1833
1834 * htnet/HtHTTP.cc (ctor, dtor): Don't allocate a 2nd Connection, as
1835 child classes already do this, and set pointer to null when connection
1836 is deleted, so we don't try to delete it twice. This was messing up
1837 the heap and causing segfaults. Call Transport::CloseConnection before
1838 deleting connection.
1839
1840 * htnet/HtHTTPBasic.cc (dtor), htnet/HtHTTPSecure.cc (dtor),
1841
1842 * htnet/HtNNTP.cc (dtor): Only delete connection if non-null, & set
1843 to null after deleting. Call Transport::CloseConnection before
1844 deleting connection.
1845
1846 * htnet/Transport.cc (CloseConnection): Don't exit if connection
1847 pointer is null, as this may be normal when called from destructor.
1848
1849 Fri Jun 29 11:14:36 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1850
1851 * htfuzzy/Endings.cc (getWords): Undid change introduced in 3.1.3,
1852 in part. It now gets permutations of word whether or not it has
1853 a root, but it also gets permutations of one or more roots that
1854 the word has, based on a suggestion by Alexander Lebedev.
1855 * htfuzzy/EndingsDB.cc (createRoot): Fixed to handle words that have
1856 more than one root.
1857 * installdir/english.0: Removed P flag from wit, like and high, so
1858 they're not treated as roots of witness, likeness and highness, which
1859 are already in the dictionary.
1860
1861 Mon Jun 25 12:50:47 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1862
1863 * htsearch/htsearch.cc (main): Got rid of last remnants of 'urllist'
1864 and used the 'l' StringList as was used in the code before, to make
1865 restrict and exclude handling work properly.
1866
1867 Mon Jun 25 15:52:19 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
1868
1869 * htsearch/htsearch.cc: defined 'urllist' in order to remove the
1870 compilation error (as Jesse suggested).
1871
1872 Fri Jun 22 16:28:13 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1873
1874 * htsearch/Display.cc (buildMatchList): Fix date_factor calculation
1875 to avoid 32-bit int overflow after multiplication by 1000, and avoid
1876 repetitive time(0) call, as contributed by Marc Pohl. Also move the
1877 localtime() call up before gmtime() call, to avoid clobbering gmtime's
1878 returned static structure (my thinko).
1879
1880 * htdig/htdig.cc (main): Use .work file for md5_db, if -a given,
1881 as contributed by Marc Pohl.
1882
1883 * htcommon/URL.cc (constructURL): Ensure that the _host is set if we
1884 are constructing non-file urls, as contributed by Marc Pohl.
1885
1886 * htdoc/THANKS.html: Credit Marc Pohl for patches.
1887
1888 Tue Jun 19 17:14:05 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1889
1890 * README: Bump up to 3.2.0b4, fix note about bug report submissions.
1891
1892 Tue Jun 19 17:01:16 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1893
1894 * htsearch/Display.cc (setVariables): Fixed handling of
1895 build_select_lists attribute, to deal with new restrict & exclude
1896 attributes.
1897
1898 Mon Jun 18 12:16:27 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1899
1900 * configure.in, configure: Fix "hdig" typo in help.
1901
1902 Fri Jun 15 17:57:19 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1903
1904 * htcommon/defaults.cc: Noted effect of locale setting on floating
1905 point numbers in search_algorithm and locale descriptions.
1906 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
1907
1908 Fri Jun 15 15:36:51 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1909
1910 * htdoc/cf_generate.pl: Fixed to handle new defaults.cc format
1911 with trailing backslashes.
1912
1913 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
1914
1915 Fri Jun 15 14:57:21 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1916
1917 * htdb/htdb_dump.cc, htdb/htdb_load.cc, htdb/htdb_stat.cc: Added a
1918 conditional include of <getopt.h> if HAVE_GETOPT_H is defined.
1919
1920 Fri Jun 15 11:25:24 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1921
1922 * htsearch/htsearch.cc (main), htcommon/defaults.cc,
1923 htdoc/hts_form.html: two new attributes, used by htsearch, have
1924 been added: restrict and exclude. They can now give more control
1925 to template customisation through configuration files, allowing
1926 to restrict or exclude URLs from search without passing
1927 any CGI variables (although this specification overrides the
1928 configuration one).
1929
1930 Fri Jun 15 09:34:23 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1931
1932 * htsearch/htsearch.cc (main): Changed ridiculously outdated question
1933 "Did you run htmerge?" to "Did you run htdig?".
1934
1935 Fri Jun 8 11:07:04 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
1936
1937 * htsearch/Display.cc: Add <float.h> header, now needed for RH 7.1.
1938
1939 Thu Jun 7 12:05:09 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1940
1941 * contrib/htdig-3.2.0.spec: Updated to 3.2.0b4.
1942
1943 * contrib/README: Mention acroconv.pl script.
1944
1945 Thu Jun 7 10:46:19 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1946
1947 * htsearch/Display.cc (expandVariables): Use isalnum() instead of
1948 isalpha() to allow digits in variable names, allow '-' in variable
1949 names too for consistency with attribute name handling.
1950
1951 Wed Jun 6 16:14:06 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1952
1953 * httools/htpurge.cc (main): Added missing "u:" declaration in
1954 getopt() call.
1955
1956 Wed Jun 6 15:24:04 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
1957
1958 * contrib/doc2html/DETAILS, contrib/doc2html/README,
1959 contrib/doc2html/doc2html.pl, contrib/doc2html/pdf2html.pl,
1960 contrib/doc2html/swf2html.pl: Update to version 3.0 of doc2html,
1961 contributed by David Adams <D.J.Adams at soton.ac.uk>.
1962
1963 Wed May 16 11:23:04 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
1964
1965 Added a pile of changes contributed by David Graff
1966 <phlat at mindspring.com> fixing compilation problems with
1967 non-gcc/g++ compilers (i.e. Sun's compiler).
1968
1969 * Makefile.config, db/Makefile.am: Added no-dependencies to
1970 AUTOMAKE_OPTIONS for those not on GNU C/C++
1971
1972 * configure.in: Changed AM_PROG_YACC to AC_PROG_YACC as autoconf
1973 and autoreconf both complain that AM_PROG_YACC is not in the
1974 library.
1975
1976 * htcommon/DocumentDB.cc: Removed default parameters as they are
1977 already declared in the header
1978
1979 * htcommon/HtConfiguration.cc: Changed some of the loop
1980 declarations so that Sparc C 4.2 is happy. Removed default
1981 parameters as they are already declared in the header Moved inline
1982 ParseString to header where it belongs. Added initialization for
1983 HtConfiguration::_config static member variable. Added
1984 implementation of HtConfiguration::config() static class member.
1985
1986 * htcommon/HtConfiguration.h: Added include for ParsedString.h.
1987 Added declaration of static member function ::config().
1988 Added private static member variable _config;.
1989 Added inline ParseString from implementation.
1990
1991 * htcommon/HtURLCodec.cc, htcommon/HtURLRewriter.cc,
1992 htcommon/HtZlibCodec.cc, htcommon/URL.cc, htcommon/conf_lexer.lxx,
1993 htdig/Document.cc, htdig/ExternalParser.cc,
1994 htdig/ExternalTransport.cc, htdig/HTML.cc, htdig/Parsable.cc,
1995 htdig/Plaintext.cc, htdig/Retriever.cc, :
1996 Changed to use new global configuration semantics.
1997
1998 * htcommon/conf_parser.yxx: Added a return to yyerror to quiet
1999 Sparc C 4.2. Should really return a value here. Is it normal to
2000 return a YY_something or just -1, 0, ?
2001
2002 * htcommon/defaults.cc: Added line continuation characters at the
2003 end of all the string lines that did not completed by a quote.
2004
2005 * htcommon/defaults.h, htdig/htdig.h: Removed extern
2006 HtConfiguation config in favor of HtConfiguration::config().
2007
2008 * htdig/ExternalTransport.h Changed return type of GetResponse to
2009 match superclass.
2010
2011 * htdig/Server.cc, htdig/htdig.cc, htfuzzy/htfuzzy.cc, htnet/HtFile.cc,
2012 htsearch/Display.cc, htsearch/QueryLexer.cc, htsearch/WordSearcher.cc,
2013 htsearch/htsearch.cc, htsearch/parser.cc, htsearch/qtest.cc,
2014 httools/htdump.cc, httools/htload.cc, httools/htmerge.cc,
2015 httools/htnotify.cc, httools/htpurge.cc, httools/htstat.cc
2016 htlib/Configuration.cc, htlib/HtRegex.cc:
2017 Changed constructor to use initializers
2018
2019 * htlib/HtDateTime.cc: Moved inlines to header
2020
2021 * htlib/HtDateTime.h: Added inlines from implementation
2022
2023 * htlib/HtHeap.cc, htlib/HtHeap.h, htlib/HtVector.cc, htlib/HtVector.h,
2024 htlib/HtVectorGeneric.h, htlib/HtVectorGenericCode.h:
2025 Changed Copy member to return same type as superclass
2026
2027 * htlib/HtRegexReplace.cc, htlib/HtRegexReplaceList.cc: Removed
2028 default parameters as they are declared already in the header
2029
2030 * htlib/myqsort.h: Changed comment in header to use C-style
2031 comments as it's compiled using a C.
2032
2033 * htlib/regex.h: Changed #if __STDC__ to #if defined(__STDC__)
2034
2035 * htword/WordKey.h: Corrected const'ness
2036
2037 Wed May 9 07:50:19 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2038
2039 * htnet/HtCookieJar.h: ShowSummary makes the class abstract
2040
2041 Sat May 5 20:51:00 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2042
2043 * htdoc/cf_blocks.html: Add colon in example and description of
2044 blocks to match code for the moment. The parser can be changed
2045 later if we like.
2046
2047 Sat May 5 20:38:44 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2048
2049 * htlib/ParsedString.cc (get): Use isalnum() instead of isalpha()
2050 for looking up--allows names that contain digits too.
2051
2052 Sat May 5 20:36:29 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2053
2054 * htlib/htString.h (class String): Remove now-obsolete and
2055 confusing int() casting operator. This was previously used to make
2056 a string of a certain length. Use String(int) as a ctor instead.
2057
2058 Sat May 5 20:30:18 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2059
2060 * htword/WordContext.[h,cc]: Change Initialize to supply a config
2061 that can be modified (i.e. if we don't have ZLIB_H).
2062
2063 Sat May 5 23:30:55 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2064
2065 * htnet/HtCookieJar.h: ShowSummary, printing cookies (to be derived)
2066 * htnet/HtCookieMemJar.[h,cc]: ShowSummary, printing cookies
2067
2068 Thu May 3 23:14:14 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2069
2070 * htnet/HtHTTP[h,cc]: connection object is now created and destroyed.
2071 NULL pointers converted to C++ standard (0).
2072 * htnet/Transport[h,cc]: NULL pointers converted to C++ standard (0).
2073 * htnet/Connection[h,cc]: ditto
2074
2075 Thu May 3 23:09:33 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2076
2077 * htlib/HtDateTime.[h,cc]: Timestamp format added (used by ht://Check
2078 for MySQL interfacing) - keeping them equal helps me maintaining
2079 both of them!
2080
2081 Thu May 3 10:28:56 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2082
2083 * htsearch/parser.cc (perform_and): Add missing return statement,
2084 as suggested by Quim Sanmarti.
2085
2086 Fri Mar 30 15:50:42 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2087
2088 * htsearch/ResultMatch.h, htsearch/ResultMatch.cc (setTitle): Changed
2089 argument type to char * to fix problem with sort by title not working,
2090 as reported by Adam Lewenberg.
2091
2092 Fri Mar 30 14:08:51 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2093
2094 * htdig/Document.h, htdig/Retriever.cc (parse_url): Define and use
2095 Document::StoredLength() method to get actual length of data
2096 retrieved and given to md5(), which may be less than original
2097 length. Fixes bug reported by Michael Haggerty.
2098
2099 Wed Mar 21 22:22:55 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2100
2101 * htsearch/Display.cc (generateStars): Add NSTARS variable for
2102 template output as suggested by Caleb Crome
2103 <ccrome at users.sourceforge.net> (except here precision is 0). Fixes
2104 feature request #405787.
2105
2106 * htdoc/hts_templates.html: Add description of NSTARS variable
2107 above.
2108
2109 * htlib/HtRegex.cc (set): Make sure we free memory if we've
2110 already compiled a pattern.
2111
2112 * htdig/Retriever.cc (got_href): Fix bug pointed out by Gilles
2113 with hopcounts and don't bother to update the DocURL unless we
2114 have a new doc.
2115
2116 Mon Mar 19 18:00:18 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2117
2118 * htcommon/URL.cc (URL): Make sure even absolute relative URLs are
2119 run through normalizePath() as pointed out by Gilles. Allows
2120 backout of previous fix of #408586, which does extra re-parsing of
2121 URL.
2122
2123 * htdig/Retriever.cc (Need2Get): Back out change of Mar. 17 for above.
2124
2125 * htcommon/conf_lexer.[cxx, lxx]: Apply change suggested by Jesse
2126 to remove empty statements.
2127
2128 Mon Mar 19 11:33:25 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2129
2130 * htlib/HtRegexList.cc (setEscaped): Fix assorted bugs, including
2131 obvious segfault, incorrect creation of limits, and failure to set
2132 "compiled" flag before return().
2133
2134 * htdig/Retriever.cc (IsValidURL): Make sure the tmpList is
2135 cleared before attempting to parse the bad_querystr
2136 config--otherwise we'll just Add to the end of the list.
2137
2138 Sun Mar 18 14:01:56 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2139
2140 * htnet/Transport.[h,cc], htnet/HtHTTP.cc: In order to modularize
2141 the net code the default parser string for the content-type has
2142 been added to the Transport class.
2143 * htdig/Document.cc: modified for the changes above.
2144
2145 Sat Mar 17 16:38:27 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2146
2147 * configure.in, configure, include/htconfig.h.in: Add tests for
2148 libssl, libcrypto, and ssl.h.
2149
2150 * htnet/SSLConnection.[cc,h], htnet/HtHTTPBasic.[cc,h],
2151 htnet/HTTPSecure.[cc,h]: New files. Contributed by Joshua Gerth
2152 <jgerth at hmsoaps.com>.
2153
2154 * htnet/Transport.[cc,h], htnet/HtNTTP.cc, htnet/HtHTTP.cc,
2155 htnet/Connection.h: Changes needed to support SSLConnection class.
2156
2157 * htdig/Document.cc, htdig/Document.h: Ditto.
2158
2159 * htnet/Makefile.am, htnet/Makefile.in: Add above for compilation.
2160
2161 * htdoc/THANKS.html: Updated with new contributors.
2162
2163 Sat Mar 17 15:28:20 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2164
2165 * htword/WordContext.cc (Initialize): If HAVE_LIBZ or HAVE_ZLIB_H
2166 are not defined, make sure wordlist_compress is set to false. This
2167 semi-hack will not be necessary with new mifluz code which does
2168 not necessary need zlib. Fixes bug #405761.
2169
2170 Sat Mar 17 14:39:17 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2171
2172 * htdig/HTML.cc (do_tag): Fixed problems with META descriptions
2173 containing newlines, returns or tabs. They are now replaced with
2174 spaces. Fixes bug #405771.
2175
2176 Sat Mar 17 14:26:55 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2177
2178 * htdig/HTML.cc (do_tag): Improve handling of whitespace in META
2179 refresh handling. Fixes bug #406244.
2180
2181 * htlib/HtRegexList.cc (setEscaped): Make this more efficient by
2182 building up larger and larger patterns--when we fail, go back a
2183 step and add the pattern in the next loop. This ensures we have a
2184 list of the maximum allowable length regexp.
2185
2186 * htdig/Retriever.cc (Need2Get): Add change suggested by Yariv Tal
2187 to run URLs through the URL parser for cleanup before comparing to
2188 the visited list. Fixes bug #408586.
2189
2190 Mon Mar 12 13:28:56 2001 Michael Haggerty <mhagger at alum.mit.edu>
2191
2192 * htdig/Retriever.cc, htdig/Retriever.h:
2193 Fixed two off-by-one errors related to Retriever::factor table.
2194
2195 Mon Mar 12 11:25:31 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2196
2197 * htlib/Dictionary.cc (Add): Fix comments about add method--it
2198 will replace existing keys. Fixes report #407940.
2199
2200 Thu Mar 8 15:31:45 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2201
2202 * htnet/HtHTTP.cc: removed an unuseful <else>
2203
2204 Tue Mar 6 11:42:10 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2205
2206 * htlib/regex.[c,h]: Update with versions from glibc 2.2.2.
2207
2208 Mon Mar 5 13:47:30 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2209
2210 * ltconfig (host_os): Add test to solve problems building C++
2211 shared libraries on some platforms. Currently should only make
2212 --enable-shared the default on Linux and *BSD* unless specified
2213 explicitly by the user.
2214
2215 Mon Mar 5 12:52:57 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2216
2217 * htlib/String.cc (operator =): Add fix contributed by Yariv Tal
2218 <YarivT at webmap.com>, fixed bug #406075.
2219
2220 Mon Mar 5 12:06:26 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2221
2222 * htlib/HtRegexList.cc (match): Ignore rearrangement code for the
2223 moment--may or may not be the culprit for bug #405277, but is a
2224 start to debugging the problem.
2225
2226 * htlib/List.[cc,h]: Remove *prev pointer from listnode
2227 structure and add a *prev pointer to the cursor structure. Saves
2228 one pointer per item in the list, plus overhead.
2229
2230 Mon Mar 5 11:56:16 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2231
2232 * htcommon/defaults.cc (bad_extensions): Add .css to ignore CSS docs.
2233
2234 * htdig/Document.cc (getParsable): Ignore CSS documents -- they
2235 aren't very useful to parse. Solves bug report #405772.
2236
2237 Sun Mar 04 11:32:43 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2238
2239 * htnet/HtHTTP.cc: fixed a bug regarding <no header> with persistent
2240 connections enabled, but head call before the get one disabled.
2241 Sourceforge.net's bug reference: 405275 - fixed.
2242
2243 Sat Mar 3 21:09:55 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2244
2245 * .version: Bump to 3.2.0b4 so snapshots have right versioning.
2246
2247 Thu Mar 1 16:51:09 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2248
2249 * configure.in: Added test for alloca.h, which is needed for the
2250 regex.c code.
2251
2252 Wed Feb 28 12:54:43 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2253
2254 * htcommon/defaults.cc: 'disable_cookies' option has been added, with
2255 a 'server' scope. By default it is set to 'false'.
2256 * htdig/Server.h, cc: management of the option above has been enhanced.
2257 * htnet/HtHTTP.h, cc: now an HTTP connection can disable/enable cookies
2258 through the configuration attribute 'disable_cookies'.
2259 * htdig/Document.cc: management of cookies enabling/disabling is here.
2260 * Cookies classes: now support the expiration time. Need only the
2261 subdomain treatment.
2262
2263 Mon Feb 26 16:37:30 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2264
2265 * htcommon/conf_lexer.lxx: Don't directly call exit(1) on an error
2266 condition! Seems a harsh problem for an unknown character.
2267
2268 * htcommon/conf_parser.yxx: Ditto. (Running out of memory is a
2269 much more fatal condition, of course.)
2270
2271 * htcommon/conf_lexer.cxx: Regenerate using flex 2.5.4.
2272
2273 * htcommon/conf_parser.cxx: Regenerate using bison 1.28.
2274
2275 Sun Feb 25 19:46:01 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2276
2277 * htnet/HtHTTP.h, cc: support for cookies enabled
2278 * htnet/Makefile.am: files for cookies have been added to make.
2279
2280 Sun Feb 25 19:27:18 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
2281
2282 * htnet/HtCookie.h,cc: class HTTP cookie
2283 * htnet/HtCookieJar.h,cc: abstract class for managing the
2284 'jar' of cookies. In this way, we can use different methods
2285 for the storage of them.
2286 * htnet/HtCookieMemJar.h,cc: class for managing the 'jar' of
2287 cookies in memory, without persistent storage (no db or file).
2288 * Many thanks to Robert LaFerla for his coding on this! Yeah,
2289 really really thanks Robert! <robertlaferla at mediaone.net>
2290
2291
2292 Thu Feb 22 16:43:18 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2293
2294 * htdoc/ChangeLog, htdig/RELEASE.html, README: Update to roll the
2295 release of 3.2.0b3.
2296
2297 Thu Feb 22 16:22:05 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2298
2299 * htsearch/htsearch.cc (main), htsearch/Display.cc (setVariables,
2300 createURL, buildMatchList), htdoc/hts_form.html,
2301 htdoc/hts_templates.html: Add Mike Grommet's date range search
2302 feature.
2303
2304 Mon Feb 19 18:24:42 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2305
2306 * htfuzzy/Synonym.cc (createDB): Create database in a temporary
2307 directory before we move it into place, much like the endings
2308 code. This should prevent problems when we just append to the DB
2309 instead of making a new one.
2310
2311 * htdig/htdig.cc (main): Fix bug discovered by Gilles--htword
2312 should be initialized *after* we are finished modifying config
2313 attributes based on flags and unlink with -i.
2314
2315 * installdir/rundig: Fix bug with calling htpurge with -s option.
2316
2317 Thu Feb 15 11:03:42 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2318
2319 * htdoc/*.html: Update with 2001 copyrights and various changes
2320 with the website move for the pending 3.2.0b3 release.
2321
2322 Thu Feb 15 10:41:47 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2323
2324 * htlib/HtRegexList.cc (match): Fix thinko with logic for matching
2325 and add code to rearrange matching nodes for hopefully better
2326 performance.
2327
2328 Sun Feb 11 16:42:11 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2329
2330 * htlib/HtRegexList.h, htlib/HtRegexList.cc (class HtRegexList):
2331 Simple List(HtRegex) object with similar calling conventions to
2332 HtRegex class. This version is not as sophisticated as it could
2333 be, but it's not likely to drop objects when reorganizing.
2334
2335 * htlib/Makefile.[in,am]: Add HtRegexList files to list for
2336 compilation.
2337
2338 * htdig/htdig.h, htdig/htdig.cc, htdig/Retriever.cc: Use
2339 HtRegexList instead of HtRegex for setting escaped values--should
2340 never fail (since each String item is short).
2341
2342 * htlib/HtDateTime.cc: Put back timezone specs into the output
2343 formats so we give everything even if we ignore it when reading
2344 input.
2345
2346 Mon Feb 5 11:47:07 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2347
2348 * htlib/HtDateTime.cc: Remove the timezone specs in the date
2349 formats--these are not required in the RFCs because many dates are
2350 in GMT anyway.
2351
2352 Wed Jan 17 08:48:30 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2353
2354 * htdig/ExternalTransport.cc (Request): Oops, fixed a holdover from
2355 code borrowed from ExternalParser.cc's fork handling.
2356
2357 Mon Jan 15 23:09:37 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2358
2359 * htnet/Connection.cc: Back out previous change--this should not
2360 in any way be needed since the configure script should set
2361 FD_SET_T.
2362
2363 * configure.in, configure: Add more lenient prototyping for
2364 select() test--now allows "const struct timeval" for compilation
2365 on BSDI.
2366
2367 * htdoc/RELEASE.html: Update with Gilles's changes.
2368
2369 * htdoc/cf_blocks.html: New file describing <server ...></server>
2370 and <url ...></url> blocks.
2371
2372 * htdoc/cf_general.html, htdoc/confmenu.html: Refer to the above.
2373
2374 Mon Jan 15 17:46:07 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2375
2376 * htsearch/TemplateList.cc (createFromString), htcommon/defaults.cc:
2377 Treat template_map as a _quoted_ string list.
2378
2379 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
2380
2381 Mon Jan 15 17:40:45 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2382
2383 * htdoc/hts_templates.html: Add METADESCRIPTION variable.
2384
2385 * htsearch/Display.cc (displayMatch): Add METADESCRIPTION variable.
2386
2387 * htdig/ExternalParser.cc (parse): Fix up handling of arguments.
2388
2389 * htdig/ExternalTransport.cc (Request): Fix up handling of fork/exec
2390 and command arguments, add wait() call.
2391
2392 Wed Jan 10 19:23:36 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2393
2394 * installdir/rundig: Fix -a handling to move db.words.db.work_weakcmpr
2395 into place if it exists
2396
2397 Sat Jan 6 21:50:58 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
2398
2399 * configure.in: Add checks for <sys/wait.h> and <wait.h> for
2400 ExternalParser.
2401
2402 * include/htconfig.h.in: Regenerate using autoheader.
2403
2404 * configure: Regenerate using configure.
2405
2406 * htnet/Connection.cc: Add definition for FD_SET_T to fix problems
2407 compiling on BSDI mentioned by Joe.
2408
2409 * htdig/ExternalParser.cc: Use <sys/wait.h> or <wait.h> as
2410 appropriate. Should fix problems with compiliation mentioned by
2411 Jesse on HP/UX.
2412
2413 * README, htdoc/RELEASE.html: Adjust dates for the new year.
2414
2415 * htdoc/upgrade.html: A few "remaining features" have been implemented.
2416
2417 Sun Dec 06 19:46:15 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
2418
2419 * htnet/HtHTTP.cc: Fixed bug for Read_Line function call in
2420 ReadChunkedBody method. Many thanks to Robert LaFerla. ;-)
2421
2422 Tue Dec 12 13:24:49 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2423
2424 * htdig/ExternalParser.cc (parse): Fixed to properly handle binary
2425 output from an external converter. Fixed some compilation errors.
2426
2427 Tue Dec 12 12:52:14 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2428
2429 * htdig/ExternalParser.cc (parse): Handle parser command string
2430 as a string list again to allow arguments, build up argv and
2431 use execv instead of execl.
2432
2433 Tue Dec 12 12:25:04 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2434
2435 * htdig/ExternalParser.cc (parse): Add call to wait for child process,
2436 to avoid zombie buildup.
2437
2438 Mon Dec 11 23:57:43 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2439
2440 * htdig/ExternalParser.cc (parse): Fix up handling of fds in child
2441 process, more fault-tolerant handling of pipe or fork errors.
2442
2443 Mon Dec 11 23:30:55 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2444
2445 * htdig/ExternalParser.cc (parse): Fix up handling of creation
2446 of temporary file, check for proper return code, give error if
2447 appropriate.
2448
2449 Mon Dec 11 23:19:28 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2450
2451 * htdig/ExternalParser.cc (parse): Lowercase content-types and
2452 strip off any trailing semicolons, at one last spot. This reinserts
2453 code added Sep 11, which was dropped Oct 9, probably inadvertantly
2454 during mifluz back-out.
2455
2456 Sun Dec 10 15:28:44 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2457
2458 * htdig/ExternalTransport.cc: Use fork/exec instead of calling
2459 popen, which bypasses any shell escape problems.
2460
2461 * htdig/ExternalParser.cc: Ditto, plus use of mkstemp where
2462 available to pick the filename.
2463
2464 * configure, configure.in: Check for mkstemp where available.
2465
2466 * include/htconfig.h.in: Define it as above.
2467
2468 * htlib/Makefile.am: Omit regex.c from SOURCES--this is included
2469 when necessary by the configure script. Otherwise this produces
2470 duplicate declarations, etc.
2471
2472 * htlib/Makefile.in: Regenerate using automake --foreign.
2473
2474 * htcommon/URL.cc: Fix bug with ports of 0 showing up in URLs like
2475 mailto: or other less-common protocols.
2476
2477 Fri Dec 1 14:45:33 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2478
2479 * contrib/htdig-3.2.0.spec: Updated to 3.2.0b3.
2480
2481 Fri Dec 1 13:59:09 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2482
2483 * htlib/Makefile.am: Fix pkginclude_HEADERS to list missing headers
2484 ber.h, libdefs.h, myqsort.h, mhash_md5.h, omit unneeded langinfo.h;
2485 fix libht_la_SOURCES to list missing sources regex.c, myqsort.c.
2486
2487 * htlib/Makefile.in: Regenerate using automake --foreign
2488
2489 * htlib/langinfo.h, htlib/nl_types.h: Removed as they're now unused.
2490
2491 Fri Dec 1 13:22:47 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2492
2493 * htlib/strptime.cc (mystrptime): make ptr const and use cast on
2494 return value to avoid warnings.
2495
2496 * htlib/Makefile.am: Fix pkginclude_HEADERS to list HtRegexReplace*.h
2497 rather than .cc.
2498
2499 * htlib/Makefile.in: Regenerate using automake --foreign
2500
2501 Fri Dec 1 11:58:21 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2502
2503 * Makefile.in, [hit]*/Makefile.in: Regenerate using automake --foreign
2504 after fixing bug with cp -pr in automake.
2505
2506 Thu Nov 30 14:41:58 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2507
2508 * htdoc/Makefile.am: Removed howitworks.html from EXTRA_DIST.
2509
2510 * Makefile.in (distdir): Added missing variable name 'd' to cp -pr.
2511
2512 Thu Nov 30 14:01:48 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2513
2514 * htlib/strptime.cc, htlib/lib.h: make first 2 args to strptime
2515 const to avoid warnings, use cast in asizeof to avoid warnings.
2516
2517 * htsearch/qtest.cc: Change include from iostream to iostream.h
2518
2519 * htsearch/DocMatch.cc: Change include from iostream to iostream.h
2520
2521 * htsearch/Display.cc (createURL, buildMatchList, excerpt, hilight):
2522 Clean up code to get rid of warnings, especially resulting from
2523 NULLs in ternary operators.
2524
2525 Thu Nov 30 10:55:09 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2526
2527 * htlib/String_fmt.cc (form, vform): Use vsnprintf rather than
2528 vsprintf, for buffer overflow prevention if vsnprintf available.
2529
2530 * htdig/Retriever.cc: Remove unused strptime declaration.
2531
2532 * htlib/HtDateTime.cc: Use mystrptime if HAVE_STRPTIME not set.
2533
2534 Wed Nov 29 23:31:10 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2535
2536 * htdb/htdb_stat.cc, htdb_load.cc, htdb_dump.cc: Make sure we
2537 include htconfig.h to include proper declarations.
2538
2539 * htlib/strptime.cc: Change to strptime.cc, from htdig-3.1 series
2540 hopefully more portable until I can find a more suitable
2541 replacement.
2542
2543 * htlib/Makefile.am, htlib/Makefile.in: As above.
2544
2545 * htlib/clib.h, htlib/lib.h: Ditto.
2546
2547 * htdoc/all.html: Add a first draft of program summaries.
2548
2549 Wed Nov 29 18:00:15 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2550
2551 * htdig/Retriever.cc (parse_url): Remove undeclared "dup" variable,
2552 add missing calls to words.Skip().
2553
2554 Wed Nov 29 17:44:56 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2555
2556 * htdig/htdig.html: Add description of -v output.
2557
2558 Mon Nov 27 12:03:34 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2559
2560 * htlib/md5.cc: Added missing include of time.h
2561
2562 Fri Nov 24 00:56:01 2000 Toivo Pedaste <toivo at ucs.uwa.edu.au>
2563
2564 * htsearch/Display.cc: Some extra debugging for scoring
2565
2566 Sun Nov 19 00:56:01 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2567
2568 * htnet/HtFile.cc (Request): Use opendir/readdir instead of
2569 scandir for generating directory listings on-the-fly.
2570
2571 * htdoc/RELEASE.html: Write up release notes for 3.2.0b3.
2572
2573 * htdoc/THANKS.html: Update list of contributors for 3.2.0b3 as
2574 current.
2575
2576 Fri Nov 17 14:52:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2577
2578 * contrib/acroconv.pl: Added external converter script to convert
2579 PDFs with acroread.
2580
2581 Mon Nov 6 12:13:13 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2582
2583 * htdig/Retriever.cc (GetLocal, GetLocalUser): move String definition
2584 out of while statement for AIX xlC compiler.
2585
2586 Mon Oct 30 21:50:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2587
2588 * htdig/Server.h, htdig/Server.cc (push): Add newDoc paramter that
2589 will allow redirects (old docs) to be followed and not count
2590 against the maxDoc restrictions.
2591
2592 * htdig/Retriever.cc (got_redirect): Use new parameter so we don't
2593 count against a server's max documents since it's a redirect.
2594
2595 * htlib/nl_types.h: Add for systems missing this header file.
2596
2597 Sun Oct 29 21:36:51 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2598
2599 * htcommon/defaults.cc: Updated per-server and per-URL fields to
2600 match code. I still have a "wish list" of additional attributes
2601 that should work this way eventually.
2602
2603 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
2604
2605 Sun Oct 22 17:13:08 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2606
2607 * htcommon/HtWordList.h: Add missing include for stdlib.h needed for
2608 abort().
2609
2610 * htsearch/BooleanQueryParser.cc (ParseAnd): Fix problems with RH7
2611 compiler -- shouldn't use "not" as a variable name!
2612
2613 Thu Oct 19 22:19:16 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2614
2615 * ltmain.sh, ltconfig: Update with versions from libtool
2616 1.3.5. which may fix some problems building libraries.
2617
2618 Mon Oct 9 21:59:11 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2619
2620 * */* [many, many files]: Backed out mifluz merge by going back on
2621 modified files to 091000 snapshot.
2622
2623 * configure: Regenerated from configure.in.
2624
2625 * */Makefile.in: Regenerated using automake.
2626
2627 Fri Oct 6 11:03:14 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2628
2629 * htdig/HTML.cc (do_tag): Parse <object> tags properly, looking
2630 for data= attribute rather than src=.
2631
2632 * htcommon/defaults.cc (server_aliases): Additional clarification
2633 to server_aliases description of port numbers.
2634
2635 Wed Oct 4 12:12:31 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2636
2637 * htcommon/defaults.cc (limit_normalized, server_aliases,
2638 server_max_docs, server_wait_time): Added clarification
2639 to server_aliases description. Changed word "directive" to
2640 "attribute" where appropriate. Added cross-link to server_aliases
2641 from limit_normalized.
2642
2643 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
2644
2645 Wed Sep 27 00:05:41 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2646
2647 * htdb/mifluz[dict, dump, load].cc, htdb/util_sig.h,
2648 htdb/util_sig.cc: New files from mifluz merge. (Whoops, missed a
2649 directory).
2650
2651 * htdb/*.cc: Change config.h references to htconfig.h.
2652
2653 * htlib/myqsort.c: Ditto.
2654
2655 * htcommon/HtWordReference.h, htcommon/HtWordReference.cc: Ensure
2656 we keep the WordContext object around--unfortunately this also
2657 requires that callers initialize us with a WordContext (e.g. from
2658 the HtWordList class).
2659
2660 * htlib/StringMatch.h, htlib/StringMatch.cc: Changes to use
2661 WordType directly instead of HtWordType.
2662
2663 * htfuzzy/*: Ditto. Additionally make sure HtWordReference objects
2664 are intstantiated properly.
2665
2666 * htcommon/DocumentRef.cc, htcommon/HtWordList.cc: As above.
2667
2668 * htdig/*: As above.
2669
2670 * htsearch/*: As above.
2671
2672 * httools/*: Don't bother initializing WordContext--this is done
2673 in the HtWordList class now.
2674
2675 * htdig/htdig.cc: Ditto.
2676
2677 * htsearch/htsearch.cc, htsearch/qtest.cc: Ditto.
2678
2679 * htfuzzy/htfuzzy.cc: Ditto.
2680
2681 * db/Makefile.am, db/Makefile.in: Update to build libhtdb instead
2682 of libdb to prevent conflicts.
2683
2684 Sun Sep 24 22:50:22 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2685
2686 * htword/HtWordList.h, htword/HtWordList.cc: Keep a WordContext
2687 object private that is associated with this word database and
2688 provide accessor.
2689
2690 * htword/WordType.h, htword/WordType.cc: Add WordToken function,
2691 migrated from HtWordType class.
2692
2693 * htcommon/HtWordType.cc: WordType class no longer has Instance()
2694 method, so just pass along the calls.
2695
2696 * htlib/DB2_db.cc (db_init): Remove unnecessary NULL parameter.
2697
2698 * htlib/Makefile.am, htlib/Makefile.in: Remove HtVectorGeneric and
2699 derived files as well as HtWordType as these are depreciated.
2700
2701 Wed Sep 20 22:47:01 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2702
2703 * aclocal.m4: Add in missing autoconf macros that somehow didn't
2704 make the merge before. (No idea why I didn't catch this earlier.)
2705
2706 * acinclude.m4: Use newer CHECK_ZLIB macro.
2707
2708 * */Makefile.in: Updated with automake for new build changes.
2709
2710 * configure, include/htconfig.h.in: Updated using autoconf.
2711
2712 * test/dbbench.cc, test/word.cc, test/search.cc: Fix #include to
2713 point to htconfig.h not non-existant config.h.
2714
2715 * htlib/Configuration.h: Fix copy ctor, removing code in header file.
2716
2717 * htword/*.cc: Ditto.
2718
2719 * htword/Makefile.am: Update from mifluz version.
2720
2721 * htlib/myqsort.h, htlib/myqsort.c: Additional system library
2722 replacement code.
2723
2724 Sat Sep 16 20:14:32 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2725
2726 * configure.in, configure, acinclude.m4, aclocal.m4, acconfig.h,
2727 include/htconfig.h.in: Merged with mifluz versions. Main
2728 difference is that top-level configure script now also configures
2729 db/ directory as well.
2730
2731 * Makefile.am, */Makefile.in: Updated with automake for new build
2732 environment (with db/ run through top-level configure).
2733
2734 * db/*.c: Updated to use htconfig.h instead of config.h.
2735
2736 Wed Sep 13 22:05:33 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2737
2738 * Merged in mifluz-0.19 branch. Everything will break
2739 temporarily. Loic and I will clean up tomorrow.
2740
2741 * htdoc/RELEASE.html, htdoc/THANKS.html, htdoc/TODO.html: Get a
2742 start on updting these files for the next release.
2743
2744 * htdoc/cf_generate.pl: Revert change of Sep. 9 to ignore links to
2745 all.html in cf_byprog.html file.
2746
2747 * htdoc/all.html: New file, moved from howitworks.html and not
2748 updated yet.
2749
2750 * htdoc/contents.html: Change link from howitworks.html to all.html
2751
2752 Tue Sep 12 17:00:00 CEST 2000 Quim Sanmarti <qss at gtd.es>
2753
2754 * htsearch: added AndQuery.cc BooleanLexer.cc BooleanQueryParser.cc
2755 ExactWordQuery.cc GParser.cc NearQuery.cc NotQuery.cc
2756 OperatorQuery.cc OrFuzzyExpander.cc OrQuery.cc
2757 PhraseQuery.cc Query.cc QueryLexer.cc QueryParser.cc
2758 SimpleQueryParser.cc VolatileCache.cc WordSearcher.cc
2759 qtest.cc WordSearcher.h AndQuery.h AndQueryParser.h
2760 BooleanLexer.h BooleanQueryParser.h ExactWordQuery.h
2761 FuzzyExpander.h GParser.h NearQuery.h NotQuery.h
2762 OperatorQuery.h OrFuzzyExpander.h OrQuery.h OrQueryParser.h
2763 PhraseQuery.h Query.h QueryCache.h QueryLexer.h
2764 QueryParser.h SimpleLexer.h SimpleQueryParser.h VolatileCache.h.
2765 This is the new query parsing/evaluation framework.
2766
2767 * Modified DocMatch.{cc,h} and ResultList.{cc,h} for compatibility.
2768
2769 * Removed the previous {And,Or,Exact,}ParseTree.{cc,h} files.
2770
2771 * Modified Makefile.{am,in} consequently.
2772
2773 Mon Sep 11 11:56:44 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2774
2775 * htdig/ExternalParser.cc (parse): Lowercase content-types and
2776 strip off any trailing semicolons, at one last spot which Geoff missed.
2777
2778 Sat Sep 9 21:28:29 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2779
2780 * htdig/Document.cc (getParsable): Fix a bug with earlier
2781 change--if no parser is found and the MIME type is not text/* then
2782 return a NULL parser.
2783
2784 * htdig/Retriever.cc (RetrievedDocument): If a NULL parser is
2785 returned, mark the document as noindex and move on.
2786
2787 * configure.in, configure (enable-tests): Fix bug that would run
2788 the 'yes' program inside the configure script if --enable-tests
2789 was set.
2790
2791 Sat Sep 9 17:50:11 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2792
2793 * htcommon/defaults.cc: Add "all" program listing for common
2794 attributes--seems more logical esp. now with many httool programs.
2795
2796 * htdoc/cf_generate.pl (cf_byprog): Do not output a link when
2797 'prog' is 'all.'
2798
2799 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
2800
2801 Sat Sep 9 11:44:47 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2802
2803 * aclocal.m4 (AM_CHECK_YACC): New macro to check for bison/yacc
2804 and use "missing yacc" if not found.
2805
2806 * configure.in (enable_tests): Fix buglet where --enable-tests=no
2807 or --disable-tests would not work and set the default to enabled
2808 tests. Since the tests do not build unless the user does a "make
2809 check" this should not be confusing and should help debugging.
2810 Also use AM_CHECK_YACC instead of AC_CHECK_YACC.
2811
2812 * configure: Regenerate using autoconf.
2813
2814 Sat Sep 9 11:01:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2815
2816 * htdig/ExternalParser.cc (canParse): Lowercase content-types and
2817 strip off any trailing semicolons. Should prevent problems with
2818 combined content-type; charset values.
2819 (ctor): As above.
2820
2821 * htdig/Document.cc (getParsable): Only assume plain text if MIME
2822 code starts with text/. Should prevent problems with retrieving
2823 things like image/png or application/postscript as text.
2824
2825 Fri Sep 8 22:59:10 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2826
2827 * htcommon/defaults.cc: Add new attributes htnotify_replyto,
2828 htnotify_webmaster, htnotify_prefix_file, htnotify_suffix_file.
2829
2830 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
2831
2832 * httools/htnotify.cc: Added in code from Richard Beton
2833 <richard.beton at roke.co.uk> to collect multiple URLs per e-mail
2834 address and allow customization of notification messages by
2835 reading in header/footer text as designated by the new attributes
2836 above.
2837
2838 Fri Sep 8 15:15:00 2000 Quim Sanmarti <qss at gtd.es>
2839
2840 * htsearch/Display.cc: Fixed tiny date_format bug;
2841 added url-decoding template variable expansion.
2842
2843 Thu Sep 7 23:45:25 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2844
2845 * htdig/Retriever.cc (Retriever): Only open up md5 database if
2846 check_unique_md5 attribute is set.
2847
2848 Thu Sep 7 22:56:19 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2849
2850 * htcommon/URL.cc (DefaultPort): Add file default port of 0.
2851
2852 * htnet/HtFile.cc (Request): Handle directory listings by using
2853 scandir and generating minimal HTML file with appropriate noindex listing.
2854
2855 Wed Sep 06 10:00:50 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
2856
2857 * htlib/URL.h, htlib/URL.cc: Restored corrected versions of URL.*
2858 * htnet/HtNNTP.h: Removed the error in the NNTP class declaration
2859
2860 Mon Sep 04 13:43:40 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
2861
2862 * htnet/HtHTTP.cc: Restored previous version of HtHTTP. I removed
2863 an initialization in the constructor (_modification_time). Sorry.
2864
2865 Sun Sep 3 16:51:24 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2866
2867 * htdig/Retriever.cc, htdig/Server.cc: Fix compiler warnings about
2868 String conversions.
2869
2870 * configure, configure.in, db/configure, db/configure.in,
2871 db/acinclude.m4, db/aclocal.m4: Ensure --enable-bigfile is handled
2872 correctly by the configure scripts as pointed out by Jesse.
2873
2874 Fri Sep 01 23:28:43 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
2875
2876 * URL.cc: added DefaultPort() method and changed NNTP default port
2877 from 523 to 119.
2878 * Document.cc: management of NNTP documents retrieval.
2879
2880 Fri Sep 01 19:05:02 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
2881
2882 * htnet/HtNNTP.* : just created them ...
2883 * htnet/HtHTTP.cc : removed modification_time deletion in the
2884 class destructor.
2885
2886 Thu Sep 01 12:00:00 2000 Toivo Pedaste <toivo at ucs.uwa.edu.au>
2887
2888 * htdig/Retriever.cc: Allow for modify time being set to
2889 current time if not available.
2890
2891 Thu Aug 31 13:21:12 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
2892
2893 * htcommon/defaults.cc (allow_in_form, build_select_lists):
2894 Add clearer instructions to allow_in_form description, add
2895 cross-links between these two sections.
2896
2897 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
2898
2899 Wed Aug 30 10:01:59 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
2900
2901 * substition of char * returned types to const String & in URL and
2902 Server classes. This change made me do lots of changes in other files:
2903 HtFile.cc, HtHTTP.cc, HtConfiguration.*, Document.*, ExternalParser.*,
2904 Retriever.*.
2905
2906 Tue Aug 30 12:00:00 2000 Toivo Pedaste <toivo at ucs.uwa.edu.au>
2907
2908 * htlibs/md5.cc, htlibs/md5.h: Generate md5 hash of
2909 a page and also optionally the modify date.
2910
2911 * htlibs/mhash_md5.h, htlibs/mhash_md5.c, htlibs/libdefs.h:
2912 Md5 hash code from libmhash
2913
2914 * htdig/Retriever.cc: Allow storing m5 hashes of pages
2915 in order to reject aliases.
2916
2917 * htcommon/defaults.cc: Options "check_unique_md5" and
2918 "check_unique_date"
2919
2920 Tue Aug 29 08:51:39 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2921
2922 * htdoc/upgrade.html: Add description of the difference between
2923 htmerge and htpurge. Mention other httools.
2924
2925 * htsearch/parser.cc, htsearch/parser.h: Merge in patch by Quim
2926 Sanmarti <qss at gtd.es> to fix problems with phrase searching and
2927 AND searches and improve performance.
2928
2929 Sun Aug 27 22:41:10 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2930
2931 * htsearch/AndParseTree.cc, htsearch/OrParseTree.cc (Parse):
2932 Rewrote using new WordToken inherited method. Fixes a bug where
2933 user input two phrases next to each other.
2934
2935 * htsearch/ParseTree.cc (Parse): Fix bug where phrases would
2936 "adsorb" prior query words. Also fix bug where operators were
2937 incorrectly popped off the stack. Should (hopefully) solve all
2938 parsing problems.
2939
2940 * htsearch/*ParseTree.cc (GetLogicalWords): Test for empty list of
2941 children to prevent potential segfault.
2942
2943 Sat Aug 26 18:40:50 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2944
2945 * installdir/{syntax, header, footer, wrapper, nomatch}.html:
2946 Add DTD tags, ALT attributes and remove bogus </select> tags to
2947 fix invalid HTML pointed out in PR#901.
2948
2949 Wed Aug 23 23:39:18 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2950
2951 * htsearch/ParseTree.cc (Parse): Get rid of compiler warnings, use
2952 new private tokenizer to ensure parens and quote aren't
2953 removed. Also, when popping an operator off the parens stack, make
2954 sure it's adopted by a new ParseTree object so we get the parens
2955 back in the tree heirarchy.
2956
2957 Wed Aug 23 23:34:44 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2958
2959 * htsearch/AndParseTree.cc (Parse): Fix nasty infinite loop when
2960 phrases hit in AND searches.
2961
2962 * htsearch/OrParseTree.cc (Parse): Ditto.
2963
2964 Wed Aug 23 13:24:31 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
2965
2966 * htnet/HtHTTP.*, htnet/Transport.h: all 'char *', when possibile,
2967 have been changed into 'const String &' types.
2968
2969 Sun Aug 20 23:25:01 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2970
2971 * httools/htpurge.cc (purgeDocs): Add error message when document
2972 database is completely empty. Should take care of PR#672 (and others).
2973
2974 Sun Aug 20 20:37:53 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
2975
2976 * htlib/HtRegex.h, htlib/HtRegex.cc: Made destructor virtual,
2977 added lastError() and associated support. Changed return type of
2978 set*() to int. They now return the value of |compiled|.
2979
2980 * htcommon/defaults.cc (url_rewrite_rules): Add new attribute to
2981 support patch by Andy Armstrong <andy at tagish.com> for permanent
2982 URL rewriting.
2983
2984 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
2985
2986 * htlib/HtRegexReplace.cc, htlib/HtRegexReplaceList.cc,
2987 htlib/HtRegexReplace.h, htlib/HtRegexReplaceList.h,
2988 htcommon/HtURLRewriter.cc, htcommon/HtURLRewriter.h: New classes.
2989
2990 * htcommon/Makefile.am, htcommon/Makefile.in: Add compilation for
2991 HtURLRewriter.
2992
2993 * htlib/Makefile.am, htcommon/Makefile.in: Ditto for
2994 HtRegexReplace*
2995
2996 * htcommon/URL.h, htcommon/URL.cc (rewrite): New method for
2997 transforming URLs based on HtURLRewriter.
2998
2999 * htdig/Retriever.cc (got_href): Rewrite the URL before we do
3000 anything with it.
3001
3002 * htdig/htdig.cc: Include HtURLRewriter headers and check rewrite
3003 rules for errors.
3004
3005 Sat Aug 19 17:01:36 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3006
3007 * htcommon/conf_lexer.lxx: Patched to fix the bug with relative
3008 filename includes. Keeps a separate stack with the filenames and
3009 adjusts accordingly.
3010
3011 * htcommon/conf_lexer.cxx: Updated using flex 2.5.4.
3012
3013 Thu Aug 17 23:59:26 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3014
3015 * htcommon/conf_lexer.lxx: Patched to fix a bug reported by Abel
3016 Deuring -- config filename stack was decremented too many times.
3017
3018 * htcommon/conf_lexer.cxx: Updated using flex 2.5.4.
3019
3020 Thu Aug 17 23:40:08 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3021
3022 * htword/WordType.h (WordToken): Add non-destructive version of
3023 HtWordToken using a passed int as a pointer into the
3024 string. Add virtual destructor so class can be sub-classed.
3025
3026 * htword/WordType.cc (WordToken): Implement it.
3027
3028 * httools/htmerge.cc (mergeDB): Back out change of Aug. 9th --
3029 WordSearchDescription has disappeared from htword
3030 interfaces. Should be restored when Loic comes back and can
3031 suggest an alternative.
3032
3033 Thu Aug 17 16:59:05 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3034
3035 * htsearch/Display.cc (createURL): Get rid of extra "config="
3036 parameter that was inserted before collections stuff.
3037
3038 Thu Aug 17 15:47:58 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
3039
3040 * htnet/HtHTTP.cc: ask again for a document after a <NoHeader>
3041 response is given by the HTTPRequest() method.
3042
3043 Thu Aug 17 12:25:33 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
3044
3045 * htnet/HtHTTP.*, htnet/Transport.* : fixed bug with HTTP/1.1 management.
3046 Now the "Connection: close" directive is handled and force the connection
3047 to be closed. So the bug has now been fixed. Fixed other minor bugs and
3048 strings initializations.
3049
3050 Tue Aug 15 00:24:33 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3051
3052 * contrib/multidig/Makefile, gen-collect, db.conf, multidig.conf:
3053 Add missing trailing newlines as pointed out by Doug Moran
3054 <dmoran at dougmoran.com>.
3055
3056 * contrib/multidig/Makefile (install): Make sure scripts have a+x
3057 permissions. Pointed out by Doug Moran.
3058
3059 * contrib/multidig/new-collect: Fix typo to ensure MULTIDIG_CONF
3060 is set correctly.
3061
3062 Sun Aug 13 23:17:30 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3063
3064 * htdig/Server.h, htdig/Server.cc (Server): Add support for
3065 per-server user_agent configuration.
3066
3067 * htdig/Document.cc (Retrieve): Ditto.
3068
3069 * httools/htpurge.cc (purgeDocs): Set remove_* attributes on a
3070 per-server basis.
3071
3072 * htcommon/defaults.cc: Fix remove_bad_urls and
3073 remove_unretrieved_urls to point to htpurge and not htmerge.
3074
3075 Sat Aug 12 23:03:32 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3076
3077 * htdoc/cf_generate.pl (html_escape): Fix mindless thinko with
3078 perl stringwise-equal operator. Documentation is now generated
3079 with block: portion appropriate to defaults.cc.
3080
3081 * htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
3082
3083 Fri Aug 11 16:03:18 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3084
3085 * htdig/HTML.cc (parse): fix problem with &amp; not being translated.
3086
3087 Fri Aug 11 10:48:54 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3088
3089 * htsearch/Display.cc (setVariables), htcommon/defaults.cc: Added
3090 maximum_page_buttons attribute, to limit buttons to less than
3091 maximum_pages. Fixes PR#731 & PR#781.
3092 * htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
3093
3094 Wed Aug 9 23:04:39 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3095
3096 * httools/htmerge.cc (mergeDB): Add fix to prevent duplicate
3097 documents when you merge a database with a copy of itself
3098 contributed by Lorenzo.
3099
3100 Wed Aug 9 22:58:39 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3101
3102 * htsearch/parser.cc (score): Merged in patch contributed by
3103 Lorenzo Campedelli <lorenzo.campedelli at libero.it> and Arthur
3104 Prokosch <prokosch at aptima.com> to fix problems with AND operators
3105 and phrase matches.
3106
3107 Wed Aug 2 11:44:11 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3108
3109 * htsearch/Display.cc (setVariables), htcommon/defaults.cc: Enhanced
3110 build_select_lists attribute, to generate not only single-choice
3111 select lists, but also select multiple lists, radio button lists
3112 and checkbox lists. Added explanation and examples in documentation.
3113 * htdoc/hts_selectors.html: Added detailed explanation of new feature.
3114 * htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
3115
3116 Tue Aug 1 21:50:22 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3117
3118 * htsearch/ParseTree.cc (Parse): Fix problems with token
3119 comparisons and fix thinko with HtWordToken parsing--previously
3120 didn't advance the parse step at all.
3121
3122 * htsearch/*ParseTree.cc (Parse): Fix thinko with HtWordToken as
3123 above--here it acted as an infinite loop.
3124
3125 * htdig/ExternalParser.cc (parse): Add shell quoting around
3126 content-type. Hard to exploit, but a server could potentially
3127 return a strange value that could then be exectuted locally.
3128
3129 Thu Jun 29 23:33:51 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3130
3131 * htsearch/ParseTree.h, htsearch/ParseTree.cc: New parent class
3132 for the new htsearch framework. Still needs work.
3133
3134 * htsearch/*ParseTree.*: Derived classes appropriate to the method
3135 indicated.
3136
3137 * htsearch/parsetest.cc: New program to alllow initial
3138 command-line testing of ParseTree classes.
3139
3140 * htsearch/Makefile.am, htsearch/Makefile.in: Build parsetest in
3141 addition to htsearch. Eventually, parsetest is probably best
3142 modified slightly and moved into the tests directory.
3143
3144 Tue Jun 20 22:29:57 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3145
3146 * httools/htmerge.cc (mergeDB): Merge in patch contributed by
3147 Lorenzo Campedelli <lorenzo.campedelli at libero.it> to greatly
3148 reduce memory usage.
3149
3150 Sun Jun 18 13:15:43 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3151
3152 * htlib/Object.h (class Object): Fix problems with retrieval order
3153 by insuring the compare() method is declared const.
3154
3155 Tue Jun 13 22:57:10 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3156
3157 * htdig/Retriever.cc (GetLocal): Fix bug that would cause a
3158 coredump when local_urls was used and local_default_docs was
3159 needed. The list of default filenames was freed before it should
3160 have been.
3161
3162 Tue Jun 13 19:30:28 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3163
3164 * htcommon/HtWordReference.h, htcommon/HtWordReference.cc (Load,
3165 LoadHeaders): New methods to check the header of an ASCII
3166 representation and read it in.
3167
3168 * htcommon/HtWordList.h, htcommon/HtWordList.cc (Load): Add load
3169 method to read in data. Calls the new methods above.
3170
3171 * httools/htload.cc: Open word databases read-write and call
3172 HtWordList::Load().
3173
3174 Sun Jun 11 14:39:28 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3175
3176 * htsearch/Display.cc (generateStars): Fix problem when maxScore
3177 == minScore as reported by Rajendra. Fixed problem PR#858.
3178 (displayMatch): Ditto.
3179
3180 * htsearch/htsearch.cc: Fix memory corruption problem in reporting
3181 syntax errors pointed out by Rajendra. Fixes PR#860.
3182
3183 Thu Jun 8 09:31:15 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3184
3185 * htfuzzy/Accents.h, htfuzzy/Accents.cc: Apply Robert Marchand's
3186 patch to his algorithm. Gets rid of writeDB function (falls back
3187 on default one in Fuzzy.cc), changes addWord, and adds a new
3188 getWords function to override default. These avoid overhead of
3189 unaccented forms of words in accents database, but ensure that
3190 unaccented form of search word is always searched.
3191
3192 Thu Jun 8 09:00:02 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3193
3194 * htcommon/DocumentRef.h(DocScore, docScore),
3195 htsearch/ResultMatch.cc(ScoreMatch::compare),
3196 htsearch/ResultMatch.h(setScore, getScore, score),
3197 htsearch/Display.cc(displayMatch, generateStars, buildMatchList):
3198 Apply Terry Luedtke's patch for score calculations, to calculate
3199 min & max from log(score).
3200
3201 Thu Jun 8 08:47:03 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3202
3203 * contrib/doc2html/doc2html.pl: Apply David Adams' fix for missing
3204 quote.
3205
3206 Wed Jun 07 10:53:53 2000 Loic Dachary <loic at senga.org>
3207
3208 * db/db.c (CDB___db_dbenv_setup): open mode is 0666 instead
3209 of 0 otherwise the weakcmpr file is not open with the proper
3210 mode.
3211
3212 Tue Jun 6 23:48:48 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3213
3214 * httools/htpurge.cc: Fix coredump problems by passing
3215 dictionaries as pointers rather than full objects (this is
3216 preferred anyway).
3217
3218 Sun Jun 4 22:17:14 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3219
3220 * test/t_htdig_local: Added test for local filesystem support.
3221
3222 * test/config/htdig.conf2.in: Change to be a config file for
3223 local_urls testing.
3224
3225 * test/Makefile.am: Add t_htdig_local to list.
3226
3227 Tue May 30 23:52:45 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3228
3229 * httools/htmerge.cc: Move to httools directory, remove "cleanup"
3230 functionality now in htpurge and merge in htmerge.h and db.cc files.
3231
3232 * httools/Makefile.am: Add htmerge now moved to this directory.
3233
3234 * */Makefile.in: Update with automake.
3235
3236 * Makefile.am (SUBDIRS): Remove htmerge, now found in httools.
3237
3238 * configure.in: Ditto.
3239
3240 * configure: Update with autoconf.
3241
3242 * test/test_functions.in: Add paths for htpurge, htstat, htload,
3243 htdump and update path for htmerge.
3244
3245 * test/t_htdig: Change htmerge to htpurge to clean out incorrect URLs.
3246
3247 * installdir/rundig: Change htmerge to htpurge. This needs serious
3248 additional cleanup for use in 3.2 since many conventions have changed!
3249
3250 Tue May 23 22:21:14 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3251
3252 * README: Fix for 3.2.0b3 and clean up organization a bit for new
3253 directory structure.
3254
3255 Wed May 17 23:22:31 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3256
3257 * htdig/HTML.cc (do_tag): Add support for TITLE attributes in
3258 anchor and related tags.
3259
3260 Fri May 12 17:54:09 2000 Loic Dachary <loic at senga.org>
3261
3262 * db/acinclude.m4: bigfile support is disabled by default.
3263
3264 * db/mp_region.c (CDB___memp_close): clear weakcmpr pointer
3265 when closing region so that memory pool files are not
3266 released twice.
3267
3268 Wed May 10 22:26:21 2000 Loic Dachary <loic at senga.org>
3269
3270 * */*.cc: all include htconfig.h
3271
3272 * htlib/HtTime.h: remove htconfig.h inclusion (never in headers)
3273
3274 * htlib/*.h,*.cc: Fix copyright GNU Public -> Gnu General Public
3275 and 1999, 2000 instead of 1999.
3276
3277 Tue May 09 16:38:07 2000 Loic Dachary <loic at senga.org>
3278
3279 * htsearch/Collection.cc (Collection): set searchWords and
3280 searchWordsPattern to null in constructor. Delete in destructor.
3281 Also delete matches in destructor.
3282
3283 * test/word.cc (doskip_harness): free cursor after use.
3284
3285 * test/word.cc (doskip_overflow): free cursor after use.
3286
3287 * test/dbbench.cc (find): free cursor after use.
3288
3289 * htsearch/htsearch.cc (main): free searchWords and searchWordsPattern
3290 after usage.
3291
3292 * htdb/htdb_{load,dump,stat}.cc (main): call WordContext::Finish
3293 to free global context for inverted index.
3294
3295 * htdb/htdb_stat.cc (btree_stats): free stat structure.
3296
3297 * htlib/List.h (class List): Add Shift/Unshift/Push/Pop methods.
3298
3299 * htlib/List.h (class List): Add Remove(int position) method.
3300
3301 Tue May 09 00:22:33 2000 Loic Dachary <loic at senga.org>
3302
3303 * htsearch/htsearch.cc (main): kill useless call to
3304 StringList::Release
3305
3306 * htsearch/HtURLSeedScore.cc (ScoreAdjustItem): remove useless
3307 call to StringList::Destroy.
3308
3309 * htlib/HtWordCodec.cc (HtWordCodec): Fix usage of StringList
3310 that was inserting pointers to volatile strings instead of
3311 permanent copies. I suspect that the tweak on StringList was
3312 primarily done to satisfy this piece of code. After reviewing
3313 all the usage of StringList, it's the only one to use it in this
3314 fashion.
3315
3316 * htlib/QuotedStringList.h (class QuotedStringList): remove
3317 noop destructor to enable Destroy of the underlying StringList
3318 when deleted.
3319
3320 Mon May 08 18:17:02 2000 Loic Dachary <loic at senga.org>
3321
3322 * htlib/StringList.h (class StringList): change methods
3323 Add/Insert/Assign that were copying the String* given in argument.
3324 This behaviour is confusing since it has a different semantic
3325 than the base class List.
3326
3327 Mon May 08 17:16:00 2000 Loic Dachary <loic at senga.org>
3328
3329 * htdig/Retriever.cc (GetLocal): fix leaked defaultdocs
3330
3331 Mon May 08 04:27:47 2000 Loic Dachary <loic at senga.org>
3332
3333 * htlib/StringList.cc (Create): remove SRelease. Deleting
3334 the strings is taken care of by the destructor thru
3335 Destroy. If destruction of the Strings is not desirable
3336 Release should be used. SRelease was added apparently after
3337 a virtual constructor doing nothing was added to hide the
3338 default call to Destroy therefore leaking memory.
3339
3340 Mon May 08 01:28:25 2000 Loic Dachary <loic at senga.org>
3341
3342 * test/txt2mifluz.cc,word.cc,search.cc: fix minor memory leaks.
3343
3344 Sun May 07 19:24:12 2000 Loic Dachary <loic at senga.org>
3345
3346 * Makefile.config (HTLIBS): add libht at end because htdb
3347 now depends on htlib.
3348
3349 * configure.in,htlib/Makefile.am: use LTLIBOBJS as suggested
3350 by the libtool documentation.
3351
3352 Sun May 07 17:09:22 2000 Loic Dachary <loic at senga.org>
3353
3354 * test/Makefile.am (clean-local): clean conf to prevent
3355 inconsistencies when re-configuring in a directory that
3356 is not the source directory.
3357
3358 Sun May 07 05:07:23 2000 Loic Dachary <loic at senga.org>
3359
3360 * db/mkinstalldir,test/benchmark: Add for installation purpose
3361
3362 Sun May 07 02:17:03 2000 Loic Dachary <loic at senga.org>
3363
3364 * Makefile.am (distclean-local): Xtest instead of test
3365 that confuse some shells.
3366
3367 Sun May 07 02:02:46 2000 Loic Dachary <loic at senga.org>
3368
3369 * htword/WordDB.cc: Move Open to WordDB.cc.
3370
3371 Sun May 07 01:32:47 2000 Loic Dachary <loic at senga.org>
3372
3373 * test/t_*: check/fix scripts. All regression tests pass
3374 on RedHat-6.2.
3375
3376 Sun May 07 00:54:30 2000 Loic Dachary <loic at senga.org>
3377
3378 * */*.cc: fix warnings and large file support inclusion
3379 files on Solaris.
3380
3381 Sat May 06 21:55:58 2000 Loic Dachary <loic at senga.org>
3382
3383 * test/: import regression tests from mifluz
3384
3385 * htlib/DB2_db.cc (db_init): fix flags used when creating the
3386 environment to include a memory pool.
3387
3388 * htcommon/defaults.cc: change wordkey_description format.
3389 update all wordlist_* attributes
3390
3391 Sat May 06 04:46:03 2000 Loic Dachary <loic at senga.org>
3392
3393 * htmerge/words.cc (mergeWords): WordSearchDescription becomes
3394 WordCursor.
3395
3396 * httools/htpurge.cc (purgeWords): WordSearchDescription becomes
3397 WordCursor.
3398
3399 Sat May 06 02:01:40 2000 Loic Dachary <loic at senga.org>
3400
3401 * htdb/*: upgrade to Berkeley DB 3.0.55. Very different.
3402
3403 * htlib/getcwd.c,memcmp.c,memcpy.c,memmove.c,raise.c,snprintf.c,
3404 strerror.c,vsnprintf.c,clib.h: Add compatibility support
3405
3406 * htcommon/DocumentDB.cc (LoadDB): remove unused variable
3407
3408 * htlib/DB2_db.cc: adapt to Berkeley DB 3.0.55 syntax.
3409
3410 * htlib/Database.h (class Database): remove DB_INFO, does
3411 not exist in Berkeley DB 3.0.55
3412
3413 * htlib/*: run ../db/prefix-symbols.sh
3414
3415 * Makefile.config (INCLUDES): fix db include dirs
3416
3417 * acconfig.h: Big file support + replacement functions
3418
3419 * acinclude.m4,configure.in : db instead of db/dist + bug fixes
3420
3421 Fri May 5 08:33:59 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3422
3423 * db/*: Merge in changes from Loic's mifluz tree. This will break
3424 everything, but Loic promises he'll fix it ASAP after I make this
3425 change.
3426
3427 Mon Apr 24 21:58:22 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3428
3429 * htdig/htdig.cc (main): Make the -l stop & restart mode the
3430 default. This will catch signals and quit gracefully. The
3431 command-line parser will still accept -l, it will just ignore it.
3432 (usage): Remove -l portion.
3433 (main): Fix -m option to read in a file as it's
3434 supposed to do! Also set max_hops correctly so really only indexes
3435 the URLs in that file.
3436
3437 * htdoc/htdig.html: Remove -l from documentation since it's now
3438 the default.
3439
3440 Mon Apr 24 21:22:53 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3441
3442 * htdig/Server.cc (push): Fix bug where changes in the robots.txt
3443 would be ignored. If a URL was indexed and later the robots.txt
3444 changed to forbid it, the URL would still be updated.
3445
3446 Wed Apr 19 22:13:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3447
3448 * Merging in changes from mifluz 0.14 from Loic.
3449
3450 * htlib/Configuration.cc (Read): Removed dependency on fstream.h,
3451 use fopen, fprintf, fgets, fclose instead of iostream.
3452
3453 * htlib/HtPack.cc, htlib/HtVectorGeneric.h, htlib/Object.h,
3454 htlib/ParsedString.cc, htlib/String.cc: Remove use of cerr,
3455 instead use fprintf(stderr ...).
3456
3457 * htlib/Dictionary.cc, htlib/HtVectorGeneric.cc, htlib/List.cc,
3458 htlib/Object.cc, htlib/StringList.cc, htlib/htString.h,
3459 htlib/strcasecmp.cc: Add #ifdef blocks for htconfig.h
3460
3461 Wed Apr 12 19:09:40 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3462
3463 * .version: Bump to 3.2.0b3.
3464
3465 * htdoc/htload.html, htdoc/htpurge.html, htdoc/htstat.html: Fix
3466 typos in headers.
3467
3468 * htdoc/main.html: Fix link to download to actually point to 3.2.0b2.
3469
3470 Tue Apr 11 00:21:48 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3471
3472 * htsearch/htsearch.cc (setupWords): Does not apply fuzzy
3473 algorithms to phrase queries. This helps prevent the infinite
3474 loops described on the mailing list.
3475
3476 * htcommon/conf_parser.yxx (list): Add conditions for lists
3477 starting with string-number, number-string, and number-number.
3478
3479 * htcommon/conf_parser.cxx: Regenerate using bison.
3480
3481 * htdoc/RELEASE.html: Update release notes for recent bug fixes
3482 and likely release date for 3.2.0b2.
3483
3484 * htdoc/main.html: Add a blurb about the 3.2.0b2 release.
3485
3486 * htdoc/*.html: Remove author notes in the footer as requested by
3487 Andrew. To balance it out, the copyright notice at the top links
3488 to THANKS.html.
3489
3490 Sun Apr 9 15:21:12 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3491
3492 * htcommon/conf_parser.yxx (list): Fix problem with
3493 build_select_lists--parser didn't support lists including numbers.
3494
3495 * htcommon/conf_parser.cxx: Regenerate using bison.
3496
3497 Sun Apr 9 12:53:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3498
3499 * htdoc/RELEASE.html: Add a first draft of 3.2.0b2 release notes.
3500
3501 Sun Apr 9 12:31:13 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3502
3503 * httools/Makefile.am, httools/Makefile.in: Add htload to
3504 compilation list.
3505
3506 * htcommon/DocumentDB.h: Add optional verbose options to DumpDB
3507 and LoadDB.
3508
3509 * htcommon/DocumentDB.cc (LoadDB): Implement loading and parsing
3510 an ASCII version of the document database. Records on disk will
3511 replace any matching records in the db.
3512 (DumpDB): Add all fields in the DocumentRef to ensure the entire
3513 database is written out.
3514
3515 * htcommon/DocumentRef.h: Add new method for setting DocStatus
3516 from an int type.
3517
3518 * htcommon/DocumentRef.cc (DocStatus): Set it using a switch
3519 statement. (It's not pretty, but it works.)
3520
3521 * httools/htload.cc: New file. Loads in ASCII versions of the
3522 databases, replacing existing records if found.
3523
3524 * httools/htdump.cc: Pass verbose flags to DumpDB method. Make
3525 sure to close the document DB before quitting.
3526
3527 * httools/htpurge.cc: Add -u option to specify a URL to purge from
3528 the command-line.
3529
3530 * httools/htstat.cc: Add -u option to output the list of URLs in
3531 the document DB as well.
3532
3533 Sat Apr 8 16:35:55 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3534
3535 * htcommon/defaults.cc: Change all <b>, <i>, and <tt> tags to the
3536 HTML-4.0 compliant <strong>, <em>, and <code> tags.
3537
3538 * installdir/long.html, installdir/header.html,
3539 installdir/nomatch.html, installdir/syntax.html,
3540 installdir/wrapper.html: Ditto.
3541
3542 * htdoc/*.html: Ditto. (Don't you just love sed?)
3543
3544 * htsearch/TemplateList.cc (createFromString): Ditto.
3545
3546 * htdoc/htpurge.html, htdoc/htdump.html, htdoc/htload.html,
3547 htdoc/htstat.html: New files documenting usage of httools
3548 programs.
3549
3550 * htdoc/contents.html: Add links to above.
3551
3552 * htdoc/htdig.html: Update table with -t format to match htdump.
3553
3554 Fri Apr 7 00:30:01 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3555
3556 * README: Update to mention 3.2.0b2 and use correct copyright. (It
3557 is 2000 after all!)
3558
3559 * htdoc/FAQ.html, htdoc/where.html, htdoc/uses.html,
3560 htdoc/isp.html: Update with most recent versions from maindocs.
3561
3562 * htdoc/RELEASE.html: Add release notes for 3.1.5 to the
3563 top. (It's out of version ordering, but it is in correct
3564 chronological order.)
3565
3566 Fri Apr 7 00:11:29 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3567
3568 * httools/htpurge.cc (main): Read in URLs from STDIN for purging,
3569 one per line. Pass them along to purgeDocs for removal. Also, make
3570 discard_list into a local variable and pass it from purgeDocs to
3571 purgeWords.
3572 (purgeDocs): Accept a hash of URLs to delete (user input) and
3573 return the list of doc IDs deleted.
3574 (usage): Note the - option to read in URLs to be deleted from STDIN.
3575
3576 Thu Apr 6 00:10:23 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3577
3578 * htdig/Retriever.cc (got_redirect): Allow the redirect to accept
3579 relative redirects instead of just full URLs.
3580
3581 Wed Apr 5 15:07:52 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3582
3583 * htsearch/Display.cc: Added #if test to make sure DBL_MAX is
3584 defined on Solaris, as reported by Terry Luedtke.
3585
3586 Tue Apr 4 12:46:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3587
3588 * contrib/doc2html/*: Added parser submitted by D.J.Adams at soton.ac.uk
3589
3590 Mon Apr 3 13:48:59 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3591
3592 * htcommon/defaults.cc: Fix error in description of new attribute
3593 plural_suffix.
3594 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
3595 Regenerate using cf_generate.pl.
3596
3597 Fri Mar 31 21:48:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3598
3599 * configure.in, configure: Add test using AC_TRY_RUN to compile
3600 against the htlib/regex.c and attempt to compile a regexp. This
3601 should allow us to find out if the included regex code causes
3602 problems.
3603
3604 * acconfig.h: Add HAVE_BROKEN_REGEX as a result of the configure
3605 script to conditionally include the appropriate regex.h file.
3606
3607 * include/htconfig.h.in: Regenerate using autoheader.
3608
3609 * htlib/regex.c: Move #include "htconfig.h" inside HAVE_CONFIG_H
3610 tests. This file is only created when this is true anyway. This
3611 prevents problems with the configure test.
3612
3613 * htlib/HtRegex.h, htfuzzy/EndingsDB.cc: Use HAVE_BROKEN_REGEX
3614 switch to use the system include instead of the local include
3615 where appropriate.
3616
3617 * htlib/Makefile.am, htlib/Makefile.in: Only compile regex.lo if
3618 the configure script added it to LIBOBJS.
3619
3620 Thu Mar 30 22:41:38 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3621
3622 * htcommon/URL.cc (normalizePath): Remove Gilles's loop to add
3623 back ../ components to a path that would go above the top
3624 level. Now we simply discard them. Both are allowed under the RFC,
3625 but this should have fewer "surprises."
3626
3627 Tue Mar 28 21:57:49 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3628
3629 * htnet/Connection.cc (Read_Partial): Fix bug reported by Valdas
3630 where a zero value returned by select would result in an infinite
3631 loop.
3632
3633 * htcommon/defaults.cc: Add new attribute plural_suffix to set the
3634 language-dependent suffix for PLURAL_MATCHES contributed by Jesse.
3635
3636 * htsearch/Display.cc (setVariables): Use it.
3637
3638 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
3639 Regenerate using cf_generate.pl.
3640
3641 Mon Mar 27 22:28:20 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3642
3643 * htcommon/DocumentRef.cc (Deserialize): Add back stub for
3644 DOC_IMAGESIZE to prevent decoding errors. This just throws away
3645 that field.
3646
3647 * htcommon/HtSGMLCodec.h (class HtSGMLCodec): Differentiate
3648 between codec used for &foo; and numeric form &#nnn; Make sure
3649 encoding goes through both but decoding only goes through the
3650 preferred text form.
3651
3652 * htcommon/HtSGMLCodec.cc (HtSGMLCodec): When constructing the
3653 private HtWordCodec objects, create separate lists for the number
3654 and text codecs.
3655
3656 Mon Mar 27 21:25:27 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3657
3658 * htsearch/HtURLSeedScore.cc (ScoreAdjustItem): Change to use
3659 HtRegex for flexibility and to get around const char * -> char *
3660 problems.
3661
3662 * htsearch/SplitMatches.cc (MatchArea): Ditto.
3663
3664 * htsearch/Makefile.am, htsearch/Makefile.in: Add SplitMatches.cc
3665 and HtURLSeedScore.cc to compilation list!
3666
3667 Mon Mar 27 21:03:12 2000 Hans-Peter Nilsson <hp at bitrange.com>
3668
3669 * htcommon/defaults.cc (defaults): Add default for
3670 search_results_order, url_seed_score.
3671
3672 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
3673 Regenerated using cf_generate.pl.
3674
3675 * htlib/List.h (List): New method AppendList.
3676 * htlib/List.cc (List::AppendList): Implement it.
3677
3678 * htsearch/SplitMatches.h, htsearch/SplitMatches.cc: New.
3679
3680 * htsearch/HtURLSeedScore.cc, HtURLSeedScore.h: New.
3681
3682 * htsearch/Display.h (class Display: Add member minScore.
3683 Change maxScore type to double.
3684
3685 * htsearch/Display.cc: Include SplitMatches.h and HtURLSeedScore.h
3686 (ctor): Initialize minScore, change init value for
3687 maxScore to -DBL_MAX.
3688 (buildMatchList): Use a SplitMatches to hold search results and
3689 interate over its parts when sorting scores.
3690 Ignore Count() of matches when setting minScore and maxScore.
3691 Use an URLSeedScore to adjust the score after other calculations.
3692 Calculate minScore.
3693 Correct maxScore adjustment for change to double.
3694 (displayMatch): Use minScore in calculation of score to adjust for
3695 negative scores.
3696 (sort): Calculation of maxScore moved to buildMatchList.
3697
3698 Mon Mar 27 20:22:24 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3699
3700 * htcommon/DocumentRef.h, htcommon/DocumentRef.cc: Remove
3701 DocImageSize field since it is not used anywhere and is never updated.
3702
3703 * htdig/Retriever.h (class Retriever): Remove references to Images class.
3704
3705 * htcommon/DocumentDB.cc (DumpDB): Ignore DocImageSize field.
3706
3707 * htdig/Makefile.am, htdig/Makefile.in: Remove Images.cc since
3708 this is no longer used.
3709
3710 * htdig/Plaintext.cc: Do not insert SGML equivalents into the
3711 excerpt, these are decoded by HtSGMLCodec automatically.
3712
3713 Sat Mar 25 21:58:36 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3714
3715 * htdoc/cf_generate.pl (html_escape): Changed <b></b> and <i></i>
3716 tags to HTML 4.0 <strong> and <em> tags.
3717
3718 Sat Mar 25 17:23:46 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3719
3720 * htdb/Makefile.am, htdb/Makefile.in: Change the names of the htdb
3721 utility programs to escape name conflicts with httool programs.
3722
3723 * htdb/htdb_load.cc: Rename htload.cc to escape name conflict and
3724 more closely match orignal db_load program name.
3725
3726 * htdb/htdb_dump.cc, htdb/htdb_stat.cc: Ditto.
3727
3728 * htfuzzy/Prefix.cc (getWords): Add code to "weed out" duplicates
3729 returned from WordList::Prefix. We only want to add unique words
3730 to the search list.
3731
3732 Fri Mar 24 22:33:20 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3733
3734 * htdig/Document.cc (Document): Fix bug reported by Mentos
3735 Hoffman, contributed by Atlee Gordy <agordy at moonlight.net>.
3736
3737 Mon Mar 20 23:14:26 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3738
3739 * htcommon/DocumentDB.cc (Delete): Fix bug reported by Valdas
3740 where duplicate document records could "sneak in" because the
3741 doc_index entry was removed incorrectly.
3742
3743 Mon Mar 20 19:08:14 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3744
3745 * htcommon/defaults.cc: Added block field and added appropriate blocks.
3746
3747 * htlib/Configuration.h (struct ConfigDefaults): Add block field.
3748
3749 * htdoc/cf_generate.pl: Parse the new block field.
3750
3751 * htdoc/cf_byname.html, htdoc/cf_byprog.html, htdoc/attrs.html:
3752 Regenerate using above.
3753
3754 * htcommon/DocumentDB.cc (DumpDB): Make sure we decompress the
3755 DocHead field before we write it to disk!
3756
3757 * httools/htdump.cc, httools/htstat.cc: Call
3758 WordContext::Initialize() before doing any htword calls.
3759
3760 Mon Mar 20 14:10:30 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3761
3762 * httools/htpurge.cc: Whoops! Left some references to htmerge in
3763 the error messages and usage message.
3764
3765 * httools/htstat.cc: New program. Simply spits up the total number
3766 of documents, words and unique words in the databases.
3767
3768 * httools/htdump.cc: New program. Simply dumps the contents of the
3769 document DB and the word DB to doc_list and word_dump files
3770 respectively. Also has flags -w and -d to pick one or the other.
3771
3772 * httools/Makefile.am, httools/Makefile.in: Add htdump and htstat
3773 programs to compilation list.
3774
3775 * htcommon/DocumentDB.cc (DumpDB): Change name of CreateSearchDB
3776 and add fields for DocBackLinks, DocSig, DocHopCount, DocEmail,
3777 DocNotification, and DocSubject. This should now export every
3778 portion of the document DB.
3779
3780 * htcommon/DocumentDB.h: Change name of CreateSearchDB and add
3781 stub for LoadDB, to be written shortly.
3782
3783 * htdig/htdig.cc: Call DumpDB instead of CreateSearchDB when
3784 creating an ASCII version of the DB.
3785
3786 Sat Mar 18 22:57:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3787
3788 * httools/Makefile.am, httools/Makefile.in: New directory for
3789 useful database utilities.
3790
3791 * httools/htnotify.cc: Moved htnotify to httools directory.
3792
3793 * httools/htpurge.cc: New program--currently just purges documents
3794 (and corresponding words) in the databases. Will shortly also
3795 allow deletion of specified URLs.
3796
3797 * Makefile.am, configure.in: Remove htnotify directory in favor of
3798 httools directory.
3799
3800 * configure: Regenerate using autoconf.
3801
3802 * Makefile.in: Regenerate using automake --foreign.
3803
3804 Fri Mar 17 16:47:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3805
3806 * htsearch/Display.cc (excerpt, hilight): Correctly handle case
3807 where there is no pattern to highlight.
3808 * htsearch/htsearch.cc (addRequiredWords), htcommon/defaults.cc:
3809 Add any_keywords attribute, to OR keywords rather than ANDing,
3810 fix addRequiredWords not to mess up expression when there are
3811 no search words, but required words are given.
3812 * htdoc/hts_form.html: Mention new attribute, add links to all
3813 mentioned attributes.
3814 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
3815 Regenerate using cf_generate.pl.
3816
3817 Fri Mar 17 15:48:12 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3818
3819 * htfuzzy/Accents.cc (generateKey): Truncate words to
3820 maximum_word_length, for consistency with what's found in word DB.
3821
3822 Fri Mar 17 10:56:17 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3823
3824 * htdig/HTML.cc (do_tag): Use case insensitive parsing of META
3825 robots tag content.
3826 * htlib/String.cc (uppercase): Fix misplaced cast for islower().
3827
3828 Mon Mar 6 17:31:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3829
3830 * htsearch/htsearch.cc (setupWords): Don't allow comma as string
3831 list separator, as it can be a decimal point in some locales.
3832
3833 Mon Mar 06 00:58:00 2000 Loic Dachary <loic at ceic.com>
3834
3835 * db/mp/mp_bh.c (__memp_bhfree): always free the chain, if
3836 any. The bh is reset to null after free and we loose the
3837 pointer anyway, finally filling the pool with it.
3838
3839 * db/mp/mp_cmpr.c (__memp_cmpr_write): i < CMPR_MAX - 1 instead of
3840 i < CMPR_MAX otherwise go beyond array limits. This fixes a
3841 major problem when handling large files.
3842
3843 Sat Mar 04 19:41:49 2000 Loic Dachary <loic at ceic.com>
3844
3845 * db/mp/mp_cmpr.c (__memp_cmpr_free_chain): clear BH_CMPR
3846 flag. Was causing core dumps, thanks to
3847 Peter Marelas maral at phase-one.com.au for providing
3848 a simple case to reproduce the error.
3849
3850 Fri Mar 3 11:32:34 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
3851
3852 * Fixed bugs regarding yesterday's changes. Even Leonardo da Vinci
3853 used to commit errors, so ...
3854
3855 Fri Mar 3 11:25:42 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
3856
3857 * testnet.cc: added the -r and -w options in order to set how many
3858 times it retries to re-connect after a timeout occurs, and how long
3859 it should wait after it.
3860
3861 Thu Mar 2 18:45:15 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
3862
3863 * htnet/Connection.*: management of wait_time and number of retries
3864 after a timeout occurs.
3865
3866 * htnet/Transport.*: Management of connection attributes above.
3867
3868 * htdig/Server.*: Set members for managing timeout retries taken from
3869 the configuration file ("timeout", "tcp_max_retries", "tcp_wait_time").
3870
3871 * htdig/Document.cc: Added the chance to configure on a server basis
3872 "persistent_connections", "head_before_get", "timeout",
3873 "tcp_max_retries", "tcp_wait_time". Changed Retrieve method accepting
3874 now a server object pointer: Retrieve (server*, HtDateTime).
3875
3876 * htdig/Retriever.cc: Added the chance to configure on a server basis
3877 "max_connection_requests" attribute.
3878
3879 * htcommon/defaults.cc: Added "tcp_max_retries", "tcp_wait_time" -- Need
3880 to be go over by someone who speaks english better than me. Not a hard
3881 work !!! ;-)
3882
3883 Wed Mar 1 17:01:09 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3884
3885 * htsearch/Display.cc (excerpt, hilight): move SGML encoding into
3886 hilight() function, because when it's done earlier it breaks
3887 highlighting of accented characters.
3888
3889 Wed Mar 1 16:02:49 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3890
3891 * htfuzzy/htfuzzy.cc (main): Correctly test return value on Open()
3892 of word database, include db name in error message if Open() fails,
3893 do a WordContext::Initialize() before we need htword functions.
3894 (Obviously I'm the first to test htfuzzy in 3.2!)
3895 * htfuzzy/Accents.cc (generateKey): cast characters to unsigned char
3896 before using as array subscripts.
3897
3898 Wed Mar 1 13:27:26 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3899
3900 * htcommon/defaults.cc: Added accents_db attribute, mentioned accents
3901 algorithm in search_algorithms section.
3902 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
3903 Regenerate using cf_generate.pl.
3904 * installdir/htdig.conf: Added mentions of accents, speling & substring,
3905 fixed a couple typos in comments.
3906 * htdoc/htfuzzy.html: Added blurb on accents algorithm.
3907 * htdoc/require.html: Added mentions of accents, speling, substring,
3908 prefix & regex.
3909 * htdoc/config.html: Updated with sample of latest htdig.conf and
3910 installdir/*.html, added blurb on wrapper.html.
3911
3912 Wed Mar 1 00:30:19 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3913
3914 * configure.in, configure: Add test for FD_SET_T, the second (also
3915 third and fourth) argument in calls to select(). Should solve PR#739.
3916
3917 * acconfig.h, include/htconfig.h.in: Add declaration for FD_SET_T.
3918
3919 * htnet/Connection.cc (ReadPartial): Change declaration of fds to
3920 use FD_SET_T define set by the configure script.
3921
3922 Tue Feb 29 23:11:49 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3923
3924 * htlib/DB2_db.cc (Error): Simply fprint the error message on
3925 stderr. This is not a method since the db.h interface expects a C
3926 function.
3927 (db_init): Don't set db_errfile, instead set errcall to point to
3928 the new Error function.
3929
3930 Tue Feb 29 15:09:41 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3931
3932 * htfuzzy/Accents.h, htfuzzy/Accents.cc: Adapted writeDB() for 3.2.
3933
3934 Tue Feb 29 14:29:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3935
3936 * htfuzzy/Accents.h, htfuzzy/Accents.cc: Added these, as contributed
3937 by Robert Marchand, to implement accents fuzzy match. Adapted to 3.2.
3938 * htfuzzy/Fuzzy.cc, htfuzzy/htfuzzy.cc, htfuzzy/Makefile.am,
3939 htfuzzy/Makefile.in: Added in accents algorithm, as for soundex.
3940
3941 Tue Feb 29 11:31:53 2000 Loic Dachary <loic at ceic.com>
3942
3943 * test/testnet.cc (Listen): Add -b port to listen to a specific
3944 port. This is to test connect timeout conditions.
3945
3946 * htnet/Connection.cc (Connect): Added SIGALRM signal handler,
3947 Connect() always allow EINTR to occur.
3948
3949 Mon Feb 28 15:32:46 2000 Loic Dachary <loic at ceic.com>
3950
3951 * htword/WordKey.h (class WordKey): explicitly add inline keyword
3952 for all inline functions.
3953
3954 Mon Feb 28 13:10:34 2000 Loic Dachary <loic at ceic.com>
3955
3956 * htword/WordKey.h (class WordKey): nfields data member caches
3957 result of NFields() method.
3958
3959 * htword/WordDBPage.h (class WordDBPage): nfields data member caches
3960 result of WordKey::NFields() method.
3961
3962 * acinclude.m4 (APACHE): check in lib/apache for modules
3963
3964 Sat Feb 26 22:05:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
3965
3966 * htsearch/Collection.h, htsearch/Collection.cc: New files
3967 contributed by Rajendra Inamdar <inamdar at beasys.com>.
3968
3969 * htsearch/Makefile.am, htsearch/Makefile.in: Compile them.
3970
3971 * htcommon/defaults.cc: Add new collection_names attribute as
3972 described by Rajendra.
3973
3974 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
3975 Regenerate using cf_generate.pl.
3976
3977 * htsearch/Display.h, htsearch/Display.cc: Loop through
3978 collections as we are assembling results.
3979 (buildMatchList): Use 1.0 as minimum score and take log(score) as
3980 the final score. This requires an increase in magnitude in weight
3981 to correspond to a factor of increase in score.
3982
3983 * htsearch/DocMatch.h, htsearch/DocMatch.cc: Keep track of the
3984 collection we're in.
3985
3986 * htsearch/ResultMatch.h: Ditto.
3987
3988 * htsearch/htsearch.h, htsearch/htsearch.cc: Wrap results in
3989 collections.
3990
3991 * htsearch/parser.h, htsearch/parser.cc: Set the collection for
3992 the results--we use this to get to the appropriate word DB.
3993 (score): Divide word weights by word frequency to calibrate for
3994 expected Zipf's law. Rare words should count more.
3995
3996 Fri Feb 25 11:19:47 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
3997
3998 * htcommon/defaults.cc (maximum_pages): Describe new bahaviour (as of
3999 3.1.4), where this limits total matches shown.
4000 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4001 Regenerate using cf_generate.pl.
4002
4003 Thu Feb 24 14:43:06 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4004
4005 * htnet/HtFile.cc (Request): Fix silly typo.
4006
4007 * htlib/DB2_db.cc: Remove include of malloc.h, as it causes problems
4008 on some systems (e.g. Mac OS X), and all we need should be in stdlib.h.
4009
4010 Thu Feb 24 13:11:15 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4011
4012 * htnet/HtFile.cc (Request): Don't append more than _max_document_size
4013 bytes to _contents string, set _content_length to size returned by
4014 stat().
4015 * htnet/HtHTTP.cc (HTTPRequest): Extra tests in case Content-Length
4016 not given for non-chunked input, and not to close persistent
4017 connection when chunked input exceeds _max_document_size.
4018 (ReadChunkedBody): Don't append more than _max_document_size bytes
4019 to _contents string.
4020
4021 Thu Feb 24 11:40:24 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4022
4023 * htdig/HTML.cc (do_tag): Fix handling of img alt text to be consistent
4024 with body text, rather than keywords.
4025 * htdig/Retriever.cc (ctor): Treat alt text as plain text, until it has
4026 its own FLAG and factor.
4027
4028 Thu Feb 24 11:16:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4029
4030 * htcommon/defaults.cc (version): Moved example over to correct field.
4031 (defaults[] terminator): Padded zeros to new number of fields.
4032 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4033 Regenerate using cf_generate.pl.
4034
4035 Thu Feb 24 19:08:41 2000 Loic Dachary <loic at ceic.com>
4036
4037 * htmerge/words.cc: only display Word in verbose message instead
4038 of complete key if verbosity < 3.
4039
4040 Thu Feb 24 10:43:12 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4041
4042 * htcommon/defaults.cc (external_protocols, external_parser):
4043 Swapped these two entries to put them in alphabetical order.
4044 (star_blank): Fixed old typo (incorrect reference to image_star).
4045 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4046 Regenerate using cf_generate.pl.
4047
4048 Wed Feb 23 16:53:40 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4049
4050 * htcommon/defaults.cc (backlink_factor, external_parser,
4051 local_default_doc, local_urls, local_urls_only, local_user_urls):
4052 Add some updates from 3.1.5's attrs.html.
4053 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4054 Regenerate using cf_generate.pl.
4055
4056 Wed Feb 23 15:11:51 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4057
4058 [ Improve htsearch's HTML 4.0 compliance ]
4059 * htsearch/TemplateList.cc (createFromString): Use file name rather
4060 than internal name to select builtin-* templates, use $&(TITLE) and
4061 $&(URL) in templates and quote HTML tag parameters.
4062 * installdir/long.html, installdir/short.html: Use $&(TITLE) and
4063 $&(URL) in templates and quote HTML tag parameters.
4064 * htsearch/Display.cc (setVariables): quote all HTML tag parameters
4065 in generated select lists.
4066 * installdir/footer.html, installdir/header.html,
4067 installdir/nomatch.html, installdir/search.html,
4068 installdir/syntax.html, installdir/wrapper.html:
4069 Use $&(var) where appropriate, and quote HTML tag parameters.
4070 * installdir/htdig.conf: quote all HTML tag parameters.
4071
4072 Wed Feb 23 13:40:27 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4073
4074 * htcommon/URL.h (encodeURL): Change list of valid characters to
4075 include only unreserved ones.
4076 * htcommon/cgi.cc (init): Allow "&" and ";" as input param. separators.
4077 * htsearch/Display.cc (createURL): Encode each parameter separately,
4078 using new unreserved list, before piecing together query string, to
4079 allow characters like "?=&" within parameters to be encoded.
4080
4081 Wed Feb 23 13:22:29 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4082
4083 * htlib/URL.cc (ServerAlias): Fix server_aliases processing to prevent
4084 infinite loop (as for local_urls in PR#688).
4085
4086 Wed Feb 23 12:49:52 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4087
4088 * htlib/HtDateTime.h, htlib/HtDateTime.cc: change Httimegm() method
4089 to HtTimeGM(), to avoid conflict with Httimegm() C function, so we
4090 don't need "::" override, for Mac OS X.
4091 * htlib/htString.h, htlib/String.cc: change write() method to
4092 Write(), to avoid conflict with write() function, so we don't need
4093 "::" override, for Mac OS X.
4094
4095 Wed Feb 23 12:17:46 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4096
4097 * htlib/Configuration.cc(Read): Fixed to allow final line without
4098 terminating newline character, rather than ignoring it.
4099
4100 Wed Feb 23 12:01:01 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4101
4102 * htdig/Retriever.cc (GetLocal, GetLocalUser): Add URL-decoding
4103 enhancements to local_urls, local_default_urls & local_default_doc,
4104 to allow hex encoding of special characters.
4105
4106 Wed Feb 23 19:14:29 2000 Loic Dachary <loic at ceic.com>
4107
4108 * htcommon/conf_parser.cxx: regenerated from conf_parser.yxx
4109
4110 Wed Feb 23 19:04:16 2000 Loic Dachary <loic at ceic.com>
4111
4112 * test/test_functions.in: inconditionaly remove existing test/var
4113 directory before runing tests to prevent accidents.
4114
4115 * htcommon/URL.cc (URL): fixed String->char warning
4116
4117 * htcommon/defaults.cc (wordlist_compress): defaults to true
4118
4119 Tue Feb 22 17:09:10 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4120
4121 * htdig/HTML.cc(parse, do_tag): Fix handling of <img alt=...> text
4122 and parsing of words in meta tags, to to proper word separation.
4123 * htlib/HtWordType.h, htlib/HtWordType.cc: Add HtWordToken() function,
4124 to replace strtok() in HTML parser.
4125
4126 Tue Feb 22 16:21:25 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4127
4128 * htlib/URL.cc (ctor, normalizePath): Fix PR#779, to handle relative
4129 URLs correctly when there's a trailing ".." or leading "//".
4130
4131 Tue Feb 22 14:09:26 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4132
4133 * htdig/Document.cc (RetrieveLocal): Handle common extensions for
4134 text/plain, application/pdf & application/postscript.
4135
4136 Mon Feb 21 17:25:21 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4137
4138 * contrib/htdig-3.2.0.spec: Fixed %post script to add more
4139 descriptive entries in htdig.conf, made cron script a config file,
4140 updated to 3.2.0b2.
4141
4142 * contrib/conv_doc.pl, contrib/parse_doc.pl: Added comments to show
4143 Warren Jones's updates in change history.
4144
4145 Mon Feb 21 17:09:13 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4146
4147 * htcommon/HtConfiguration.h, htcommon/conf_parser.yxx,
4148 htlib/Configuration.h, htlib/Configuration.cc: split Add() method
4149 into Add() and AddParsed(), so that only config attributes get parsed.
4150 Use AddParsed() only in Read() and Defaults().
4151
4152 Fri Feb 18 22:50:54 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4153
4154 * htnet/Connection.h, htnet/Connection.cc: Renamed methods with
4155 capitals to remove the need to use ::-escaped library calls.
4156
4157 * htnet/Transport.h, htnet/Transport.cc, htnet/HtHTTP.cc,
4158 htdig/Images.cc: Fix code using Connection to use the newly
4159 capitalized methods.
4160
4161 Fri Feb 18 14:40:50 2000 Loic Dachary <loic at ceic.com>
4162
4163 * test/conf/access.conf.in: removed cookies. Not used and some
4164 httpd are not compiled with usertrack.
4165
4166 Wed Feb 16 12:15:08 2000 Vadim Chekan <vadim at etc.lviv.ua>
4167
4168 * htcommon/Makefile.am replaced conf.tab.cc.h by conf_parser.h in
4169 noinst_HEADERS
4170
4171 * htcommon/conf_parser.yxx,conf_parser.lxx,HtConfiguration.cc,
4172 HtConfiguration.h: added copyright and Id:
4173
4174 * htcommon/cgi.cc(init): fixed bug: array must be free by
4175 delete [] buf, not just delete buf;
4176
4177 Tue Feb 15 23:16:14 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4178
4179 * htnet/HtHTTP.cc (isParsable): Remove application/pdf as a
4180 default type--it is now handled through the ExternalParser
4181 interface if at all.
4182
4183 * htcommon/defaults.cc: Remove pdf_parser attribute.
4184
4185 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4186 Regenerate using cf_generate.pl.
4187
4188 * htdig/Document.cc (getParsable): Remove PDF once and for all
4189 (hopefully).
4190
4191 * htdig/ExternalParser.cc (parse): Ditto.
4192
4193 * configure.in: Remove check for PDF_PARSER.
4194
4195 * configure: Regenerate using autoconf
4196
4197 * htdig/Makefile.am: Remove PDF.cc and PDF.h.
4198
4199 * Makefile.in, */Makefile.in: Regenerate using automake --foreign
4200
4201 Tue Feb 15 12:02:39 EET 2000 Vadim Chekan <vadim at etc.lviv.ua>
4202
4203 * htcommon/HtConfiguration.cc,HtConfiguration.h: fixed bug discovered
4204 by Gilles. HtConfiguration was able to get info only from "url" and
4205 "server" block.
4206
4207 * htcommon/conf_parser.yxx: deleted 1st parameter for new char[],
4208 lefted when realloc was replaced by new char[]. Removed a few unused
4209 variable declaration.
4210
4211 * htcommon/Makefile.am: added -d flag to bison to generate
4212 conf_parser.h template from conf_parser.yxx;
4213 conf_lexer.lxx uses #include conf_parser.h;
4214 conf.tab.cc.h removed.
4215
4216 Sun Feb 13 21:19:04 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4217
4218 * htcommon/defaults.cc: Get rid of uncoded_db_compatible since
4219 the current DB format has clearly broken backwards compatibility.
4220
4221 * htsearch/Display.cc (Display), htnotify/htnotify.cc (main),
4222 htmerge/docs.cc (convertDocs), htmerge/db.cc (mergeDB),
4223 htdig/htdig.cc (main): Remove call to DocumentDB::setCompatibility().
4224
4225 * htcommon/DocumentDB.h (class DocumentDB): Remove
4226 setCompatibility and related private variable.
4227
4228 * htcommon/DocumentDB.cc ([], Delete): Don't bother checking for
4229 an unencoded URL, at this point all URLs will be encoded using
4230 HtURLCodec.
4231
4232 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4233 Regenerate using cf_generate.pl.
4234
4235 Sat Feb 12 21:29:20 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4236
4237 * htcommon/HtSGMLCodec.cc (HtSGMLCodec): Always translate &quot;
4238 &amp; &lt; and &gt;
4239
4240 * htcommon/defaults.cc: Remove translate_* and word_list
4241 attributes since they're now no longer used.
4242
4243 * htdig/PDF.cc (parseNonTextLine): Fix bogus escape sequences
4244 around Title parsing. Fixes PR#740.
4245
4246 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4247 Regenerate using cf_generate.pl.
4248
4249 Fri Feb 11 11:41:36 2000 Loic Dachary <loic at ceic.com>
4250
4251 * htlib/Makefile.am: removed CFLAGS=-g (use make CXXFLAGS=-g all
4252 instead).
4253
4254 * htdoc/install.html: specify header/lib install directory now
4255 is prefix/include/htdig and prefix/lib/htdig.
4256
4257 * Makefile.am (distclean-local): use TESTDIR instead of deprecated
4258 HTDIGDIRS.
4259
4260 * */Makefile.am: install libraries in prefix/lib/htdig and
4261 includes in prefix/include/htdig. Just prepend pkg in front of
4262 automake targets.
4263
4264 * include/Makefile.am: install htconfig.h
4265
4266 Thu Feb 10 23:18:37 2000 Loic Dachary <loic at ceic.com>
4267
4268 * Connection.cc (Connection): set retry_value to 1 instead of
4269 0 as suggested by Geoff.
4270
4271 Thu Feb 10 17:36:09 2000 Loic Dachary <loic at ceic.com>
4272
4273 * htdig/Document.cc: fix (String)->(char*) conversion warnings.
4274
4275 * htword/WordList.cc: kill Collect(WordSearchDescription) which
4276 was useless and error prone.
4277
4278 * htword/WordDB.h (WordDBCursor::Get): small performance improvement
4279 by copying values only if key found.
4280
4281 * htword/WordDB.h,WordList.cc: fix reference counting bug when
4282 using Override (+1 even if entry existed). Turn WordDB.h return
4283 values to be std Berkeley DB fashion instead of the mixture with
4284 OK/NOTOK that was a stupid idea. This allows to detect Put errors
4285 and handle them properly to fix the Override bug without performance
4286 loss.
4287
4288 * test/conf/httpd.conf.in: comment out loading of mod_rewrite
4289 since not everyone has it.
4290
4291 Thu Feb 10 00:26:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4292
4293 * htcommon/defaults.cc: Add new attribute "nph" to send out
4294 non-parsed headers for servers that do not supply HTTP headers on
4295 CGI output (e.g. IIS).
4296
4297 * htsearch/Display.cc (display): If nph is set, send out HTTP OK
4298 header as suggested by Matthew Daniel <mdaniel at scdi.com>
4299 (displaySyntaxError): Ditto.
4300
4301 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4302 Regenerate from current defaults.cc file.
4303
4304 Thu Feb 10 00:21:58 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4305
4306 * htdig/HTML.cc (do_tag): Treat <script></script> tags as noindex
4307 tags, much like <style></style> as suggested by Torsten.
4308
4309 Thu Feb 10 00:02:41 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4310
4311 * .version: Bump for 3.2.0b2.
4312
4313 * htcommon/defaults.cc: Add category fields for each
4314 attribute. Though these are currently unused, they could allow the
4315 documentation to be split into multiple files based on logical
4316 categories and subcategories.
4317
4318 Wed Feb 9 23:52:55 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4319
4320 * htnet/Connection.cc (connect): Add alarm(timeout) ... alarm(0)
4321 around ::connect() call to ensure this does timeout as appropriate
4322 as suggested by Russ Lentini <rlentini at atl.lmco.com> to resolve
4323 PR#762 (and probably others as well).
4324 (connect): Add a retry loop as suggested by Wilhelm Schnell
4325 <Wilhelm.Schnell at mn.man.de> to resolve PR#754.
4326
4327 * htnet/HtHTTP.cc (HTTPRequest): Add CloseConnection() when the
4328 connection fails on open before returning from the method. Should
4329 take care of PR#670 for htdig-3-2-x.
4330
4331 Wed Feb 09 17:20:50 2000 Loic Dachary <loic at ceic.com>
4332
4333 * db/dist/Makefile.in (libhtdb.so): move dependent libraries
4334 *after* the list of objects, otherwise it's useless.
4335
4336 * htword/WordKey.h (class WordKey): move #if SWIG around to
4337 please swig (www.swig.org).
4338
4339 * htword/WordList.h (class WordList): allow SWIG to see Walk*
4340 functions (#if SWIG).
4341
4342 Wed Feb 9 09:21:00 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4343
4344 * htdig/Server.cc (robotstxt): apply more rigorous parsing of
4345 multiple user-agent fields, and use only the first one.
4346
4347 * htlib/HtRegex.cc (set): apply the fix from Valdas Andrulis, to
4348 properly compile case_sensitive expressions.
4349
4350 Mon Feb 09 09:43:59 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
4351
4352 * htnet/HtHTTP.cc: changed "<<" to append() for content_length
4353 assignment in ReadChunkedBody() function (as Gilles suggested)
4354
4355 Tue Feb 08 10:54:08 2000 Loic Dachary <loic at ceic.com>
4356
4357 * db/dist/configure.in: Added AC_PREFIX_DEFAULT(/opt/www)
4358 so that headers and libraries are installed in the proper
4359 directory when no --prefix is given.
4360
4361 Tue Feb 08 10:32:48 2000 Loic Dachary <loic at ceic.com>
4362
4363 * test/t_wordskip: copy $srcdir/skiptest_db.txt to allow running
4364 outside the source tree.
4365
4366 * configure.in: use '${prefix}/...' instead of "$ac_default_prefix/..."
4367 that did not carry the --prefix value.
4368
4369 * configure.in: run CHECK_USER and AC_PROG_APACHE if --enable-tests
4370
4371 Mon Feb 07 17:40:47 2000 Loic Dachary <loic at ceic.com>
4372
4373 * htlib/htString.h (last): turn to const
4374
4375 Mon Feb 07 14:05:37 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
4376
4377 * htnet/HtHTTP.cc: fixed a bug in ReadChunkedBody() function
4378 regarding document size assignment (raised by Valdas Andrulis)
4379
4380 Sun Feb 06 19:11:05 2000 Loic Dachary <loic at ceic.com>
4381
4382 * configure.in: Fix inconsistencies between default values
4383 shown by ./configure and actual defaults.
4384
4385 * htdoc/install.html: change example version 3.1 to 3.2
4386 Commented out warning about libguile.
4387 Replace CONFIG variables by configure.in options.
4388 Specify default value for each of them.
4389 Replace (and move) make depend by automake (distributed
4390 Makefiles do not include dependency generation)
4391 Added section for running tests.
4392 Added section on shared libraries.
4393
4394 * configure.in: use AM_CONDITIONAL for --enable-tests
4395
4396 * Makefile.am: use automake conditionals for subdir so
4397 that make dist knows what to distribution --enable-tests
4398 specified or not.
4399
4400 * db/Makefile.in: allow make dist to work outside the source
4401 tree.
4402
4403 Sat Feb 05 18:31:04 2000 Loic Dachary <loic at ceic.com>
4404
4405 * test/word.cc (SkipTestEntries): The fix of
4406 WordList::SkipUselessSequentialWalking actually saves us
4407 a few hops when walking lists of words.
4408
4409 Fri Feb 04 17:28:32 2000 Loic Dachary <loic at ceic.com>
4410
4411 * htword/WordKey.cc,WordReference.cc,WordRecord.cc (Print): use
4412 cerr instead of cout for immediate printing under debugger.
4413
4414 Thu Feb 3 16:06:45 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4415
4416 * htdig/Document.cc (RetrieveLocal): fix bug that prevented local
4417 filesystem digging, because max_doc_size was initialized to 0.
4418 Now sets it to max_doc_size for current url.
4419
4420 Thu Feb 3 12:36:56 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4421
4422 * installdir/Makefile.{am,in}: install mime.types as mime.types,
4423 not as htdig.conf.
4424
4425 * htfuzzy/EndingsDB.cc (createDB): fix code to use MV macro in
4426 system() command, not hard-coded "MV" string literal, and use
4427 get() on config objects to avoid passing String objects to form().
4428
4429 Wed Feb 2 19:44:33 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4430
4431 * htlib/HtDateTime.cc (SetRFC1123): Strip off weekday, if present
4432 and use LOOSE format.
4433 (SetRFC850): Ditto.
4434
4435 * configure.in, configure: Add configure check for "mv."
4436
4437 * htfuzzy/Makefile.am: Use it.
4438
4439 * */Makefile.in: Regenerate using automake.
4440
4441 * htfuzzy/EndingsDB.cc (createDB): Use the detected mv, or
4442 whatever is in the path to move the endings DB when they're
4443 finished.
4444
4445 Wed Feb 2 15:49:14 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4446
4447 * htdig/Document.cc (RetrieveLocal), htdig/Retriever.cc (GetLocal):
4448 Fix compilation errors. Oops!
4449
4450 Wed Feb 2 13:53:27 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4451
4452 * htdig/Retriever.cc (IsValidURL): fix problem with valid_extensions
4453 matching failure when URL parameters follow extension.
4454
4455 Wed Feb 2 13:29:48 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4456
4457 * htlib/QuotedStringList.cc (Create): fix PR#743, where quoted string
4458 lists didn't allow embedded quotes of opposite sort in strings
4459 (e.g. "'" or '"'), and fix to avoid overrunning end of string
4460 if it ends with backslash.
4461
4462 Wed Feb 2 13:23:16 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4463
4464 * htdig/HTML.cc (ctor, parse, do_tag), htcommon/defaults.cc:
4465 Add max_keywords attribute to limit meta keyword spamming.
4466 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4467 Regenerate using cf_generate.pl.
4468
4469 Wed Feb 2 12:57:40 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4470
4471 * htdig/Document.cc (RetrieveLocal), htdig/Document.h,
4472 htdig/Retriever.cc (Initial, parse_url, GetLocal, GetLocalUser,
4473 IsLocalURL, got_href, got_redirect), htdig/Retriever.h,
4474 htdig/Server.cc (ctor), htdig/Server.h: Add in Paul Henson's
4475 enhancements to local_urls, local_default_urls & local_default_doc.
4476 * htcommon/defaults.cc: Document these.
4477
4478 Wed Feb 02 10:14:57 2000 Loic Dachary <loic at ceic.com>
4479
4480 * htword/WordKeyInfo.h,WordKey.{cc,h}: fix overflow bug when 32
4481 bits. For that purpose implement Outbound/Overflow/Underflow
4482 methods in WordKey, MaxValue in WordKey/WordKeyInfo.
4483 (WordKey::SetToFollowing) was FUBAR : overflow of field1 tested
4484 with number of bits in next field, do not handle overflow,
4485 Re-implemented.
4486 (WordKey::Set) Change atoi to strtoul.
4487 (WordList::SkipUselessSequentialWalking) was much to fucked up
4488 to explain. Re-implement
4489 (WordKey::Diff) Added as a support function of
4490 SkipUselessSequentialWalking.
4491 implement consistent verbosity.
4492
4493 * htword/WordList.cc (operator >>): explicit error message when
4494 insert failed, with line number.
4495
4496 Wed Feb 2 00:11:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4497
4498 * htdoc/RELEASE.html: Finish up with notes on all significant
4499 new attributes.
4500
4501 * htdoc/FAQ.html, htdoc/where.html: Mention new 3.2.0b1 release
4502 as a beta.
4503
4504 * contrib/README: Update to mention new scripts.
4505
4506 * installdir/mime.types: Add default Apache mime.types file for
4507 systems that do not already have one.
4508
4509 * installdir/Makefile.am: Make sure it is installed by default.
4510
4511 * installdir/Makefile.in: Regenerate using automake.
4512
4513 * htcommon/defaults.cc: Add documentation for mime_types
4514 attribute, remove currently unused image_alt_factor, and add
4515 documentation for external_protocols.
4516
4517 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
4518 Regenerate using cf_generate.pl.
4519
4520 Tue Feb 1 10:24:19 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4521
4522 * htsearch/parser.cc (score): fix up score calculations for
4523 correctness and efficiency.
4524
4525 Mon Jan 31 16:29:20 2000 Marcel Bosc <bosc at ceic.com>
4526
4527 * htword/WordBitCompress.cc: fixed endian bug in compression
4528
4529 Sat Jan 29 21:14:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4530
4531 * htsearch/parser.cc (score): Change config.Value (which returns
4532 int) to config.Double to preserve accuracy of attributes.
4533
4534 * htcommon/defaults.cc: Updated documentation for attributes now
4535 allowing regex, search_algorithms (for new fuzzy) and added
4536 documentation for the overlooked remove_unretrieved_urls.
4537
4538 * htdoc/*.html: Updated copyright notice for 2000, changed footer
4539 to use CVS's magic Date keyword. Regenerated documentation from
4540 defaults changes.
4541
4542 Sat Jan 29 16:32:08 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4543
4544 * contrib/htdig-3.1.4.spec, contrib/htdig-3.1.4-conf.patch: Remove
4545 these since they don't apply to the 3.2.x releases.
4546
4547 * htfuzzy/Synonym.cc (openIndex): Change database format from
4548 DB_BTREE to DB_HASH--no reason for the synonym database to be a
4549 btree. This was probably overlooked when I switched the rest of
4550 the fuzzy databases over to DB_HASH.
4551
4552 Sat Jan 29 05:34:26 2000 Loic Dachary <loic at ceic.com>
4553
4554 * htword/WordKey.h (UnpackNumber): Very nasty bug. Optimization
4555 dated Dec 29 broke endianess on Solaris. Restore previous version.
4556
4557 Fri Jan 28 18:17:08 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4558
4559 * htlib/Configuration.h (struct ConfigDefaults): Add version and
4560 category fields for more accurate documentation.
4561
4562 * htcommon/defaults.cc: Add blank category fields and start
4563 filling in version field. Killed modification_time_is_now_attribute.
4564
4565 * htdig/Document.cc (Document): Kill attribute
4566 modification_time_is_now since it can cause more harm than good.
4567
4568 * htnet/HtHTTP.cc (ParseHeader): Ditto.
4569
4570 * htdoc/cf_generate.pl: Added support for new version and category
4571 fields. Currently category does nothing, but it could split the
4572 documentation into categories.
4573
4574 Sat Jan 29 01:37:45 2000 Loic Dachary <loic at ceic.com>
4575
4576 * .version: remove the trailing -dev
4577
4578 Thu Jan 27 12:22:57 2000 Loic Dachary <loic at ceic.com>
4579
4580 * htword/WordList.cc: cdebug replaced by cerr. replace lverbose
4581 by verbose > 2. Remove shutup.
4582 (WordList): monitor = 0
4583 (Open): create monitor only if wordlist_monitor = true
4584 (Close): delete monitor if set, delete compressor if set
4585
4586 * htword/WordDBCompress.cc,WordList.cc: only activate monitoring code
4587 if monitor is set. No interaction with the monitor is therefore possible
4588 if wordlist_monitor is false.
4589
4590 * htword/WordMonitor.cc: remove useless test of wordlist_monitor (done by
4591 WordList now).
4592
4593 * htword/WordDBCompress.cc (TestCompress): remove redundant debuglevel argument.
4594
4595 * htword/WordDBCompress.cc (WordDBCompress): init cmprInfo to 0
4596
4597 * db/include/db_cxx.h: Add get_mp_cmpr_info method
4598
4599 * htword/WordDBCompress.cc (WordDBCompress): set default debug level to 0
4600
4601 * htword/WordDB.h: CmprInfo returns current CmprInfo and non static,
4602 overload to set CmprInfo if argument given.
4603
4604 * htword/WordDBCompress.h: new CmprInfo() method returns DB_CMPR_INFO object
4605 for Berkeley DB database.
4606
4607 * htword/WordList.h: add compressor member, kill cmprInfo member.
4608
4609 * htword/WordList.cc:
4610
4611 Wed Jan 26 20:05:33 2000 Loic Dachary <loic at ceic.com>
4612
4613 * htword/WordList.cc,htword/WordList.h: get rid of obsolete WordBenchmarking
4614
4615 Wed Jan 26 9:14:32 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
4616
4617 * htcommon/defaults.cc: added "max_connection_requests".
4618
4619 * htdig/Retriever.cc: now manages the attribute above.
4620
4621 Tue Jan 25 12:59:01 2000 Loic Dachary <loic at ceic.com>
4622
4623 * htsearch/Display.cc (setVariables): fixed
4624 Display.cc:505: warning: multiline `//' comment
4625
4626 Tue Jan 25 8:37:15 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
4627
4628 * htdig/Document.h: Added the "HtHTTP *GetHTTPHandler()" method, in
4629 order to be able to control an HTTP object outside the Document class.
4630 This is useful for the Server class, after the request for robots.txt.
4631 We can control the response of a server and check if it supports
4632 persistent connections.
4633
4634 * htdig/Server.cc: inside the constructor, persistent_connections var is
4635 initialized to the configuration parameter value, instead of <true>.
4636 Besides, after the request of the robots.txt, it controls and set
4637 the attribute for persistent connections, depending on whether the
4638 server supports them or not.
4639
4640 * htdig/Retriever.cc: modified the Start() method. Now the loop manage
4641 HTTP persistent connections "on a server" basis. Indeed, it's a
4642 Server object that decides if persisent connections are allowed on
4643 that server or not (depending on configuration or capabilities of
4644 the remote http server).
4645
4646 Mon Jan 24 12:57:45 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4647
4648 * htsearch/Display.cc(setVariables): Added double quotes around
4649 default selection value in build_select_lists handling.
4650
4651 Mon Jan 24 12:37:22 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4652
4653 * htsearch/Display.cc(setVariables), htcommon/defaults.cc: Added
4654 build_select_lists attribute, to generate selector menus in forms.
4655 Added relevant explanations and links to selectors documentation.
4656 * htdoc/hts_selectors.html: Added this page to explain this new
4657 feature, plus other details on select lists in general.
4658 * htdoc/hts_templates.html: Added relevant links to related attributes
4659 and selectors documentation.
4660 * htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
4661
4662 Fri Jan 21 18:57:58 EET 2000 Vadim Chekan <vadim at etc.lviv.ua>
4663
4664 * htcommon/HtConfiguration.cc: added HtConfiguration::ParseString(char*)
4665 method to allow lexer handle "include: ${var}/file.inc" construction
4666
4667 * htcommon/conf_lexer.lxx: fixed handling "include: ${var}file.inc"
4668 bug.
4669
4670 Fri Jan 21 17:04:28 2000 Loic Dachary <loic at ceic.com>
4671
4672 * htword/WordList.cc (WalkFinish,WalkInit,WalkNextStep): fix typos in error messages
4673 and misleading comment.
4674
4675 * htword/WordList.h,WordList.cc: move part of WalkInit in WalkRewind so that
4676 we have a function to go back to the beginning of possible matches.
4677
4678 Wed Jan 19 21:49:57 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4679
4680 * htdig/HTML.cc (do_tag): Only add words for META descriptions,
4681 keywords, and IMG ALT attributes if doindex is set.
4682
4683 * htcommon/DocumentRef.h: Added Reference_obsolete for documents
4684 that should be removed (but haven't).
4685
4686 * htdig/Retriever.cc (parse_url): Flag documents that have been
4687 modified as Reference_obsolete and update the database. Flag all
4688 documents with various errors as something other than
4689 Reference_normal, as appropriate--these probably should be pruned.
4690
4691 * htdig/Retriever.h: Get rid of GetRef() method--it's only used once!
4692
4693 * htsearch/Display.cc (display): Don't show DocumentRefs with
4694 states other than Reference_normal--these documents have various
4695 errors.
4696
4697 * htmerge/docs.cc: If a document has a state of Reference_obsolete, ignore it.
4698
4699 * htcommon/HtWordList.h, htcommon/HtWordList.cc (Skip): Change
4700 MarkGone() to Skip() to emphasize that this document should be ignored.
4701
4702 Wed Jan 19 14:11:51 2000 Loic Dachary <loic at ceic.com>
4703
4704 * htword/WordList.cc (SkipUselessSequentialWalking): return OK if skipping,
4705 NOTOK if not skipping.
4706
4707 * htword/WordReference.h: remove useless Clear in WordReference(key, record)
4708 constructor.
4709
4710 * htword/WordList.h,WordList.cc: Split Walk in three separate functions
4711 WalkInit, WalkNext and WalkFinish. Much clearer. Fill the status field
4712 of WordSearchDescription to have more information about the error condition.
4713 Add found field to WordSearchDescription for WalkNext result. Add cursor_get_flags
4714 and searchKeyIsSamePrefix fields to WordSearchDescription as internal state
4715 information.
4716
4717 * htword/WordList.h,WordList.cc: WalkInit to create and prepare cursor,
4718 WalkNext to move to next match
4719 WalkNextStep to move to next index entry, be it a match or not
4720 WalkFinish to release cursor.
4721
4722 * htword/WordList.h: WordSearchDescription::ModifyKey add to jump
4723 while walking.
4724
4725 * htword/WordList.cc (WalkNext) : it is now legal to step without
4726 collection or callback because search contains the last match (found
4727 field) and it s therefore not useless.
4728
4729 Mon Jan 17 12:15:45 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4730
4731 * contrib/htdig-3.2.0.spec: added sample RPM spec file for 3.2
4732
4733 Sat Jan 15 11:53:35 2000 Loic Dachary <loic at ceic.com>
4734
4735 * htdb/htstat.cc,htdb/htdump.cc: remove useless -S option since
4736 the page size is found in the header of the file.
4737
4738 * htdb/htstat.cc,htdump.cc,htload.cc: only call WordContext::Initialize
4739 if -W flag specified.
4740
4741 Fri Jan 14 18:39:12 2000 Marcel Bosc <bosc at ceic.com>
4742
4743 * htword/WordBitCompress.cc: speedup, VlengthCoder::code()
4744 finds appropriate coding interval much faster
4745
4746 Fri Jan 14 11:30:41 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
4747
4748 * htdig/Retriver.cc(IsValidURL): Fix problem with valid_extensions,
4749 which got lost in the shuffle yesterday.
4750
4751 Fri Jan 14 15:56:49 2000 Loic Dachary <loic at ceic.com>
4752
4753 * htword/WordType.cc,WordRecord.cc,WordKeyInfo.cc (Initialize): change
4754 inverted test on instance (== instead of !=).
4755
4756 * htword/WordRecord.cc (WordRecordInfo): change inverted test on compare
4757
4758 Fri Jan 14 14:24:39 2000 Loic Dachary <loic at ceic.com>
4759
4760 * htdig/htdig.cc,htmerge/htmerge.cc,htsearch/htsearch.cc: Use Initialize(defaults)
4761 to load configuration file if provided.
4762
4763 * htword/WordDBCompress.cc (Compress): initialize monitor to null in
4764 constructor and check if null before usage. Core dumped in htdb/htload.
4765
4766 * htword/WordContext.h (class WordContext): Add
4767 Initialize(const ConfigDefaults* config_defaults = 0)
4768 that probe configuration files. Usefull when htword is used as a standalone library.
4769
4770 Thu Jan 13 19:52:27 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4771
4772 * htdig/Retriver.cc: Fix problem with valid_extensions when an
4773 "extension" would include part of a directory path or server
4774 name, as contributed by Warren Jones.
4775
4776 Thu Jan 13 19:22:25 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4777
4778 * htnet/Makefile.am, htnet/Makefile.in: Add HtFile to the build process.
4779
4780 Thu Jan 13 18:58:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4781
4782 * htnet/HtFile.h, htnet/HtFile.cc: New Transport classes
4783 contributed by Alexis Mikhailov to allow file:// access.
4784
4785 * htdig/Document.h, htdig/Document.cc: Add logic to call HtFile
4786 objects for URLs.
4787
4788 * htcommon/URL.cc: Don't remove a trailing index.html (removeIndex)
4789 if the URL is a file://URL.
4790
4791 Thu Jan 13 18:49:41 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4792
4793 * contrib/conv_doc.pl, contrib/parse_doc.pl: Replace "break" by
4794 "last" for correct Perl syntax and additional cleanups and
4795 simplifications as contributed by Warren Jones.
4796
4797 Thu Jan 13 18:42:29 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4798
4799 * htword/WordType.h, htword/WordType.cc: Implementation of new
4800 methods IsDigit() and IsCntrl() as contributed by Marc Pohl
4801 <marc.pohl at wdr.de>. Fixes some problems with 8-bit characters.
4802
4803 Thu Jan 13 17:17:47 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
4804
4805 * ChangeLog.0, configure, configure.in, htfuzzy/Endings.cc,
4806 htlib/String.cc, htlib/Configuration.cc,
4807 htlib/QuotedStringList.cc, htlib/regex.c, htcommon/defaults.cc,
4808 htdig/ExternalParser.cc, htdig/Retriever.h, htsearch/Display.cc,
4809 include/htconfig.h.in installdir/htdig.conf: Merge in changes from
4810 3.1.x releases.
4811
4812 * htdoc/: Merge in documentation changes from 3.1.x releases.
4813
4814 Thu Jan 13 20:12:42 2000 Loic Dachary <loic at ceic.com>
4815
4816 * htword/WordList.cc (Walk): close the cursor before returning. If
4817 not doing that the cursor might be closed after the database is
4818 closed, leading to double free of the cursor. Bad bug.
4819
4820 Thu Jan 13 13:23:17 2000 Loic Dachary <loic at ceic.com>
4821
4822 * htword/WordContext.h (class WordContext): simplifies a lot. WordContext is
4823 no longer a repository for pointers of class instances. Only a place to call
4824 Initialize for classes that have a single instance.
4825
4826 * htlib/HtWordType.cc: added to include definition of functions shortcuts for
4827 WordType.
4828
4829 * htword/WordRecord.h,WordType.h,WordKeyInfo.h: implement homogeneous scheme to
4830 handle unique instance of the class.
4831 - constructor takes const Configuration& argument and init object with config
4832 values
4833 - static member instance
4834 - static method Initialize the static member instance
4835 - static method Instance returns the pointer in instance data member
4836
4837 * htword/WordRecord.cc: add constructor for WordRecordInfo, and Instance static
4838 function. Add WORD_RECORD_INVALID to depict uninitialize WordRecordInfo object.
4839
4840 * htword/WordKeyInfo.h: rename SetKeyDescriptionFromFile and SetKeyDescriptionFromString
4841 to InitializeFromFile and InitializeFromString and implement them by calling Initialize.
4842 rename SetKeyDescriptionRandom to InitializeRandom
4843 rename Initialize(String& line) to GetNFields(String& line)
4844 rename Initialize(int nfields) to Alloc(int nfields)
4845
4846 * htdig/htdig.cc,htmerge/htmerge.cc,htsearch/htsearch.cc,test/word.cc: replace
4847 WordList::Initialize with WordContext::Initialize and run immediately after
4848 config is read. Otherwise WordType fails to work and configuration value
4849 extraction will fail.
4850
4851 * htmerge/htmerge.cc: move initialization
4852
4853 * test/conf/htdig.conf2.in: reorder so that it looks as much as possible as conf.in
4854
4855 Thu Jan 13 12:33:46 2000 Loic Dachary <loic at ceic.com>
4856
4857 * htdb/htstat.cc,htdump.cc,htload.cc: set proper progname
4858
4859 Wed Jan 12 20:02:26 2000 Loic Dachary <loic at ceic.com>
4860
4861 * htcommon/HtWordList.cc (Dump): Use Walk instead of Collect otherwise does not work.
4862
4863 Wed Jan 12 19:38:33 2000 Loic Dachary <loic at ceic.com>
4864
4865 * htlib/HtDateTime.h (class HtDateTime): killed void SetDateTime(const int t)
4866 because they cause problems when time_t is an int and were useless anyway.
4867
4868 Wed Jan 12 13:31:45 2000 Loic Dachary <loic at ceic.com>
4869
4870 * htword/WordBitCompress.h: remove inline qualifier on check_tag1: its not inline
4871
4872 * htword/WordKey.h: #define WORD_KEY_UNKNOWN_POSITION to -1. Remove default
4873 argument to SetToFollowing so that its more explicit when used with
4874 WORD_KEY_UNKNOWN_POSITION.
4875
4876 * htword/WordKey.cc: change name of variable info0 to info
4877
4878 * htword/WordList.cc: use WordKey::Info instead of WordKeyInfo::Get as done
4879 in WordKey.cc for consistency.
4880
4881 * htword/WordList.{cc,h},htword/WordDB.h: rename WordCursor to WordDBCursor
4882 for consistency.
4883
4884 * htword/WordList.h: Kill the WordSearchDescription::Setup useless function
4885
4886 * htword/WordList.h: WordSearchDescription constructor now have a straightforward
4887 semantics.
4888
4889 * htword/WordList.h: Rename Search into Collect since it already existed, just
4890 with a different prototype.
4891
4892 Wed Jan 12 12:36:46 2000 Loic Dachary <loic at ceic.com>
4893
4894 * htword/WordList.h (class WordSearchDescription): add cursor member
4895
4896 Tue Jan 11 19:33:44 2000 Marcel Bosc <bosc at ceic.com>
4897
4898 * htlib/HtVectorGeneric,htword: Fixed some warnings found
4899 when compiling under FreeBSD
4900
4901 Tue Jan 11 18:22:58 2000 Marcel Bosc <bosc at ceic.com>
4902
4903 * htlib/HtVectorGeneric.h: inlined functions Add and Allocate which
4904 are critical to performance
4905
4906 Tue Jan 11 12:18:47 2000 Marcel Bosc <bosc at ceic.com>
4907
4908 * htword/WordKey.h: fixed uninitialized memory read
4909
4910 * htword/WordBitCompress.cc: Fixed big number BUG
4911 Fixed memeory leak
4912
4913 Tue Jan 11 09:37:36 2000 Loic Dachary <loic at ceic.com>
4914
4915 * htword/WordList.h: move operator << and operator >> to end of
4916 functions declarations instead of data members.
4917
4918 * htword/WordList.h: added more comments on functions behaviour.
4919
4920 * htword/WordList.h: added #if SWIG for Perl interface
4921
4922 Mon Jan 10 17:55:05 2000 Marcel Bosc <bosc at ceic.com>
4923
4924 * htword/WordDBPage: enhanced compression debugging output
4925
4926 Mon Jan 10 09:07:19 2000 Loic Dachary <loic at ceic.com>
4927
4928 * WordContext.h,WordKey.h,WordList.h: Added #if SWIG for perl
4929 interfaces. Remove InSortOrder, useless now that everything
4930 is manipulated in sort order as far as the interface is concerned.
4931
4932 * WordKey.cc,WordList.cc: remove InSortOrder
4933
4934 * WordKey.h,WordRecord.h,WordReference.h: commented out Set/Get for
4935 ascii Set/Get for SWIG.
4936
4937 * WordKey.h: turn CopyFrom to public for those who dont want to
4938 use operator =.
4939
4940 * WordKey.h: rename info -> Info and nfields NFields
4941
4942 * WordKey.h: remove int IsFullyDefined() const redundant with Filled
4943
4944 Thu Jan 06 14:41:15 2000 Marcel Bosc <bosc at ceic.com>
4945
4946 * htword,all: Changed interface to overloaded Walk function that was
4947 ambigous on some compilers...
4948
4949 Thu Jan 06 14:00:01 2000 Loic Dachary <loic at ceic.com>
4950
4951 * htword/WordList.h (class WordSearchDescription): rename setup to Setup
4952
4953 * htword/WordList.h (class WordBenchmarking): rename show to Show
4954
4955 * htword/WordRecord.{h,cc}, htword/WordReference.h, htword/WordList.h:
4956 add comments, reorganize member functions for clarity.
4957
4958 Thu Jan 06 12:01:47 2000 Marcel Bosc <bosc at ceic.com>
4959
4960 * htword/compression: Split WordDBCompress.* to WordDBCompress +
4961 WordDBPage.*
4962
4963 * htword/WordBitCompress: renamed put/get to put_uint/get_uint. added get/put_uint_vl
4964
4965 * htword/compression: modified slightly the compression: this makes old databases
4966 OBSOLETE: headers compress better. Chaged Flags compress better and faster.
4967
4968 * htword/WordKey: added operator [] and Get/Set accessors
4969
4970 * htword: removed the obsolete --with_key configure option (KEYDESC)
4971
4972 * htword/WordMonitor: addded monitor input
4973
4974 Wed Jan 05 14:32:31 2000 Loic Dachary <loic at ceic.com>
4975
4976 * htword/WordKeyInfo.h (class WordKeyInfo ): if(encode) was if(sort)
4977
4978 * htword/WordKeyInfo.h: rename show to Show an nprint to Nprint
4979
4980 * htword/WordKeyInfo.h: move WORD_ISA from WordKey.h to WordKeyInfo.h,
4981 rename WORD_ISA_String to WORD_ISA_STRING.
4982
4983 * htword/WordKey.h: rename FATAL_ABORT to WORD_FATAL_ABORT and errr to word_errr
4984
4985 * htword/WordKey.h: move private functions at bottom of class above data members
4986 rename show_packed to ShowPacked
4987
4988 * htword/WordKey.cc: move WordKeyInfo::SetKeyDescriptionRandom from WordKey.cc
4989 to WordKeyInfo.cc
4990
4991 * htword/WordKeyInfo.cc: add include htconfig.h
4992
4993 Wed Jan 05 13:26:16 2000 Loic Dachary <loic at ceic.com>
4994
4995 * htdig/ExternalParser.cc (parse): use nocase_compare instead of mystrcasecmp to
4996 suppress warnings. (char*)String for mystrncasecmp that has no equivalent in
4997 the String class.
4998
4999 * htdig/Retriever.cc (IsValidURL): remove warning by (char*)url
5000
5001 Wed Jan 05 11:54:19 2000 Loic Dachary <loic at ceic.com>
5002
5003 * htword/WordKey.h: kill obsolete comment and add suffix explanation at
5004 the beginning of the file.
5005
5006 * htword/WordKey.h (class WordKey): rename copy_from and initialize to CopyFrom
5007 and Initialize to fit naming conventions. Reorganize the methods to group them
5008 in logical sets. Fix indenting. Comment each method.
5009
5010 * htword/WordKey.h (Clear): add kword.trunc()
5011
5012 * htword/WordKey.h: protect SetWord(const char *str,int len) because it opens
5013 the door to all kind of specific derivations. Should be
5014 SetWord(String(foo, foo_length)) if not performance critical.
5015
5016 Wed Dec 29 18:41:14 1999 Marcel Bosc <bosc at ceic.com>
5017
5018 * htlib/HtMaxMin: added max/min of arrays, added comments to
5019 HtMaxMin. Added HtMaxMin.cc all these are used in htword
5020
5021 * htlib/HtTime.h: added comments. included portable time.h
5022
5023 * htlib/HtVectorGeneric.cc: added HtVector_double, HtVector_String
5024
5025 * htlib/HtVectorGeneric.h: inlined several methods, disactivated CheckBounds
5026
5027 * htlib/StringMatch.cc: removed #include"WordType.h", this made htlib dependant
5028 on htword, which is not acceptable for a library
5029
5030 * htlib/HtWordType.h: this replaces the macros used in StringMatch.cc
5031
5032 * htlib/HtRandom.h: added tools for using random number
5033 (this is used currently in tests)
5034
5035 * htword/WordBitCompress.cc: transfered max_v/min_v to htlib
5036
5037 * htword/WordBitCompress.cc: optimized put/get for better performance
5038
5039 * htword/WordMonitor: system for detailed monitoring of operation
5040 and performance within htword
5041
5042 * htword/WordDBCompress: fixed compression for case of empty WordRecord
5043
5044 * htword/WordDBCompress: cleaned up some code added some comments
5045
5046 * htword/WordKeyInfo: split WordKey files into WordKey and WordKeyInfo files
5047
5048 * htword/WordContext: centralized global configuration into one class
5049
5050 * htword/WordKey: inserted randomized key/keydescription into WordKey classes
5051 (this was previously used in several tests)
5052
5053 * htword/WordKey: optimized Compare, UnpackNumber for speed (these are
5054 really speed critical)
5055
5056 * htword/WordRecord: is now configurable, type can be configured to "DATA" (htdig)
5057 or "NONE" (for other uses)
5058
5059 * htword/WordType: changed macros to global functions to make it compatible
5060 with cleanup in StringMatch. Integrated WordType to WordContext
5061 configuration/Initialization
5062
5063 * htword/WordKeyInfo: fixed initialization from key descrition file
5064
5065 Tue Dec 28 18:58:21 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5066
5067 * htlib/String.cc: String::lowercase(), String::uppercase()
5068 support for national character added.
5069
5070 * htfuzzy/Prefix.cc: method "prefix" works now.
5071
5072 Mon Dec 27 22:17:48 1999 Loic Dachary <loic at ceic.com>
5073
5074 * htdig/htdig.cc (main): change '\r\n' to "\r\n"
5075
5076 * Makefile.config,db/dist/Makefile.in: rename libdb to libhtdb to
5077 prevent conflicts with installed libdb.
5078
5079 * db/dist/Makefile.in: do not install documentation nor binary
5080 utilities (db_dump & al) since they are replaced by htdb binaries
5081 (htdump & al).
5082
5083 * db/dist/Makefile.in (prefix): prepend $(DESTDIR) to prefix
5084 to support make DESTDIR=/staging install for binary distribution
5085 packages generation.
5086
5087 * configure.in: use AC_FUNC_ALLOCA to check for alloca. Used
5088 in regex and test/dbbench.cc only but definitely a usefull
5089 feature to have.
5090
5091 Thu Dec 23 11:10:24 1999 Marcel Bosc <bosc at ceic.com>
5092
5093 * htcommon/defaults.cc: set wordlist_cache_size default to 10Meg
5094
5095 * db/mp: removed some debuging messages
5096
5097 * htword/WordList.cc: added warning if no cache
5098
5099 * test/word.cc: added cache
5100
5101 * htlib/HtTime.h: added ifdefs for portable time.h sys/time.h
5102
5103 Tue Dec 21 23:33:06 1999 Loic Dachary <loic at ceic.com>
5104
5105 * htdoc/attrs.html,cf_by*.html: regenerate to include
5106 wordlist_wordkey_description attribute
5107
5108 * htcommon/Makefile.am: Add AM_LFLAGS = -L and AM_YFLAGS = -l to
5109 prevent #line generation because it confuses the dependencies
5110 generator of GCC if configure run out of source tree.
5111
5112 * configure.in: remove --with-key option. Not needed since
5113 word description now dynamic. Destroyed WordKey.h if
5114 specified.
5115
5116 * htword/Makefile.am: remove commented lines for WordKey.h
5117 generation.
5118
5119 Tue Dec 21 18:18:01 1999 Marcel Bosc <bosc at ceic.com>
5120
5121 * htword: added code for benchmarking
5122
5123 Mon Dec 20 17:59:15 1999 Marcel Bosc <bosc at ceic.com>
5124
5125 * WordKey: Made the key structure dynamic: Changing the
5126 key structure used to imply recompiling the htword library.
5127 This should not change anything in htdig.
5128
5129 * WordKey: numerical key fields are stored in an array of unsigned
5130 ints instead of compile-time defined pools.
5131
5132 * WordKey.h: WordKey now needs copy opreators. Setbits are stored
5133 in sort order (used to be in encoding order)
5134
5135 * htword: word_key_info is now a pointer, had to change all references
5136
5137 * word.cc: Rewrote wordkey test for new dynamically
5138 set key structure. The test randomly creates key structures
5139 and tests them.
5140
5141 * test: adapted test files (simplifies things a lot)
5142
5143 1999-12-21 Toivo Pedaste <toivo at ucs.uwa.edu.au>
5144
5145 * htlib/Dictionary.cc: Fix memory leak when destroying dictionary
5146
5147 * htlib/StringList.cc, htdig/Retriever.cc: Fix memory leak, not
5148 the most elegent way but I'm not sure about the exact semantics
5149 of StringList
5150
5151 Mon Dec 20 21:59:03 1999 Loic Dachary <loic at ceic.com>
5152
5153 * htdb/{Makefile.am,err.c,getlong.c}: Fix mistake: err.c and
5154 getlong.c contain C functions (declared in clib_ext) and
5155 must be C compiled otherwise the prototype won't fit. Checking
5156 db Makefiles, getlong.c and err.c are added to the list of objects
5157 for each utility program. This guaranties that they won't conflict
5158 with objects included in libdb.a.
5159
5160 Sun Dec 19 20:04:42 1999 Loic Dachary <loic at ceic.com>
5161
5162 * htdb/{Makefile.am, err.cc}: add err.cc for portability
5163 purposes.
5164
5165 Fri Dec 17 18:04:09 1999 Loic Dachary <loic at ceic.com>
5166
5167 * Makefile.config: add PROFILING variable and document it. Designed
5168 to enable profiling of htdig easily.
5169
5170 * */Makefile.am: add *_LDFLAGS = $(PROFILING) for every binary to
5171 enable profiling, if specified.
5172
5173 Thu Dec 16 17:16:33 1999 Loic Dachary <loic at ceic.com>
5174
5175 * htdb/*.cc: add -W option to activate htword specific compression.
5176 Keep compatibility with zlib compression (-z only).
5177
5178 Thu Dec 16 11:56:02 1999 Loic Dachary <loic at ceic.com>
5179
5180 * test/dbbench.cc: change wrong strcpy with memcpy
5181
5182 Wed Dec 15 15:04:39 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5183
5184 * htdig/htdig.cc(main): Handle list of URLs given on stdin, if
5185 optional "-" argument given. (Uses >> operator below.)
5186
5187 * htlib/htString.h, htlib/String.cc: Added Alexis Mikhailov's String
5188 input methods, readLine() and >> operator.
5189
5190 Wed Dec 15 13:59:34 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5191
5192 * htdig/Retriever.cc: remove include of sys/stat.h, which is no
5193 longer needed after hack removed from Need2Get(), and could pose
5194 a problem on systems that need sys/types.h included first.
5195
5196 Wed Dec 15 17:00:04 1999 Loic Dachary <loic at ceic.com>
5197
5198 * htword/WordDB.h: add inline keyword for portability
5199
5200 * htword/WordDB.h: add CmprInfo method to get object describing
5201 compression scheme for Berkeley DB
5202
5203 * htdb: Add htdump, htload, htstat equivalent of db_dump
5204 db_load and db_stat that know about htword specific compression
5205 strategy.
5206
5207 * htword/WordDBCompress: add static to localy defined functions and
5208 variables, remove unecessary #define and #include from header.
5209
5210 Tue Dec 14 21:56:57 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5211
5212 * htcommon/conf_parser.lxx, htcommon/conf_lexer.cxx:
5213 bcopy on Solaris is in strings.h, not in string.h. Added
5214 check for #ifdef HAVE_STRINGS_H
5215
5216 Tue Dec 14 19:18:22 1999 Marcel Bosc <bosc at ceic.com>
5217
5218 * WordBitCompress: code cleaned up and commented
5219
5220 Tue Dec 14 18:32:21 1999 Loic Dachary <loic at ceic.com>
5221
5222 * htword/Word{Record,Reference,Key}: added a Get method to
5223 convert the structure into it's ascii string representation.
5224 operator << now uses Get.
5225
5226 Tue Dec 14 17:46:33 1999 Loic Dachary <loic at ceic.com>
5227
5228 * db/dist/Makefile.in (install): fix bugous test for libshared
5229
5230 Tue Dec 14 14:10:28 1999 Loic Dachary <loic at ceic.com>
5231
5232 * htword/{WordKey,WordReference,WordRecord}: rework
5233 the input methods (operator >>). Each class now has a Set function
5234 to initialize itself from an ascii description and a Get function
5235 to retrieve an ascii description of the object.
5236
5237 * htword/WordList: operator >> has a better and cleaner input loop
5238 using StringList and String instead of char*.
5239
5240 Tue Dec 14 12:06:24 1999 Marcel Bosc <bosc at ceic.com>
5241
5242 * WordDBCompress.cc : Added compression version checking
5243
5244 Mon Dec 13 21:09:31 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5245
5246 * htcommon/conf_parser.lxx, htcommon/conf_lexer.cxx:
5247 Added #include <string.h> Without it failed to compile
5248 on Solaris.
5249
5250 Mon Dec 13 16:31:27 1999 Marcel Bosc <bosc at ceic.com>
5251
5252 * htword/WordBitCompress.cc : fixed bug that made compression
5253 fail on big documents or big number of url's ...
5254
5255 Mon Dec 13 13:49:35 1999 Loic Dachary <loic at ceic.com>
5256
5257 * htword/WordKey.h.tmpl: Added *_POSITION macro generation
5258
5259 Mon Dec 13 11:51:50 1999 Marcel Bosc <bosc at ceic.com>
5260
5261 * htcommon/conf_parser.yxx: fixed several delete that should be delete []
5262
5263 Sun Dec 12 17:14:00 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5264
5265 * htcommon/conf_lexer.lxx, htcommon/conf_lexer.cxx:
5266 national symbols are allowed in right part of expressions
5267 (noted by Marcel Bosc).
5268 Changed default behavior of flex from print unknown chars
5269 on stdout to exit with error message.
5270
5271 Sat Dec 11 17:34:03 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5272
5273 * htdig/Retriever.cc,htdig/htdig.cc: "exclude_urls","bad_querystr"
5274 "bad_extensions","valid_extensions","local_default_doc"
5275 changed for new config.
5276
5277 * htdig/Server.cc: "server_max_docs","server_wait_time" changed for
5278 new config.
5279
5280 * check for "limit_normalized" moved from Retriever::got_href and
5281 Retriever::got_redirect to more appropriate Retriever::IsValidUrl
5282
5283 Fri Dec 10 18:05:48 1999 Marcel Bosc <bosc at ceic.com>
5284
5285 * htword: checked for failed memory allocations in compression code
5286
5287 Fri Dec 10 18:03:42 1999 Marcel Bosc <bosc at ceic.com>
5288
5289 * htword/WordList,htcommon/HtWordList.cc,htmerge/words.cc: cleaned up WordList::Walk()
5290 function, change two occurences of WordList::Walk in htdig files
5291
5292 Fri Dec 10 17:40:22 1999 Marcel Bosc <bosc at ceic.com>
5293
5294 * htword/WordKey.cc (Compare): Fixed bug: compare used to compare chars and not
5295 unsigned chars, this failed when non-ascii caracters were used
5296
5297 Fri Dec 10 11:54:36 1999 Marcel Bosc <bosc at ceic.com>
5298
5299 * htcommon/defaults.cc : doc for wordlist_cache_size
5300
5301 Thu Dec 09 17:07:47 1999 Marcel Bosc <bosc at ceic.com>
5302
5303 * htcommon/defaults.cc: added defaults for compression and DB configuration
5304 parameters
5305
5306 Thu Dec 09 16:47:54 1999 Loic Dachary <loic at ceic.com>
5307
5308 * db/dist/configure.in,Makefile.in: Added shared lib support
5309 for linux only. Not enabled if not on linux.
5310
5311 Thu Dec 09 15:07:11 1999 Loic Dachary <loic at ceic.com>
5312
5313 * acinclude.m4,db/dist/acinclude.mr: CHECK_ZLIB now fails if either
5314 zlib.h or libz is not found.
5315
5316 * configure.in: do not test zlib.h
5317
5318 * db/db/db.c,db/mp/mp_fopen.c: added #ifdef HAVE_ZLIB so that
5319 compilation works if zlib is not found
5320
5321 * htlib/.cvsignore: remove wrong *.cxx
5322
5323 * test/dbbench.cc: added #ifdef HAVE_ZLIB so that
5324 compilation works if zlib is not found
5325
5326 Thu Dec 09 13:25:45 1999 Marcel Bosc <bosc at ceic.com>
5327
5328 * test/Word.cc,t_wordlist,Makefile.am: upgraded tests
5329 * htcommon/HtWordList.h: fixed Configuration/HtConfiguration problem
5330
5331 Thu Dec 09 12:10:32 1999 Marcel Bosc <bosc at ceic.com>
5332
5333 * htword: Added the compression code:
5334 * WordDBCompress: Classes for page specific compression code
5335 * WordBitCompress: Classes for bitstreams and non-specific compression
5336
5337 Thu Dec 9 12:09:51 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5338
5339 * htcommon/HtConfiguration.cc: bug fix: sometimes
5340 htConfiguration::Find(url,char*) retuned empty values
5341 even if there was something to return.
5342
5343 Thu Dec 09 11:15:30 1999 Marcel Bosc <bosc at ceic.com>
5344
5345 * htlib/Configuration.cc (Read): Read is now a virtual function: the old one
5346 for Configuration the new one (Vadim's ... with the parser) in HtConfiguration
5347
5348 Thu Dec 09 11:01:22 1999 Loic Dachary <loic at ceic.com>
5349
5350 * acinclude.m4: upgrade AC_PROG_APACHE macro for
5351 modules detection.
5352
5353 * test/conf/httpd.conf,test/test_functions.in,test/conf/Makefile:
5354 use @APACHE_MODULES@ to accomodate various apache modules directory
5355 flavors.
5356
5357 Tue Dec 07 20:32:34 1999 Marcel Bosc <bosc at ceic.com>
5358
5359 * htdig: Split the Configuration class into Configuration
5360 and HtConfiguration. All the HtConfiguration and the
5361 configuration parsing (lex..) was woved to htcommon.
5362 Configuration was replaced by HtConfiguration as needed
5363
5364 Tue Dec 07 16:21:13 1999 Loic Dachary <loic at ceic.com>
5365
5366 * configure.in: added AM_PROG_LEX and AC_PROG_YACC
5367
5368 * htlib/Makefile.am: simply set conf_lexer.lxx and conf_parser.yxx,
5369 automake knows how to handle these. The renaming is needed to avoid
5370 conflicts in automake generated rules.
5371
5372 Mon Dec 6 16:23:39 CST 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5373
5374 * htdoc/cf_generate.pl: added a bit of error checking for when it
5375 can't fetch the config info, and made it more flexible for what it
5376 allows as terminator.
5377 * htcommon/defaults.cc: add default and description for authorization
5378 attribute, and clean up external_protocols entry for cf_generate.pl.
5379 * htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
5380 * htdig/htdig.cc(main): set authorization parameter before Retriever
5381 constuctor is called, as it may initialize a Server. (Should complete
5382 fix of PR#490.)
5383
5384 Mon Dec 6 21:34:29 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5385
5386 * htdig/Document.cc htdig/htdig.cc: "authorization" parameter
5387 in config is added and is new config compatible.
5388 New code has'n got PR#490 bug (don't authentificate robot.txt)
5389
5390 Mon Dec 06 11:58:56 1999 Marcel Bosc <bosc at ceic.com>
5391
5392 * HtVectorGeneric.h: generic vectors, stl-free: this was originally a copy of
5393 HtVector.h with Object * replaced by GType and some small changes.
5394 It has been modified and checked to see if it all works ok.
5395 You can build vectors of any type that has an empty constructor.
5396 * HtVectorGenericCode.h: generic vectors, stl-free: implementation
5397 (modified "copy" of HtVector.cc)
5398 * HtVectorGeneric.cc: generic vectors: implementation for common types
5399 * HtVector_int.h: generic vectors: declaration for the most common type
5400 (and example of howto use)
5401
5402 Sat Dec 4 23:49:18 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5403
5404 * htfuzzy/Synonym.cc (createDB): Change declaration to match
5405 Fuzzy::createDB(config), allowing the method to be called by
5406 htfuzzy.
5407
5408 * htfuzzy/htfuzzy.cc (main): Add an error message if
5409 fuzzy->createDB() comes back with an error.
5410
5411 Sat Dec 4 15:38:34 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5412
5413 * htnet/HtHTTP.cc, htnet/HtHTTP.h, htdig/Document.cc
5414 fixed proxy bug. GET command in HtHTTP included only
5415 path of url insead full url when use proxy.
5416 HtHTTP::UseProxy(int) added.
5417
5418 * htdig/Document.cc: make "http_proxy" parameter
5419 url-depended for new configuration.
5420
5421 Fri Dec 03 14:57:13 1999 Marcel Bosc <bosc at ceic.com>
5422
5423 * BerkelyDB: Compression code: added possibility to use
5424 user-defined compression routines (the goal is to enable
5425 the mifluz-specific DB page compression that obtains
5426 higher compression ratios than generic zlib compression)
5427 this envolves the following changes in BerkeleyDB:
5428 * BerkelyDB/CompressionEnvironment: Adding a structure db_cmpr_info
5429 in db_env that permits db user to specify the external compression
5430 routines and other information related to compression
5431 * BerkelyDB/CompressionEnvironment: Adding a cmpr_context structure
5432 to DB_MPOOLFILE that stores information that compression needs
5433 (the _weacmpr DB and the db_cmpr_info)
5434 * BerkelyDB/Compression: Needed to modify the compression
5435 system (that is implemented in the BerkelyDB memory pool) to permit
5436 higher compression ratios and to use the compression environment
5437
5438 Thu Dec 2 16:47:30 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5439
5440 * htdig/Retriever.cc(parse_url): Use a static int to avoid
5441 re-fetching local_urls_only from the config object.
5442 (Initial, got_href, got_redirect): Try to get the local filename
5443 for a server's robots.txt file and pass it along to the newly
5444 generated server.
5445
5446 * htdig/Server.cc(ctor): Retrieve the robots.txt file from the
5447 filesystem when possible and respect the local_urls_only option.
5448
5449 * htdig/Server.h: Change type of local_robots_file to String* to
5450 better match Retriever::GetLocal().
5451
5452 Thu Dec 02 16:24:27 1999 Loic Dachary <loic at ceic.com>
5453
5454 * htword/WordReference.cc,WordKey.cc,WordRecord.cc (Print): Add function
5455 to ease printing from Perl.
5456
5457 Thu Dec 02 16:06:29 1999 Loic Dachary <loic at ceic.com>
5458
5459 * htword/WordReference.h (WORD_FILLED): remove
5460 unused WORD_FILLED and WORD_PARTIAL macros
5461
5462 Wed Dec 01 19:18:42 1999 Loic Dachary <loic at ceic.com>
5463
5464 * htword/WordKey.h.tmpl,WordRecord.h,WordReference.h,
5465 WordList.h: Added #ifndef SWIG for
5466 www.swig.org sake.
5467
5468 Wed Dec 1 19:47:20 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5469
5470 * htlib/HtRegex.cc, htlib/HtRegex.h (set*): Add a case_sensitive
5471 flag which defaults to insensitive. This better mirrors the
5472 StringMatch class.
5473
5474 * htcommon/URL.cc(signature): Make the signature a proper URL to
5475 the base of the server.
5476
5477 * htdig/Server.h: Add IsDead() methods to query the status of the
5478 server, as well as an IsDisallowed() method to query whether a URL
5479 is forbidden by the robots.txt rules. Change _disallow to HtRegex.
5480
5481 * htdig/Server.cc(ctor): Only retrieve the robots.txt file if this
5482 is an http or https server.
5483 (robotstxt): Use the proper HtRegex method for setting the pattern.
5484 (push): Remove logic checking the _disallow patterns. This is now
5485 done by the Retriever object.
5486
5487 * htcommon/defaults.cc: Add new attribute "local_urls_only" which
5488 defaults to false, which dictates whether retrieval should revert
5489 to another method if RetrieveLocal() fails.
5490
5491 * htdig/Retriever.cc(parse_url): Check to see if the server is
5492 dead before calling the Retrieve() method. Notify the server
5493 object if a connection fails. Also respects the new
5494 local_urls_only attribute as described above.
5495 (IsValidURL): Check the server's IsDisallowed() method to see if
5496 the robots.txt forbids this URL.
5497
5498 * htdoc/THANKS.html: Updated to reflect current contributions, etc.
5499
5500 * README: Update to mention version 3.2.0b1.
5501
5502 Wed Dec 1 17:05:48 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5503
5504 * htdig/Retriever.cc(GetLocal): Fix error in GetLocalUser() return
5505 value check, as suggested by Vadim.
5506
5507 Wed Dec 1 15:57:09 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5508
5509 * contrib/conv_doc.pl: Added a sample external converter script.
5510
5511 Mon Nov 29 23:19:35 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5512
5513 * htdig/Retriver.cc, htdig/Retriver.h, htdig/Server.cc,
5514 htdig/Server.h: forward-ported patch provided by Alexis Mikhailov
5515 <alexis at medinf.chuvashia.su> and Gilles's for cleaning up
5516 IsLocal/GetLocal. Makes local digging persistent, even when HTTP
5517 server is down.
5518
5519 Mon Nov 29 22:35:06 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5520
5521 * test/url.cc: New test for URL class.
5522
5523 * test/url.parents: Base URLs for parsing.
5524
5525 * test/url.children: Derived relative URLs for testing.
5526
5527 * test/Makefile.am, test/Makefile.in: Add the above for building.
5528
5529 * htcommon/URL.cc: A variety of bug fixes (some hacks), especially
5530 for file:// and user@host URLs.
5531
5532 Sun Nov 28 00:35:59 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5533
5534 * .version: Bump to 3.2.0b1-dev.
5535
5536 Sat Nov 27 20:23:14 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5537
5538 * htdig/ExternalTransport.h, htdig/ExternalTransport.cc: New class
5539 to allow external scripts to handle transport methods.
5540
5541 * contrib/handler.pl: Example handler using the program 'curl' to
5542 handle HTTP or HTTPS transactions.
5543
5544 * htcommon/defaults.cc: Add new configuration option
5545 'external_protocols' as a list of protocols and scripts to handle
5546 them. Documentation currently needs to be written.
5547
5548 * htdig/Document.h, htdig/Document.cc(Retrieve): Call
5549 ExternalTransport::canHandle to establish which protocols are
5550 supported by handler scripts and then create an appropriate
5551 transport object.
5552
5553 * Makefile.in, htdig/Makefile.am, htdig/Makefile.in: Add
5554 dependencies for ExternalTransport class.
5555
5556 * htnet/HtHTTP.h, htnet/HtHTTP.cc, htnet/Transport.h,
5557 htnet/Transport.cc: Move _location field from HtHTTP_Response to
5558 Transport_Response to allow other subclasses to use it. Similarly,
5559 move NewDate and RecognizeDateFormat to Transport.
5560
5561 Fri Nov 26 17:07:52 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5562
5563 * htdig/HTML.cc(HTML & do_tag): add code to turn off indexing between
5564 <style> and </style> tags.
5565
5566 Fri Nov 26 15:56:47 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5567
5568 * htsearch/Display.cc(setVariables): added Alexis Mikhailov's fix
5569 to check the number of pages against maximum_pages at the right time.
5570 * htlib/String.cc(write): added Alexis Mikhailov's fix to bump up
5571 pointer after writing a block.
5572
5573 Wed Nov 24 15:10:05 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5574
5575 * installdir/htdig.conf: Add bad_extensions to make it more obvious to
5576 users how to exclude certain document types.
5577
5578 Tue Nov 23 19:29:37 CST 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5579
5580 * htnotify/htnotify.cc(send_notification): apply Jason Haar's fix
5581 to quote the sender name "ht://Dig Notification Service".
5582
5583 Tue Nov 23 19:46:00 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5584
5585 * conf.tab.cc.h conf.l.cc conf.tab.cc
5586 Added files pre-generated from conf.y, conf.l
5587
5588 Sun Nov 21 18:26:21 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5589
5590 *htdig/Document.cc: "max_doc_size" supports new
5591 configuration and is url-depended now.
5592
5593 Sun Nov 21 17:06:50 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
5594
5595 * New config parser commited. htlib/(Makefile.am,Makefile.in),
5596 htlib/Configuration.cc, htlib/Configuration.h
5597 htlib/(conf.y, conf.l) added.
5598
5599 Fri Nov 12 14:17:37 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5600
5601 * htcommon/cgi.cc(init): Fix bug in reading long queries via POST
5602 method (PR#668).
5603
5604 Wed Nov 10 15:34:04 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5605
5606 * htsearch/Display.cc(setVariables & createURL),
5607 htsearch/htsearch.cc(main), htdoc/hts_templates.html: handle keywords
5608 input parameter like others, and make it propagate to followups.
5609
5610 Wed Nov 10 15:16:57 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5611
5612 * htdig/Retriever.cc: Fix PR#688, where htdig goes into an infinite
5613 loop if an entry in local_urls (or local_user_urls) is missing a '='
5614 (or a ',').
5615
5616 * htcommon/defaults.cc: removed vestigial references to MAX_MATCHES
5617 template variables in search_results_{header,footer}.
5618 * htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
5619
5620 * htdoc/hts_form.html: add disclaimer about keywords parameter not
5621 being limited to meta keywords.
5622
5623 * htdoc/meta.html: add description of "keywords" meta tag property.
5624 add links to keywords_factor & meta_description_factor attributes.
5625
5626 1999-11-10 Toivo Pedaste <toivo at ucs.uwa.edu.au>
5627
5628 * htdig/Retriever.cc : Ignore SIGPIPEs with persistant connections
5629
5630 * htnet/HtHTTP.cc : Fix buffer overrun reading chunks
5631
5632 * htdig/Document.cc : Make redirects work
5633
5634 * htdig/Retriever.cc : Make valid URL checks apply to initial URL's
5635 particularly those from a previous run
5636
5637 * htlib/Dictionary.cc : Fix memory deallocation error
5638
5639
5640 Tue Nov 02 13:44:57 1999 Marcel Bosc <bosc at ceic.com>
5641
5642 * htsearch/Display.cc (setVariables): parentheses missing around ternary
5643 operator : confusion in priority with <<.
5644
5645 Tue Nov 02 13:33:50 1999 Marcel Bosc <bosc at ceic.com>
5646
5647 * htsearch/Display.cc (hilight): changed static char * (!!) to const string,
5648 static char evaluated before configuration is loaded so config had no
5649 effect + unnecesary conversion
5650
5651 Tue Nov 02 11:45:49 1999 Marcel Bosc <bosc at ceic.com>
5652
5653 * htword/WordKey.cc : Cleaned up obsolete code now using *InSortOrder fcts
5654 and WordKeyInfo.sort[]
5655 * htword/WordKey : Added FirstSkipField :
5656 find first field that must be checked for skip
5657 * htword/WordKey (PrefixOnly): now returns OK/NOTOK, fixed bug which
5658 made Walk loop over the whole db if the searchkey just had
5659 a the "word" field defined
5660 * htword/WordKey.cc (Unpack): had forgten to: SetDefinedWordSuffix
5661 * htword/WordKey.cc (operator >>): added check for very very long words
5662 (even if this should never happen)
5663 * htword/WordKey.cc (operators << >>): added <UNDEF> word suffix handling
5664 * htword/WordKey.h : Filled() did not check for WordSuffix
5665 * htword/WordKey.h : added WordKey::ExactEqual
5666 * htword/WordKey.h (IsDefinedWordSuffix): fixed bad flag check
5667 * htword/WordList : Removed all obsolete HTDIG_WORDLIST flags: only
5668 two remain : COLLECTOR and WALKER the rest is now specified by the searchKey
5669 removed action arg to WordList::Collect()
5670 * htcommon/HtWordList.cc,htmerge/words.cc : changed flags in calls to WordList::Walk
5671 * htword/WordList.cc : skip now deals with the SuffixUndefined case
5672
5673 Fri Oct 29 17:13:21 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5674
5675 * htdoc/cf_generate.pl: now updates last modified date in attrs.html
5676 * htdoc/attrs.html: reran cf_generate.pl
5677
5678 Fri Oct 29 15:28:22 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5679
5680 * htsearch/Display.cc(setVariables & hilight): added Sergey's idea
5681 for start_highlight, end_highlight & page_number_separator attributes.
5682 * htcommon/defaults.cc: added & documented these.
5683 * htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
5684
5685 Thu Oct 28 13:06:23 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5686
5687 * htdig/ExternalParser.cc: added support for external converters
5688 as extension to external_parsers attribute.
5689 * htcommon/defaults.cc: Updated external_parsers with new description
5690 and examples of external converters.
5691
5692 Thu Oct 28 12:52:28 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5693
5694 * htcommon/defaults.cc: Updated programs lists for *_factor, so they
5695 all refer to htsearch and not htdig. Added htsearch to programs lists
5696 for translate_*. img_alt_factor & url_factor not defined yet because
5697 they're still not used in htdig/htsearch.
5698
5699 Wed Oct 27 15:53:36 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5700
5701 * htcommon/defaults.cc: added descriptions & examples for
5702 doc_excerpt, heading_factor, max_descriptions, minimum_speling_length,
5703 regex_max_words, use_doc_date, valid_extensions. Added references
5704 to these elsewhere in document as appropriate. Removed -pairs option
5705 from pdf_parser default (again). Minor changes to noindex_start & end,
5706 and changed example for modification_time_is_now. Corrected references
5707 to heading_factor_[1-6].
5708 * htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
5709
5710 Wed Oct 27 13:32:50 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5711
5712 * htdoc/cf_generate.pl: changed formatting of output to more closely
5713 match format of old attrs.html (to make diff'ing easier),
5714 and fixed handling of pdf_parser default to strip quotes.
5715 * htcommon/defaults.cc: oops, fixed typo in url_part_aliases example.
5716 * htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
5717
5718 Wed Oct 27 18:24:36 1999 Loic Dachary <loic at ceic.com>
5719
5720 * htdoc/cf_generate.pl: fixed wrong target for cf_byprog, escape
5721 HTML chars <>&'" for default values.
5722
5723 Wed Oct 27 10:21:18 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5724
5725 * htcommon/defaults.cc: restored 2nd example for url_part_aliases
5726
5727 Tue Oct 26 16:28:29 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
5728
5729 * htcommon/defaults.cc: corrected descriptions for allow_in_form,
5730 search_results_header, noindex_start, noindex_end. Also fixed a
5731 few small typos & formatting errors here & there in descriptions
5732 and examples.
5733
5734 Tue Oct 26 16:01:22 1999 Loic Dachary <loic at ceic.com>
5735
5736 * htword/Makefile.am: rm Wordkey.h instead of chmod to copy with
5737 non existent WordKey.h
5738
5739 Tue Oct 26 10:54:52 1999 Loic Dachary <loic at ceic.com>
5740
5741 * htcommon/default.cc: fixed all inconsistencies reported by Gilles.
5742
5743 Mon Oct 25 11:42:13 1999 Marcel Bosc <bosc at ceic.com>
5744
5745 * htword/ word.cc,t_wordskip,skip_db.txt: Added test for *Skip Speedup*
5746 * htword/ WordList: Added tracing of Walk() for debuging purposes
5747
5748 Fri Oct 22 18:22:00 1999 Marcel Bosc <bosc at ceic.com>
5749
5750 * htword/ WordList.cc,WordKey: Added a defined/undefined flag for saying
5751 if a search key's word is a prefix or not: WORD_KEY_WORDSUFFIX_DEFINED
5752 reduces code size and makes it much easier to undertand
5753 * htword/ WordList,WordReference,WordKey: Added input output streams for
5754 WordList,WordReference,WordKey
5755
5756 Wed Oct 20 16:47:52 1999 Marcel Bosc <bosc at ceic.com>
5757
5758 * htword/ WordKey,Makefile.am,WordCaseIsAStatements.h: for readability
5759 replaced the switch ... #ifdef ..STATEMENT().... sequence that apeared many times
5760 with an include file :WordCaseIsAStatements.h
5761
5762 * htword/ WordKey: WordKeyInfo: duplicated all of the fields structure into
5763 sort structure, for fast acces without cross referencing and for simplifying code
5764 (required change of perl in template WordKey.h.tmpl)
5765
5766 * htword/ WordList: *Skip Speedup* added a speedup to avoid wasting time
5767 by sequentialy walking through useless entries. see function:
5768 SkipUselessSequentialWalking() for an example and more info
5769
5770 * htword/ WordKey.h,WordKey.cc: Changed Set,Unset,IsSet Wordkey accesors' names to:
5771 SetDefined,Undefined,IsDefined. (easier to read and avoids naming conflicts)
5772
5773 * htword/ WordKey: added generic numerical accesors for accesing
5774 numerical fields in WordKey (in sorted order):GetInSortOrder,SetInSortOrder
5775
5776 * htword/ WordKey,word_builder.pl: added a MAX_NFIELDS constant, that specifies
5777 a maximum number of fields that a WordKey can have. Sanity check in word_builder.pl.
5778
5779 * htword/ word_builder.pl: enforced word sort order to ascending
5780
5781 * htword/ WordList: added a verbose flag using config."wordlist_verbose"
5782
5783 Tue Oct 19 18:36:42 1999 Loic Dachary <loic at ceic.com>
5784
5785 * htword/WordType.h: const accessors to wtype and config
5786
5787 Tue Oct 19 13:10:47 1999 Loic Dachary <loic at ceic.com>
5788
5789 * acconfig.h: remove uncessary VERSION (redundant)
5790
5791 Tue Oct 19 11:32:38 1999 Loic Dachary <loic at ceic.com>
5792
5793 * db/Makefile.in,db/dist/Makefile.in: install db library so
5794 that external applications can be linked.
5795
5796 Tue Oct 19 10:57:27 1999 Loic Dachary <loic at ceic.com>
5797
5798 * configure.in: add --with-key to specify alternate to htword/word.desc
5799
5800 * configure.in: htword is done before htcommon to prevent unecessary
5801 recompilation because WordKey.h changes.
5802
5803 * htword/Makefile.am: use @KEYDESC@
5804
5805 Tue Oct 19 10:38:41 1999 Loic Dachary <loic at ceic.com>
5806
5807 * test/word.cc use TypeA instead of DocID and the like
5808
5809 Mon Oct 18 17:21:34 1999 Loic Dachary <loic at ceic.com>
5810
5811 * Makefile.config: AUTOMAKE_OPTIONS = foreign
5812
5813 Mon Oct 18 11:40:17 1999 Marcel Bosc <bosc at ceic.com>
5814
5815 * htword/ WordList.cc (Walk): fixed bug in Walk: if flag HTDIG_WORDLIST was set
5816 then data was uninitialized in loop
5817
5818 Fri Oct 15 18:52:03 1999 Marcel Bosc <bosc at ceic.com>
5819
5820 * htdig/Document.h (class Document): added const to:
5821 Transport::DocStatus RetrieveLocal(HtDateTime date, const String filename);
5822
5823 Fri Oct 15 17:46:23 1999 Loic Dachary <loic at ceic.com>
5824
5825 * acinclude.m4,configure.in: modified AC_APACHE_PROG to detect
5826 version number and control it.
5827
5828 * test/conf/*.in: patch to fit module loading or not, accomodate
5829 various installation configurations.
5830
5831 * test/test_functions.in: More portable call to apache.
5832
5833 Fri Oct 15 12:55:47 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5834
5835 * htdig/Document: added the management of 'persistent_connections',
5836 'head_before_get', 'max_retries' configuration attributes.
5837
5838 Fri Oct 15 12:54:11 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5839
5840 * test/testnet.cc: added the option '-m' for setting the max size
5841 of the document.
5842
5843 Fri Oct 15 12:48:49 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5844
5845 * htdig/Server: added a flag for persistent connections.
5846 It's set to true if the Server allows persistent connections.
5847 It should be used when retrieving a document.
5848
5849 Fri Oct 15 12:45:42 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5850
5851 * defaults.cc: added the configuration attributes 'persistent_connections',
5852 'max_retries' and 'head_before_get'. Their default values are
5853 respectively true, 3, false.
5854
5855 Fri Oct 15 12:35:51 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5856
5857 * HtHTTP.cc: managing of uncompleted stream reading with persistent
5858 connections (it occurs when max_doc_size is lower than the real
5859 content length of the document, or when a document is not parsable
5860 and we asked for it with a GET call).
5861
5862 * Transport: _host variable is treated as a String, as Loic suggested.
5863
5864 Fri Oct 15 12:11:23 1999 Marcel Bosc <bosc at ceic.com>
5865
5866 * Added README to htword
5867
5868 Thu Oct 14 11:29:35 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5869
5870 * htlib/mktime.c, htlib/regex.c, htlib/regex.h, htlib/strptime.c:
5871 Updated with latest glibc versions. Merging from glibc sources may
5872 have introduced bugs, so this is the last merge before htdig-3.2.0b1.
5873
5874 Thu Oct 14 13:09:32 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5875
5876 * htnet/Transport: added statistics for open and close of connections
5877 and changes of servers.
5878 Fixed a bug in the SetConnection method, regarding the host comparison.
5879 Added a method for showing the statistics on a given channel.
5880
5881 * htnet/HtHTTP: More debug info available.
5882 Added a method for showing the statistics on a given channel.
5883
5884 * test/testnet.cc: now receives changes above.
5885
5886 Wed Oct 13 13:35:42 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5887
5888 * htdig/Document.h: added an HtHTTP pointer to the class.
5889
5890 * htdig/Document.cc: Transport and HtHTTP initialization methods
5891 inside the Document constructur. The class destructor now calls
5892 only the HtHTTP destructor (not the Transport destructor).
5893 Modified the Retrieve method.
5894
5895 * htdig/Server.h: _last_connection is now an HtDateTime object.
5896
5897 * htdig/Server.cc: _modified the constructor and the delay method.
5898
5899 * htdig/Retriever.cc: modified the parse_url function in order to manage
5900 all the Document status messages coming from the Transport class.
5901 Also modified the method for not found URLs for managing the no_port
5902 status.
5903
5904 Tue Oct 12 10:12:10 1999 Loic Dachary <loic at ceic.com>
5905
5906 * install headers and libraries so that htdig libraries may be used by external programs
5907
5908 * htword/WordList.cc,WordType.cc: add comments about config parameters used.
5909
5910 Fri Oct 8 09:35:30 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
5911
5912 * htlib/HtDateTime.cc (SetFTime): Change buffer argument to const
5913 char* to prevent problems passing in const buffers.
5914
5915 * htnet/HtHTTP.h: Change SetUserAgent to take a const char* to
5916 prevent problems passing in const parameters.
5917
5918 * htdig/Document.h, htdig/Document.cc(): Use Transport class for
5919 obtaining documents. Remove duplication of declarations
5920 (e.g. DocStatus).
5921
5922 * htdig/Retriever.cc: Adapt switch statements from
5923 Document::DocStatus to Transport::DocStatus.
5924
5925 * htdig/Server.cc: Use Document::Retrieve instead of RetrieveHTTP.
5926
5927 Fri Oct 08 16:35:16 1999 Loic Dachary <loic at ceic.com>
5928
5929 * test/t_htnet: succeed if timeout occurs. It was the opposite.
5930
5931 * configure.in: AC_MSG_CHECKING(how to call getpeername?) add missing
5932 comma at end for header spec block.
5933
5934 Fri Oct 08 14:42:47 1999 Loic Dachary <loic at ceic.com>
5935
5936 * Fix all warnings reported by gcc-2.95.1 related to string
5937 cast to char*.
5938
5939 Fri Oct 08 14:04:21 1999 Loic Dachary <loic at yoda.ceic.com>
5940
5941 * htlib/Configuration,ParsedString,Dictionary: change char* to String
5942 where possible.
5943
5944 * Fix a lot of warnings reported by gcc-2.95.1 related to string
5945 cast to char*.
5946
5947 * Completely disable exception code from db.
5948
5949 Fri Oct 08 13:44:32 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5950
5951 * HtHTTP.cc: fixed a little bug in setting the modification time
5952 if not returned by the server.
5953
5954 Fri Oct 08 11:30:53 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5955
5956 * HtHTTP.cc: better management of connection failures return values.
5957 * Transport.h: added Document_no_connection and
5958 Document_connection_no_port enum values.
5959 * testnet.cc: management of above changes.
5960
5961 Fri Oct 08 11:27:31 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5962
5963 * configure.in: modified getpeername() test.
5964
5965 Fri Oct 08 10:28:15 1999 Loic Dachary <loic at ceic.com>
5966
5967 * htdig/Retriever.cc (IsValidURL): test return value of
5968 ext = strrchr(url, '.');
5969
5970 * htword/WordRecord.h: initialize info member to 0 in constructor and
5971 Clear.
5972
5973 * htlib/Configuration: char* -> String to all functions. Resolve
5974 warnings.
5975
5976 Thu Oct 07 16:19:46 1999 Loic Dachary <loic at ceic.com>
5977
5978 * htnet/HtHTTP.cc (ReadChunkedBody): use append instead of
5979 << because buffer is *not* null terminated.
5980
5981 * htnet/Transport.cc (Transport): initialize _port and _max_document_size
5982 otherwise comparison with undefined value occurs.
5983
5984 Thu Oct 07 16:34:21 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5985
5986 * HtHTTP.cc: call FinishRequest everytime in HTTPRequest() a value is
5987 returned.
5988 * testnet.cc: improved with more statistics and connections timeouts
5989 control.
5990
5991 Thu Oct 07 12:53:12 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5992
5993 * configure.in: modified getpeername() test function with
5994 AC_LANG_CPLUSPLUS instead of AC_LANG_C.
5995
5996 Thu Oct 07 11:56:52 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
5997
5998 * HtHTTP.cc : fixed bug of double deleting _access_time
5999 and _modification_time objects in ~HtHTTP().
6000
6001 Thu Oct 07 10:17:22 1999 Loic Dachary <loic at ceic.com>
6002
6003 * htword/WordRecord.h: change (const char*) cast to (char*)
6004
6005 * htword/WordKey.h.tmp: fix constness of accessors, const accessor
6006 returns const ref. Prevents unecessary copies.
6007
6008 Wed Oct 6 23:31:50 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6009
6010 * htnet/Connection.h, htnet/Connection.cc: Merge in io
6011 class. Connection class was the only subclass of io.
6012
6013 * Makefile.in, htlib/Makefile.am, htlib/Makefile.in: Update for
6014 removed io class.
6015
6016 * htdig/ExternalParser.cc: Add more verbose flags for errors.
6017
6018 Wed Oct 06 14:56:34 1999 Loic Dachary <loic at ceic.com>
6019
6020 * htnet/Connection.cc (assign_server): use free, not delete
6021 on strdup allocated memory.
6022
6023 * htcommon/URL.cc (URL): set _port to 0 in constructors.
6024
6025 Wed Oct 06 12:08:38 1999 Loic Dachary <loic at ceic.com>
6026
6027 * Move htlib/HtSGMLCodec.* to htcommon to prevent
6028 crossed interdependencies between htlib and htcommon
6029
6030 Wed Oct 06 12:07:32 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6031
6032 * HtHTTP.cc: patch from Michal Hirohama regarding
6033 the SetBodyReadingController() method
6034
6035 Wed Oct 06 11:49:15 1999 Loic Dachary <loic at ceic.com>
6036
6037 * Move htlib/HtZlibCodec.* htlib/cgi.* to htcommon to prevent
6038 crossed interdependencies between htlib and htcommon
6039
6040 Wed Oct 06 11:40:48 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6041
6042 * HtHTTP: stores the server info correctly and removed some debug info
6043 in chunk managing
6044
6045 Wed Oct 06 11:39:12 1999 Loic Dachary <loic at ceic.com>
6046
6047 * Move htlib/*URL* to htcommon
6048
6049 Wed Oct 06 10:09:19 1999 Loic Dachary <loic at ceic.com>
6050
6051 * README: add htword
6052
6053 * test/t_htnet: fix variable set problem & return code problem
6054
6055 Wed Oct 06 08:53:52 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6056
6057 * Written t_htnet test
6058
6059 Tue Oct 5 12:24:43 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6060
6061 * db/*: Import of Sleepycat's Berkeley DB 2.7.7.
6062
6063 * db/db/db.c, db/include/db.h, db/include/db_cxx.h, db/mp/mp_bh.c:
6064 Resolve conflicts created in merge.
6065
6066 Tue Oct 05 18:53:13 1999 Loic Dachary <loic at ceic.com>
6067
6068 * htdig/Display.cc, htword/*.cc: add inclusion of htconfig.h
6069
6070 Tue Oct 05 14:54:17 1999 Loic Dachary <loic at ceic.com>
6071
6072 * htlib/htString.h (class String): add set(char*)
6073
6074 * htword/WordKey.cc: define typedefs for key components. Leads to more
6075 regular code and no dependency on a predefined set of known types.
6076 All types must still be castable to unsigned int.
6077 Assume Word of type String always exists.
6078 Generic Get/Set/Unset methods made simpler. Added const and ref
6079 for Get in both forms.
6080
6081 * htword/WordList.cc: enable word reference counting only if wordlist_extend
6082 configuration parameter is set. This parameter is hidden because
6083 no code uses per word statistics at present. It is only activated
6084 in the test directory.
6085
6086 * htword/word_list.pl: add mapping to symbolic type names,
6087 force and check to have exactly one String field named Word.
6088
6089 Mon Oct 04 20:05:35 1999 Loic Dachary <loic at ceic.com>
6090
6091 * test: add thingies to make test work when doing ./configure
6092 outside the source directory.
6093
6094 * htword/WordList: Add Ref and Unref to update statistics.
6095 Fix walking to start from the end of statistics. All statistics
6096 words start with \001, therefore at the beginning of the file and
6097 all clustered together.
6098
6099 * htword/WordStat: derived from WordReference to implement
6100 uniq word statistics.
6101
6102 * test/word.cc: test statistics updating.
6103
6104 * htword/WordKey.cc: fix bugous compare (returned length diff
6105 if key of different length).
6106
6107 Mon Oct 04 18:43:56 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6108
6109 * test/testnet.cc: added the option for HEAD before GET control
6110
6111 Mon Oct 04 17:33:24 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6112
6113 * htnet/Transport.h .cc: added the FlushConnection() method
6114
6115 * htnet/HtHTTP.h .cc: now the Request() method can make a HEAD
6116 request precede a GET request. This is made by default, and
6117 can be changed by using the methods Enable/DisableHeadBeforeGet().
6118 A configuration option can be raised to manage it.
6119
6120 Mon Oct 04 12:43:41 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6121
6122 * htlib/io.h .cc: added a flush() method.
6123
6124 * htnet/HtHTTP.cc: manage the chunk correctly, by calling the flush()
6125 method after reading it.
6126
6127 Mon Oct 04 12:02:24 1999 Loic Dachary <loic at ceic.com>
6128
6129 * htlib/htString.h: move null outside inline operator [] functions.
6130
6131 Fri Oct 01 14:55:56 1999 Loic Dachary <loic at ceic.com>
6132
6133 * htword/WordRecord: mutable, can also contain uniq word statistics.
6134
6135 * htword/WordReference: remove all dependencies related to the actual
6136 structure of the key.
6137
6138 * htcommon/HtWordReference: derived from WordReference, explicit
6139 accessors.
6140
6141 * htcommon/HtWordList: derived from WordList, only handles the
6142 word cache (Flush, MarkGone).
6143
6144 * htdig/HTML.cc (do_tag): add wordindex to have location set in
6145 tags
6146
6147 * htcommon/DocumentRef.cc (AddDescription): add Location calculation
6148
6149 * htword/WordList.cc: add dberror to map Berkeley DB error codes
6150
6151 * htsearch/Display.cc (display): initialize good_sort to get rid
6152 of strange warning.
6153
6154 Fri Oct 01 09:02:11 1999 Loic Dachary <loic at ceic.com>
6155
6156 * Makefile.config: duplicate library lines to resolve
6157 interdependencies.
6158
6159 Thu Sep 30 17:56:55 1999 Loic Dachary <loic at ceic.com>
6160
6161 * htmerge/words.cc (delete_word): Upgrade to use WordCursor.
6162
6163 * htword/WordList: Walk now uses a local WordCursor. Many concurent
6164 Walk can happen at the same time.
6165
6166 * htword/WordList: Walk callback now take the current WordCursor.
6167 Added a Delete method that takes the WordCursor. Allows to delete
6168 the current record while walking.
6169
6170 * db/include/db_cxx.h (DB_ENV): add int return type to operator =
6171
6172 * db/dist/configure.in (CXXFLAGS): disable adding obsolete
6173 g++ option.
6174
6175 * configure.in: enable C++ support when configuring Berkeley DB
6176
6177 * htword: create. move Word* from htcommon. move HtWordType
6178 from htlib and rename WordType.
6179
6180 * htword/WordList: use db_cxx interface instead of Database.
6181 Less interface overhead. Get access to full capabilities of
6182 Berkeley DB. Much more error checking done.
6183 Create WordCursor private class to use String instead of Dbt.
6184
6185 Wed Sep 29 20:03:31 1999 Loic Dachary <loic at yoda.ceic.com>
6186
6187 * htlib/lib.h: AIX xlC does is confused by overloaded mystrcasestr
6188 that only differ in constness. Only keep const form and use cast
6189 where approriate. *sigh*
6190
6191 * htlib/htString.h: accomodate new form of Object::compare and
6192 Copy. Explicitly convert compare arg to String&, prevent hiding
6193 and therefore missing the underlying compare function.
6194
6195 * htlib/HtVector.cc (Copy): make it const
6196
6197 * htlib/HtHeap.cc: accomodate new form of Object::compare
6198
6199 * htcommon/List.h,cc: Add ListCursor to allow many pointers that
6200 walk the list to exist in the same program.
6201
6202 * htlib/Object.h (class Object): kill unused Serialize + Deserialize.
6203 Change unused Copy to const and bark on stderr if called because it
6204 is clearly not was is wanted. If Copy is called and the derived class
6205 does not implement Copy we are in trouble. Alternatives are to make
6206 it pure virtual but it will break things all over the code or to abort
6207 but this will be considered to violent. Change compare to take a
6208 const reference and be a const.
6209
6210 Wed Sep 29 16:51:58 1999 Loic Dachary <loic at yoda.ceic.com>
6211
6212 * acinclude.m4,configure.in,Makefile.config: remove -Wall from
6213 Makefile.conf, add the AC_COMPILE_WARNINGS macro in acinclude.m4
6214 and use it in configure.in.
6215
6216 * htdoc/default_check.pl: remove, unused
6217
6218 Wed Sep 29 13:07:58 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6219
6220 * htnet/Transport: fixed some bugs on construction and destruction
6221
6222 * htnet/HtHTTP: the most important add is the decoding of chunked
6223 encoded responses, as reported on RFC2616 (HTTP/1.1). It needs
6224 to be developed, because it timeouts at the end of the request.
6225 Added a function pointer in order to dynamically handle the function
6226 that reads the body of a response (for now, normal and chunked, but
6227 other encoding ways exist, so ...). Fixed some bugs on construction
6228 and added some features like Server and Transfer-encoding headers.
6229
6230 Wed Sep 29 13:54:59 1999 Loic Dachary <loic at yoda.ceic.com>
6231
6232 * fix all inline method declarations so that they are always declared
6233 inline in the class declaration if an inline definition follows.
6234
6235 * acinclude.m4: also search apache in /usr/local/apache/bin by default.
6236
6237 * fix various warnings of gcc-2.95, now compiles ok without warnings
6238 and with -Wall.
6239
6240 * htlib/htString.h: removed commented out inline get
6241
6242 * test/testnet.cc: add includes for optarg
6243
6244 Tue Sep 28 18:56:36 1999 Loic Dachary <loic at ceic.com>
6245
6246 * Makefile.config (HTLIBS): libhtnet at the beginning of the list. It
6247 matters on Solaris-2.6 for instance.
6248
6249 * test/testnet.cc: change times to timesvar to avoid conflict with
6250 function (was warning only on Solaris-2.6).
6251
6252 * htdig,htsearch,htmerge,test/word are purify clean when running
6253 make check.
6254
6255 Tue Sep 28 18:23:49 1999 Loic Dachary <loic at ceic.com>
6256
6257 * htmerge/words.cc (mergeWords): use WordList::Walk to avoid loading ALL
6258 the words into memory.
6259
6260 * htlib/DB2_db.cc (Open): we don't want duplicates. Big mistake. If DUP is
6261 on, every put for update will insert a new entry.
6262
6263 * htcommon/WordList.cc (Delete): separate Delete (straight Delete and WalkDelete)
6264 to avoid accessing dbf from outside WordList.
6265
6266 * htcommon/WordList.cc (Walk): now promoted to public.
6267
6268 Tue Sep 28 16:34:56 1999 Loic Dachary <loic at ceic.com>
6269
6270 * test/word.cc (dolist): Add regression tests for Delete.
6271
6272 * htcommon/WordList.cc (Delete): Reimplement from scratch. Use Walk
6273 to find records to delete. This allows to say delete all occurence
6274 of this word, delete all words in this document (slow), delete
6275 all occurences of this word in this document etc.
6276
6277 * htcommon/WordList.cc (Walk): extend so that it handles walk for
6278 partially specified keys, remains fully backward compatible. It allows
6279 to extract all the words in a specific document (slow) or all occurences
6280 of a word in a specific document etc.
6281
6282 Tue Sep 28 12:56:12 1999 Loic Dachary <loic at ceic.com>
6283
6284 * htcommon/DocumentDB.cc (Open): report errors on stderr
6285
6286 * htmerge/docs.cc (convertDocs): rely on error reporting from DocumentDB
6287 instead of implementing a custom one.
6288
6289 Tue Sep 28 11:36:28 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6290
6291 * htnet/Transport.h: added the status code and the reason phrase
6292
6293 * htnet/HtHTTP.cc .h: removed the attributes above.
6294 Read the body of a response if the code is 2xx. Issues the
6295 GetLocation() method.
6296
6297 Tue Sep 28 10:32:47 1999 Loic Dachary <loic at ceic.com>
6298
6299 * test/htdocs/set3: create and populate with cgi scripts have
6300 bad behaviour (time out and, slow connection).
6301
6302 Tue Sep 28 10:20:23 1999 Loic Dachary <loic at ceic.com>
6303
6304 * test/htdocs: move html files in set1/set2 subdirectories to allows
6305 tests that use different set of files. Change htdig.conf accordingly.
6306
6307 Tue Sep 28 09:31:12 1999 Loic Dachary <loic at ceic.com>
6308
6309 * test/Makefile.am: comment test options, add LONG_TEST='y' for lengthy
6310 tests, by default run quick tests.
6311
6312 * installdir/bad_words: removed it an of : since the minimum word
6313 length is by default 3, these words are ignored anyway.
6314
6315 Mon Sep 27 20:37:38 1999 Loic Dachary <loic at ceic.com>
6316
6317 * htlib/HtWordType.h,cc: concentrate knowledge about word definition in this
6318 class. Rename the class WordType (think WordReference etc...). Change
6319 Initialize to use an external default object. A WordType object may be
6320 allocated on its own. Drag functionalities from BadWordFile, Replace and
6321 IsValid of WordList, and concentrate them in the WordType::Normalize
6322 function.
6323
6324 * htcommon/WordList: use the new WordList semantic. WordType is now a member
6325 of WordList, opening the possibility to have many WordList object with different
6326 configurations within the same program since the constructor takes
6327
6328 * htsearch/htsearch.cc (setupWords): Use HtNormalize to find out if word should
6329 be ignored in query. Formerly using IsValid.
6330
6331 * htlib/String.cc (operator []): fix big mistake, operator [] was indeed last() !
6332
6333 * htlib/String.cc(uppercase, lowercase): return the number of converted chars.
6334
6335 * htlib/String.cc(remove): return the number of chars removed.
6336
6337 Mon Sep 27 17:43:23 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6338
6339 * Created testnet.cc under test dir for trying the htnet library
6340 It's a simple program that retrieves an URL.
6341
6342 * htnet/HtHTTP.cc, .h: added a 'int (*) (char *)' function pointer.
6343 This attribute is static and it is used under the isParsable method
6344 in order to determine if a document is parsable. It must be set
6345 outside this class by using the SetParsingController static method.
6346 The classic use is to set it to 'ExternalParser::canParse' .
6347
6348 Mon Sep 27 10:52:51 1999 Loic Dachary <loic at ceic.com>
6349
6350 * htmerge/db.cc (mergeDB): delete words instead of words->Destroy()
6351 because the words object itself was not freed.
6352
6353 Mon Sep 27 10:38:37 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6354
6355 * Created 'htnet' library
6356
6357 Mon Sep 27 12:39:24 1999 Loic Dachary <loic at ceic.com>
6358
6359 * test/word.cc (dolist): don't deal with upper case at present and prevent warning.
6360
6361 Mon Sep 27 10:38:37 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
6362
6363 * htlib/String.cc: removed compiler warnings
6364
6365 * htdig/HtHTTP.h: corrected cvs Id property
6366
6367 Mon Sep 27 10:29:58 1999 Loic Dachary <loic at ceic.com>
6368
6369 * htlib/String.cc (String): make sure *all* constructors set the Data
6370 member to 0.
6371
6372 * htsearch/parser.cc (score): add missing dm->id = wr->DocID();
6373 strange it did not make search fail horribly.
6374
6375 Mon Sep 27 09:46:34 1999 Loic Dachary <loic at ceic.com>
6376
6377 * test/conf/htdig.conf.in (common_dir): add common_dir so that
6378 templates are found in compile directory.
6379
6380 * htsearch/parser.cc (phrase): free wordList at end and only allocate if
6381 needed.
6382
6383 Fri Sep 24 16:35:47 1999 Loic Dachary <loic at ceic.com>
6384
6385 * htcommon/DocumentDB.ccf (Open): change mode to 666 instead of 664,
6386 it's the bizness of umask to remove permission bits.
6387
6388 * htlib/URL.cc (removeIndex): Memory leak. do not use l.Release
6389 since standard Destroy called by destructor is ok.
6390
6391 * htdig/htdig.cc (main): Memory leak. Use l.Destroy instead of
6392 l.Release.
6393
6394 * htlib/StringList.cc (Join): Memory leak (new String str +
6395 return *str). Also change to const fct.
6396
6397 * htlib/List.cc (Nth): add const version to help StringList::Join save
6398 memory.
6399
6400 * htdig/HTML.cc (parse): delete [] text (was missing [])
6401
6402 * htlib/HtVector.cc: Most of the boundary tests with element_count
6403 (but not all of them) were wrong (> instead of >= for instance).
6404
6405 * htlib/HtVector.cc (Previous): limit test cut and pasted from Next
6406 and obviously completely wrong. Fix.
6407
6408 * htlib/HtVector.cc (Remove): use RemoveFrom, avoid code duplication.
6409
6410 * htcommon/DocumentRef.cc (Clear): set all numerical fields to 0,
6411 and truncate strings to 0. Some were missing.
6412
6413 * htlib/Connection.cc (Connection): free(server_name) because allocated
6414 by strdup not new.
6415
6416 Fri Sep 24 14:30:21 1999 Loic Dachary <loic at ceic.com>
6417
6418 * */.cvsignore: update to include .pure, *.la, *.lo, .purify
6419
6420 * htlib/String.cc (String): add Data = 0
6421
6422 * htlib/htString.h (class String): add Data = 0
6423
6424 * htlib/String.cc (String): init set to MinimumAllocationSize at least
6425 prevents leaking if init = 0.
6426
6427 * htlib/String.cc (nocase_compare): use get() instead of direct
6428 pointer to Data so that the trailing null will be added.
6429
6430 * htlib/Dictionary.cc (DictionaryEntry): free(key) instead of
6431 delete [] key because obtained with strdup.
6432
6433 * htlib/DB2_db.cc (Close): free(dbenv) because db_appexit does not
6434 free this although it free everything else.
6435
6436 Thu Sep 23 18:18:40 1999 Loic Dachary <loic at ceic.com>
6437
6438 * configure.in: add PERL detection & use in Makefile.am
6439
6440 Thu Sep 23 14:29:29 1999 Loic Dachary <loic at ceic.com>
6441
6442 * configure.in: removed unused alloca.h
6443
6444 * htcommon/DocumentDB.cc: test isopen in Close instead of before calling Close.
6445 Add some const in functions arguments.
6446 (Read): change char* args to const String&, changed tests for null pointers to
6447 empty().
6448 (Add): Delete the temp class member, use function local temp.
6449 (operator []): change char* args to const String&
6450 (CreateSearchDB): change char* args to const String&
6451
6452 * htcommon/DocumentRef.cc:(AddDescription): Add some const in functions arguments.
6453 Use a WordReference as insertion context instead of merely the docid: it contains
6454 the insertion context.
6455 (AddAnchor): Add some const in functions arguments.
6456
6457 * htcommon/DocumentRef.h: Add some const in inline functions arguments.
6458
6459 * htcommon/Makefile.am: add WordKey + WordKey.h generation
6460
6461 * htcommon/word_builder.pl, word.desc, WordKey.h.tmpl: generate WordKey.h from WordKey.h.tmpl and
6462 word.desc
6463
6464 * htcommon/WordList.cc: In general remove code that belongs to WordReference rather
6465 than WordList and cleanup const + String.
6466 (WordList) the constructor takes a Configuration object in argument.
6467 (Word -> Replace): Word method replaced by Replace method because more explicit. Now
6468 taks a WordReference in argument instead of the list of fields values.
6469 (valid_word deleted, IsValid only): Add some const in functions arguments.
6470 (BadWordFile): change char* args to const String&
6471 (Open + Read -> Open): Open and Read merge into Open with mode argument. change char* args
6472 to const String&.
6473 (Add): use WordReference::Pack and simply do Put.
6474 (operator[], Prefix ...) now take WordReference instead of Word. Autmatic Conversion from
6475 Word for compatibility thru WordReference(const Word& w).
6476 (Dump): change char* args to const String&
6477 (Walk): use WordReference member functions instead of hard coded packing
6478
6479 * htcommon/WordRecord.h: move flag definitions to WordReference.h
6480 only keep anchor, the reste moved to key.
6481
6482 * htdig/Document.cc: change all config[""] manipulations from char* to String
6483 or const String
6484 (setUsernamePassword): Add some const in functions arguments.
6485
6486 * htdig/HTML.cc: change all config[""] manipulations from char* to String
6487 or const String. Change null pointer tests to empty().
6488 (transSGML): change char* args to const String&
6489
6490 * htdig/HtHTTP.cc: Add error messages for default cases in every switch.
6491
6492 * htdig/PDF.cc: (parse) change char* to const String& for config[""]
6493
6494 * htdig/Plaintext.cc: (parse) remove unused variable
6495
6496 * htdig/Retriever.cc: use WordReference word_context instead of simple docid
6497 to hold the insertion context.
6498 (Retriever) pass config to WordList initializer.
6499 (setUsernamePassword): Add some const in functions arguments.
6500 (Initial): change char* args to const String&
6501 (parse_url): use WordReference word_context, add debug information.
6502 (RetrievedDocument): set anchor in word_context.
6503 (got_word): use Replace instead of Word
6504 (got_*): Add some const in functions arguments.
6505
6506 * htdig/htdig.cc: change all config[""] manipulations from char* to String
6507
6508 * htdoc/cf_generate.pl: compute attrs.html, cf_byprog.html and cf_byname.html from
6509 ../htlib/default.cc and attrs_head.html attrs_tail.html cf_byname_head.html cf_byname_tail.html
6510 cf_byprog_head.html cf_byprog_tail.html
6511 Add rules in Makefile.am
6512
6513 * htfuzzy: In every programs I changed the constructor to take a
6514 Configuration agrument. The openIndex and writeDB had this
6515 argument sometime used it, sometimes used the global
6516 config. Having it in the contructor is cleaner and safer, there
6517 is no more reference to the global config. I also changed some
6518 char* to String and const. Most of the program look the same, I
6519 won't go into details here :-}
6520
6521 * htlib/Configuration.cc: changed separators from String* to String. Simpler.
6522 (~Configuration): removed because not needed.
6523 (Add): change to String, remove new String + delete for local var.
6524 (Find, operator[]): make it const fct, add some const in functions arguments.
6525 (Value + Double): killed, replaced by as_integer + as_double from String
6526 (Boolean): use String methods + string objects
6527 (Defaults): Add some const in functions arguments.
6528
6529 * htlib/Configuration.h: add
6530 char *type; // Type of the value (string, integer, boolean)
6531 char *programs; // White separated list of programs/modules using this attribute
6532 char *example; // Example usage of the attribute (HTML)
6533 char *description; // Long description of the attribute (HTML)
6534 to the ConfigDefaults type.
6535
6536 * htlib/Connection.cc: (assign_server) change char* args to const String&
6537
6538 * htlib/DB2_db.cc: Merge with DB2_hash.
6539 Add compare and prefix functions pointers.
6540 Merge OpenRead & OpenReadWrite into Open, keep for compatibility.
6541 skey and data are now strings instead of DBT.
6542 Remove Get_Next_Seq.
6543 Get_Next now returns key and value in arguments.
6544 Remove all other Get_Next interfaces.
6545
6546 * htlib/Database.h:
6547 Compatibility functions for Get_Next
6548 Put, Get, Exists, Delete take String args and are inline
6549 Add SetPrefix and SetCompare
6550
6551 * htlib/Dictionary.cc:
6552 Add copy constructor.
6553 Add DictionaryCursor that holds the traversal context.
6554 Use DictionaryCursor object for traversal without explicit
6555 cursor specified.
6556 Add constness where meaningfull.
6557
6558 * htlib/HtPack.cc:
6559 (htPack) format is const, change strtol call
6560 to use temporary variable to cope with constness.
6561 (htUnpack) dataref argument is not a reference anymore. Not used
6562 anywhere and kind of hidden argument nobody wants.
6563
6564 * htlib/HtRegex.cc: set, match, HtRegex have const args.
6565
6566 * htlib/HtWordCodec.cc: (code) orig is const
6567
6568 * htlib/HtWordType.cc,h: statics is made of String instead of char*. Remove
6569 static String punct_and_extra from Initialize.
6570
6571 * htlib/HtZlibCodec.cc: len is unsigned int
6572
6573 * htlib/ParsedString.cc: add constness to function args
6574 (get) use String instead of char
6575
6576 * htlib/QuotedStringList.cc: inline functions argument variations and
6577 add constness.
6578
6579 * htlib/String.cc: add constness whereever possible.
6580
6581 * htlib/htString.h: Add const get, char* cast, operator [].
6582 Add as_double conversion.
6583
6584 * htlib/StringList.cc: inline functions argument variations and
6585 add constness.
6586
6587 * htlib/StringMatch.cc: add constness to function args.
6588
6589 * htlib/URL.cc: add constness to function args.
6590 (URL): fct arg was used as temp. Change, clearer.
6591
6592 * htlib/lib.h: add const declaration of string manipulation functions.
6593 Two forms for mystrcasestsr: const and not const.
6594
6595 * htlib/strcasecmp.cc: add constness to function args.
6596
6597 * htlib/timegm.c: add declaration for __mktime_internal
6598
6599 * htmerge/db.cc: change *doc* vars from char* to const String, use
6600 new WordList + WordReference interface.
6601
6602 * htmerge/docs.cc: change *doc* vars from char* to const String.
6603
6604 * htmerge/words.cc: use new WordList + WordReference interface.
6605
6606 * htsearch/Display.cc: use empty method on String where appropriate.
6607 use String instead of char* where config[""] used.
6608 (includeURL): change char* args to const String&
6609
6610 * htsearch/ResultMatch.cc: (setTitle, setSortType) change char* args to const String&
6611
6612 * htsearch/Template.cc: (createFromFile) change char* args to const String&
6613
6614 * htsearch/Template.h: accessors return const String& or take const char*
6615
6616 * htsearch/TemplateList.cc: (get) use const String for internalNames.
6617
6618 * htsearch/htsearch.cc: use String instead of char* where config[""] used.
6619
6620 * htsearch/parser.cc: Initialize WordList member with config global.
6621 (perform_push): free the result list after calling score.
6622 (score, phrase): use new WordList + WordReference interface.
6623
6624 Thu Sep 23 14:29:29 1999 Loic Dachary <loic at ceic.com>
6625
6626 * htcommon/WordKey.h.tmpl, WordKey.cc: new, describe the key of the word
6627 database.
6628
6629 * htcommon/word.desc: new, abstract description of the key structure of the word
6630 database.
6631
6632 * htcommon/word_builder.pl: new, generate WordKey.h from WordKey.h.tmpl
6633
6634 * htcommon/WordReference.cc: move key manipulation to WordKey.cc
6635 Add Unpack/Pack functions. Add accessors for fields and move fields to private.
6636 Add constness where possible.
6637
6638 Mon Sep 20 14:50:47 1999 Loic Dachary <loic at ceic.com>
6639
6640 * Everywhere config["string"] is used, check that it's *not* converted to
6641 char* for later use. Keep String object so that there is no chance to
6642 use a char* that has been deallocated. Using a String as return for config["string"]
6643 is also *much* safer for the great number of calls that did not check for a possible
6644 0 pointer return.
6645
6646 * htfuzzy/*.{cc,h}: const Configuration& config member. Constructor sets it.
6647 Remove config argument from openIndex & writeDB. The idea (as it was initialy,
6648 I guess) is to be able to have a standalone fuzzy library using a specify
6649 configuration file. It is now possible and consistent.
6650
6651 * htlib/htString.cc: more constness where appropriate. Changed compare
6652 to have const String& arg instead of const Object* because useless and
6653 potential source of bugous code.
6654
6655 * htfuzzy/Regex.cc (getWords): fix bugous setting of extra_word_chars
6656 configuration value. It is set to change the behaviour of HtStripPunctuation
6657 but this function get the extra_word_chars from a static array initialized
6658 at program start by static void Initialize(Configuration & config). Use straight
6659 s.remove() instead. Besides, the string was anchored by prepending a ^ that
6660 was removed because part of the reserved chars.
6661
6662 Mon Sep 20 11:47:05 1999 Loic Dachary <loic at ceic.com>
6663
6664 * htlib/Configuration.cc (operator []): changed return type to String
6665 to solve memory leak. When char* the string was malloced from ParsedString
6666 after substitution and never freed. In fact it was even worse : it was
6667 free before use in some cases.
6668
6669 Sun Sep 19 19:12:44 1999 Loic Dachary <loic at ceic.com>
6670
6671 * htdoc/cf_generate.pl, htcommon/defaults.cc, htlib/Configuration.h:
6672 Change the structure of the configuration defaults. Move
6673 description, examples, types, used_by information from attrs.html.
6674 Write cf_generate.pl to build attrs.html, cf_byname, cf_byprog
6675 from defaults.cc. Makes it easier to maintain an up to date
6676 description of existing attributes. About 10 attributes existed
6677 in defaults.cc and were not describted in the HTML pages.
6678 Add rules in htdoc/Makefile.am to generate the pages if a source
6679 changes.
6680
6681 Fri Sep 17 19:34:48 1999 Loic Dachary <loic at ceic.com>
6682
6683 * Makefile.config: add -Wall to all compilation and fix
6684 all resulting warnings.
6685
6686 * htlib/Connection.cc (assign_server): remove redundant test
6687 and cast litteral value to unsigned
6688
6689 * htlib/String.cc: add const qualifier where possible. Helps
6690 dealing with const objects at an upper level.
6691
6692 Fri Sep 17 18:27:57 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
6693
6694 A few changes so that it compiles with xlC on AIX:
6695
6696 * configure.in, include/htconfig.h.in: Add check for sys/select.h.
6697 Add "long unsigned int" to the possible getpeername_length types.
6698
6699 * htdig/htdig.cc: Moved variable declaration out of case block.
6700
6701 * htlib/Connection.cc: Include sys/select.h.
6702
6703 * htcommon/WordList.cc: just a type cast
6704
6705 * htlib/regex.c: define true and false only if they aren't already
6706
6707 * htdig/Transport.{h,cc}: removed inline keywords (inline functions
6708 have to be defined and declared simultaneously)
6709
6710 * htlib/{mktime.c,regex.h,strptime.c,timegm.c}: change // comments
6711 to /* ... */
6712
6713 Tue Sep 14 01:15:48 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6714
6715 * htmerge/db.cc: Rewrite to use the WordList functions to merge
6716 the two word databases. Also make sure to load the document
6717 excerpt when adding in DocumentRefs.
6718
6719 * htmerge/docs.cc: Fix bug where ids were not added to the discard
6720 list correctly.
6721
6722 * htmerge/words.cc: Fix bug where ids were not checked for
6723 existance in the discard list correctly.
6724
6725 Sun Sep 12 12:27:16 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6726
6727 * htcommon/defaults.cc: Remove word_list since that file is no
6728 longer used.
6729
6730 * htdig/htdig.cc: Ensure -a and -i are followed for the word_db
6731 file. Fixes PR #638.
6732
6733 Sat Sep 11 00:11:28 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6734
6735 * htlib/StringMatch.h: Add back mistakenly deleted #ifndef/#define.
6736
6737 Fri Sep 10 23:07:43 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6738
6739 * htmerge/*, htcommon/*, htdig/*, htlib/*: Add copyright information.
6740
6741 Fri Sep 10 11:33:50 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6742
6743 * htnotify/htnotify.cc: Add copyright information.
6744
6745 * htsearch/* htfuzzy/*: Ditto.
6746
6747 Fri Sep 10 15:24:44 1999 Loic Dachary <loic at ceic.com>
6748
6749 * htdig/Retriever.cc: change static WordList words to
6750 object member. words.Close() at end of Start function
6751 to make sure data is flushed by database.
6752
6753 * htcommon/WordList.cc (Close): test isopen to prevent
6754 ugly crash. Remove isopen test in calling functions.
6755
6756 Fri Sep 10 13:45:53 1999 Loic Dachary <loic at ceic.com>
6757
6758 * htcommon/WordList.h htcommon/WordList.cc: methods Collect
6759 and Walk that factorise the behaviour of operator [], Prefix
6760 and WordRefs.
6761
6762 * htcommon/WordList.h htcommon/WordList.cc: method Dump to
6763 dump an ascii version of the word database.
6764
6765 * htcommon/WordReference.h,htcommon/WordReference.cc: method Dump
6766 to write an ascii version of a word.
6767
6768 * htdig/htdig.cc: -t now also dump word database in ascii as
6769 well.
6770
6771 * htdoc/attrs.html,cf_byprog.html,cf_byname.html: added doc
6772 for word_dump
6773
6774 Thu Sep 9 20:30:18 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6775
6776 * htfuzzy/Fuzzy.h, htfuzzy/Fuzzy.cc, htfuzzy/Prefix.cc,
6777 htfuzzy/Regex.cc, htfuzzy/Speling.cc, htfuzzy/Substring.cc,
6778 htfuzzy/htfuzzy.cc, htfuzzy.h: Change to use WordList code instead
6779 of direct access to the database.
6780
6781 Thu Sep 9 14:55:59 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
6782
6783 * contrib/parse_doc.pl: fix bug in pdf title extraction.
6784
6785 Tue Sep 7 23:49:41 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6786
6787 * htdig/ExternalParser.h, htdig/ExternalParser.cc (parse): Change
6788 parsing of location to allow phrase searching -- location is *not*
6789 just 0-1000.
6790
6791 * htdig/Plaintext.h, htdig/Plaintext.cc, htdig/PDF.cc: Ditto.
6792
6793 * htdig/Retriever.h, htdig/Retriever.cc: Don't call
6794 HtStripPunctuation. This is now done in the WordList::Word method.
6795
6796 * htcommon/WordList.h htcommon/WordList.cc (Prefix): New method to
6797 do prefix retrievals. Essentially the same as [], except the loop
6798 is broken only in the unlikely event that we retrieve something
6799 beyond the range set.
6800 (Exists): New method for checking the existance of a
6801 string--attempt to retrieve it and determine if anything's
6802 actually there.
6803 (Word): Call HtStripPunctuation as part of the cleanup.
6804
6805 Tue Sep 7 21:37:44 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6806
6807 * htcommon/defaults.cc: Add new configuration option
6808 removed_unretrieved_urls to remove docs that have not been accessed.
6809
6810 * htmerge/docs.cc (convertDocs): Use it.
6811
6812 * htcommon/defaults.h, htcommon/WordRecord.h,
6813 htcommon/WordReference.h: Add copyright notice to head of file.
6814
6815 Mon Sep 6 10:32:59 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6816
6817 * htlib/HtZlibCodec.h, htlib/HtZlibCodec.cc(instance): New method
6818 as used in other codecs.
6819 (encode, decode): Fix compilation errors.
6820
6821 * htlib/Makefile.am: Added HtZlibCodec.cc to the compilation list.
6822
6823 * htcommon/DocumentDB.cc (ReadExcerpt): Call HtZlibCodec to decompress
6824 the excerpt.
6825 (Add): Call HtZlibCodec to compress the excerpt before storing.
6826 (Open, Read): If the databases are
6827 already open, close them first in case we're opening under a
6828 different filename.
6829 (CreateSearchDB): Remove call to external
6830 sort program. Database is already sorted by DocID.
6831
6832 * configure.in, configure: Remove check for external sort
6833 program. No longer necessary.
6834
6835 * */Makefile.in: Regenerate using automake.
6836
6837 Sun Sep 5 13:50:34 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6838
6839 * htmerge/docs.cc: Ensure a document with empty excerpt has
6840 actually been retrieved. Otherwise document stubs are always
6841 removed.
6842
6843 * htlib/String.cc: Implement the nocase_compare method.
6844
6845 * htcommon/WordReference.cc: Implement a compare method for
6846 WordRefs to use in sorting. Uses the above.
6847
6848 * htcommon/DocumentRef.h, htcommon/DocumentRef.cc: Update the
6849 headers.
6850
6851 * htcommon/DocumentDB.h: Ditto.
6852
6853 Sun Sep 5 01:37:27 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6854
6855 * htcommon/WordList.cc(Flush): Call Add() instead of storing the
6856 data ourselves. Additionally, don't open the database ourself (and
6857 then close it), instead call Open() if it's not open already.
6858
6859 * htcommon/DocumentRef.h, htcommon/DocumentRef.cc(AddDescription):
6860 Pass in a WordList to use when adding link text words. Ensures
6861 that the word db is never opened twice for writing.
6862
6863 * htdig/Retriever.cc: Call AddDescription as above.
6864
6865 * htdig/Server.cc(ctor): If debugging, write out an entry for the
6866 robots.txt file.
6867
6868 * htlib/HtHeap.cc(percolateUp): Fix a bug where the parent was not
6869 updated when moving up more than once.
6870 (pushDownRoot): Fix a bug where the root was inproperly pushed
6871 down when it required looping.
6872
6873 Fri Sep 3 16:23:23 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6874
6875 * htlib/HtHeap.cc(Remove): Correct bug where after a removal, the
6876 structure was not "re-heapified" correctly. The last item should
6877 be moved to the top and pushed down.
6878 (pushDownRoot): Don't move items past the size of the underlying
6879 array.
6880
6881 * htdig/Server.h, htdig/Server.cc: Change _paths to work on a
6882 heap, based on the hopcount. Ensures on a given server that the
6883 indexing will be done in level-order by hopcount.
6884
6885 Wed Sep 01 15:40:37 1999 Loic Dachary <loic at ceic.com>
6886
6887 * test: implement minimal tests for htsearch and htdig
6888
6889 Tue Aug 31 02:17:04 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6890
6891 * htcommon/WordRecord.h: Change back to struct to ensure integrity
6892 when compressed and stored in the word database.
6893
6894 * htcommon/WordList.cc (Flush): Use HtPack to compress the
6895 WordRecord before storage.
6896 ([], WordRefs): Use HtUnpack to decompress the WordRecord after
6897 storage.
6898
6899 Sun Aug 29 00:42:07 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6900
6901 * htsearch/htsearch.cc (convertToBoolean): Remove debugging
6902 strings.
6903
6904 * htsearch/parser.h: Add new method score(List) to merge scoring
6905 for both standard and phrase searching.
6906
6907 * htsearch/parser.cc(phrase): Keep the current list of successful
6908 matched words around to pass to score and perform_phrase.
6909 (perform_phrase): Naively (and slowly, but correctly) loop through
6910 past words to make sure they match DocID as well as successive locations.
6911 Move scoring to score().
6912 (perform_push): Move scoring to score().
6913 (score): Loop through a list of WordReferences and create a list
6914 of scored DocMatches.
6915
6916 Sun Aug 29 00:33:17 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6917
6918 * htsearch/htsearch.cc(createLogicalWords): Hack to produce
6919 correct output with phrase searching (e.g. anything in quotes is
6920 essentially left alone). Ensure the StringMatch pattern includes
6921 the phrase with correct spacing as well.
6922 (setupWords): Add a " token whenever it occurs in the query.
6923 (convertToBoolean): Make sure booleans are not inserted into
6924 phrases.
6925
6926 * htsearch/parser.h: Add new methods phrase and perfor_phrase to
6927 take care of parsing phrases and performing the actual matching.
6928
6929 * htsearch/parser.cc(lexan): Return a '"' when present for phrase
6930 searching.
6931 (factor): Call phrase() before parsing a factor--phrases are the
6932 highest priority, so ("RedHat Linux" & Debian) ! Windows makes
6933 sense.
6934 (phrase): New method--slurps up the rest of a phrase and calls
6935 perform_phrase to do the matching.
6936 (perform_phrase): New method--currently just calls perform_and to
6937 give the simulation of a phrase match.
6938
6939 Sat Aug 28 15:57:53 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6940
6941 * htdig/Server.h, htdig/Server.cc: Undo yesterdays change -- still
6942 very buggy and shouldn't be used yet.
6943
6944 * htdig/Retriever.cc (parse_url): Change default index to 1 to
6945 more closely match DocIDs shown with verbose output.
6946
6947 * htsearch/DocMatch.h: Change score to double and clean up
6948 headers.
6949
6950 * htcommon/WordRecord.h: Change unnecessary long ints (id and
6951 flags) to plain ints.
6952
6953 * htdig/HTML.cc (parse): Call got_word with actual word sequence
6954 (i.e. 1, 2, 3...) rather than scaling to 1-1000 by character
6955 offset.
6956
6957 * htlib/Database.h, htlib/DB2_db.h, htlib/DB2_hash.h: Change
6958 Get_Item to Get_Next(String item) to return the data as a
6959 reference. This makes it easier to use in a loop and cuts the
6960 database calls in half.
6961
6962 * htlib/DB2_db.cc, htlib/DB2_hash.cc: Implement it, making sure we
6963 keep the possibly useful data around, rather than tossing it!
6964
6965 * htsearch/htsearch.cc(htsearch): Don't attempt to open the word db
6966 ourselves. Instead, pass the filename off to the parser, which
6967 will do it through WordList.
6968
6969 * htsearch/parser.h: Use a WordList instead of a generic Database.
6970
6971 * htsearch/parser.cc(perform_push): Use the WordList[] operator to
6972 return a list of all matching WordRefs and loop through, summing
6973 the score.
6974
6975 * htcommon/WordList.cc (Flush): Don't use HtPack on the
6976 data--somehow when unpacking, there's a mismatch of sizes.
6977 (Read): Fix thinko where we attempted to open the database as a
6978 DB_HASH.
6979 ([]): Don't use HtUnpack since we get mismatches. Use the new
6980 Get_Next(data) call instead of calling Get_Item separately.
6981 (WordRefs): Same as above.
6982
6983 Fri Aug 27 09:44:09 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6984
6985 * htdig/Retriever.cc (Need2Get): Remove duplicate detection code for
6986 local_urls. The code is somewhat buggy and should be replaced by
6987 more general code shortly.
6988
6989 * htdig/Server.h, htdig/Server.cc (push, pop): Change _paths to a
6990 HtHeap sorted on hopcount first (and order placed on heap
6991 second). Ensures that on each server, the order indexed is
6992 guaranteed to be level-order by hopcount.
6993
6994 * htdig/URLRef.h, htdig/URLRef.cc (compare): Add comparison method
6995 to enable sorting by hopcount.
6996
6997 Fri Aug 27 09:36:35 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
6998
6999 * htcommon/WordList.h, htcommon/WordList.cc (WordList): Change
7000 words to a list instead of a dictionary for minor speed improvement.
7001
7002 Thu Aug 26 11:18:20 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7003
7004 * htcommon/defaults.cc, htdoc/attrs.html: increase default
7005 maximum_word_length to 32.
7006
7007 Wed Aug 25 16:50:16 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7008
7009 * htdig/Retriever.cc(got_word): add code to check for compound words
7010 and add their component parts to the word database.
7011 * htdig/PDF.cc(parseString), htdig/Plaintext.cc(parse): Don't strip
7012 punctuation or lowercase the word before calling got_word. That
7013 should be left up to got_word & Word methods.
7014
7015 * htlib/StringMatch.h, htlib/StringMatch.cc(Pattern, IgnoreCase):
7016 Add an IgnorePunct() method, which allows matches to skip over valid
7017 punctuation, change Pattern() and IgnoreCase() to accomodate this.
7018 * htsearch/htsearch.cc(main, createLogicalWords): use IgnorePunct()
7019 to highlight matching words in excerpts regardless of punctuation,
7020 toss out old origPattern, and don't add short or bad words to
7021 logicalPattern.
7022
7023 * htlib/HtWordType.h, htlib/HtWordType.cc(Initialize): set up and
7024 use a lookup table to speed up HtIsWordChar() and HtIsStrictWordChar().
7025
7026 Mon Aug 23 10:13:05 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7027
7028 * htdig/HTML.cc(parse): fix problems with null pointer when attempting
7029 SGML entity decoding on bare &, as reported by Vadim Chekan.
7030
7031 Thu Aug 19 11:52:06 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7032
7033 * htsearch/htsearch.cc(main): Fix to allow multiple keywords
7034 input parameter definitions.
7035
7036 * contrib/parse_doc.pl: make spaces optional in LANGUAGE = POSTSCRIPT
7037 PJL test.
7038
7039 Wed Aug 18 11:27:46 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7040
7041 * htdig/PDF.cc(parse): Fixed wrong variable name in new code.
7042 Double-Oops! (It was Friday the 13th, after all...)
7043
7044 Tue Aug 17 16:26:46 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7045
7046 * htlib/HtHeap.cc(Remove): apply Geoff's patch to fix Remove.
7047
7048 * htlib/HtVector.h, htlib/HtVector.cc(Index): various bounds overrun
7049 bug fixes and checking in Last(), Nth() & Index().
7050
7051 Mon Aug 16 13:55:10 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7052
7053 * htsearch/Display.cc(expandVariables): fix up test for &amp;
7054
7055 Mon Aug 16 12:08:57 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7056
7057 * Makefine.am, Makefile.in, installdir/Makefile.am,
7058 installdir/Makefile.in: change all remaining INSTALL_ROOT to DESTDIR.
7059
7060 Fri Aug 13 15:44:31 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7061
7062 * htdig/PDF.cc(parse): added missing ')' in new code. Oops!
7063
7064 * htlib/strptime.c, htlib/mktime.c: added #include "htconfig.h"
7065 to pick up definitions from configure program. Let's try to
7066 remember that config.h != htconfig.h!
7067
7068 Fri Aug 13 14:49:07 1999 Loic Dachary <loic at ceic.com>
7069
7070 * configure.in: removed unused HTDIG_TOP, changed AM_WITH_ZLIB
7071 by CHECK_ZLIB
7072
7073 Fri Aug 13 14:00:16 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7074
7075 * htdig/PDF.cc(parse), htcommon/defaults.cc, htdoc/attrs.html
7076 (pdf_parser): Removed -pairs option from default arguments, added
7077 special test for acroread to decide whether to use output file or
7078 directory as last argument (also adds -toPostScript if missing).
7079 Program now tries to test for existance of parser before trying
7080 to call it.
7081
7082 Fri Aug 13 10:10:16 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7083
7084 * htdoc/attrs.html(pdf_parser): updated xpdf version number.
7085
7086 Thu Aug 12 17:09:37 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7087
7088 * contrib/parse_doc.pl: updated for xpdf 0.90, plus other fixes.
7089
7090 Thu Aug 12 11:12:07 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7091
7092 * htdoc/attrs.html(logging): added Geoff's description of log lines.
7093
7094 Thu Aug 12 11:21:12 1999 Loic Dachary <loic at ceic.com>
7095
7096 * strptime fixes : AC_FUNC_STRPTIME defined in acinclude.m4 and used in configure.in,
7097 conditional compilation of strptime.c (only if HAVE_STRPTIME not defined),
7098 removed Htstrptime (strptime.c now defines strptime), changed all calls to Htstrptime
7099 to calls to strptime.
7100
7101 Wed Aug 11 16:59:41 1999 Loic Dachary <loic at ceic.com>
7102
7103 * */Makefile.am: use -release instead of -version-info because nobody
7104 wants to bother with published shared lib interfaces version numbers
7105 at present.
7106
7107 * htlib/Makefile.am: added langinfo.h
7108
7109 Wed Aug 11 15:00:07 1999 Loic Dachary <loic at yoda.ceic.com>
7110
7111 * acconfig.h: removed MAX_WORD_LENGTH
7112
7113 * re-run auto* to make sure chain is consistent
7114
7115 * Makefile.am: improve distclean for tests
7116
7117 Wed Aug 11 13:46:22 1999 Loic Dachary <loic at yoda.ceic.com>
7118
7119 * configure.in: change --enable-test to --enable-tests so
7120 that Berkeley DB tests are not activated. Since they depend
7121 on tcl this can be a pain.
7122
7123 * acinclude.m4: AM_PROG_TIME locate time command + find out
7124 if verbose output is -l (freebsd) or -v (linux)
7125
7126 Wed Aug 11 13:13:39 1999 Loic Dachary <loic at yoda.ceic.com>
7127
7128 * acinclude.m4 : AM_WITH_ZLIB autoconf macro for zlib detection that
7129 allows --with-zlib=DIR to specify the install root of zlib,
7130 --without-zlib to prevent inclusion of zlib. If nothing
7131 specified zlib is searched in /usr and /usr/local.
7132 --disable-zlib is replaced with --without-zlib.
7133
7134 * configure.in,configure,aclocal.m4,db/dist/acinclude.m4,
7135 db/dist/aclocal.m4,db/dist/configure,db/dist/configure.in:
7136 changed to use AM_WITH_ZLIB
7137
7138 Tue Aug 10 21:14:34 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7139
7140 * htsearch/Display.cc (outputVariable): Fix compilation error with
7141 assignment between char * and char *.
7142
7143 * htsearch/htsearch.cc (main): Use cleaner trick to sidestep
7144 discarding const char * as suggested by Gilles.
7145
7146 Tue Aug 10 17:24:12 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7147
7148 * htsearch/Display.cc(expandVariables): clean up, simplify and
7149 label lexical analyzer states.
7150
7151 Tue Aug 10 17:04:54 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7152
7153 * htsearch/Display.cc(expandVariables, outputVariable): add handling
7154 for $%(var) and $&(var) in templates. Still to be documented.
7155
7156 Tue Aug 10 20:13:52 1999 Loic Dachary <loic at yoda.ceic.com>
7157
7158 * db/mp/mp_bh.c: fixed HAVE_ZLIB -> HAVE_LIBZ
7159
7160 Tue Aug 10 17:58:01 1999 Loic Dachary <loic at yoda.ceic.com>
7161
7162 * configure,configure.in,db/dist/configure.in,db/dist/configure:
7163 added --with-zlib configure flag for htdig to specify zlib
7164 installation path. Motivated to have compatible tests between
7165 htdig and db as far as zlib is concerned. Otherwise configuration
7166 is confused and miss an existing libz.
7167
7168 Tue Aug 10 17:44:49 1999 Loic Dachary <loic at yoda.ceic.com>
7169
7170 * db/mp/mp_fopen.c: fixed cmpr_open called even if libz not here
7171
7172 Tue Aug 10 17:40:53 1999 Loic Dachary <loic at yoda.ceic.com>
7173
7174 * htlib/langinfo.h: header missing on FreeBSD-3.2, needed
7175 by strptime.c
7176
7177 Tue Aug 10 11:43:14 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7178
7179 * htdig/HTML.h, htdig/HTML.cc(parse, do_tag): fix problems with
7180 SGML entity decoding, add decoding of entities within tag attributes.
7181
7182 Mon Aug 9 21:13:50 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7183
7184 * htdig/HtHTTP.h(SetRequestMethod): Fix declaration to be void.
7185
7186 * htdig/Transport.h(GetRequestMaxDocumentSize): Fix declaration to
7187 return int.
7188
7189 * htdig/Retriever.cc(got_href): Fix mistake in hopcount
7190 calculations. Now returns the correct hopcount even for pages
7191 when a faster path is found. (Still need to change indexing to
7192 sort on hopcount).
7193
7194 * htsearch/htsearch.cc(main): Fix compiler error in gcc-2.95 when
7195 discarding const by using strcpy. It's a hack, hopefully there's a
7196 better way.
7197
7198 Mon Aug 9 17:23:15 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7199
7200 * htlib/URL.cc(ServerAlias): fix small memory leak in new default
7201 path code (don't need to allocate new from string each time).
7202
7203 * htlib/cgi.cc(init): Fix PR#572, where htsearch crashed if
7204 CONTENT_LENGTH was not set but REQUEST_METHOD was.
7205
7206 * htfuzzy/Fuzzy.cc(getWords), htfuzzy/Metaphone.cc(vscode):
7207 Fix Geoff's change of May 15 to Fuzzy.cc, add test to vscode macro
7208 to stay in array bounds, so non-ASCII letters to cause segfault.
7209 Should fix PR#514.
7210
7211 Mon Aug 9 17:03:45 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7212
7213 * include/htconfig.h.in, htcommon/WordList.cc(Word,Flush&BadWordFile),
7214 htcommon/DocumentRef.cc(AddDescription), htcommon/defaults.cc,
7215 htsearch/parser.cc(perform_push), htdoc/attrs.html,
7216 htdoc/cf_byname.html, htdoc/cf_byprog.html:
7217 Convert the MAX_WORD_LENGTH compile-time option into the run-time
7218 configuration attribute maximum_word_length. This required reinserting
7219 word truncation code that had been taken out of WordList.cc.
7220
7221 Mon Aug 9 16:34:14 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7222
7223 * htdig/HtHTTP.cc (isParsable): allow application/pdf as parsable,
7224 to use builtin PDF code.
7225
7226 * htdig/HtHTTP.cc (ParseHeader),
7227 htdig/Document.cc (readHeader): clean up header parsing.
7228
7229 * htdig/Document.cc (getdate): make tm static, so it's initialized
7230 to zeros. Should fix PR#81 & PR#472, where strftime() would crash
7231 on some systems. Idea submitted by benoit.sibaud at cnet.francetelecom.fr
7232
7233 * htlib/URL.cc (parse): fix PR#348, to make sure a missing or invalid
7234 port number will get set correctly.
7235
7236 Mon Aug 9 15:42:41 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7237
7238 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
7239 Added descriptions for attributes that were missing, added a few
7240 clarifications, and corrected a few defaults and typos.
7241 Covers PR#558, PR#626, and then some.
7242
7243 * configure.in, configure, include/htconfig.h.in, htlib/regex.c:
7244 PR#545 fixed - configure tests for presence of alloca.h for regex.c
7245
7246 Sat Aug 07 13:40:17 1999 Loic Dachary <loic at ceic.com>
7247
7248 * configure.in: remove test for strptime. Run autoconf + autoheader.
7249
7250 * htlib/HtDateTime.cc: always use htdig strptime, do not try to use
7251 existing function in libc.
7252
7253 * htlib/HtDateTime.h: move inclusion of htconfig.h on top of file,
7254 change #ifdef HAVE_CONFIG to HAVE_CONFIG_H
7255
7256 Fri Aug 6 16:37:33 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7257
7258 * htdig/Document.cc (UseProxy): fix call to match() and test of
7259 return value to work as documented for http_proxy_exclude (PR#603).
7260
7261 Fri Aug 06 15:06:23 1999 <loic at yoda.ceic.com>
7262
7263 * db/dist/config.hin, db/mp/mp_cmpr.c db/db/db.c, db/mp/mp_fopen.c:
7264 disable compression if zlib not found by configure.
7265
7266 Thu Aug 05 12:27:15 1999 <loic at yoda.ceic.com>
7267
7268 * test/dbbench.cc: invert -z and -Z for consistency
7269
7270 * test/Makefile.am: add dbbench call examples
7271
7272 Thu Aug 05 11:38:58 1999 Loic Dachary <loic at ceic.com>
7273
7274 * test/Makefile.am: all .html go in distribution, compile dbbench
7275 that tests Berkeley DB performances.
7276
7277 * configure.in/Makefile.am: conditional inclusion of the test
7278 directory in the list of subdirs (--enable-test). The list
7279 of subdirs is now @HTDIGDIRS@ in configure.in & Makefile.am
7280
7281 * db/*: Transparent I/O compression implementation. Defines the DB_COMPRESS flag.
7282 For instance DB_CREATE | DB_COMPRESS.
7283
7284 * db/db_dump/load: add -C option to specify cache size to db_dump/db_load
7285
7286 Wed Aug 4 22:57:27 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7287
7288 * db/*: Import of Sleepycat's Berkeley DB 2.7.5.
7289
7290 Wed Aug 4 22:40:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7291
7292 * contrib/htparsedoc/htparsedoc: Add in contributed bug fixes from
7293 Andrew Bishop to work on SunOS 4.x machines.
7294
7295 Wed Aug 4 01:58:52 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7296
7297 * COPYING, htdoc/COPYING, configure.in, Makefile.am, Makefile.in:
7298 Update information to use canonical version of the GPL from the
7299 FSF. In particular, this version has the correct mailing address
7300 of the FSF.
7301
7302 Mon Aug 02 11:28:00 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
7303
7304 * htlib/htString.h, htlib/String.cc : added the possibility to
7305 insert an unsigned int into a string.
7306 * htdig.cc : with verbose mode shows start and end time.
7307
7308 Thu Jul 22 18:10:00 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
7309
7310 * htdig/Transport.cc, htdig/HtHTTP.cc : modified the destructors.
7311
7312 Thu Jul 22 13:10:00 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
7313
7314 * htdig/Transport.cc, htdig/Transport.h, htdig/HtHTTP.cc,
7315 htdig/HtHTTP.h: Re-analyzed inheritance methods and attributes of
7316 the 2 classes. This is a first step, not definitive ... cos it
7317 still doesn't work as I hope.
7318
7319 Tue Jul 20 11:21:52 1999 <loic at ceic.com>
7320
7321 * configure.in : added AM_MAINTAINER_MODE to prevent unwanted
7322 dependencies check by default.
7323
7324 * db/Makefile.in : remove Makefile when distclean
7325
7326 Mon Jul 19 13:23:53 1999 <loic at ceic.com>
7327
7328 * Makefile.config (INCLUDES): added -I$(top_srcdir)/include because
7329 automatically -I../include is not good, added -I$(top_builddir)/db/dist
7330 because some db headers are configure generated (if building in a
7331 directory that is not the source directory).
7332
7333 * rename db/Makefile db/Makefile.in: otherwise it does not show
7334 up if if building in a directory that is not the source directory.
7335
7336 Mon Jul 19 13:02:22 1999 <loic at ceic.com>
7337
7338 * .cvsignore: do not ignore Makefile.config
7339
7340 Sun Jul 18 22:47:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7341
7342 * htsearch/parser.cc: Eliminated compiler errors. Currently
7343 returns no matches until bugs in the WordList code are fixed.
7344
7345 Sun Jul 18 22:42:04 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7346
7347 * htmerge/htmerge.h: Cleanup, including WordRecord and
7348 WordReference as needed.
7349
7350 * htmerge/htmerge.cc: Update for files necessary for merge
7351 calls.
7352 Call convertDocs before mergeWords so that the discardList gets
7353 the list of documents deleted.
7354
7355 * htmerge/docs.cc: Update for difference in calling order.
7356
7357 * htmerge/words.cc: Update (and significant cleanup) since
7358 WordList writes directly to db.words.db. Iterate over the stored
7359 words, deleting those from deleted documents.
7360
7361 * htmerge/db.cc: Update to eliminate compiler errors. Currently
7362 disabled until bugs in the words code are fixed.
7363
7364 Sun Jul 18 22:33:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7365
7366 * htcommon/defaults.cc: Collapse the multiple heading_factors into
7367 one. (It's prohibitive to define a flag for each h* tag).
7368 Add a new url_factor for the text of URLs (presently unused).
7369
7370 * htcommon/DocumentRef.cc(AddDescription): Use FLAG_LINK_TEXT as
7371 defined in htcommon/WordRecord.h.
7372
7373 * htdig/Retriever.h: Change factor to accomodate flags instead of
7374 weighting factors.
7375
7376 * htdig/Retriever.cc: Update to use flags, and define the indexed
7377 flags in factor as appropriate.
7378
7379 * htdig/HTML.cc: Update calls to got_word with appropriate new
7380 offsets into factor[].
7381
7382 Sun Jul 18 22:18:16 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7383
7384 * htcommon/WordReference.h, htcommon/WordRecord.h: Update to use
7385 flags instead of weight.
7386
7387 * htcommon/WordList.h, htcommon/WordList.cc: Add database access
7388 routines to match DocumentDB.cc.
7389 (Word): Recognize flags instead of weight, simply add the
7390 word. (Duplicates expected!)
7391 (mark*): Simply delete the list of words.
7392 (flush): Rather than dump to a text file, dump directly to the db.
7393
7394 Sun Jul 18 21:50:04 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7395
7396 * htlib/Database.h, htlib/DB2_db.h, htlib/DB2_hash.h: Add new
7397 method Get_Item to access the data of the current item when using
7398 Get_Next() or Get_Next_Seq().
7399
7400 * htlib/DB2_db.h, htlib/DB2_hash.cc: Implement Get_Item() using
7401 cursor access.
7402
7403 Sat Jul 17 12:59:01 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7404
7405 * test/*.html: Added various HTML files as the beginnings of a
7406 testing suite.
7407
7408 Fri Jul 16 16:06:27 1999 Loic Dachary <loic at ceic.com>
7409
7410 * All libraries (except db) use libtools. Shared libraries are
7411 generated by default. --disable-shared to get old behaviour.
7412 Libraries are installed in all cases.
7413
7414 * Change structure of default installation directory (match
7415 standard).
7416 database : var/htdig
7417 programs : bin
7418 libraries : lib
7419
7420 Like default apache:
7421 conf : conf
7422 htdocs : htdocs/htdig
7423 cgi-bin : cgi-bin
7424
7425 * Switch all Makefile.in into Makefile.am
7426
7427 * CONFIG.in CONFIG : removed. Replaced with --with- arguments in
7428 configure.in
7429
7430 * Makefile.config.in removed, only keep Makefile.config : automake
7431 automatically defines variables for each AC_SUBST variables.
7432 Makefile.config has HTLIBS + DEFINES
7433
7434 * db/Makefile : added to forward (clean all distclean) targets to
7435 db/dist and implement distdir target.
7436
7437 * acconfig.h : created to allow autoheader to work (contains GETPEERNAME_LENGTH_T
7438 HAVE_BOOL, HAVE_TRUE, HAVE_FALSE, NEED_PROTO_GETHOSTNAME). Extra definitions
7439 added before @TOP@ (TRUE, FALSE, VERSION, MAX_WORD_LENGTH, LOG_LEVEL, LOG_FACILITY).
7440
7441 * installdir/Makefile.am : installation rules moved from Makefile.am to installdir/Makefile.am
7442
7443 * include/Makefile.am : distribute htconfig.h.in and stamp-h.in
7444
7445 * Makefile.am : do not pre-create the directories, creation is done during the installation
7446
7447 * configure.in: CF_MAKE_INCLUDE not needed anymore : automake handles
7448 the include itself.
7449
7450 Fri Jul 16 13:04:27 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7451
7452 * htdig/HTML.cc(parse): fix to prevent closing ">" from being passed
7453 to do_tag().
7454
7455 Thu Jul 15 21:25:12 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7456
7457 * htdig/Document.cc (readHeader, getParsable): Add back
7458 application/pdf to use builtin PDF code.
7459
7460 * htdig/Makefile.in: Remove broken Postscript parser as it never
7461 worked.
7462
7463 * htlib/URL.cc (normalizePath, path): Use config.Boolean as
7464 pointed out by Gilles.
7465
7466 Thu Jul 15 15:54:30 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7467
7468 * htdoc/attrs.html(pdf_parser & external_parsers): add corrections &
7469 clarifications, links to relevant FAQ entries.
7470
7471 Thu Jul 15 18:00:00 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
7472
7473 * htlib/HtDateTime.cc, htlib/HtDateTime.h : added the possibility
7474 to initialize and compares HtDateTime with integers. Added the
7475 constructor HtDateTime (int) and various operator overloading methods.
7476
7477 Wed Jul 14 22:57:14 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7478
7479 * htlib/URL.cc (normalizePath, path): If not case_sensitive,
7480 lowercase the URL. Should ensure that all URLs are appropriately
7481 lowercased, regardless of where they're generated.
7482
7483 Wed Jul 14 22:37:47 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7484
7485 * htlib/DB2_db.cc (OpenReadWrite, OpenRead): Add flag DB_DUP to
7486 database to allow storage of duplicate keys (in this case,
7487 words).
7488
7489 Tue Jul 13 15:36:40 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7490
7491 * htdig/HTML.cc (do_tag): Fix handling of <link> and <area>,
7492 to use href= instead of src=.
7493
7494 Mon Jul 12 22:31:48 1999 Hanno Mueller <kontakt at hanno.de>
7495
7496 * contrib/scriptname/results.shtml: Remove unintentional $(VERSION).
7497
7498 Mon Jul 12 22:20:40 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7499
7500 * htdig/HTML.cc (do_tag): Cleanups suggested by Gilles, combining
7501 <link> and <area>, <embed> <object> and <frame> and moving <img>
7502 to a separate case.
7503
7504 Sun Jul 11 19:32:38 1999 Hanno Mueller <kontakt at hanno.de>
7505
7506 * contrib/README: Add scriptname directory.
7507
7508 * contrib/scriptname/*: An example of using htsearch within
7509 dynamic SSI pages
7510
7511 * htcommon/defaults.cc: Add script_name attribute to override
7512 SCRIPT_NAME CGI environment variable.
7513
7514 * htdoc/FAQ.html: Update question 4.7 based on including htsearch
7515 as a CGI in SSI markup.
7516
7517 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html,
7518 htdoc/hts_templates.html: Update based on behavior of script_name
7519 attribute.
7520
7521 * htsearch/Display.cc: Set SCRIPT_NAME variable to attribute
7522 script_name if set and CGI environment variable if undefined.
7523
7524 Sat Jul 10 00:22:34 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7525
7526 * htfuzzy/Regex.cc (getWords): Anchor the match to the beginning
7527 of string, add regex-interpeted characters to extra_word_chars
7528 temporarily, and strip remaining punctuation before making a match.
7529
7530 Fri Jul 9 22:35:57 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7531
7532 * htsearch/Display.cc: Back out change of June 24.
7533
7534 * htsearch/htsearch.cc: Ditto.
7535
7536 * htsearch/htsearch.cc (setupWords): Remove HtStripPunctuation in
7537 favor of requiring Fuzzy classes to strip whatever punctuation is
7538 necessary.
7539
7540 * htfuzzy/Fuzzy.h: Add HtWordType.h to #includes and update comments.
7541
7542 * htfuzzy/Synonym.cc, htfuzzy/Substring.cc, htfuzzy/Speling.cc,
7543 htfuzzy/Prefix.cc, htfuzzy/Exact.cc, htfuzzy/Endings.cc,
7544 htfuzzy/Fuzzy.cc (getWords): Call HtStripPunctuation on input before
7545 performing fuzzy matching.
7546
7547 Thu Jul 8 21:28:44 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7548
7549 * htdig/HTML.cc (do_tag): Add support for parsing <LINK> tags.
7550
7551 Mon Jul 5 16:53:23 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7552
7553 * htdig/htdig.cc (main): Insert '*' instead of username/password
7554 combination to hide credentials in process accounting.
7555
7556 Sat Jul 3 17:35:52 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7557
7558 * htdig/Transport.h(ConnectionWrite): Return value from
7559 Connection::write call.
7560
7561 * htdig/URLRef.h, htdig/URLRef.cc: Cleanup and made hopcount
7562 default consistent with 7/3 change to DocumentRef.cc
7563
7564 * htdig/Server.h, htdig/Server.cc, htdig/Retriever.cc: Cleanup and
7565 fixes to match URLRef calling interface.
7566
7567 Sat Jul 3 16:37:29 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7568
7569 * htdig/HTML.cc (do_tag): Fix <meta> robots parsing to allow
7570 multiple directives to work correctly. Fixes PR#578, as provided
7571 by Chris Liddiard <c.h.liddiard at qmw.ac.uk>.
7572
7573 Sat Jul 3 00:47:51 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7574
7575 * htdig/Makefile.in: Remove old SGMLEntities code.
7576
7577 Sat Jul 3 00:26:55 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7578
7579 * htcommon/DocumentRef.cc (Clear): Change default value of
7580 docHopCount to 0 to fix several hopcount bugs.
7581
7582 * htdig/Transport.h, htdig/Transport.cc: Changes to support URL
7583 referers as well as authentication credentials.
7584
7585 * htdig/HtHTTP.h, htdig/HtHTTP.cc(SetCredentials): Implement HTTP
7586 Basic Authentication credentials.
7587 (SetRequestCommand): Use Referer and Authentication headers if
7588 supplied.
7589
7590 Sun Jun 30 11:26:00 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
7591
7592 * htdig/Transport.h: Inserted the methods declarations regarding
7593 the connection management. The code has been moved out from the
7594 HtHTTP.h code. Also moved here the static variable 'debug'.
7595
7596 * htdig/Transport.cc: Definition of the connection management code.
7597 The code has been moved out from the HtHTTP.cc code.
7598
7599 * htdig/HtHTTP.h: Eliminated the connection management code and the
7600 static variable 'debug'. Inserted the 'modification_time_is_now' as
7601 a static variable, in order to respect the encapsulation principle.
7602
7603 * htdig/HtHTTP.cc: Eliminated the connection management code and the
7604 static variable 'debug' initialization. Inserted the
7605 'modification_time_is_now' initialization.
7606
7607 Sun Jun 27 16:29:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7608
7609 * htdig/HTML.h: Cleanup.
7610
7611 * htcommon/defaults.cc: Added default for img_alt_factor for text
7612 weighting on <IMG ALT="..." tags.
7613
7614 * htdig/Retriever.cc: Add slot for img_alt_factor.
7615
7616 * htdig/HTML.cc (do_tag): Rewrite using Configuration class to
7617 separate tag attributes.
7618 (parse): Ignore final '>' in string passed to do_tag.
7619 (do_tag): Index IMG ALT text.
7620
7621 Fri Jun 25 17:58:44 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7622
7623 * htdig/Transport.h: Fix virtual methods for Transport_Response to
7624 have defaults.
7625
7626 * htdig/HtHTTP.h: Fix class declaration of HtHTTP class to prevent
7627 syntax error. Pointed out by Gabriele.
7628
7629 * htdig/Transport.cc: Add (empty) ctor and dtor functions for
7630 Transport_Response.
7631
7632 Thu Jun 24 22:28:44 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7633
7634 * htsearch/htsearch.cc (main): Add support for form inputs
7635 configdir and commondir as contributed by Herbert Martin Dietze
7636 <herbert at fh-wedel.de>.
7637
7638 * htsearch/Display.cc (createURL): If configdir and commondir are
7639 defined, add them to URLs sent for other pages.
7640
7641 Wed Jun 23 23:00:18 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7642
7643 * htdig/HtHTTP.h, htdig/HtHTTP.cc: Make a subclass of Transport.
7644
7645 Wed Jun 23 22:08:20 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7646
7647 * htlib/Configuration.cc (Add): Handle single-quoted values for
7648 attributes.
7649
7650 Tue Jun 22 23:35:39 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7651
7652 * htdig/Transport.h, htdig/Transport.cc: Virtual classes to handle
7653 transport protocols such as HTTP, FTP, WAIS, gopher, etc.
7654
7655 * htdig/Makefile.in: Make sure they're compiled (not that there's
7656 much!)
7657
7658 * htdig/HtHTTP.h: Add htdig.h to ensure config is defined.
7659
7660 Mon Jun 21 14:33:10 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7661
7662 * htdig/Document.cc(readHeader), htdig/HtHTTP.cc(ParseHeader): fix
7663 handling of modification_time_is_now in readHeader, add similar code
7664 to ParseHeader.
7665
7666 Sun Jun 20 21:25:15 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7667
7668 * htdig/Retriever.h: Add hop parameter to got_href
7669 method. Defaults to 1.
7670
7671 * htdig/Retriever.cc(got_href): Use it instead of constant 1.
7672
7673 * htdig/HTML.cc (do_tag): Use new hop parameter to keep the same
7674 hopcount for frame, embed and object tags.
7675
7676 * htdig/Makefile.in: Make sure HtHTTP.cc is compiled.
7677
7678 * htdig/HtHTTP.cc (ctor): Add default value for _server to make
7679 prevent strange segmentation faults.
7680
7681 Fri Jun 18 09:53:30 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7682
7683 * htcommon/DocumentRef.h, htcommon/DocumentRef.cc(Clear, Deserialize):
7684 add docHeadIsSet field, code for setting and getting it.
7685 * htcommon/DocumentDB.cc(Add): only put out excerpt record if DocHead
7686 is really set.
7687 * htmerge/doc.cc(convertDocs): add missing else after code to delete
7688 documents with no excerpts.
7689 (All these changes fix the disappearing excerpts problem in 3.2.)
7690
7691 Wed Jun 16 23:04:38 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7692
7693 * htdig/Document.cc (UseProxy): Change http_proxy_exclude to an
7694 escaped regex string. Allows for much more complicated rules.
7695
7696 Wed Jun 16 16:04:07 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7697
7698 * Makefile.config.in: fix typo in name IMAGE_URL_PREFIX.
7699
7700 * htdig/Retriever.cc(IsValidURL): change handling of valids to only
7701 reject if list is not empty, give different error message.
7702
7703 Wed Jun 16 14:40:56 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7704
7705 * htsearch/htsearch.cc(main): pass StringList args to setEscaped()
7706 instead of unprocessed input[] char *'s.
7707
7708 * htsearch/Display.cc(buildMatchList): cast score to (int) in maxScore
7709 calculation, to avoid compiler warnings.
7710
7711 * htdig/htdig.cc(main): change comparison on minimalFile to avoid
7712 compiler warnings.
7713
7714 Wed Jun 16 11:30:23 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7715
7716 * htlib/HtRegex.cc(setEscaped): Fix appending of substring to avoid
7717 compiler warnings.
7718
7719 * htlib/HtDateTime.cc(SettoNow): Strip out all the nonsense that
7720 doesn't work, set Ht_t directly instead.
7721
7722 Wed Jun 16 09:58:12 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7723
7724 * configure.in, configure, Makefile.config.in: Correct handling of
7725 SEARCH_FORM variable, as Gabriele recommended.
7726
7727 Wed Jun 16 09:32:06 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7728
7729 * htlib/cgi.h, htlib/cgi.cc(cgi & init), htsearch/htsearch.cc
7730 (main & usage): allow a query string to be passed as an argument.
7731
7732 Wed Jun 16 08:43:09 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7733
7734 * htcommon/Makefile.in, htdig/Makefile.in, htfuzzy/Makefile.in,
7735 htmerge/Makefile.in, htnotify/Makefile.in: Use standard $(bindir)
7736 variable instead of $(BIN_DIR). Allows for standard configure flags
7737 to set this. (Completes Geoff's change on May 15.)
7738
7739 Tue Jun 15 14:31:50 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7740
7741 * htdig/PDF.cc(parseNonTextLine): move line that clears _parsedString,
7742 so title cleared even if rejected.
7743
7744 * htsearch/Display.cc(buildMatchList & sort): move maxScore calculation
7745 from sort to buildMatchList, so it's done even if there's only 1 match.
7746
7747 Mon Jun 14 15:01:07 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7748
7749 * htdig/Document.cc(RetrieveHTTP): Show "Unknown host" message if
7750 Connection::assign_server() fails (due to gethostbyname() failure).
7751
7752 Mon Jun 14 13:52:34 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7753
7754 * htcommon/defaults.cc, htsearch/Display.h, htsearch/Display.cc,
7755 htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html,
7756 htdoc/hts_templates.html: add template_patterns attribute, to select
7757 result templates based on URL patterns.
7758
7759 Sun Jun 13 16:29:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7760
7761 * htdig/Retriever.cc (IsValidURL): Add valid_extension list, as
7762 requested numerous times.
7763
7764 * htcommon/defaults.cc: Add config attribute valid_extensions,
7765 with default as empty.
7766
7767 Sat Jun 12 23:10:39 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7768
7769 * htcommon/DocumentRef.h: Fix thinkos introduced in change earlier
7770 today. Actually compiles correctly now.
7771
7772 Sat Jun 12 22:37:22 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7773
7774 * htdig/HtHTTP.cc (ParseHeader): Fix parsing to take empty headers
7775 into account. Fixes PR#557.
7776
7777 * htsearch/Display.h, htsearch/Display.cc (excerpt): Fix
7778 declaration to refer to first as reference--ensures ANCHOR is
7779 properly set. Fixes PR#541 as suggested by <pmb1 at york.ac.uk>.
7780
7781 * htfuzzy/Endings.cc (getWords): Fixed PR#560 as suggested by
7782 Steve Arlow <yorick at ClarkHill.com>. Solves problems with fuzzy
7783 matching on words like -ness: witness, highness, likeness... Tries
7784 to interpret words as root words before attempting stemming.
7785
7786 * installdir/search.html (Match): Add Boolean to default search
7787 form, as suggested by PR#561.
7788
7789 * htlib/URL.cc (URL): Fix PR#566 by setting the correct length of
7790 the string being matched. 'http://' is 7 characters...
7791
7792 Sat Jun 12 19:06:36 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7793
7794 * htlib/HtZlibCodec.h, htlib/HtZlibCodec.cc: New files. Provide
7795 general access to zlib compression routines when available.
7796
7797 * htcommon/DocumentRef.h, htcommon/DocumentRef.cc: Remove
7798 compression access and restore DocHead access through default
7799 methods. Compression of excerpts will occur through the
7800 HtZlibCodec classes and through the DocumentDB excerpt access.
7801
7802 Sat Jun 12 15:25:08 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7803
7804 * htmerge/docs.cc (convertDocs): Load excerpt from external
7805 database before considering it empty.
7806
7807 Sat Jun 12 14:41:54 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7808
7809 * htsearch/Display.cc (displayMatch): Added patch from Torsten
7810 Neuer <tneuer at inwise.de> to fix PR# 554.
7811
7812 * htdig/HTML.cc (do_tag): Add parsing for <embed> and <object>,
7813 including suggestions from Gilles as to condensing cases with
7814 <img> parsing.
7815
7816 Sat Jun 12 14:00:39 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7817
7818 * htdig/ExternalParser.cc (parse): Quote the filename before
7819 passing it to the command-line to prevent shell escapes. Fixes PR#542.
7820
7821 Fri Jun 11 15:59:10 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7822
7823 * htlib/URL.cc(removeIndex): use CompareWord instead of FindFirstWord,
7824 to avoid substring matches.
7825
7826 Wed Jun 2 15:51:00 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
7827
7828 * htlib/URLTrans.cc(encodeURL): Fix to ensure that non-ASCII letters
7829 get URL-encoded.
7830
7831 Mon May 31 22:40:29 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7832
7833 * htcommon/DocumentDB.cc(ReadExcerpt): Fix silly typos with methods,
7834 thinko with docID.
7835 (Add): Add the excerpt *before* the URL index is written.
7836
7837 * htdig/Retriever.cc(isValidURL): Remove code restricting URLs to
7838 relative and http://.
7839
7840 * htdig/htdig.cc(main): Unlink the doc_excerpt file when doing an
7841 initial dig.
7842 (main): Fix silly typo with minimumFile.
7843
7844 * htmerge/db.cc(mergeDB): Call DocumentDB::Open() with doc_excerpt for
7845 consistency--doesn't actually do anything with it.
7846
7847 * htmerge/docs.cc(convertDocs): Ditto. Also don't delete a
7848 document simply because it has an empty DocHead. Excerpts are now
7849 stored in a separate database!
7850
7851 * htmerge/htmerge.h: Call mergeDB and convertDocs with
7852 doc_excerpt parameter.
7853
7854 * htmerge/htmerge.cc(main): Ditto.
7855
7856 * htsearch/Display.h: Call ctor with all three doc db filenames.
7857
7858 * htsearch/Display.cc(Display): Call DocumentDB::Open with above.
7859 (excerpt): Retrieve the excerpt from the excerpt database.
7860
7861 * htsearch/htsearch.cc: Call Display::Display with all three doc
7862 db filenames.
7863
7864 Mon May 31 15:08:30 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7865
7866 * htcommon/DocumentDB.h: Add new method ReadExcerpt to read the
7867 excerpt from the separate (new) excerpt database. Change Open()
7868 and Read() methods to account for this new database.
7869
7870 * htcommon/DocumentDB.cc (Open): Open the excerpt database too.
7871 (Read): Ditto.
7872 (Close): Close it if it exists.
7873 (ReadExcerpt): Explicitly read the DocHead of this DocumentRef.
7874 (Add): Make sure DocHeads go into the excerpt database.
7875 (Delete): Make sure we delete the associated excerpt too.
7876 (CreateSearchDB): Make sure we grab the excerpt from the database.
7877
7878 * htcommon/DocumentRef.cc(Serialize): Don't serialize the DocHead
7879 field, this is done in the DocumentDB code.
7880
7881 * htcommon/defaults.cc(modification_time_is_now): Set to true to
7882 avoid problems with not setting dates when no Last-Modified:
7883 header appears.
7884 (doc_excerpt): Add new attribute for the filename of the excerpt
7885 database.
7886
7887 * htdig/HtHTTP.h: Remove incorrect virtual declarations from
7888 Request and EstablishConnection methods. Assign void return value
7889 to ResetStatistics since it doesn't return a value.
7890
7891 * htdig/htdig.cc (main): Add new "minimal" flag '-m' to only index
7892 the URLs in the supplied file. Sets hopcount to ignore links.
7893
7894 Sun May 30 19:36:15 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
7895
7896 * htlib/URL.cc (normalizePath): Fix bug that caused endless loops
7897 and core dumps when normalizing URLs with more than one of
7898 ( "/../" | "/./" | "//" | "%7E" )
7899
7900 * htlib/HtDateTime.cc (Httimegm): Call Httimegm in timegm.c unless
7901 HAVE_TIMEGM.
7902
7903 Wed May 26 23:15:46 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7904
7905 * htmerge/db.cc (mergeDB): Add patch contributed by Roman Dimov
7906 <roman at twist.mark-itt.ru> to fix problems with confusing docIDs,
7907 resulting in documents in main db removed when the corresponding
7908 DocID was supposed to be removed from the merged db.
7909
7910 Wed May 26 11:30:22 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7911
7912 * htsearch/Display.h, htsearch/Display.cc, htsearch/htsearch.cc:
7913 Switch restrict and excludes to use HtRegex instead of StringMatch.
7914
7915 * htdig/htdig.cc (main): Fix typo clobbering setting of
7916 excludes. Obviously fixes problems with badquerystr and excludes!
7917
7918 * htdig/HtHTTP.cc (ParseHeader): Change parsing to skip extra
7919 whitespace, as in 5/19 Document.cc(readHeader) change.
7920
7921 Wed May 19 22:17:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7922
7923 * htdig/HtHTTP.cc, htdig/HtHTTP.h: Add new files, contributed by
7924 Gabriele. A start at an HTTP/1.1 implementation.
7925
7926 * htdig/Document.cc (readHeader): Fix change of 5/16 to actually
7927 work! :-)
7928
7929 * htsearch/Display.cc (expandVariables): Change end-of-expansion
7930 test to include states 2 and 5 to ensure templates ending in } are
7931 still properly expanded, as suggested by Gilles.
7932
7933 Mon May 17 14:31:31 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7934
7935 * htlib/HtRegex.cc (setEscaped): Use full list of characters to
7936 escape as suggested by Gilles.
7937
7938 Sun May 16 17:27:51 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7939
7940 * htdig/Document.cc (readHeader): Since multiple whitespace
7941 characters are allowed after headers, don't use strtok.
7942 (readHeader): We no longer pretend to parse Word, PostScript, or
7943 PDF files internally.
7944 (getParsable): Don't generate PostScript or PDF objects since we
7945 no longer recommend using them.
7946
7947 Sun May 16 17:07:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7948
7949 * htlib/HtRegex.cc (setEscaped): Ensure escaping does not loop
7950 beyond the end of a string.
7951
7952 * htdig/Retriever.cc (IsValidURL): Fix badquerystr parsing to use
7953 HtRegex as expected. (Oops!)
7954
7955 * htdig/HTML.cc (parse): Use HtSGMLCodec during parsing, rather
7956 than encoding the whole document at the beginning. More consistent
7957 with previous use of SGMLEntities.
7958
7959 Sat May 15 12:57:40 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7960
7961 * htlib/URL.cc (normalizePath): Remove extra (useless) variable
7962 declarations.
7963
7964 * htlib/htString.h, htlib/String.cc: Add new method Nth to solve
7965 problems with (String *)->[].
7966
7967 * htlib/HtRegex.h, htlib/HtRegex.cc: Added new method
7968 setEscaped(StringList) to produce a pattern connected with '|' of
7969 possibly escaped strings. Strings are not escaped if enclosed in
7970 [] and the brackets are removed from unescaped regex.
7971
7972 * htdig/htdig.h: Use HtRegex instead of StringMatch for limiting
7973 by default.
7974
7975 * htdig/Retriever.cc: As above.
7976
7977 * htdig/htdig.cc(main): As above. Use setEscaped to set limits
7978 correctly (i.e. in a backwards-compatible way).
7979
7980 Sat May 15 11:24:26 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7981
7982 * htfuzzy/Speling.h, htfuzzy/Speling.cc: New files for simple
7983 spelling corection. Currently limited to transpostion and added
7984 character errors. Missing character errors to be added soon.
7985
7986 * htfuzzy/Makefile.in: Compile it.
7987
7988 * htfuzzy/Fuzzy.cc (getFuzzyByName): Use it.
7989
7990 * htcommon/defaults.cc: Add new option minimum_speling_length for
7991 the shortest query word to receive speling fuzzy
7992 modifications. Should prevent problems with valid words generating
7993 unrelated "corrections" of words. Default is 5 chars.
7994
7995 Sat May 15 11:18:27 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
7996
7997 * htfuzzy/Fuzzy.cc (getWords): Ensure word is not an empty or null
7998 string.
7999
8000 * htfuzzy/Metaphone.cc (generateKey): Ditto. Should solve PR#514.
8001
8002 * htdig/Document.cc (Reset): Do not use modification_time_is_now
8003 attribute. Simply reset modtime to 0, time is set elsewhere.
8004
8005 * Makefile.config.in: Add options from separate CONFIG files.
8006
8007 * configure.in, configure: Add configure-level switches for
8008 --with-image-url-prefix= and --with-search-form=. Do not generate
8009 CONFIG file (hopefully to be phased out soon).
8010
8011 * */Makefile.in: Make linking CONFIG-dependent files depend on
8012 Makefile.config, not CONFIG.
8013
8014 * Makefile.in: Use standard $(bindir) variable instead of
8015 $(BIN_DIR). Allows for standard configure flags to set this.
8016
8017 Tue May 11 11:15:08 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8018
8019 * htlib/HtDateTime.h, htlib/HtDateTime.cc: Updates from Gabriele,
8020 fixing SetToNow() and adding GetDiff to return the difference in
8021 time_t between two objects.
8022
8023 * htdig/Retriever.cc (Need2Get): Add patch from Warren Jones
8024 <wjones at tc.fluke.com> to keep track of inodes on local files to
8025 eliminate duplicates. Hopefully this will serve for a first-try at
8026 a signature method for HTTP as well.
8027
8028 Tue May 4 20:20:40 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8029
8030 * htfuzzy/Regex.h, htfuzzy/Regex.cc: Add new regex fuzzy
8031 algorithm, based on Substring and Prefix.
8032
8033 * htfuzzy/Fuzzy.cc (getFuzzyByName): Add it.
8034
8035 * htfuzzy/Makefile.in: Compile it.
8036
8037 * htcommon/defaults.cc: Add new attribute regex_max_words, same
8038 concept as substring_max_words.
8039
8040 * htfuzzy/Exact.cc, htfuzzy/Substring.cc, htfuzzy/Prefix.cc:
8041 Define names attribute for debugging purposes.
8042
8043 * installdir/htdig.conf: Fix the comments for search_algorithm to
8044 refer to all the current possibilities.
8045
8046 * htlib/HtRegex.cc (match): Slight cleanup of how to return.
8047
8048 Tue May 4 15:28:38 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8049
8050 * htsearch/htsearch.cc (reportError): Add e-mail of maintainer to
8051 error message. Should help direct people to the correct place.
8052
8053 * htdig/Retriever.cc (IsValidURL): Lowercase all extensions from
8054 bad_extensions as well as all extensions used in
8055 comparisons. Ensures we're using case-insenstive matching.
8056
8057 Mon May 3 23:20:22 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8058
8059 * htdig/Retriever.cc (IsValidURL): Fix typo with #else statement
8060 for REGEX.
8061
8062 * htdig/htdig.cc: Add conditionals for REGEX to use HtRegex
8063 instead of StringMatch methods when defined.
8064
8065 * htlib/HtDateTime.h: Update to remove definitions of true and
8066 false, established by May 2 change in
8067 include/htconfig.h.in as contributed by Gabriele.
8068
8069 * htlib/HtDateTime.cc: Replace call to mktime internal function to
8070 Httimegm in timegm.c, contributed by Leo.
8071
8072 * htlib/timegm.c: Declare my_mktime_gmtime_r to prevent compiler
8073 errors with incompatible gmtime structures, contributed by Leo.
8074
8075 * configure.in: Rearrange date/time checks for clarity.
8076
8077 * configure: Regenerate using autoconf.
8078
8079 * include/htconfig.in: Add HAVE_STRFTIME flag.
8080
8081 Sun May 2 18:49:04 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
8082
8083 * configure.in, include/htconfig.h.in: Added a configure test for
8084 the availability of the bool type.
8085
8086 Fri Apr 30 20:00:09 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8087
8088 * htlib/HtDateTime.h, htlib/HtDateTime.cc: Update with new
8089 versions sent by Gabriele.
8090
8091 Fri Apr 30 19:30:42 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8092
8093 * htlib/HtRegex.h, htlib/HtRegex.cc: New class, contributed by
8094 Peter D. Gray <pdg at draci.its.uow.edu.au> as a small wrapper for
8095 system regex calls.
8096
8097 * htlib/Makefile.in: Build it.
8098
8099 * htdig/htdig.h: Use it if REGEX is defined.
8100
8101 * htdig/htdig.cc: Ditto.
8102
8103 * htdig/Retriever.cc: Ditto.
8104
8105 * htsearch/Display.cc(generateStars): Remove extra newline after
8106 STARSRIGHT and STARSLEFT variables, noted by Torsten Neuer
8107 <tneuer at inwise.de>.
8108
8109 Fri Apr 30 18:52:56 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
8110
8111 * htlib/URL.cc(ServerAlias): port for server_aliases entries now
8112 defaults to 80 if omitted.
8113
8114 Wed Apr 28 19:57:38 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8115
8116 * htlib/HtDateTime.h, htlib/HtDateTime.cc: New class, contributed
8117 by Gabriele.
8118
8119 * htlib/Makefile.in: Compile it.
8120
8121 * README: Update message from 3.1.0 (oops!) to 3.2.0, remove rx
8122 directory.
8123
8124 * installdir/htdig.conf: Add example of no_excerpt_show_top
8125 attribute in line with most user's expectations.
8126
8127 * contrib/README: Mention contributed section of the website.
8128
8129 * Makefile.in: Ignore mailarchive directory--now removed from CVS.
8130
8131 Wed Apr 28 10:46:31 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8132
8133 * htmerge/db.cc(mergeDB): fix a few errors in how the merge index
8134 name is obtained.
8135
8136 Tue Apr 27 23:00:39 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8137
8138 * Makefile.config.in: Remove now-useless LIBDIRS variable.
8139
8140 * mailarchive/Split.java, mailarchive/htdig: Remove ancient
8141 mailarchive stuff.
8142
8143 Tue Apr 27 18:01:52 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8144
8145 * htsearch/Display.cc(setupImages): Remove code setting URLimage to
8146 a bogus pattern (remnant left over after merge).
8147
8148 Tue Apr 27 16:43:08 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8149
8150 * htdig/Document.cc(RetrieveHTTP): Show "Unable to build connection"
8151 message at lower debug level.
8152
8153 Tue Apr 27 11:24:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8154
8155 * htsearch/Display.h: Remove sort, compare functions re-introduced
8156 in merge. Moved to ResultMatch by Hans-Peter's April 19th chnages.
8157
8158 * htsearch/Display.cc: Remove bogus call to ResultMatch:setRef,
8159 removed by Hans-Pater's April 19th changes.
8160
8161 Sat Apr 24 21:08:35 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8162
8163 * Merge in changes from 3.1.2 (see below).
8164
8165 * htcommon/WordList.cc: Change valid_word to use iscntl().
8166
8167 * htdig/Plaintext.cc: Remove CVS Log.
8168
8169 * htdig/Retriever.cc: Fix ancient bug with empty excludes list.
8170
8171 * htlib/List.cc: Remove CVS Log, use more succinct test for
8172 out-of-bounds.
8173
8174 * htsearch/Display.cc: Fix logic with starPatterns, only show top
8175 of META description.
8176
8177 * htsearch/Display.h: Introduce headers needed for sort functionality.
8178
8179 * installdir/htdig.conf: Add example max_doc_size attribute as
8180 well as example for including start_url from a file.
8181
8182 * htdoc/ChangeLog, htdoc/RELEASE.html, htdoc/FAQ.html,
8183 htdoc/where.html, htdoc/cf_byname.html, htdoc/cf_byprog.html,
8184 htdoc/uses.html, htdoc/contents.html, htdoc/mailarchive.html:
8185 Merge in documentation updates from 3.1.2.
8186
8187 Sat Apr 24 15:18:45 1999 Hans-Peter Nilsson <hp at bitrange.com>
8188
8189 * htsearch/Display.cc (sort): Return immediately if <= 1 items to
8190 sort.
8191
8192 Mon Apr 19 00:53:06 1999 Hans-Peter Nilsson <hp at bitrange.com>
8193
8194 * htsearch/ResultMatch.h (create): New. All (the only) ctor
8195 caller changed to use this.
8196 (setRef, getRef): Removed. Callers changed to use nearby data.
8197 (incomplete): Removed.
8198 (setIncompleteScore): Renamed to...
8199 (setScore): ...this. All callers changed.
8200 (setSortType): New.
8201 (getTitle, getTime, setTitle, setTime, getSortFun): New virtual
8202 functions.
8203 (enum SortType): Moved from Display, private.
8204 (mySortType): New static member.
8205
8206 * htsearch/ResultMatch.cc (mySortType): Define static member
8207 variable.
8208 (getScore): Remove handling of "incomplete". Moved to ResultMatch.h
8209 (getTitle, getTime, setTitle, setTime): New dummy functions.
8210 (class ScoreMatch, class TimeMatch, class IDMatch, class
8211 TitleMatch): Derived classes with compare functions (from Display)
8212 and extra sort-method-related members, as needed.
8213 (setSortType): New, mostly moved from Display.
8214 (create): New.
8215
8216 * htsearch/Display.h: Changed first argument from ResultMatch * to
8217 DocumentRef *.
8218 (compare, compareTime, compareID, compareTitle, enum SortType,
8219 sortType): Removed.
8220
8221 * htsearch/Display.cc (display): Call ResultMatch::setSortType and
8222 output syntax error page for invalid sort methods.
8223 (displayMatch): Change first argument from ResultMatch * to
8224 DocumentRef *ref. All callers changed.
8225 (buildMatchList): Remove call to sortType and typ variable.
8226 Always call (ResultMatch::)setTime and setTitle. Remove extra
8227 call to setID.
8228 (sort): Call (ResultMatch::)getSortFun for qsort compare function.
8229 (compare, compareTime, compareID, compareTitle, sortType): Removed.
8230
8231 Wed Apr 14 21:21:35 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
8232
8233 * htlib/regex.c: fixed compile problem with AIX xlc compiler
8234
8235 * htlib/HtHeap.h: fixed compile problem with AIX xlc compiler (bool)
8236
8237 * htlib/HtVector.h: ditto
8238
8239 * htsearch/Display.cc: fixed typo
8240
8241 Wed Apr 14 00:17:06 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8242
8243 * htsearch/Display.h: Add compareID for sorting results by DocID.
8244
8245 * htsearch/Display.cc: As above.
8246
8247 Tue Apr 13 23:50:28 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8248
8249 * htcommon/defaults.cc: Add new config option use_doc_date to use
8250 document meta information for the DocTime() field.
8251
8252 * htdig/HTML.cc(do_tag): Call Retriever::got_time if use_doc_date
8253 is set and we run across a META date tag.
8254
8255 * htdig/Retriever.h, htdig/Retriver.cc: Add new got_date
8256 function. When called, sets the DocTime field of the DocumentRef
8257 after parsing is completed. Currently assumes ISO 8601 format for
8258 the date tag.
8259
8260 Sun Apr 11 12:51:39 1999 Hans-Peter Nilsson <hp at bitrange.com>
8261
8262 * htsearch/Display.cc (buildMatchList): Delete thisRef if excluded
8263 by URL. Call setRef(NULL), not setRef(thisRef).
8264
8265 Wed Apr 7 19:35:42 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8266
8267 * htsearch/htsearch.cc(usage): Remove bogus -w flag.
8268
8269 Thu Apr 1 12:05:11 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8270
8271 * htsearch/htsearch.cc(main): Apply Gabriele's patch to avoid using an
8272 invalid matchesperpage CGI input variable.
8273
8274 * htsearch/Display.cc(display) & (setVariables): Correct any invalid
8275 values for matches_per_page attribute to avoid div. by 0 error.
8276
8277 Wed Mar 31 15:19:25 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8278
8279 * htfuzzy/Synonym.cc: Fix previous fix of minor memory leak.
8280 (db pointer wasn't properly set)
8281
8282 Mon Mar 29 10:31:09 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8283
8284 * htsearch/Display.cc(excerpt): Added patch from Gabriele to
8285 improve display of excerpts--show top of description always,
8286 otherwise try to find the excerpt.
8287
8288 Sun Mar 28 19:45:02 1999 Hans-Peter Nilsson <hp at bitrange.com>
8289
8290 * htlib/HtWordType.h (HtIsWordChar): Avoid matching 0 when using
8291 strchr.
8292 (HtIsStrictWordChar): Ditto.
8293
8294 * htdig/ExternalParser.cc (parse): Before got_href call, set
8295 hopcount of URL to that of base plus 1.
8296 Add URL to external parser error output.
8297
8298 * htlib/URL.cc (URL(char *ref, URL &parent) ): Move call to
8299 constructURL call inside previous else-clause.
8300 (parse): Reset _normal, _signature, _user initially.
8301 Commence parsing, even if no "//" is found. Do not set _normal
8302 here.
8303 (normalizePath): Call removeIndex finally.
8304
8305 * htcommon/WordRecord.h (WORD_RECORD_COMPRESSED_FORMAT)
8306 [!NO_WORD_COUNT]: Change to "cu4".
8307
8308 * htlib/HtPack.cc (htPack): Correct handling at end of code-string
8309 and end of encoding-byte. Add code 'c' for often-1 unsigned ints.
8310 (htUnpack): Add handling of code 'c'.
8311
8312 Thu Mar 25 12:18:05 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8313
8314 * installdir/long.html, installdir/short.html: Remove backslashes
8315 before quotes in HTML versions of the builtin templates.
8316
8317 * Makefile.in: Add long.html & short.html to COMMONHTML list, so
8318 they get installed in common_dir.
8319
8320 Thu Mar 25 11:56:50 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8321
8322 * htsearch/Display.cc(displayMatch), htcommon/defaults.cc,
8323 htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
8324 Add date_format attribute suggested by Marc Pohl.
8325
8326 Thu Mar 25 09:46:07 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8327
8328 * htsearch/Display.cc(displayMatch): Avoid segfault when DocAnchors
8329 list has too few entries for current anchor number.
8330
8331 Tue Mar 23 15:08:40 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8332
8333 * htsearch/Display.cc(displayMatch): Fix problem when documents
8334 did not have descriptions.
8335
8336 Tue Mar 23 14:17:14 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8337
8338 * htdig/PDF.cc(parseString): Use minimum_word_length instead of
8339 hardcoded constant.
8340
8341 Tue Mar 23 14:02:40 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8342
8343 * htdig/HTML.cc: Fix bug where noindex_start was empty, allow case
8344 insensitive matching of noindex_start & noindex_end.
8345
8346 * htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
8347 Fix inconsistencies in documentation for noindex_start & noindex_end.
8348
8349 Tue Mar 23 14:01:16 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8350
8351 * htdig/HTML.cc: Add check for <a href=...> tag that is missing a
8352 closing </a> tag, terminating it at next href.
8353
8354 Tue Mar 23 13:57:35 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8355
8356 * htdig/Document.cc: Fix check of Content-type header in readHeader(),
8357 correcting bug introduced Jan 10 (for PR#91), and check against
8358 allowed external parsers.
8359
8360 Tue Mar 23 13:54:35 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8361
8362 * htdig/HTML.cc: More lenient comment parsing, allows extra dashes.
8363
8364 Tue Mar 23 12:22:53 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8365
8366 * htlib/Configuration.cc(Add): Fix function to avoid infinite loop
8367 on some systems, which don't allow all the letters in isalnum() that
8368 isalpha() does, e.g. accented ones.
8369
8370 * htdig/HTML.cc: Fix three reported bugs about inconsistent
8371 handling of space and punctuation in title, href description & head.
8372 Now makes destinction between tags that cause word breaks and those
8373 that don't, and which of the latter add space.
8374
8375 Tue Mar 23 12:15:48 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8376
8377 * htdig/Plaintext.cc(parse): Use minimum_word_length instead of
8378 hardcoded constant.
8379
8380 Tue Mar 23 12:11:04 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8381
8382 * htmerge/words.cc(mergeWords): Fix to prevent description text
8383 words from clobbering anchor number of merged anchor text words.
8384
8385 Tue Mar 23 12:02:00 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8386
8387 * htsearch/Display.cc(generateStars): Add in support for use_star_image
8388 which was lost when template support was put in way back when.
8389
8390 Tue Mar 23 11:47:52 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8391
8392 * Makefile.in: add missing ';' in for loops, between fi & done
8393
8394 Mon Mar 22 16:06:15 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8395
8396 * htdig/HTML.cc: Check for presence of more than one <title> tag.
8397
8398 Mon Mar 22 15:32:15 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8399
8400 * contrib/parse_doc.pl: Fix handling of minimum word length.
8401
8402 Sun Mar 21 15:19:00 1999 Hans-Peter Nilsson <hp at bitrange.com>
8403
8404 * htlib/HtPack.cc (htPack): New.
8405 * htlib/HtPack.h: New.
8406 * htsearch/parser.cc (perform_push): Unpack WordRecords using
8407 htUnpack.
8408 * htsearch/htsearch.h: Add "debug" declaration.
8409 * htmerge/words.cc (mergeWords): Pack WordRecords using htPack.
8410 * htlib/Makefile.in (OBJS): Add HtPack.o
8411 * htcommon/WordRecord.h: Add WORD_RECORD_COMPRESSED_FORMAT
8412
8413 * htdig/HTML.cc (parse): Keep contents in String variable
8414 textified_contents while using its "char *".
8415
8416 * htsearch/Display.cc (excerpt): Similar for head_string.
8417
8418 Thu Mar 18 20:01:24 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8419
8420 * installdir/long.html, installdir/short.html: Write out HTML
8421 versions of the builtin templates.
8422
8423 * installdir/htdig.conf: Add commented-out template_map and
8424 template_name attributes to use the on-disk versions.
8425
8426 Tue Mar 16 03:06:06 1999 Hans-Peter Nilsson <hp at bitrange.com>
8427
8428 * htcommon/DocumentDB.cc (Delete): Fix bad parameter to Get: use
8429 key, not DocID.
8430
8431 Tue Mar 16 01:50:16 1999 Hans-Peter Nilsson <hp at bitrange.com>
8432
8433 * htlib/HtWordType.h (class HtWordType): New.
8434 * htlib/HtWordType.cc: New.
8435 * htlib/Makefile.in (OBJS): Add HtWordType.o
8436
8437 * htdoc/attrs.html: Document attribute extra_word_characters.
8438 * htdoc/cf_byprog.html: Ditto.
8439 * htdoc/cf_byname.html: Ditto.
8440
8441 * htcommon/defaults.cc (defaults): Add extra_word_characters.
8442
8443 * htsearch/htsearch.h: Lose spurious extern declaration of unused
8444 variable valid_punctuation.
8445 * htsearch/htsearch.cc (main): Call HtWordType::Initialize.
8446 (setupWords): Use HtIsWordChar, HtIsStrictWordChar and
8447 HtStripPunctuation. Do not read valid_punctuation.
8448
8449 * htsearch/Display.cc (excerpt): Use HtIsStrictWordChar.
8450
8451 * htlib/StringMatch.cc (FindFirstWord): Ditto.
8452 (CompareWord): Ditto.
8453
8454 * htdig/htdig.cc (main): Call HtWordType::Initialize.
8455
8456 * htdig/Retriever.h (class Retriever): Lose member
8457 valid_punctuation.
8458 * htdig/Retriever.cc (Retriever): Lose its initialization.
8459
8460 * htdig/Postscript.h (class Postscript): Lose member
8461 valid_punctuation.
8462 * htdig/Postscript.cc (Postscript): Lose its initialization.
8463 (flush_word): Use HtStripPunctuation.
8464 (parse_string): Use HtIsWordChar,
8465 HtIsStrictWordChar and HtStripPunctuation.
8466
8467 * htdig/Parsable.h (class Parsable): Lose member
8468 valid_punctuation.
8469 * htdig/Parsable.cc (Parsable): Lose its initilization.
8470
8471 * htcommon/WordList.cc (valid_word): Use HtIsStrictWordChar.
8472 (BadWordFile): Use HtStripPunctuation. Do not read
8473 valid_punctuation.
8474
8475 * htcommon/DocumentRef.cc (AddDescription): Use HtIsWordChar,
8476 HtIsStrictWordChar and HtStripPunctuation. Do not read
8477 valid_punctuation.
8478
8479 * htdig/PDF.cc (parseString): Similar..
8480
8481 * htdig/HTML.cc (parse): Similar.
8482
8483 * htdig/Plaintext.cc (parse): Similar.
8484
8485 Sun Mar 14 14:04:31 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8486
8487 * htlib/Makefile.in: Add HtSGMLEntites.o to OBJS.
8488
8489 Sat Mar 13 21:29:38 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8490
8491 * htcommon/DocumentDB.cc(Open, Read): Switch to DB_HASH for faster
8492 access. Most important for very quick URL lookups!
8493
8494 * htcommon/DocumentRef.cc(AddDescription): Check to see that
8495 description isn't a null string or contains only whitespace before
8496 doing anything.
8497
8498 * htlib/HtSGMLCodec.h, htlib/HtSGMLCodec.cc: Add new class to
8499 convert between SGML entities and high-bit characters.
8500
8501 * htdig/HTML.cc(parse): Use it instead of SGMLEntities.
8502
8503 * htsearch/Display.cc(excerpt): Use HtSGMLCodec to covert *back*
8504 to SGML entities before displaying.
8505
8506 * htlib/HtHeap.cc: Cleaned up comments, use more efficient
8507 procedure to build from a vector.
8508
8509 * htlib/HtWordCodec.cc(HtWordCodec): Fix bug with constructing from
8510 uninitialized variables!
8511
8512 * htlib/URL.h, htlib/URL.cc: Initial support for multiple schemes and
8513 user@host URLs.
8514
8515 * htlib/List.cc(Nth): Check for out-of-bounds requests before
8516 doing anything.
8517
8518 Fri Mar 12 00:31:03 1999 Hans-Peter Nilsson <hp at bitrange.com>
8519
8520 * htlib/mktime.c (__mon_yday): Correct size to number of
8521 initializers (2).
8522
8523 * htsearch/htsearch.cc (main): Remove doc_index handling.
8524
8525 * htsearch/ResultMatch.h (setURL): Change to setID, use int.
8526 All callers changed.
8527 (getURL): Change to getID.
8528 All callers changed.
8529 (String url): Change to "int id".
8530
8531 * htsearch/Display.h: (Display): Second parameter removed.
8532 (docIndex) removed.
8533
8534 * htsearch/Display.cc (Display, ~Display): Do not handle
8535 docIndex.
8536 (display): Use DocumentDB::operator [](int), not
8537 DocumentDB::operator [] (char *).
8538 (buildMatchList): Changed to handle ResultMatch as DocID int,
8539 instead of URL string: use DocumentDB::operator [](int), not
8540 DocumentDB::operator [] (char *). Get DocumentRef directly, then
8541 filter the URL by includeURL().
8542
8543 * htnotify/htnotify.cc (main): Use DocIDs(), not DocURLs().
8544 Handle the change from String * to IntObject *.
8545
8546 * htmerge/htmerge.cc (main): Do not delete doc_index.
8547
8548 * htmerge/docs.cc (convertDocs): Test doc_index access as
8549 read-only. Pass as parameter for docdb, do not handle separately.
8550
8551 * htmerge/docs.cc (convertDocs): Add debug messages about cause
8552 when deleting documents. If verbose > 1, write id/URL for every URL.
8553
8554 * htmerge/db.cc (mergeDB): Handle doc_index, test accessibility.
8555
8556 * htlib/IntObject.h (class IntObject): Add int-constructor.
8557
8558 * htdoc/attrs.html (doc_index): Say that mapping is from document
8559 URLs to numbers.
8560 (doc_db): Say that indexing is on document number.
8561
8562 * htdoc/cf_byprog.html (doc_index): Move from htsearch to htdig
8563 entry.
8564
8565 * htdig/htdig.cc (main): Add .work suffix to doc_index too.
8566 Unlink doc_index if initial.
8567
8568 * htcommon/DocumentDB.h (Open): New second argument.
8569 (Read): New second argument, default to 0.
8570 (operator [](int)): New.
8571 (Exists(char *), Delete(char *)): Change to int parameter.
8572 (DocIDs, i_dbf): New.
8573
8574 * htcommon/DocumentDB.cc (operator [](int)): New.
8575 (Exists(char *), Delete(char *)): Changed to DocID int parameter.
8576 All callers changed.
8577 (URLs): Assume keys are ok without probing for documents
8578 with each key.
8579 (DocIDs): New.
8580 (Open): Take an index database file name as second argument.
8581 All callers changed.
8582 (Read): Similar, accept 0.
8583 (all): Change to index on DocID.
8584
8585 Wed Mar 10 02:25:24 1999 Hans-Peter Nilsson <hp at bitrange.com>
8586
8587 * htdoc/attrs.html (template_name): Typo; used by htsearch, not
8588 htdig.
8589
8590 Mon Mar 8 13:30:44 1999 Hans-Peter Nilsson <hp at bitrange.com>
8591
8592 * htdig/Retriever.cc (got_href): Check if the ref is for the
8593 current document before adding it to the db.
8594
8595 Mon Mar 8 01:36:38 1999 Hans-Peter Nilsson <hp at bitrange.com>
8596
8597 * htlib/DB2_db.cc: Remove errno.
8598 * htlib/DB2_hash.cc: Ditto.
8599
8600 Sun Mar 7 20:50:37 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8601
8602 * htfuzzy/EndingsDB.cc(createDB): Use link and unlink to move,
8603 rather than a non-portable system call.
8604
8605 * htcommon/DocumentRef.h, htcommon/DocumentRef.cc: Fix #ifdef
8606 problems with zlib.
8607
8608 Sun Mar 7 09:39:37 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8609
8610 * htlib/timegm.c: Fix problems compiling on libc5 systems noted by
8611 Hans-Peter.
8612
8613 * htlib/Makefile.in, Makefile.in, Makefile.config.in: Use regex.c
8614 instead of rx.
8615
8616 * htfuzzy/EndingsDB.cc: Ditto.
8617
8618 * configure.in, configure: Don't bother to config rx directory.
8619
8620 Fri Mar 5 08:09:20 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8621
8622 * contrig/parse_doc.pl: uses pdftotext to handle PDF files,
8623 generates a head record with punctuation intact, extra checks
8624 for file "wrappers" & check for MS Word signature (no longer
8625 defaults to catdoc), strip extra punct. from start & end of words,
8626 rehyphenate text from PDFs.
8627
8628 Tue Mar 2 23:18:20 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8629
8630 * htdig/htdig.cc: Renamed main.cc for consistency with other programs.
8631
8632 * htlib/DB2_hash.h, htlib/DB2_hash.cc: Added interface to Berkeley
8633 hash database format.
8634
8635 * htlib/Makefile.in: Use them!
8636
8637 * htlib/Database.h: Define database types, allowing a choice
8638 between different formats.
8639
8640 * htlib/Database.cc(getDatabaseInstance): Use passed type to pick
8641 between subclasses. Currently only uses Hash and B-Tree formats of
8642 Berkeley DB.
8643
8644 * htcommon/DocumentDB.cc, htfuzzy/Endings.cc,
8645 htfuzzy/EndingsDB.cc, htfuzzy/Fuzzy.cc, htfuzzy/Prefix.cc,
8646 htfuzzy/Substring.cc, htfuzzy/Synonym.cc, htfuzzy/htfuzzy.cc,
8647 htmerge/docs.cc, htmerge/words.cc, htsearch/Display.cc,
8648 htsearch/htsearch.cc: Use new form of getDatabaseInstance(),
8649 currently with DB_BTREE option (for compatibility).
8650
8651 Mon Mar 1 22:53:37 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8652
8653 * htlib/regex.c, htlib/striptime.c: Import new versions from
8654 glibc.
8655
8656 * htlib/Makefile.in, htlib/mktime.c, htlib/timegm.c, htlib/lib.h:
8657 Changes to use glibc timegm() function instead of buggy mytimegm().
8658
8659 * htdig/Document.cc(getdate): Use it.
8660
8661 Tue Mar 2 02:35:50 1999 Hans-Peter Nilsson <hp at bitrange.com>
8662
8663 * attrs.html: Rephrase and clarify entry for url_part_aliases.
8664
8665 Sun Feb 28 23:25:40 1999 Hans-Peter Nilsson <hp at bitrange.com>
8666
8667 * htlib/HtURLCodec.cc (~HtURLCodec): Add missing deletion of
8668 myWordCodec.
8669
8670 Fri Feb 26 19:03:58 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8671
8672 * configure, configure.in: Fix typo on timegm test.
8673
8674 * htlib/mytimegm.cc: Fix Y2K problems.
8675
8676 Wed Feb 24 21:09:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8677
8678 * htsearch/htsearch.cc(main): Remember to delete the parser!
8679
8680 * htlib/String.cc(String(char *s, int len)): Remove redundant copy.
8681
8682 * htsearch/Display.cc(display): Free DocumentRef memory after
8683 displaying them.
8684 (displayMatch): Fix memory leak when documents did not have anchors.
8685
8686 Wed Feb 24 15:18:26 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8687
8688 * htlib/Configuration.cc(Add): Fix small leak in locale code.
8689
8690 * htlib/String.cc: Fix up code to be cleaner with memory
8691 allocation, inline next_power_of_2.
8692
8693 Mon Feb 22 22:13:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8694
8695 * htlib/String.cc, htlib/htString.h: Fix some memory leaks.
8696
8697 Mon Feb 22 08:52:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8698
8699 * htlib/Dictionary.h, htlib/Dictionary.cc(hashCode): Check if key
8700 can be converted to an integer using strtol. If so, use the
8701 integer as the hash code.
8702
8703 * htlib/HtVector.h, htlib/HtVector.cc: Implement Release() method
8704 and make sure delete calls are done properly.
8705
8706 * htsearch/ResultList.h, htsearch/ResultList.cc(elements): Use HtVector
8707 instead of List.
8708
8709 * htsearch/parser.cc: Ditto.
8710
8711 Sun Feb 21 16:13:59 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8712
8713 * htlib/HtHeap.h, htlib/HtHeap.cc: Add new class.
8714
8715 * htlib/Makefile.in: Compile it.
8716
8717 * htlib/HtVector.h, htlib/HtVector.cc: Add Assign() to assign to
8718 elements of vectors.
8719
8720 Sun Feb 21 14:45:26 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8721
8722 * htsearch/htsearch.cc: Add patch from Jerome Alet <alet at unice.fr>
8723 to allow '.' in config field but NOT './' for security reasons.
8724
8725 * htdig/HTML.cc: Add patch from Gabriele to ensure META
8726 descriptions are parsed, even if 'description' is added to the
8727 keyword list.
8728
8729 Sun Feb 21 14:43:44 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
8730
8731 * htsearch/parser.h, htsearch/parser.cc: Clean up patch made for
8732 error messages, made on Feb 16.
8733
8734 Thu Feb 18 20:19:30 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8735
8736 * htlib/HtVector.h, htlib/HtVector.cc: Added new Vector class.
8737
8738 * htlib/Makefile.in: Compile it.
8739
8740 * htlib/strptime.c: Add new version from glibc-2.1, replacing
8741 strptime.cc.
8742
8743 * htdig/Document.cc: Use it.
8744
8745 * htlib/regex.h, htlib/regex.c: Add new files from glibc-2.1.
8746
8747 * htlib/mktime.c: Update from glibc-2.1.
8748
8749 Wed Feb 17 23:44:59 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
8750
8751 * configure.in, configure, aclocal.m4: Add autoconf macro to
8752 detect syntax of makefile includes.
8753
8754 * Makefile.in, Makefile.config.in, */Makefile.in: Change include
8755 syntax to use it.
8756
8757 Wed Feb 17 12:36:42 1999 Hans-Peter Nilsson <hp at bitrange.com>
8758
8759 * htcommon/defaults.cc (defaults): locale: change to "C".
8760
8761 Local Variables:
8762 add-log-time-format: current-time-string
8763 End: