1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-27 09:09:10 +00:00

Commit Graph

  • c821a73ed4 Updates build environment to Ubuntu Linux 24.04 nhb-linux-build-with-libbsd Nick Briggs 2026-02-20 15:52:29 -08:00
  • d791b1d332 Merge pull request #533 from Interlisp/nhb-rewrite-version-parser-v2 master maiko-251031-d791b1d3 Nick Briggs 2025-10-31 15:29:43 -07:00
  • 3d09555c6c Removes assigned-but-not-used rval in DSK_getfilename and redundant test of current_len in conc_dir_and_name nhb-rewrite-version-parser-v2 Nick Briggs 2025-10-21 18:04:40 -07:00
  • 8ad8b4db2a Removes unused local variable len Nick Briggs 2025-10-21 18:03:11 -07:00
  • 673ec07a58 Updates CMakeLists.txt to reflect removal of inc/lispver2.h Nick Briggs 2025-10-21 17:23:31 -07:00
  • 60e12dabc0 Removes comment that is now unnecessary/confusing Nick Briggs 2025-10-20 16:57:44 -07:00
  • e2f69f4e48 Adds comment clarifying requirement to call alarm(0) after S_TOUT Nick Briggs 2025-10-20 16:57:00 -07:00
  • 9f1bcb9299 Simplify conc_dir_and_name implementation for Gemini Nick Briggs 2025-10-20 16:35:54 -07:00
  • 4dfbdf27ff Responds to Gemini review of potential buffer overflows in quote_... fns Nick Briggs 2025-10-20 16:07:36 -07:00
  • 51a33680f4 Resolves error and style complaints by Gemini code review Nick Briggs 2025-10-20 15:50:52 -07:00
  • d4a882adc2 Uses sizeof() or passed size, where known, in calls to conc_name_and_version Nick Briggs 2025-10-20 15:08:51 -07:00
  • 67f8cc0cf0 Cleanup UnixVersionToLispVersion and LispVersionToUnixVersion Nick Briggs 2025-10-20 14:31:18 -07:00
  • 853d133cda No need to do makeright init clean Konrad Hinsen 2025-06-16 18:05:02 +02:00
  • 0370354432 Corrected instructions for building ldeinit Konrad Hinsen 2025-06-16 14:01:07 +02:00
  • f85f6ce004 Add instructions for building a function ldeinit Konrad Hinsen 2025-06-15 10:28:46 +02:00
  • 04ad740ead Adds GETFILEATTRIBUTE processing for INODE_LO and INODE_HI attributes. Nick Briggs 2025-08-18 23:05:53 -07:00
  • fe7beafcc1 "as if" => "as is" in comments. Nick Briggs 2025-06-01 21:17:30 -07:00
  • e745381970 Fixup: wrong quoting function used in updates to enum_ufs, enum_ufs_prop Nick Briggs 2025-05-25 14:18:41 -07:00
  • 5190a3976f Resolves issue medley #2165 ignored quoting characters in filename Nick Briggs 2025-05-22 17:38:34 -07:00
  • babe728d3a Improves performance of some file operations, fixes some memory leaks, and increases clarity. Nick Briggs 2025-05-22 17:33:33 -07:00
  • 38d65df90c Replaces unchecked strcpy/strcat with strlcpy/strlcat Nick Briggs 2025-05-19 17:25:37 -07:00
  • d4a9286962 Replaces unchecked strcpy with strlcpy. Nick Briggs 2025-05-19 16:57:33 -07:00
  • 24327920f2 Replaces unchecked strcpy with strlcpy. Nick Briggs 2025-05-19 16:54:34 -07:00
  • 987fa637a9 Replaces unchecked strcpy with strlcpy. Nick Briggs 2025-05-19 16:52:49 -07:00
  • 4de8b733fd Replaces unchecked strcpy/strcat with strlcpy/strlcat Nick Briggs 2025-05-19 11:45:54 -07:00
  • 353f6d202e Clean up quote_fname, quote_fname_ufs, and quote_dname Nick Briggs 2025-05-11 18:54:00 -07:00
  • 55209aa7e7 Adds size of output parameter to lisppathname() and replaces various strcpy() with strlcpy() Nick Briggs 2025-03-02 19:02:23 -08:00
  • dfb820cc62 Replace sprintf() with snprintf() Nick Briggs 2025-02-25 13:03:46 -08:00
  • 11b81f6c17 Replaces all calls to sprintf() with snprintf() in ufs.c Nick Briggs 2025-02-25 12:55:41 -08:00
  • 9557ae8f5b Updates unixpathname() signature to include output string length, replace strcpy with strlcpy Nick Briggs 2025-02-25 12:48:03 -08:00
  • d1f7361429 Replaces strcat() with strlcat() in dsk.c Nick Briggs 2025-02-25 10:04:59 -08:00
  • 4c6aef8fd4 Replaces all strcpy() by strlcpy() in dsk.c Nick Briggs 2025-02-25 09:54:13 -08:00
  • 409617b506 Adds destination size to conc_... functions and switch to strlcpy/strlcat Nick Briggs 2025-02-25 09:36:43 -08:00
  • 6a550b4ca3 Replaces ConcNameAndVersion and ConcDirAndName macros with functions Nick Briggs 2025-02-03 18:55:53 -08:00
  • f0bd8e0f1f Merge pull request #540 from Interlisp/nhb-string-handling-cleanup Nick Briggs 2025-08-10 09:55:25 -07:00
  • c9e2759666 Replaces magic number with value calculated from appropriate constant Nick Briggs 2025-07-29 19:59:03 -07:00
  • 9960010129 Adds handling of strings with indirect headers for URaid object printing Nick Briggs 2025-07-28 16:09:10 -07:00
  • ce20b3520e Replaces magic number 2 with BYTESPER_DLWORD in calculation of buffer size. Nick Briggs 2025-07-26 22:09:14 -07:00
  • c4752e6caa Makes vmemsave.c lispstringP implementation local and updates header file accordingly Nick Briggs 2025-07-26 17:54:17 -07:00
  • 78dfa9b243 Adds warning note to lisp2c.c LispStringToCStr regarding endianness sensitivity Nick Briggs 2025-07-26 17:47:24 -07:00
  • cfbd78007a Replaces #defined LispStringToCString with static procedure, reformats code Nick Briggs 2025-07-26 17:46:13 -07:00
  • afe40004b8 Removes unnecessary dependency on lisp2c from kbdsubrs.c Nick Briggs 2025-07-26 17:43:14 -07:00
  • fe8c991a11 Fixes possible buffer overrun when source string too long Nick Briggs 2025-07-26 11:33:14 -07:00
  • 5343b12991 Eliminates nul at end of Lisp string since Lisp strings are not nul terminated Nick Briggs 2025-07-25 18:39:53 -07:00
  • a0e703678c Replaces (expanded) lisp string base access pattern with STRING_BASE macro Nick Briggs 2025-07-25 17:52:34 -07:00
  • 06399b0cf8 Declares correct size for scratch version string storage nhb-rewrite-version-parser Nick Briggs 2025-01-03 09:05:12 -08:00
  • 88dea29837 Replaces LispStringToCString macro with static inline procedure Nick Briggs 2025-01-02 17:57:21 -08:00
  • feac148fb4 Adds error returns for case where new file version would exceed MAXVERSION Nick Briggs 2025-01-02 15:24:52 -08:00
  • a8f968f32d Replaces ConcDirAndName and ConcNameAndVersion macros with static inline procedures. Nick Briggs 2025-01-02 15:17:42 -08:00
  • 5060cae998 Improves parsing of Unix format file names, updates comments Nick Briggs 2024-12-26 14:56:48 -08:00
  • 364bc1f31c Removes StrNCpyFromLispToC(), renames StrNCpyFromCToLisp to MemCpyToLispFromNative Nick Briggs 2025-07-25 14:12:30 -07:00
  • 428e7cf1a2 Merge pull request #539 from Interlisp/nhb-gc-cleanup Nick Briggs 2025-07-25 14:02:13 -07:00
  • 01d21b0a44 Revert integerlength() to pure (but more efficient) C as glibc does not provide fls() Nick Briggs 2025-07-22 09:43:49 -07:00
  • 3569e54524 Uses consistent naming (_np) for native pointer equivalents of Lisp addresses in GC aref1 Nick Briggs 2025-07-20 10:48:20 -07:00
  • b75e66d91c Renames struct buf to struct buffer to match corresponding Lisp datatype name Nick Briggs 2025-07-19 23:19:19 -07:00
  • 0e2cda2328 Cleans up releasingvmempage implementation Nick Briggs 2025-07-19 22:44:27 -07:00
  • c58336f813 Cleans up checkarrayblock implementation Nick Briggs 2025-07-19 18:11:43 -07:00
  • f2bf026b07 Adds URaid F command to print array block free list heads Nick Briggs 2025-07-19 17:50:55 -07:00
  • 3fad090a6c Cleans up printarrayblock implementation Nick Briggs 2025-07-19 17:34:52 -07:00
  • 812e296fe8 Cleans up reclaimarrayblock implementation Nick Briggs 2025-07-19 15:39:36 -07:00
  • 7c7da4cd0c Cleans up mergeforward implementation Nick Briggs 2025-07-19 13:19:27 -07:00
  • f375519dbc Cleans up mergebackward implementation Nick Briggs 2025-07-19 12:35:02 -07:00
  • 2c46a9473a Cleans up and makes static arrayblockmerger implementation Nick Briggs 2025-07-19 12:26:29 -07:00
  • 93b3a709c9 Cleans up makefreearrayblock implementation Nick Briggs 2025-07-19 12:11:11 -07:00
  • 31fcfb36ca Cleans up linkblock implementation to increase clarity Nick Briggs 2025-07-18 10:19:36 -07:00
  • 1f18779eb8 Cleans up deleteblock implementation to increase clarity Nick Briggs 2025-07-18 10:09:41 -07:00
  • 357336b5f1 Rewrites (and makes static) findptrsbuffer to avoid multiple conversions between Lisp and native pointers Nick Briggs 2025-07-18 09:12:43 -07:00
  • 1ffd1ba7cb Replaces integerlength(n) implementation with call to fls(n) and makes it static Nick Briggs 2025-07-17 18:52:15 -07:00
  • 0a6f8ac72b Replaces scaling factor 2 for array length offsets by DLWORDSPER_CELL as that is what it represents. Nick Briggs 2025-07-17 18:46:57 -07:00
  • fc90838ad8 Increases number of stack frames that can be displayed by URaid 'l' command (#538) Nick Briggs 2025-07-10 18:36:55 -07:00
  • de1fafba7e Merge pull request #536 from Interlisp/fgh_fix-2164-WSL1-try2 maiko-250616-de1fafba Frank Halasz 2025-06-16 00:30:06 -07:00
  • 6f42b353b2 In Dockerfile_maiko, for wsl1 case called makeright XX clean twice. Eliminated second call, which was deleting first run of makefile x Frank Halasz 2025-06-16 00:00:54 -07:00
  • 8e17c0747d Fix typo in Dockerfile_maiko Frank Halasz 2025-06-15 23:32:27 -07:00
  • 6aafbbcb05 Enable using LDEARCH to set wsl1 as the osversion. Set LDEARCH to get a WSL1 compile on a standard Linux system in Dockerfile_maiko (and hence in the workflow buildRelease.yml). Frank Halasz 2025-06-15 22:56:36 -07:00
  • 5dc9233aef One more typo in Dockerfile_maiko Frank Halasz 2025-06-03 23:31:46 -07:00
  • b029b98fca Fix Dockerfile_maiko to set execute permissions on osversion while building wsl1 versions of maiko Frank Halasz 2025-06-03 23:25:35 -07:00
  • 7dd3c90a77 Fix up various makefile-wsl (and -cygwin) errors pointed out by gemini-code-assist! Frank Halasz 2025-06-03 22:40:11 -07:00
  • 389ecf7874 Fix Dockerfile_maiko so osversion is restored after building the wsl1 lde executables. Frank Halasz 2025-06-03 22:27:16 -07:00
  • 5d3639a905 Fix another error is Dockerfile_maiko for wsl1 Frank Halasz 2025-06-03 19:19:08 -07:00
  • 59953c2629 Fix error is Dockerfile_maiko for wsl1 Frank Halasz 2025-06-03 19:01:14 -07:00
  • 6d171bff1d Create/update additional makefiles for building maiko for WSL1. Update buildRelease workflow and assicated Dockerfile to build the WSL1 variants along wih standard linux variants. Frank Halasz 2025-06-03 18:54:15 -07:00
  • 834a6084c3 WIP. Moving to WSL1 environment Frank Halasz 2025-05-28 14:03:13 -07:00
  • 9343f58b17 Fix typo in bin/mkvdate that was preventing it from executing correctly (#534) Frank Halasz 2025-05-27 22:24:10 -07:00
  • 959f77402f Fix Issue#2164 - mouse does not work on WSL1. Root cause is that, like cygwin, WSL1 does not support setitimer(ITIMER_VIRTRUAL ...). Trouble is cannot detect WSL1 using any preprocessor macros and anyway don't want to create yet another platform to run through the whole github actions release process. So in the case of MAIKO_OS_LINUX, we now detect setitimer failure and use emulated timer when such failure occurs. So unlike CYGWIN and Emscripten, the decsion to use emulated timers for WSL1 is made at runtime not compile time. This will add a very small overhead to all non-WSL1 Linux runs but should not effect any other platforms. fgh_fix-2164-WSL1 Frank Halasz 2025-05-27 20:23:06 -07:00
  • 966290ff4d Enable runtime controlled debug output. Currently only in make_X_keymap. Output is to STDOUT (since the conditional compilation DEBUG did) mth38--support-runtime-debug-output Matt Heffron 2025-02-17 12:35:02 -08:00
  • 4994982a90 Adds the non-keypad arrow keys to be detected. With additional Medley calls to KEYACTION (below), they should work in TTYIN (i.e., XCL and Interlisp EXECs). I didn't try TEDIT. They are unrecognized in SEDIT. (In any case, their use there probably is pretty restricted by the nature of SEDIT.) Matt Heffron 2025-02-11 20:03:01 -08:00
  • 40d4fca8cc Merge pull request #530 from Interlisp/fgh_use-22.04-build-builder Frank Halasz 2025-02-03 12:19:50 -08:00
  • c8dc63d418 Clean up display related variable names differing only in case (#529) Nick Briggs 2025-02-02 16:31:43 -08:00
  • 7fe0f70640 In buildRelease.yml moving to ubuntu-22.04 instead of latest to see if it fixes these random linux arm64 build failures - crashes inside gcc compiler! Frank Halasz 2025-02-01 19:10:38 -08:00
  • 55e20ea993 In buildRelease.yml added apt update to emscriptem build since it was failing to find some of the packages called for by apt-get install sdl2 Frank Halasz 2025-02-01 18:48:38 -08:00
  • 7d85a59e6f Change ubuntu version from latest to 22.04 in Dockerfile_builder to handle issue where the Medley-online docker image was failing to find the lastest versions of libc and libm when loading maiko Frank Halasz 2025-02-01 17:53:01 -08:00
  • 511a1b523e Eliminate extra gotos in common branch tail code (#528) maiko-250201-7fe0f706 maiko-250201-7d85a59e maiko-250201-55e20ea9 Nick Briggs 2025-01-30 11:07:29 -08:00
  • 04f9905ca0 Fix MacOS SDL build in buildRelease github workflow (#527) Frank Halasz 2025-01-29 08:51:47 -08:00
  • e61d0f2e6c Correct {DSK} versioned file cache failures (#526) maiko-250128-9628bb1b maiko-250126-e61d0f2e Nick Briggs 2025-01-26 18:38:25 -08:00
  • 3c4d9f5393 Modifies LISPFINISH subr to use 2nd argument, if present, for exit status (#525) Nick Briggs 2025-01-20 12:24:44 -08:00
  • 31bb14b9d7 Modifies Lisp exit subr to permit passing an exit status code (#524) Nick Briggs 2025-01-16 09:57:01 -08:00
  • f23a43f1a0 Merge pull request #522 from Interlisp/nhb-dspbout-and-showdisplay Nick Briggs 2024-12-22 14:10:37 -08:00
  • e251f26816 Improves behavior of display subrs DSPBOUT and SHOWDISPLAY Nick Briggs 2024-12-18 12:40:29 -08:00
  • 51045b402f Merge pull request #521 from Interlisp/nhb-print-maiko-git-version Nick Briggs 2024-12-17 11:22:43 -08:00
  • e6c972a62a Merge pull request #520 from Interlisp/nhb-shadowed-timer-option Nick Briggs 2024-12-17 11:22:20 -08:00