initial import from eudora.com

This commit is contained in:
William Anderson
2018-05-23 10:59:15 +01:00
parent b4c5343c84
commit 86bca26a49
1428 changed files with 1290 additions and 14 deletions
+5
View File
@@ -0,0 +1,5 @@
.AppleDouble
.DS_Store
*.swp
~$*
._*
Executable
View File
Executable
View File
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
#include "EudoraTypes.r"
+1
View File
@@ -0,0 +1 @@
#include "EudoraTypes.r"
+1
View File
@@ -0,0 +1 @@
#include "EudoraTypes.r"
+1
View File
@@ -0,0 +1 @@
#include "Types.r"
+1
View File
File diff suppressed because one or more lines are too long
Executable
+1
View File
@@ -0,0 +1 @@
# creates dlgx and alrx resources from a file containing derezed DLOGs and ALRTs
+1
View File
@@ -0,0 +1 @@
perl -x "{0}" {"parameters"} ; exit
+1
View File
@@ -0,0 +1 @@
perl -x "{0}" {"parameters"} ; exit
+1
View File
@@ -0,0 +1 @@
open(REZ,">$ARGV[0].strn") || die "$rez";
+1
View File
@@ -0,0 +1 @@
Perl -x "{0}" {"parameters"} ; exit
+1
View File
@@ -0,0 +1 @@
# creates PICT resource from a list of names
Executable
+1
View File
@@ -0,0 +1 @@
open (RFILE,">acap.r") || die;
+1
View File
@@ -0,0 +1 @@
#
+1
View File
@@ -0,0 +1 @@
search '#define FILE_NUM' Å.c | perl -x "{0}" {"Parameters"}
+1
View File
@@ -0,0 +1 @@
$hfile = ":include:prefdefs.h";
Executable
+1
View File
@@ -0,0 +1 @@
#!/usr/local/bin/perl
+1
View File
File diff suppressed because one or more lines are too long
Executable
+1
View File
@@ -0,0 +1 @@
#!/usr/local/bin/perl
Executable
+1
View File
@@ -0,0 +1 @@
#!/usr/local/bin/perl
+1
View File
@@ -0,0 +1 @@
open(SRC,"<$ARGV[0]") || die;
+1
View File
@@ -0,0 +1 @@
#define TARGET_API_MAC_CARBON 1
BIN
View File
Binary file not shown.
Executable
+1
View File
File diff suppressed because one or more lines are too long
View File
Executable
+1
View File
@@ -0,0 +1 @@
Rob Alexander
Executable
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Computer History Museum nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Program: Default driver linkage * * Author: Mark Crispin * Networks and Distributed Computing * Computing & Communications * University of Washington * Administration Building, AG-44 * Seattle, WA 98195 * Internet: MRC@CAC.Washington.EDU * * Date: 13 June 1995 * Last Edited: 7 October 1996 * * Copyright 1994 by the University of Washington * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appears in all copies and that both the * above copyright notice and this permission notice appear in supporting * documentation, and that the name of the University of Washington not be * used in advertising or publicity pertaining to distribution of the software * without specific, written prior permission. This software is made available * "as is", and * THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, * WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN * NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL, * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT * (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * */ mail_link (&imapdriver); /* link in the imap driver */ auth_link (&auth_log); /* link in the log authenticator */
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Computer History Museum nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Program: Mac newline routines * * Author: Mark Crispin * 6158 Lariat Loop NE * Bainbridge Island, WA 98110-2098 * Internet: MRC@Panda.COM * * Date: 26 January 1992 * Last Edited: 6 April 1996 * * Copyright 1996 by Mark Crispin * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appears in all copies and that both the * above copyright notices and this permission notice appear in supporting * documentation, and that the name of Mark Crispin not be used in advertising * or publicity pertaining to distribution of the software without specific, * written prior permission. This software is made available "as is", and * MARK CRISPIN DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO * THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN NO EVENT SHALL * MARK CRISPIN BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, * WHETHER IN AN ACTION OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF * THIS SOFTWARE. * */ /* Copy string with CRLF newlines * Accepts: destination string * pointer to size of destination string buffer * source string * length of source string * Returns: length of copied string */ unsigned long strcrlfcpy (char **dst,unsigned long *dstl,char *src, unsigned long srcl) { long i,j; char c,*d = src; /* count number of CR's in source string(s) */ for (i = srcl,j = 0; j < srcl; j++) if (*d++ == '\015') i++; /* flush destination buffer if too small */ if (*dst && (i > *dstl)) fs_give ((void **) dst); if (!*dst) { /* make a new buffer if needed */ *dst = (char *) fs_get ((*dstl = i) + 1); if (dstl) *dstl = i; /* return new buffer length to main program */ } d = *dst; /* destination string */ while (srcl--) { /* copy strings */ c = *d++ = *src++; /* copy character */ /* append line feed to bare CR */ if ((c == '\015') && (*src != '\012')) *d++ = '\012'; } *d = '\0'; /* tie off destination */ return d - *dst; /* return length */ } /* Length of string after strcrlfcpy applied * Accepts: source string * Returns: length of string */ unsigned long strcrlflen (STRING *s) { unsigned long pos = GETPOS (s); unsigned long i = SIZE (s); unsigned long j = i; while (j--) if ((SNX (s) == '\015') && ((CHR (s) != '\012') || !j)) i++; SETPOS (s,pos); /* restore old position */ return i; }
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Computer History Museum nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifdef IMAP /* * Program: Operating-system dependent routines -- Macintosh version * * Author: Mark Crispin * 6158 Lariat Loop NE * Bainbridge Island, WA 98110-2098 * Internet: MRC@Panda.COM * * Date: 26 January 1992 * Last Edited: 6 December 1995 * * Copyright 1995 by Mark Crispin * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appears in all copies and that both the * above copyright notices and this permission notice appear in supporting * documentation, and that the name of Mark Crispin not be used in advertising * or publicity pertaining to distribution of the software without specific, * written prior permission. This software is made available "as is", and * MARK CRISPIN DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO * THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN NO EVENT SHALL * MARK CRISPIN BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, * WHETHER IN AN ACTION OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF * THIS SOFTWARE. * */ /* This is a totally new operating-system dependent module for the Macintosh, * written using THINK C on my Mac PowerBook-100 in my free time. * Unlike earlier efforts, this version requires no external TCP library. It * also takes advantage of the Map panel in System 7 for the timezone. */ #define gmtFlags u #include "mail.h" #include "osdep.h" #include "misc.h" #pragma segment IMAP #include "fs_mac.c" #include "env_mac.c" #include "ftl_mac.c" #include "nl_mac.c" #include "auths.c" #endif //IMAP
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
View File
View File
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Computer History Museum nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * We're no longer using UPPs for PETE callbacks. (alb) */ /* UPP definitions for being called proc */ #define CallPETEHasBeenCalledProc(userRoutine, entry) \ (*(userRoutine))((entry)) /* UPP definitions for document change proc */ #define CallPETEDocHasChangedProc(userRoutine, ph, start, stop) \ (*(userRoutine))((ph), (start), (stop)) /* UPP definitions for set drag contents proc */ #define CallPETESetDragContentsProc(userRoutine, ph, theDragRef) \ (*(userRoutine))((ph), (theDragRef)) /* UPP definitions for get drag contents proc */ #define CallPETEGetDragContentsProc(userRoutine, ph, theText, theStyles, theParas, theDragRef, location) \ (*(userRoutine))((ph), (theText), (theStyles), (theParas), (theDragRef), (location)) /* UPP definitions for progress loop proc */ #define CallPETEProgressLoopProc(userRoutine) \ (*(userRoutine))() /* UPP definitions for graphic handler proc */ #define CallPETEGraphicHandlerProc(userRoutine, ph, graphic, offset, message, data) \ (*(userRoutine))((ph), (graphic), (offset), (message), (data)) /* UPP definitions for word-break proc */ #define CallPETEWordBreakProc(userRoutine, ph, offset, leadingEdge, startOffset, endOffset, ws, charType) \ (*(userRoutine))((ph), (offset), (leadingEdge), (startOffset), (endOffset), (ws), (charType)) /* UPP definitions for intelligent cut proc */ #define CallPETEIntelligentCutProc(userRoutine, ph, start, stop) \ (*(userRoutine))((ph), (start), (stop)) /* UPP definitions for intelligent paste proc */ #define CallPETEIntelligentPasteProc(userRoutine, ph, offset, textScrap, styleScrap, paraScrap, added) \ (*(userRoutine))((ph), (offset), (textScrap), (styleScrap), (paraScrap), (added))
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Computer History Museum nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "petepch.h" /* Check to see if the given text is all whitespace */ Boolean IsWhitespace(StringPtr theText, long textLen, ScriptCode script, WhiteInfoHandle whitespaceGlobals, long *leadWS) { Boolean doubleByte, whiteSpace; short entryNum, numEntries; char *table; StringPtr entry, textPtr; WhiteSpaceTablePtr wTable; unsigned char textChars[3]; if(leadWS != nil) { *leadWS = 0L; } if(textLen <= 0) { return false; } GetWhitespaceGlobals(whitespaceGlobals, script); doubleByte = (**whitespaceGlobals).doubleByte; table = &(**whitespaceGlobals).table[0]; wTable = ((WhiteSpaceTablePtr)(*(**whitespaceGlobals).itlHandle + (**whitespaceGlobals).offset)); numEntries = wTable->numEntries; whiteSpace = false; do { textPtr = textChars; *textPtr++ = 1; switch(*textPtr = *theText++) { case kSpaceChar : case kTabChar : case kCarriageReturnChar : case kPageDownChar : case kLineFeedChar : case kNullChar : whiteSpace = true; if(leadWS != nil) { ++*leadWS; } continue; default : ; } if(doubleByte && table[*textPtr++]) { *textPtr = *theText++; ++textChars[0]; } for(whiteSpace = false, entryNum = 0; !whiteSpace && (entryNum < numEntries); ++entryNum) { textPtr = textChars; entry = (StringPtr)wTable + wTable->offset[entryNum]; if((*entry++ == *textPtr++) && (*entry++ == *textPtr++) && ((textChars[0] == 1) || (*entry++ == *textPtr++))) { whiteSpace = true; if(leadWS != nil) { *leadWS += textChars[0]; } } } } while (((textLen -= textChars[0]) > 0L) && whiteSpace); return whiteSpace; } /* Search for the next tab in the text */ long FindNextTab(Ptr theText, long textLen, long lastTab, long *tabCount) { long textOffset; /* Start the search at past the last tab run */ textOffset = lastTab + *tabCount; /* Clear the tab count */ *tabCount = 0L; /* Make sure the offset is still within the text length */ if(textOffset < textLen) { while((textOffset < textLen) && (theText[textOffset] != kTabChar)) { ++textOffset; } if(textOffset == textLen) { textOffset = -1L; } else { /* A tab was found */ /* Count the number of tabs in this run */ do { ++*tabCount; } while((textOffset + *tabCount < textLen) && (theText[textOffset + *tabCount] == kTabChar)); } } else { textOffset = LONG_MAX; } return (textOffset >= 0L) ? textOffset : textLen; } Boolean FindNextFF(Ptr theText, long startOffset, long endOffset, long *ffLoc) { register Ptr text; register long start, end; for(text = theText, start = startOffset, end = endOffset; start < end; ++start) { if(*text++ == kPageDownChar) { *ffLoc = startOffset; return true; } } return false; }
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
/* Copyright (c) 2017, Computer History Museum All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Computer History Museum nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
#include <ConditionalMacros.h> #if TARGET_CPU_PPC #pragma precompile_target "PETEHeadersPPC" #else #if TARGET_RT_MAC_CFM #pragma precompile_target "PETEHeadersCFM68K" #else #pragma precompile_target "PETEHeaders68K" #endif TARGET_RT_MAC_CFM #endif TARGET_CPU_PPC #pragma once on #include "petepch.c"
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
#define TARGET_API_MAC_CARBON 1 #include <ConditionalMacros.h> /* // I don't want to take out all of the GENERATINGCFMs right now #undef GENERATINGCFM #define GENERATINGCFM 1 #undef PRAGMA_ALIGN_SUPPORTED #define PRAGMA_ALIGN_SUPPORTED 1 #undef GENERATING68K #define GENERATING68K 0 */ #pragma precompile_target "PETEHeadersCarbon" #pragma once on #include "petepch.c"

Some files were not shown because too many files have changed in this diff Show More