Using Bob Delaney's fpPlugin on an M1 mac

Someone (or a group), please, assume Bob Delaney’s legacy (he probably have no spare time to help) and coordinate the maintenance of his donated code (and storing the resulted compiled plugins) in a public GitHub account. Also include his credits and license if not in there.

I started working on the fpPlugin (doing that before looking at the Matrix one)

You can monitor the progress here:
https://bitbucket.org/einhugur/fpplugin/src/master/

Right now I got it building on Windows and have started fixing obvious memory leaks. I will make some sort of milestone build when I have mac Platforms ready. And then again when having Linux and iOS.

9 Likes

I downloaded Bob Delaney’s XCode project and did a quick clean up to get it to compile for Apple Silicon. I did just enough to get rid of the errors, but there are plenty of warnings left to clean up.

But just out of interest, I did a compile and tested it with a couple of Bob D’s test apps, and it seems to work. (At least, on my system, Intel, and the dylib is reported as being dual architecture.)

https://www.dropbox.com/s/p15x8ic9jph48dn/fpPlugin.xojo_plugin.zip?dl=1

Hi Charlie,

if you suffix your link witha 1 (instead of 0), you share a direct link. That is a link that do not show an html file, but download the zip immediately. Check below:

Direct link to fpPlugin zip file.

Yes, I know, I was in a hurry. Lots to do today, and it’s a Friday! But thank you for the tip. Regards, Charlie

1 Like

For anyone working on upgrading fpPlugin, please have a look at feedback case 64645
https://tracker.xojo.com/xojoinc/xojo/-/issues/64645
When an fp operation causes an exception such as fpDivideByZero exception on Windows, a Try/Catch will not trap it. Works okay on Mac and Linux. Problem only occurs on Windows version.

As with the fp plugin, I took a quick look at the complex matrix plugin Mac XCode project, and have got it compiling. (As with the other plug in, plenty of errors, but it compiles okay, and seems to run within Bob’s test app project downloaded from his site okay.)

https://github.com/charlierobin/ComplexMatrix/raw/main/dylibs/libComplexMatrix.xojo_plugin.zip

Here’s the link for the other fpPlugin dylib:

https://github.com/charlierobin/fpPluginProject/raw/main/dylibs/fpPlugin.xojo_plugin.zip

I built version 12. Milestone 1 for the fpPlugin:

Plugin download link
https://www.einhugur.com/Downloads/Plugs/fpPlugin.zip

Milestone one has:

  • Windows 32 bit

  • Windows 64 bit

  • Windows ARM 64 ready (even if Xojo not ready yet)

  • macOS Intel 64 bit

  • macOS Apple Silicon

  • A big number of memory leak fixes.

Auto generated documentation to show the syntax. (Am not sure his Global methods made it through there since Xojo frowned on those for long time so my Documentation tools don’t really know them, will revisit that later,).

Left to do (at least) before 12.0 final can come out:

  • macOS legacy 32 bit build.
  • iOS Build
  • iOS Simulator build.
  • Linux 32 bit build.
  • Linux 64 bit build.
  • Linux ARM 32 build.

Link to the open source repo:
https://bitbucket.org/einhugur/fpplugin/src/master/

(Posting this also in my release thread since thats where I will be releasing it in the future)

6 Likes

I started also on the Matrix plugin. I got macOS building so far. And will put out first milestone release as soon as I have Windows also. (Then follow up with Linux and iOS systems).

The repo for the Matrix plugin is at:

https://bitbucket.org/einhugur/matrix-plugin/src/master/

2 Likes

I think it is because the exception handling is a bit wrong.

I have pushed out all major refactoring of it to version 13 though (or something in between 12 and 13 in incremental steps) since I have burned up on time for now, and needed big refactoring on it is several days of work. Version 12 comes later today having, all platforms, like Apple Silicon Linux Arm32, iOS, etc.

I just want to thank you for taking on this project. It is much appreciated.

3 Likes

Ditto.

Also J.Audy for sponsoring part of it.

I did not take any fee of any kind . It was community deed !

6 Likes

Well, there was an offer. If you refused it, the requester may just be 2x more grateful. :wink:

Bjorn the offer still stands, and you have excelled in your support for us all!.
If you don’t want to accept the offer, then I will simply order all your plugins off your website - but that would still not get me to $500 I think!

  • Jonathan.
1 Like

Thanks but no need. I am sure I will get you as customer one day. (But not required of course)

Einhugur Plugin Pack purchase completed - thanks again Bjorn :slight_smile:
now I will have to take a look at your great plugins :

  • Jonathan.
7 Likes

That’s a great happy ending for everyone. I love when such things happen once and a while.

2 Likes

Once in a while

It’s interesting how many times I find such things after revisiting what I wrote minutes ago.

Thank you very much for your work on this Björn!

I have an application that should give the fpPlugin a really good workout. Won’t be able to test on Apple silicon for a while, but at least I’ll be able to check out the Mac, Windows and Linux Intel versions.

1 Like