Page 1 of 3

Thinking about what we can add

Posted: Tue Jul 16, 2024 2:05 pm
by richmond62
How about .webp images as they seem to be proliferating like rabbits?

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 2:08 pm
by richmond62
Non-quadrangular buttons?

Start with round ones.

Pent, Hex, Oct?
-
Screenshot 2024-07-16 at 17.10.24.png
Screenshot 2024-07-16 at 17.10.24.png (13.97 KiB) Viewed 994 times
-
Faking buttons with Polygonal vector graphics . . . no 3D . . . not the same.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 2:22 pm
by richmond62
Make the 'SpeechBubble' graphic capable of taking editable text (like a text field) rather than having to group it with a text field:
-
Screenshot 2024-07-16 at 17.21.37.png
Screenshot 2024-07-16 at 17.21.37.png (33.6 KiB) Viewed 991 times
-
OK, OK: I wondered if I wasn't being overly critical, so I tried:
-
Screenshot 2024-07-16 at 17.54.03.png
Screenshot 2024-07-16 at 17.54.03.png (34.95 KiB) Viewed 988 times
-
BUT . . . 'clunk, click, every trip.'

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 3:07 pm
by tperry2x
When I said things were can add, I meant user guides and documentation.

Also engine improvements and fixes. Someone getting the Mac version to compile without error, not on about arm support - just getting a compile to succeed would be a start.

The windows version of the engine updated, and the gyp build tool eliminated / swapped out.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 3:52 pm
by richmond62
When I said things were can add, I meant user guides and documentation.
Obviously that was not clear enough for me to work out. 8-)

Anyway, 'tis not a bad thing to have a place for suggestions.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 3:55 pm
by richmond62
With regard to this:
-
Screenshot 2024-07-16 at 17.54.03.png
Screenshot 2024-07-16 at 17.54.03.png (34.95 KiB) Viewed 983 times
-
This is a good example of the sort of 'widget' (locked group?) we could run up inwith xTalk.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:15 pm
by richmond62
While, currently, you have 2 Dictionary stacks (or ways to access the Dictionary information).

I wonder if there is a way you could 'reintegrate' the LC Dictionary for people who may prefer that style?

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:26 pm
by tperry2x
Okay, multiple points to unpack here...

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:29 pm
by tperry2x
With the grouped objects (and yes, I agree - the term 'Widget' is so ambiguous)
uiobjects.gif
uiobjects.gif (121.55 KiB) Viewed 979 times
Do you remember I previously experimented with buttons that had a load of grouped objects, with the view to having this as a palette - a bit like Mark's powerTools palette, where you can choose various button styles.

Okay - so maybe not styled as MacOS 10.6 ones - as I shouldn't really be ripping off Apple's UI inside OXT, but you get the idea - we can have a load of preset buttons from a selectable panel.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:30 pm
by richmond62
Screenshot 2024-07-16 at 19.27.54.png
Screenshot 2024-07-16 at 19.27.54.png (400.5 KiB) Viewed 977 times
-
The process is very easy indeed. 8-)

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:32 pm
by tperry2x
richmond62 wrote: Tue Jul 16, 2024 4:15 pm While, currently, you have 2 Dictionary stacks (or ways to access the Dictionary information). I wonder if there is a way you could 'reintegrate' the LC Dictionary for people who may prefer that style?
I probably could, and this would require a lot more work. If you have tried to build a dictionary stack - it's not as easy as you first might think, but could be done to 'mimic' the LCC style a bit more. The reason the dictionary doesn't display all the entries upon open is purely one of lag and loading time. This is why it only starts searching after you've typed 3 characters or more - to keep the number of responses returned and the lag down.

NOT an easy process if you don't want to use a browser stack. Which I don't. Because of issues with the browser 'widget'. As mentioned multiple times, and not going over all that again.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:36 pm
by richmond62
"Lag time" . . .
-
Screenshot 2024-07-16 at 19.34.18.png
Screenshot 2024-07-16 at 19.34.18.png (282.21 KiB) Viewed 972 times
-
Nope.

Presumably you have not included new terms in the Dictionary???

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:43 pm
by richmond62
The only snag I can see with the LC 8.2 and so on Dictionaries is their web browser thingy which is a non-starter on Linux.

I have none of my pre-Apple-went-bonkers Macs currently connected, but I will dig out the revDictionary stacks from LC 7 and LC 6 and see if they will behave themselves in these respects:

1. Cross-platform.

2. Displaying the dictionary information stored inwith the IDE.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:45 pm
by tperry2x
richmond62 wrote: Tue Jul 16, 2024 4:36 pm Presumably you have not included new terms in the Dictionary???
Nope, because I don't know how.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:47 pm
by richmond62
Nope, because I don't know how.
Oh, Sh*t.

Where are the Dict info source files stored?
file:///Users/richmond/Library/Application%20Support/RunRev/Documentation%20Cache/8_2_0_dp_2_community/api.html
Time to get out my long-armed shovel. 8-)

Ahhhhhh: very sexy:
-
Screenshot 2024-07-16 at 19.54.39.png
Screenshot 2024-07-16 at 19.54.39.png (64.56 KiB) Viewed 962 times
-
BUT, where are the OXT files?

(unless, of course, they are just @#$%^&ing the 963 ones.)

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 4:56 pm
by tperry2x
Paul did do a huge guide previously, trying to explain how to add items to the dictionary, how it's loaded - how the IDE is supposed to pick up on it....
It's generated dynamically when the IDE starts up, and when plugins are added.

I hope I don't offend him, but it was the same problem as livecode builder - it was not easy to follow and not too long after reading into it, it was still a total mystery.

If it was "up to me", the database would be gone tomorrow.
What I'd do instead of the database is automate a recursive script to take each dictionary entry and generate a new card with that name on a new stack. A stack comprising of however many cards (as the documentation says there's "no limit" to the number you can have)... so, then if we need to update a record in future - you navigate to the card in that stack and edit the entry on that card. Simples.

However, when I say "up to me", I realise I'm not just working to satisfy myself here - I am trying to listen to other people's suggestions (believe it or not :lol: ) and that's the only reason why I've persisted with the database approach. If not, like I say, it would be toast by now.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 5:01 pm
by tperry2x
Quote myself here but:
It's generated dynamically when the IDE starts up, and when plugins are added.
This is the reason going away from a database approach is frowned upon I think, because if a user adds documentation for their plugin, how do we pick up on it in our dictionary?

Well, quite simply we have the dictionary card load in text files from inside the custom plug in folder and create the card as needed.
I think that's the simpler approach. I've not really seen any noteworthy examples where a third party plugin author has written bits that get patched-in to the dictionary ad-hoc (but then, in all honesty I've not been looking - because I wouldn't know WHAT to look for) - we've come back full circle to that old chestnut :D

Whereas, if the dictionary had tabs for newly added custom plugins, you could browse through the syntax and that would give you an idea how to use the plugin.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 5:04 pm
by richmond62
Aha: here are the 'little dears':
-
Screenshot 2024-07-16 at 20.00.02.png
Screenshot 2024-07-16 at 20.00.02.png (263.56 KiB) Viewed 962 times
-
Mind you, how one gets into one of the files in one of those folders in a meaningful way is another big, fat question.

And which one. ROFL!

At the risk of insulting your Mac knowledge I heartily recommend:

https://www.barebones.com/products/bbedit/

That doesn't look very dynamic. 8-)

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 5:08 pm
by tperry2x
So the IDE traverses each one of these subfolders, looking for documentation, as far as I understand it.
Then it somehow amalgamates this into the dictionary when building the api and html files for viewing later.

(by the way, I'll find that bit of code - because it is an absolute nightmare)

It adds a considerable lag to the startup time, so removing it would speed things up.
Calling it as a stack would also only load it into memory as needed. AND no browser required.

That's if I was doing what I wanted.

Re: Thinking about what we can add

Posted: Tue Jul 16, 2024 5:15 pm
by richmond62
Well, opening that api.html file with a browser is a bucket of brown stuff:
-
Screenshot 2024-07-16 at 20.13.01.png
Screenshot 2024-07-16 at 20.13.01.png (53.18 KiB) Viewed 957 times
-
If I enter a search term in the 'search' box nothing happens at all.