- 20 Nov, 1997 1 commit
-
-
Andrew Hodgkinson authored
Adjust-click on forwards/backwards buttons did not work in the intermediate build, and now does. Adjust-click on form submission buttons where the submit method is POST will now work correctly, as the new view inherits the extradata block of the old. Failure of this is signalled through make_no_fetch_memory_error, code 16 (see updated Errors file in Docs). Note the name change of extradata in this context; more details below. The passing of forms POST data and extra headers for sending in an HTTP request via. the URL module was all done through pointers into flex blocks, and was therefore very unsafe. All relevant functions now use pointers to pointers to the data. To remove confusion on the umpteen uses of the word 'extradata', the field in browser_data has been renamed to 'post_data'. The 'extradata' parameters used within FetchPage.c were all disconnected from the extra header info / form POST data stuff that extradata is usually associated with, and have thus also been renamed, in this case to 'appnddata' (Append Data). As well as X-NoProxy, the browser sends the 'proper' HTTP headers Pragma:no-cache and Cache-Control:no-cache. A redirection from a POST request was not handled correctly; despite what HTTP specs say, you're supposed to use GET for the new URL. The browser was, but when it chopped off the redundant header data in the request didn't terminate it and left Content-Type in anyway...! Fixed. Ctrl+Tab implemented - URL completion. Comes from the hotlist URLs, hotlist titles, history hosts, paths, full URLs and lastly titles. See code comments for more (history_find_match, hotlist_find_match). TableSupport option added to Choices; it is read, can be set by the front-end, but doesn't actually do anything else yet. Reversed Choices' semantics on 'don't expire by...' for History. Added 'needs_redraw' flag to choices_get_contents so that, for example, if the table border types change, browsers get redrawn.
-
- 05 Nov, 1997 1 commit
-
-
Kevin Bracey authored
Stopped UNIFONT forcing system font use and added calls to Font_WideFormat. Made sure the system font option is read before fm_init is called! User agent string now set if Netscape faking is disabled (format used is "Acorn Browse/1.26 (RISC OS 3.71)".
-
- 03 Oct, 1997 2 commits
-
-
Andrew Hodgkinson authored
Fixed problem that affected some internal URLs, most noticably loading external images, where up->fetching was set to zero when it should have been left at 1 (see fetch shutdown code at about line 1670 in FetchHTML.c). *This* is the source that will be sent to PSI, not the previous release as stated in the log, though Customer were sent a browser based on this previous code.
-
Andrew Hodgkinson authored
Updated Res files in appropriate builds to hold various (similar) Choices designs. Choices related menus were flagged as Shared, but none of the dialogues (including ColourDBox) were - potential future problems, though shouldn't cause any leaks at present. This has been sorted out anyway. Encoding function encoding_init no longer returns an error from toolbox_create_object, so the Encoding menu and all those attached to it do not have to be present (e.g. the Customer build). SUB, SUP, STRIKE and U supported. U underlines the baseline of the body text font, whilst STRIKE will go through roughly the middle of the lower case chars even if the font is SUP or SUB. Note that Navigator appears to shift the underline point for SUB and SUP; it may be necessary to copy this behaviour, but testing on real sites must proceed before that. There could also be a problem with the automatic lowering of font size, which Navigator doesn't do, so any FONT SIZE = -n commands could make it too small. Again, this needs testing on real sites. 'http://' is added to URLs with no protocol specified, unless they start with 'ftp.', in which case the new behaviour is to add 'ftp://'. Choices code altered to do less error checking on components! They should be able to be missing without raising errors. Referencing of the subwindow array changed from *(subwindows + number) to subwindows[number]. Made trace_tag_name code look pretty... reformat_useless_token now checks tagno is non-zero. User Agent string setting now done through URL_GetURL, on a per-session basis. Ellipsis character removed from all Messages files, replaced with '...'. There's little difference between the two in an outline font, and in System font the latter looks much better. Smart quotes left in, as they look better in all cases.
-
- 18 Aug, 1997 1 commit
-
-
Andrew Hodgkinson authored
Limits.h, and ensured consistent comment styling throughout all sources. Fetch.c/h split to Fetch, FetchHTML and URLveneer. URLstat.c/h produced to cope with this. OpenURL and Find sources created from bits in the Windows source file that shouldn't have been there... These will get filled out shortly. Note that a few functions in Fetch are due to be renamed and moved; probably to Tokenutils.
-