Ok here are the new supports and changes May 05, 2004 AltF4's patches Form.h: line 8: Form.c: line 787 (input_handle) + 1071 (input_keybrd) + 48 + 411: - new function new_tarea(). render.c: - line 2808 + 1867..2868: render_TEXTAREA_tag() implemented. May 05, 2004 Baldrick's patches highwire.rsc, highwire.rso, highwire.h: - added a new dialog RLINK_POP, for links and graphics global.h: - 72 - added prototype for rpoplink_open() Loader.h: - 53 - added prototype for file_size() Loader.c: - 853 - added routine saveas_job() to copy file from cache to new location - 916 - added routine file_size() to get the size of a file Mouse_R.c: - 52-54 added code to call rpoplink_open() if appropriate AEI.c - 800 - added rpoplink_open() routine HighWire.c - 41 - added OBJECT * for rpoplink - 145 - added rsrc_gaddr for rpoplink AltF4's patches Form.c: - line 69 (struct s_input) + 175 (_alloc) + 330 (form_text) + 812 + 816 + 821..822 (input_handle) + 1036 + 1056 + 1062 + 1076 + 1108 + 1113 + 1122..1126 + 1156 + 1197..1199 + 1206..1208 + 1226..1227 (input_keybrd) + 1350..1351 + (edit_zero) + 1410 + 1416..1417 (edit_char): attribute TextLen removed, instead edit_rowln() is used now. - line 67 (struct s_input) + 173 (_alloc) + 319 (form_text): attribute HideChar removed. - line 1360 + 1371 (edit_feed) + 97 + 1393: new function edit_crlf(). - line 1055 (edit_delc): code extended to merge lines due to deleted crlf. May 04, 2004 AltF4's patches Form.c: - line 1156 + 1234 (edit_feed) + 1268 (edit_char): new function edit_grow() for text buffer management. - line 303 + 307 + 312..314 (form_text) + 344 + 347..351 (new_input) + 1247 (edit_feed): handling of TextMax changed. - line 858 + 916 (form_activate): null pointer check added. - line 1029 (input_keybrd): handling of shift+left/right keys implemented. - line 789 + 791 (input_handle) + 1000 + 1032 + 1071 + 1094 + 1102 + 1109..1110 + 1118 + 1126: calculations added for horizontal cursor positions. May 03, 2004 AltF4's patches Form.c: - line 95 + 1138 + 1173 + 1175 (edit_init) + 98 + 1236 + 1243 + 1259..1263 + 1266 (edit_char) + 99 + 1277 + 1280..1281 + 1284 + 1292 + 1295 + 1297..1298 + 1300 (edit_delc) + 302 (form_text) + 991 + 1048 + 1059 (input_keybrd): 'row' arguments added to functions. - line 100 + 1012 + 1049 + 1060 + 1096 + 1242 (input_keybrd): macro functions edit_rowln() and edit_space() added. - line 638..656 (input_draw): draw function prepared for multi line text fields. May 02, 2004 AltF4's patches Form.c: - line 35 (struct s_form) + 69 (struct s_input) + 125 (new_form) + 166 (_alloc) + 307 (form_text) + 765 (input_handle) + 833..834 + 891..892 (form_activate) + 971 + 992 + 995 (input_keybrd) + 1153 + 1165 (edit_init) + 1172 (edit_zero) + 1192..1193 + 1205..1206 (edit_feed) + 1227 + 1242..1243 + 1249 (edit_char) + 1262..1263 + 1266 + 1281 (edit_delc): structures expanded, preparation for multi line text fields. May 01, 2004 AltF4's patches Form.c: - line 94 + 1035..1057 + 1102 + 1105 (input_keybrd) + 1254: new function edit_delc(). April 30, 2004 AltF4's patches Form.h: - line 23 (form_text): argument list extended. Form.c: - line 92 + 289..311 (form_text) + 1197: new function edit_feed(). - line 286..287 + 297 (form_text) 344..352 (new_input): initialization handling of password fields changed. April 29, 2004 AltF4's patches Form.c: - line 69 + (struct s_input) + 161 (_alloc) + 316 (form_text) + 986 + 1007 (input_keybrd) + 1140 + 1172 (edit_char): memory model for input field texts changed. - line 286 + 289..316 (form_text) + 1007 + 1011 (input_keybrd) + 90 + 1143: new functions edit_init() and edit_zero(). April 28, 2004 AltF4's patches Form.c: - line 203 (set_word) + 1155 + 1161 (edit_char): some small improvements. April 28, 2004 AltF4's patches Form.c: - line 89 + 994..1023 (input_keybrd) + 1161: new function edit_char(). April 27, 2004 AltF4's patches Form.c: - line 294..295 (form_text) + 350..352 (new_input) + 642 + 647 + 662 (input_draw) + 836 + 888 (form_activate) + 968 + 980 + 991 (input_keybrd): always use unicode 16bit character encoding for text input fields. - line 838 (form_activate): nonsense deleted. - line 1011 (input_keybrd): check for null pointer. April 20, 2004 AltF4's patches token.h: - line 161: new keyword READONLY. Form.h: - line 23 (form_text): argument list extended. Form.c: - line 64 (struct s_input) + 153 (_alloc) + 278 + 288 (form_text) + 343 (new_input) + 963 + 1003 + 1048 + 1056 (input_keybrd): implemention of the READONLY attribute for text input fields. April 19, 2004 AltF4's patches Form.c: - line 61 (struct s_input) + 152 (_alloc) + 341 (new_input) + 959..960 + 965 + 967 + 975 (input_keybrd): changed behaviour for password fields to only output '*'s to to keep prying eyes from viewing passwords. April 19, 2004 AltF4's patches Form.h: - line 16: parameterlist of input_keybrd() extended. Form.c: line 941 + 948 + 1015 (input_keybrd): hwWind.c: line 1818..1819 + 1823 + 1825 + 1831..1834 (hwWind_keybrd): - support for the TAB key added to jump between text input fields. April 18, 2004 AltF4's patches Form.h: - line 14: parameterlist of input_handle() extended. Form.c: - line 722 (input_handle): parameterlist extended. - line 757 + 759 (input_handle): calculate cursor position from mouse coordinates. Mouse_R.c: - line 196 (button_clicked): calculate relative mouse coordinates for text input field cursor position. April 17, 2004 AltF4's patches Form.h: - line 15: return type of input_activate() changed. Form.c: - line 885 + 901 + 905 + 914 (input_activate): return type changed. - line 889 (input_activate): text input fields can become deactivated. Mouse_R.c: - line 24 + 45 + 206 + 340 (button_clicked): switch off cursor of deactivated text input fields. April 16, 2004 AltF4's patches Form.c: - line 688 (coord_diff) + 704..728 (input_handle): coordinates calculation moved into an own function. - line 741..747 (input_handle): switch off cursor of a previous text input field. Mouse_R.c: - line 24 + 33 + 203 + 255 + 287 + 332 (button_clicked): restore previous active text input field if nothing changed. April 14, 2004 AltF4's patches Form.c: - line 784 (form_activate) + 810..888 (input_activate) + 905 + 956 (input_keybrd): new function form_activate(), to support the return key for text input fields. April 13, 2004 AltF4's patches Form.c: - line 282 + 303 (form_text): scan named characters in text value strings. - line 814..819 + 867..871 (input_activate): hex encoding for all non-alphanumeric characters. April 12, 2004 AltF4's patches Form.c: - line 810 + 836..839 (input_activate): hex encoding for non-ascii characters in values. - line 830..831 (input_activate): remove duplicate parameters in GET urls. - line 875 + 877..879 + 895 (input_keybrd): unicode encoding for send strings. April 11, 2004 AltF4's patches Form.c: - line 926..927 + 934 (input_keybrd): better delete/backspace handling. - line 983..984 (input_keybrd): cast unsigned to avoid comparsion overflow in Pure C. highwire.prj: line 36: purewire.prj: line 54: - dependency updated. April 10, 2004 AltF4's patches Form.h: - line 15: new function input_keybrd(). Form.c: - line 31 (struct s_form) + 61 (struct s_input) + 106 (new_form) + 143 (_alloc) + 272..273 + 283 (form_text) + 609 (input_draw) + 698 (input_handle) + 817 (input_keybrd): basic implementation done for keyboard input for formular text input fields. hwWind.h: line 29 (struct hw_window) + 67 (hwWind_setActive); hwWind.c: line 18 + 205 (new_hwWind) + 1299 + 1373 (wnd_hdlr) + 1811 + 1813 (hwWind_keybrd) + 2072 + 2082 + 2084 (hwWind_setActive): keyinput.c: line 73 + 78 (key_pressed): Mouse_R.c: line 36 + 202 (button_clicked): - handle keyboard input for text input fields. April 09, 2004 AltF4's patches Form.c: - line 268 (form_text) + 314 ..315 (new_input): setting of size and maxlength modified for text input fields. - line 269 + 285 (form_text): text field width calculation moved over to NVDI function. April 07, 2004 AltF4's patches render.c - line 2935 (parse_html): avoid useless CSS interpretation for closing tags, saves up to 20% parsing time on some sites. April 06, 2004 AltF4's patches . defs.h: - line 5..7: bumped to version 0.1.8 alpha. Loader.h: line 44 (new_loader) + 48 (start_page_load) + 50 (start_cont_load): Form.c: line 757 + 802..808 (input_activate): render.c: line 803 (render_FRAMESET_tag) + 928..929 (render_META_tag): hwWind.c: line 254 (new_hwWind) + 903 (hwWind_history) + 1967 (hwWind_keybrd): keyinput.c: line 140 (key_pressed): Mouse_R.c: line 246 (button_clicked): AEI.c: line 141 (page_load) + 180 (vastart) + 384 (menu_open) + 407 (menu_reload): - parameter lists extended for cache control. Loader.c: - line 162 + 201 (new_loader) + 266 + 275 (start_page_load) + 284 287 (start_cont_load) + 354 (start_objc_load): parameter lists extended for cache control. - line 568 + 574..579 (receive_job) + 614 (header_job): avoid cache usage for contents resulting from POST actions. April 05, 2004 AltF4's patches http.c: - line 334 + 346..347 + 350 + 397 (http_header): reworked to allow subsequent header reciving. Loader.c: - line 658 (header_job): added handling of 100-continue server replies. April 04, 2004 AltF4's patches Table.c: - line 849 (vTab_format): column width calculation changed, was causing crashes sometimes. April 02, 2004 AltF4's patches http.h: line 22 (http_header): http.c: line 323 + 362 + 372 + + 378..379 (http_header): - additional parameter for handling of POST method. Loader.h: line 14 (struct s_loader): Loader.c: line 169 (new_loader) + 252 (delete_loader) + 651 (header_job): - buffer added for POST method arguments. Form.c: - line 756 + 760 + 769..770 + 772 + 775 + 792..794 (input_activate): handling of form method POST implemented. April 01, 2004 AltF4's patches Form.c: - line 90..93 (new_form): improved handling of forms without defined action. - line 346..347 (new_input) + 771 (input_activate): avoid multiple question marks in GET urls. March 30, 2004 [V. 0.1.7 release] AltF4's patches parser.c: - line 558 (parse_tag): avoid illegal pointer access. March 29, 2004 AltF4's patches parser.c: - line 787..794 + 797..809 + 839 + 842 + 845 (parse_css): improvements for better stability on parsing faulty CSS code. Form.c: - line 18 + 86 (new_form): for forms without any action defined use the document location. March 23, 2004 AltF4's patches render.c: - line 344 (css_box_styles) + 449 (leave_box): update current background color due to box backgrounds. - line 409 (group_box): avoid double font stack push. - line 2299..2305 (render_DIV_tag): removed duplicated width setting. Paragrph.c: - line 171 (add_paragraph): reset current background color for new paragraphs. March 22, 2004 AltF4's patches Table.c: - line 444 (calc_minmax) + 467..469 + 496..508 + 537..539 + 545..549 + 552..553 + 558..584 + 587..590 + 595..596 + 598..684 (table_finish): extracted min/max width calculation to a new function calc_minmax(). - line 1058 (vTab_MinWidth): recalculate possibly changed minimum widths. March 21, 2004 AltF4's patches Table.c: - line 691..694 + 696 (table_finish) + 869 (vTab_format) + 1063 (vTab_MinWidth) + 1070 (vTab_MaxWidth): min/max width calculation improved. Gerhard Stoll's patch: hwWind.c: - line 2007 (hwWind_keybrd): handling for the end key in the url input field. March 18, 2004 AltF4's patches DomBox.c: - line 187 (vTab_MinWidth): corrected SetWidth alignment. Table.c: - line 34 + 345 (table_cell) + 552 + 554..555 + 560 + 562..565 + 571 + 573 + 575 + 608 + 610 + 636 + 639 (table_finish): store predefined widths in the SetWidth attribute instead of Width. March 17, 2004 AltF4's patches Paragrph.c: - line 485 (vTab_format): restricted the 1-pixel-increase to not affect paragraphs with the last line having its descent determined by an image. March 16, 2004 AltF4's patches img_png.c: - line 15 + 103 (decPng_readi) + 89 (decPng_start) + 111 (decPng_quit): support added for interlaced png images. March 15, 2004 AltF4's patches render.c: - line 389 (box_anchor): store CSS class names of boxes. parser.c: - line 43 (struct s_style): new pointer Link for cascading selectors. - line 145 (delete_parser) + 684 + 752..763 + 772..774 + 777 + 823 (parse_css): store cascading selektors. - line 409 + 464..470 + 524 + 526..533 + 535..543 (parse_tag): new function css_filter() handles cascaded selectors. - line 744 (parse_css): allow '-' in pseudo code expressions. March 13, 2004 AltF4's patches parser.c: - line 581 (css_import): fixed scanning of url end. March 11, 2004 AltF4's patches defs.h: line 355 + 378: DomBox.c: line 88 (dombox_dtor) + 362: - new attributes and methods for block level element Id and Class. render.c: - line 374 + 390 (group_box) + 1132 (render_BODY_tag) + 1834 (render_IMG_tag) + 2008 + 2020..2023 + 2046 (render_H_tag) + 2170 + 2184 + 2193..2196 (render_P_tag) + 2441 (render_OL_tag) + 2464 (render_UL_tag) + 2488 (render_MENU_tag) + 2530 (render_LI_tag) + 2551 (render_DL_tag) + 2580 (render_DT_tag) + 2605 (render_DD_tag) + 2657 (render_TABLE_tag) + 2711 (render_TD_tag) + 2737 (render_TH_tag): new function box_anchor() to set DOMBOX ids and store anchor structs. March 08, 2004 AltF4's patches defs.h: line 549 (struct paragraph_item): Paragrph.c: line 69..71 (vTab_MinWidth) + 91 + 94..96 (vTab_MaxWidth) + 133 (new_paragraph) + 188 + 199 (add_paragraph) + 289..291 (vTab_format): Form.c: line 656 + 663 + 694 (input_handle): - paragraph->Indent removed, not needed any longer. March 07, 2004 AltF4's patches defs.h: - line 330 (enum BOXCLASS): new identifier BC_LIST. - line 601 + 604 + 606 (struct list_stack_item): Indent and Spacer removed, new Type and ListItem. global.h: - line 138: list_start() argumentlist extended. Paragrph.c: - line 188..193 (add_paragraph): paragraph indention dropped. list.c: line 11..48 (list_start) + 55..86 (list_finish) + 296 + 300..314 + 397 (list_marker): render.c: line 2012..2014 (render_H_tag) + 2172..2175 (render_P_tag) + 2433 (render_OL_tag) + 2454 (render_UL_tag) + 2476 (render_MENU_tag) + 2510 (render_LI_tag) + 2527 + 2529 (render_DL_tag) + 2551..2554 (render_DT_tag) + 2577..2581 (render_DD_tag): - rendering of lists reworked, are based on DOMBOXs now. March 02, 2004 AltF4's patches global.h: - line 129: new function create_box(), leave_box() global accessible now. render.c: - line 380..381 + 386..392 (group_box) + 400: new function create_box(). - line 402 (leave_box): global accessible now. - line 403 + 405 (leave_box) + 2210 (render_CENTER_tag) + 2253 (render_BLOCKQUOTE_tag) + 2278 (render_DIV_tag): argument type changed. March 01, 2004 AltF4's patches Paragrph.c: - line 294 (vTab_format): corrected width calculation. render.c: - line 293..325 (css_block_styles) + 369..409 (group_box) + 2031..2035 (render_H_tag) + 2185..2190 (render_P_tag) + 2541 (render_DL_tag) + 2569 (render_DT_tag) + 2594 (render_DD_tag): css_block_styles() replaced by new function css_box_styles(). February 29, 2004 AltF4's patches Table.h: line 19 (struct s_table_stack) + 63..64 (table_start): Table.c: line 82 + 96 (table_start): render.c: line 2639 + 2651..2653 (render_TABLE_tag) + 2671..2673 (render_TR_tag) + 2697..2699 (render_TD_tag) + 2725..2727 (render_TH_tag): - flag isSpecial removed, not needed anymore. DomBox.c: - line 505 + 508 (vTab_format): corrected blocking areas boundary checks. parser.c: - line 499 (parse_tag): ignore leading and trailing white spaces in attribute values. Paragrph.c: - line 277.278 + 284 (vTab_format): handle defined width for text paragraphs. February 29, 2004 AltF4's patches DomBox.c: - line 178 (vTab_MinWidth): check SetWidth getting smaller than MinWidth. render.c: - line 2291..2294 (render_DIV_tag): read width value as CSS expression. February 28, 2004 AltF4's patches render.c: - line 614 (render_HTML_tag): ignore tags which are not at the end of a page. - line 1106 (render_BODY_tag): ignore subsequent tags. February 26, 2004 AltF4's patches defs.h: - line 45 (enum H_ALIGN): identifiers FLT_LEFT, FLT_RIGHT added. DomBox.c: - line 446..447 + 453..454 + 458..475 + 478..483 + 486..517 + 519 (vTab_format): reworked for better support of float-around boxes. Paragrph.c: line 297 (vTab_format): Table.c: line 743 (vTab_format): - setting of X coordinate removed, already done in the base method. render.c: - line 1835 (render_IMG_tag) + 2607..2613 (render_TABLE_tag): changed floating attribute assignment. - line 1938 (render_BR_tag): improved calculation of spacers. - line 2283..2289 (render_DIV_tag): more restricted inheritance of floating attribute. February 24, 2004 AltF4's patches Table.h: line 26 (struct s_table): Table.c: line 21..28 + 100..101 + 110..114 + 121 (table_start) + 256 (table_cell) + 440 (free_stack) + 482 (table_finish) + 722 + 967 + 995 + 1018 (vTab_format) + 1064 (vTab_ChildAt) + 1123 (vTab_draw): render.c: line 2621..2622 (render_TABLE_tag): - tables reworked to DOMBOX objects, instead of using paragraph structures. Table.c: - line 262 (table_cell): collect illegally placed text before the first cell of a table. defs.h: - line 40 (enum PARAGRAPH_CODE): identifier PAR_TABLE removed. - line 545 (struct paragraph_item): TABLE pointer removed. Paragrph.c: - line 32..34 (vTab_delete) + 135 (new_paragraph) + 179..180 + 208 (add_paragraph) + 259..257 (paragrph_finish): TABLE pointer removed from paragraph structure. February 23, 2004 AltF4's patches render.c: - line 411 (group_box) + 429 (leave_box): handling of CSS font styles added. - line 1124..1136 (render_BODY_tag): handling of CSS margin attribute added. - line 2014 + 2033 (render_H_tag): corrected handling of CSS 'bold' attribute. - line 2018 (render_H_tag) + 2166 (render_P_tag): handling of CSS margin and padding attribute added. p_dir.c: - line 132 (parse_dir): avoid Lattice compiler warning. February 22, 2004 AltF4's patches DomBox.c: - line 445 (vTab_format): take MaxWidth into account. render.c: - line 138 (numerical): allow negative values. - line 427..429 (leave_box): returns now the correct box. - line 2266..2299 (render_DIV_tag): reworked, produces a DOMBOX object now. February 21, 2004 AltF4's patches Paragrph.c: - line 227 (add_paragraph): inherit TextIndent from parent. render.c: - line 371 + 400 (group_box): interprete text-indent attribute. February 20, 2004 AltF4's patches DomBox.c: - line 441 + 515 + 518 + 521..522 (dombox_format): corrected again height calculation concerning blocking areas. render.c: - line 403 + 2173..2174 + 2178 + 2180..2185 (render_CENTER_tag) + 2203 + 2205 + 2226.2230 (render_BLOCKQUOTE_tag): new function leave_box(). February 19, 2004 AltF4's patches defs.h: line 359 (struct DOMBOX) + 547..548 (struct PARAGRAPH): Paragrph.c: line 46..47 + 73 (vTab_MinWidth) + 98 (vTab_MaxWidth) + 138..139 (new_paragraph) + 197..198 + 212 + 229 (add_paragraph) + 286 + 297 + 299 + 301 (vTab_format): list.c: line 26 + 29 + 35 (list_start) + 76 (list_finish) + 307 (list_marker): render.c line 319 (css_block_styles): - paragrph->Rindent removed, paragrph->Hanging reblaced by dombox->TextIndent. February 18, 2004 AltF4's patches Paragrph.c: line 286 + 514 (vTab_format): Table.c: line 1022 (vTab_format): - consider left/right margins. token.h: - line 231: CSS_PADDING is not longer mapped to KEY_CELLPADDING. - line 228 + 232: new CSS keywords for margin and padding. render.c: - line 133 + 136..139 + 142..143 + 148..149 + 179 (numerical) + 194 (css_text_styles) + 304..306 (css_block_styles) + 1837 (render_BR_tag): argument list of numerical() extended to return a pointer behind the expression. - line 312 + 337 (group_box) + 1746 (render_IMG_tag) + 1840..1849 (render_BR_tag) + 2545 (render_TABLE_tag): new function box_frame() to interprete CSS attributes margin and padding. - line 2527 + 2530 + 2544 (render_TABLE_tag): CSS_PADDING is not longer mapped to KEY_CELLPADDING. February 17, 2004 AltF4's patches Table.c: - line 93 (table_start): set table stack alignment values to defaults to catchup malformed HTML (missing as in CAB hotlist). token.h: - line 210: new CSS token border-color. render.c: - line 312 + 2082..2097 (render_CENTER_tag): new function group_box(). - line 2113..2147 (render_BLOCKQUOTE_tag): reworked to produce a box of class BC_GROUP. Paragrph.c: - line 231..232 (add_paragraph): top margin calculation improved for parents of class GROUP. - line 486 (vTab_format): add one pixel of hight for the last text line. DomBox.c: - line 531..535 (dombox_format): calculate blocking area bottoms to box height. February 16, 2004 AltF4's patches defs.h: line 375: - new function dombox_adopt(). DomBox.c: - line 403: new function dombox_adopt(). - line 411 + 481 (vTab_format): calculate blocking areas to box-relative coordinate. Paragrph.c: - line 141 + 154 (new_paragraph) + 225 (add_paragraph): paragraph alignment inherited from parent. render.c: - line 59..77: get_align() removed. - line 1916 + 1933 (render_H_tag) + 2062 + 2078 (render_P_tag): paragraph alignment inherited from parent. - line 2098..2108 (render_CENTER_tag): reworked to produce a box of class BC_GROUP. - line 2528..2531 (render_TABLE_tag): outdated patch removed. February 15, 2004 AltF4's patches Paragrph.c: - line 351 (vTab_format): move leading text words below blocking areas if they don't fit between/besides. DomBox.c: - line 421 (vTab_format): don't move text paragraphs due to blocking areas. render.c: - line 2192 + 2194 (render_DIV_tag): inherit float attribute from single child object. February 15, 2004 AltF4's patches defs.h: - line 330 (enum BOXCLASS): new identifier BC_SINGLE. - line 340 + 369: new DOMBOX method Paragrph(). render.c: - line 1727..1728 (render_IMG_tag) + 3052 (render_hrule): new BOXCLASS identifier BC_SINGLE. DomBox.c: line 13 + 20 + 199: Paragrph.c: line 101 + 139 (new_paragraph) + 210 (add_paragraph): Containr.c: line 947 (containr_Element): - new DOMBOX method Paragrph(). February 14, 2004 AltF4's patches Paragrph.c: - line 275 + 286 + 289 + 291 + 296 + 301 + 392 + 402 + 412..413 + 429..431 + 436..438 + 441 + 449..451 + 454 + 476 + 478 + 480 (vTab_format): code simplified. February 13, 2004 AltF4's patches DomBox.c: - line 474..483 (vTab_format) + 491 (dombox_format): height calculation corrected. defs.h: - line 40 (enum PARAGRAPH_CODE): PAR_HR removed. Paragrph.c: - line 13 + 15 + 119..164 + 321..322 + 325 + 331 + 340: merged paragraph_calc() into vTab_format(). - line 44..48 + 77 (vTab_MinWidth) + 113..115 + 117 (vTab_draw): outdated code removed. render.c: - line 3064 (render_hrule): top/bot margins of
reduced. February 12, 2004 AltF4's patches parser.c: - line 104 (new_parser): removed invalid pointer initialization, was causing double freeing of memory in some cases. ovl_sys.c: - line 12 + 18 + 24 + 137 + 184 + 194 (load_ovl): avoid Lattice and Pure C compiler warnigs. http.c: line 380 (http_header): W_Struct.c: line 29 (_alloc): Loader.c: line 10 + 19 + 27 + 909 (load_file): hwWind.c: line 1325 (wnd_hdlr) + 1732 (hwWind_button): - avoid Lattice compiler warning. February 11, 2004 AltF4's patches defs.h: - line 371: new function dombox_reorder(). DomBox.c - line 347: new function dombox_reorder(). - line 359 + 372 + 375..384 + 386..387 + 390 (vTab_format): added handling for geometry calculation of different box types. - line 405..410 (vTab_format): disabled possibly useless code. global.h: line 130: p_about.c: line 46 (about_modules) + 142 (about_cache) + 232 (about_highwire) + 309 (parse_about): p_dir.c: line 196 (parse_dir): - declaration of render_hrule() extended. render.c: - line 2009..2050 (render_HR_tag) + 3068..3081 (render_hrule): horizontal rulers completely reworked. February 9, 2004 AltF4's patches defs.h: - line 356 (struct s_dombox): new attribute TextAlign. - line 544 (struct paragraph_item): alignment removed, is in DOMBOX now. - line 548..553: struct CONTENT removed. - line 555 (struct frame_item): type of Page changed to DOMBOX. global.h: - line 160..161: content_setup() removed. list.c: line 34: p_about.c: line 271 + 311 (parse_about): - paragraph alignment attribute removed, is in DOMBOX now. Table.h: - line 49 (struct s_table_cell): attribute Content replaced by DOMBOX. Table.c - line 30..34 + 63 (delete_table) + 229..230 (new_cell) + 320..321 + 323 (table_cell) + 538 + 549 + 586 + 615 (table_finish) + 946 + 1028 (vTab_format) + 1109 (vTab_ChildAt) + 1130 (vTab_draw): attribute Content is replaced by DOMBOX. - line 228 (new_cell): content_setup() replaced by dombox_ctor(). - line 531 + 585 + 688 (table_finish) + 943 + 966 (vTab_format) + 1129 (vTab_draw): for checking wether a table cell has content the box children are checked now. Paragrph.c: - line 144 + 148 (vTab_format) + 189 (new_paragraph) + 259 + 269 (add_paragraph) + 341 (paragraph_calc): paragraph alignment attribute removed, is in DOMBOX now. - line 707..728: content_setup() removed. parser.c: - line 89 + 94 (new_parser): type of frame->Page changed to DOMBOX. - line 387 (css_values): avoid Lattice compiler warning. render.c: - line 68 + 75 (get_align) 1003 + 1014 + 1022..1023 + 1028 + 1032 (render_BODY_tag) + 2123 + 2126 (render_CENTER_tag) + 2530..2537 (render_TABLE_tag): type of frame->Page changed to DOMBOX. - line 69 (get_align) + 319 (css_block_styles) + 1914 + 1931 (render_H_tag) + 2021 (render_HR_tag) + 2081 + 2097 (render_P_tag) + 2124 + 2127 (render_CENTER_tag) + 2158 (render_BLOCKQUOTE_tag) + 2229 (render_PRE_tag) + 2274 (render_LISTING_tag) + 2467 (render_DT_tag) + 2491 (render_DD_tag) + 3078 (render_hrule): paragraph alignment attribute removed, is in DOMBOX now. - line 73 (get_align): cell->Content replaced by DOMBOX image.c: line 475 (image_job): Frame.c: line 25 + 50..59 (new_frame) + 81 (delete_frame) + 99 (frame_finish) + 113 + 115 + 122 + 124 + 129 + 132..134 + 141..148 + 160..166 + 174 + 189 + 200 + 202 + 223 + 227 (frame_calculate): Redraws.c: line 72 + 90 (frame_draw): Containr.c: line 565 + 572 (history_update) + 813..814 (containr_Anchor) + 946 (containr_Element) + 1223 + 1236 (containr_shift): keyinput.c: line 94 + 100 (key_pressed): Mouse_R.c: line 61 + 75 + 100 + 129 + 143 + 168 + 287 + 291 (button_clicked): AEI.c: line 410..411 (menu_reload): - type of frame->Page changed to DOMBOX. February 8, 2004 AltF4's patches defs.h: line 371: DomBox.c: line 420: Table.c: line 1028 (vTab_format): - new function dombox_stretch() replaces old content_stretch(). global.h: - line 155: destroy_paragraph_structure() removed. - line 163: content_stretch() removed. Paragrph.c: - line 168..179 + 320 (paragrph_finish): destroy_paragraph_structure() removed, use of DOMBOX method Delete() instead. - line 776..795: content_stretch() removed. February 7, 2004 AltF4's patches defs.h: line 340: DomBox.c: line 13 + 18 (struct DomBox_vTab) + 196 (vTab_ChildAt) + 208..217 + 226 + 229 + 231..280 (dombox_byCoord): - new DOMBOX method ChildAt(). Table.h: line 71: Table.c: line 46 + 102 (table_start) + 1051 + 1080..1181: - function table_content() changed to DOMBOX method ChildAt(). February 6, 2004 AltF4's patches defs.h: line 368: DomBox.c: line 195: Containr.c: line 912..913 + 918 +920..922 + 947..948 + 958..959 + 961 + 963 + 966 + 969..970 + 972 + 974 + 977 (containr_Element): Frame.c: line 266..305: - new function dombox_byCoord() to replace old frame_paragraph(). global.h: line 113 + 165: - new function dombox_byCoord() replaces old frame_paragraph() and content_paragraph(). Paragrph.c: - line 796..970: content_paragraph() replaced by dombox_byCoord(). February 5, 2004 AltF4's patches defs.h: - line 75 (enum BULLET): avoid Lattice compiler warning. February 3, 2004 AltF4's patches render.c: - line 2533 (render_TABLE_tag): workaround for
tag. February 2, 2004 AltF4's patches defs.h: - line 333 + 367: struct blocking_area moved over from Paragrph.c. - line 339 + 366: new DOMBOX methods format(). global.h: line 164: DomBox.c: line 13 + 18 + 216: Paragrph.c: line 13..20 + 125 + 738..852: Frame.c: line 124 + 129 + 146 + 161 + 163 (frame_calculate): - new DOMBOX methods format() to replace the content_calc(). Table.h: line 71: Table.c: line 47 + 103 (table_start) + 709..710 + 711 + 715 + 719 + 935 + 1025..1026 (table_calc): - function table_calc() changed to DOMBOX method format(). render.c: - line 2525..2526 (render_TABLE_tag): inherit floating from the parentbox's alignment attribute if this is a
. February 1, 2004 AltF4's patches render.c: - line 2174..2178 (render_BLOCKQUOTE_tag): avoid indention underflow. January 28, 2004 AltF4's patches Mouse_R.c: - line 221..222 (button_clicked): make Lattice C happy. January 23, 2004 AltF4's patches render.c: - line 1794 + 1804 + 1806 (render_BR_tag): extended handling for CSS styles (spacer behaviour). Markus' patches scanner.c: - line 282: corrected order of NAMEDCHAR to correctly display Ô and Ó. January 22, 2004 AltF4's patches AEI.c: - line 425..427 + 430..431 + 449 (menu_info): check for NULL pointers when window is empty. scanner.c: - line 559 (scan_color): additional recognition of CSS three digit #RGB format. January 21, 2004 AltF4's patches purewire.prj, highwire.prj: - dependencies updated. January 20, 2004 AltF4's patches Table.c: - line 98..99 + 106 (table_start): set table padding from HTML cellspacing attribute. - line 130..131 (table_start): removed useles presetting. - line 471..473 + 654..655 + 656 (table_finish) + 711..712 + 944 + 927 (table_calc): corrected calculation of table MinHeight/ MaxHeight/resulting height. January 19, 2004 AltF4's patches defs.h: line 352 (struct s_dombox) + 531 (struct paragraph_item): DomBox.c: line 49 (dombox_ctor): Paragrph.c: line 161 (new_paragraph) + 243 (add_paragraph) + 809 (content_calc) + 901 + 904 + 941 + 945 + 953 + 963 + 987 + 998 (content_paragraph): Table.c: line 98 (table_start): render.c: line 1729 (render_IMG_tag): - attribute Floating added to DOMBOX, removed from Paragraph. January 18, 2004 AltF4's patches render.c: - line 2972..2979 (parse_plain): corrected handling of empty lines. January 17, 2004 AltF4's patches defs.h: line 347 (struct s_dombox): list.c: line 32..33 (list_start) + 301 (list_marker): render.c: line 1002 (render_BODY_tag) + 1725 (render_IMG_tag) + 1914 (render_H1_tag) + 1921 (render_H2_tag) + 1928 (render_H3_tag) + 1935 (render_H4_tag) + 1942 (render_H5_tag) + 1949 (render_H6_tag) + 1973 (render_HR_tag) + 2032 (render_P_tag) + 2164 (render_DIV_tag) + 2183 (render_PRE_tag) + 2209 (render_PLAINTAG_tag) + 2228 (render_LISTING_tag) + 2488 (render_TABLE_tag) + 2550 (render_TD_tag) + 2578 (render_TH_tag): - new DOMBOX attribute HtmlCode. January 15, 2004 AltF4's patches DomBox.c: - line 65..72 (dombox_dtor): corrected unlinking from boxes tree. January 14, 2004 AltF4's patches Paragrph.c: - line 758..759 (content_calc): corrected calculation of floating around textes. image.c: - line 466..467 + 476..483 (image_job): improved calculation of redraw areas for images of unknown size, reduces flickering due to redraws a lot. January 13, 2004 AltF4's patches render.c: - line 1020..1021 + 1026 + 1030 (render_BODY_tag): corrected settings of Box.Margin to Box.Padding. defs.h: - line 337 + 359: new DOMBOX methods MinWidth() and MaxWidth(). DomBox.c: - line 10 + 13 + 144: DOMBOX methods MinWidth() and MaxWidth() implemented. global.h: - line 164..165: content_minimum() and content_maximum() removed. Paragrph.c: - line 42 + 95 (new_paragraph) + 162 (add_paragraph): DOMBOX methods MinWidth() and MaxWidth() implemented. - line 660..761: content_minimum() and content_maximum() removed. Table.c: - line 43 + 99 (table_start) + 1012: DOMBOX methods MinWidth() and MaxWidth() implemented. - line 530 + 541 + 578 + 607 (table_finish): content_minimum() and content_maximum() replaced by dombox_MinWidth() and dombox_MaxWidth(). image.c: - line 474 (image_job): content_minimum() replaced by dombox_MinWidth(). Frame.c: - line 99 (frame_finish): content_minimum() replaced by dombox_MinWidth(). January 12, 2004 AltF4's patches defs.h: - line 524..527 + 532..533 + 540..543 + 545..546: outcommented stuff deleted. - line 531 (struct paragraph_item): eop_space removed, instead Box.Margin.Top will be used now. Paragrph.c: - line 90 (new_paragraph) + 159 + 173..177 (add_paragraph) + 209 (paragrph_finish) + 590 (paragraph_extend) + 824 + 861 + 872 + 879 (content_calc): eop_space removed, instead Box.Margin.Top will be used now. - line 256 + 434 (paragraph_calc): corrected height calculation. - line 453 (paragrph_word): check for y being above the topmost line. render.c: - line 2727 (parse_html): set VDI font attributes to correct values. - line 2951 (parse_plain): make use of Box.Margin.Top instead of adding a dummy paragraph for empty lines at the beginning. - line 2959 (parse_plain): eop_space removed, instead Box.Margin.Bot will be used now. January 11, 2004 AltF4's patches defs.h: - line 354: new functions to calculate distances. DomBox.c: line 80 + 85..86 + 97..100 + 106 + 110..117 (dombox_draw): Paragrph.c: line 347 (paragraph_calc) + 610 + 615..617 (content_setup) + 720 (content_minimum) + 740 + 758 (content_maximum) + 768 + 772 + 777 + 874 (content_calc): Frame.c: line 55 + 58 (new_frame): - corrected calculation of margins and paddings. Redraws.c: - line 466..470 + 485 + 489 + 497 + 581..583 (draw_paragraph): simplified calculation of y coordinate. January 08, 2004 AltF4's patches defs.h: - line 353: shorthand Delete() added. DomBox.c: - line 131 (vTab_delete): recursive deleting of children. global.h: - line 164: content_destroy() removed. Paragrph.c: - line 21 (vTab_delete) + 83..84 (new_paragraph) + 150..151 (add_paragraph): DOMBOX method Delete() implemented. - line 39..51 (destroy_paragraph_structure): adapted to Delete(). - line 614..641: content_destroy() removed. Table.c: line 59..64 (delete_table): Frame.c: line 75..76 + 84 (delete_frame): - adapted to DOMBOX method Delete(). January 07, 2004 AltF4's patches defs.h: - line 334 (struct s_dombox) + 346: virtual table implemented for polymorphic objects. DomBox.c: - line 8 + 15 (dombox_ctor): virtual table implemented. - line 107..110 + 113..114 (dombox_draw) + 115: new DOMBOX method vTab_draw(). - line 115: new DOMBOX method vTab_delete(). global.h: - line 96: draw_contents() removed, draw_hr() and draw_paragraph() global accessible now. Redraws.c: - line 90..93 (frame_draw): call of draw_contents() replaced by dombox_draw(). - line 328 (draw_hr) + 458 (draw_paragraph): global accessible now. - line 586..635: draw_contents() removed. Paragrph.c: - line 19 (vTab_draw) + 66 (new_paragraph) + 128 (add_paragraph): virtual table implemented. Table.h: - line 21 (struct s_table_stack): Backgnd removed. - line 73..74: table_draw() removed. Table.c: - line 42 + 99 (table_start): virtual table implemented. - line 93 (table_start) + 322 (table_cell): stack->Backgnd removed. - line 116 (table_start) + 190 (table_row) + 317..320 (table_cell): background color setting changed to avoid multiple drawings of identical backgrounds. - line 843 + 848 + 850 + 853 (table_calc): improved handling of cells with percentage width inside tables without any width set. - line 1002..1005 + 1011..1012 + 1019..1020 + 1030..1031: table_draw() changed to DOMBOX method vTab_draw(). January 06, 2004 AltF4's patches defs.h: - line 348: dombox_draw() declaration. - line 537 + 545 (struct frame_item): attribute Page moved to top. DomBox.c: - line 4 + 63: new function dombox_draw(). Redraws.c: - line 608..620 + 634..649 (draw_contents): drawing of background and border are done by draw_contents() now. Table.h: - line 28..29 + 32 (struct s_table): removed attributes Color, Border, SetWidth. Table.c: - line 24 + 29 + 111..112 + 115 + 118 (table_start) + 306..314 (table_cell) + 451 + 506..507 + 637 + 639..641 + 643..645 (table_finish) + 690 + 698 + 704..707 + 734 + 807 + 815 + 920 + 967 (table_calc) + 997 (table_draw) + 1060 (table_content): replaced struct attributes. - line 211 (new_cell): inherit border specs from table. - line 1002..1019 + 1022..1025 + 1031..1039 + 1041 (table_draw): drawing of background and border are done by draw_contents() now. January 05, 2004 AltF4's patches defs.h: line 323 (enum BOXCLASS) + 332 (struct s_dombox) + 338 (dombox_ctor): DomBox.c: line 9 + 18 + 22 + 24 + 33 + 37 + 49..50 (dombox_ctor): - new enum type for box classification. global.h: line 161: Frame.c: line 51 (new_frame): - additional box class argument for content_setup(). Paragrph.c: - line 66 (new_paragraph) + 128 (add_paragraph) + 574 (content_setup): additional box class argument for dombox_ctor(). - line 571..572 (content_setup): additional box class argument for content_setup(). Table.c: - line 93 (table_start): set box class of table paragraph. - line 210 (new_cell): additional box class argument for content_setup(). January 04, 2004 AltF4's patches defs.h: - line 345 (struct OFFSET): reffers to a DOMBOX instead of another OFFSET now. - line 504 (struct paragraph_item): struct OFFSET not longer used. global.h: line 142: O_Struct.c: line 9: render.c: line 382 (insert_anchor): - argument type OFFSET of new_named_location() changed to DOMBOX. W_Struct.c: line 306 (word_offset): Paragrph.c: line 61..63 (new_paragraph) + 129..131 (add_paragraph) + 214 + 219 + 335..336 (paragraph_calc) + 511..512 + 555 (paragraph_extend) + 773..776 + 781..782 + 813..814 + 822..823 + 828..829 + 845..846 + 850..851 + 858..859 (content_calc) + 896..897 (content_stretch) + 914..1069 (content_paragraph): image.c: line 145 (new_image) + 466..467 + 482 + 493 + 496..499 (image_job): Form.c: line 655..660 + 662..667 + 693..695 + 697.699 (input_handle): Table.h: line 59 (struct s_table_cell): Table.c: line 26..27 + 91..93 (table_start) + 216 + 303..304 (new_cell) + 983..984 (table_calc) + 1031..1032 (table_draw) + 1126..1127 + 1136..1137 + 1143..1144 (table_content): Frame.c: line 293..294 (frame_paragraph): Containr.c: line 799..804 (containr_Anchor): Redraws.c: line 622 + 628..629 (draw_contents): - OFFSET removed, use DOMBOX coordinates instead. January 03, 2004 AltF4's patches Makefile: line 28: purewire.prj: line 30: highwire.prj: line 15: DomBox.c: - module DomBox.c added. defs.h: line 310 + 464 + 471 + 473..474 + 479..480 (struct paragraph_item) + 484 + 486..489 + 491..492 (struct CONTENT) + 531 (struct parse_sub): parser.c: line 87..89 + 92..94 (new_parser); Paragrph.c: line 228 + 329 + 340 + 356..358 + 363..365 + 368 + 376..378 + 381 + 403 + 405 (paragraph_calc) + 439 + 447 (paragrph_word) + 676 + 708 + 717..718 (content_minimum) + 735 + 743..744 + 750..751 + 755 (content_maximum) + 765 + 768..769 + 774 + 775 + 777 +780 + 812..813 + 819 + 824 + 831 +834 + 837 + 840..841 + 844 + 847 + 849 + 851 + 853 + 871 (content_calc) + 880 + 882 + 888 (content_stretch) + 902..1062 (content_paragraph): image.c: line 464 + 468..472 + 478 (image_job): Table.c: line 21..24 + 294 + 301..307 + 309 (table_cell) + 501..655 (table_finish) + 904..905 + 908 + 922 + 973 (table_calc) + 1023 + 1030..1031 + 1119..1120 + 1129..1130 + 1141..1142 (table_draw): Frame.c: line 54 + 57 (new_.frame) + 116 + 118 + 125 + 132 + 135..137 + 144..147 + 150..151 + 163 + 166 + 168..169 + 177 + 192 + 203 + 205 + 226 + 230 (frame_calculate) + 298..299 (frame_paragraph): render.c: line 314 (css_block_styles) + 1012 + 1020 + 1026 + 1030 (render_BODY_tag) + 1996 + 2001 (render_HR_tag) + 2424 (render_DT_tag) + 2449 (render_DD_tag): Containr.c: line 565 + 572 (history_update) + 806..807 (containr_Anchor) + 1154 + 1167 (containr_shift) Redraws.c: line 72 (frame_draw) + 608..610 + 617 + 617 + 622 + 633 + 635..636 + 645 (draw_contents): keyinput.c: line 94 + 100 (key_pressed): Mouse_R.c: line 61 + 75 + 100 + 129 + 143 + 168 + 286 + 290 (button_clicked): AEI.c: line 410..411 (menu_reload): - new struct DOMBOX replaces common attributs of all boxes representing structures. Paragrph.c: - line 35 (destroy_paragraph_structure) + 617 + 621 (content_destroy): use DOMBOX destructor. - line 60..61 + 69..70 (new_paragraph) + 130..131 + 137..138 (add_paragraph) + 582..584 + 587 + 589..595 (content_setup): use DOMBOX constructor. Table.c: - line 46 (delete_table): use DOMBOX destructor. global.h: line 161 (content_setup): Paragrph.c: line 581 (content_setup): Table.c: line 205 (new_cell): Frame.c: line 51 (new_frame): - additional DOMBOX argument for content_setup(). Table.c: - line 198 (new_cell) + 231 + 250 + 254 + 286 + 320 + 343 + 345 (table_cell): additional DOMBOX argument for new_cell(). January 03, 2004 AltF4's patches defs.h: - line 5..7: bumped to 0.1.7 alpha. cache.c: - line 574 (read_hex): workaround for broken strtol() in the Pure C lib. December 12, 2003 [V. 0.1.6 release] AltF4's patches Mouse_R.c: - line 44 + 272..276 (button_clicked): right mouse click takes precedence over links and forms now. - line 195 + 196 (button_clicked): clicking to a form element waits for mouse button release now (#0141). AEI.c: - line 718 + 735 (rpopup_open): align popups to screen extents (#0100). December 11, 2003 AltF4's patches Location.h: line 12 (enum LC_PROTO): Location.c: line 128 + 153 (new_location) + 295 (location_FullName): Loader.c: line 304 (start_cont_load): - new protocol identification for 'pop://' added. config.c: - line 99 (cfg_timeout_connect) + 109..112 (cfg_timeout_hdr) + 121 (cfg_retry): validity checks added/improved. December 10, 2003 AltF4's patches Location.c: - line 905..906 (location_rdIdx): reading of protocol and port corrected. December 09, 2003 Markus' patches: config.c: - line 92 (cfg_timeout_connect) + (cfg_timeout_hdr) + (cfg_retry) + 223 + 225 (read_config): new keywords RETRY_HEADER, TIMEOUT_CONNECT and TIMEOUT_HEADER (#0136). December 08, 2003 AltF4's patches modules/network.src/iconnect.prj: (new file) modules/network.src/iconnect.c: (new file) modules/network.src/network.c: line 33 (struct ovl_info_t): inet.c: line 12 + 101 + 154 (inet_host_addr) + 209 (inet_connect) + 244 (inet_send) + 286 (inet_recv) + 328 (inet_close) + 346 (inet_info): - support added for Iconnect.OVL. global.h: line 17: Variable.c: line 9: Location.c: line 19 + 401 (location_open): Loader.c: line 643..644 (header_job): - additional global variables to control timeout values for remote connections. December 07, 2003 AltF4's patches inet.h: - line 4: define version date for checking network OVLs. - line 15 + 25 + 37: additional timeout parameter for connection functions. inet.c: - line 26 + 63..64 (ovl_load): check and print out warning for outdated OVLs. - line 31 + 83 + 85..86 (demand_connect) + 181 + 196 + 215 + 227 (inet_connect): additional timeout parameter for connection functions. Location.c: - line 401 (location_open): additional timeout parameter for inet_connect(). modules/network.src/network.c - line 46 (ovl_init): return version date. December 06, 2003 AltF4's patches cache.c: - line 58 + 242 (destroy_item) + 267 (item_reorder) + 370..372 (cache_lookup) + 512 (cache_flush) + 556 + 562 + 566 (exit_flush) + 584 + 648 + 671 + 676 + 694..695 + 701..707 (cache_setup) + 811..813 + 827 (cache_assign) + 849 (cache_expires) + 907..908 (cache_query): reduce index file rewriting to the necessary amount. December 04, 2003 AltF4's patches cache.c: - line 251 (item_reorder) + 352..359 (cache_lookup): reordering of items moved into an own function. - line 845 + 861 + 893 (cache_query): move item to the list begin. December 02, 2003 AltF4's patches http.c: - line 361..368 (http_header): modified method of sending the first line of a request to avoid mysterious connection problems (seems to occure only with Apache 1.3.26). p_about.c: - line 122 + 127 (about_cache): added display of 'no-cache' mode. render.c: - line 763 (render_META_tag): buffer extended for extra long URLs. November 25, 2003 AltF4's patches cache.h: line 15: cache.c: line 56 + 58 + 323 (cache_insert) + 591 + 593..597 + 607 + 685..689 (cache_setup) + 804 (cache_assign): config.c: line 119 (cfg_cachedir) + 129 (cfg_cachemem) + 133 (cfg_cachedsk): - made disk cache related values configurable. ovl_sys.c: - line 72 (clear_slot) + 101 (sig_chld) + 158 (load_ovl) + 241 + 244..245 + 262..263 + 265..266 (kill_ovl) + 283 + 320: disabled debug output. November 24, 2003 AltF4's patches Location.h. - line 48: new functions location_wrIdx() and location_rdIdx(). Location.c: - line 32 (struct s_host_entry) + 41 (struct s_dir_entry): new elements IdxTag. - line 411 (host_store) + (host_search) + 417..419 + 450..454 (host_entry) + 466 (dir_store) + (dir_search) + 470..472 + 620 + 648..669 (dir_entry): code exported to own functions. - line 676: new functions location_wrIdx() and location_rdIdx() to store and read location entries in a cache index file. cache.c: - line 3 + 24 + 52: includes and static declarations added. - line 431 (cache_release) + 455 + 467 + 474 (cache_clear) + 510 (cache_flush) + 677 (cache_assign): new function to update the cache's index file. - line 514 + 535 + 537..538 (cache_setup): use FILE* instead of int filehandler. - line 535 + 537 + 543 + 633..634 + 652 + 663 + 670 (cache_setup): initialize the cache database from the index file. November 23, 2003 AltF4's patches cache.c: - line 48 + 49 + 588 (cache_remove) + 635 (cache_assign): implemented limitation of filling the disk cache. November 22, 2003 AltF4's patches cache.c: - line 44..47 + 192..196 + 203 (create_item) + 245..251 + 253..259 + 261 (destroy_item) + 311 + 314..315 (cache_insert) + 450..451 (cache_release) + 488 + 490..492 + 494 + 508 + 512 + 514 (cache_info) + 522 + 526..529 + 531 (cache_setup) + 658 (cache_assign): static variables renamed vor better code readability. November 21, 2003 AltF4's patches http.h: - line 7 (struct HTTP_HDR): new element LoclDate. - line 22: http_date() is global accessible now. http.c: - line 19 (http_date): made global accessible. - line 303 (expires): added support for delta seconds format. - line 431 (http_header): store local time of receive. - line 475 (http_header): for faulty headers without server date use the local time. Loader.h: - line 21 (struct s_loader): new element Tdiff. Loader.c: - line 173 (new_loader) + 697..703 (header_job): file expiration is stored as local time now. cache.h: line 28: cache.c: line 669: - new function cache_expires(). render.c: - line 802 (render_META_tag): 'http-equiv=expires' implemented. November 19, 2003 AltF4's patches cache.h: - line 34 (struct s_cache_info): new element Cached points to a file name if stored in cache. cache.c: - line 39 (s_cache_item) + 198 (create_item) + 482 (cache_info) + 623..624 (cache_assign) + 658 + 668 (cache_query): new element Cached to store the file name when stored in cache. - line 139 + 145 + 183 + 190..191 + 198 (create_item): parameter 'object' is used now to decide if a cache item stores a memory object or refers to a file. - line 328 (cache_location) + 370 (cache_lookup) + 452 (cache_clear) + 669 (cache_query): locations for cache files are created on demand now. - line 614..619 (cache_assign): changed cached file names scheme to a Base32 encoded number. p_about.c: - line 74..75 + 77 (about_cache): display cache entry locations in bold. - line 85 + 88 (about_cache): the name of cached files is now accessible over an own pointer. November 18, 2003 AltF4's patches image.c: - line 341..342 (image_ldr): if condition for load error fixed. cache.c: - line 32 (struct s_cache_item) + 129 (tree_item) + 138 + 181 + 184 + 196 (create_item) + 243 (destroy_item) + 273 (cache_throw) + 481 (cache_info) + 665 (cache_query): made the code more logical by avoiding side effects/conditions. hwWind.c: - line 1629 + 1642 + 1679 (hwWind_button): more functionality for the redo button: holding the ALT key clears now the whole cache. November 15, 2003 AltF4's patches hwWind.h: line 51 (hwWind_history): hwWind.c: line 18 + 847 + 891 (hwWind_history) + 910 + 912 (hwWind_undo) + 1621 + 1634 + 1652 + 1671..1672 (hwWind_button): AEI.c: line 415 (menu_reload) + 636 (handle_menu) + 760 (rpopup_open): - hwWind_history() got a third parameter to decide if reload should take data from cache or receive new from remote. Mouse_R.c: - line 212 (button_clicked): avoid Pure C compiler warning. November 14, 2003 AltF4's patches parser.c: - line 35 (struct s_parser_priv) + 571 + 716 (parse_css): implemented a pointer stack to allow recursive processing of included files. - line 20 + 547 (css_import) + 603..607 (parse_css): implemented parsing of '@import' command, includes additional CSS files. render.c - line 26 + 40 + 820..832 (render_STYLE_tag) + 876..885 (render_LINK_tag): modified to allow reentrance for processing of recursively included CSS files. Loader.c: - line 647 (header_job): added HTTP reply 303 as redirect (contributed by M.Lutz). November 13, 2003 AltF4's patches parser.h: line 22 (struct s_parser) + 27 (parser_resume): parser.c: line 64 (new_parser) + 146 (resume_job) + 147 (parser_resume): render.c: line 11 + 36 + 2630 + 2638..2641 + 2648 + 2653 (parse_html): - added functionality to allow the parser getting interrupted, eg. for loading additional files. November 12, 2003 AltF4's patches Loader.h: line 26 (struct s_loader): Loader.c: line 31 + 174 (new_loader) + 311 (start_cont_load) + 361 (start_objc_load) + 736 + 749 (header_job) + 778 (loader_job) + 796 (generic_job): image.c: line 341 (image_ldr): - error flag added. token.h: - line 206: keyword CSS_BACKGROUND added (preliminary workaround). parser.c: - line 578 (parse_css): recognize cascaded pseudo formats. November 11, 2003 AltF4's patches render.c: - line 838..842 (render_STYLE_tag): code added to catch faulty HTML code. Loader.c: - line 83..100 + 110 + 115 + 118 + 121 + 132 + 143 + 147 + 151 (parser_job) + 576 (receive_job) + 764 (header_job) + 797 (loader_job): function renamed to start_parser() and code simplified. - line 727..728 + 753 + 758..760 (header_job): corrected handling of very short files. http.c: - line 187..188 (content_length): valid 'Content-Length: 0' wasn't identified correctly, resulting in an useless connection timeout. November 10, 2003 AltF4's patches mime.c: - line 158..173 (mime_byString): changed string comparsion to case insensitive. render.c - line 1796 + 1818..1820 (render_H_tag): reordered code, because insert_anchor() destroyes text attributes when an ID attribute is found (knows the hell why). - line 2636..2637 + 2662..2663 + 2666 + 2677..2678 + 2708 + 2712 + 2723 + 2742 + 2752 + 2757 + 2765 + 2775 (parse_html): small code optimation. parser.c - line 324..326 + 331..338 + 340 (css_values) + 635 (parse_css): reject empty attributes. - line 533..535 (parse_css): added parsing of C++ style comments. hwWind.c: - line 318 (draw_busybar): reduced busy bar growing. November 06, 2003 AltF4's patches mime.c: - line 105 (mime_byString): added string for MIME type text/css. parser.h: - line 42 + 45 (parse_css): additional parameter takeover. parser.c: - line 35 (struct s_parser_priv) + 63 + 116 (new_parser) + 479 + 483 (parse_css): additional parameter takeover to define if the parser has to store the text by itself. Loader.h: line 50: Loader.c: line 52 + 893..900: - made load_file() global accessible. token.h: - line 61: new keyword TAG_LINK. - line 154 + 159: new keywords KEY_MEDIA and KEY_REL. render.c: - line 812..819 + 824..830 (render_STYLE_tag): added check for correct type and media attributes of style area. - line 822 (render_STYLE_tag): additional parameter for parse_css(). - line 847 (render_LINK_tag): link tag implemented, working only for local files yet. November 05, 2003 AltF4's patches mime.h: line 38 (mime_byExtension): mime.c: line 55 + 70 + 72 (mime_byExtension): render.c: line 1547 (render_EMBED_tag): - additional parameter to store the file extension for caching. Loader.h: - line 14 (struct s_loader): additional field for storing the file extension, used for caching. Loader.c: - line 176 + 200 (new_loader): additional field for storing the file extension, used for caching. - line 210 (new_loader) + 616 + 656 (header_job): additional parameter for mime_byExtension(). - line 557 + 565 (receive_job): if the file extension to be used for storing in cache can't be determined by the MIME type it will be taken from the URL now. November 04, 2003 AltF4's patches token.h: - line 212: new keyword CSS_FLOAT. render.c: - line 2038..2042 (render_DIV_tag): added partial CSS support. parser.c: - line 474..476 + 482 + 491 + 497..512 + 522 + 535..536 + 540 + 543 + 555 + 560 + 573..575 + 576 (parse_css): improved recognition of syntax expressions. mime.h: line 13 (enum MIMETYPE): mime.c: line 23 (struct ext_2_mime) + 40 (struct mime_2_ext): - added MIME type text/css. Loader.c: - line 685 (header_job): ignore the server's idea of mime type if already found out ourself. November 03, 2003 AltF4's patches parser.h: line 41: parser.c: line 421: - new function parse_css() implemented, parses a whole