- 08 Jul, 2014 1 commit
-
-
Robert Sprowson authored
Edit-1_70 and SrcEdit-1_28 no longer require these private headers. Version 5.83. Not tagged
-
- 08 May, 2014 1 commit
-
-
Robert Sprowson authored
menu.c: if NULL return -1, this has the added advantage that a menu maker (see event_attachmenumaker) can return NULL to mean "no menu thanks" and not data abort in event.c dbox.c: if NULL return 0, this is somewhat consistent with template_syshandle() menu.h: typo in comment corrected Version 5.82. Tagged as 'RISC_OSLib-5_82'
-
- 21 Jan, 2014 1 commit
-
-
Robert Sprowson authored
msgs.c: includes a MessageTrans parser that duplicates MessageTrans_Lookup (needed because the lookup function returns pointers to static C strings). However, did not allow '?' wildcards in the message token names. Version 5.80. Tagged as 'RISC_OSLib-5_80'
-
- 24 Oct, 2013 1 commit
-
-
Robert Sprowson authored
Fix for problem passing long command lines via system(), while there are good arguments to leave the threshold at 255, non DDEUtils aware programs get brutally truncated command strings, and since the old threshold of 255 applied when the kernel handled 256 command lines, upping the limit to 1k is no worse than before. Fix for Edit failing to draw lines of text longer than 192 characters (ticket #350). Several factors were conspiring here: on a mode change the window width in characters wasn't being clamped, whereas user entered limits in the menu were, then the internal buffer ("PAINTBUFSIZE") was too short so lines got truncated, and when larger than 256 got wrapped modulo 256 due to the use of an array of chars. Now set at compile time with BIG_WINDOW_SIZE_LIMIT with a new theoretical maximum of 8192. Currently limited to 480 since it uses stack variables. In the C library: armsys.c: adapt the threshold at which to use DDEUtils based on the kernel version number scanf.c: squash a warning time.c: mark the table of month lengths as constant so we can claw back 13 words of static workspace without having to change the stubs In RISC OS lib: bbc.c: remove local definitions of some SWI numbers template.c: squash a warning txt.c: delete Modula-2 support txt1.c: compare pointer with NULL not an integer txtar.c: introduce BIG_WINDOW_SIZE_LIMIT, rationalise a few sprintf's, mark private functions as static txtundo.c/txtedit.c: squash old style function warnings txtoptmenu.c: clamp the window width read from Edit$Options properly, delete long disabled code txtscrap.c: dead function deleted Version 5.78. Tagged as 'RISC_OSLib-5_78'
-
- 25 Sep, 2012 1 commit
-
-
Robert Sprowson authored
While the txtedit part of RISC_OSLib has never been famed for its adherence this brings the delete operation (^K ref Style Guide p38, !ResEd, and the drag & drop protocol specification) into line. Version 5.73. Tagged as 'RISC_OSLib-5_73'
-
- 21 Aug, 2012 1 commit
-
-
Robert Sprowson authored
This is the other half of !Edit, which now uses the centralised awk script to insert its version number into about boxes. Retagged as RISC_OSLib-5_71.
-
- 06 Aug, 2011 1 commit
-
-
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'
-
- 06 Dec, 2010 1 commit
-
-
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'
-
- 30 Nov, 2010 1 commit
-
-
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'
-
- 26 Nov, 2010 1 commit
-
-
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'
-
- 31 May, 2009 1 commit
-
-
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
-
- 23 Jan, 2004 1 commit
-
-
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'
-
- 15 Apr, 2003 1 commit
-
-
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'
-
- 16 Jan, 2003 1 commit
-
-
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
-
- 15 Nov, 2002 1 commit
-
-
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'
-
- 23 Jul, 2002 1 commit
-
-
Steve Revill authored
Detail: This version now builds with cc-5_45. Note: it has not been verified as actually functioning correctly. Admin: Tested in DSL Baseline build. Version 5.42. Tagged as 'RISC_OSLib-5_42'
-
- 23 Aug, 2001 2 commits
-
-
Kevin Bracey authored
* Fixed C library tty so it can output '\b' (backspace). * Made offsetof() and va_arg() macros work with C++. Version 5.34. Tagged as 'RISC_OSLib-5_34'
-
Kevin Bracey authored
* Fixed C library tty so it can output '\b' (backspace). * Made offsetof() and va_arg() macros work with C++. Version 5.34. Tagged as 'RISC_OSLib-5_34'
-
- 06 Apr, 2001 1 commit
-
-
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'
-
- 02 Mar, 2001 1 commit
-
-
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'
-
- 29 Oct, 1998 1 commit
-
-
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'
-
- 01 Oct, 1998 1 commit
-
-
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'
-
- 27 Aug, 1998 1 commit
-
-
Simon Middleton authored
Merged Spinner branch changes onto trunk (new RCA messages files and Makefile changes). Convert to srccommit while we're at it. Removed a few $Revision's to prevent future spurious merge clashes. Version 4.87. Tagged as 'RISC_OSLib-4_87'
-
- 05 Nov, 1996 1 commit
-
-
Neil Turton authored
-