Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sun-barr!newstop!sun!imagen!atari!portal!portal!cup.portal.com!ts From: ts@cup.portal.com (Tim W Smith) Newsgroups: comp.sys.mac.programmer Subject: Re: Mac Source Code Control Systems and THINK C Message-ID: <28004@cup.portal.com> Date: 18 Mar 90 09:54:19 GMT References: <8461@natinst.natinst.com> Organization: The Portal System (TM) Lines: 39 Here's what I would like to see Think C do: 1. When a file is opened ( either by the editor, or because the compiler needs to read it ), Think C would look for a resource of type 'SCCS'. 2. The 'SCCS' resource would contain a function that Think C would call, passing in the name of the file. The 'SCCS' resource would return a file name that Think C would open to get the contents of the file. 3. Think C would remember in the project file both the original file name and the name returned by the 'SCCS' code. It only does the name translation when a file is first opened. 4. There would be an item under the File menu that causes Think C to invoke the 'SCCS' code with an argument indicating that the file has been updated and the changes are to saved. 5. The 'SCCS' resource would normally be in the project file, although Think C would look first in the source file. I haven't worked out all the details of the above. The basic idea is for Think C to NOT know about the details of source code control. This is up the the author of the 'SCCS' resource. Third parties could write 'SCCS' resources that understand particular source code control systems. For example, if one of your source files was on your Unix machine, which is connected to your Mac by a serial port, you could have a dummy source file on the Mac that contains an 'SCCS' resource that knows how to login to the Unix machine, "get" the file, and download the "get"ed file to the Mac. This also would have a big advantage for Symantec. Source code control systems are like editors: the one I use is great; the one you use sucks! This way, if you don't like the source code control Think provides, use another one! Tim Smith