Author Topic: 9.2.3  (Read 56981 times)

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #75 on: April 26, 2018, 05:18:48 AM »
In the attachment you see the Unicode console with wcin and wcout.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #76 on: May 02, 2018, 03:45:19 AM »
I dropped the idea of a simplified and beautified PowerPlant 1.9.3 because CW Pro 6.2 has PowerPlant 2.1. I'm linking everything with CW Pro 6.2 and PowerPlant 2.1.

The previous version of the macros extension is inefficient. It switches too much to the system zone. It was losing time when it was supposed to do nothing. The new version works better.

But there was another problem too. It claimed every use of the app1Evt. The new version doesn't interfere with other hypothetical programs which want to send app1 events. (Although I couldn't find one.) It recognizes app1 events that it has sent because their message starts with 'huy'.

The documentation has still to be updated.

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2647
  • Liked:
  • Likes Given: 1192
Re: 9.2.3
« Reply #77 on: May 02, 2018, 04:00:44 AM »
Thanks Cliff for ALL your efforts.
Looking for MacOS 9.2.4

Offline DieHard

  • Administrator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2171
  • Liked:
  • Likes Given: 58
Re: 9.2.3
« Reply #78 on: May 02, 2018, 08:51:07 AM »
Thanks Cliff for ALL your efforts.

Yes, we forget to give Cliff all the credit he deserves... I second the "Thanks you"... he always plugs away... quietly, solo, and behind the scenes

Offline mrhappy

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1139
  • new to the forums
  • Liked:
  • Likes Given: 3
Re: 9.2.3
« Reply #79 on: May 02, 2018, 11:09:21 AM »

 he always plugs away... quietly, solo, and behind the scenes

Yeah... He's sneaky like that!! ;D ;D   

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #80 on: May 07, 2018, 09:21:27 AM »
More progress but I didn't have time to update the website.

The macros extension now supports autoKey events. It works now with Resorcerer resources. I used a macro to replace "Stxt" with "stxt" and "etxt" with "FEdi" in a PPob resource.

I relinked all the sync tools with PowerPlant 2.1.

I wrote wrapper classes for istream, ostream, ifstream, ofstream, and string. I linked this as a shared library that I use in all my private console projects. The compile time is now very small. It works like this: use a void* as data member. Then in the implementation, use a macro to convert the void*.

Code: [Select]
#define S(name,object) std::string* const (name)=static_cast<std::string*>((object).m_string)

m_string=new std::string;

S(d1,*this);
S(d2,s);
*d1=*d2;

S(d,*this);
delete d;

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #81 on: May 15, 2018, 06:28:24 AM »
I improved the macros extension, the output of "Check macros", and the Apple event logger.

I found a way to export only the PowerPlant functions from my libraries that are used by my programs except __som_check_new and __som_check_ev.

Everything compiles without warning. All link errors are gone except double defined __som_check_new and __som_check_ev warning. How is it possible that these 2 functions are exported if I don't ask for it? I export using the option "use pragma" and then I type __declspec(export) before the function that I want to export. This has the same effect as #pragma export on.

The MDEFs of my extensions and programs are now accelerated for PPC.

The sync tools work now with MDEFs for colorful popup menus.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #82 on: May 29, 2018, 05:01:24 AM »
I wrote a fast function to convert between MacRoman and UTF16 and back.
I wrote a replacement for BlockMoveData which is faster for 86 block lengths.
The multi menu extension can now draw small icons.
I'm now making new antialiased small icons for the async tools.
They look better in those menus.
I also deleted all 1-bit and 4-bit icons since OS 9 requires 8-bit color.

My website will expire on June 23.
I'm thinking about a new domain name.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #83 on: June 18, 2018, 07:04:42 AM »
The website won't be updated anymore after today.
This is the latest update of the SDK:
http://www.gsehi.com/computing/software/macos/os/os93/Download.htm

I'm now improving the regex with a custom memory manager.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #84 on: June 18, 2018, 07:05:25 AM »
The sync tools are finished.
I didn't change much.
The preferences go one folder up.
The edit fields check pasted text with a key filter.
The windows are now created in Run instead of the constructor of the program.
An eventual exception in Run is better than an exception in the constructor of the program.
All panes are custom and code has moved from the programs to the panes.
The settings for the filter menus are stored in "Menu preferences.rsrc".
The OS 9.2.3 menu is configurable too by the way: you can delete the menus and items that you don't want.
You can also replace the menus and items with something totally different.
In the 'pref' resource you can choose to draw small icons.
Mini date calculator is discontinued.
I did various overall improvements like removing 1-bit and 4-bit icons, and renumbering the menus.

I wrote a program which finds the classes which need a virtual destructor.
Then I updated those classes with "Replace strings".

I found a way to make better ics8 icons:
Copy the icl8 icon.
Make a 32x32 RGB in Photoshop.
Paste the icon.
Resize bicubic to 16x16.
Copy it.
Go to GraphicConverter.
Do "Image using clipboard".
Choose 256 colors.
Copy.
Paste in ics8 icon.
Now copy the large mask.
Go to the small mask.
Select everything.
Paste.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #85 on: June 18, 2018, 08:22:22 AM »
I don't consider a new website. It takes all my time and nobody watches it except robots. I'll post my progress as temporary downloads on file sharing websites.

Offline DieHard

  • Administrator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2171
  • Liked:
  • Likes Given: 58
Re: 9.2.3
« Reply #86 on: June 18, 2018, 10:13:12 AM »
We can always post all your finished products here... let me know since I am fixing all downloads :)

Offline IIO

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 4103
  • just a number
  • Liked:
  • Likes Given: 244
Re: 9.2.3
« Reply #87 on: June 18, 2018, 11:18:48 AM »
if you make a "members software" category there will be some others who might contribute :)
insert arbitrary signature here

Offline DieHard

  • Administrator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2171
  • Liked:
  • Likes Given: 58
Re: 9.2.3
« Reply #88 on: June 18, 2018, 07:20:13 PM »
if you make a "members software" category there will be some others who might contribute :)

That did not work out the last time, but certainly we can post all Cliff's work and dedicate a section here if he wants

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #89 on: June 25, 2018, 03:56:43 AM »
That could work for the stuff that is unlikely to change in the future like OS 9.2.3 and my extensions.

I'll post the OS 9.3 progress as temporary downloads like this:
https://tinyurl.com/20180625OS93

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #90 on: July 02, 2018, 05:17:40 AM »
The problem seems to be that most people are not prepared to click on many links to get all my stuff. The most popular feature on my website used to be the "Download everything" button. Thus I consider dividing all my stuff in a few large chunks and upload them somewhere, the Mac stuff as stuffed Toast images and the rest as 7-zipped ISO images.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #91 on: July 02, 2018, 05:24:29 AM »
What's new in OS 9.3: single search and multi search.

For the single search I use the BOM algorithm by Prof. Lecroq from France. https://www.researchgate.net/profile/Thierry_Lecroq

For the multi search I use a deterministic finite automaton.

See the test results in the attachment. The max times are for searching and replacing 1 or 6 strings in the Bible.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #92 on: July 02, 2018, 05:38:20 AM »
Prof. Lecroq is the writer of the "Handbook of exact string-matching algorithms" that you can download as a PostScript file here: http://www-igm.univ-mlv.fr/~lecroq/string/string.ps

I converted this on https://online2pdf.com/convert-ps-to-pdf

You can download it here: https://tinyurl.com/ExactStringMatchingAlgo

The PDF contains many weird fonts, but you can still copy the code and paste it as a readable text.

Offline WhiteWarlock

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 92
  • SynthWizards/N01ZE
    • SynthWizards
  • Liked:
  • Likes Given: 0
Re: 9.2.3
« Reply #93 on: July 02, 2018, 09:39:53 AM »
notice pattern of OS923s Domains/URLs going ~poof~
you already offered him thread here plus Archival space for his projects
can also bestow him FTP for specified folder(such as OS923) that he can use as subdomain
under macOS9lives in specified subfolder
that can have WordPress front end installed for that folder
sure you comprehend all of this info
you host supports such type of activity
not attempting stepping on any toes or anything
merely suggesting possibilities if both parties are in agreement
plus very amicable
he is attempting/doing an epic amount of coding work on OS923
obviously...
plus because all of his links for data/reference on the subject in this thread have vanished
also for the record this is merely rant based on initial observation of this thread
OS923 such a move will help the overall reach/stability of your project
« Last Edit: July 02, 2018, 09:51:06 AM by WhiteWarlock »

Offline DieHard

  • Administrator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2171
  • Liked:
  • Likes Given: 58
Re: 9.2.3
« Reply #94 on: July 02, 2018, 09:08:25 PM »
We can always post all your finished products here... let me know since I am fixing all downloads :)

I will clarify... send me a PM with a link of exactly what you would like on a board, also a text file with installation instructions, I can include 1 or many files in the download folder, please encode files with Macbinary... (sit.bin,img.bin, etc.)

Unfortunately, I am still waiting on the "Let me know"...

Offline WhiteWarlock

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 92
  • SynthWizards/N01ZE
    • SynthWizards
  • Liked:
  • Likes Given: 0
Re: 9.2.3
« Reply #95 on: July 02, 2018, 10:38:59 PM »
sort of figured that was the case.... just wandered in here... you have probably already been offering hosting OS923 files for ages...

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #96 on: July 05, 2018, 05:55:54 AM »
Some of the problems that I experienced with my website were:
  • The OS 9.2.3 documentation had many folders with a few files and this caused trouble with FileZilla.
  • I had a few folders with many files like movie trailers and this caused trouble with FileZilla.
  • Visitors are not prepared to click on many links.
  • I collected movie trailers of movies with mind control elements. This started as a hobby, but turned into around 18 GB while all the rest together is around 1 GB. Because this is now the main feature the website has the be reordered.
It became difficult to maintain that site. I have to reduce the number of files in a folder and the number of folders that have only a few files. And everything should be downloadable in a few clicks.

Thus I thought about splitting the whole thing up, saving it as disk images and upload that. I'm still thinking.

My first website was www.hearingvoices-is-voicetoskull.com in 2012. Then I had more websites at the same time: www.os923.com, www.gangstalkerdown.com, www.v2krobot.com (for an internet program that indeed exists but was never released), www.implant-victims.com.

In 2013 I replaced www.hearingvoices-is-voicetoskull.com with www.gangstalkingwiki.com. This was in 6 months the most popular website about the subject. I learned that the popularity was solely because it was an imitation of Wikipedia. Then I started to merge my other websites into this one. At this time I had max 1 GB webspace.

In 2016 they didn't allow me to upgrade my webspace although they offered hosting for unlimited webspace. I had to apply for a new website with a new domain name.

In 2016 I chose www.gangstalking.eu because I found www.gangstalkingwiki.com too long but it was terrible. The .eu was worthless.

In 2017 I chose www.gsehi.com which was even worse, because this name had apparently been used by spammers for years to post spam messages with invalid email addresses like abc@gsehi.com. I presume that the domain name was in spam databases and was even blocked in the public library for "hate and racism". That's right, they label gang stalking sites as "hate and racism" and they disappear from the search engine results.

Thus, still thinking.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #97 on: July 05, 2018, 06:14:14 AM »
One of the solutions that I found is to replace the OS 9.2.3 HTML documentation with AppleWorks documents. In OS 9.3 I work already like that. It's easier, my pages look better and it reduces the number of files and folders. This will also solve a problem that I had with the Scheme program that I use to make my website. I have a folder with HTML pages that contain Scheme instructions between French quotes. This folder is copied to another folder while my program evaluates those Scheme instructions and replaces them with the results. This is very sophisticated. Recently I rewrote this program with classes because it was too difficult to maintain. The program is now much faster and more reliable, but the part for the OS 9.2.3 documentation is still to do and I'd rather not because it's a dull part with many functions.

But I don't see the solution for the problems with FileZilla.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #98 on: July 05, 2018, 06:22:01 AM »
The logical solution is that I reorder my stuff, start a new website with a domain name that refers to the largest part, the encyclopedia of mind control movies, and that I start a second website for my Mac stuff. And then I'll have virtually no visitors.

Other solution is www.cliffhuylebroeck.name and then it's no one's business how I order my stuff. What do you think of that? I find it great, but I have no idea how other people see it.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #99 on: July 05, 2018, 06:30:45 AM »
Most async tools are to be relinked and this will be at least 27 hours of work. I have 1 to do in my XML to Scheme converter that I forgot. All other projects are finished.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #100 on: July 09, 2018, 08:32:07 AM »
For the single search I use the BOM algorithm by Prof. Lecroq from France.
It's not BOM. It's something I wrote in 2010. I published it here: http://forums.codeguru.com/showthread.php?493764-Did-I-discover-a-new-string-search-algorithm&s=eb19e351e9a899f75318fd88c78cfd25
It looks like somtheing that was published by Prof. Lecroq. I implemented it now with pointers instead of indexes.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #101 on: August 02, 2018, 04:58:53 AM »
I rewrote my Scheme programs in C++. I can make my HTML documentation now in 13 seconds.

I rearranged my stuff. It looks now like a shareware CD instead of a website.

Now I simplify the HTML. It was too complex with too many style sheets and scripts. I try to do everything with HTML and as little as possible with style.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #102 on: August 04, 2018, 01:10:40 AM »
Because I have now 462 projects I'm writing several programs to help me manage many projects at the same time:
  • arrange all editor windows,
  • automatic headers,
  • reindent,
  • analyze project settings.
« Last Edit: August 04, 2018, 01:28:55 AM by OS923 »

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #103 on: August 04, 2018, 01:31:25 AM »
www.os923.com has become available again.

Offline IIO

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 4103
  • just a number
  • Liked:
  • Likes Given: 244
Re: 9.2.3
« Reply #104 on: August 04, 2018, 09:55:58 AM »
nope :) ...but nice domain.
insert arbitrary signature here

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #105 on: August 12, 2018, 01:17:07 AM »
Because AutoFlush patches PPC with 68K I replaced it with a PPC version.

Because my system menu extensions are not really necessary I'll replace them with programs.

Because the Keyboard control panel uses a GNEFilter I'll replace the patches in my Macros extension with a GNEFilter.

My Resurrection extension needs to be FAT.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #106 on: August 16, 2018, 05:35:09 AM »
The Keyboard control panel may be disabled. This eliminates one GNEFilter.

I'll remove the feature "Wait until 3 seconds idle". Then it doesn't require IdleTime INIT. This eliminates another GNEFilter.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #107 on: September 13, 2018, 07:00:54 AM »
I want to make the asynchronous operation of the async tools optional. Then you can choose between speed and interactivity.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #108 on: September 26, 2018, 09:16:01 AM »
On August 24 I got a severe pneumonia and I haven't been able to do much since then. I still have little use of my right arm. But I will complete my work and it will be available for free.

Offline FdB

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 666
  • And then...
  • Liked:
  • Likes Given: 7
GET WELL SOON
« Reply #109 on: September 26, 2018, 09:19:40 AM »
Sorry to hear of your illness. Wishing you a speedy and complete recovery! Get well soon.
« Last Edit: September 26, 2018, 09:36:21 AM by Fury deBongo »
This Must Be The Place

Offline mrhappy

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1139
  • new to the forums
  • Liked:
  • Likes Given: 3
Re: 9.2.3
« Reply #110 on: September 27, 2018, 06:16:17 AM »
On August 24 I got a severe pneumonia

That does not sound fun! Yes, get well soon!!

Offline Greystash

  • Veteran Member (100+ Posts)
  • ****
  • Posts: 181
  • Too many Macs..
    • Mac Classic, Mac Attic
  • Liked:
  • Likes Given: 164
Re: 9.2.3
« Reply #111 on: September 28, 2018, 02:58:12 AM »
On August 24 I got a severe pneumonia and I haven't been able to do much since then. I still have little use of my right arm. But I will complete my work and it will be available for free.

Hope you get well soon!! Pneumonia is horrible!

Offline macdude888

  • Member
  • Posts: 4
  • New Member
  • Liked:
  • Likes Given: 4
Re: 9.2.3
« Reply #112 on: October 02, 2018, 08:10:01 PM »
Greetings! Hope you feel well very soon! Thank you for all this great work!

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #113 on: October 03, 2018, 08:34:16 AM »
I replaced the OS 9.2.3 menu and volume menu extensions with programs.

I replaced the Macros extension with a PPC version. Now you have only keys, no more code resources or built-in functions. I didn't get it to work with a GNEFilter. GNEFilter worked in a PPC program but not in a PPC extension. Instead it patches GetNexEvent and WaitNextEvent.

I removed the feature "Wait until 3 seconds idle". This eliminates the dependency on IdleTime INIT.

I wrote a program which can tell me which C++ files are not indented like I want.

I finished the preparation for OS 9.3 with an example of everything that you would still like to make for OS 9.2.2 (extension, control panel, contextual menu extension and so on). I did this because I may have no technical difficulty when I start with OS 9.3. This is also useful for everyone who wants to give it a try. Most people have forgotten how to do these things and now you get an example of everything updated to CodeWarrior Pro 6.2. The last thing that I did was updating Jim's CDEFs to CW Pro 6.2. Although this is very old (1995) it required very little corrections, mainly old routine names that had to be replaced.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #114 on: October 05, 2018, 08:58:58 AM »
"Check macros" is now PPC.

I wrote "Try macros". It lets you try your macros without installing the extension.

I have to correct the indentation in 1276 files.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #115 on: October 10, 2018, 06:22:01 AM »
I improved the Identify program.

I improved the program that writes the HTML documentation. It's very fast because it caches common subexpressions. All my HTML has now only 1 simple style sheet that can be missed or replaced. The style is now more Mac (Geneva 12 and Monaco 12).

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #116 on: October 16, 2018, 05:55:12 AM »
Here's the current progress of everything (277 MB):
https://tinyurl.com/progress20181016

Most async tools are to be relinked. These have a red label and contain only a custom icon.

I discontinued the following programs:
  • Compile strings
  • Delete from lines
  • Delete multi line blocks
  • Delete single line blocks
  • Insert modification date
  • Schemify
  • Unidentify

I rewrote "Replace strings" using my new TextLib. It's faster and easier to maintain. It's easier to use: make a ".term" file with your search terms and replacements and drag it to the program. Then drag your text files to the program.

My new C++ program writes all the HTML documentation and my former website and it checks the links and finds orphans and colors them red in 20 seconds. I have no broken links and no orphans.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #117 on: October 18, 2018, 03:08:26 AM »
There was a mistake in TEtoMLTESample. The precompiled headers were not included in the project file and the release version could be debugged.

I corrected the help for "No empty icon files" and "No invisible files". "No empty icon files" applies label 2 (green Project 1). "No invisible files" applies label 1 (brown Project 2).

I'm now testing a synchronous version of AutoFlush PPC.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #118 on: October 31, 2018, 02:39:39 AM »
I'm improving the search and replace classes. There are now separate classes for search and classes for replace.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #119 on: November 09, 2018, 09:32:15 AM »
I'll rename sync tools to high level tools and async tools to low level tools, which will leave you the choice between fast and interactive. Fortunately I waited with relinking the async tools, otherwise I had to do it all over again.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #120 on: November 14, 2018, 01:05:13 AM »
I'm writing a plugin for REALbasic to use my search and replace classes. Single search and single replace work already. Then I'll write the most cunning search and replace program for classic Mac OS ever. This is important because the new Finder will be able to do similar stuff.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #121 on: December 28, 2018, 08:02:52 AM »
These programs are being replaced with something better:
  • Count virtual trash
  • Hide virtual trash
  • Move to virtual trash
  • Post Speed Disk
  • Pre Speed Disk
  • Show virtual trash
  • Update backup date

The Pseudo delete extension is like TechTool Trash Cache, but it preserves the directory structure and it never renames an item.

Pseudo undelete is used to get the pseudo deleted files and folders back, with the directory structure just like you deleted them. During recovery the files are copied, not moved. It's the first program of its kind, because it can write a detailed report about every deleted file.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #122 on: January 09, 2019, 07:17:18 AM »
The following programs have been replaced with something better:
- Lock volumes,
- No empty icon files,
- No invisible files,
- Search invisibles,
- Unlock volumes.

The following programs are discontinued:
- Delete
- Delete old files
- Empty trash
because they delete files asynchronously and this bypasses the "Pseudo delete" extension.

The remaining set of programs looks now more logic, except if I have "Big join", then there should be also "Big split".

I wrote "Change volume dates". This solves a problem with the alias manager on computers with multiple volumes which were formatted by Drive Setup.

I wrote "Save a volume as a file". The saved file can be mounted with write access by Toast Titanium. It can be used to recover your files on a different computer. On XP I used UltraISO and MacDrive to mount the volume with read access and QPhotoRec to recover the files.

I wrote easy to use classes for PowerPlant programs with Unicode and HTML rendering support.

I improved the REALbasic programs and the documentation. The interface of several programs has changed. Dictionary 98 is being replaced with a C++ program.

If you write in REALbasic, then pay attention to Item(), Child() and GetFolderItem(), because they resolve aliases. It's better to use TrueItem(), TrueChild and GetTrueFolderItem().

All REALbasic programs are now in System, Monaco and Geneva.

All documentation is now in Chicago, Monaco and Geneva.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #123 on: January 22, 2019, 06:50:25 AM »
See the latest progress in the attachment. Now I'm improving "Pseudo undelete". Then I have to check the headers of all my code. Then all my "other" work is finished. Then OS 9.2.3 and the new Finder are all I have to do.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #124 on: February 19, 2019, 01:14:34 AM »
I changed "OS 9.2.3 menu" into "App launcher". Every menu is defined in a separate resource file. You can easily define your own menus.

Then I separated old code from new code.

Example of old code:

Code: [Select]
class FBMM
{
public:
    // Global functions.
    static SInt32 Get_size();

    // Member data.
private:
    UInt8 m_data[28];

    // Construction.
public:
    FBMM(UInt32 blockSize,
         UInt32 cBlockInFBChunkDiv16,
         bool deleteUnusedChunks);

    // Destruction.
    ~FBMM();

    // Forbidden.
private:
    FBMM();
    FBMM(const FBMM &original);
    void operator=(const FBMM &original);

    // Manipulators.
public:
    void *New();
    void Delete(void *ptr);
};

Example of new code:

Code: [Select]
class FBMM;
    typedef FBMM* p_FBMM;
        typedef p_FBMM* pp_FBMM;
        typedef const pp_FBMM cpp_FBMM;
    typedef const p_FBMM cp_FBMM;
        typedef cp_FBMM* pcp_FBMM;
        typedef const pcp_FBMM cpcp_FBMM;
typedef const FBMM c_FBMM;
    typedef c_FBMM* pc_FBMM;
        typedef pc_FBMM* ppc_FBMM;
        typedef const ppc_FBMM cppc_FBMM;
    typedef const pc_FBMM cpc_FBMM;
        typedef cpc_FBMM* pcpc_FBMM;
        typedef const pcpc_FBMM cpcpc_FBMM;
typedef FBMM& r_FBMM;
typedef p_FBMM& rp_FBMM;
typedef pp_FBMM& rpp_FBMM;
typedef cpp_FBMM& rcpp_FBMM;
typedef cp_FBMM& rcp_FBMM;
typedef pcp_FBMM& rpcp_FBMM;
typedef cpcp_FBMM& rcpcp_FBMM;
typedef c_FBMM& rc_FBMM;
typedef pc_FBMM& rpc_FBMM;
typedef ppc_FBMM& rppc_FBMM;
typedef cppc_FBMM& rcppc_FBMM;
typedef cpc_FBMM& rcpc_FBMM;
typedef pcpc_FBMM& rpcpc_FBMM;
typedef cpcpc_FBMM& rcpcpc_FBMM;

class FBMM
{
public:
    // Globale functies.
    static z4 Get_size();

    // Eigen data.
private:
    c_n4 i_blokGrootte;
    c_n4 i_aBlokInChunk;
    c_bool i_deleteUnusedChunks;
    p_FBChunk m_eersteChunk;
    p_FBChunk m_laatsteChunk;
    p_FB m_eersteVrij;
    p_FB m_laatsteVrij;

    // Constructie.
public:
    FBMM(n4 blockSize,
         n4 cBlockInFBChunkDiv16,
         bool deleteUnusedChunks);

    // Destructie.
    ~FBMM();

    // Verboden.
private:
    FBMM();
    FBMM(rc_FBMM origineel);
    void operator=(rc_FBMM origineel);

    // Manipulators.
public:
    p_void New();
    void Delete(p_void ptr);
};

I'm changing the error handling in all my programs. You get now feedback for every error, except for PowerPlant errors.

Example:

Code: [Select]
Bool MenuLezer::Lees(rc_FSSpec spec)
{
    z2 refNum;
    OSErr err=Resources::OSERR_FSpOpenResFile(spec,
                                              permission_wr,
                                              refNum);
    if (err)
        {
        Return_false_err("\pFSpOpenResFile fails",err);
        }

    c_Bool ok=Lees();

    err=Resources::OSERR_CloseResFile(refNum);
    if (err)
        {
        Return_false_err("\pCloseResFile fails",err);
        }

    if (!ok)
        {
        Return_false("\pRead fails.");
        }

    return True;
}

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #125 on: February 27, 2019, 05:23:53 AM »
Just a few screenshots so that you can follow. Before 2008 I worked on my own framework, but I found the part about the GUI too difficult and I had to stop. Then I continued writing PP programs. In 2011 the tools were finished. But I was sorry that I had used PP. I tried to replace PP with something similar by removing the exceptions from the PP classes and improving those classes and some were really unrecognizable. This was too difficult and I had to stop. Then I rewrote the general functionality of the tools, which you find in the ToolsLib, with my new notation that uses many typedefs (this includes special headers for the toolbox). These classes are much better. A part of this has been linked as static PPC libraries, and these get special simplified headers in Apple's notation. I use these libraries in the SDK projects, but also in other programs that use Apple's notation, especially PP programs, but also extensions. Now the plan is to rewrite all the high level tools with low level functions, and to stuff them as "Low level tools" in OS 9.3. The static PPC libraries can then be linked as shared libraries. This will simplify the whole thing and make it easier to maintain. I can also make it partially open source and then it's a good thing that I used PowerPlant. The CW Pro 6.3 with corrected MSL (because of GetCaretTime instead of 0) will be part of the SDK. I'll also adapt it to make it work like Finder and Sherlock 2, which ignore visible files in invisible folders. Most of the tools will use plugins that you can replace with your own to extend the functionality. There will be example plugins in the SDK. This means that the name OS 9.2.3 disappears, the old version is abandonware and this discussion may be closed.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #126 on: March 01, 2019, 05:53:14 AM »

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #127 on: March 11, 2019, 08:22:39 AM »
I upgraded to CW Pro 6.2.
There were a few problems:
- shift left shifts one more than shift right,
- Grammarian now requires that there's no return in the middle of a sentence,
- Grammarian crashes when called from the CW IDE.
Grammarian still works correctly with REALbasic programs. I'll paste my text in a REALbasic program and then use Grammarian.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #128 on: March 21, 2019, 06:51:17 AM »
This discussion is finished. Go to 9.3

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #129 on: March 08, 2021, 07:36:58 AM »
I upgraded to CW Pro 6.2.
There were a few problems:
- shift left shifts one more than shift right,
This happens only if you type spaces instead of tabs. I found a solution: define this macro: 4 times tab shift tab.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: 9.2.3
« Reply #130 on: June 08, 2021, 11:35:51 AM »
notice pattern of OS923s Domains/URLs going ~poof~
Someone revived one of my websites:
https://gangstalkingworld.neocities.org/
At the bottom there are icons that go to 2 more of my websites.

 


SimplePortal 2.3.6 © 2008-2014, SimplePortal