What I'm adding, and what I'm planning next...

Forum rules
A place to discuss and plan OpenSource xTalk (not exclusively LCC based) and Community Builds of LCC
Ask NOT what xTalk can do for you... get involved you DO have something to contribute, no matter your skillset!

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: What I'm adding, and what I'm planning next...

Re: What I'm adding, and what I'm planning next...

by mwieder » Thu Sep 05, 2024 6:29 pm

Yeah, no worries.
I'm just placing my engine into the LC directory structure to make sure I didn't break anything on a huge scale.

Re: What I'm adding, and what I'm planning next...

by OpenXTalkPaul » Thu Sep 05, 2024 5:54 pm

mwieder wrote: Thu Sep 05, 2024 1:09 am Changes to the engine itself aren't enough to get more standalone options: there's a whole folder of support files for deployment and standalone actions. At the moment I take the "if it ain't broken, fix it until it is" adage seriously and I've messed up non-native standalone building, so give this a bit of time. Plus, as I said, the engine alone isn't going to do this. I'm currently running my latest engine build in a slightly modified LC 9.6.12 envelope and it's stable within reason. Busy for the next while, so nothing imminent upcoming.
OK, no rush. I may try to compile it myself on Linux if I can find the time.

I completely understand that the Standalone Builder library scripts AND the Standalone Settings (UI stack) AND the standalone engines runtime all need to be altered to modify a standalone deploy options (we've already done this when adding 32bit-Mac option back into Mac deploy options).
I'm pretty sure that all that I really need to get that web-assembly going is the compiled Emscripten .wasm which would probably be next to the js folder in:
PathToIDE/Tools/runtime/Emscripten/
Other than the wasm engine itself, the other files for web assembly I would think would be very similar to the contents of the JS folder, a standalone-template folder and an html file to load the engine and a .mem file.
Screen Shot 2024-09-05 at 9.33.38 AM.png
"slightly modified LC 9.6.12 envelope"?
I'm sure you know we can't use anything from LC from after Sept.1st 2021, since it's not GPL thereafter.

Re: What I'm adding, and what I'm planning next...

by mwieder » Thu Sep 05, 2024 3:31 pm

Eh?
It helps verify that I haven't broken the engine enough to affect usability.

Re: What I'm adding, and what I'm planning next...

by richmond62 » Thu Sep 05, 2024 2:17 pm

I'm currently running my latest engine build in a slightly modified LC 9.6.12 envelope and it's stable within reason.
I am not sure how much use that is going to be over here in the Open Source world.

Re: What I'm adding, and what I'm planning next...

by mwieder » Thu Sep 05, 2024 1:09 am

Changes to the engine itself aren't enough to get more standalone options: there's a whole folder of support files for deployment and standalone actions. At the moment I take the "if it ain't broken, fix it until it is" adage seriously and I've messed up non-native standalone building, so give this a bit of time. Plus, as I said, the engine alone isn't going to do this. I'm currently running my latest engine build in a slightly modified LC 9.6.12 envelope and it's stable within reason. Busy for the next while, so nothing imminent upcoming.

Re: What I'm adding, and what I'm planning next...

by OpenXTalkPaul » Thu Sep 05, 2024 12:45 am

tperry2x wrote: Sat Aug 31, 2024 10:50 am
mwieder wrote: Fri Aug 30, 2024 10:43 pm Not to distract you from benchmarks, Tom, but here's an easy one for you.
I don't think it's going to be easy for me to implement any C++ changes to the engine any time soon, and I think I'd rather wait to see a release of the engine from a github repo - that way I know I'm getting any cumulative fixes.
I second this!
Mark if you don't want to or have time to package a release, then could put the binary up for your Linux build of the engine, along with it's Standalone Builder stack and .wasm Engine build, that would be awesome! I'm very interested in seeing how the webAssembly version engine is compared to the v9.6.x gigantic JS version. I'm also working on Linux a bit more again lately and trying to get OXT DPE (aka Heavy) up to date on Linux.
Thanks.

Re: What I'm adding, and what I'm planning next...

by tperry2x » Sat Aug 31, 2024 10:50 am

mwieder wrote: Fri Aug 30, 2024 10:43 pm Not to distract you from benchmarks, Tom, but here's an easy one for you.
Don't worry, I think I'm almost done with that. (edit: I am done with it now)
mwieder wrote: Fri Aug 30, 2024 10:43 pm This fixes linux printing (bugzilla #21131).
LC is trying to shell out to lp to do the printing, and that requires elevated privileges.
This patch uses the cups library instead.
Thanks Mark. This is very very much appreciated. Great work, and I hope it can be rolled into the source for the engine.
Actually, that's a good point. This isn't meant as a 'snarky' remark (or anything like that), it's a genuine question:
Is the engine of LCC the one we are using from here, here, or here currently? - is it possible to pull all these together (for want of a better phrase?)

Either way, I've also added it to my list of possible C++ engine fixes, just in case anyone asks me ever.
I don't think it's going to be easy for me to implement any C++ changes to the engine any time soon, and I think I'd rather wait to see a release of the engine from a github repo - that way I know I'm getting any cumulative fixes.

But once again, genuinely, a massive thank you for working on this. All updates to the engine are very welcome, and are very much needed. (don't solely take my word on that, but the voting poll at the top of this topic would suggest people feel the same).

I'm probably going to take a back seat from OXT Lite development for a while, due to other circumstances, so someone else can pick up the lead from here.

Re: What I'm adding, and what I'm planning next...

by OpenXTalkPaul » Sat Aug 31, 2024 4:32 am

mwieder wrote: Fri Aug 30, 2024 10:43 pm Not to distract you from benchmarks, Tom, but here's an easy one for you.
This fixes linux printing (bugzilla #21131).
LC is trying to shell out to lp to do the printing, and that requires elevated privileges.
This patch uses the cups library instead.
Nice, thanks Mark!

Re: What I'm adding, and what I'm planning next...

by mwieder » Fri Aug 30, 2024 10:43 pm

Not to distract you from benchmarks, Tom, but here's an easy one for you.
This fixes linux printing (bugzilla #21131).
LC is trying to shell out to lp to do the printing, and that requires elevated privileges.
This patch uses the cups library instead.
Attachments
linux_printing.zip
zip archive to fix bug 21131
(18.62 KiB) Downloaded 88 times

Re: What I'm adding, and what I'm planning next...

by tperry2x » Fri Aug 30, 2024 7:58 am

I'll continue this on the Devawriter Pro topic here, in a moment... I have a load of screenshots and results of testing to upload...

Re: What I'm adding, and what I'm planning next...

by richmond62 » Thu Aug 29, 2024 6:12 pm

Just super. Thank you very much. 8-)

Re: What I'm adding, and what I'm planning next...

by tperry2x » Thu Aug 29, 2024 5:39 pm

richmond62 wrote: Thu Aug 29, 2024 4:45 pm If you can possibly roll the timer stack into 107, or even better, make it available as a free-standing stack: I can run compile tests with LC 963, OXT Lite 107, and OXT Heavy on both MacOS 12 and MacOS 15.
I have just done exactly that for v1.07 :D

I've also attached it, so you can drop this into LCC 9.6.3, or OXT Heavy, or whatever you wish.
[location of your LC or OXT app]/["Tools" folder if on a mac]/Toolset/libraries/revsaveasstandalone.livecodescript
Attachments
revsaveasstandalone.livecodescript
(114 KiB) Downloaded 93 times

Re: What I'm adding, and what I'm planning next...

by richmond62 » Thu Aug 29, 2024 4:45 pm

If you can possibly roll the timer stack into 107, or even better, make it available as a free-standing stack: I can run compile tests with LC 963, OXT Lite 107, and OXT Heavy on both MacOS 12 and MacOS 15.

Re: What I'm adding, and what I'm planning next...

by richmond62 » Thu Aug 29, 2024 2:48 pm

Just got back:
-
SShot 2024-08-29 at 17.47.27.png
SShot 2024-08-29 at 17.47.27.png (360.06 KiB) Viewed 8701 times
-
That must be a record or something. 8-)

Let's do a compare & contrast thing:
-
SShot 2024-08-29 at 17.49.56.png
SShot 2024-08-29 at 17.49.56.png (29.32 KiB) Viewed 8699 times
-
3 minutes 15 seconds

Re: What I'm adding, and what I'm planning next...

by tperry2x » Thu Aug 29, 2024 2:33 pm

richmond62 wrote: Thu Aug 29, 2024 10:40 am ...if you lob me the link to the new beta . . .
Ah, just seen this - I can see from your screenshot that you have since downloaded the update from yesterday....
richmond62 wrote: Thu Aug 29, 2024 12:53 pm Building a DW Pro standalone; waiting at 7 minutes . . . and NOTHING inside the build folder yet.
I am going shopping and leaving the thing to churn: back in about 90 minutes.
That's crazy. What about if you build a simple standalone from a new stack - something with just a button or a text field on a single new card?

Meanwhile, I'll create an image-heavy stack and see if I can make a standalone with it. It'll likely be tomorrow (friday) as real life things are keeping me preoccupied.

Re: What I'm adding, and what I'm planning next...

by richmond62 » Thu Aug 29, 2024 12:53 pm

SShot 2024-08-29 at 15.52.26.png
SShot 2024-08-29 at 15.52.26.png (30.87 KiB) Viewed 1458 times
-
Building a DW Pro standalone; waiting at 7 minutes . . . and NOTHING inside the build folder yet.

I am going shopping and leaving the thing to churn: back in about 90 minutes.

Re: What I'm adding, and what I'm planning next...

by richmond62 » Thu Aug 29, 2024 10:40 am

So: domestic complications here: but between 3 and 6 pm your time I will be in my school with my MacOS 15 box.

So if you lob me the link to the new beta . . .

Re: What I'm adding, and what I'm planning next...

by richmond62 » Wed Aug 28, 2024 8:51 pm

Clever stuff. 8-)

Re: What I'm adding, and what I'm planning next...

by tperry2x » Wed Aug 28, 2024 8:48 pm

richmond62 wrote: Wed Aug 28, 2024 5:49 pm One thing you could consider is if there is a way to properly time how long building standalones takes.
That's a good idea. I've worked that into the beta update for when you download that tomorrow.
If the build takes under a second, you get:
time-1.png
time-1.png (7.89 KiB) Viewed 1675 times
If it takes longer, you get:
time-2.png
time-2.png (7.79 KiB) Viewed 1675 times

Re: What I'm adding, and what I'm planning next...

by richmond62 » Wed Aug 28, 2024 5:49 pm

One thing you could consider is if there is a way to properly time how long building standalones takes (rather than my subjective impression), I can run off DW Pro standalones with LC 963, OXT Lite 107, and 108 tester.

Top