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

Commit Graph

  • 2f0aa254aa Create dsk.h to declare functions defined in dsk.c Update files that depend on dsk functions to include dsk.h Declare as static all functions in dsk.c that are not needed externally. Add dependencies to makefile. Nick Briggs 2017-06-30 11:53:55 -07:00
  • 0371f19167 Create conspage.h to declare functions defined in conspage.c Update files that depend on conspage functions to include conspage.h Declare as static all functions in conspage.c that are not needed externally. Add dependencies to makefile. Nick Briggs 2017-06-29 22:33:35 -07:00
  • d450521ffd Reformat cell.h Nick Briggs 2017-06-29 22:31:11 -07:00
  • cfd0711a73 Create car-cdr.h to declare functions defined in car-cdr.c Update files that depend on car-cdr functions to include car-cdr.h. Add dependencies to makefile. Nick Briggs 2017-06-29 22:24:33 -07:00
  • 7c9b9d22c6 Create uraid.h to declare functions defined in uraid.c. Update files that depend on these uraid functions to include uraid.h. Add dependencies to makefile. Nick Briggs 2017-06-29 18:27:28 -07:00
  • 0445e61fde Add prototypes for flush_display_region...() to display.h Correct declared argument types in flush_display_region...() to match usage. Nick Briggs 2017-06-26 21:33:03 -07:00
  • 5a520095c2 MacOS doesn't have stime() even though it has many SysV features Nick Briggs 2017-06-26 21:32:30 -07:00
  • 913a45daf7 Add include unistd.h to various files that need it. Nick Briggs 2017-06-26 21:31:23 -07:00
  • 7c1e783509 fix missing return type on fork_Unix. Declare time() -- where does it really come from? Nick Briggs 2017-06-26 21:29:39 -07:00
  • f319f2edd4 MacOS and FreeBSD (at least on x86) support unaligned fetch. Clean up (re)definition of getrusage/getpagesize/getwd for POSIX systems" Nick Briggs 2017-06-26 21:27:37 -07:00
  • 1d818f1ec9 Don't declare getenv explicitly in inc/lispemul.h Nick Briggs 2017-06-26 21:24:37 -07:00
  • 67ce5bf714 Add makefile for init on (MacOS) x86 system. Ignore the init.386 directory that "makeright init" will write to. Nick Briggs 2017-06-25 18:28:39 -07:00
  • e84246e1a8 Clean up compiler options, use gcc89 standard. Remove extraneous dependencies for assembler optimized code in dispatch Nick Briggs 2017-06-25 18:22:59 -07:00
  • a0edc850bb Clean up variable setting -- we're running with /bin/sh (not csh) so don't use "set var = value". Nick Briggs 2017-06-25 18:20:14 -07:00
  • 1867f69be9 Use | instead of + when or-ing shifted partial words to encourage compiler to use roll instruction on x86 Nick Briggs 2017-06-25 18:13:09 -07:00
  • cef5b57a9d Correct spelling of ...visible (was ...vissible) in all source files. Nick Briggs 2017-06-22 23:32:22 -07:00
  • afb6ae3397 Remove junk file hasbcopy. Nick Briggs 2017-06-22 19:13:18 -07:00
  • 91dc1d7410 Fix some files with CRLF (DOS) line endings to have LF (Unix). Nick Briggs 2017-06-22 19:09:55 -07:00
  • 5481a14812 Replace all K&R style function definitions with new-style function definitions. Add some missing default function result types (int). Add some missing void result types where appropriate. Nick Briggs 2017-06-22 17:31:40 -07:00
  • b578b38c78 Include unistd.h for lseek() and friends. Convert from K&R style function definition. Nick Briggs 2017-06-21 17:58:22 -07:00
  • f4c3e56a82 Reduce verbosity of opcode tracing so that trace files are more manageable size. Nick Briggs 2017-06-14 18:06:04 -07:00
  • 97d4ba3a0e Announce uRaid entry on stderr in case stdout has been redirected to collect trace output. Also fflush() stdout & stderr so that we see any buffered output when we enter. Nick Briggs 2017-06-14 18:03:35 -07:00
  • ac43bc3755 DBPRINT macro does not accept a FILE* as an argument. It expands to printf(). Nick Briggs 2017-06-14 17:59:59 -07:00
  • e360a64c42 Have "a" (GETTOPVAL) and "d" (GETDEFCELL) commands announce the atom index of the atom they are working on. Nick Briggs 2017-06-14 17:58:20 -07:00
  • ef3fbc29fc Add extern declaration for "flushing", a flag to enable/disable calls to fflush(stdout) after each call to printf() in the debug/tracing code. Too frequent calls slow things down. Nick Briggs 2017-06-14 17:53:13 -07:00
  • 467d33d913 makefile cleanup target should also remove lde executable. Nick Briggs 2017-06-09 14:08:39 -07:00
  • 8d42e7791f Merge branch 'freebsd' Nick Briggs 2017-06-08 11:23:40 -07:00
  • 208bce9b40 Use unsigned instead of int where, on modern systems, socklen_t would be appropriate. Nick Briggs 2017-06-08 11:21:23 -07:00
  • eae092e02b Initialize keystring as empty string. Declare help string as const. Print the helpstring through a %s format rather than using it directly. Don't bother to check the address of allocated keystring for NULL. Nick Briggs 2017-06-08 08:46:54 -07:00
  • 224e6478bd Fix warning for comment within comment. Nick Briggs 2017-06-08 08:24:41 -07:00
  • 04b0b3ee0b Add new include file xscroll.h defining the Scroll functions implemented in xscroll.c and used in xwinman.c Update function declarations from K&R style to new style. Fix incorrect argument counts for some procedure calls. Nick Briggs 2017-06-07 23:53:03 -07:00
  • 9ea244b927 Use correct type (unsigned) for message length. Nick Briggs 2017-06-07 21:21:15 -07:00
  • 2c3fb229d1 Add braces to suppress dangling else warning. Nick Briggs 2017-06-07 20:54:52 -07:00
  • 3d47027d31 Clean up error message for case where sysout is not integral number of pages. Correct format string (%lx) for size of argument (long). Nick Briggs 2017-06-07 20:50:30 -07:00
  • ce13dce279 Convert 0x%x to %p where appropriate. Nick Briggs 2017-06-07 20:40:43 -07:00
  • 6595e9f7b1 Add braces to suppress dangling else warning. Nick Briggs 2017-06-07 20:39:27 -07:00
  • 25b0a24e3f Convert from K&R style parameter declaration to modern. Nick Briggs 2017-06-07 20:18:47 -07:00
  • 154d07edce Remove unused argument from printf(). Nick Briggs 2017-06-07 20:11:57 -07:00
  • 1b7a7fc6fc Correct format strings and arguments. Nick Briggs 2017-06-07 20:09:11 -07:00
  • f4f9118a7c Add casts to match calculations to format specifier. Nick Briggs 2017-06-07 20:03:31 -07:00
  • 4fe917e2d8 Fix unsequenced modification and access to 'addr' Fix incorrect format string for type, replacing 0x%x with %p. Nick Briggs 2017-06-07 19:59:00 -07:00
  • 9510746af4 Add comment regarding return from NewEntry macro. Nick Briggs 2017-06-07 19:57:40 -07:00
  • 409f1f5987 Add missing comment closing delimiter to suppress warning for nested comments. Nick Briggs 2017-06-07 18:37:15 -07:00
  • e2264ff1f9 Add braces to suppress warning for dangling else clause. Nick Briggs 2017-06-07 18:33:53 -07:00
  • 0dc8820060 Add "l" qualifiers to printf format strings for long types. Nick Briggs 2017-06-07 17:51:48 -07:00
  • de2ae84bfc Explicitly cast cursor bitmap to char * to match XCreatePixmapFromBitmapData Nick Briggs 2017-06-07 17:42:50 -07:00
  • 118a3e7750 Correct signedness of window parameters used in XParseGeometry. Signed x, y, Unsigned width, height. Nick Briggs 2017-06-07 17:19:02 -07:00
  • 1dadac1888 Clean up types (long unsigned int => unsigned long). Add "l" qualifiers to printf format strings for long types. Rewrite input string handling in keymaker.c to get rid of unsafe gets(). Nick Briggs 2017-06-07 16:58:45 -07:00
  • ac563a69f3 Replace 0x%x with %p for pointer output in error messages. %p arrived in C89. Nick Briggs 2017-06-07 14:33:31 -07:00
  • 4eaf562a8a Add parentheses to correct interpretation of word-alignment check due to operator precedence confusion. Nick Briggs 2017-06-07 14:21:10 -07:00
  • cea2223dae Convert to modern parameter declaration style. Nick Briggs 2017-06-07 12:08:23 -07:00
  • 24d210f8d3 Initialize various X structures to 0 as not all fields are explicitly set. Remove PPosition from size hints as we don't set position. Nick Briggs 2017-06-07 12:07:23 -07:00
  • b647f69497 Add missing include stdio.h, only required if DEBUG or TRACE is defined, but doesn't hurt. Nick Briggs 2017-06-07 12:03:28 -07:00
  • b033302d2a Remove duplicate #defines for items that are in display.h Nick Briggs 2017-06-07 12:00:08 -07:00
  • 06b9d1fc1f Reformat at width=120, seems to work better for initialization tables. Nick Briggs 2017-06-06 17:25:11 -07:00
  • b6c93b9039 Reformat XKeymap.h Nick Briggs 2017-06-06 16:25:12 -07:00
  • 9f01c92438 Fix erroneous assignment instead of comparison in if-expression. Nick Briggs 2017-05-29 12:13:35 -07:00
  • 9911a80bef Fix warning for /* within comment block Nick Briggs 2017-05-29 11:57:59 -07:00
  • 193d1ce6c2 Handle missing sysout name as intended. Nick Briggs 2017-05-29 11:52:26 -07:00
  • fac5b4d4b0 References to 'isfinite()' require #include <math.h> Nick Briggs 2017-05-28 21:42:38 -07:00
  • 203d02caed Correct unsequenced modification and access to 'base' Nick Briggs 2017-05-28 21:38:51 -07:00
  • fe2014d064 Prefer non-deprecated isfinite() over finite() for FP result check. Nick Briggs 2017-05-28 19:47:30 -07:00
  • e08d3ce887 Wrap assignments used as if-condition in parens to suppress warning. Nick Briggs 2017-05-28 19:46:39 -07:00
  • eb4337fdc2 Restore signal handler setup. Nick Briggs 2017-05-28 19:38:08 -07:00
  • a6f00921ca condition and increment reversed in for-loop. Nick Briggs 2017-05-28 19:35:13 -07:00
  • 349b2566da Fix UDP send case to handle errors correctly whether BYTESWAP is defined or not (like TCP send) Nick Briggs 2017-05-28 19:29:59 -07:00
  • 156c3292f8 Reformat all C source files with Clang-format in Google style w/ 100 col width. Nick Briggs 2017-05-28 18:08:18 -07:00
  • 691645d048 Fix missing return types on functions, convert some functions with always ignored results to void. Nick Briggs 2017-05-28 15:08:42 -07:00
  • 65ddb5a968 Add force flag to cleanup rm command, not everything may be present when we clean up. Nick Briggs 2017-05-28 15:06:28 -07:00
  • cb285809a1 Add -Wall to default compiler options on FreeBSD. Nick Briggs 2017-05-28 15:05:51 -07:00
  • 0272578b69 Ignore *.core files Nick Briggs 2017-05-28 14:53:02 -07:00
  • ce2fa3a119 Cleanup warnings for missing/wrong include files Nick Briggs 2017-05-25 15:48:08 -07:00
  • e859670886 correct signal handler type for MacOS and FreeBSD int_timer_service. Nick Briggs 2017-05-25 13:10:43 -07:00
  • a8fe2094fe FreeBSD now uses dirent.h rather than sys/dir.h Nick Briggs 2017-05-25 13:09:39 -07:00
  • 02569edbe0 First cleanup to get to compiling (warnings, no errors) FreeBSD Nick Briggs 2017-05-25 12:51:47 -07:00
  • be2101ac49 FreeBSD has just plain <termios.h> Nick Briggs 2017-05-24 21:00:10 -07:00
  • 4e6bbcbc1d Use C-style comments only. Nick Briggs 2017-05-24 19:19:34 -07:00
  • 60374cf5cb Ignore FreeBSD build directories Nick Briggs 2017-05-24 19:16:06 -07:00
  • e311f51fdb FreeBSD behaves similarly to MacOS for tcgetattr/tcsetattr Nick Briggs 2017-05-24 19:15:12 -07:00
  • 15d00637fd Correct return type of lcfuncall to LispPTR. Remove call to DOSTACKOVERFLOW which can't be called in function that is not void return type. Nick Briggs 2017-05-24 18:09:21 -07:00
  • 8adfe96bd2 Add check for defined(WAITINT) to control whether wait status is int * for cases where SYSVONLY isn't appropriate Nick Briggs 2017-05-24 18:02:35 -07:00
  • 0557f1a4cd Reformat with clang-format to improve readability. Add forward declaration for ccfuncall changing to void type. Change bitbltsub return type to void to be consistent with usage. Change bltchar return type to void to be consistent with usage. Change newbltchar return type to void to be consistent with usage. XXX: alternative version not updated yet. Change tedit_bltchar return type to void to be consistent with usage. Nick Briggs 2017-05-24 17:48:23 -07:00
  • 254193baab Add missing void declaration. Nick Briggs 2017-05-24 17:32:41 -07:00
  • 08227e1ea2 Add missing void declaration. Nick Briggs 2017-05-24 17:31:13 -07:00
  • 05c508f879 Add missing void declaration. Remove extraneous return() values in void functions. Nick Briggs 2017-05-24 17:30:39 -07:00
  • 5856367d22 Add missing void declaration. Nick Briggs 2017-05-24 17:29:50 -07:00
  • d5ece9ccd5 Add missing void declaration. Nick Briggs 2017-05-24 17:29:28 -07:00
  • 32ebf5c823 Rearrange code to avoid forward references. Add missing void declarations. Add missing parentheses around macro parameter uses. Nick Briggs 2017-05-24 17:29:03 -07:00
  • e5dbbe0f12 Add missing void declaration. Nick Briggs 2017-05-24 17:26:12 -07:00
  • b636b2ad45 Rearrange code to avoid forward references. Add missing void declarations. Nick Briggs 2017-05-24 17:25:43 -07:00
  • 1cc7617978 Add missing return type. Nick Briggs 2017-05-24 17:24:11 -07:00
  • 569d1187d6 Rearrange code to avoid forward references. Add missing void declarations. Add parentheses to suppress warning for use of assignment in if-condition. Nick Briggs 2017-05-24 17:23:34 -07:00
  • ba246fa721 Add parens to suppress warning about use of assignment in if-condition Nick Briggs 2017-05-24 17:22:03 -07:00
  • 72c8cd14af MacOS and FreeBSD have similar configurations, define WAITINT because status uses int status now. Nick Briggs 2017-05-24 17:20:23 -07:00
  • 5412639397 Initial version of makefile middle for FreeBSD on 386 with X windows. Nick Briggs 2017-05-24 17:18:58 -07:00
  • 7ef083b39b Remove unnecessary AIX define from MacOS version define. Nick Briggs 2017-05-24 17:18:05 -07:00
  • 115a7d9756 Add missing void declarations. Nick Briggs 2017-05-24 15:40:44 -07:00
  • 5595f8e4b0 Add missing void declarations. Rearrange code to avoid forward references Nick Briggs 2017-05-24 15:40:30 -07:00
  • 27dc6eb849 Add missing void declarations. Rearrange code to avoid forward references Nick Briggs 2017-05-24 15:40:03 -07:00
  • 28887f01c8 Add missing argument in trim_finfo_highest() call. Nick Briggs 2017-05-24 15:38:02 -07:00