1. 28 May, 2016 1 commit
  2. 30 Sep, 2015 1 commit
    • Jeffrey Lee's avatar
      Fix 32bit conversion issue · 6c68eb4b
      Jeffrey Lee authored
      Detail:
        s/Taskman - Generation of TaskWindow_Dying error within ByteV handler wasn't balancing the stack correctly, causing it to try branching to the PSR. Fix this, and tighten up the code a bit (can use R0 as temp as it'll always be set to something sensible on exit)
      Admin:
        Tested on iMx6
        Fixes reported issue with machine stiffing when killing task windows containing running programs
        Issue was only observed on pre-PMP kernel version, where the code would have branched into the free pool (loaded PSR appeared to be &80000193), corrupted some memory, and then got stuck in a loop
        Presumably this has never been spotted on other systems because there would have rarely been any memory at that location, generating an immediate abort, but the error message gets swallowed because the task is exiting? (or there was memory there, but the user got lucky and the code aborts before fatally corrupting anything)
      
      
      Version 0.77. Tagged as 'TaskWindow-0_77'
      6c68eb4b
  3. 16 Jan, 2015 1 commit
    • Jeffrey Lee's avatar
      Escape some dollars · a53166dc
      Jeffrey Lee authored
      Detail:
        s/Taskman - Escape some dollars contained in strings to avoid warnings from objasm
      Admin:
        Resulting binary unchanged
      
      
      Version 0.76. Retagged as 'TaskWindow-0_76'
      a53166dc
  4. 11 Jan, 2014 1 commit
    • Robert Sprowson's avatar
      Build fix · 4d353166
      Robert Sprowson authored
      Move Hdr:Services up above Hdr:Wimp
      Built, but not tested.
      
      Version 0.76. Tagged as 'TaskWindow-0_76'
      4d353166
  5. 26 Apr, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix *TaskWindow · 3204c095
      Jeffrey Lee authored
      Detail:
        s/Taskman - Search-and-replace error when getting rid of $ModuleName left one instance of it behind, with the result that in 0.74 the *TaskWindow command would attempt to start the task '$ModuleName' instead of 'TaskWindow'
      Admin:
        Tested on BB-xM
      
      
      Version 0.75. Tagged as 'TaskWindow-0_75'
      3204c095
  6. 12 Jan, 2012 1 commit
    • Robert Sprowson's avatar
      Make decision to use internationalised help based on predefines passed in from... · 4e3446ae
      Robert Sprowson authored
      Make decision to use internationalised help based on predefines passed in from outside not a bitfield definition in Hdr:ModHand.
      
      Shifted crusty changelogs out of the sources.
      Reencoded the command table using the 'Command' macro rather than by hand, required renaming a few function labels to use the ones it generates.
      Add support for the standalone version to register its messages with ResourceFS.
      Update the help to detail the "-nice" switch which has been present for some time.
      Change some Wimp and OS_Args reason codes to use those from the respective header files.
      Tested on RISC OS 3.10, now at least opens a task window.
      
      Version 0.74. Tagged as 'TaskWindow-0_74'
      4e3446ae
  7. 04 Aug, 2011 1 commit
    • Jeffrey Lee's avatar
      Make compatible with zero page relocation · 1eb2003d
      Jeffrey Lee authored
      Detail:
        s/Taskman - Attempt to get DomainId pointer from OS_ReadSysInfo 6 before falling back on legacy address. Fix NiceNess code to not pass null pointers to OS_ReadUnsigned.
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.73. Tagged as 'TaskWindow-0_73'
      1eb2003d
  8. 19 Jan, 2010 1 commit
    • ROOL's avatar
      Incremented version number, no other change. · 2286ef03
      ROOL authored
      Previous changes were untagged, but incrementing the version number gives
      us a tag we can associate with the official RISC OS 5.16 release.
      
      Version 0.72. Tagged as 'TaskWindow-0_72'
      2286ef03
  9. 11 Jun, 2009 1 commit
    • Ben Avison's avatar
      GET file pathnames changed · ac08a1e0
      Ben Avison authored
      Detail:
        Uses suffixed file extensions for compatiblity with both objasm and asasm.
      Admin:
        Supplied by Peter Naulls, tested at ROOL
      
      Version 0.71. Not tagged
      ac08a1e0
  10. 08 Oct, 2004 1 commit
    • Ben Avison's avatar
      Corrected SVC stack save code. · f371938d
      Ben Avison authored
      Detail:
        The bottom four words of the SVC stack were being preserved across calls
        to Wimp_Poll. This is a curious choice, since the bottom seven words are
        reserved to hold run-time data, and C libraries to date have only used
        two words (the library and client relocation offsets). Changed to save
        all seven reserved words across Wimp_Poll.
      Admin:
        Tested briefly on an Iyonix, with no visible ill effects.
      
      Version 0.71. Tagged as 'TaskWindow-0_71'
      f371938d
  11. 24 Oct, 2002 2 commits
  12. 18 Feb, 2002 1 commit
    • Steve Revill's avatar
      Faster TaskWindow from Dan Ellis. · 476aafa4
      Steve Revill authored
      Details:
      >
      > I was just fiddling with Taskwindow, and realising one of the big things
      > slowing it down is that it polls everytime its internal buffer gets filled.
      > If it just lets the Wimp do the queueing it goes quite a lot faster!
      >
      > It only polls the wimp once every 10 buffer fulls of data, so is pretty
      > nippy, but doesn't stall when doing a lot of text output in SVC mode.
      >
      > It also assembles to use TickerV instead of VSync (unless you unset the
      > flag).
      >
      Admin:
        Tested on Ursula RiscPC and STB without any problems.
      
      Version 0.68. Tagged as 'TaskWindow-0_68'
      476aafa4
  13. 28 Sep, 2001 1 commit
    • Dan Ellis's avatar
      Added niceness. · 711c6de8
      Dan Ellis authored
        Reintroduced buffer enlargements.
      
      Detail:
        A new flag has been added, '-nice <n>' which if specified allows
      modification of the default number of VSyncs before task switching.  This
      works a bit like UNIX nice, hence the name.  A nice value of 1 will make
      multitasking very smooth.  It also allows relative priority to be specified
      between taskwindows.  So the default is 10, and a nice 1 taskwindow will get
      10 times less CPU time than a default window.  A nice 100 taskwindow would
      get 10 times as much CPU time as a default one.
      
        The buffer enlargements were inadvertantly checked over in a previous
      checkin.  They have now been re-introduced.
      
      Admin:
        Tested on a RiscPC.
      
      
      
      Version 0.67. Tagged as 'TaskWindow-0_67'
      711c6de8
  14. 30 Jul, 2001 1 commit
    • 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
  15. 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
  16. 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
  17. 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
  18. 16 Mar, 2001 1 commit
  19. 02 Mar, 2001 1 commit
  20. 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
  21. 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
  22. 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
  23. 01 Dec, 1999 2 commits
  24. 01 May, 1997 1 commit
  25. 02 Jan, 1997 1 commit
  26. 21 Nov, 1996 1 commit
  27. 05 Nov, 1996 1 commit