1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-03-03 10:05:22 +00:00

Commit Graph

  • 7b149c6316 Update notes on signal handlers. Commentary only, no functional change. Nick Briggs 2020-08-17 13:40:18 -07:00
  • f4024ab126 Implement foreground/background reversal for X displays on the (VIDEOCOLOR T) function, as it works on D-machines. Nick Briggs 2020-08-13 18:14:34 -07:00
  • fe32f6bf09 Remove trailing semicolon from LispNumToCInt macro definition so it can be used in value context. Add missing htonl/ntohl and htons/ntohs around IP address and port manipulation. Nick Briggs 2020-08-12 13:40:15 -07:00
  • 35498b971b Remove duplicate copyright notice. Nick Briggs 2020-08-11 18:45:09 -07:00
  • 6528ac38e3 Remove proprietary license from all files. The code is being re-licensed under the MIT license. Nick Briggs 2020-08-11 18:39:45 -07:00
  • 8c13508c07 Debug checks use printf() and therefore require <stdio.h> so include it if debug checks are on. Nick Briggs 2020-08-11 17:33:53 -07:00
  • 055a9522f8 Use "t" modifier in printf formats when printing pointer differences. Cast stack addresses to appropriate type when calling CHECK_BF and CHECK_FX. Nick Briggs 2020-08-11 17:31:34 -07:00
  • 34cde1a373 Cast to (FX *) when pointer into stack is being passed into check_FX and is expected to be a frame extension. stdio.h is required if stack debugging is enabled, include it always. Nick Briggs 2020-08-11 16:02:15 -07:00
  • 5d7e281aa6 Remove unused and incorrectly declared CIntToSmallp() function. Fix warning for "control may reach end of non-void function". Nick Briggs 2020-08-11 15:29:57 -07:00
  • aac75b633c Change error message printed when ldeether is unable to exec() lde to provide more information. Nick Briggs 2020-08-11 14:44:29 -07:00
  • 30bfeb3a43 WARN() macro is used in functions with and without return values so must not return in the macro. Fix llstk.c uses of WARN() to return when necessary. Nick Briggs 2020-08-11 14:09:19 -07:00
  • b2a8d11d9c Correct spelling of basicframe, which occurs only in gcmain3.c, no functional change. Nick Briggs 2020-08-11 12:10:52 -07:00
  • 881f21e9ce 16-bit constants with high bit set that are going to be shifted << 16 should be unsigned to avoid overflow warning. Remove some unnecessary 32-bit convenience constants that can be calculated at compile time. Nick Briggs 2020-08-10 17:50:54 -07:00
  • 395966b497 Merge branch 'master' of gitlab.com:nbriggs/maiko Nick Briggs 2020-08-04 19:28:41 -04:00
  • a4fdd8b27d Print a better message than "File not found" when the correct display program cannot be determined. Nick Briggs 2020-08-04 19:27:08 -04:00
  • 9821329ec0 Move SYSVONLY define from version.h to the individual makefiles for Linux Add makefile for Linux on x86_64 platforms Remove include <stropts.h> for Linux as modern systems have dropped this Adjust code to account for fcntl() vs ioctl() for generating signals on X I/O Adjust includes for time related include files for modern Linux systems Nick Briggs 2020-08-03 20:19:02 -07:00
  • 79ad101cc1 Update machinetype to recognize x86_64 machines Nick Briggs 2020-08-03 19:05:41 -07:00
  • 36d3575736 Prepare to ignore upcoming linux.x86_64 binary directories Nick Briggs 2020-08-03 19:04:24 -07:00
  • 06872ed2b1 Ignore sunos5 SPARC build directories and plain core files Nick Briggs 2020-07-26 20:46:30 -04:00
  • 6a47a7733c Provide prototypes for gcscan1/gcscan2 implemented in gcscan.c Nick Briggs 2020-07-26 20:42:34 -04:00
  • eaca0e1b72 If "my.h" is included "arith.h" is also required for N_ARITH_SWITCH macro definition. Nick Briggs 2020-07-26 20:40:54 -04:00
  • 832f76f56b Take NOETHER out of SunOS5 (Solaris) configuration so the network is accessible. Fix ldeether.c main program so that if NOETHER is present without removing the dlpi.o dependency it still links. Nick Briggs 2020-07-26 20:35:18 -04:00
  • a60e33bc17 Document options required for gcc and Developer Studio 12.6 C compilers Nick Briggs 2020-07-26 20:31:04 -04:00
  • 0ced73e7fa Clean up defines to better match x86 Solaris version where applicable Nick Briggs 2020-07-11 07:30:57 -07:00
  • 3ee93a8ab5 Add sunos5 related build directories to the .gitignore Nick Briggs 2020-07-16 20:47:39 -07:00
  • 2a79b5e782 Turn down the compiler warnings for normal builds on macOS Separate out the DEBUGFLAGS for compilation Add ldex to the default targets Nick Briggs 2020-07-16 20:41:50 -07:00
  • e74ca5795c Ensure that "cleanup" target removes ldex and ldeether executables as well as lde Nick Briggs 2020-07-16 16:43:21 -07:00
  • e03a513727 Add more debugging output when opcode tracing is enabled. Nick Briggs 2020-07-16 16:40:37 -07:00
  • a3a14577be Ensure that on Sun systems s_char type is signed char now that char is otherwise forced to be unsigned. Nick Briggs 2020-07-16 16:37:42 -07:00
  • bfd17d1ef5 More systems that need to include unistd.h Nick Briggs 2020-07-15 21:48:06 -07:00
  • aa4496943f Include header for time() for all appropriate systems Nick Briggs 2020-07-15 18:59:24 -07:00
  • 3bf5c3b720 vfork() is deprecated, use fork() instead. Nick Briggs 2020-07-15 15:30:31 -07:00
  • 3d828625df Remove special assembly optimization that was only applicable to SPARC systems. Nick Briggs 2020-07-15 15:01:00 -07:00
  • a6e09351d6 Turn off compiling for ethernet interface in SunOS5 by default until the rest of the system works Nick Briggs 2020-07-15 14:56:40 -07:00
  • c11f44d926 Add makefile section for SunOS5 (currently aimed at Solaris 10/11) on generic 386 The code compiles, but the emulator is not yet functional Nick Briggs 2020-07-15 14:32:23 -07:00
  • 9fc2752790 Changes necessary to compile for OS5 (Solaris 10/11) when -DSYSVONLY is removed from the compilation flags. Nick Briggs 2020-07-14 20:05:32 -07:00
  • 55e39453f5 Remove dependency on "externs.h" Add necessary forward declaration for savestr() Nick Briggs 2020-07-14 14:23:08 -07:00
  • 9772948e31 Change default to build 64-bit binaries for compatability with macOS Catalina and forward Nick Briggs 2020-07-13 19:19:51 -07:00
  • dfd73dee71 Merge branch 'master' of ssh://192.168.42.74/Users/briggs/Projects/maiko Nick Briggs 2020-07-10 00:23:16 -07:00
  • ffc8f06fc3 Solaris has moved from being SYSVONLY to not so. We still need sys/fcntl.h though. Nick Briggs 2020-07-12 18:10:24 -07:00
  • 13625a34e5 Merge branch 'master' of ssh://192.168.42.74/Users/briggs/Projects/maiko Nick Briggs 2020-07-10 00:17:19 -07:00
  • 82090e5c3d Go with the more BSD flavor of Solaris and don't redefine index/rindex/bcopy/etc Nick Briggs 2020-07-12 18:03:54 -07:00
  • 2f8789f423 Don't redefine MAXNAMLEN if it previously been defined by the system Nick Briggs 2020-07-12 18:02:06 -07:00
  • 3011fbba0b Merge branch 'master' of ssh://192.168.42.74/Users/briggs/Projects/maiko Nick Briggs 2020-07-09 23:14:38 -07:00
  • 123520adf8 define symbols are OS5/OS4 not SUNOS5/SUNOS4 Nick Briggs 2020-07-12 17:01:16 -07:00
  • 68eb8f9617 Merge branch 'master' of ssh://192.168.42.74/Users/briggs/Projects/maiko Nick Briggs 2020-07-09 22:41:20 -07:00
  • 6aa938d453 Relocate MAXNAMLEN definition to proper home in locfile.h Remove selection of SYSVONLY for macOS and FreeBSD compilation (they are BSD flavor) Nick Briggs 2020-07-12 16:04:11 -07:00
  • 46c3dc1991 Cleanup choice of valloc/malloc based on OS Nick Briggs 2020-07-12 15:59:25 -07:00
  • ada566091b Remove conflicting definition for time() Nick Briggs 2020-07-09 10:27:24 -07:00
  • b8c041f5ff Solaris (OS5) requires <string.h> Nick Briggs 2020-07-09 10:25:15 -07:00
  • 28f0087dfc Rewrite perrno() so as not to rely on global error message array, rather using sterror() Nick Briggs 2020-07-09 10:19:44 -07:00
  • 62b8f46405 Add forward declaration for get_packet() Nick Briggs 2020-07-09 10:16:41 -07:00
  • 311a359c3f Add include files necessary for SunOS5 (Solaris 11) compilation. Remove incorrect definition of malloc() Nick Briggs 2020-07-09 03:28:50 -07:00
  • 7eca23930b Correct FPtoVP table size error in BIGVM case Nick Briggs 2020-07-08 18:43:00 -07:00
  • ae5eea1a29 Reduce excessive sleep after waiting for a process to exit (1s -> 10us) Nick Briggs 2020-07-08 18:40:53 -07:00
  • 2563b05dc1 Change to default unsigned char for compilation. Possible after previous fixes to GETBYTE et al. Nick Briggs 2018-11-15 16:14:24 -08:00
  • ac6bef0fab GETBYTE macro returns value with signedness of char in BYTESWAP configurations but signedness of argument in non-BYTESWAP ones. Replace use of GETBYTE macro in Get_SBYTE_PCMAC[01] macros as we cannot rely on passing signed argument type to get signed result. Nick Briggs 2018-11-15 15:57:42 -08:00
  • 58c81a37b9 Add missing declaration/initialization of flushing flag required by DBPRINT from dbprint.h Nick Briggs 2018-11-15 15:33:43 -08:00
  • 4a01c6c74e Qualified void return declarations are prohibited (e.g., inline const void vs. inline void). Fix various asm() syntax errors with missing line continuations. Nick Briggs 2018-11-15 15:22:44 -08:00
  • f853f0e508 Fix problem in compare_lisp_chars where it incremented fat character pointer by the wrong size unit when comparing a fat pname to a fat string. Nick Briggs 2018-11-14 16:32:23 -08:00
  • 5111d42547 Treat GETBYTE() result as unsigned so it is comparable to the result of GETWORD when comparing fat and thin strings. Nick Briggs 2018-11-13 22:53:30 -08:00
  • 01c9d5f3c5 Update code for UNIX-GETPARAM for "MACH" and "ARCH" to recognize that a MacOS system is i386. Clean up nested #ifdef/#else/#endif directives that select a single case to use #elif defined(...) Nick Briggs 2018-05-07 10:58:43 -07:00
  • f85e43804a Tidy up the source to remove forward reference, remove dead code, fix formatting. Nick Briggs 2018-04-29 19:40:52 -07:00
  • f8a81c329d Correct preloading of Unix username into buffer on byte-swapped system. Correct potential memory smash if username exceeds allocated space. Nick Briggs 2018-04-23 16:56:12 -07:00
  • 1a8607d412 Correct calculation of the socklen_t length when bind-ing the AF_UNIX socket, as some systems have extra bytes in the sockaddr_un that weren't accounted for in the original calculation. Follow the POSIX spec instead. modified: src/unixcomm.c modified: src/unixfork.c Nick Briggs 2018-04-15 18:37:19 -07:00
  • 69796e34d7 More linux related fixups for string.h. Fix some type warnings. Nick Briggs 2018-03-27 10:39:23 -07:00
  • 8e99402729 Switch to clang as default compiler, show options needed for gcc in comment. Nick Briggs 2018-03-27 10:38:12 -07:00
  • 91745a1ec0 Pacify pedantic compilers that object to // comments in code claiming to be older standard Nick Briggs 2018-03-23 14:58:24 -07:00
  • 367deb7547 Correct off-by-one error copying C string to Lisp string Nick Briggs 2018-03-23 13:24:58 -07:00
  • cd940e4013 Remove unused variable tot_pages Nick Briggs 2018-03-23 13:21:03 -07:00
  • a7360fd23d ensure that object file directories used in the build exist Nick Briggs 2018-03-23 13:19:54 -07:00
  • 4342f86d50 cleanup should remove both tstsout.o and setsout.o Nick Briggs 2018-03-23 13:19:11 -07:00
  • 32651f2f10 Provide correct definition for gcreccell() in gc.h to avoid implicit function definition warnings in gcmain3.c Nick Briggs 2018-03-23 12:17:37 -07:00
  • 04ea2996e1 When ntend is non-zero it is already a native pointer, not a stack offset Nick Briggs 2018-03-23 12:12:55 -07:00
  • 89db040213 Remove unused variable temp. Nick Briggs 2017-11-22 17:09:39 -08:00
  • a0500627a1 Remove extraneous copy into destination sin_addr from a hostent structure when value may already have been set up, and hostent may be uninitialized. Nick Briggs 2017-07-28 17:52:48 -07:00
  • 9529248faa Fix warning for "result" may be used undefined. Nick Briggs 2017-07-28 17:35:14 -07:00
  • f328efcd55 Remove unused variables and labels. Nick Briggs 2017-07-20 17:14:59 -07:00
  • c6ed74d94b Remove unused variable. Nick Briggs 2017-07-18 19:02:25 -07:00
  • 55ffcb9066 Remove unused variables. Nick Briggs 2017-07-18 19:01:27 -07:00
  • ffff6ee267 Remove unused variable declarations. Nick Briggs 2017-07-18 19:00:36 -07:00
  • 1da1a2cf10 Fix formatting in comment. inc/lspglob.h Nick Briggs 2017-07-18 18:29:55 -07:00
  • 4e2a0bc6ed Fix format incompatabilities in dbgtool.c. Use %p for pointers. Nick Briggs 2017-07-18 14:56:40 -07:00
  • b6540a95ef Remove declarations for unused variables in xlspwin.c Nick Briggs 2017-07-16 11:15:23 -07:00
  • 8fa956e3fb Add commentary on the NIT packet filter. Nick Briggs 2017-07-05 16:44:48 -07:00
  • e22e45b8f6 include unistd.h for getpid/read/close in inet.c Nick Briggs 2017-07-04 15:12:43 -07:00
  • 415a2192de Add missing type specifiers which defaulted to 'int'. Nick Briggs 2017-07-04 14:12:01 -07:00
  • c06ba98144 Create bbtsub.h to declare functions defined in bbtsub.c Update files that depend on bbtsub functions to include bbtsub.h Declare as static all functions in bbtsub.c that are not needed externally. Add dependencies to makefile-tail. Nick Briggs 2017-07-03 15:25:07 -07:00
  • b6bd2ed29f Create storage.h to declare functions defined in storage.c Update files that depend on storage functions to include storage.h Declare as static all functions in storage.c that are not needed externally. Add dependencies to makefile-tail. Nick Briggs 2017-07-02 21:21:50 -07:00
  • 45a547e088 Add include for stdlib.h, reorder functions to avoid implicit function declaration error for imod64bit() Nick Briggs 2017-06-30 20:41:59 -07:00
  • cd437f0fc5 Update dependencies in makefile-tail for chardev.h and dspsubrs.h Nick Briggs 2017-06-30 20:37:21 -07:00
  • d0fac53d10 Fixups for functions defined by dspsubrs.c to dspsubrs.h. Update subr.c and gcr.c Nick Briggs 2017-06-30 20:31:53 -07:00
  • 3517321b20 Fixups for functions defined by chardev.c in chardev.h. Update subr.c Nick Briggs 2017-06-30 20:23:46 -07:00
  • 5d8c90cf18 Fix up for inc/ufs.h. Add return.c external functions to inc/return.h (previously only macros) and update makefile-tail and relevant files. Nick Briggs 2017-06-30 20:10:38 -07:00
  • 35b4ad4350 Fix ups for new llstk.h. Nick Briggs 2017-06-30 17:42:46 -07:00
  • b7b658e8d3 Create dir.h to declare functions defined in dir.c Update files that depend on dir functions to include dir.h Declare as static all functions in dir.c that are not needed externally. Add dependencies to makefile-tail. Nick Briggs 2017-06-30 15:47:16 -07:00
  • 693e2392ca Fix parameter types and format strings. Nick Briggs 2017-06-30 15:21:16 -07:00
  • 730ff30b86 Create unixfork.h to declare functions defined in unixfork.c Update files that depend on unixfork functions to include unixfork.h Declare as static all functions in unixfork.c that are not needed externally. Add dependencies to makefile-tail. Nick Briggs 2017-06-30 15:10:52 -07:00
  • 16583b3b53 Fix signature of qsort comparison function. Nick Briggs 2017-06-30 12:42:59 -07:00
  • 06cc0316a0 Fix implicit declarations of library functions due to missing include string.h. Nick Briggs 2017-06-30 12:33:41 -07:00