Author Topic: Source code tools  (Read 4035 times)

Offline cluster_fsck

  • Newcomer
  • Posts: 4
  • New Member
Source code tools
« on: May 29, 2022, 01:15:56 PM »
I'm starting to develop some new projects and attempting to do all the coding on my old 7100/80. My projects will be Carbon apps, mainly because the Carbon Event Manager is so much cleaner than the old WaitNextEvent model. What I can't remember, and cannot locate, are any reasonable source code management clients for Mac OS 8 or 9. Obviously, git is out of the question but I had been hoping for a Subversion client but can't seem to locate one -- does anyone know of one? If I have to use old-school CVS, I'll do that, but hate it. Any ideas? Thanks!

Offline Jubadub

  • Gold Member
  • *****
  • Posts: 326
  • New Member
Re: Source code tools
« Reply #1 on: May 30, 2022, 11:24:06 AM »
I didn't try it out, but I saw a feature like that, built-in on CodeWarrior, I think version Pro 8 (8.3 update), which was the latest version of CodeWarrior to run on the original Mac OS.

There are some more apps that offer this kinda thing (version control), but I completely forgot their names. If you slowly dig through the Macintosh Garden website, you will find a few of them: http://macintoshgarden.org/

Also, if you feel really crazy, maybe you can install git on Power Machten... This thing is great with OS 9, but without enough UNIX knowledge (like my case), there's a lot to learn to enjoy it properly...

Offline cluster_fsck

  • Newcomer
  • Posts: 4
  • New Member
Re: Source code tools
« Reply #2 on: May 30, 2022, 02:06:54 PM »
Thanks! I just applied all the CW updaters to get it to 8.3, so will poke around some there. I did a quick trawl through Macintosh Repository, but will go through the garden as well. Like I said, I don’t recall anything except CVS clients for classic Mac OS and I loathe CVS so.

Now, of course I’m thinking “well, if there’s a C library for Subversion maybe I just write a quick and dirty client” and this sounds like a disaster.

Offline Jubadub

  • Gold Member
  • *****
  • Posts: 326
  • New Member
Re: Source code tools
« Reply #3 on: May 30, 2022, 02:22:13 PM »
The Macintosh Repository is basically a subset of the Garden, using scraping bots or similar, but it doesn't do a perfect or complete job, so you might find more software in the Garden. Of course, some people only know of the former (they are more visible/easy to find), which sometimes leads to a small number of things being found only there, so it's good to check both places just in case.

Whatever you figure out for versioning and such, do let us know. I, too, would also like to look into some options at some point. :)

Offline Jubadub

  • Gold Member
  • *****
  • Posts: 326
  • New Member
Re: Source code tools
« Reply #4 on: May 31, 2022, 04:03:26 PM »
Found SourceServer 3.4.2 in these discs: http://macintoshgarden.org/apps/adc-student-program-tools-sampler-cd-rom-set-1999

Docs say can be used with CodeWarrior, too.

Seems like an old Apple tool that got lots of updates over time. Might be worth a look?

Offline cluster_fsck

  • Newcomer
  • Posts: 4
  • New Member
Re: Source code tools
« Reply #5 on: May 31, 2022, 05:46:48 PM »
Found SourceServer 3.4.2 in these discs: http://macintoshgarden.org/apps/adc-student-program-tools-sampler-cd-rom-set-1999

Docs say can be used with CodeWarrior, too.

Seems like an old Apple tool that got lots of updates over time. Might be worth a look?

Amazing find -- d/l'ing now!

Offline Jubadub

  • Gold Member
  • *****
  • Posts: 326
  • New Member
Re: Source code tools
« Reply #6 on: June 01, 2022, 01:51:44 AM »
It seems you can use Git with MacRelix, directly in OS 9. (No MachTen needed.)

https://www.metamage.com/

Guy was not pleased using older CodeWarrior versions in the '90s alongside CVS, apparently:

https://www.metamage.com/text/relix/origins.html

Looks like this MetaMage website has other cool tools, too, but I didn't try them.

Offline nanopico

  • Moderator
  • Platinum Member
  • *****
  • Posts: 767
Re: Source code tools
« Reply #7 on: June 01, 2022, 07:59:13 AM »
Found SourceServer 3.4.2 in these discs: http://macintoshgarden.org/apps/adc-student-program-tools-sampler-cd-rom-set-1999

Docs say can be used with CodeWarrior, too.

Seems like an old Apple tool that got lots of updates over time. Might be worth a look?

That was part of MPW.  I've used it a little and it fit my need for what little use it was too me.
If you do find something better please share as I would definitely be interested in that.
If it ain't broke, don't fix it, or break it so you can fix it!

Offline teroyk

  • Platinum Member
  • *****
  • Posts: 623
  • -
Re: Source code tools
« Reply #8 on: June 01, 2022, 08:00:42 AM »
Guy was not pleased using older CodeWarrior versions in the '90s alongside CVS, apparently:
https://www.metamage.com/text/relix/origins.html

I think he speaks older Code Warriors, because speaks C and Pascal. And last Core Warrior with Pascal was pro 4.
btw. last Code Warrior for Mac, CodeWarrior Development Studio 10 (pro 10) has Metrowerks Standard Library 11.0 and
it has good Posix standard support for Mac OS 9.2.2. Bad points with that Code Warrior is that you have to run it on OSX
and it cannot compile to 68k, what he wanted too.

I think there is so many ways to program Mac OS 9 that every body have to find his/her own way.
btw..I think I find today one more way to program Mac OS 9...ProjectBuilder from Development tools from MacOSX10.1,
has anybody ever tested?..I just readed documentation that I find from my HD...something about Mixedmode..have to
read more..hmm where I put that file... ...

Offline Jubadub

  • Gold Member
  • *****
  • Posts: 326
  • New Member
Re: Source code tools
« Reply #9 on: June 01, 2022, 09:51:32 AM »
Found SourceServer 3.4.2 in these discs: http://macintoshgarden.org/apps/adc-student-program-tools-sampler-cd-rom-set-1999

Docs say can be used with CodeWarrior, too.

Seems like an old Apple tool that got lots of updates over time. Might be worth a look?

That was part of MPW.  I've used it a little and it fit my need for what little use it was too me.
If you do find something better please share as I would definitely be interested in that.

SourceServer = newer name for "ProjectServer"? I see mention of the latter as an MPW versioning tool.

I saw it mentioned in another version control Mac software Garden page, for VOODOO Server:
http://macintoshgarden.org/apps/voodoo-server

That has a CW plugin, too, it seems. Not sure if it also works with MPW.

Also this thing has a CW plug-in, seems CVS-based:
http://macintoshgarden.org/apps/cwcvs-cwprojector

This one might really be worth a look: Amend
http://macintoshgarden.org/apps/amend
Written in 2021 for System 6, but should also work on System 7 ~ Mac OS 9, although that is untested. We might want to give that one a go.

Finally for completion's sake I will also mention this ancient, probably-useless one called "Programmer's Assistants: Continuity":
http://macintoshgarden.org/apps/programmers-assistants

@teroyk, yes Project Builder is basically Xcode before rebranding as far as I know, I think it was inherited from the NeXT days. I have always been curious about it. So it can also target Mac OS, eh? That's nice!

Also, Pascal is also available on CW Pro 7 and probably 8, has to be installed separately. In the Garden, it is said if you copy stuff from CW Pro 6 to 7 (and again probably also 8 ) you will get back the abiity to target 68k, too.

CW seems to really have changed starting with 5, but after playing with all versions, the biggest changes (in MSL) that I felt from my little exploration was in 7 (and 8, which is very similar). Bochs' bximage won't compile with Pro 7 or 8 unless if I reference MSL C PPC.lib from CW Pro 6 (and earlier), due to some function implementations missing.

It would be cool if we could yank out stuff from CW Pro 9 and 10 into CW Pro 8 to keep using OS 9 as development environment. Really cool to know MSL in Pro 10 had POSIX compliance. Too bad I'm a C/C++ nub right now, but who knows what lies ahead.