1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-14 15:35:00 +00:00

Commit Graph

  • 3a4a94344a Merge branch 'master' into nhb-pcap-ethernet nhb-pcap-ethernet Nick Briggs 2026-03-19 17:06:05 -07:00
  • 9259716e9a Merge pull request #544 from Interlisp/fgh_redo-linux-makefiles master maiko-260319-9259716e Nick Briggs 2026-03-19 14:47:23 -07:00
  • 519c13891b Fixes missing quoting for sh -c Nick Briggs 2026-03-19 12:33:02 -07:00
  • ee21e482a7 Invoke "command" with /bin/sh -c from makefile to avoid not-found errors Nick Briggs 2026-03-19 11:16:16 -07:00
  • bbe011c583 Take geminis suggestion on getting glibc version number in linux-common.mk Frank Halasz 2026-03-18 01:27:16 -07:00
  • 54c81a3762 Fixed comment in linux-compiler.mk Frank Halasz 2026-03-18 01:15:21 -07:00
  • 6c20a5c635 Fixed comment in linux-compiler.mk Frank Halasz 2026-03-18 01:03:32 -07:00
  • 1195048b1b Ooops. Took out debugging code. Frank Halasz 2026-03-18 00:51:03 -07:00
  • 7a286a8f1f Fix sed script in linux-common.mk Frank Halasz 2026-03-18 00:50:14 -07:00
  • 034c52b86f In CMakelists, limit use of libbsd for linux to cases where libc does not include strlcat Frank Halasz 2026-03-18 00:25:28 -07:00
  • a26cafcbda Change USE_GCC=T/USE_CLANG=T to USE_COMPILER=clang/gcc for linux-y makefiles Frank Halasz 2026-03-18 00:01:24 -07:00
  • c6f3ba4305 Including all suggestions made by Gemeni code check. Now includes linking to libbsd (if requested) only if glibc < version 2.38 since glibc >= 2.38 includes strlcat and friends. fgh_makefile-consolidation Frank Halasz 2026-03-17 23:02:12 -07:00
  • 3430574f61 More updates to github actions to account for deprecation of Node 20. Frank Halasz 2026-03-14 20:43:13 -07:00
  • 07e009cf08 Update github actions to latest versions to account for deprecation of node 20. Frank Halasz 2026-03-14 19:37:40 -07:00
  • 25654fa090 For Linux makefiles, automated selection of gcc versus clang compiler depending on whats installed. Refactored Linux makefiles to simplify top level makefiles with slightly more complicated common makefiles. Makefiles for Cygwin and WSL1 all rewritten to use the common linux makefiles code. Frank Halasz 2026-03-13 23:51:50 -07:00
  • b63928785d Create .skip file for HCFILES process lmm-hcfiles-submodule Larry Masinter 2026-03-10 15:29:28 -07:00
  • da4e06c697 update .gitignore for maiko as subproject lmm32-gitignore-for-subproject-maiko Larry Masinter 2026-03-10 14:08:11 -07:00
  • dadbef47bf Add pkgconf package to things loaded into the Builder Docker image to be used by libbsd changes to linux makefiles fgh_libbsd Frank Halasz 2026-03-09 20:43:02 -07:00
  • 41cad3e499 Update all makefiles for linux to use (by include) a common base makefile as well as common makefiles for X and sdl. These included makefiles have the name linux-*.mk. Updated all linux makefiles to use the libbsd-overlay package, using pkg-config to set the appropriate flags. Updated CMakelists to also use the libbsd-overlay package via pkgconfig for Linux only. Finally added install targets to the CMakelists file so that cmake --install . will place the lde binaries into the appropriate directory in maiko as the makefiles currently do. Frank Halasz 2026-03-09 18:11:23 -07:00
  • fcbcb2c6b8 Updating all linux makefiles to use the libbsd-overlay scheme properly Frank Halasz 2026-03-09 00:45:09 -07:00
  • f4021ef268 Move builder image back to 22.04 so that exe's that we build can run on systems with glibc <2.38 (e.g., Ubuntu 22.04 and Debian 12). Frank Halasz 2026-03-01 03:21:04 -08:00
  • e130b0fcb7 Merge remote-tracking branch 'origin/nhb-linux-build-with-libbsd' into fgh_libbsd Frank Halasz 2026-03-01 03:16:32 -08:00
  • 97b84d4117 Add libbsd to ld library search for all makefile-linux* and makefile-init-linux*. Add libbsd to MAIKO_LIBRARIES (where appropriate) in CMakeLists.txt. This will support building maiko on Ubuntu 22.04 and Debian 12, where strlcat is found only in libbsd. For Ubuntu 24.04 and beyond and Debian 13 and beyond, strlcat is now in glibc (>2.38). Frank Halasz 2026-03-01 03:00:08 -08:00
  • c821a73ed4 Updates build environment to Ubuntu Linux 24.04 Nick Briggs 2026-02-20 15:52:29 -08:00
  • 5432d73819 Adds generation of SIGIO on X11 connection if O_ASYNC defined Nick Briggs 2025-12-11 09:18:40 -08:00
  • a074c4a3c0 Adds required include of <string.h> for strncpy in non-BYTESWAP compilations. Nick Briggs 2025-12-07 21:11:39 -08:00
  • cdaa7b6889 Cleans up the interrupt state structure to match Lisp naming Nick Briggs 2025-12-07 18:39:59 -08:00
  • eedc8a504a Uses endian independent structure layouts to access returned ethernet packet length field Nick Briggs 2025-10-30 13:45:34 -07:00
  • d791b1d332 Merge pull request #533 from Interlisp/nhb-rewrite-version-parser-v2 maiko-260301-f4021ef2 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