File: "hist-009.txt" (newer changes in "history.txt") October 29, 2002 [V. 0.09 release] AltF4's patches purewireprj, highwire.prj: - dependencies updated. October 27, 2002 AltF4's patches highwire.h, highwire.rsc, highwire.hrd, highwire.rso, highwire.rsm, highwire.rsd - updated for new encoder entries. global.h: - line 45: new global variable for debugging purpose. config.c: - line 95.. (read_config): new keywords: - LOCAL_WEB: directory for offline reading (see Location.c), - LOGGING: =1 enables console logging, - NO_IMAGE: =1 suppresses image loading. Location.c: - line 24: replaced define LOCAL_WEB by a char* which can be modified with an entry in the highwire.cfg file. - line 162 + 172 + 208 (new_location): adapted to new local_web variable. encoding.c - line 204 (utf16_to_bics): overworked to avoid useless checks. - line 357 (utf16_to_atari) + 420 (encoder_word) + 550 (utf16_to_8bit) + 589 (encoder_char): new encoders. Rainer patches (of October 9, 2002) global.h: - line 71: new functions menu_logging(), menu_alt_text(). encoding.c - line 204 (utf16_to_bics) + 408 (encoder_word): new encoder. keyinput: - line 79 + 82 (key_pressed): make use of functions instead of direct variable access. - line 154: new shortcuts ^F vor ISO Latin-15 and ^M for Macintosh Roman. AEI.c: - line 395: new functions menu_logging(), menu_alt_text(). - line 411 (handle_menu) + 429 (update_menu): new cases for ENCODING_ISO8859_15, _UTF16, _UTF16LE, _MACINTOSH, _ATARINVDI. October 26, 2002 AltF4's patches defs.h: - line 132: changed definition to also allow nobreak space for the system font. fontbase.h: - line 19: removed attribute ChrShft, was never used. fontbase.c - line 16 (font_base): added check for zero font id. - line 32: removed ChrShft. - line 140 (font_byType): corrected calculation of ascend/descend for system/bitmap fonts. scanner.h: - line 36 + 59 + 79: extended argument lists of scan_namedchar(), scan_string_to_16bit() and encoder_word(). - line 92: changed unicode_to_bics() to unicode_to_wchar() and unicode_to_atari() to unicode_to_8bit(). scanner.c: - line 366 + 382 + 410 + 412 + 425 (scan_namedchar) + 596 + 598 + 618 (scan_string_to_16bit): additional argument mapping for the encoder function and to avoid hard coded character codes. en_atari.h: - line 29: replaced literal space by defined symbol for 0x00A0. - line 121: added missing entries for 0x301D, 0x301E, 0x301F. en_bics.h: - line 287: added missing entries for 0x301D, 0x301E, 0x301F. encoding.c: - line 273..: all functions renamed from the scheme .._to_atari() to .._to_8bit(). - line 241..: new functions uni_2_atari() ... atari_to_atari() to 16-bit system/bitmap font. - 248.. (encoder_word): overworked to handle system/bitmap font. - 263: new function unicode_to_wchar() replaces unicode_to_bics(). Form.c: - line 93 (form_radio) + 134 + 147 +164 (new_input): modified to replace hard coded space characters. - line 148 (new_input): use encoder instead of simple copying. render.c: - line 183 (render_TITLE_tag): additional argument for scan_namedchar() call. - line 960.. (render_Q_tag) + 1797.. (list_marker): overworked to replace hard coded BICS codes by encoder function. - line 1112 + 1142 (render_IMG_tag) + 1457 (render_BLOCKQUOTE_tag): adapted to changed scan_string_to_16bit(). - line 2432 + 2455 + 2496 + 2508 (parse_html) + 2626 + 2641 (parse_text): adapted to changed encoder_word(). - line 2518 (parse_html): adapted to changed scan_namedchar(). October 25, 2002 AltF4's patches hw-types.h: - line 68: enum ENCODING enhanced by ENCODING_UTF16 and ENCODING_UTF16LE (by Rainer). - line 77: moved ofer definition for min()/max() from defs.h, looks more logical if this is located here. defs.h: - line 126: replaced definition of Space_Code by definitions for every font type that will be supported in future. - line 135: removed declaration of min()/max(), is in hw-types.h() now. Loader.c: - line 24: removed include of macros.h, the necessary definitions are in hw-types.h now. global.h: - line 104: added declaration of launch_viewer(). AEI.c: - line 471: removed declaration of launch_viewer(), this is in hw-types.h now. fontbase.h: - line 39: added two short hands for accessing of a font's space and figure/nobrake space codes. fontbase.c: - line 10: removed defines for font type dependent space and nobreak codes, this is in defs.h now. en_bics.h, en_atari.h, en_uni.h: - new file to take over the translation tables of encoding.c which will grow rapidly soon. Rainer started this idea already by introducing the uni_bics.h file but this way the scheme is more logical. encoding.c: - all arrays are located now in the en_bics/_atari/_uni.h files. - all occurences of Space_Code replaced by SPACE_BICS. W_Struct.c: - line 10: extended struct fixed to have it working for different font types. - line 20 (destroy_word_structure) + 79 (new_word): adapted deleting to extended struct fixed. - line 101 (word_store): modified to take care for different font types. Paragrph.c: - line 594 (content_minimum): modified to take care for different font types. render.c: - line 933 (render_A_tag) + 1113 + 1142 (render_IMG_tag) + 1457 (render_BLOCKQUOTE_tag) + 2133 (list_marker) + 2527 + 2542 + 2563 + 2575 (parse_html) + 2650 + 2672 + 2684 (parse_text): modified to take care for different font types. Redraws.c: - line 512 + 589 (draw_paragraph): modified to take care for different font types. purewire.prj: - line 35: added option 'no string merging' to entry of scanner.c to avoid a possible compiler bug. October 23, 2002 AltF4's patches hw-types.h: - line 31: copied the MAP_.. definitions from gem.h, will be needed for font stuff soon. defs.h: - line 95: new forward declaration. - line 382: in struct word_item, new attribute font. global.h: - line 10: removed include of highwire.h, this should only be done by the files which really need it. schedule.c: - line 10 replaced include of defs.h by hw-types.h, makes compiling a little bit faster. AEI.c: - line 22: added include of highwire.h. W_Struct.c: - line 56 + 66 (new_word): preset font attribute. fontbase.h, fontbase.c: - new files to take over VDI font attribute aspects. Form.c: - line 176 + 189 (new_input): adapted to new font_byType() function. render.c: - line 79: removed map(), not longer needed. - line 1803 (long2decimal) + 1815 (long2alpha) + 1827.. (list_marker): overworked to reduce the number of literally BICS codes. - line 1154 (render_IMG_tag) + 1467 (render_BLOCKQUOTE_tag) + 2468 + 2480 + 2451 (parse_html) + 2682 + 2690 (parse_text): adapted to new font_byType() function. Redraws.c - line 405 (draw_image): marked argument as unused to keep PureC quiet. - line 473 + 526.. (draw_paragraph): adapted to new font_switch() function. HighWire.c: - line 18: added include of highwire.h. - line 156 (main): removed VDI font setting calls, will be done in fontbase.c. Makefile, purewireprj, highwire.prj: - updated, special the dependencies should be complete now. October 18, 2002 AltF4's patches color.c: - removed typedef CHAR, this is already in hw-types.h. defs.h: - line 12[19] + 14[21] + 129[143] + 147[169] + 281[315]: definitions moved to hw-types.h. - line [167] moved the define for vdi_handle to global.h where it is placed better. - line 304[338] + 320[354]: removed no longer used #ifdef. - line 473[516] + 494[538]: in struct frame_item, new attributes Language and quot_lang. Frame.c: - line 24[25] +50 [52] (new_frame): new attributes Language and quot_lang. global.h: - line 28[25]: made vdi_handle, planes, ignore_colours macros to access vdi_dev instead. HighWire.c: - line 61 + 178[187] (main): modified to open more than one window if started with ore than one file. - line 114[129]: changed usage of ignore_colours. hw-types.h: - new file to take over the main type definitions used in HighWire. image.c: - line 6[8]: removed no longer used #define. Redraws.c: - line 7: removed no longer used #define. render.c: - line 967[1023].. (render_Q_tag): overworked to avoid a static variable in the function. - line 1111 + 1140 (render_IMG_tag) + 1475 (render_BLOCKQUOTE_tag): additional space_code argument for scan_string_to_16bit() calls. - line 2162[2225] (render_LI_tag): additional check if the BRK flag can be set to previous word item avoid crashes on NULL pointer access. scanner.c: - line 19: include hw-types.h instead of defs.h to avoid some strange compiler bug in Pure C 1.0. - line 597[610] + 619[632] (scan_string_to_16bit): additional argument space_code. scanner.h: - line 58: changed declaration of scan_string_to_16bit(). Variable.c: - line 46 + 56: removed globals ignore_colours and vdi_handle, since these are macros now. Rainer's patches (October 9, 2002) HighWire.c: - line 37 + 56: removed declaration and usage of planes and vwork_out[]. image.c: - line 99 (new_image): changed type UWORD to WCHAR. render.c: - line 146 (render_HTML_tag): added support forLANG attribute. October 14, 2002 AltF4's patches hwWind.c: - line 400.. (wnd_hdlr): overworked to fix the newly implemented flickering bug of pages with non-loadable images; reduced calls to graf_mouse() where possible because check_mouse_position does this already. Logging.h: - line 5: added gcc extension to have the argument lists of errprintf() and logprintf() checked. Mouse_R.c: - line 288 + 306 + 333 (check_mouse_position): modified to avoid useless actions on iconified windows; displays now the text of the link where the mouse is over (if any). render.c: - line 2603[2686]: avoids empty word items if a blank appears just behind a tag that already produced an new word_item. Rainer's patches (October 9, 2002) Logging.c: - line 56 (logprintf): changed type of color to short. - line 71: corrected output handle to stdout. October 13, 2002 AltF4's patches AEI.c: - line [5]: reverted Rainer's delete of includes for other compilers than PureC. - line 510[708] (process_messages): changed case AV_OPENWIND to have it always opening a new window. Containr.h: - line 28: added missing enum values for images begin/end loading. encoding.c: - line [86] (utf8_to_unicode) + [591] (iso8859_15_to_bics) + [842] (iso8859_15_to_atari): additional braces to avoid compiler warnings. http.c: - line [66] + [121] + [143] (http_charset) + [145] (content_type) + [244] (http_header): reverted Rainer's changes of cset and type because this don't work with gcc this way. - line 112[116] (http_charset): uses function macro. http.h: - line 10: corrected default value of Encoding (this must not be negative in gcc due to enum!). hwWind.c: - line 21 + 382 + 72 (new_hwWind): function wnd_hdlr() taken over from AEI.c, added handling of HW_SetTitle, HW_ImgBegLoad, HW_ImgEndLoad. - line 256: function hwWind_scroll() taken over from AEI.c. hwWind.h - line 30: function hwWind_scroll() taken over from AEI.c. image.c: - line 346[348] + 418[420] (image_job): uses enum values now. inet.c: - line 50 + 56 (find_drivers): added type casts to avoid warnings. keyinput.c: - line 86 + 93 + 99 + 105 + 111 + 117 + 121 + 125 (key_pressed): adapted wind_scroll() calls. Loader.c: - line 24: more includes for gcc to have min() available. - line 282[308] + 520[598] (loader_job): uses function macro. Loader.h: - line [32] + 31[36]: function macros for major and minor type of MIME, that's better than having a bitmask in the enum. Mouse_R.c: - line 104 + 170 +189 + 254 (button_clicked): adapted wind_scroll() calls. render.c: - line 21[94]: cast to WCHAR. - line 170[196] (render_TITLE_tag): always initialize buffer. Rainer's patches (October 9, 2002) AEI.c: - line 26 (appl_xgetinfo): added support for WINX. - line 52: wind_scoll() and wind_handler() moved over to window file. - line 74: moved vastart() to here. - line 78 (vastart): implemented reply message. - line 146: additional GS_.. defines. - line 237 (doGSCommand): [RS] Updated to GEMScript 1.2. Added CheckCommand, Close, GetAllCommands. - line 437 + 442 (handle_menu) + 447 (update_menu): menutree is located now in HighWire.c. - line 555 (process_messages): added cases for AV_PROTOKOLL, VA_PROTOSTATUS, AV_SENDKEY, AV_OPENWIN. - line 562: [RS] case GS_REQUEST updated to GEMScript 1.2 and optimized. - line 603: case AP_DRAGDROP added, always rejecting yet. av_comm.h: - line 92: corrected bit mask. av_prot.c: - line 51 (get_avserver): added check for "CAT". - line 58 (Send_AV): changed type of argument to_ap_id to short, added case for VA_PROTOSTATUS, improved the code, [RS] Changed the warning supression for Pure C to an official way. - line 103 (Receive_AV): additional argument msg, added cases for VA_PROTOSTATUS and VA_PROTOSTATUS. Containr.c: - line 815 (containr_redraw): removed faulty wind_update() call. Containr.h: - line 29: new value HW_SetInfo defs.h: - line 16: [RS] Added several encodings and languages to enum. encoding.c: - line 16 (utf8_to_unicode): overworked. - line 61 + 668 (iso8859_2_to_atari): overworked to make use of ISO8859_2_to_Unicode[]. - line 61 + 494: new encoder macintosh_to_bics(). - line 495: new encoder iso8859_15_to_bics(). - line 507 (encoder_word) + 751 (encoder_char): added cases ENCODING_ISO8859_15 and ENCODING_MACINTOSH. - line 701: new encoders iso8859_15_to_atari() and macintosh_to_atari(). global.h: - line 60: moved process_messages() down. - line 170: changed arguments of Send_AV() and Receive_AV(). HighWire.c: - line removed extern xaccname, gsanswer instead. - line 91 (main): changed allocating of global memory. - line 135: shortend aximum window title length to 127. - line 163 + 187: removed old code. http.c: - line 11: [RS] Added include for token.h and scanner.h. - line 19 (http_charset): changed type of len argument. - line 117: [RS] Now uses scan_encoding(). http.h: - line 19: changed declaration of http_charset(). inet.c: - line 42 + 57 (find_drivers) + 64 (init_stick): changed return type. -line 95 (inet_host_addr) + 126 (inet_connect) + 146 (inet_send) + 205 (inet_recv): [RS] Added several '(void)parameter' to supress warnings from Pure C without USE_INET defined.. Loader.c: - line 84 (parser_job): [RS] Skip HTML comment before check for an HTML file. - line 128: added extensions "jpeg" and "mpg". - line 475 (new_loader_job): [RS] about: check for NULL pointer returned by inet_info(). - line 905 (identify_AES): additional comments for cookie values. Loader.h - line 10: new value MIME_Unknown. O_Struct.c: - line 136 (new_url_link): preset of encoding. render.c: - line 82: changed type UWORD to WCHAR. - line 217 (render_TITLE_tag): replaced useless strlen(). - line 623 (render_BASEFONT_tag): added support for font colour. - line 916 (render_A_tag): make use of scan_encoding(). - line 974 (render_Q_tag): overworked for better language support. - line 1040 (render_IOD_tag): [RS] Using container_notify() to set window info. AES needs static memory! - line 1323 (render_P_tag): [RS] Ignore a paragraph start just behind a
handles bgcolor
September 11, 2001
more modifications to handle new table structures
first parsing of data to new table structures
September 10, 2001
variable() patched again. We need to parse out LF and CR. It
appears that MS considers it legal to place them inside of a
tag.
modification to HR parsing, if there is no width the width
is set to -100 (or 100%)
modification in redraw to handle new HR parsing. Basically its
back to the original with some care to avoid overflows
table_item() structure work started
table_child() structure work started
table.c file added to project
September 7, 2001
frame_name added to frame structure and load_to_do item
NAME parsed in frameset parsing code in PARSE.C
target added to url_link structure.
new_url_link() added target parameter
September 6, 2001
fixed two more integer overflow bugs in f_calc.c
implemented suggestion by Deun for handling integer overflow problem.
implemented a method for adding 1 to frames to fill space
Probably could be done better, but I don't have any manuals here.
Also NOTE we really need to think about how to inform later frames
that their x has moved by one.
renamed this file to HISTORY.TXT
Changed clipping area y to WORD from long. Did some casts to WORD
and other modifications to support this change.
Changed clickable area y to WORD from long. Support casts to WORD
and other modifications necessary done.
Found another overflowing integer in the scroll widget size determination
fixed vertical and horizontal. So scoll bars are working properly now.
September 5, 2001
trashed image as word item experiments
New routine parse_text() for handling ordinary text files
like this one.
new Routine get_decoder_type() for determining the appropriate
decoder for a file based on it's extension.
Modifications of parse_to_do item and add_parse_to_do to handle
the decoder type extension
Modified the size of several buffers in parse.c, the reason was
we were over flowing them. This would be a good area to investigate
alternatives.
patched draw_frame_contents to watch for right border not allowing
words to fit
border now parsed in parse_frameset (well used now at least)
modifications in calculate frames. We were overflowing the buffer
if our framesize was a percentage and getting erroneous results
September 4, 2001
experiments with making images a word item...
August 31, 2001
Not perfect but the blocks for the images are at least partially
working. It needs some improvement which might involve some major
shifting around in the code. But most of the time it works without
locking up.
Mikes patches for lattice window title code in place.
August 30, 2001
changed default output in special_char_map_str() to Space_Code
modified strike out display location in draw_frame_contents from
divided by 3 to divided by 2
August 29, 2001
I had missed Fuchsia in the parse_color() routine.
August 28, 2001
experiments with <\pre> partial initial support. (still has some problems) July 14, 2001 found vs_clip() problem on TT with Nova card and NVDI July 13, 2001 |