Commit Graph

  • 5b04986f08 Add tool glue code for ReadMouse2. master Stephen Heumann 2024-04-17 19:57:23 -0500
  • d9e26d4467 Small optimizations related to 8/16-bit register switching. Stephen Heumann 2024-03-22 21:10:33 -0500
  • 0e519e1e58 Small optimizations in memset and memcpy. Stephen Heumann 2024-02-29 17:16:47 -0600
  • 49ffb1065b Unroll the core loop of strlen one time. Stephen Heumann 2024-02-26 22:14:59 -0600
  • 9181b0bd73 fclose: Free the file buffer earlier. Stephen Heumann 2024-02-20 22:22:26 -0600
  • 7384c82667 fclose: Check for malloc failure when closing temp files. Stephen Heumann 2024-02-20 22:20:17 -0600
  • 16c7952648 fclose: close stream even if there is an error flushing buffered data. Stephen Heumann 2024-02-19 22:30:15 -0600
  • 9d42552756 strncmp: Fix issues related to very large n values. Stephen Heumann 2024-02-19 22:12:26 -0600
  • bbfad1e299 strncat: fix more issues related to large n values. Stephen Heumann 2024-02-19 22:01:53 -0600
  • f1582be5a2 Fix handling of large strings in strncat. Stephen Heumann 2024-02-18 21:53:03 -0600
  • b60c307ee6 Make strcat and strncat work properly when first string crosses a bank boundary. Stephen Heumann 2024-02-18 21:01:01 -0600
  • bf3a4d7ceb Small optimizations in library code. Stephen Heumann 2024-02-18 17:35:21 -0600
  • ce87c0e008 Add script to set filetypes. Stephen Heumann 2023-08-06 17:48:41 -0500
  • cd1eabf60c Update version number and README for ORCA/C 2.2.0. gno-orcalib-220 gno-version Stephen Heumann 2023-07-04 20:49:48 -0500
  • 2f79cf3f3a Merge branch 'master' into gno-version Stephen Heumann 2023-07-03 17:09:25 -0500
  • 3f70daed7d Remove floating-point code from ORCALib. orcalib-220 Stephen Heumann 2023-06-23 15:52:46 -0500
  • a81a9964c2 Change several JMP instructions to BRL. Stephen Heumann 2023-06-19 18:05:46 -0500
  • a5504be621 scanf: skip remaining directives after encountering EOF. Stephen Heumann 2023-06-11 16:07:19 -0500
  • 6bc1c3741c scanf: Do not test for EOF at the beginning of scanf processing. Stephen Heumann 2023-06-11 16:05:12 -0500
  • 614af65c68 printf: print inf/nan rather than INF/NAN when using f and a formats. Stephen Heumann 2023-06-01 19:20:57 -0500
  • b21a51ba33 Optimize lgamma. Stephen Heumann 2023-05-22 18:05:15 -0500
  • 97a295522c Implement lgamma (C99). Stephen Heumann 2023-05-21 18:24:01 -0500
  • afff478793 More small size optimizations for (f)printf. Stephen Heumann 2023-04-18 22:27:49 -0500
  • 78a9e1d93b printf: Unify code for hex and octal formatting. Stephen Heumann 2023-04-17 21:52:26 -0500
  • 67ae5f7b44 printf: optimize hex and octal printing code. Stephen Heumann 2023-04-17 19:36:45 -0500
  • 80c0bbc32b Small size optimizations in printf code. Stephen Heumann 2023-04-16 21:51:11 -0500
  • 34f78fb1f2 printf: add support for 'a'/'A' conversion specifiers (C99). Stephen Heumann 2023-04-16 20:23:53 -0500
  • 578e544174 Update comments about printf. Stephen Heumann 2023-04-16 15:41:00 -0500
  • b7b4182cd2 printf: ignore '0' flag if '-' is also used. Stephen Heumann 2023-04-16 15:39:49 -0500
  • b6bab6df80 Update ORCA/C version number to 2.2.0 B7. gno-orcalib-220b7 Stephen Heumann 2023-04-06 15:55:09 -0500
  • 14121f55b6 Merge branch 'master' into gno-version Stephen Heumann 2023-04-06 15:54:40 -0500
  • bdfed3628d Fix fma to support large memory model. orcalib-220b7 Stephen Heumann 2023-04-06 14:34:40 -0500
  • 2f2d3d2056 Save a few bytes in floating-to-long long conversion code. Stephen Heumann 2023-04-04 18:06:21 -0500
  • cd6131abab Small optimization of strto* functions. Stephen Heumann 2023-04-03 20:16:22 -0500
  • fca8c1ef85 Save a few bytes in printf and scanf. Stephen Heumann 2023-04-03 13:26:37 -0500
  • de978dab48 Use more efficient code to return values from various math functions. Stephen Heumann 2023-04-02 16:33:24 -0500
  • 68fc475721 Implement fma(). Stephen Heumann 2023-04-02 16:30:29 -0500
  • 3c1f357b0c Save a few bytes in the startup code. Stephen Heumann 2023-03-28 21:38:55 -0500
  • a4ba2403fe Call atexit functions with correct data bank in large memory model Stephen Heumann 2023-03-28 18:52:14 -0500
  • 48371dc669 tmpnam: allow slightly longer temp directory name Stephen Heumann 2023-03-08 18:59:10 -0600
  • b03e462125 bsearch: return NULL without calling compare function if count==0. Stephen Heumann 2023-02-17 20:31:55 -0600
  • b3f028da2f Avoid address comparison error in qsort. Stephen Heumann 2023-02-16 18:44:47 -0600
  • 2540b28ca3 Avoid excessively deep recursion in qsort. Stephen Heumann 2023-02-15 22:04:10 -0600
  • 3417a98d10 Use proper data bank when calling comparison function in qsort. Stephen Heumann 2023-02-14 18:53:27 -0600
  • 60d49c7dc3 Fix qsort code for swapping elements with a size of 64KiB or more. Stephen Heumann 2023-02-14 18:43:40 -0600
  • 74de206058 Add library function for null pointer checking. Stephen Heumann 2023-02-12 18:57:56 -0600
  • 3551644355 Fix stack handling in localtime. Stephen Heumann 2023-01-05 20:00:44 -0600
  • 506b070439 Rename CVars to ~CVars to avoid namespace pollution. Stephen Heumann 2023-01-02 18:41:45 -0600
  • 69765a96ef Use a variable to control use of Time Tool. Stephen Heumann 2023-01-02 18:01:28 -0600
  • c4d485e960 Implement timespec_get (C11). Stephen Heumann 2023-01-01 21:31:25 -0600
  • 44c3078ab3 mktime: force struct tm components to their normal ranges. Stephen Heumann 2022-12-31 21:45:49 -0600
  • 7e4f067c35 Compute tm_yday and tm_wday directly in ~gmlocaltime. Stephen Heumann 2022-12-31 19:10:36 -0600
  • 882af9e075 Make gmlocaltime take a parameter for the struct tm to use. Stephen Heumann 2022-12-30 18:46:51 -0600
  • 3b0c1c2149 Fix gmtime() handling of times very near the limits of time_t. Stephen Heumann 2022-12-30 17:28:16 -0600
  • 32c5fd94a1 Handle out-of-range months in mktime() input. Stephen Heumann 2022-12-29 23:50:01 -0600
  • f15caf8096 Make gmtime/localtime properly support times near the limits of the time_t range. Stephen Heumann 2022-12-29 23:17:24 -0600
  • b302a85fd6 Switch time "factor" code over to 0-based month indexing. Stephen Heumann 2022-12-29 22:53:37 -0600
  • 17faeda1de Rework time "factor" routine to work for the full 32-bit time range. Stephen Heumann 2022-12-29 22:31:31 -0600
  • d30ee1a2e5 Adjust comments in time.asm to reflect actual starting date of time_t. Stephen Heumann 2022-12-29 14:25:24 -0600
  • e2de990f4d strftime: use Time Tool Set to get time zone offset. Stephen Heumann 2022-12-28 19:55:48 -0600
  • 4019e9f370 gmtime: support time zone adjustment with Time Tool Set. Stephen Heumann 2022-12-28 19:46:49 -0600
  • 89664d2921 Slightly improve tgamma calculation for x < 8. Stephen Heumann 2022-12-24 21:59:52 -0600
  • 5985e7d774 Implement tgamma (c99). Stephen Heumann 2022-12-24 20:20:40 -0600
  • 88e764f72d Implement the erf and erfc functions (C99). Stephen Heumann 2022-12-17 22:25:53 -0600
  • 73ed0778f2 Add cleanup code for CDev calls. Stephen Heumann 2022-12-11 22:04:22 -0600
  • b81b4e1109 Fix several bugs in fgets() and gets(). Stephen Heumann 2022-10-15 19:01:16 -0500
  • b5220aac6a Update ORCA/C version number to 2.2.0 B6. gno-orcalib-220b6 Stephen Heumann 2022-07-16 20:57:32 -0500
  • 1fd1de0be8 Merge branch 'master' into gno-version Stephen Heumann 2022-07-16 20:45:02 -0500
  • 505f1c2804 lseek: make seeking to an offset before end of file work properly. orcalib-220b6 Stephen Heumann 2022-07-14 18:33:31 -0500
  • a2bca0df04 Implement O_APPEND mode. Stephen Heumann 2022-07-13 18:34:29 -0500
  • ad273126dd Remove unnecessary instructions. Stephen Heumann 2022-07-13 18:27:24 -0500
  • 7b6cb049b7 Add an 16-bit unsigned multiply routine suitable for use in C. Stephen Heumann 2022-07-06 22:19:32 -0500
  • 12f8d74c99 Do not use separate segments for __-prefixed versions of functions. Stephen Heumann 2022-07-05 18:24:18 -0500
  • 463d24a028 Avoid errors caused by fseek after ungetc on read-only files. Stephen Heumann 2022-07-03 21:58:00 -0500
  • 219e4352a0 fseek: do not clear read/write flags for read-only/write-only streams. Stephen Heumann 2022-07-03 20:27:19 -0500
  • 89b501f259 fread: do not try to read if EOF flag is set. Stephen Heumann 2022-07-03 20:04:12 -0500
  • ef63f26c4f Allow writing immediately after reading to EOF. Stephen Heumann 2022-07-03 18:51:38 -0500
  • c877c74b92 In fflush, reset the mark to account for flushing the buffer even on read-only files. Stephen Heumann 2022-07-02 22:26:23 -0500
  • 2d6ca8a7b2 Do not set read/write error indicator if ftell cannot get the file mark. Stephen Heumann 2022-07-02 22:09:56 -0500
  • 3eb8a9cb55 Fix bug where ftell would inappropriately change the file mark. Stephen Heumann 2022-07-02 22:05:40 -0500
  • 36808404ca Fix fread bug causing it to discard buffered data. Stephen Heumann 2022-07-02 18:24:19 -0500
  • 84f471474a Use newer, more efficient ph2/ph4 macros throughout ORCALib. Stephen Heumann 2022-06-29 18:21:32 -0500
  • c95bfc19fb Fix a logic error. Stephen Heumann 2022-06-28 22:25:10 -0500
  • a2b3d4541a fread fixes. Stephen Heumann 2022-06-27 18:24:52 -0500
  • 1f88a38e2e Clear the EOF flag on successful calls to ungetc(). Stephen Heumann 2022-06-27 17:59:21 -0500
  • 38666ee111 Restore changes to allow ungetc of byte values 0x80 through 0xFF. Stephen Heumann 2022-06-27 17:56:52 -0500
  • 7c2fb70c4a freopen improvements Stephen Heumann 2022-06-26 21:20:23 -0500
  • 8cfb73a474 Force the file mark to EOF whenever writing to a stream in append mode. Stephen Heumann 2022-06-26 18:59:57 -0500
  • 0047b755c9 Fix bug with fseek(..., SEEK_CUR) on read-only streams. Stephen Heumann 2022-06-25 21:37:47 -0500
  • 3581d20a7c Standardize indentation using spaces. Stephen Heumann 2022-06-25 18:27:20 -0500
  • ab2f17c249 Clear the IO error indicator as part of rewind(). Stephen Heumann 2022-06-24 18:31:50 -0500
  • 28f653693c Update GNO version makefile to include new source files. Stephen Heumann 2022-01-10 19:10:50 -0600
  • 522a6fc3f8 Merge branch 'master' into gno-version Stephen Heumann 2022-01-10 19:07:55 -0600
  • 997e430562 Implement asinh(). Stephen Heumann 2021-12-24 15:56:36 -0600
  • b62940404f Implement atanh(). Stephen Heumann 2021-12-23 18:30:41 -0600
  • 818707ed8c Use a more accurate implementation of cbrt(). Stephen Heumann 2021-12-21 19:11:18 -0600
  • a45f531fe6 Implement hypot(). Stephen Heumann 2021-12-20 21:52:48 -0600
  • b01800ff77 Fix rounding issues introduced by SANE bug workarounds. Stephen Heumann 2021-11-30 20:19:57 -0600
  • b6690c4826 Implement acosh(). Stephen Heumann 2021-11-30 19:15:21 -0600
  • eddf778f09 Implement llround(). Stephen Heumann 2021-11-28 18:30:20 -0600