1. 30 Jul, 2001 2 commits
    • ROOL's avatar
      This commit was manufactured by cvs2git to create tag 'dcotton_autobuild_BaseSW'. · a4c4591e
      ROOL authored
      Sprout from master 2001-07-30 15:02:39 UTC Dan Ellis <dellis@gitlab.riscosopen.org> '  Added pollidle handling for INKEY (OS_Byte 129)'
      Cherrypick from master 1997-05-01 17:56:56 UTC Kevin Bracey <kbracey@gitlab.riscosopen.org> 'Version RO_3_71 merged':
          Syntax
          Version
          s/TaskIcon
      Cherrypick from master 2000-05-31 15:31:21 UTC Stewart Brodie <sbrodie@gitlab.riscosopen.org> '  32-bit compatible':
          s/Redirect
      a4c4591e
    • Dan Ellis's avatar
      Added pollidle handling for INKEY (OS_Byte 129) · 7df9769f
      Dan Ellis authored
      Detail:
        Taskwindow sits of BYTEV and waits for n*2 Vsyncs when INKEY(n) is called.
      This isn't quite correct as VSyncs aren't a reliable timing source, however,
      leaving that aside for the moment, what Taskwindow was doing was sitting on
      Null events until it read that enough Vsyncs had passed, thus eating up CPU
      time.
      
        The new behaviour is to call Wimp_PollIdle instead, which should also
      correct the amount of time waited for.  This behaviour can be toggled with
      the build switch PollIdleHandling.
      
      Admin:
        Lightly tested on a RPC.  Using AppStat, no call were made to the
      taskwindow during and INKEY, whereas they were previously.
      
      
      Version 0.66. Tagged as 'TaskWindow-0_66'
      7df9769f
  2. 15 May, 2001 1 commit
    • Dan Ellis's avatar
      Made UpCall 6 work with pollwords. · b09c7ea0
      Dan Ellis authored
      Detail:
        UpCall 6 is documented as accepting a pollword which can be scanned for
      being non zero to return control to the process requesting to sleep.  This
      was not being used within the taskwindow module, there being a comment where
      it would have been used suggesting that this would give the taskwindow too
      high a priority.  What this means is that if given a pollword that is already
      nonzero, the task would receive so many polls as to really make the desktop
      juddery.  The solution is that if the pollword is non-zero on entry,
      Wimp_Null is unmasked rather than passing the pollword.
      
        This means that UpCall 6 can be used either as a yield, to say 'let other
      tasks have some CPU now' (by passing a pollword known to contain nonzero) or
      as sleep to say 'wake me up when the pollword becomes non zero, and don't
      consume any CPU time until then' (by passing a pollword that will only become
      nonzero upon the occurance of a specific event).
      
      Admin:
        Tested on RPC.
      
      Version 0.65. Tagged as 'TaskWindow-0_65'
      b09c7ea0
  3. 14 May, 2001 1 commit
    • Dan Ellis's avatar
      Fixed response to UpCall Sleep No More. · 70ba5ce3
      Dan Ellis authored
      Detail:
        The UpCall wasn't being claimed because the common error creating return
      was being used which returns to lr rather than popping the stack.  Now the
      error routine is BLed to and then the stack popped so as to claim the UpCall.
      
      Admin:
        Tested on RPC.
      
      Version 0.64. Tagged as 'TaskWindow-0_64'
      70ba5ce3
  4. 02 May, 2001 1 commit
    • Stewart Brodie's avatar
      Buffer size increases. · 3d7ace2f
      Stewart Brodie authored
      Detail:
        If output is occurring quickly, then fewer longer Wimp messages are
          transmitted rather than a stream of small messages.
        RAM Transfer buffer size increased too.
      Admin:
        Tested in softloaded OS.
      
      
      Version 0.63. Tagged as 'TaskWindow-0_63'
      3d7ace2f
  5. 16 Mar, 2001 1 commit
  6. 02 Mar, 2001 1 commit
  7. 28 Jul, 2000 1 commit
    • Stewart Brodie's avatar
      YSync event enabling now done on the same basis as vector claiming. · b0df14fe
      Stewart Brodie authored
      Detail:
        TaskWindow used to enable VSync events for each new task that was
          started.  However, it failed to disable the VSync events again
          when the task exited unless the task was the last one running.
          This meant that VSyncs would be going off for no reason at all
          slowing the machine down if you had ever started a taskwindow.
          Events are now only ever enabled when the first task is created,
          and disabled when the last task is killed.
      Admin:
        Tested in desktop build.
      
      Version 0.60. Tagged as 'TaskWindow-0_60'
      b0df14fe
  8. 02 Jun, 2000 1 commit
    • Stewart Brodie's avatar
      32-bit compatible. · 6c515dd5
      Stewart Brodie authored
      Detail:
        Fixed the spurious character problem.  It was due to me believing some
          misleading comments in the source code.  When the comment said "pass
          it on" (at the end of a vector handler), it actually meant "claim it".
          WrchV is now claimed correctly, and no output is "leaked" any more.
      Admin:
        Module may well no longer function on RISC OS 2.00
        Tested on Ursula build.
      
      Version 0.59. Tagged as 'TaskWindow-0_59'
      6c515dd5
  9. 31 May, 2000 1 commit
    • Stewart Brodie's avatar
      32-bit compatible · 57746bec
      Stewart Brodie authored
      Detail:
        Removed obsolete file.
        Made rest of the module 32-bit safe.
        A bug remains: when a taskwindow is started the first few characters of
          output are not being intercepted correctly (although they are sent to
          the parent task).  Looks as if something isn't initialised correctly?
          Perhaps a failure to intercept WrchV in these cases?
      Admin:
        Tested in Ursula softload.
      
      
      Version 0.58. Not tagged
      57746bec
  10. 01 Dec, 1999 2 commits
  11. 01 May, 1997 1 commit
  12. 02 Jan, 1997 1 commit
  13. 21 Nov, 1996 1 commit
  14. 05 Nov, 1996 1 commit