1. 14 Dec, 2019 1 commit
    • ROOL's avatar
      Messages additions · 5a8c8508
      ROOL authored
      Detail:
        3 extra tokens in support of clipboard operations.
      Admin:
        Submission for Clipboard Support bounty.
      5a8c8508
  2. 17 Aug, 2019 1 commit
  3. 10 Oct, 2015 1 commit
    • Jeffrey Lee's avatar
      Reinstate Wimp_ClaimFreeMemory · 503570de
      Jeffrey Lee authored
      Detail:
        This restores support for Wimp_ClaimFreeMemory, via having the Wimp manage a small-ish (4MB) DA that is used to satisfy Wimp_ClaimFreeMemory requests. The Wimp will only ever grow the DA, but the DA is shrinkable, so the system should shrink it as necessary should the free pool run too low.
        Options/s/!Default, Options/s/32, Options/s/Ursula - Add DynamicAreaWCF option to control support for the Wimp_ClaimFreeMemory DA. Enable the option for any builds of the module destined for RISC OS 5.
        Options/s/!Debug - New debug option for Wimp_ClaimFreeMemory debugging (mainly DynamicAreaWCF code path)
        Wimp/s/Wimp01 - Add calls to create/destroy DA on startup/shutdown
        Wimp/s/Wimp08s - DA create/destroy implementation. DA is only used if the free pool is a PMP or the Wimp expects kernel free pool locking but the kernel doesn't support it. Modify Wimp_ClaimFreeMemory to use the DA if it's present.
      Admin:
        Tested on Raspberry Pi
        Restores compatibility with software which relies on Wimp_ClaimFreeMemory, e.g. GDraw module (cause of "No free memory" errors reported by many)
        Note that Wimp_ClaimFreeMemory is still considered deprecated and support may be removed in future OS versions.
      
      
      Version 5.50. Tagged as 'Wimp-5_50'
      503570de
  4. 19 Apr, 2015 1 commit
  5. 15 Nov, 2014 1 commit
    • Robert Sprowson's avatar
      Add ptr_drop to the sprite pool · 50028941
      Robert Sprowson authored
      This is a left handed pointer to signify a drag and drop operation in progress.
      The sprite makes use of the mask to define the hotspot to be the tip of the arrow, for Wimp/SpriteExtends that understand that.
      
      Propagated the hotspot definition on ptr_write to the other sprite sets, previously it was only in the Iyonix theme.
      Missing ptr_menu and friends added to Morris theme.
      Made file_ffb more distinct from the other system files in Ursula theme.
      
      Version 5.47. Tagged as 'Wimp-5_47'
      50028941
  6. 03 Aug, 2013 1 commit
  7. 01 Jun, 2013 1 commit
    • Robert Sprowson's avatar
      Add flexible scheme to allow non-grey/opaque toolsprites · 2137a784
      Robert Sprowson authored
      The Wimp can now accept toolsprite sets which have precalculated (non default) colour translation tables supplied by the designer.
      This allows the link between window template colour and displayed tool colour to be reestablished when the tools aren't grey (previously, the Ursula Wimp would only tint greys).
      For full design details see Doc/ToolTables.
      An example test set, TestO/TTTTest is provided. This is the 'Newlook' set but with a splotch in the corner of each sprite which is then replaced by the hex of the Wimp colour being requested.
      Detail:
       Wimp01.s: New workspace requirements
       Wimp04.s: Pull out the RGB to greyscale function so it can be used elsewhere
       Wimp10.s: New tool table support code
      
      Fixes ticket #323.
      Also introduces a disc variant (with the extra EX0 EY0 resolution) of the 'Steel' theme, thus making it generally available.
      
      Version 5.30. Tagged as 'Wimp-5_30'
      2137a784
  8. 03 Oct, 2012 1 commit
    • Robert Sprowson's avatar
      Placeholder alternate toolsprites for Raspberry UserIF · 098495b5
      Robert Sprowson authored
      Derived from the 'Steel' theme these are 90x90dpi toolsprites for the Raspberry UserIF. Their use of continuous tones has highlighted some deficiencies in the Wimp's translation table generation which are yet to be addressed, at which point the other resolutions and disc based copy will be more generally available.
      For now, ROM only keeps the distribution more controllable.
      098495b5
  9. 19 Sep, 2012 1 commit
  10. 06 Sep, 2012 1 commit
  11. 05 Sep, 2012 1 commit
    • Robert Sprowson's avatar
      Disc sprite updates · 1fb9fa36
      Robert Sprowson authored
      * Re tinted 'floppydisc'
      * New 'floppyscsi' and 'floppysd' for USB and SD card media
      * Removed !Scrap, the only boot resources that are seen by humans are !Boot !Fonts and !System, the others can rely on their private copies
      * Removed 3rd party applications, avoids bias towards particular vendor while not polluting the pool with stuff that isn't actually part of the OS (specifically !aemulor !arcfax !sparkfs !sprinter)
      1fb9fa36
  12. 01 Sep, 2012 1 commit
  13. 25 Aug, 2012 1 commit
  14. 20 Aug, 2012 1 commit
    • Robert Sprowson's avatar
      Disc sprites alteration · bc541f44
      Robert Sprowson authored
      In Sprites, the taskmanager was too high up.
      In Sprites11, the taskmanager has some scaling artefacts.
      Retagged as Wimp-5_18.
      bc541f44
  15. 11 Aug, 2012 1 commit
    • Robert Sprowson's avatar
      Sprite resource fiddling · 2277990d
      Robert Sprowson authored
      * ROM sprite sets for Ursula and Morris4 brought in sync with Iyonix and Sovereign, including creating new sprites where missing
      * Disc sprite sets created for Ursula, Morris4, and Sovereign. These may not be coherent yet, but are the superset
      * Shelved the crusty 2D templates and tools
      No code changes, nor resource changes to active ROM builds, retagged as Wimp-5_17.
      2277990d
  16. 24 Jun, 2012 1 commit
  17. 03 Jan, 2012 1 commit
  18. 14 Apr, 2011 1 commit
  19. 01 Oct, 2009 1 commit
  20. 10 Sep, 2008 1 commit
    • Steve Revill's avatar
      Make colour used for the window outline configurable. · 54c5c7c9
      Steve Revill authored
        Allow the outline to be plotted over the window tools.
      Detail:
        The options available through WimpVisualFlags have been extended with two
        new options that control how the window outline is plotted.
      
        WimpVisualFlags -WindowOutlineColour <&RRGGBB> -WindowOutlineOver
      
        WindowOutlineColour defines the colour to be used for the window outline.
        It allows theme designers to choose a window outline colour that fits
        in with a theme's general colour scheme. Default value is black.
      
        WindowOutlineOver controls if the window outline is plotted over the
        toolicons. It can be used to ensure that there is a window outline
        visible even when the toolicons are borderless. Default value is off.
      Admin:
        Tested on RO 5.11
      Author:
        Fred Graute
      
      Version 5.04. Tagged as 'Wimp-5_04'
      54c5c7c9
  21. 31 Mar, 2003 1 commit
  22. 20 Jan, 2003 1 commit
  23. 20 Dec, 2002 1 commit
    • Ben Avison's avatar
      Bugfixing, Sprites11 support and stretchy command windows. · 67775716
      Ben Avison authored
      Detail:
        * Bugfix: the contents of the pollword returned in the poll block by
          a PollWordNonZero event, where the pollword was flagged as high
          priority, was rotated by 8 bits due to a internal top-bit-set
          workaround. This no longer happens. (This was causing OmniClient never
          to complete initialisation on my machine.)
        * Extended the alternate resolution icon scheme for RAM/ROM sprites and
          toolsprites to be multi-pass, enabling the use of extra sprite sets for
          weird modes (most notably EX0 EY0 ones). After '23' or '0' suffixes
          (the latter still only applies to toolsprites), the suffix for the
          equivalent polychromatic resolution is tried. After rectangular
          suffixes, the next larger squarer suffix is tried. After '11', '22' is
          tried. Failing all of these, a match is attempted with no suffix.
        * The command window is now scaled and centred to match the current screen
          mode - up to a maximum size of 1280 x 1024 OS units.
        * Fixed the *WimpVisualFlags help strings (again).
        * Fixed 'task2' debugging to know about the structure of the SVC stack on
          32-bit machines.
        * Added support for generation of GPA files.
      Admin:
        Tested on Tungsten.
      
      Version 4.84. Tagged as 'Wimp-4_84'
      67775716
  24. 05 Dec, 2002 1 commit
    • Ben Avison's avatar
      A few bugfixes, and some muching around with WimpVisualFlags that I did ages... · d2f6d63a
      Ben Avison authored
      A few bugfixes, and some muching around with WimpVisualFlags that I did ages ago but hasn't made it into a build yet.
      
      Detail:
        * Deleting icon 0 in a window that had no windows would rotate the
          contents of word &00000010 by 16 bits. This had the effect of causing
          lazy task swapping to blow up with an "undefined instruction" error.
        * Setting the caret to a byte position beyond the end of an icon's text
          would (a) loop indefinitely if the alphabet is UTF-8, or (b) data abort
          for any other alphabet. This was due to the code trying to determine the
          number of characters in the string, and ignoring the terminator;
          skipcharR would never advance far enough to satisfy the loop in UTF-8,
          in other alphabets it would advance as far as necessary, leading to the
          later code to try to step a huge number of characters through the
          pushfontstring copy of the text, running off the top of the SVC stack
          (which is mapped out on Tungsten, previously it abutted the system heap,
          so no ill effects were observed).
        * Keyboard shortcuts are now correctly positoned when 3D menus are selected.
        * Corrected spelling of "dialogue" in *WimpVisualFlags help.
        * Changed *WimpVisualFlags so that no parameters gives RISC OS 3
          behaviour, and -All gives default RISC OS 4 behaviour. (Previously, font
          blending was enabled in both cases, unless explicitly disabled by an
          additional -NoFontBlending switch.) This required a sense change in the
          font blending switch: -FontBlending now enables font blending.
          -NoFontBlending is still accepted without error, but is ineffectual
          (since the no-options state upon which it acts already has font blending
          disabled).
        * Default setting is now as though *WimpVisualFlags -RemoveIconBoxes had
          been executed. (In practice, this will not be noticeably different from
          previous Tematic versions, see below.)
        * The state -RemoveIconBoxes switch was previously assumed always set -
          now, if it is not specified, you get the old RISC OS 3 behaviour back.
      Admin:
        Tested on Tungsten.
      
      Version 4.82. Tagged as 'Wimp-4_82'
      d2f6d63a
  25. 28 Nov, 2002 2 commits
    • Ben Avison's avatar
      Messages changes. · 8207a1fd
      Ben Avison authored
      Detail:
        * Removed Acorn/ACORN from keyboard shortcuts.
        * Added Red/RED/Green/GREEN/Blue/BLUE (and an attempt at German
          versions too) to keyboard shortcuts.
        * Capitalised the 'B' in -Fully3DIconBar to hint that it's necessary in
          the short form of the switch to *WimpVisualFlags.
      Admin:
        Not tested.
      
      Version 4.81. Tagged as 'Wimp-4_81'
      8207a1fd
    • Kevin Bracey's avatar
      Fix to Wimp_DeleteIcon stiffing the machine when trying to delete an icon... · 8a71dace
      Kevin Bracey authored
      Fix to Wimp_DeleteIcon stiffing the machine when trying to delete an icon which doesn't yet exist.Now fails gracefully.
      
      Import of another set of awful icons in the Iyonix resources.
      Tweak to the number of CLI parameters accepted by * commands.
      
      Version 4.80. Tagged as 'Wimp-4_80'
      8a71dace
  26. 30 Oct, 2002 1 commit
    • Ben Avison's avatar
      Merged in RISC OS 4.02 changes (including ROM patches). Also som bugfixes. · 3b1e336c
      Ben Avison authored
      Detail:
        RISC OS 4 changes:
        * Font blending for desktop font (based on NC code, but now configurable)
        * 3-D window/menu/iconbar borders
        * Textured menu backgrounds
        * Loss of rubout box in unfilled text+sprite icons
        * *WimpVisualFlags controls various aspects of cosmetic changes above
        * Iconise button "slot" glyph slightly shorter (but only adopted in the RO400
          Resource directory)
        * Command window has front-window flag set
        * Byte at +39 of the window block has gained two new flag bits:
            bit 2 set => this window must never be given a 3D border
            bit 3 set => this window must always be given a 3D border
            (note that ResEd erroneously created windows with both bits set,
            this case is treated as though both bits were clear)
        * Another two colour specifiers on the end of C validation string command
          for icons controls the foreground and background colours to be used when
          the icon is selected
        * Pointer shape is correctly reprogrammed by the creation of icon
          underneath it
        * Full stops in writable icons are treated the same as spaces from the
          point of view of cursor navigation
        * spritesize routine returns a size of 0 if the sprite didn't exist
          (probably fixes some rendering problems)
        * Adjust-click on back icon brings window to front
        My changes:
        * DeleteRight turned on
        * Icon bar title background is set to default in all resource sets (avoids
          translation table recalc)
        * Error box title now cream across all resource sets
        * RISC OS 4 changes made 32-bit compatible / high addresses safe
        * Undocumented FullIconClipping option disabled
        * Command help made consistent for internationalised and non-
          internationalised builds
        * WimpVisualFlags defaults made sensible
        * Menu side width affected by ThreeD option at *run* time not assemble time
        * Right-clicking on menus with writable items no longer data aborts
        * Auto-opened menus are now at RHS of current icon (matches RISC OS 3.1)
        * Colour menus were knackered unless menu tiling was enabled
        * Fixed a bug whereby adding messages to a task that wanted all messages
          actually caused it to lose all other messages. The RISC OS 4 fix for
          this didn't work
        * Fixed bug introduced in version 4.76: tasks that wanted no messages got
          all of them
        * Autoscrolling is updated every 8 cs rather than every 12 cs
        * Added menu texture to pre-RISC OS 4 sprites files
      Admin:
        Tested on Tungsten.
      
      Version 4.78. Tagged as 'Wimp-4_78'
      3b1e336c
  27. 23 Oct, 2002 1 commit
    • Ben Avison's avatar
      Given a good thrashing. · c8e139f1
      Ben Avison authored
      Detail:
        All pointers passed to the Wimp (mode selectors, menus, sprite areas,
        palettes, pollwords, validation strings, message lists, routines etc etc)
        in any of its APIs can now be anywhere within the 32-bit address range.
        In general, whenever "<= 0" was accepted as a null condition, the value
        must now be either 0 or -1. It should also be tolerant of system memory
        areas (supervisor stack and RMA) being in the top half of memory.
        Also:
        * Default next slot now a build option - Ursula builds (eg Tungsten) use
          1024K instead of 640K
        * Ursula builds no longer have a build variant in the help string
        * Autosenses ROM location
        * CR-LFs in *Configure messages replaced with LF-CRs
        * Added Iyonix resources (currently based on Morris4)
        * Morris4 sprites files have gained file_lxa, small_lxa, file_unf,
          small_unf and lo!help sprites
        * Ursula sprites files have gained lo!help sprites
        * *WimpSlot can take memory sizes in megabytes or gigabytes
      Admin:
        Tested on a "traditional" memory-mapped Tungsten.
      
      Version 4.76. Tagged as 'Wimp-4_76'
      c8e139f1
  28. 29 Oct, 2001 1 commit
    • Steve Revill's avatar
      Minor resources change to all templates files. · 19856a46
      Steve Revill authored
      Detail:
        The titlebar and input focus colours for the window template for
        error boxes is now cream (12). This is more intuitive. Builds which
        do not have a title bar will not look any different.
      Admin:
        Included the little utility which did the modification in Test/ResMod
        (as in Resources Modifier - but who cares). May be of use in future.
      
      Version 4.70. Tagged as 'Wimp-4_70'
      19856a46
  29. 20 Oct, 2000 1 commit
    • Ben Avison's avatar
      Shock horror - a new feature for the Wimp! And some housekeeping too. · d7d18819
      Ben Avison authored
      Detail:
        * Added new functionality for menu trees: submenus can now be opened by
          clicking on their parent menu item. This is particularly aimed at
          touchscreen devices, and is configurable via the new *Configure keyword
          WimpClickSubmenu.
        * Change to the menu inactivity timeout behaviour after auto-opening of
          submenus (either by hovering over the parent menu item or by the new
          click-to-open functionality): although all hover operations are still
          ignored for this period, any click operations *will* now be obeyed.
        * Corrected numerous misleading comments in the menu handling code.
        * Added some suspiciously absent ALIGNs in the *Configure keyword handlers.
        * Uses new ASCII case-forcing macros so there are now fewer warnings
          printed during assembly (and it should run faster now too).
        * Added an AREA directive so that objasm's -ABS switch is no longer needed.
        * Standardised ErrMem token across all Messages files that use English.
      Admin:
        Tested on a desktop machine.
        Requires HdrSrc 1.06.
      
      Version 4.57. Tagged as 'Wimp-4_57'
      d7d18819
  30. 11 Aug, 2000 1 commit
    • Simon Forrest's avatar
      * Translated resources for France, Germany, Italy, Spain and Turkey incorporated. · 6e7890bf
      Simon Forrest authored
      Detail:
      
        * Files changed include the Messages, Template and Sprite files, all of
          which now contain appropriate translated versions.
      
          This is a TRUNK version of the changes applied to the Bethany branch.
      
      Admin:
      
        * Sprite files contain an equivalent set of sprites to those in the UK
          variant; these have been rationalised recently so as to remove duplicates
          contained in other software components.
      
        * New file structure preserved; this is NOT a direct copy from the Bethany
          branch version of the Wimp.
      
      Version 4.54. Tagged as 'Wimp-4_54'
      6e7890bf
  31. 27 Apr, 2000 1 commit
    • John Beranek's avatar
      Sprites file change · cfde775c
      John Beranek authored
      Detail:
        Removed palette from ptr_default and ptr_double srpites in
         NC2.UK resources.
      
      Admin:
        Requires a boot structure that sets up the pointer colours
         as you want them.
      
      Version 4.48. Tagged as 'Wimp-4_48'
      cfde775c
  32. 25 Apr, 2000 1 commit
    • Kevin Bracey's avatar
      Made 32-bit compatible. · 1bb3b9d0
      Kevin Bracey authored
      Detail:
        Lots of little changes throughout a lot of source.
      Admin:
        Appears to work - not stress tested with things like lots of tasks, big
        transfers, and all the other things that tend to go wrong.
      
      Version 4.47. Tagged as 'Wimp-4_47'
      1bb3b9d0
  33. 29 Mar, 2000 1 commit
    • Ben Avison's avatar
      Various little changes. · 17fd99f3
      Ben Avison authored
      Detail:
        * New STB Sprites, Templates and Tools files imported, based upon the
          Lazarus UI rather than the old STB UI.
        * STB build now includes WIMPSymbol.
        * No longer attempts to use WIMPSymbol font in UTF8 builds which didn't
          register the font in ResourceFS.
        * Simplified Resources directories by assigning only a single pair of
          Messages files to each locale, rather than for each UI directory within
          each locale directory. The only code change required is to make the Wimp
          error box always use the "Continue" token for NC/STB builds, rather than
          using one of "OK" and "Continue", as with desktop builds.
      Admin:
        Not tested.
      
      Version 4.42. Tagged as 'Wimp-4_42'
      17fd99f3
  34. 07 Mar, 2000 1 commit
    • John Beranek's avatar
      Sprite pool changes · 2703fe27
      John Beranek authored
      Detail:
        Removed Fresco sprites from sprite files.
      Admin:
        Has yet to be tested in a ROM.
      
      
      Version 4.41. Tagged as 'Wimp-4_41'
      2703fe27
  35. 02 Feb, 2000 1 commit
    • John Beranek's avatar
      Removed unnecessary sprites · 23e8742d
      John Beranek authored
      Detail:
        Removed onscreen keyboard sprites from a number of builds, these
        sprites are now held in NCKeyboard's resources.
      
      
      Version 4.38. Tagged as 'Wimp-4_38'
      23e8742d
  36. 22 Nov, 1999 1 commit
    • Ben Avison's avatar
      Rendering problems with Lazarus title bars and error box buttons fixed. · 72ca8dd8
      Ben Avison authored
      Detail:
        Title bars: one of the Ursula redraw optimisations was that if the title
        bar sprites had no mask, then the title bar is no longer filled in before the
        sprites are plotted. Lazarus' toolsprites were falling foul of this, because
        the title bar top and bottom sprites (tbarmidt/tbarmidb) had a lesser height
        than the end sprites (tbarlcap/tbarrcap). Because pre-Ursula Wimps filled
        in the title bar regardless, this may not have shown up in the past. The Wimp
        now has an additional check: if there is a gap between the title bar sprites,
        then it always fills in the title bar background before plotting the sprites.
      
        Error box buttons: the "illuminated" side of the 3D plinths have always been
        white, so they were getting lost against the white Lazarus UI background.
        Used Ursula Wimp icon colour validation string extension to colour the
        borders a uniform grey.
      
      Admin:
        Tested on a desktop machine, soft-loading the Lazarus Wimp resources.
        Fixes faults 1115 and 1121.
      
      Version 4.35. Tagged as 'Wimp-4_35'
      72ca8dd8
  37. 09 Nov, 1999 1 commit
    • Neil Bingham's avatar
      Updates to Ursula resources. · 098e719a
      Neil Bingham authored
      Detail:
        * Added missing Resources/UK/Ursula/CmdHelp file.
        * Added missing Resources/UK/Ursula/Messages file.
      Admin:
        * Tested on build 'Ursula'.
      
      Version 4.34. Tagged as 'Wimp-4_34'
      098e719a
  38. 28 Sep, 1999 1 commit
    • Simon Forrest's avatar
      Lazarus resource changes. · 01a5c4eb
      Simon Forrest authored
      Detail:
      
        Changes made to Lazarus resources only in progressing towards the
        final UI for the IAC.  Affected files are:
      
          * Sprites: reduced-palette sprites used where possible to minimize
            memory usage.
      
          * Templates: the foreground colour of icon #0 in the error dialogue
            box has been altered to be colour 0 (black) in line with the
            other template changes made in previous versions.  (This icon
            was accidentally missed.)
      
      Admin:
      
        Minor changes, but untested.
      
      Version 4.31. Tagged as 'Wimp-4_31'
      01a5c4eb
  39. 23 Sep, 1999 1 commit