Comments on OXT Lite 1.05

All flavors welcome.
Forum rules
Be kind.
User avatar
OpenXTalkPaul
Posts: 2633
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Comments on OXT Lite 1.05

Post by OpenXTalkPaul »

tperry2x wrote: Mon Jun 10, 2024 3:53 pm Yes, it creates a paintimage if you select the paint tools. It doesn't create new ones if one already exists (it exits if one is already on the target card).

Yes, I don't know what was 'unsuitable' about the LCC created one. I don't think it's an engine problem, as otherwise we'd probably not be able to create a new paint image at all.

My thinking it's some property that is not being applied, but I couldn't track down how the original is supposed to be creating the image. A lot of that I did a complete rewrite on anyway, so it made sense.
I was thinking it might have something to do with how the IDE figures out wether a stack is 'dirty' and needs to be saved or not. Perhaps just 'tickling' the auto-created image is all that is needed? By setting any property on the image control the IDE would then know the image control has been modified and along with that its parent stack too and be marked by the IDE as 'dirty'? That's a theory I have yet to test. I do know that cutting the IDE created image and pasting in place again is enough to make the IDE save the stack including the newly created painting.

Anyway, until there's something better, I've added the fix to my ideToolChanged handler, but changed it slightly:

Code: Select all

constant kPolygonMenu = "Line Tool\nRectangle Tool\nRounded Rectangle Tool\nOval Tool\nRegular Polygon Tool\nPolygon Tool" -- line tool added here - OXT
on ideToolChanged
   local tTool
   put the tool into tTool--;put tTool -- for debuggging - Paul
   set the itemdelimiter to "\n"
   if tTool is among the items of kPolygonMenu then
      put "paint polygon shape tool" into tTool
   end if
   if tTool is among the items of kPolygonMenu or tTool = "brush tool" or  tTool = "pencil tool" or   tTool = "spray tool"  then
      put hCreateSuitableImage (tTool) into tImgCmd
      send tDoImgCmd to me in 1 ticks
   end if
   ...
   
because the problem effects brush, pencil and spay tools as well as the tools listed in kPolygonMenu
User avatar
OpenXTalkPaul
Posts: 2633
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Comments on OXT Lite 1.05

Post by OpenXTalkPaul »

OK I tested that 'tickle' the image control props theory and the result of arbitarily setting any property on that IDE auto-created image and then saving the stack that it's on is...IDE CRASH!!! That makes me think there is something unique about the way that new image controla are initially created when triggered by a paint tool. I'm inclined to believe the problem originates in an ide script as well but I can't find it, and this IDE crashing has me thinking again that it might be an Engine issue.
User avatar
OpenXTalkPaul
Posts: 2633
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Comments on OXT Lite 1.05

Post by OpenXTalkPaul »

richmond62 wrote: Mon May 27, 2024 12:25 pm 1.04 WORKS with MacOS Snowman.
Does 'Snowman' mean macOS 10.6 Snow Leopard?
I didn't think the 9.x binary was ABI compatible bellow macOS 10.9 (Mavericks)?
Was it modified to be?
User avatar
tperry2x
Posts: 3209
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Comments on OXT Lite 1.05

Post by tperry2x »

No I didn't change anything there.
It would have been great if I could have.

Richmond means MacOS Sonoma.

I'd love to support 10.6, but to do that would probably require me using an older engine.

Either that, or if I ever got the MacOS engine to compile, I'd like to know why it requires macOS 10.9. I assume as it's 64-bit only. However, there are Linux and windows versions of 9.x which run happily in 32bit mode, so why is this not possible to compile in MacOS 10.6 32bit?

I'd like to support older MacOS rather than newer. To a degree, I consider anything before MacOS 11 to be a turning point where MacOS started to be iOS-ified (although that was happening in MacOS 10.11 with SIP).
MacOS 10.8 supported 64bit, so I wonder if it could be compiled to run in 10.8.

I want to support as large a spread of MacOS as possible. The clock is ticking for intel support on MacOS now.

https://en.m.wikipedia.org/wiki/MacOS_Sequoia
MacOS Sequoia was announced today, and they are moving further towards arm-only supported hardware. It'll run on some intel chips from 2017, but nothing older officially.

I haven't got hold of the beta (nor do I have anything that will run it), but I expect a few major hiccups with OXT on Sequoia. Likely menu-related crashes and more, judging by previous MacOS version changes.

The beta is expected to be available in July, although if you have a $99 a year Apple Developer account, you can download it already.
User avatar
tperry2x
Posts: 3209
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Comments on OXT Lite 1.05

Post by tperry2x »

I don't mean to sound pessimistic, but it's only a matter of time before MacOS 15 Sequoia (or MacOS 16) (arm only?) deals a fatal compatibility blow to OXT.

At which point I'd like to offer it as a way to develop MacOS intel software on as large a spread of MacOS versions as possible.

I really want to get a build of the engine compiled so it might run in Haiku, as that's looking more and more viable.
Haiku runs in intel x32, intel x64 and RISC-V chipsets (32 bit and 64 bit), opening up another platform.

So we might lose MacOS support, but if we can add support for others - that would be good.
User avatar
tperry2x
Posts: 3209
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Comments on OXT Lite 1.05

Post by tperry2x »

I'm also keeping a keen eye on what happens with ravynOS - and I can't wait for a new release. Would be brilliant if I could get OXT running as a native BSD package on that.
Maybe one day.
User avatar
OpenXTalkPaul
Posts: 2633
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Comments on OXT Lite 1.05

Post by OpenXTalkPaul »

tperry2x wrote: Mon Jun 10, 2024 10:20 pm I'm also keeping a keen eye on what happens with ravynOS - and I can't wait for a new release. Would be brilliant if I could get OXT running as a native BSD package on that.
Maybe one day.
The AppImage ALMOST runs on helloSystem which is sort of related to ravynOS (slightly different goals). It launches but doesn't get past the embedded registration stack issue.
I'd love to support 10.6, but to do that would probably require me using an older engine.
LC CE v8.x runs quite well on macOS 10.6.8 on my old core 2 duo box, and v8 had extension builder widgets too, so I added in some goodies like that Color SVG Widget. That's what fuels my dreaming of 'OXT Retro Edition' :lol:
User avatar
richmond62
Posts: 4831
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Comments on OXT Lite 1.05

Post by richmond62 »

Updating on Xubuntu:
-
Wow.jpg
Wow.jpg (262.5 KiB) Viewed 1329 times
-
That is super.

BUT why does OXT Lite Quit after updating?
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3209
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Comments on OXT Lite 1.05

Post by tperry2x »

It has to quit to unload various stacks from memory, and so that they can be loaded afresh by the engine again at IDE launch time. Replacing a stack that's in memory with a different stack is a bit of a no-no and can / does result in instabilities (usually a spontaneous IDE crash).
This should work the same on Windows and MacOS too.
User avatar
OpenXTalkPaul
Posts: 2633
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Comments on OXT Lite 1.05

Post by OpenXTalkPaul »

Here's another version of revPref's viewer. In this version if you select an element of the array in the TreeView widget, or click, double click, or click the little 'inspect' icon, it will then 'put' the contents of that element (unless its contents are another sub-array in the tree).
View revPrefs.oxtstack
(70.38 KiB) Downloaded 69 times
It's "Fathers Day" here in the U.S. so Happy Fathers Day to my fellow Dads (and anyone filling that role for absent biological 'father')... I might not get much else done today, but I will probably meditate on OXT some while floating around the pool :D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest