Page 1 of 1

Question about LCB under oXT

Posted: Fri Nov 26, 2021 8:41 pm
by astu
Hello together.
I have a question about the structure of the LCB... or about the widgets in general.
Currently I am still building my widgets under LC9.

For the widgets librarys are needed like com.livecode.canvas, com.livecode.widget, com.livecode.library.widgetutils or the com.livecode.pi etc.. etc.. etc..

How will this behave under openXTalk? Will there be some compatibility between LC and oXT?

Re: Question about LCB under oXT

Posted: Sat Nov 27, 2021 12:23 am
by xAction
I ran some find/replace experiments which broke the IDE ...completely.

I think it's safest to keep all your *.livecode.* references as is until there is
A) a release of OpenXTalk binaries
B) a rework of those builder libaries

The front facing IDE rebrand is more essential to keeping the new user from accidentally stumbling blind into the Livecode cave and asking for help they won't get.

The underlying builder scripts don't need changes for a considerable time.

Re: Question about LCB under oXT

Posted: Sat Nov 27, 2021 5:11 am
by astu
Understandable. Of course, the rebranding has absolute priority.

Just as a note, the *.livecode.* is also part of the branding, which should not be put off for too long.

I've been working on an extension of the com.livecode.pi for a few days now, because I'm personally missing a few things there. I noticed a few things that make it easier to add new functions to the *.pi.*

If there is interest in it, I like to share my findings.

Re: Question about LCB under oXT

Posted: Sat Nov 27, 2021 6:33 am
by xAction
Yes please make a thread about adding to those libraries, Probably want to have at github repository for those changes.

There's 87 com.livecode.pi files in just the Inspector folder.

Wow there's some garbage in those files:
card id 2525 of stack "/Users/georgia/Documents/IDE Widgets/widgets/Toolset/MessageBox.livecode"

stack
"/Users/panos/Desktop/github/openxtalk/ide/Toolset/libraries/revfrontscriptlibrary.livecodescript"


So the *.pi.* files are some kind of binary?

Re: Question about LCB under oXT

Posted: Sat Nov 27, 2021 7:19 am
by astu
these *.pi.* files in the Inspector folder are nothing more than a stack and a script.

With a few adjustments, anyone can create a Property Inspector entry.

I'll try to create a post with an example.