1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
SWISH++ Changes
===============
*******************************************************************************
1.1b3
*******************************************************************************
BUG FIXES
---------
* Fixed a bug where unbalanced quotes inside comments would cause a core dump.
After rereading the HTML 4.0 specification regarding comments, quotes are
not to be balanced or otherwise treated specially inside comments.
(This bug fix will be referred to as bug fix CQU.)
CHANGES, file-by-file
---------------------
* ext_proc.c
1. In process_file(), made pid_error static as it should have
been all along.
* html.c
1. Added inclusion of util.h to access to_upper() function for
bug fix CQU.
2. Added following functions for bug fix CQU:
is_html_comment()
skip_html_comment()
tag_cmp()
3. In grep_title(), changed for loop to while loop to have more
precise control over when the iterator is advanced for bug
fix CQU.
4. In grep_title(), now check to see if an HTML tag is a
comment.
5. In grep_title(), replaced code to check title tag by a call
to the new tag_cmp() function.
6. In skip_html_tag(), added calls to is_html_comment() and
skip_html_comment() since comments must be skipped
differently. (For bug fix CQU.)
* Makefile
1. Added util.h to html.o dependencies for bug fix CQU.
2. Added "the.index" to the $(RM) line for the clean target.
3. Deleted the second erroneous dist target.
* itoa.c
1. Deleted this extraneous file.
* util.c
1. In ltoa(), made Buf_Size and Num_Buffers static as they
should have been all along.
* util.h
1. Added to_upper() inline function for bug fix CQU.
* version.h
1. Updated version to "1.1b3".
*******************************************************************************
1.1b2
*******************************************************************************
NEW FEATURES
------------
* For HTML files having titles longer than Title_Max_Size in length, the last
three characters are replaces by an ellipsis ("...").
(This feature will be referred to as feature ELL.)
BUG FIXES
---------
* Fixed a core dump in grep_title() for HTML files having titles that exceed
Title_Max_Size in length.
(This bug fix will be referred to as bug fix GT1.)
CHANGES, file-by-file
---------------------
* file_vector.c
1. Performed following substitution:
s/sysent.h/unistd.h/
for portability.
* html.c
1. Added code for feature ELL.
2. Fixed grep_title() for bug fix GT1.
* version.h
1. Updated version to "1.1b2".
*******************************************************************************
1.1b1
*******************************************************************************
NEW FEATURES
------------
* The search command has a new -s option to specify the number of initial
results to skip. Used in conjuntion with -m, results can be returned in
"pages."
(This feature will be referred to as feature SSR.)
CHANGES, file-by-file
---------------------
* search.c
1. Added comment for sort_by_rank struct. This was an omission.
2. Added -s option in main() for feature SSR.
3. Added skip_results variable in main() for feature SSR.
4. Added -s option in usage() for feature SSR.
5. Removed extra semicolon in usage() that cause only part of
the usage message to print.
* version.h
1. Updated version to "1.1b1".
* man/man1/search.1
1. Added description of -s option for feature SSR.
|