1. 21 Aug, 2012 1 commit
  2. 13 Nov, 2011 1 commit
  3. 28 Oct, 2011 1 commit
    • Ben Avison's avatar
      File handling improvements · 8dcb6880
      Ben Avison authored
      Detail:
        * Added 64-bit file pointer API support, following the LFS spec v1.5
          (see Docs directory). Internally, now uses 64-bit file pointers
          exclusively. For now, the backend still limits you to 4GB-1 files, but
          clients of the C library won't need recompiling again to support larger
          files than this once they use the new API.
        * Fixed a large number of warnings produced in compilation, assembly and
          linking, many of them new and resulting from the improved checks in the
          latest toolchain.
        * Increased the maximum stream buffer size from 16MB to 1GB.
        * Added Hdr:SDFS and Hdr:SDIO to the list of headers used to build swis.h
          if they are present.
      Admin:
        Verified that the new 64-bit file pointer buffering code works using a
        ROM build (since the toolchain makes extensive use of reading, writing
        and seeking internally).
      
      Version 5.64. Tagged as 'RISC_OSLib-5_64'
      8dcb6880
  4. 06 Aug, 2011 1 commit
    • Jeffrey Lee's avatar
      Update to work with zero page relocation · 14a49538
      Jeffrey Lee authored
      Detail:
        clib/s/cl_stub, kernel/s/k_body, s/initmodule - Use OS_ReadSysInfo 6 to look up CLibWord/RISCOSLibWord/CLibCounter location each time it's needed instead of using hardcoded addresses. SWI overhead shouldn't be too bad since the zero page areas are rarely used.
        rlib/c/menu - Fix null pointer access when attempting to clear a submenu pointer via menu_submenu(...,...,NULL)
        s/h_workspc - Remove old local definitions of CLibCounter, RISCOSLibWorkSpace and CLibWorkSpace. Use Hdr:PublicWS instead.
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 5.60. Tagged as 'RISC_OSLib-5_60'
      14a49538
  5. 11 Dec, 2010 1 commit
  6. 06 Dec, 2010 1 commit
    • Robert Sprowson's avatar
      Import of JPEG support code to RISC_OSLib. · 95424385
      Robert Sprowson authored
      Functionality to query, plot, and transform a JPEG file modelled on the functions provided in 'sprite.c/h'.
      To be used to share more code between !Paint and !Draw.
      
      Version 5.59. Tagged as 'RISC_OSLib-5_59'
      95424385
  7. 30 Nov, 2010 1 commit
    • Robert Sprowson's avatar
      Enable 2 functions in RISC_OSLib shared entry table. · 7d3fe675
      Robert Sprowson authored
      Needed by !Paint 2.02.
      Fix some easy warnings in wimp.c/sprite.c.
      Add new function (not in the ROM version) 'wimp_baseofromsprites()'.
      bbc_adval fixed to return -1 when no ADC fitted to match Electron behaviour.
      Note: the 2 reenabled functions haven't been appended to the table, so anyone who linked a RAM application against 'romastubs' would need to relink.
      
      Version 5.58. Tagged as 'RISC_OSLib-5_58'
      7d3fe675
  8. 26 Nov, 2010 1 commit
    • Jeffrey Lee's avatar
      Fix alignment fault when reporting the "This file doesn't contain a BASIC program" error · 38fd341c
      Jeffrey Lee authored
      Detail:
        rlib/c/txtedit - Rather than generating a proper error block to send to Wimp_ReportError, txtedit__validbasicfile was just subtracting 4 from the pointer to the error string.
        The resulting address isn't guaranteed to be aligned properly, resulting in an alignment fault on ARMv7 when Wimp_ReportError examines the error number.
        The new code just reuses the 'buff' array to build a temporary error block.
      Admin:
        Fixes alignment fault on beagleboard when attempting to load a detokenized BASIC file into !Edit.
      
      
      Version 5.57. Tagged as 'RISC_OSLib-5_57'
      38fd341c
  9. 31 May, 2009 3 commits
    • Peter Naulls's avatar
      Normalise include paths · 6e15bfa0
      Peter Naulls authored
      Detail:
       Fix missed change from last commit
      Admin:
       None
      
      Version 5.54. Not tagged
      6e15bfa0
    • Peter Naulls's avatar
      Normalise C and assembler include paths · ca954eea
      Peter Naulls authored
      Detail:
       This changes all the C and assembler includes to be a canoncial Unix format.
       Also match include paths to previous commit for EditIntern/DrawIntern/VerIntern
       Finally, also include some minor type fixes (NULL vs 0)
      Admin:
       May be some other paths elsewhere in the source I'm not immediately able to fix.  Will address any issues ASAP, since this is a huge change.
      
      Version 5.54. Not tagged
      ca954eea
    • Peter Naulls's avatar
      Rationalize C include path usage · 34c122aa
      Peter Naulls authored
       Detail:
        Parts of RISCOS_Lib use non-standard paths that only really work on native RISC OS compilitation.
        This moves the relevant files into a more normalized dir.h.file format.
       Admin:
        Not tested yet.  #include path changes to follow.
      
      Version 5.54. Not tagged
      34c122aa
  10. 23 Jan, 2004 1 commit
    • Kevin Bracey's avatar
      <ctype.h> * isblank() added. · 8f9cfb8a
      Kevin Bracey authored
                * isprint() now true for non-breaking spaces
      <math.h>  * FP_INFINITY corrected to FP_INFINITE
                * fma(), fmal(), llrint(), llrintf(), llrintl(),
                  llround(), llroundf(), llroundl(),
                  remquo(), remquof(), remquol() added.
                * added inlining for remainder() and fmaf() and various
                  float functions.
                * math_errhandling removed pending overhaul - it was misleading.
                * expm1() and log1p() now provide decent (< 1 ulp) accuracy,
                  rather than only being marginally better than exp(x)-1 and
                  log(1+x).
                * new version of copysign() with standard calling conventions.
                * some C99 functions changed to use infinity/NaNs and exceptions
                  for error handling - see comments in header file about the
                  changes in progress.
      <stdio.h>  * output from %a now correctly rounded
      <stdlib.h> * strtof() and strtold() added.
      <string.h> * strerror() no longer clears _kernel_last_oserror().
      
      Version 5.49. Tagged as 'RISC_OSLib-5_49'
      8f9cfb8a
  11. 15 Apr, 2003 1 commit
    • Kevin Bracey's avatar
      * __assert2() added to support for C99 assert(), which displays function name. · f126a1ab
      Kevin Bracey authored
      * _Exit() added.
      * Lots of new <math.h> functions (acosh, asinh, atanh, exp2, expm1,
        ilogb, log1p, log2, logb, scalbn, scalbln, cbrt, erf, erfc,
        lgamma, tgamma, nexttoward, fmaf). Float and long double forms
        of every function added; long double forms are included as another
        library object in the stubs rather than the shared library, as they
        just branch to the double form.
      * Subnormal/NaN/infinity cases in various <math.h> functions improved.
      * Added <tgmath.h>.
      * Headers brought into line with CC 5.54.
      * RMEnsures added to C library initialisation to try to load minimum
        CallASWI, FPEmulator, CLib. No errors reported if load fails.
      * A few pointless inter-file dependencies removed to reduce minimum
        size of included ANSILib.
      
      Version 5.46. Tagged as 'RISC_OSLib-5_46'
      f126a1ab
  12. 16 Jan, 2003 1 commit
    • Ben Avison's avatar
      Misc changes. · aa313346
      Ben Avison authored
      Detail:
        * Improved lookup of application Sprites file: uses Wimp_Extend 13 (in
          Wimps that support it) to work out the appropriate resolution suffix,
          and prefixes with "<Wimp$IconTheme>" to allow a future Theme Manager
          to operate.
        * Preserves attributes of any existing file when saving sprite or text
          files.
        * Changed two null menu handles from 0 to (doucmented) -1. Despite the
          fact that the Wimp is actually happy with 0 as a null handle here,
          this was reported as a fault.
        * Changed rlib.c.version to use VersionNum, deleted thereby-obsoleted
          rlib.h.VerIntern.version file. Not that rlib.c.version seems to be used
          at the moment.
        * Added Kevin's additions to the test directory.
      Admin:
        Tested briefly.
      
      Version 5.44. Not tagged
      aa313346
  13. 15 Nov, 2002 1 commit
    • Kevin Bracey's avatar
      ROM build fixed for 64-bit stuff. · f207fcb2
      Kevin Bracey authored
      PCI added to swis.h
      alloc.c updated to handle bigger slots (new code merged from ARM libraries)
      Various 32-bit fixes for backtracing, and general trap handling.
      Polite "Application is not 32-bit compatible" message.
      Headers <stdint.h> and <inttypes.h> fixed to work in non-C99 mode.
      txt changed to do new-style Delete behaviour
      
      Version 5.44. Tagged as 'RISC_OSLib-5_44'
      f207fcb2
  14. 23 Jul, 2002 1 commit
  15. 23 Aug, 2001 2 commits
  16. 10 Apr, 2001 1 commit
    • Stewart Brodie's avatar
      Removed spurious GET of rlib.s.asmdefs. · c2684576
      Stewart Brodie authored
      Detail:
        The file no longer exists as the UROM definition is passed on the command
          line now.
      Admin:
        5.29 wouldn't build because of the missing file - didn't catch it during
          testing for some reason :-(
      
      Version 5.30. Tagged as 'RISC_OSLib-5_30'
      c2684576
  17. 06 Apr, 2001 1 commit
    • Stewart Brodie's avatar
      Fix for strcmp(). · 9d5bf66a
      Stewart Brodie authored
        Fix for RISC_OSLib res() function.
      Detail:
        Version 4.89 featured an improved strcmp() routine that didn't actually
          work properly (bug #4085).  The return values had the wrong sign if this
          optimised code was used and the string contained top-bit set chars.
        Removed that rlib.s.asmdefs hack as the comment in the makefile suggested.
          Nothing needs it any more as the assembler sources that require it now
          get via a -PD argument.
        res_ prefix function was still wrong as it failed to detect valid but wrong
          filenames, hence the "Make$Path not defined" errors in the latest tools
          release.
      Admin:
        Fixes Bugzilla bug #4085
        Should fix BaseSW's build problems too.
      
      Version 5.29. Tagged as 'RISC_OSLib-5_29'
      9d5bf66a
  18. 02 Mar, 2001 1 commit
    • Stewart Brodie's avatar
      Fixed fault in res library in RISC_OSLib. · 8b79f20e
      Stewart Brodie authored
        Module library builds of RISC_OSLib are exported during export_libs
      Detail:
        Ever since res_findname was altered to use <appname>:<resourcename> as
          the filename, the !C++ tool has been broken, because C++:Messages
          returns a different error to "not found" when you try to open it (it
          says it is an invalid filename).  This error is now caught explicitly
          and res_findname falls back to using <appname$Dir>.<resourcename>
          like it did before.
      Admin:
        Required by FrontEnd 1.21 or later.
        Required by !C++ (c++cmd-3_17 or later to function correctly)
      
      Version 5.28. Tagged as 'RISC_OSLib-5_28'
      8b79f20e
  19. 22 Nov, 2000 1 commit
    • Simon Forrest's avatar
      * Merged South African resource changes made on Bethany branch. · c359fc77
      Simon Forrest authored
      Detail:
      
        * (As above.)  It would perhaps be a worthwhile change to use LocalRes
          type functionality in future to allow the UK resources to be chosen
          when no locale-specific resources exist.
      
      Admin:
      
        * Changes first applied to Bethany branch version.  Resources are
          copied from UK -> SAfrica.
      
      Version 5.24. Tagged as 'RISC_OSLib-5_24'
      c359fc77
  20. 02 Oct, 2000 1 commit
    • 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.
      Detail:
        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.
      Admin:
        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'
      5810d878
  21. 15 Aug, 2000 1 commit
  22. 20 Jun, 2000 1 commit
    • Justin Fletcher's avatar
      Support for additional SCL resources in multi-language builds. · fa104f17
      Justin Fletcher authored
      Detail:
        * 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.
      Admin:
        Required for multiple language build of Bethany.
      
      Version 5.08. Not tagged
      fa104f17
  23. 09 May, 2000 1 commit
  24. 14 Jan, 2000 1 commit
    • Simon Forrest's avatar
      * Further message changes for the Lazarus project. · f7997a5f
      Simon Forrest authored
      Detail:
      
        * 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.
      
      Admin:
      
        * 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'
      f7997a5f
  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'
      1eb62d43
  28. 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'
      9081a0dc
  29. 11 Sep, 1998 1 commit
  30. 27 Aug, 1998 2 commits
  31. 21 Jan, 1997 1 commit
  32. 05 Nov, 1996 2 commits