- 05 Jan, 1998 1 commit
-
-
David Brown authored
-
- 18 Dec, 1997 1 commit
-
-
Andrew Hodgkinson authored
Not all resources are up to date in this check-in, and documentation both within source and stuff in 'Docs' is out of date or missing - I was very pushed for time on this one... Hopefully will do another 'tidy up' check-in before close on Friday; until then, beware of anything other than the Ursula (Desktop browser) build. Anyway... Export As Draw done. As part of this, FONT SIZE and SUP / SUB adjustment of font size is done in fm_token_font_info rather than fm_find_token_font. Bullets and switches are plotted as indirected sprite items, rather than indirected text + sprite items - this relied on being in a redraw loop to pick the sprites up from the local pool (failed during printing). URI files now have a LF line ending rather than CR... '*' recognised as an empty field when loading via. RAM transfer now (only worked for loading from disc before). Gave placeholder bounding boxes 4 OS units more minimum extra gap vertically and reduced horizontal addition to this value * 1.5, rather than * 2 (see reformat_get_placeholder_size). Background image tiling starts at ymax - h + 4, rather than ymax, so there isn't the bottom line of pixels from the top tile always present at the top of the window. The '+4' is for caution's sake. Can now save a frame's HTML source, that of its parent or its ancestor, and the same for the URI pointing to those documents - see Menus.h for the relevant component IDs that should lead to the SaveFile dialogue. Have hopefully fixed timeout = 0 values (i.e. 'forever') on things like LinkTo; before, image fetches could override the state (so you'd only ever see brief flickers of a given URL as the pointer went over a link). Save File dialogue will remember the state of option or radio buttons for a given parent component origin and restore that state when the dialogue is next opened from the same place (stops turning on saving as a URL file also turning on 'save background images' for Draw file export, etc.). Use of a META tag to reload the *same* page now sets the 'reloading' flag in the browser so that it doesn't go through a proxy - otherwise pages which are meant to update periodically through client pull don't work, as they keep coming out of the cache. Can now handle images specifying just a width or height in the HTML (other dimension is scaled accordingly, but note that the placeholder size must still be 'dumb' until the image data comes in). An image will now override an image history size entry for the same entry with a different size.
-
- 12 Dec, 1997 4 commits
-
-
Andrew Hodgkinson authored
Note that the 'Docs' documentation (possibly contrary to previous log messages) still hasn't been updated with the new SaveFile stuff, and function header comments have yet to be written for SaveFile.c. Fixed urlutils_pathname_to_url - OS_GSTrans doesn't like the same input buffer as output buffer (fairly obvious, but I was living in the hope of not having to duplicate the input path string). Image history will not cache scrap file images anymore. Browser's image handling library won't cross reference them either. When dragging a single item from the hotlist to a Filer window, the code now checks Ctrl - if held down, a URL file is written, else a URI file. The state of any option buttons or radios in the last Save File dialogue that was opened is no longer relevant...! history_save_as_html could write out broken files when titles for items in the History were not present. Fixed. Hourglass switched on for hotlist and history saving as HTML; hotlist_save_entries no longer closes the output file on error (it should be done by the caller, since the caller is responsible for opening the file and passing the FILE * pointer to hotlist_save_entries).
-
David Brown authored
-
Andrew Hodgkinson authored
Bug report prompted me to do this - now ignore <p> tags straight after <li> tags, so '<ul><li><p>Some text' works as the author (or automatic generator, more commonly) intended. A <p> tag before a table will be acted upon now (it was ignored before). Something like <li><p><table...> will give a line break and paragraph space after the <li> despite the changes mentioned above, as in other browsers. Both browsers differ from Navigator, where the table appears alongside the <li> tag. Multiple BR tags work as in MSIE / Navigator (they don't collapse to zero height anymore). For the above, line height (and so, <br><br> or <p> spacing) is now calculated inside reformat_text_line_height, and is used with either a token to get the text height at a given size (e.g. for general line spacing or multiple BR tags) or NULL for normal size text (e.g. for P spacing, though this value is in practice later scaled by 7/8ths in reformat_check_height). Note this behaviour is exhibited by MSIE 4; v3 gave two BRs the same spacing as one P (i.e. not font size dependent). Save dialogues can have an option button or couple of radios to switch between various formats (e.g. URI or URL, sprite or original format). See 'Docs.Notes' for more. The back-end to this is now implemented (i.e. at the moment, save as URI or URL, save as original image format). Note that when saving background images, a leafname based on the original fetch URL is now offered rather than a generic 'Background'. Internal URL scheme changed to be all lower case, so relativisation through URL_Fetcher still makes sense... :-/ Holding down 'shift' when clicking on stop reverses the interpretation of the Controls file 'StopWebServe' entry. Fixed row / column count for exporting tables as text; fixed a few bits and pieces of internal URL scheme stuff which got broken when HTMLLib started using URL_Fetcher's relativisation; this includes automatic expansion of system variables in pathnames, in urlutils_pathname_to_url.
-
Andrew Hodgkinson authored
There are a few known significant problems with this code but it's being checked in so the Choices can be worked on. Note that Res files etc. are not up to date across all builds. Progress is as follows... Bug report prompted me to do this - now ignore <p> tags straight after <li> tags, so '<ul><li><p>Some text' works as the author (or automatic generator, more commonly) intended. A <p> tag before a table will be acted upon now (it was ignored before). Something like <li><p><table...> will give a line break and paragraph space after the <li> despite the changes mentioned above, as in other browsers. Both browsers differ from Navigator, where the table appears alongside the <li> tag. Multiple BR tags work as in MSIE / Navigator (they don't collapse to zero height anymore). For the above, line height (and so, <br><br> or <p> spacing) is now calculated inside reformat_text_line_height, and is used with either a token to get the text height at a given size (e.g. for general line spacing or multiple BR tags) or NULL for normal size text (e.g. for P spacing, though this value is in practice later scaled by 7/8ths in reformat_check_height). Note this behaviour is exhibited by MSIE 4; v3 gave two BRs the same spacing as one P (i.e. not font size dependent). Save dialogues can have an option button or couple of radios to switch between various formats (e.g. URI or URL, sprite or original format). See 'Docs.Notes' for more. The back-end to this is now implemented (i.e. at the moment, save as URI or URL, save as original image format). Note that when saving background images, a leafname based on the original fetch URL is now offered rather than a generic 'Background'. Internal URL scheme changed to be all lower case, so relativisation through URL_Fetcher still makes sense... :-/ Holding down 'shift' when clicking on stop reverses the interpretation of the Controls file 'StopWebServe' entry. Fixed row / column count for exporting tables as text; fixed a few bits and pieces of internal URL scheme stuff which got broken when HTMLLib started using URL_Fetcher's relativisation.
-
- 08 Dec, 1997 1 commit
-
-
Kevin Bracey authored
Made fm_get_string_width work for system font when the maximum width is less than the width of the first word. Corrected width of wide characters to 16 dots not 17.
-
- 04 Dec, 1997 1 commit
-
-
Andrew Hodgkinson authored
Fixed some glitches in the modified status bar code (e.g. status inference wasn't working properly). Shift+Toggle size always opened to not obscure the icon bar. If CMOS is set to always show the icon bar, then Shift+Toggle size is meant to reverse sense and open to absolute full size. It now does this. !Run[D] files now require URL 0.22, HTTP 0.64, FTP 0.22, Gopher 0.08 and File 0.32. Minor overhaul of 'Docs.Notes' (with 'Docs.User' similarly updated) to include a few new bits and pieces. Timeout values of 0 now mean 'forever'. Plug-in status messages now have their own timeout setting. New Messages token 'Actv' for extra info when a status message times out and the status line drops to 'Viewing' or 'Ready' when there is still a Busy state registered by the Plug-in. Small Fetch windows don't become visible briefly for Plug-in fetches when the fetch is complete (for SeeFetches:no, where these windows should be hidden all the time). WebServe may be controlled through the Browse front-end via. Wimp_MAppControl reason code 4 (Wimp_MAppControl_Configure). Note the renaming internally of 'WebServ' or 'WebServe' has been changed to 'Proxy' (with lower case equivalents where relevant); proxy name and starting details come from the Messages file 'ProxyName' and 'ProxyComm' tokens. More in 'Docs.Notes'. Res files updated for image history and PRE/TT font aspect ratio choices. 'Don't expire' labels changed to 'Expire' (oops, didn't notice the change in the development Browse's Res file when I updated all of the others until now...). When printing, Wimp_PlotIcon appears to ignore R4 and R5, plots 'somewhere' on the page, and tries to get the sprite from the global pool. This latter part normally causes an error to be raised; though on my machine I just get a corrupted error message. The Desktop font gets lost at this point too. All have yet to be fixed; as an interim work around, Wimp_PlotIcon objects are never drawn at all if the global 'printing' flag is set.
-
- 03 Dec, 1997 2 commits
-
-
David Brown authored
-
David Brown authored
-
- 02 Dec, 1997 1 commit
-
-
Andrew Hodgkinson authored
Message_PlugIn_Busy. Plug-in code more robust when given invalid browser instance handles by the plug-in. Line spacing is now calculated on the basis of the normal style base serif font, with all other fonts being forced into that line height. This does mean that an unusually tall (say) sans serif font may get clipped. It appears to be the only way to get around wildly different baseline depths returned from the font metrics - you can't work out line spacing based on each different font style; the line spacing will vary. Table heighting (as opposed to widthing...) improved considerably; rowspan can no longer cause very tall cells in odd places. Having trouble getting rid of the single pixel breaks between vertically adjacent cells, though I've not tried too hard. Widthing, though, seems fairly badly broken at present... :-/ Set/clear of page_is_text flag made more robust (it looked as though there was the potential for this to get stuck in a set state, though I've never see the front-end behave in a manner which indicates this is the case). The reformatter will now decrease leading if this flag is set (plain text pages look daft with a line spacing that is OK for 'rich' text pages). No reformatting is done if the page width changes by dragging on the resize icon, though toggle size / full screen will still reformat even if the contents are only text (browser needs to sort out various width flags at this point). Cut down on excessive redrawing when reformatting due to a change in window dimensions is not done. If display_width hasn't changed, then no redraw is needed. If this causes redraw problems, then whatever is changing display_width needs investigating. It shouldn't be kludged (basically) by forcing a redraw instead of a reformat. TT/PRE/etc. text can now have a non-100% aspect ratio. 80-90% looks best (ArcWeb, for example, uses 86%). New option 'TTAspect' in the Choices files. Debug builds link to a non-debug Unicode library now; stops stderr being dumped to the bottom left of the screen if you've not redirected it in the Run file. RISC OS 3.1 seems to need more initial WimpSlot than later OS versions. The 64 deep nested table set gives a 'No stack for trap handler' error (which it really means in this case!) without 800K, even though 3.71 is happy with just 640K. So, the !Run file checks if Boot$OSVersion is exactly 300, 310 or 311, and sets the WimpSlot accordingly. !Run[D] files now require latest fetcher module versions (URL 0.21, File 0.31, HTTP 0.58).
-
- 01 Dec, 1997 1 commit
-
-
David Brown authored
i) There can be two sets of gadgets, one set for page history and another set for image history. ii) There can be one set of gadgets for both settings and two radio buttons to select between them. Only one of these may be present at the same time. Currently the radio button version is the one that is in place. To change to the other version delete the radio buttons and copy the gadgets from the ChoicesTMP window into the appropriate window.
-
- 28 Nov, 1997 1 commit
-
-
Kevin Bracey authored
-
- 27 Nov, 1997 1 commit
-
-
Andrew Hodgkinson authored
Significant reduction in number of times reformatter is called during a table widthing session results in a dramatic speed increase for nested tables (e.g. 64 deep with a paragraph of text in the deepest table takes about two seconds to load with near-instantaneous subsequent reformats, as opposed to taking optimistically 28 days for a 32 deep table!). This code relies on a very big stack of assumptions... Save as plain text implemented. Choices, Messages and Res files brought up to date where necessary. Version number taken to 1.28, 04-Dec-97 (so I don't forget later, basically...).
-
- 26 Nov, 1997 2 commits
-
-
Andrew Hodgkinson authored
Forgot to add in ImgHistory.c / h last time. Note also that only the Browse and Ursula resources are up to date at this point - bits are missing from the other builds.
-
Andrew Hodgkinson authored
Image history - sizes of images are remembered for future reference (if the sizes aren't specified in the HTML, they can be looked for in the image history instead to minimise reformatting requirements). Choices file options ImageHistoryPath, ImageExpiryAge, ImageMaxSize and SaveImageHistory added to support this (all have a direct analogy to the global History items of the same name after removing 'Image'). Text area items are now the correct height for the number of rows specified in the HTML, don't scroll a line too early, and have the caret placed at the start of the text when moved into from above or at the end when moved into from below (rather than always at the end, which was behaviour inherited from single line writables, where this is desirable). The top of the text area is aligned to the top of any line of text on the same line, with the text area dropping below the text, rather than the bottom of the area matching the text baseline and extending upwards. Filename extensions for download files are only stripped if an attempt to convert to a RISC OS filetype through the Mime Mapper module does not return an error or Data (0xffd) filetype. '.cgi' is a special case which is always stripped. Altered heading styles - all are bold, none are italic, H3 is as big as H2 was, H2 is a little larger, and others scale down to H6 being the size as normal text (but, as I say, bold). Sorted out tables and forms. We can just look for tagno=TAG_FORM, and get rid of the wobbly form_flag; also discarded the redundant reprocess_table flag in fetch_preprocess_token. Two separate forms in consecutive table cells (for example) which used to fail - they were submitted as one single form - will now work correctly. Fixed nasty bug in FontManage.c where font size 7 would intermittently fail. The stupid font sizes that it could ask the Font Manager for may be responsible for the occasional Font Manager crashes that have been noticed. Array for font sizes was declared as [Limits_FontSizes], but indices 1 to Limits_FontSizes are actually used - so needed a '+ 1' in the declaration... :-/ Replaced the case insensitive string comparison functions in Utils.c with more efficient versions by S.Brodie. MAXLENGTH specifier in INPUT tags is now supported. If unspecified or specifically zero, the browser overrides and allows any length.
-
- 21 Nov, 1997 4 commits
-
-
Andrew Hodgkinson authored
All hotlist_find_match calls wrapped in '#ifndef REMOTE_HOTLIST' compile time option, for Customer builds. Cross referencing of images when the background colour is different - should not do it for backgrounds, for e.g. alpha transparent PNGs would then fail. This was implemented, but it turns out it affects *all* cross referencing! Fixed for just background images. As described in Docs.TagNames, the tag name "ahodgkin_127beta2" associated with this checkin applies to everything *except* Choices.c. v1.27 beta 2 was build with the Choices file tagged "ahodgkin_127beta". The confusion arises because Choices.c got independently updated and checked back in before I checked in the v1.27 beta 2 changes myself.
-
David Brown authored
Choices dialogue only gets created the first time it is opened (ie. it is not deleted every time it is closed anymore). Can be controlled by a #define
-
David Brown authored
More tidying. Made choices_seconds_to_typed_time a LOT smaller. Made choices_return_appropriate_timetype do what it says it does (thankfully not a problem for the bete released version).
-
David Brown authored
-
- 20 Nov, 1997 2 commits
-
-
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.
-
David Brown authored
-
- 19 Nov, 1997 1 commit
-
-
Andrew Hodgkinson authored
This is an intermediate check-in to allow work on Choices for the new table options and History choices as detailed below. Res files are not up to date except where indicated and there are several known bugs that will be fixed before the 'final' v1.27 is created. Any work on resources should only be done for the testbed !Browse. Client side image maps implemented. There is code to draw highlighted borders in CSIM.c, but this is not wired in yet; other than that, the implementation is functionally complete. As part of this, centralised the fetching of a targetted URL taking into account user request of a new view and full screen mode, in fetchpage_fetch_targetted. The forms library now uses this too, so form buttons respond to both adjust-clicks and TARGET attributes. Fixed APPLET handling where '.class' isn't present in the CODE attribute. Paragraphs squashed at the top of cells/pages - browser would insert white space before. Now append a ' ' to the end of History menu items to prevent the Wimp thinking the end of entries represents a keyboard shortcut (e.g. 'Home'). Netscape's handling of 'meta http-equiv="refresh"' is to start counting when the fetch has completed and everything else has died down. The browser will now not start counting until the animation handler is deregistered (so formatting is complete) to show similar behaviour (note that this checks the main handler, not the 'idle but returning to first frame' drift handler). URLs from requests for fetches by Plug-Ins are now relativised. Page width change tolerance prior to reformat upped from 16 to 32 OS units. Hoping to provoke a loosely connected bug with this change! TableOuter, TableInner and SeeFetches choices added to all Choices files, with appropriate loading and saving code in Main.c and Save.c. AuthorFTP and AuthorFSh messages added for FTP authentication, and dialogue handling code (the component in FetchHTML.c) updated to recognise an FTP fetch and alter the dialogue presentation appropriately. All Messages file version numbers taken up to 1.27 (20 Nov 1997). Following a UseNet suggestion, Ctrl+Toggle Size will increase the window size to fill the screen vertically only; horizontal size/positioning is not changed. Shift+Tab in the URL writable will cycle through alternative fetcher protocols (from both the Controls file and checking the fetcher modules are actually present). Hotlist doesn't require '://' in URLs when loading HTML, just ':/' - so 'file:/' URLs now will be reloaded correctly. History system rewritten completely. GHistSize and VHistSize options removed, and replaced by MaxSize and ExpiryAge. Now have global history menus with most recently visited items at the top, and local history menus which reflect the path that forward/back buttons would take. Browsers are robust to background expiry of the History though this is not implemented - date expiry and size checks are carried out on history_record only. This does mean that with two windows open one could have the history expired underneath it whilst another fetched, though; the code handles this and update toolbars (greying items) as necessary. It is possible to have the history limits so tight that even one entry will not fit and again the code copes with this, though values read from Choices are limit checked to ensure rather more useful results! Implemented 'Save' button in save dialogues. Remembers pathnames and just replaces the leaf now (hard coded exceptions for <Wimp$Scrap>... and <Wimp$ScrapDir>...) - it did before, but only if you'd typed the path in. Not many people did, given that you couldn't press Return or click on a Save button to use that path... In a similar vein, files of type Data or DOS will be checked for a '/xxx' type extension and the MimeMap module will be used to find a more meaningful filetype. If this can be handled, the file is loaded. This only works for files dragged to the browser - the behaviour with inline data in web pages will depend on the File module, and similarly, if File doesn't spot what is going on and claims that the object is data, the browser will just open a save dialogue for it. !RunD files taken up to 3072K WimpSlot. Hotlist's saved HTML page title wasn't internationalised - is now. This opened up a significant can of worms; on file write error, the file would never be closed, and if a caller of the save or load functions passed in a filename held in the global Messages lookup buffer then subsequent lookups in the callees would corrupt that filename. All sorted out now. Local (not very useful) or global (useful) histories can be saved as HTML, which opens up the possibility of sending your history to the hotlist by saving to it. Local and global histories can also be emptied, though this is probably not a feature that current release Desktop browsers need. Inheritance of local history and certain UI features is now done more or less for all cases where one browser window spawns another, too. Vertical alignment on images is rather less ropey than it was (e.g. ALIGN=TOP stands half a chance of working) but is still far from perfect. This was part of fixing a nasty little bug in Redraw.c's setting of an image position via. image_set_token_image_position, which was making (amongst possibly many other things) client side image maps fail. Image update where images had large borders was affected by a similar problem too (more cans with more worms...). Fixed image background filler functions; two problems. When cross referenced images were replaced by base images in a browser because the original owner was closing down, the original owner browser would stay registered with ImageLib. Fixed; secondly, when images were deleted from the image array causing those above to be renumbered, images registered with ImageLib did not have their numbers updated (this was the one that lead to the visible drop out of background images with PNGs on the Acorn Internet home page when there were two views of the page and the first was closed). This is now also sorted out.
-
- 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)".
-
- 30 Oct, 1997 2 commits
-
-
Andrew Hodgkinson authored
Removed 'The Onion' link from some Hotlist files. Time showed that the site wasn't entirely Family Friendly (TM)... Removed Shift Control (it's gone offline now), and corrected the Telegraph URL from ...the-telegraph... to just ...telegraph... StrongHelp manual generator now tries to work out the number of lines in the table on the root page more intelligently. Plug-in support extended to handle Shockwave. Quite a lot of underlying work for this, including a pseudo cache system for temporary files. Bug in redraw routines: they plotted background images within table cells, when nothing should have been drawn. Oops. When background images in cells are properly supported, this can get sorted out. Tweaked vertical plot position of HRs (up to 4 OS units too high before due to rounding). Various Res file bits and pieces, Ursula build taken up to v1.26 beta for release on the Browser site. *Note* not all resources are up to date! This will be done after AW97.
-
Kevin Bracey authored
-
- 27 Oct, 1997 1 commit
-
-
Kevin Bracey authored
Added support for background alpha PNGs. Passed support_object flag through to HTMLLib.
-
- 24 Oct, 1997 2 commits
-
-
Andrew Hodgkinson authored
Res files sorted out a bit, to add the Proxy option to the Choices dialogues and fix the position of the menu popup in the Others pane. Bogus comment in Global.h showed up when trying to build the Customer variant (SINGLE_USER undefined); fixed.
-
Andrew Hodgkinson authored
Various fixes in the code required for Shockwave support (many invalid assumptions about the OBJECT tag structure). Not finished yet though. Played around with signal handling 'n' all that to try and get sensible errors reported for aborts etc. using code by KBracey. Need a ROM patch for _swix on RISC OS 3.7 upwards (or a local fixed copy of _swix), otherwise should sort out most of the problems seen (mostly 'no stack for trap handler' errors and a distinct lack of a register dump). Plug-In view on redraw / ASAP choices now work as they should (ASAP was previously broken). Version numbers in Messages incremented to 1.25 (23 Oct 1997). For Plug-In support, created new source file RMA.c/h to handle RMA claims and releases, in an attempt to ensure leakage never happens. As such, this source is *slightly* more advanced than that in the 1.25 AW '97 build, though functionally identical. Well, that is, at least you can confirm zero RMA leakage with '-debug LMem' in TRACE builds now! Intend to do a consistency check on comment syntax in all sources shortly - I need to rebuild my StrongHelp manuals; can't keep track of all of these new functions...
-
- 22 Oct, 1997 3 commits
-
-
Kevin Bracey authored
-
Andrew Hodgkinson authored
-
Andrew Hodgkinson authored
fetch_get_raw_data will notice if up->fetching is zero and return a 'finished' status rather than trying to continue reading data for the fetch. Fetches should never fall through that far but at least it will cope if they do. 3D table borders are now supported. 2D borders are used if the inter-cell spacing is too small to fit the borders in (display resolution dependent) - the external table border is 2D if the internal borders are, else 3D. For cellspacing of 0, internal table borders must plot over the outer edge of pixels inside the cell; for all greater spacings, the borders take up all or part of the gap between them. The external border will always fit around the outside of the cells, including the cellspacing value in the gap between the outer cells and the border. Anti-alias colour for placeholder ALT text was incorrect. Fixed. I'd changed 'point' to 'points' in some of the Font Choices dialogues; now changed back to 'point'. The routine to find out how large an otherwise unsized object or image placeholder based on its ALT text has been centralised in Reformat.c, so that the image and object routines can both access it without code duplication (this means non-image objects will now have the correct size if they contain ALT text, rather than assuming a standard default size as before). ALT text in images that were also objects was never plotted either, though the placeholder size would have been correct. This has been fixed.
-
- 20 Oct, 1997 1 commit
-
-
Andrew Hodgkinson authored
Main.c, so the last log was incorrect; Navigate menu items wouldn't have been greyed out. Probably a(nother?) CVS update screw up on my part; now fixed. This sort of thing is happening far too often... Font manager would crash in system font or if a font face was not found in the previous release - that hacky business of returning weird font handles when system font is to be used instead ensured a rather less than valid array reference on behalf of fm_claim_basic_typefaces. Added in a few more calls to the 'check the button bar' routines, to ensure that things like Stop are greyed/ungreyed when needed. Cellpadding code could lead to rmarg overlapping lmarg, or the sum being greater than dwidth, or something like that (!) in the reformatter. Anyway the results were unpleasant; this has been sorted out by range checking right and left margins w.r.t. display width in the relevant section of the code. People who specify 'td width = 2000' in tables expecting to get something sensible now do, though I was half inclined to leave it alone... I can only assume that they don't know about % specification or it didn't work in their browser at authorship time, and the huge width served as an attempt to get the table to fill the available window width. Anyway, the table reformatter spots when the maximum width a cell requires is less than half of what it asks for, and ignores the width specifier if this is the case.
-
- 18 Oct, 1997 1 commit
-
-
Andrew Hodgkinson authored
Sorted out Res files, including fixing position of 'bytes' label in one of the Choices dialogues (I'd missed it out of a selection when everything else got moved down a bit). Unfaded Enc_Chinese menu entries, made sure text labels were wide enough for system font, changed 'Apply' on Choices dialogue to 'Set', and added ^K to hotlist keyboard shortcut lists. Print Setup (i.e. Print dialogue) buttons all set to 'local', so the stupid Toolbox doesn't close the dialogue and lose the caret before I can see if it was in there to start with... 256 colour hotlist sprites taken back to standard 16 colour versions, since there's a significant speed penalty on slower machines. The testbed browser still has the 256 colour versions so the designs aren't completely lost. Changed access settings to exported builds to wr/r - lr/r was really getting on my nerves whenever I wanted to try something temporary out. View source, save source and print handlers would all try to work if there was no source to act on - despite the fact that toolbar buttons would be greyed out form them. This is fixed. The Navigate menu has components greyed to match the toolbar state, when opened. It isn't kept up to date dynamically, though this shouldn't really be a problem (reopen the submenu...). As part of this, finally sorted out conditions for the Stop button to be greyed, or the GoTo/Go/Stop tristate to be at 'Stop' versus 'GoTo'. Deferred reformatting is now disabled for external image fetches. Browser-local client pull flag removed; hitting the Stop button simply cancels any null handlers working for it. That way, client pull switches back on in passing at the next fetch (it was never really switched off). So to stop client pull, hit the stop button at any point. Done CELLPADDING attribute; cellpadding field in reformat_cell (Global.h) is redundant since the table token is accessible from there, and so it has been removed. CELLSPACING support also added.
-
- 17 Oct, 1997 2 commits
-
-
David Brown authored
-
David Brown authored
Implemented font size choices.
-
- 16 Oct, 1997 3 commits
-
-
David Brown authored
Altered new directory handler to create new directories at the end of the list if the pointer was past the end of the list of items.
-
Andrew Hodgkinson authored
Now handles PARAM tags. Sorted out Plug-In bug that was related to Java setting a 0 by 0 graphics window before calling Wimp_Poll (fixed in Java). Implemented queue for Plug-Ins so multiple broadcasts aren't sent for several Objects in one data chunk. Added Docs directory with some documentation in it. More things to keep checking for stylistic consistency, horray ;-) Corrected !Run[D] for Ursula build to need AcornURI but not TaskModule (URI handler needed for !Mail to pick up mailto: links). Added display_height field to browser_data, analogous to display_width, to cope with % sized objects by width and height (see how HRs are handled in Redraw.c for an example of how it was always fairly easy with width, but not height until this addition). Though you do have to reload to get a new size; reformat isn't enough. Must see to this some time... Fixed bug where basic typefaces were claimed *before* the Choices file had been read. For unusual Choices settings, this could create some 'interesting' problems now and again. This was part of narrower scope work in the Choices code to allow font changing without leaking font handles (now done; fm_shutdown only ditches fonts, it keeps internal structures - must then call fm_lose_fonts for all browsers to get the bitfields up to date, then rewrite the typeface definitions and reclaim basic fonts). Noticed that fm_claim_basic_typefaces would claim multiple instances of the same font if there were several cases of the same font mapped to different typeface styles - fixed. Implemented PlugInControl settings, but not SupportObject (fully).
-
Kevin Bracey authored
Places where ModeChange should be called in image_fill_background marked, but commented out (because of problems with flex moving when redirected to a sprite). A few more tags added to Trace.
-
- 15 Oct, 1997 1 commit
-
-
David Brown authored
-