1. 09 Oct, 2000 1 commit
    • Stewart Brodie's avatar
      Fixed _kernel_setenv. · d1f38470
      Stewart Brodie authored
        _kernel_setenv(varname, NULL) should delete the variables.  It now does.
        Tested in module.
      Version 5.18. Tagged as 'RISC_OSLib-5_18'
  2. 03 Oct, 2000 1 commit
  3. 02 Oct, 2000 2 commits
    • Stewart Brodie's avatar
      Uses SYMDEFS files to avoid xtentries(app) and symgen. · 5810d878
      Stewart Brodie authored
        Fixed bug in getenv() relating to macro and numeric system variables.
        Uses SYMDEFS file to avoid messing around with generating little text
          files, generating assembler source, assembling it etc.  abssym et al
          are construct as symbol definition template files and then updated
          directly by the linker ready for export.  The linker can use these
          files directly without needing them to be assembled into AOF format.
        Fixed getenv so that it can read macro and numeric variables.  With these
          variable types, R2 does not equal -length of the variable value, so
          trying to obtain a variable with a larger value than any previously
          read variable would fail.  This is now fixed.
        This module will refuse to build without link 5.19 or later.
        Requires Library 0.54 or later.
        This component will not build with Library 0.53 or earlier.
      Version 5.16. Tagged as 'RISC_OSLib-5_16'
    • Kevin Bracey's avatar
      * Trailing garbage no longer appears after some perror() calls. · dddff229
      Kevin Bracey authored
      * Correction to static base location in modulewrap - was affecting some
        DSL 4000 video software.
      Version 5.15. Tagged as 'RISC_OSLib-5_15'
  4. 14 Sep, 2000 1 commit
    • Stewart Brodie's avatar
      Fixed minor printf bug. · 8b52f983
      Stewart Brodie authored
        %#x shows a leading 0x (and %#X leads with 0X) only when the value
          to be displayed is NOT zero.
        Cross-verified against: C89 standard; C9X standard; gcc 2.95 implementation.
      Version 5.14. Tagged as 'RISC_OSLib-5_14'
  5. 17 Aug, 2000 1 commit
    • Stewart Brodie's avatar
      Major fix to Makefile. · 8e631acb
      Stewart Brodie authored
        Due to a dependency cockup, the C library wasn't being relinked properly
          during rom_link, so all the symbols exported in abssym files pointed
          to the locations the previous build was linked at.  This is now fixed
          by the addition of a new pseudo-target.
        Tested clean and incremental build and verified the abssym file.
        Checked the build log to ensure relinking was occurring.
        Versions 5.11 and 5.12 of this component are fundamentally flawed.
      Version 5.13. Tagged as 'RISC_OSLib-5_13'
  6. 15 Aug, 2000 1 commit
  7. 11 Aug, 2000 1 commit
    • Stewart Brodie's avatar
      Added cut-down target which excludes RISC_OSLib. · ca39be4e
      Stewart Brodie authored
        This component now supports multiple TARGETs being passed in:
          Pass in CLib for a minimal C library excluding RISC_OSLib.
          Pass in RISC_OSLib to continue to build the full thing.
        BuildSys will be modified to make SharedCLibrary build ONLY
          the minimal library - this may mean that products that are
          to be updated may have to alter their components file to
          take the new SharedRISC_OSLib component instead of the
          SharedCLibrary target.
        syms.A_Entries is now automatically generated from C_Entries
          because this is the easiest way to generate the file.  If
          extra symbols are added to C_Entries, they will need to be
          removed by the egrep command which strips out _swi and _swix.
        Makefile tidied to be more careful about ${COMPONENT} and ${TARGET}
        clean_all rule improved to really clean things properly.
        Tested in STB400-2M build and on desktop build.
        Requires BuildSys-2_41 or later.
      Version 5.11. Tagged as 'RIS...
  8. 03 Jul, 2000 1 commit
  9. 20 Jun, 2000 2 commits
    • Justin Fletcher's avatar
      Recommitted to get tag allocated. · bbf4e630
      Justin Fletcher authored
      Version 5.09. Tagged as 'RISC_OSLib-5_09'
    • Justin Fletcher's avatar
      Support for additional SCL resources in multi-language builds. · fa104f17
      Justin Fletcher authored
        * Copied UK resources to Italy, Germany (excepting where already
          present), France and Turkey for multi-language builds.
          LocalRes: cannot be used here, because of the clib/rlib prefixes on
          the resource paths.
          Note: These languages will need translating at some point, but are not
          generally user visible.
        Required for multiple language build of Bethany.
      Version 5.08. Not tagged
  10. 16 May, 2000 1 commit
  11. 10 May, 2000 1 commit
  12. 09 May, 2000 1 commit
  13. 28 Apr, 2000 2 commits
    • Andrew Hodgkinson's avatar
      ...and this one actually works. · 9914d2a6
      Andrew Hodgkinson authored
      Version 5.05. Not tagged
    • Andrew Hodgkinson's avatar
      Extensions to modulewrap.s. · c210b256
      Andrew Hodgkinson authored
        UsePathForHelpMessages switch added - if the symbol is defined, Messages
        are obtained from <AppName>:Messages, requiring an <AppName>$Path system
        variable. Previously, they were always fetched from Resources which is
        only correct if the module is in ROM. This only influences the ability to
        give sensible *help output for *help Desktop_<AppName>. In addition, KJB
        added code to export the module private word pointer as
        Tested inside PlugPlay RAM module build.
      Version 5.05. Tagged as 'RISC_OSLib-5_05'
  14. 10 Apr, 2000 1 commit
  15. 07 Mar, 2000 2 commits
    • Stewart Brodie's avatar
      Automatic generation of swis.h now more automatic. · 8851794b
      Stewart Brodie authored
        New script will search the export directory for headers that should
          be exported SWI symbols for it and only cause them to be included
          if it finds the header file.  This means that unless a component
          in your build actually needs the SWI symbols from another component,
          you no longer require that component to be in your modules file
          purely to enable successful generation of swis.h
        Test build performed.
      Version 5.03. Tagged as 'RISC_OSLib-5_03'
    • Kevin Bracey's avatar
      Changed console output so that '\n' outputs VDU 10,13 rather than 13,10. · 9a820387
      Kevin Bracey authored
      This is the standard RISC OS convention (cf OS_NewLine) - some apps assume
      it when redirecting output.
      Version 5.02. Tagged as 'RISC_OSLib-5_02'
  16. 14 Jan, 2000 1 commit
    • Simon Forrest's avatar
      * Further message changes for the Lazarus project. · f7997a5f
      Simon Forrest authored
        * More minor message alterations: removed "Network Computer" and replaced
          this with "system", since this is generic.  Also brought the
          other resources up-to-date by including messages missing from the
          non-UK resources.
        * Checked but untested.  (These additional changes made after having
          discovered the phrase "Network Computer" within "rlib" during a
          search across the whole of the Lazarus sources; hopefully, I have
          found them all this time!)
      Version 5.01. Tagged as 'RISC_OSLib-5_01'
  17. 13 Jan, 2000 1 commit
    • Simon Forrest's avatar
      * Message changes for Lazarus project. · c8c12ad2
      Simon Forrest authored
        * Modified the text of the C library error C55, C57 and C58.  They no
          longer refer to the "Network Computer" and now preserve both
          PC and register information.  (The actual error string remains
          suppressed, however.)  [Fault fix for fault ID 1119.]
        * Untested.  Affects RCA resources only.
      Version 5.00. Tagged as 'RISC_OSLib-5_00'
  18. 25 Nov, 1999 3 commits
    • Stewart Brodie's avatar
    • Stewart Brodie's avatar
      No longer relies on Sys$ReturnCode for swis.h export · 5c3c5d07
      Stewart Brodie authored
        amu cleverly sets Sys$ReturnCode to zero just prior to executing
          any command from the Makefile, hence checking for Sys$ReturnCode
          does not work.  Script changed to look for AMU$ReturnCode which
          is (in amu 5.06 and later) the return code of the previous command.
          However, since the variable will not be set by earlier versions of
          amu, the behaviour of always copying the file will return until
          amu 5.06 appears in the build.
        Tested manually.
      Version 4.99. Tagged as 'RISC_OSLib-4_99'
    • Stewart Brodie's avatar
      swis.h only re-exported if it has changed since the last export. · ac787e1d
      Stewart Brodie authored
        The Makefile now performs a diff of CLIB:h.swis and derived.swis
          in order to determine whether it needs to export the header or
          not.  This can save compilation time if the header file has not
          changed since it used to cause virtually all C code to recompile.
        s/makeswish now imports Hdr:Machine.<Machine> and executes $GetIO
          to ensure that the Portable module header export functions
      Version 4.98. Tagged as 'RISC_OSLib-4_98'
  19. 10 Nov, 1999 1 commit
  20. 22 Sep, 1999 1 commit
    • Stewart Brodie's avatar
      Fix for strcoll · e6cf1730
      Stewart Brodie authored
        Somebody had modified the SWI call to Territory_Collate to be done
          via _swix instead of _kernel_swi, but didn't remove the _kernel_swi_regs
          variable (r) and didn't change the function return value to return the
          new "ret" variable instead of r.r[0] which gives arbitrary results - in
          particular it confuses qsort.
        Tested that it builds.
      Version 4.97. Tagged as 'RISC_OSLib-4_97'
  21. 21 Sep, 1999 1 commit
    • Stewart Brodie's avatar
      Fix for qsort to stop aborts. · 71094b4e
      Stewart Brodie authored
        If qsort is passed an invalid base pointer and the number of entries
          is zero, then due to some pointer artihmetic going wrong, it aborts.
          The fix is to trap zero length arrays and exit quickly.
        Required by cmhg prior to version 5.20 which had an explicit fix to
          prevent triggering this bug.
        Reportedly this fix is required by PhotoDesk prior to version 3.03.
      Version 4.96. Tagged as 'RISC_OSLib-4_96'
  22. 09 Jul, 1999 1 commit
  23. 12 May, 1999 1 commit
    • Stewart Brodie's avatar
      Fixed up Makefile to export new header files. · 420d0857
      Stewart Brodie authored
        Added protection for cfront inclusion of stdint.h to ensure
          inclusion is faulted.
        Sources which are compiled -fussy will require Norcroft cc version
          5.11 or later in order to avoid the warning about the use of an
          undefined macro in an #if pre-processor statement and to avoid
          the non-ANSI include warning.
      Version 4.94. Tagged as 'RISC_OSLib-4_94'
  24. 11 May, 1999 1 commit
  25. 20 Jan, 1999 1 commit
  26. 06 Dec, 1998 1 commit
  27. 29 Oct, 1998 1 commit
    • Kevin Bracey's avatar
      New Japanese NC crash messages. · 1eb62d43
      Kevin Bracey authored
      A feeble hack to get Edit to display Japanese, plus a more serious attempt
      that doesn't work, compiled out.
      Version 4.91. Tagged as 'RISC_OSLib-4_91'
  28. 26 Oct, 1998 1 commit
    • Stewart Brodie's avatar
      Added new -v4 pragma to derived swis.h header file. · f22c5f04
      Stewart Brodie authored
        Moved template for swis.h out of asm source into separate text file.
        s.makehswis: The text which forms the common header for the derived
          swis.h is now stored externally rather than declared inline with
          assembler directives.
        h.swisheaders: The external file containing the common header.
          Now wraps the declarations of _swi and _swix with "#pragma -v4"
          to activate the _swi/_swix parameter checking for those functions.
        Makefile: Added dependency of derived.swis on h.swisheader
        Built and exported.  Tested with cc 5.09 and it was happy with the
        new pragma (it ignores it).  Tested with what will be cc 5.10 and
        it recognised it and started checking _swi and _swix calls.
      Version 4.90. Tagged as 'RISC_OSLib-4_90'
  29. 01 Oct, 1998 1 commit
    • Kevin Bracey's avatar
      Ursula branch merged. · 9081a0dc
      Kevin Bracey authored
      StrongARMfudge flag removed.
      StrongARM compatibility set according to AMBKernel flag in Hdr:RISCOS
      strftime %U and %W specifiers fixed for week 0.
      Version 4.89. Tagged as 'RISC_OSLib-4_89'
  30. 11 Sep, 1998 1 commit
  31. 27 Aug, 1998 4 commits