1. 06 May, 2017 1 commit
    • ROOL's avatar
      Fixes for pinboard backdrop sprite changing · f462c775
      ROOL authored
      Detail:
        Fix out-by-1 error in MakeCompactModeWord, the palette checksum read from array index -1 due to the loop construction.
        Consider the x/y size as well as the compact mode word when deciding whether to recache the backdrop sprite.
        Don't assume the screen byte size is equivalent to working out the sprite byte size, due to word rounding at the end of each line. Calculate it properly.
        Allow the Wimp_SlotSize to exactly equal the required memory (previously, had to be larger).
      Admin:
        Submission from Timothy Baldwin, with minor refactoring.
      
      Version 1.03. Tagged as 'Pinboard-1_03'
      f462c775
  2. 10 May, 2016 1 commit
    • Robert Sprowson's avatar
      Emit boot relative Pin/AddTinyDir commands where possible · 51a0712b
      Robert Sprowson authored
      When saving the desktop settings, use the same substring matching logic that !Configure's boot addapps/lookat/run uses, and replace the base of the name with Boot: or Boot:^.
      This means that if the boot drive is renamed the pinboard still starts up with the same items on it.
      Ditch support for Message_SaveDesktop - the code's been a NOP since Ursula (circa 1998).
      Tested on a Raspberry Pi, renaming the SD card.
      
      Version 1.01. Tagged as 'Pinboard-1_01'
      51a0712b
  3. 08 May, 2016 1 commit
  4. 29 Sep, 2015 1 commit
  5. 16 Jan, 2015 1 commit
    • Jeffrey Lee's avatar
      Escape some dollars · b98e7006
      Jeffrey Lee authored
      Detail:
        s/MenuSelect, s/ModHead - Escape some dollars contained in strings to avoid warnings from objasm
      Admin:
        Resulting binary unchanged
      
      
      Version 0.98. Retagged as 'Pinboard-0_98'
      b98e7006
  6. 09 Mar, 2014 2 commits
    • Jeffrey Lee's avatar
      Fix background tiling logic · 327f14a0
      Jeffrey Lee authored
      Detail:
        s/StartLoop - Fix non-softload version to exit immediately after the tiled OS_SpriteOp instead of falling through to the old manual loop. Make sure r1 is initialised correctly for the manual loop (contrary to the source comments, the function was previously relying on r1 being a pointer to the redraw rectangle on entry)
      Admin:
        Tested on BB-xM (ROM build with OS_SpriteOp 65), Iyonix (softload without OS_SpriteOp 65 available)
        Issue spotted by eagle-eyed Sprow
      
      
      Version 0.98. Tagged as 'Pinboard-0_98'
      327f14a0
    • Jeffrey Lee's avatar
      Use OS_SpriteOp 65 for tiled backdrop sprites · c257ae41
      Jeffrey Lee authored
      Detail:
        s/StartLoop - Use OS_SpriteOp 65 for drawing tiled backdrop sprites. Fall back to manual tiling code in softload versions if OS_SpriteOp 65 unavailable.
      Admin:
        Tested on Iyonix, BB-xM
        Requires HdrSrc-2_42
      
      
      Version 0.97. Tagged as 'Pinboard-0_97'
      c257ae41
  7. 11 Sep, 2012 1 commit
    • Robert Sprowson's avatar
      Fix for not recalculating pixel translation on backdrop tile going from G256... · 6f1ca57b
      Robert Sprowson authored
      Fix for not recalculating pixel translation on backdrop tile going from G256 to C256 (or G16 to C16) mode specifier
      
      The change in Pinboard-0_95 to get eigen factor rescaling right included a quick exit when neither the bpp nor eigen factors had changed.
      However, changing from a greyscale to colour 8bpp or 4bpp mode falls fouls of this (since bpp and eigen are the same), so the backdrop sprite was not recached.
      There was code to collect Message_PaletteChanged, however the Wimp hasn't sent this round since pre RISC OS 3.60, additionally the mode change code was manually disabling it (not required since Message_ModeChange was never accompanied by Message_PaletteChange according to PRM3-230). This has been switched out.
      Now, the 'have I already done this sprite' flag includes the bpp and eigen factors plus a 13 bit hash of the desktop palette.
      
      Version 0.96. Tagged as 'Pinboard-0_96'
      6f1ca57b
  8. 23 Aug, 2012 1 commit
    • Robert Sprowson's avatar
      Fix for patchy tiled backdrops on changing to non EX1/EY1 mode · 4379de0e
      Robert Sprowson authored
      Pinboard keeps a note of the mode (from OS_Byte 135) that the backdrop sprite tile was last cached in, to avoid having to recache it all the time. However, the comparison fails when the mode specifier block (ie. when OS_Byte 135 is not reporting a numeric screen mode) is static since although the mode might have changed Pinboard would not think it had and hence not recache the sprite.
      The result is a patchy desktop, for example changing from EX1/EY1 to EX0/EY0 would leave a quadrant arrangement of 1 redrawn patch and 3 not redrawn.
      Backdrop.s:
      Line 151 onwards, when a mode specifier is used, build a magic mode word combining EX EY and BPP (the 3 parameters the cache sprite function cares about), as a stronger check.
      Tail.s:
      Line 130 onwards, calculate the iconbar height properly (previously used 134 pixels for EY0 modes, 1 too high, leading to a thin strip of background colour above the iconbar.
      Other changes
       - Use sprite area offset names from Hdr:Sprites rather than magic numbers
       - Use OS_Byte reasons from Hdr:OsBytes
       - Use "file.s" style names in LNK commands
       - Move BadOptions/NotASprite error blocks to avoid range error when assembling debug versions
       - true and false for objasm {TRUE} and {FALSE}
      
      Version 0.95. Tagged as 'Pinboard-0_95'
      4379de0e
  9. 28 Sep, 2011 1 commit
    • Jeffrey Lee's avatar
      Fix caching of backdrop sprites · 77e35785
      Jeffrey Lee authored
      Detail:
        s/Backdrop - The tidying up in revision 4.8 caused a vital "MOV r0,#-1" to be lost, causing the wrong mode to be used when fetching the screen BPP. As a result, caching the sprite would fail if the sprite was in a lower BPP than the current screen mode, as the calculated sprite area size would have been too small. This fixes that.
      Admin:
        Tested on rev A2 BB-xM.
        Sprite backdrops now seem to work again.
      
      
      Version 0.94. Tagged as 'Pinboard-0_94'
      77e35785
  10. 24 Sep, 2011 3 commits
  11. 19 Sep, 2011 1 commit
    • Robert Sprowson's avatar
      Restore *AddTinyDir <nothing> functionality. · 60352ea6
      Robert Sprowson authored
      See ticket #283.
      Moved 'Status' document into Docs.
      Merged 'Changes' into 'BlackLog' and delete.
      Expanded 2x POPs of lr/pc cos ARM deprecated it.
      Combined 2x MUL/ADD into MLA so the module is the same size.
      
      Version 0.92. Tagged as 'Pinboard-0_92'
      60352ea6
  12. 15 Apr, 2011 1 commit
  13. 14 Apr, 2011 1 commit
    • Ben Avison's avatar
      Add Message_ToggleBackdrop to allow the backdrop to be moved to front or back. · bae04ff4
      Ben Avison authored
      Detail:
        The Message_ToggleBackdrop has been introduced by ROL in one of their Select
        releases. In order to bring the RISC OS 5 API closer the ROL branch this
        changeset aims to add this message to RO5.
      
        Applications can broadcast Message_ToggleBackdrop to request that the backdrop
        application moves the backdrop. The message can be used to move the backdrop
        to the front, the back, toggle it or to get notified of the backdrop's
        current position.
      
        After the backdrop has been moved, this message is sent back to the
        application to notify it of the backdrop's new position.
      
        Message_ToggleBackdrop &400D1:
           +0  = 24 (Message size)
           +4  = Backdrop controlling application
           +8  = My reference number
           +12 = Your reference number
           +16 = &400D1 (Message_ToggleBackdrop)
           +20 = Flags (if not present, assumed 0)
                   b0-1  = type of toggle
                            0 = toggle
                            1 = front
                            2 = back
                            3 = notify of status
                   other = reserved
      Admin:
        Tested on RO 5.16
      Author:
        Fred Graute
      
      Version 0.90. Tagged as 'Pinboard-0_90'
      bae04ff4
  14. 14 Nov, 2010 1 commit
    • Jeffrey Lee's avatar
      Fix pinboard save code returning corrupt error pointers · 521331ae
      Jeffrey Lee authored
      Detail:
        s/Save - After the 'dot check' or DoSave resulted in an error being generated, IntSave_KeyPressed was pulling R0 from the stack instead of returning the error block pointer. This typically results in ofla errors on an Iyonix or alignment faults on a beagleboard.
      Admin:
        Tested on BB-xM rev A3. Errors due to no dot in the filename, or DoSave failing, are now reported correctly.
      
      
      Version 0.89. Tagged as 'Pinboard-0_89'
      521331ae
  15. 04 Oct, 2008 1 commit
    • Ben Avison's avatar
      Merged in changes from Castle · ccc7c3b4
      Ben Avison authored
      Detail:
        iconise of window with longer name could cause disappearing window
        if window (file) name longer than 10 chars or so the icon 'vanishes' when
        iconised. s.messages line 989 kad a LSR of a negative(possibly) number. This
        left a top bit set value in the bounding box.. oversize!
        changing to ASR kept the maths at this point valid
      Admin:
        Not tested
      
      Version 0.88. Tagged as 'Pinboard-0_88'
      ccc7c3b4
  16. 05 Nov, 2007 2 commits
    • Steve Revill's avatar
      Prevent icons from overlapping when tidying a selection of icons. · 3cf2ce76
      Steve Revill authored
      Details:
        Tidying a selection of icons could result in icons being placed at locations
        already occupied by other icons. The reason for this is that tidying iconised
        window icons didn't check at all whether a position was occupied or not, and
        tidying file icons only checked against the list of iconised window icons.
        Essentially the code was designed for tidying all icons on the Pinboard, not
        selections.
      Admin:
        Tested on Iyonix RO5.11
      Changes by:
        Fred Graute
      
      Version 0.87. Tagged as 'Pinboard-0_87'
      3cf2ce76
    • Steve Revill's avatar
      Bug fixed and refactored code for plotting the background image. · 40c49c60
      Steve Revill authored
      Details:
        Changed plotting of tiled jpegs so that only affected tiles are redrawn.
        Plotting of tiled sprites started one pixel too low.
        Tiled jpegs used a different origin to tiled sprites.
        Tiled sprites plotting treated redraw MaxX/MaxY as inclusive.
      Admin:
        Tested on Iyonix RO5.11
      Changes by:
        Fred Graute
      
      Version 0.86. Tagged as 'Pinboard-0_86'
      40c49c60
  17. 19 Sep, 2007 1 commit
    • Steve Revill's avatar
      Enable opening of pinboard configure plugin directly from the Pinboard. · e9d398f0
      Steve Revill authored
      Details:
        Replaced the 'Options' menu item with the 'Configure...' menu item
        which opens the Pinboard configure plugin directly from the Pinboard.
        This is achieved by running a *command that checks if the plugin is
        there and filer-runs it if so.
      
        All the code and help messages relating to the 'Options' menu item
        and its submenus has been removed.
      Admin:
        Tested on Iyonix RO5.11
      Notes:
        Changes by Fred Graute.
      
      Version 0.85. Tagged as 'Pinboard-0_85'
      e9d398f0
  18. 18 Sep, 2007 1 commit
    • Steve Revill's avatar
      Enable soft-selection of iconized window icons. · 13c4e907
      Steve Revill authored
      Detail:
        Clicking Menu over a filer-icon will cause it to be soft-selected if
        no icons have been selected. For iconized window icons this doesn't
        work.
        This changeset removes this limitation. The Selection -> Remove menu
        item will be corectly shaded (for iconized-icons) or unshaded (for
        filer-icons).
      Admin:
        Tested on Iyonix RO5.11
      Notes:
        Changes by Fred Graute.
      
      Version 0.84. Tagged as 'Pinboard-0_84'
      13c4e907
  19. 14 Mar, 2006 2 commits
    • Steve Revill's avatar
      Different way of doing escape-aborts-drag implementation · 6a4d9006
      Steve Revill authored
      Detail:
        Although the previous check-in works, it uses EventV to trap escape key
        press events. This mechanism doesn't stop them from being passed on to
        whoever has input focus (e.g. a task window).
      
        The new way to do things is to grab input focus when a drag starts and
        to restore it (if possible) when the drag f we abort the drag (and restore focus). All other keys
        are passed on to the Wimp.
      
        The side-effect is that any window which has focus will temporarily lose
        focus for the duration of a Pinboard drag op I think we can
        live with that.
      Admin:
        Tested on Iyonix and works fine. Now, if only the Filer did this, too...
      
      Version 0.83. Tagged as 'Pinboard-0_83'
      6a4d9006
    • Steve Revill's avatar
      Escape cancels drags · 624c04d8
      Steve Revill authored
      Detail:
        Pressing escape will cancel any current drag operation for the pinboard.
        At long bleedin' last!
      Admin:
        Tested on my Iyonix. Seems to work.
      
      Version 0.82. Tagged as 'Pinboard-0_82'
      624c04d8
  20. 31 Jul, 2003 1 commit
    • Robert Sprowson's avatar
      A few assumptions about SWIs preserving flags remained: nuked. · 2668021c
      Robert Sprowson authored
      A few TEQ Rn,#0 changed to use 'S' and save an instruction.
      Fix for misscaled tiled backdrop sprite in EX/EY0 mode - an 'out by 1'
      error meant that some of the background colour shone through when the
      tile sprite got resized to be too short.In any other EX/EY mode you never
      noticed it due to rounding errors in the scaling.
      The "Iconise to..." options submenu is now shaded if the Wimp has the
      iconise buttons turned off: this minimises confusion for anyone who
      hasn't realised that shift-close and iconise are subtley different in that
      only the iconise button obeys the "Iconise to..." options,whereas
      shift-close iconises at the point of application.
      
      Version 0.81. Tagged as 'Pinboard-0_81'
      2668021c
  21. 04 Feb, 2003 1 commit
    • Ben Avison's avatar
      Leafname truncation fix. · f7027023
      Ben Avison authored
      Detail:
        Tries to use Wimp_TextOp 4 to do ellipsis truncation. Fixes same bugs as
        Filer 2.08.
      Admin:
        Tested on Tungsten.
      
      Version 0.80. Tagged as 'Pinboard-0_80'
      f7027023
  22. 09 Jan, 2003 1 commit
    • Ben Avison's avatar
      The following was present in RISC OS 5.00/5.01: · b6c03502
      Ben Avison authored
        * Grammatical correction to interactive help for "Save as" dialogue box.
        The following is new since then:
        * Fixed rubber dragboxes to use exclusive maximum coordinates, stops you
          dragging the box off the left hand side of the window.
      
      Version 0.79. Tagged as 'Pinboard-0_79'
      b6c03502
  23. 11 Nov, 2002 1 commit
    • Robert Sprowson's avatar
      Commented out "proginfo" string,no longer used. · d830e6f3
      Robert Sprowson authored
      Prefixed the pin and addtinydir commands that get saved in the
      pinboard file with "X " so your pinboard setup continues even if a file
      is no longer available.ROL did this with a new XPin command,not taken.
      Merged changes from ROL to allow the icon text to be an arbitary colour
      though this can be switched out with "technicolour_text" for the
      purists.
      Help entry added to the pinboard selection submenu,this will be greyed
      out except when
       it's an app
       and it has a !help file
       and it is the only object selected
      like the filer does.
      Updated messages file accordingly.
      Menu clicking on the "save pinboard settings" OK button no longer saves
      the file,and adjust clicking keeps the menu tree open
       -> fixes bug report from 1998,now removed from "Status" file
      Saveas template resized to match !Edit.
      Fixed problem of select dragging a file to an app leaving the icon
      selected (due to two conditional MOV R0's being followed by an
      unconditional one for some reason).
       -> fixes bug report from 1998,now removed from "Status" file
      Tweaked a few CMP#0 BLT's to test specifically for the iconbar handle.
      The bug report in "Status" about bits of filenames being left on the
      pinboard can be bodged by popping an ADD r0,r0,#16 after the XWimp_TextOp
      in s.buffered but I've not done this yet.
      
      Version 0.78. Tagged as 'Pinboard-0_78'
      d830e6f3
  24. 22 Aug, 2002 1 commit
    • Ben Avison's avatar
      Unfinished attempt to make RISC OS 3.1 compatible. · a58380fb
      Ben Avison authored
      Detail:
        * Softload builds now work
        * Non-internationalised versions of * commands added
        * Currently *Backdrop fails with "Reserved fields must be zero" error on
          RISC OS 3.1 - probably passed up from elsewhere in the OS, since 3.1
          was fussy about such things.
      Admin:
        Tested on Virtual A5000.
      
      Version 0.77. Tagged as 'Pinboard-0_77'
      a58380fb
  25. 16 Mar, 2001 1 commit
  26. 17 Aug, 1999 2 commits
  27. 05 Nov, 1996 1 commit