Re: Return Total of a Given Repeated Number in a List

2024-05-24 Thread Mike Kerner via use-livecode
i LOVE all of these solutions.
chunking is so great.
in every language i use, there are two things i always implement:
* chunking
* quicken date shortcuts

On Fri, May 24, 2024 at 2:56 AM Andreas Bergendal via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Another way to do it is this:
>
> function countOccurrences pString
>repeat for each item tItem in pString
>   add 1 to tFrequencyArray[tItem]
>end repeat
>
>return tFrequencyArray
> end countOccurrences
>
> To get the number of 2’s, just extract tFrequencyArray[2] etc.
> The advantage is that you get a frequency list (array) of ALL the items in
> one go.
>
> The bonus advantage is that you also get a list of unique values, by
> getting the keys of tFrequencyArray.
> So it also serves as a duplicate-clearing function, which is sometimes
> handy.
>
> /Andreas
>
>
> > 24 maj 2024 kl. 07:08 skrev Roger Guay via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Very clever, Mike. I never thought to use itemDelimiter this way. I’ll
> have to play with this.
> >
> > Thanks very much,
> >
> > Roger
> >
> >> On May 23, 2024, at 7:37 PM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> just spitballing:
> >> let's call our containers "tSearchingFor" and "tSearchString"
> >>
> >> *set* the itemDelimiter to comma & tSearchString & comma
> >>
> >> *put* the number of items in tSearchingFor - 1 into tNum
> >>
> >> *if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to
> tNum
> >>
> >> *if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to
> tNum
> >>
> >> On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>>
> >>> Hi all,
> >>>
> >>> Please, what’s the easiest way to return the total number of a given
> >>> repeated number in a list of numbers? IOW, how many times is 2
> repeated in
> >>> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help.
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> Roger
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >>> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>
> >>
> >>
> >> --
> >> On the first day, God created the heavens and the Earth
> >> On the second day, God created the oceans.
> >> On the third day, God put the animals on hold for a few hours,
> >>  and did a little diving.
> >> And God said, "This is good."
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Return Total of a Given Repeated Number in a List

2024-05-23 Thread Mike Kerner via use-livecode
just spitballing:
let's call our containers "tSearchingFor" and "tSearchString"

*set* the itemDelimiter to comma & tSearchString & comma

*put* the number of items in tSearchingFor - 1 into tNum

*if* tSearchString begins with tSearchingFor & comma *then* *add* 1 to tNum

*if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum

On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Hi all,
>
> Please, what’s the easiest way to return the total number of a given
> repeated number in a list of numbers? IOW, how many times is 2 repeated in
> a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help.
>
>
> Thanks,
>
> Roger
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Saving data in standalone

2024-05-16 Thread Mike Kerner via use-livecode
this is also how levure operates, so if you build with levure, you can just
do this with stacks in the project

On Thu, May 16, 2024 at 5:08 PM Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> You can save external stacks or created on the fly stacks where ever you
> have *write* (and read) permission on your OS.
>
> Increasingly, whether macOS or Windows, that is not the Applications
> (macOS) or Program Files/Program Files (x86) (Windows) folders. I find
> the SAFEST place to save something is using
> specialFolderPath("documents") and then create a folder structure for
> your company or app in the user's Documents folder. OSes are becoming
> more and more "sandboxed" to prevent malware and dumb user mistakes from
> wrecking apps or the OS itself.
>
>
> On 5/16/2024 4:43 PM, Peter Bogdanoff via use-livecode wrote:
> > Craig,
> >
> > Saving: the stacks within the MacOS package and the Windows Applications
> folders can be saved—within that location?
> >
> > Can new stacks/files be written to those same folders?
> >
> > Peter
> >
> >> On May 16, 2024, at 4:26 PM, Craig Newman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> I did not explicitly mention that any and all of the attached stacks
> are savable.
> >>
> >> Craig
> >>
> >>> On May 16, 2024, at 1:31 PM, Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> On 5/16/2024 12:58 PM, Paul Dupuis via use-livecode wrote:
>  save that stack under a customer file extension
> >>> That should have said "custom file extension"
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WebDeployHelper tool - the LC10 web app toolbox

2024-05-15 Thread Mike Kerner via use-livecode
seconding on the compiler as the biggest thing. (you owe me a year, lc. i
paid for it)
my #2 priority would be more effort on mobes (long paragraph deleted -
you're welcome).
but i could be convinced that #3 could be web, if it wasn't a squirrel,
too. (you also owe me a year, here, lc).


On Wed, May 15, 2024 at 12:31 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Yes, my top priority would definitely be the compiler, and second would be
> seamless standalone app building. I would love a true compiled version of
> my apps, but barring that, being able to build ALL my app for all platforms
> in one pass, and then being able to build again without having to quit and
> relaunch would be nice.
>
> But I also understand that the Covid Debaucle has left a lot of companies
> stressed for resources. So I will still renew my subscriptions, but I do
> not think I will invest anymore in any new technologies until the ones I
> have already invested in come to fruition.
>
> Bob S
>
>
> > On May 15, 2024, at 9:20 AM, Curry Kenworthy via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Andreas:
> >
> > > all it’s features really should be available in the standalone
> > > builder of the first stable release of LC 10
> >
> > Indeed. Another context of ...
> >
> > Richard Gaskin (Oct 13, 2023):
> >
> > > SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY.
> >
> > This is a true classic, the #1 best comment last year!
> >
> > Mike:
> >
> > > my disappointment with lc's eternal chasing of the next squirrel ...
> > > ooh! look! web apps! squirrel!
> >
> > I'm glad you brought that up; a real gem - the #2 comment last year.
> >
> > Best wishes,
> >
> > Curry Kenworthy
> >
> > Radically Innovative Christian LiveCode Development
> > "PASSION for Elegant, Efficient Code!"
> > http://livecodeconsulting.com/
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WebDeployHelper tool - the LC10 web app toolbox

2024-05-15 Thread Mike Kerner via use-livecode
4d's qodly, which is, imho, even a more promising web dev tool, is also
stalled, and has been stalled for almost six months.
i can't hide my disappointment with lc's eternal chasing of the next
squirrel (script compiler is now 17 months overdue because, ooh! look! web
apps! squirrel!). however, i am not at all surprised that they are in a
slog, at this point. how many fullstack web dev tools are there? (i'm not
being sarcastic. i've looked for fullstack web dev tools and come away
wondering why there are so few, and why they all suck)

On Tue, May 14, 2024 at 4:47 PM Andreas Bergendal via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks Craig. This particular project is unlikely to be acknowledged by
> the mothership though, as it addresses (and thereby highlights) the
> shortcomings of the current LC 10 dp versions available. But I hope that I
> will not need to maintain this tool for very long, as all it’s features
> really should be available in the standalone builder of the first stable
> release of LC 10 - at least if LC 10’s web deploy capability is intended to
> be one of its selling points...
>
> In the meantime, I’m trying to make this tool a key to unlocking some of
> LC 10’s web app potential.
> ’Cause I want to build great web apps now, not later! :D
>
> /Andreas
>
>
> > 13 maj 2024 kl. 23:45 skrev Craig Newman via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > These high level projects NEED to be touted in the LiveCode website.
> Success stories are great salesmen. Is Scotland listening??
> >
> > Craig
> >
> >> On May 13, 2024, at 4:09 PM, William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> Andreas:
> >> That is simply wonderful! I'll try it out.
> >> Bill
> >> William A. Prothero, PhD
> >> Prof Emeritus, Dept of Earth Science
> >> University of California, Santa Barbara
> >>
> >>> On May 13, 2024, at 12:50 PM, Andreas Bergendal via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> WIS_WebDeployHelper v1.0.2 is now out. A significant enhancement is
> that it is now possible to simply hit the Test button to launch a test
> build in your web browser - including all your added advanced features -
> without any need to first upload to a web server.
> >>>
> >>> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest
> >>>
> >>> /Andreas
> >>>
> >>>
>  5 apr. 2024 kl. 17:44 skrev Alex Tweedly via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>  That's cool !   I really like those 'slide-out' left buttons.
> 
>  Thank you very much for this.
> 
>  Alex.
> 
> 
> > On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote:
> > And as a follow-up on this, here is also a demo web app created with
> the help of WebDeployHelper 1.0.1:
> >
> > https://wheninspace.com/WebDeployHelperTest/
> >
> > To back my words! :D
> >
> > /Andreas
> >
> >
> >> 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> thank you for making this available to the community.
> >>
> >> On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> +1
> >>>
> >>> Ralph DiMola
> >>> IT Director
> >>> Evergreen Information Services
> >>> rdim...@evergreeninfo.net
> >>>
> >>> -Original Message-
> >>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com]
> On
> >>> Behalf Of William Prothero via use-livecode
> >>> Sent: Thursday, April 04, 2024 4:48 PM
> >>> To: How to use LiveCode
> >>> Cc: William Prothero
> >>> Subject: Re: WebDeployHelper tool - the LC10 web app toolbox
> >>>
> >>> Andreas,
> >>> This sounds really great! It encourages me to start working with
> web
> >>> apps.Thanks for your contribution.
> >>> Best,
> >>> Bill
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> 

Re: Livecode startup messages...

2024-05-08 Thread Mike Kerner via use-livecode
this is not just a lc issue
we use 4d, extensively, and every time a 4d client starts on windows, the
same message appears

On Fri, May 3, 2024 at 6:20 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Interesting. As I’ve mentioned I install and provide IT support for
> copiers and printers. Ever since Windows 8 (I believe) Microsoft has been
> providing built in drivers for these devices, and they use what is called a
> WSD (Windows Service Daemon) port instead of a typical TCP/IP port.
>
> If you go to install a printer and you see a list of icons representing
> the discovered printers on the network, NEVER EVER USE THEM! Manufacturers
> will not support them, and they cause all kinds of issues. ALWAYS select
> “The device I want isn’t listed” and use the standard TCP/IP method of
> installing a printer, or better yet the manufacturer probably supplies an
> executable either downloaded or on a CD ROM. Use that.
>
> Of course, that does not help LC devs who are deploying apps to end users
> who cannot be told what to do.
>
> Bob S
>
>
> > On May 3, 2024, at 2:33 PM, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > There was a problem in the past where standalones were LC IDE, LC
> Instaler and standalones were crashing on startup.
> >>>
> > This is what Panos wrote about it:
> > We recently fixed a bug (affecting mainly Windows 11) where the LC
> > installer, the LC IDE and Windows standalones were crashing on startup.
> It
> > turned out this was caused if some generic printer drivers were installed
> > in the device, and installing the official printer drivers from the
> > vendor's website prevented the crash. We had reports for Brother
> printers,
> > Epson and HP if I remember correctly.
> >
> > The fix we added did fix the crash, but in some cases caused a delay on
> > startup, if the device still had the "generic" printer driver installed.
> > <<
> >
> >
> > Maybe there is a regression in some way that LC now does not crash but
> shows the messages.
> >
> > Could you try the following?
> >
> > 1. Open Windows Task Manager
> > 2. Search for a process named "Spooler Subsystem app" or just "Print
> > Spooler"
> > 3. Force quit this process
> >
> > If this solves it, then it seems to be a regression in the new LC dp
> builds.
> >
> > Regards,
> >
> > Matthias
> >
> >
> >
> >
> >> Am 03.05.2024 um 20:16 schrieb Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> I had not searched the forums, but I just did for "Waiting for printer"
> and "printer connections" and neither phrase turned up anything related to
> the dialog that appears on startup (unfortunately). Maybe under another
> search term, but the general term of "printer" returns 38 screens of forum
> messages! Good suggestion though. Thank you.
> >>
> >>
> >> On 5/3/2024 1:43 PM, Bob Sneidar via use-livecode wrote:
> >>> I think this has come up before, but I forget the resolution. Did you
> search the forums?
> >>>
> >>> Bob S
> >>>
> >>>
>  On May 3, 2024, at 10:40 AM, Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>  When LC 9.6.11 or 9.6.12rc1 starts up OR (more importantly to me)
> Standalones build with either of those versions starts up, on Windows 11,
> there is a dialog that appear stating "Waiting for printer connections..."
> 
>  This dialog may appear on earlier versions - I forget if I had seen
> it previously.
> 
>  Is there some setting to prevent or hide this dialog? In my
> standalone app, I have customers asking what is it and find it "annoying".
> 
> 
>  ___
>  use-livecode mailing list
>  use-livecode@lists.runrev.com
>  Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
>  http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> 

Re: LC compilation

2024-04-30 Thread Mike Kerner via use-livecode
if it wasn't the other kind, i wouldn't have anything to do

On Tue, Apr 30, 2024 at 11:10 AM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sometimes, I am very good at coding. It’s all the other times that
> presents problems. ;-)
>
> Bob S
>
>
> On Apr 29, 2024, at 6:30 PM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> sometimes, it is very good at coding
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC compilation

2024-04-29 Thread Mike Kerner via use-livecode
well, bob, since 10 was supposed to have an ai assistant as part of it...
gpt 4 is pretty good, with fairly simple stuff, with some languages. it has
not done well with anything LC that i've thrown at it. it keeps
hallucinating all sorts of things, like commands that don't exist, whole
documentation pages that don't exist, etc. that has not changed.
yesterday, and again, today, i tried to get it to correctly answer a c++
question regarding a robot i'm hacking, but it repeatedly failed.
but sometimes, it is very good at coding, especially if i give it some more
mainstream code (say in JS, or CSS), and ask it to explain to me why the
code isn't working.
i also saw, today, that zdnet tested microsoft's copilot against other
llm's on a coding exercise, and...it didn't go well (
https://www.zdnet.com/article/yikes-microsoft-copilot-failed-every-single-one-of-my-coding-tests
)

On Mon, Apr 29, 2024 at 7:32 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> That should read GROKING stupid spell correct. Seemed like a good idea at
> the time…
>
> Bob S
>
>
> On Apr 29, 2024, at 4:28 PM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> I have a hard enough time growing
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC compilation

2024-04-29 Thread Mike Kerner via use-livecode
any compiler chatter?
asking for an interested party

On Mon, May 29, 2023 at 7:26 PM Mark Smith via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Mike, sorry I thought it would have been copied with the reply. The
> original post from Skip Kimpel was more or less asking if LC is compiled.
> The exact post was…
>
> "Wait… what?  I have been away from this list for a while, LC is
> not currently compilable??
>
> SKIP”
>
> I do have a question based on your reply. You indicate LC doesn’t compile
> but then go on to list all of the stuff it compiles into a standalone
> application (most of which, such as the LC engine, extensions, libraries,
> etc) are just (I would argue) libraries when it builds an application.
> Taking the definition of compiler as “a process to convert (a program) into
> a machine-code <
> https://www.google.co.uk/search?client=safari=mac_bm=machine-code=AMnBZoFOMBUphduq9VwZxsuReC7YV6BL3UJP9cGsG2J_mNMPwgWXqX8HuVPC8gyFB81-plMkPkEzmbteRge93xxj5qVwJdYjXSPc2zeY_vz8RKYr_9tAP6Q%3D=1>
> or a lower-level <
> https://www.google.co.uk/search?client=safari=mac_bm=lower-level=AMnBZoG9fGMZkoPgk-g4eVoaZFdERA6BgFgTvewAwu3qykvLOcqyjsbvyNVL0k7ItNaeg3uetPXhm4wenDJM9iNdxIwXbgNT_MfjGFunU2ur_NpUowaHa-E%3D=1>
> form in which the program can be executed.” I would argue it “sort of” does
> that in that the included scripts (as I understand it) are not in their
> original editable form but have been converted into something that is more
> easily interpreted by the engine. I know it’s not ML, nor is it bytecode,
> but it’s one step removed from the actually editable text in the script
> editor. Would’t you agree?
>
> The true advantage of the byte code, I believe, is that it brings LC in
> line with other similar compilers and therefore allows a more sophisticated
> (and standardised) approach to code optimisation. Or at least that will be
> one of the advantages. Obfuscation of code, as you mention, is another
> (although I have never personally worried about anyone wanting to steal my
> code ).
>
> Mark
>
>
> > On 29 May 2023, at 5:56 pm, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I don't see the original post, so I can only part-comment on this.
> > LC doesn't compile, per se. It builds standalone apps for all
> > platforms, but those apps include the LC engine, extensions,
> > libraries, and your stack(s). There is an obfuscator, but, no, no
> > bytecode or ML, yet. The apps behave as you would expect a standalone
> > app to behave, but, with a disassembler, you will have an easier time
> > with them than you would with a ML or BC compiled app.
> > The good news is that the current architecture makes remote debugging
> > from mobes much simpler, and, whether you are on a desktop or mobile
> > platform, you can include functionality such as side-loading and
> > real-time code execution trivially.
> > For example, let's say you have a debug build. If you include a button
> > in your debug build, with the following script, you can prompt for a
> > command, and execute it, live, in your standalone:
> >
> > on mouseUp
> >   global gDo
> >   ask "Do what?" with gDo
> >   if it is not empty then
> >  put it into gDo
> >  do gDo
> >   end if
> > end mouseUp
> >
> > The above script will also, as I am sure you deduced, store the last
> > command you typed, and prompt you with it, the next time you press the
> > button.
> > This is, of course, especially useful if you want to invoke the
> > debugger and then debug some routine. You can do that like by clicking
> > the button I just described, and then typing into the dialog:
> > breakpoint;send "mouseUp" to button "someButton" # steps you through
> > the debug button script, then to the mouseUp handler of "someButton"
> >
> > We are all patiently waiting for the script compiler, which, as of
> > last conversation with Mark W., is going to be a bytecode compiler,
> > not a ML compiler.
> >
> > On Mon, May 29, 2023 at 6:27 AM Mark Smith via use-livecode
> >  wrote:
> >>
> >> Hi Skip,
> >>
> >> I’m surprised no one has taken a stab at answering this. I'm certainly
> no expert on the internal workings of LC or compilers but I can take a stab
> at articulating what I think the answer is, and when I get it wrong someone
> else can jump in to correct me (I should probably know this stuff better
> anyway).
> >>
> >> So if I am correct, the current environment converts LC script into
> some sort of (possibly bi

Re: web

2024-04-29 Thread Mike Kerner via use-livecode
any word on web? just curious

On Tue, Feb 13, 2024 at 5:09 AM Mark Smith via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> > On 13 Feb 2024, at 5:02 am, Curry Kenworthy via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > What doesn’t kill us ... makes us awesome and mighty. Life requires that
> faith and perseverance. Here’s hoping for a great 2024 for all, whatever it
> holds, and an even BETTER 2025!
> >
>
> My goodness Curry, how beautifully said. Thanks for sharing your thoughts.
> It reminds me of a quote I saw recently, “Resilience is my superpower”.
> Wishing everyone all the best in 2024.
>
> Mark
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Websockets ... again.

2024-04-27 Thread Mike Kerner via use-livecode
really? discuss.

On Sat, Apr 27, 2024 at 5:06 PM Bernard Devlin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> One thing to bear in mind is that Livecode does not support secure sockets
> (despite what the Dictionary might say).
>
> On Sat, Apr 27, 2024 at 12:31 AM Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> >
> > - How hard would it be to script it using LC's good socket support?
> >
> > Richard Gaskin
> > FourthWorld.com
> >
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Websockets ... again.

2024-04-26 Thread Mike Kerner via use-livecode
i'm interested in client side, especially on mobile. we have an app that is
in the wild that would be much better if we could stop pinging the server
every five seconds.

On Fri, Apr 26, 2024 at 4:10 PM Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Folks,
>
> Can we get a measure again as to the interest in web sockets implementation
> in livecode?
> As far as I know we still do not have one that is available or able to be
> contributed to,
> I'd be willing to put in some engineering time if there was help from
> others available.
> Here are the full specs.
> https://websockets.spec.whatwg.org/
> I have no idea how long this would take
> But I can see that one day in the not too distant future, it will no longer
> be optional.
> Thanks,
> Tom
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Windows on ARM...

2024-04-09 Thread Mike Kerner via use-livecode
paul,
lc apps that i built on win years ago are still running on win on arm (and
have been, for three years), so i'm guessing there is at least an emulation
mode.

On Tue, Apr 9, 2024 at 3:04 PM Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mothership people (or anyone in the community that may know this):
>
> Microsoft is expected to port and release Windows running on ARM chips
> (Surface laptops will use the Snapdragon X Elite processors from
> Qualcomm) this year. Announcement expected May 20, shipping - who knows
> when, but likely this year. This is to compete with Apple's M# chips.
>
> Will we have a dual build option in Livecode (or is one even needed)?
> And, for the BIG QUESTION, how long is it likely to be after Windows on
> ARM is released to the public before we see a LC version that supports it?
>
> I know, this is probably way ahead of any practical answer, but I know
> we WILL have customers asking us if our app (built on LC9.6.11) will run
> on Windows on ARM on day one.
>
> Paul Dupuis
> Researchware
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Xcode 15.01 working with LC?

2024-04-09 Thread Mike Kerner via use-livecode
i just did several builds with a similar setup, but my builds are
achieving, and installing (using apple configurator).
my test ipads are running 17.4.1 and 17.5 beta
i have had a problem with one of our test ipads, but i don't know if it's
related: mergAV isn't operating properly, but so far, it's only on one test
ipad. we'll see if the fleet chokes on it, or not.

On Tue, Apr 9, 2024 at 1:08 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I'm using LC 9.6.11 on an M1 Ventura with Xcode 15.0.1 (command line tools
> point there)
> I have built 2 of my apps and the both show splash screen then immediately
> crashes before first card is shown.
> I'm testing on an iPad mini iOS 12.5.7. When testing in the simulator it
> starts but the app never gets installed and the standalone builder windows
> hangs on "Launching app..." LC is unresponsive and a Force Quit is needed.
> Any ideas?
> Thanks
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf Of Mike Kerner via use-livecode
> Sent: Tuesday, April 09, 2024 9:33 AM
> To: How to use LiveCode
> Cc: Mike Kerner
> Subject: Re: Xcode 15.01 working with LC?
>
> just tried it, again, and then started digging.
> on the first attempt, i got the linking error then i fired up xc 15.0.1,
> and looked at the xcode command-line tools - sure enough, it was set to
> 14.2. i changed that to 15.0.1, and now the builds link with 9.6.11 and xc
> 15.0.1
>
>
> On Mon, Apr 8, 2024 at 2:15 PM Andreas Bergendal via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Just to complicate matters, though: In the Forum, two people have
> > confirmed successful iOS deployment with Xcode 15.0.1:
> > https://forums.livecode.com/viewtopic.php?f=49=38849
> >
> > /Andreas
> >
> >
> > > 6 apr. 2024 kl. 22:35 skrev Mike Kerner via use-livecode <
> > use-livecode@lists.runrev.com>:
> > >
> > > i should further note that in lc settings, if you select 15.0.1, you
> > > will get the green box like all's well, but during the build you
> > > will get an error, late.
> > >
> > > On Sat, Apr 6, 2024 at 4:34 PM Mike Kerner
> > > 
> > > wrote:
> > >
> > >> it does not work, at least with 9.6.11 here's where you can find
> > >> all the downloads, including xcode 15
> > >> https://developer.apple.com/download/all/?q=xcode
> > >>
> > >> On Sat, Apr 6, 2024 at 4:22 PM Klaus major-k via use-livecode <
> > >> use-livecode@lists.runrev.com> wrote:
> > >>
> > >>> Hi friends,
> > >>>
> > >>> I am just setting up a new Mac Mini M2 and could not find Xcode
> > >>> 15.0 as recommended by LCs release notes, only 15.01 on the Apple
> > >>> Dev download pages.
> > >>>
> > >>> Will that work with LC?
> > >>> Or does someone have a link to version 15.0?
> > >>>
> > >>> Thanks in advance!
> > >>>
> > >>>
> > >>> Best
> > >>>
> > >>> Klaus
> > >>> --
> > >>> Klaus Major
> > >>> https://www.major-k.de
> > >>> https://www.major-k.de/bass
> > >>> kl...@major-k.de
> > >>>
> > >>>
> > >>> ___
> > >>> use-livecode mailing list
> > >>> use-livecode@lists.runrev.com
> > >>> Please visit this url to subscribe, unsubscribe and manage your
> > >>> subscription preferences:
> > >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> > >>>
> > >>
> > >>
> > >> --
> > >> On the first day, God created the heavens and the Earth On the
> > >> second day, God created the oceans.
> > >> On the third day, God put the animals on hold for a few hours,
> > >>   and did a little diving.
> > >> And God said, "This is good."
> > >>
> > >
> > >
> > > --
> > > On the first day, God created the heavens and the Earth On the
> > > second day, God created the oceans.
> > > On the third day, God put the animals on hold for a few hours,
> > >   and did a little diving.
> > > And God said, "This is good."
> > > _

Re: Xcode 15.01 working with LC?

2024-04-09 Thread Mike Kerner via use-livecode
just tried it, again, and then started digging.
on the first attempt, i got the linking error
then i fired up xc 15.0.1, and looked at the xcode command-line tools -
sure enough, it was set to 14.2. i changed that to 15.0.1, and now the
builds link with 9.6.11 and xc 15.0.1


On Mon, Apr 8, 2024 at 2:15 PM Andreas Bergendal via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Just to complicate matters, though: In the Forum, two people have
> confirmed successful iOS deployment with Xcode 15.0.1:
> https://forums.livecode.com/viewtopic.php?f=49=38849
>
> /Andreas
>
>
> > 6 apr. 2024 kl. 22:35 skrev Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > i should further note that in lc settings, if you select 15.0.1, you will
> > get the green box like all's well, but during the build you will get an
> > error, late.
> >
> > On Sat, Apr 6, 2024 at 4:34 PM Mike Kerner 
> > wrote:
> >
> >> it does not work, at least with 9.6.11
> >> here's where you can find all the downloads, including xcode 15
> >> https://developer.apple.com/download/all/?q=xcode
> >>
> >> On Sat, Apr 6, 2024 at 4:22 PM Klaus major-k via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> Hi friends,
> >>>
> >>> I am just setting up a new Mac Mini M2 and could not find
> >>> Xcode 15.0 as recommended by LCs release notes, only 15.01
> >>> on the Apple Dev download pages.
> >>>
> >>> Will that work with LC?
> >>> Or does someone have a link to version 15.0?
> >>>
> >>> Thanks in advance!
> >>>
> >>>
> >>> Best
> >>>
> >>> Klaus
> >>> --
> >>> Klaus Major
> >>> https://www.major-k.de
> >>> https://www.major-k.de/bass
> >>> kl...@major-k.de
> >>>
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >>> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>
> >>
> >>
> >> --
> >> On the first day, God created the heavens and the Earth
> >> On the second day, God created the oceans.
> >> On the third day, God put the animals on hold for a few hours,
> >>   and did a little diving.
> >> And God said, "This is good."
> >>
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Xcode 15.01 working with LC?

2024-04-06 Thread Mike Kerner via use-livecode
i should further note that in lc settings, if you select 15.0.1, you will
get the green box like all's well, but during the build you will get an
error, late.

On Sat, Apr 6, 2024 at 4:34 PM Mike Kerner 
wrote:

> it does not work, at least with 9.6.11
> here's where you can find all the downloads, including xcode 15
> https://developer.apple.com/download/all/?q=xcode
>
> On Sat, Apr 6, 2024 at 4:22 PM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hi friends,
>>
>> I am just setting up a new Mac Mini M2 and could not find
>> Xcode 15.0 as recommended by LCs release notes, only 15.01
>> on the Apple Dev download pages.
>>
>> Will that work with LC?
>> Or does someone have a link to version 15.0?
>>
>> Thanks in advance!
>>
>>
>> Best
>>
>> Klaus
>> --
>> Klaus Major
>> https://www.major-k.de
>> https://www.major-k.de/bass
>> kl...@major-k.de
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Xcode 15.01 working with LC?

2024-04-06 Thread Mike Kerner via use-livecode
it does not work, at least with 9.6.11
here's where you can find all the downloads, including xcode 15
https://developer.apple.com/download/all/?q=xcode

On Sat, Apr 6, 2024 at 4:22 PM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi friends,
>
> I am just setting up a new Mac Mini M2 and could not find
> Xcode 15.0 as recommended by LCs release notes, only 15.01
> on the Apple Dev download pages.
>
> Will that work with LC?
> Or does someone have a link to version 15.0?
>
> Thanks in advance!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Revisiting Lock Screen

2024-03-28 Thread Mike Kerner via use-livecode
what about switching to pg?

On Thu, Mar 28, 2024 at 1:24 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks Mike.
>
> I think I am going to have to come up with an alternative. Something like
> taking a snapshot of the window then overlaying it on the window while
> processing, then deleting it when done.
>
> The trouble is I have other windows open that will update because they are
> synching with the module I am working in. Also this won’t improve
> performance the way Lock Screen would (should).
>
> Bob S
>
>
> On Mar 28, 2024, at 9:31 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> didn't you say your code was modifying a dg?
> i see a couple of possible failure points:
> * the widget could be doing something unexpected
> * the dg could be unlocking the screen.
> you could also try two or more lock screens. i believe lock screen is
> additive. until idle.
>
> On Thu, Mar 28, 2024 at 12:22 PM Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>>
> wrote:
>
> Wow thanks for that! I think I remember now this came up before, and
> datagrids were the culprit.
>
> But that does seem odd, doesn’t it? Why would a screen lock interfere with
> the datagrid behavior? (That is rhetorical. Only the devs would know that.)
>
> Bob S
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Revisiting Lock Screen

2024-03-28 Thread Mike Kerner via use-livecode
didn't you say your code was modifying a dg?
i see a couple of possible failure points:
* the widget could be doing something unexpected
* the dg could be unlocking the screen.
you could also try two or more lock screens. i believe lock screen is
additive. until idle.

On Thu, Mar 28, 2024 at 12:22 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Wow thanks for that! I think I remember now this came up before, and
> datagrids were the culprit.
>
> But that does seem odd, doesn’t it? Why would a screen lock interfere with
> the datagrid behavior? (That is rhetorical. Only the devs would know that.)
>
> Bob S
>
>
> On Mar 28, 2024, at 8:48 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> there are many (many) datagrid functions and commands that unlock the
> screen,
> the behavior script for dg's is 11,597 lines long.
> i started copying/pasting the signature of them, but finally decided there
> were many too many. instead of deleting the rest of this post, i left them
> in place.
> i reiterate, i only went through around 2100 lines, or around 20% of the dg
> behavior. i don't know how many more there are.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Revisiting Lock Screen

2024-03-28 Thread Mike Kerner via use-livecode
there are many (many) datagrid functions and commands that unlock the
screen,
the behavior script for dg's is 11,597 lines long.
i started copying/pasting the signature of them, but finally decided there
were many too many. instead of deleting the rest of this post, i left them
in place.
i reiterate, i only went through around 2100 lines, or around 20% of the dg
behavior. i don't know how many more there are.

*command* _SetScrollbarWidth pWidth

*private* *command* _CreateDragImageFromControl pControl

*private* *command* _CreateDragImageFromIndex pIndex

*private* *command* _PositionDropIndicator pMouseH, pMouseV

*command* dgArrowKey pDirection

*command* dgMouseDown pMouseBtnNum

*command* EditCellOfIndex pColumn, pIndex

*command* EditKeyOfIndex pKey, pIndex

*command* DeleteIndexes pIndexes

*command* SortDataByKey pKey, pType, pDirection, pCaseSensitive

*command* ReverseSort pColumn

*command* HiliteAndStoreSortByColumn pColumn

*private* *command* _SortByColumn pColumn

*command* SortByColumn pColumn

*command* ResizeToFit

*private* *command* _DrawList

*command* dgResetList

*command* RefreshList

*command* ResetControl

*private* *command* _ResetAllControls

*private* *command* _ResetData

*private* *command* _ToggleVScrollBarVisibility pBoolean

*private* *command* _ToggleHScrollBarVisibility pBoolean

*private* *command* _DrawListWithProperties pStartingSequence,
pSetVScrollTo, pForceRefresh, pCallback, pCallbackContext

*private* *command* _DeleteControls



On Thu, Mar 28, 2024 at 11:31 AM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The issue may be with the datagrids. It appears that Lock Screen is not
> preventing changes to the datagrids from refreshing the screen.
>
> Bob S
>
>
> > On Mar 28, 2024, at 8:28 AM, Bob Sneidar 
> wrote:
> >
> > Hi Craig thanks for responding. I am not updating fields per se as the
> only thing changing is the datagrid selection(s) and the status of the
> checkbox.
> >
> > Curiously I am not seeing the tab widget selection change but I am
> seeing the hiding and showing of the datagrids as each tab is selected.
> >
> > Bob S
> >
> >
> >> On Mar 28, 2024, at 5:48 AM, Craig Newman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> Bob.
> >>
> >> I have no idea what you are facing with such a basic issue. To be sure,
> please, somewhere in the stack you are having the issue, make a button and
> a field and run this:
> >>
> >> on mouseup
> >>
> >> lock screen  —comment out for the first run
> >>
> >> repeat 3
> >>
> >> put random(999) into fld 1
> >>
> >> wait 20
> >>
> >> end repeat
> >>
> >> end mouseup
> >>
> >>
> >>
> >> Do you see the two scenarios above working normally? That is, with the
> lock screen disabled, you see three numbers in succession, and with it
> enabled, you only see the last one?
> >>
> >> Craig
> >>
> >>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: FindIndex question

2024-03-26 Thread Mike Kerner via use-livecode
other way, alex. use the pg, not the dg, for now.
BUT, here's a good reason to use the dg - you can fix issues with it. the
source of the pg is closed, and you can't get at it, AFAIK. check the issue
tracker for issues with it. you can't address them.
please, no comments from the peanut gallery on the status of lcb. that's a
separate problem.
SO, if the script compiler was in the wild, i would expect the dg to be
faster. would it be as fast as the pg? dunno. but, again, you could work on
it.

On Mon, Mar 25, 2024 at 6:07 PM Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Bob - I think you've mentioned these functions (and posted code, or a
> pointer to code, for them) before (but I couldn't find it). Any chance
> you could re-post (or just send to me, or ...)
>
> Mike - I couldn't see in the thread *why* you want to use a dg ather
> than a pg ? Is there a missing capability you need ? Or some non-obvious
> (to me) reason to avoid pg?
>
> Thanks,
>
> Alex.
>
> On 25/03/2024 18:50, Mike Kerner via use-livecode wrote:
> > i guess what i'm wondering is how quickly or slowly the dg will render,
> if
> > the dgArray is large. it seems to be slower, when the array is larger.
> >
> > On Mon, Mar 25, 2024 at 2:48 PM Mike Kerner 
> > wrote:
> >
> >> i never heard of it called an "elevator". I anyways heard "thumb"
> >>
> >> On Mon, Mar 25, 2024 at 2:08 PM Bob Sneidar via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> I’ve thought about that. A temporary memory database would not appear
> to
> >>> the user to be faster, as the initial query for a large dataset will
> happen
> >>> all at once during which Livecode would be unresponsive. And if you
> page
> >>> the queries from the live database, re-storing the data in a memory
> >>> database would just be added time.
> >>>
> >>> You could use send in time to cache forward and backwards a few pages,
> >>> and in that case a memory database could help, but if the user drags
> the
> >>> elevator box (how many people know what THAT is) then you go back to
> square
> >>> 1 concerning efficiency.
> >>>
> >>> Bob S
> >>>
> >>>
> >>>> On Mar 25, 2024, at 10:34 AM, Mike Kerner via use-livecode <
> >>> use-livecode@lists.runrev.com> wrote:
> >>>> i would be curious to know if an in-memory sqlite db increases scroll
> >>> speed
> >>>> with dg's.
> >>>> basically, you would live load the dg with pages from the db.
> >>>> i can't imagine that the dg is faster than the pg. everything i've
> tried
> >>>> with the pg is faster than the dg.
> >>>> just one more reason to resurrect the script compiler and release it.
> >>>>
> >>>> On Mon, Mar 25, 2024 at 11:16 AM Bob Sneidar via use-livecode <
> >>>> use-livecode@lists.runrev.com> wrote:
> >>>>
> >>>>> I wrote a findInArray() function that will convert an array to a
> memory
> >>>>> based SQL database, and one of the arguments is the SQL query
> >>> statement to
> >>>>> use on the database. I have another called FilterArray() which simply
> >>>>> iterates through the keys to output those matching a criteria.
> >>>>>
> >>>>> Bob S
> >>>>>
> >>>>>> On Mar 24, 2024, at 2:22 PM, Neville Smythe via use-livecode <
> >>>>> use-livecode@lists.runrev.com> wrote:
> >>>>>>
> >>>>>>> On 25 Mar 2024, at 3:00 am,Mike Kerner wrote:
> >>>>>>>
> >>>>>>> i don't know if you dove into the code, but it's too early to think
> >>>>> about
> >>>>>>> unpacking this, so  here's the code: ...
> >>>>>> Thanks Mike
> >>>>>>
> >>>>>> While I was aware of the optional parameters feature of LC commands
> I
> >>>>> have never used it I so was unfamiliar with the syntax. The penny had
> >>> never
> >>>>> dropped that the parameter list for a command is just an array, so
> >>>>> evidently you can actually send an array instead of a comma delimited
> >>> list
> >>>>>> Which means that you can send FindIndex a single parameter
> pKeyPairsA
> >>>>> which is an array with alternating colName,se

Re: FindIndex question

2024-03-25 Thread Mike Kerner via use-livecode
i guess what i'm wondering is how quickly or slowly the dg will render, if
the dgArray is large. it seems to be slower, when the array is larger.

On Mon, Mar 25, 2024 at 2:48 PM Mike Kerner 
wrote:

> i never heard of it called an "elevator". I anyways heard "thumb"
>
> On Mon, Mar 25, 2024 at 2:08 PM Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> I’ve thought about that. A temporary memory database would not appear to
>> the user to be faster, as the initial query for a large dataset will happen
>> all at once during which Livecode would be unresponsive. And if you page
>> the queries from the live database, re-storing the data in a memory
>> database would just be added time.
>>
>> You could use send in time to cache forward and backwards a few pages,
>> and in that case a memory database could help, but if the user drags the
>> elevator box (how many people know what THAT is) then you go back to square
>> 1 concerning efficiency.
>>
>> Bob S
>>
>>
>> > On Mar 25, 2024, at 10:34 AM, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > i would be curious to know if an in-memory sqlite db increases scroll
>> speed
>> > with dg's.
>> > basically, you would live load the dg with pages from the db.
>> > i can't imagine that the dg is faster than the pg. everything i've tried
>> > with the pg is faster than the dg.
>> > just one more reason to resurrect the script compiler and release it.
>> >
>> > On Mon, Mar 25, 2024 at 11:16 AM Bob Sneidar via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> >
>> >> I wrote a findInArray() function that will convert an array to a memory
>> >> based SQL database, and one of the arguments is the SQL query
>> statement to
>> >> use on the database. I have another called FilterArray() which simply
>> >> iterates through the keys to output those matching a criteria.
>> >>
>> >> Bob S
>> >>
>> >>> On Mar 24, 2024, at 2:22 PM, Neville Smythe via use-livecode <
>> >> use-livecode@lists.runrev.com> wrote:
>> >>>
>> >>>
>> >>>> On 25 Mar 2024, at 3:00 am,Mike Kerner wrote:
>> >>>>
>> >>>> i don't know if you dove into the code, but it's too early to think
>> >> about
>> >>>> unpacking this, so  here's the code: ...
>> >>>
>> >>> Thanks Mike
>> >>>
>> >>> While I was aware of the optional parameters feature of LC commands I
>> >> have never used it I so was unfamiliar with the syntax. The penny had
>> never
>> >> dropped that the parameter list for a command is just an array, so
>> >> evidently you can actually send an array instead of a comma delimited
>> list
>> >>>
>> >>> Which means that you can send FindIndex a single parameter pKeyPairsA
>> >> which is an array with alternating colName,searchStr values
>> >>>
>> >>> Setting up such an array is not particularly convenient for coding
>> >> however. My workaround had been to use a custom function hack
>> >>>
>> >>> function myFindIndex pDataGrid, pKeyPairs
>> >>>  — pKeyPairs is a comma delimited list such as
>> >> “colname1,str1,colname2,str2,..”
>> >>>
>> >>>   replace comma with quote & comma & quote in pKeyPairs
>> >>>   put “dispatch FindIndex to” && pDataGrid && “with” && quote &
>> >> pKeyPairs & quote into tCommandStr
>> >>>   do tCommandstr
>> >>>  put the result into tFoundIndex
>> >>>  ...
>> >>>
>> >>> A much more elegant (if probably no faster) solution is
>> >>>
>> >>> function myFindIndex pDataGrid, pKeyPairs
>> >>>  — pKeyPairs is a comma delimited list such as
>> >> “colname1,str1,colname2,str2,..”
>> >>>
>> >>>   set the columnDelimiter to comma
>> >>>   split pKeyPairs by column
>> >>>   dispatch “FindIndex" to pDataGrid with pKeyPairs
>> >>>  put the result into tFoundIndex
>> >>>  ...
>> >>>
>> >>>
>> >>> BTW, where did you find the source code for DataGrid handlers? I now
>> see
>> >> how one could write a FindIndices function to 

Re: FindIndex question

2024-03-25 Thread Mike Kerner via use-livecode
i never heard of it called an "elevator". I anyways heard "thumb"

On Mon, Mar 25, 2024 at 2:08 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I’ve thought about that. A temporary memory database would not appear to
> the user to be faster, as the initial query for a large dataset will happen
> all at once during which Livecode would be unresponsive. And if you page
> the queries from the live database, re-storing the data in a memory
> database would just be added time.
>
> You could use send in time to cache forward and backwards a few pages, and
> in that case a memory database could help, but if the user drags the
> elevator box (how many people know what THAT is) then you go back to square
> 1 concerning efficiency.
>
> Bob S
>
>
> > On Mar 25, 2024, at 10:34 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > i would be curious to know if an in-memory sqlite db increases scroll
> speed
> > with dg's.
> > basically, you would live load the dg with pages from the db.
> > i can't imagine that the dg is faster than the pg. everything i've tried
> > with the pg is faster than the dg.
> > just one more reason to resurrect the script compiler and release it.
> >
> > On Mon, Mar 25, 2024 at 11:16 AM Bob Sneidar via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> I wrote a findInArray() function that will convert an array to a memory
> >> based SQL database, and one of the arguments is the SQL query statement
> to
> >> use on the database. I have another called FilterArray() which simply
> >> iterates through the keys to output those matching a criteria.
> >>
> >> Bob S
> >>
> >>> On Mar 24, 2024, at 2:22 PM, Neville Smythe via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>>
> >>>> On 25 Mar 2024, at 3:00 am,Mike Kerner wrote:
> >>>>
> >>>> i don't know if you dove into the code, but it's too early to think
> >> about
> >>>> unpacking this, so  here's the code: ...
> >>>
> >>> Thanks Mike
> >>>
> >>> While I was aware of the optional parameters feature of LC commands I
> >> have never used it I so was unfamiliar with the syntax. The penny had
> never
> >> dropped that the parameter list for a command is just an array, so
> >> evidently you can actually send an array instead of a comma delimited
> list
> >>>
> >>> Which means that you can send FindIndex a single parameter pKeyPairsA
> >> which is an array with alternating colName,searchStr values
> >>>
> >>> Setting up such an array is not particularly convenient for coding
> >> however. My workaround had been to use a custom function hack
> >>>
> >>> function myFindIndex pDataGrid, pKeyPairs
> >>>  — pKeyPairs is a comma delimited list such as
> >> “colname1,str1,colname2,str2,..”
> >>>
> >>>   replace comma with quote & comma & quote in pKeyPairs
> >>>   put “dispatch FindIndex to” && pDataGrid && “with” && quote &
> >> pKeyPairs & quote into tCommandStr
> >>>   do tCommandstr
> >>>  put the result into tFoundIndex
> >>>  ...
> >>>
> >>> A much more elegant (if probably no faster) solution is
> >>>
> >>> function myFindIndex pDataGrid, pKeyPairs
> >>>  — pKeyPairs is a comma delimited list such as
> >> “colname1,str1,colname2,str2,..”
> >>>
> >>>   set the columnDelimiter to comma
> >>>   split pKeyPairs by column
> >>>   dispatch “FindIndex" to pDataGrid with pKeyPairs
> >>>  put the result into tFoundIndex
> >>>  ...
> >>>
> >>>
> >>> BTW, where did you find the source code for DataGrid handlers? I now
> see
> >> how one could write a FindIndices function to return all indices rather
> >> than just the first found … or even a general WHERE  search :-)
> >>>
> >>> Neville Smythe
> >>>
> >>>
> >>>
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/u

Re: FindIndex question

2024-03-25 Thread Mike Kerner via use-livecode
i would be curious to know if an in-memory sqlite db increases scroll speed
with dg's.
basically, you would live load the dg with pages from the db.
i can't imagine that the dg is faster than the pg. everything i've tried
with the pg is faster than the dg.
just one more reason to resurrect the script compiler and release it.

On Mon, Mar 25, 2024 at 11:16 AM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I wrote a findInArray() function that will convert an array to a memory
> based SQL database, and one of the arguments is the SQL query statement to
> use on the database. I have another called FilterArray() which simply
> iterates through the keys to output those matching a criteria.
>
> Bob S
>
> > On Mar 24, 2024, at 2:22 PM, Neville Smythe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >
> >> On 25 Mar 2024, at 3:00 am,Mike Kerner wrote:
> >>
> >> i don't know if you dove into the code, but it's too early to think
> about
> >> unpacking this, so  here's the code: ...
> >
> > Thanks Mike
> >
> > While I was aware of the optional parameters feature of LC commands I
> have never used it I so was unfamiliar with the syntax. The penny had never
> dropped that the parameter list for a command is just an array, so
> evidently you can actually send an array instead of a comma delimited list
> >
> > Which means that you can send FindIndex a single parameter pKeyPairsA
> which is an array with alternating colName,searchStr values
> >
> > Setting up such an array is not particularly convenient for coding
> however. My workaround had been to use a custom function hack
> >
> > function myFindIndex pDataGrid, pKeyPairs
> >   — pKeyPairs is a comma delimited list such as
> “colname1,str1,colname2,str2,..”
> >
> >replace comma with quote & comma & quote in pKeyPairs
> >put “dispatch FindIndex to” && pDataGrid && “with” && quote &
> pKeyPairs & quote into tCommandStr
> >do tCommandstr
> >   put the result into tFoundIndex
> >   ...
> >
> > A much more elegant (if probably no faster) solution is
> >
> > function myFindIndex pDataGrid, pKeyPairs
> >   — pKeyPairs is a comma delimited list such as
> “colname1,str1,colname2,str2,..”
> >
> >set the columnDelimiter to comma
> >split pKeyPairs by column
> >dispatch “FindIndex" to pDataGrid with pKeyPairs
> >   put the result into tFoundIndex
> >   ...
> >
> >
> > BTW, where did you find the source code for DataGrid handlers? I now see
> how one could write a FindIndices function to return all indices rather
> than just the first found … or even a general WHERE  search :-)
> >
> > Neville Smythe
> >
> >
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: FindIndex question

2024-03-24 Thread Mike Kerner via use-livecode
just to sanitycheck myself, i opened 9.6.9, created a new stack, and added
a dg to it.
then i fired up the pb. expand the card, and you'll see the dg. there are
two behaviors assigned to the dg. the first is button id 1005 of stack
"revDataGridLibrary" which has, as its behavior, stack
"RevDataGridLibraryBehaviorsDataGridButtonBehavior"

On Sun, Mar 24, 2024 at 9:59 PM Mike Kerner 
wrote:

> it's in the behavior of the dg
> you can also go digging through the OSS repo, if you like.
>
>
> On Sun, Mar 24, 2024 at 5:23 PM Neville Smythe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>>
>> > On 25 Mar 2024, at 3:00 am,Mike Kerner wrote:
>> >
>> > i don't know if you dove into the code, but it's too early to think
>> about
>> > unpacking this, so  here's the code: ...
>>
>> Thanks Mike
>>
>> While I was aware of the optional parameters feature of LC commands I
>> have never used it I so was unfamiliar with the syntax. The penny had never
>> dropped that the parameter list for a command is just an array, so
>> evidently you can actually send an array instead of a comma delimited list
>>
>> Which means that you can send FindIndex a single parameter pKeyPairsA
>> which is an array with alternating colName,searchStr values
>>
>> Setting up such an array is not particularly convenient for coding
>> however. My workaround had been to use a custom function hack
>>
>> function myFindIndex pDataGrid, pKeyPairs
>>— pKeyPairs is a comma delimited list such as
>> “colname1,str1,colname2,str2,..”
>>
>> replace comma with quote & comma & quote in pKeyPairs
>> put “dispatch FindIndex to” && pDataGrid && “with” && quote &
>> pKeyPairs & quote into tCommandStr
>> do tCommandstr
>>put the result into tFoundIndex
>>...
>>
>> A much more elegant (if probably no faster) solution is
>>
>> function myFindIndex pDataGrid, pKeyPairs
>>— pKeyPairs is a comma delimited list such as
>> “colname1,str1,colname2,str2,..”
>>
>> set the columnDelimiter to comma
>> split pKeyPairs by column
>> dispatch “FindIndex" to pDataGrid with pKeyPairs
>>put the result into tFoundIndex
>>...
>>
>>
>> BTW, where did you find the source code for DataGrid handlers? I now see
>> how one could write a FindIndices function to return all indices rather
>> than just the first found … or even a general WHERE  search :-)
>>
>> Neville Smythe
>>
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: FindIndex question

2024-03-24 Thread Mike Kerner via use-livecode
it's in the behavior of the dg
you can also go digging through the OSS repo, if you like.


On Sun, Mar 24, 2024 at 5:23 PM Neville Smythe via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> > On 25 Mar 2024, at 3:00 am,Mike Kerner wrote:
> >
> > i don't know if you dove into the code, but it's too early to think about
> > unpacking this, so  here's the code: ...
>
> Thanks Mike
>
> While I was aware of the optional parameters feature of LC commands I have
> never used it I so was unfamiliar with the syntax. The penny had never
> dropped that the parameter list for a command is just an array, so
> evidently you can actually send an array instead of a comma delimited list
>
> Which means that you can send FindIndex a single parameter pKeyPairsA
> which is an array with alternating colName,searchStr values
>
> Setting up such an array is not particularly convenient for coding
> however. My workaround had been to use a custom function hack
>
> function myFindIndex pDataGrid, pKeyPairs
>— pKeyPairs is a comma delimited list such as
> “colname1,str1,colname2,str2,..”
>
> replace comma with quote & comma & quote in pKeyPairs
> put “dispatch FindIndex to” && pDataGrid && “with” && quote &
> pKeyPairs & quote into tCommandStr
> do tCommandstr
>put the result into tFoundIndex
>...
>
> A much more elegant (if probably no faster) solution is
>
> function myFindIndex pDataGrid, pKeyPairs
>— pKeyPairs is a comma delimited list such as
> “colname1,str1,colname2,str2,..”
>
> set the columnDelimiter to comma
> split pKeyPairs by column
> dispatch “FindIndex" to pDataGrid with pKeyPairs
>put the result into tFoundIndex
>...
>
>
> BTW, where did you find the source code for DataGrid handlers? I now see
> how one could write a FindIndices function to return all indices rather
> than just the first found … or even a general WHERE  search :-)
>
> Neville Smythe
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: FindIndex question

2024-03-24 Thread Mike Kerner via use-livecode
i don't know if you dove into the code, but it's too early to think about
unpacking this, so  here's the code:

*## pSearchA is array-valued index for accessing sDataArray*

*## pSearchA[1] = key_1*

*## pSearchA[2] = key_2*

*command* FindIndex pKeyIndexA, pSearchString *--, ...*

*-*

*local* foundAMatch, theFoundIndex

*local* i

*local* theIndex

*-*

*repeat* for each key theIndex in sDataArray

*## Developer can pass in multiple search strings to perform an AND search*

*repeat* with i = 1 to the paramCount step 2

*if* sDataArray[theIndex][param(i)] is param(i+1) *then*

*put* true into foundAMatch

*else*

*put* false into foundAMatch

*end* *if*

*## AND search didn't pan out. Move on to next index.*

*if* not foundAMatch *then* *exit* *repeat*

*end* *repeat*

*if* foundAMatch *then*

*put* theIndex into theFoundIndex

*exit* *repeat*

*end* *if*

*end* *repeat*

*return* max(0, theFoundIndex)

*end* FindIndex

On Sun, Mar 24, 2024 at 5:46 AM Neville Smythe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am using FindIndex on a dataGrid
>
>  dispatch "FindIndex" to tDataGrid with pKey, pSearchingString
>
> and I can pass multiple pKey, pSearchingString pairs such as
> “col1",pSearchStr1,”col2”,pSearchStr2 as cited in the dictionary entry
>
> But there is also a rather cryptic note at the end of the FindIndex
> dictionary entry
>
>  Note that pKey can also be an array if you want to use array-valued
> array indexing to locate pSearchingString.
>
> I took that to mean one could set up an array pKey with values such as
> pKey[“col1”]=pSearchStr1,  pKey[“col2”]=pSearchStr2
> and then just pass the pKey array. But that doesn’t work.
>
> Neither does using two indexed arrays pKey and pSearchStr with
> pKey[1]=“col1”, pSearchStr[1]=pSearchStr1,pKey[2]=“col2”,
> pSearchStr[2]=pSearchStr2
>
> Anyone know what it does mean?
>
>
> Neville Smythe
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Cursor Placement in MobileControl

2024-03-06 Thread Mike Kerner via use-livecode
we don't have a universal field widget, and, the existing controls don't
make it easy to do things like this.
there are often ways to overcome, just like there are in c, but that
doesn't mean i prefer c
or swift
or java
or xojo
sometimes workarounds are a means to identify opportunities to improve the
product.

On Wed, Mar 6, 2024 at 5:04 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Also, and without trying to put too fine a point on it, I’d like to
> reiterate that Livecode is much less like a furniture store, and more like
> an Ikea furniture factory, where there are lots of different parts, and
> bits to hold the furniture together, but theoretically you could make any
> kind of furniture you like. I think what you are asking for is a piece of
> furniture, when you already have everything necessary to make your own
> coffee table. :-)
>
> Bob S
>
>
> > On Mar 6, 2024, at 11:11 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > it would be nice to have a universal field widget, and be able to have
> this
> > sort of behavior be part of it...
> >
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Cursor Placement in MobileControl

2024-03-06 Thread Mike Kerner via use-livecode
it would be nice to have a universal field widget, and be able to have this
sort of behavior be part of it...

On Wed, Mar 6, 2024 at 2:07 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> That is damn handy. That could be massaged to work with a Livecode field
> too. I’m going to work on that.
>
> Bob S
>
>
> > On Mar 6, 2024, at 10:13 AM, Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Dan,
> >
> > Nice... thanks!
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.net
> >
> > -Original Message-
> > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf
> > Of Dan Friedman via use-livecode
> > Sent: Wednesday, March 06, 2024 11:15 AM
> > To: How to use LiveCode
> > Cc: Dan Friedman
> > Subject: Re: Cursor Placement in MobileControl
> >
> > Panos,
> >
> > Thank you for the suggestion!   That worked out well!   For anyone
> > interested, here's the snippet for formatting a phone number as you type
> in
> > a mobile native field control:
> >
> > //this assumes that the mobileControl type for Android is "multiline" and
> > the mobileSetKeyboardType has been set to "email"
> >
> > on inputTextChanged
> >  put mobileControlTarget() into pField
> >  put mobileControlGet(pField,"text") into pText
> >
> >  if pField = "phoneNumber" then
> >put "" into fText
> >put numbersOnly(pText) into pText
> >
> >if char 1 of pText = "1" then
> >  put "" into fText
> >  mobileControlSet "phoneNumber","text",fText
> >  androidGoLastChar "phoneNumber",fText
> >  put fText into dataEntered["phone"]
> >  exit inputTextChanged
> >end if
> >
> >if the number of chars in pText < 4 then
> >  put pText into fText
> >  mobileControlSet "phoneNumber","text",fText
> >  androidGoLastChar "phoneNumber",fText
> >else
> >  if (the number of chars in pText > 3) then
> >put "(" & char 1 to 3 of pText & ")" into char 1 to 3 of fText
> >put " " & char 4 to 6 of pText after fText
> >  end if
> >  if the number of chars in pText > 6 then
> >put "-" & char 7 to 10 of pText after fText
> >  end if
> >
> >  mobileControlSet "phoneNumber","text",fText
> >  androidGoLastChar "phoneNumber",fText
> >end if
> >  end if
> > end inputTextChanged
> >
> > function numbersOnly pNum
> >  //returns only the numbers in pNum
> >  put "" into fNum
> >  repeat for each char c in pNum
> >if isNumber(c) then
> >  put c after fNum
> >end if
> >  end repeat
> >
> >  return fNum
> > end numbersOnly
> >
> > on androidGoLastChar mControl,xText
> >  if ("Android" is in the platform) then
> >mobileControlSet mControl,"selectedRange",(the number of chars in
> > xText+1,0)
> >  end if
> > end androidGoLastChar
> >
> >
> > Thank you!
> >
> > Dan Friedman
> > CEO, ClearVision Technologies, LLC
> > Voice: 909/484-2052
> > http://www.clearvisiontech.com
> >
> >
> > From: use-livecode  on behalf of
> > panagiotis merakos via use-livecode 
> > Date: Tuesday, March 5, 2024 at 9:45 AM
> > To: How to use LiveCode 
> > Cc: panagiotis merakos 
> > Subject: Re: Cursor Placement in MobileControl Hello Dan,
> >
> > I take it you are formatting the text in inputTextChanged?
> >
> > Unfortunately yes, on Android calling
> >
> > mobileControlSet "phoneNumber","text", pText
> >
> > puts the cursor in the beginning of the text:
> >
> > https://quality.livecode.com/show_bug.cgi?id=24055
> >
> > RE using the selectedRange with mobile native controls, I think this
> > property is supported only on multiline input fields. So I suppose you
> could
> > make the fields to be multiline and give it a try.
> >
> > Kind regards,
> > Panos
> > --
> >
> > On Tue, 5 Mar 2024 at 18:53, Dan Friedman via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> I am trying to create a field on mobile (iOS and Android) that will
> >> format a phone number as your type (client request).  I am able to do
> >> this on iOS as the command: mobileControlSet
> >> "phoneNumber","text",pText puts the cursor AFTER the text so the user
> >> can simply continue typing.  But, on Android, the cursor is placed at
> the
> > beginning of the text after the
> >> mobileControlSet command is called.   Is there a way to set the position
> > of
> >> the cursor on a native mobile text field?
> >>
> >> I did notice that the Android Native Field widget has a selectedRange
> >> property.  Can I use this property on a native Android control?  And,
> >> can I set the selectedRange to "16,15" to set the cursor location, not
> >> select text?
> >>
> >> Why not just use the Android Native Field widget, you ask?   I will if I
> >> have to. but I prefer to use the native control as it is
> >> cross-platform and I don't need to case out for which platform we're
> >> on.  You would need to create the control and hide the widget for iOS
> >> and show the widget for Android.  I'll also 

Re: sideloading updates to mobile

2024-03-02 Thread Mike Kerner via use-livecode
fyi, to anyone else coming to thie thread, you can't use revCopyFolder or
revCopyFile to move your bundle stacks/files to the documents folder b/c
both commands require a shell, and ios doesn't have shell support.

On Sat, Mar 2, 2024 at 1:07 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks for checking, now I don't have to change anything. Android also has
> both a sandboxed documents folder and a public one.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On March 2, 2024 11:55:52 AM Mike Kerner via use-livecode
>  wrote:
>
> > looks like specialfolderpath("documents") is sandboxed, after all.
> > apparently there is another Documents folder, that lc isn't accessing,
> that
> > is not.
> >
> > On Fri, Mar 1, 2024 at 6:39 PM J. Landman Gay via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Let me know if you find out. I'm still running in the before times.
> >>
> >> --
> >> Jacqueline Landman Gay | jac...@hyperactivesw.com
> >> HyperActive Software | http://www.hyperactivesw.com
> >> On March 1, 2024 12:25:21 PM Mike Kerner via use-livecode
> >>  wrote:
> >>
> >> > the latest pieces that i found on the topic said that files can access
> >> the
> >> > documents folder (but not library), and that it is available by other
> >> > means, without jailbreaking.
> >> > thus, i need to screw around with this, some more.
> >> > if it's unavailable, then great, no need for library.
> >> > in The Before Times, documents was isolated, but i thought that
> changed.
> >> >
> >> > On Fri, Mar 1, 2024 at 1:10 PM J. Landman Gay via use-livecode <
> >> > use-livecode@lists.runrev.com> wrote:
> >> >
> >> >> A quick test would be to see if Files can access the private
> documents
> >> of
> >> >> any installed app. I could try it if I didn't have to steal my
> husband's
> >> >> phone, which is tricky business.
> >> >>
> >> >> --
> >> >> Jacqueline Landman Gay | jac...@hyperactivesw.com
> >> >> HyperActive Software | http://www.hyperactivesw.com
> >> >> On March 1, 2024 11:40:09 AM Mike Kerner via use-livecode
> >> >>  wrote:
> >> >>
> >> >> > i'm going to have to mess with this, some more. i didn't think
> >> documents
> >> >> is
> >> >> > sandboxed.
> >> >> >
> >> >> >
> >> >> > On Fri, Mar 1, 2024 at 11:49 AM Bob Sneidar via use-livecode <
> >> >> > use-livecode@lists.runrev.com> wrote:
> >> >> >
> >> >> >> They should stop calling it a Sandbox then. It’s the entire beach!
> >> LOL!
> >> >> >>
> >> >> >> Bob S
> >> >> >>
> >> >> >>
> >> >> >> On Mar 1, 2024, at 8:45 AM, J. Landman Gay via use-livecode <
> >> >> >> use-livecode@lists.runrev.com> wrote:
> >> >> >>
> >> >> >> Right. In spite of Android's "external documents" option, which I
> >> >> needed,
> >> >> >> it's still in the sandbox.
> >> >> >>
> >> >> >> --
> >> >> >> Jacqueline Landman Gay | jac...@hyperactivesw.com >> >> >> jac...@hyperactivesw.com>
> >> >> >> HyperActive Software | http://www.hyperactivesw.com<
> >> >> >> http://www.hyperactivesw.com/>
> >> >> >> On March 1, 2024 10:42:04 AM Bob Sneidar via use-livecode <
> >> >> >> use-livecode@lists.runrev.com> wrote:
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> ___
> >> >> >> use-livecode mailing list
> >> >> >> use-livecode@lists.runrev.com
> >> >> >> Please visit this url to subscribe, unsubscribe and manage your
> >> >> >> subscription preferences:
> >> >> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >> >> >>
> >> >> >
> >> >> >
> >> >> > --
> >> >> > On the first day, God created the heavens and the Earth
> >> >

Re: sideloading updates to mobile

2024-03-02 Thread Mike Kerner via use-livecode
looks like specialfolderpath("documents") is sandboxed, after all.
apparently there is another Documents folder, that lc isn't accessing, that
is not.

On Fri, Mar 1, 2024 at 6:39 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Let me know if you find out. I'm still running in the before times.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On March 1, 2024 12:25:21 PM Mike Kerner via use-livecode
>  wrote:
>
> > the latest pieces that i found on the topic said that files can access
> the
> > documents folder (but not library), and that it is available by other
> > means, without jailbreaking.
> > thus, i need to screw around with this, some more.
> > if it's unavailable, then great, no need for library.
> > in The Before Times, documents was isolated, but i thought that changed.
> >
> > On Fri, Mar 1, 2024 at 1:10 PM J. Landman Gay via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> A quick test would be to see if Files can access the private documents
> of
> >> any installed app. I could try it if I didn't have to steal my husband's
> >> phone, which is tricky business.
> >>
> >> --
> >> Jacqueline Landman Gay | jac...@hyperactivesw.com
> >> HyperActive Software | http://www.hyperactivesw.com
> >> On March 1, 2024 11:40:09 AM Mike Kerner via use-livecode
> >>  wrote:
> >>
> >> > i'm going to have to mess with this, some more. i didn't think
> documents
> >> is
> >> > sandboxed.
> >> >
> >> >
> >> > On Fri, Mar 1, 2024 at 11:49 AM Bob Sneidar via use-livecode <
> >> > use-livecode@lists.runrev.com> wrote:
> >> >
> >> >> They should stop calling it a Sandbox then. It’s the entire beach!
> LOL!
> >> >>
> >> >> Bob S
> >> >>
> >> >>
> >> >> On Mar 1, 2024, at 8:45 AM, J. Landman Gay via use-livecode <
> >> >> use-livecode@lists.runrev.com> wrote:
> >> >>
> >> >> Right. In spite of Android's "external documents" option, which I
> >> needed,
> >> >> it's still in the sandbox.
> >> >>
> >> >> --
> >> >> Jacqueline Landman Gay | jac...@hyperactivesw.com >> >> jac...@hyperactivesw.com>
> >> >> HyperActive Software | http://www.hyperactivesw.com<
> >> >> http://www.hyperactivesw.com/>
> >> >> On March 1, 2024 10:42:04 AM Bob Sneidar via use-livecode <
> >> >> use-livecode@lists.runrev.com> wrote:
> >> >>
> >> >>
> >> >>
> >> >> ___
> >> >> use-livecode mailing list
> >> >> use-livecode@lists.runrev.com
> >> >> Please visit this url to subscribe, unsubscribe and manage your
> >> >> subscription preferences:
> >> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >> >>
> >> >
> >> >
> >> > --
> >> > On the first day, God created the heavens and the Earth
> >> > On the second day, God created the oceans.
> >> > On the third day, God put the animals on hold for a few hours,
> >> >   and did a little diving.
> >> > And God said, "This is good."
> >> > ___
> >> > use-livecode mailing list
> >> > use-livecode@lists.runrev.com
> >> > Please visit this url to subscribe, unsubscribe and manage your
> >> > subscription preferences:
> >> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sideloading updates to mobile

2024-03-01 Thread Mike Kerner via use-livecode
the latest pieces that i found on the topic said that files can access the
documents folder (but not library), and that it is available by other
means, without jailbreaking.
thus, i need to screw around with this, some more.
if it's unavailable, then great, no need for library.
in The Before Times, documents was isolated, but i thought that changed.

On Fri, Mar 1, 2024 at 1:10 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> A quick test would be to see if Files can access the private documents of
> any installed app. I could try it if I didn't have to steal my husband's
> phone, which is tricky business.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On March 1, 2024 11:40:09 AM Mike Kerner via use-livecode
>  wrote:
>
> > i'm going to have to mess with this, some more. i didn't think documents
> is
> > sandboxed.
> >
> >
> > On Fri, Mar 1, 2024 at 11:49 AM Bob Sneidar via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> They should stop calling it a Sandbox then. It’s the entire beach! LOL!
> >>
> >> Bob S
> >>
> >>
> >> On Mar 1, 2024, at 8:45 AM, J. Landman Gay via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >> Right. In spite of Android's "external documents" option, which I
> needed,
> >> it's still in the sandbox.
> >>
> >> --
> >> Jacqueline Landman Gay | jac...@hyperactivesw.com >> jac...@hyperactivesw.com>
> >> HyperActive Software | http://www.hyperactivesw.com<
> >> http://www.hyperactivesw.com/>
> >> On March 1, 2024 10:42:04 AM Bob Sneidar via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sideloading updates to mobile

2024-03-01 Thread Mike Kerner via use-livecode
i'm going to have to mess with this, some more. i didn't think documents is
sandboxed.


On Fri, Mar 1, 2024 at 11:49 AM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> They should stop calling it a Sandbox then. It’s the entire beach! LOL!
>
> Bob S
>
>
> On Mar 1, 2024, at 8:45 AM, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> Right. In spite of Android's "external documents" option, which I needed,
> it's still in the sandbox.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com jac...@hyperactivesw.com>
> HyperActive Software | http://www.hyperactivesw.com<
> http://www.hyperactivesw.com/>
> On March 1, 2024 10:42:04 AM Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sideloading updates to mobile

2024-02-29 Thread Mike Kerner via use-livecode
any reason to store in documents instead of in library?
it seems like there might be less of a chance of the user misusing the
Files app to break the app.

On Thu, Feb 29, 2024 at 5:32 PM Mike Kerner 
wrote:

> ah. that's a better way of handling this. i was going to have the app
> check the documents folder for updates, before loading a stack, but if i
> keep the source stacks, there, it will work better.
>
> On Thu, Feb 29, 2024 at 3:10 PM J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> You can't add or change anything inside the app bundle so downloaded
>> files
>> have to go in specialFolderPath("documents"). Copy the originals from the
>> resources folder to the documents folder on first launch so you always
>> have
>> a known file path location. Any file in documents will be overwritten
>> with
>> the new download if the file name is the same.
>>
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On February 29, 2024 7:31:28 AM Mike Kerner via use-livecode
>>  wrote:
>>
>> > i haven't tried deploying to a device, yet, so bear with me:
>> > when you load the updated stack/behavior/etc., are you saving it into
>> the
>> > app bundle, or elsewhere? on locked/single-app devices, persistence is
>> the
>> > thing (but i would imagine that it works the same on single-app devices
>> as
>> > it does for normal ones).
>> >
>> > On Wed, Feb 28, 2024 at 10:12 PM J. Landman Gay via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> >
>> >> "Revert this stack". That just means "reload from disk". Or you can
>> >> specify
>> >> a different stack.
>> >> --
>> >> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> >> HyperActive Software | http://www.hyperactivesw.com
>> >> On February 28, 2024 8:12:57 PM Mike Kerner via use-livecode
>> >>  wrote:
>> >>
>> >> > so, how do we force LC to reload the stack?
>> >> > i can force the script to reload, and replace it, but if i want to
>> reload
>> >> > the stack, do i have to close it, replace it, and then open it?
>> >> >
>> >> > On Wed, Feb 21, 2024 at 8:28 PM Mike Kerner <
>> mikeker...@roadrunner.com>
>> >> > wrote:
>> >> >
>> >> >> thanks, jlg. that's kind-of what i was thinking.
>> >> >>
>> >> >>
>> >> >> On Wed, Feb 21, 2024 at 4:58 PM J. Landman Gay via use-livecode <
>> >> >> use-livecode@lists.runrev.com> wrote:
>> >> >>
>> >> >>> I've done this for several mobile apps. As long as the updates only
>> >> >>> reside
>> >> >>> in the app's sandboxed container, even the App Store doesn't care.
>> >> >>>
>> >> >>> Basically, I put a short text file on the server listing the update
>> >> >>> version(s) of the file(s), one per line if they are all different.
>> >> Every
>> >> >>> stack in the app suite has a custom property named cVersion. If
>> >> necessary
>> >> >>> you can also add the download URL to the same line. On launch, the
>> app
>> >> >>> downloads and parses the text to see if the server version is
>> different
>> >> >>> from the installed one. If so, it uses "put URL  into
>> URL
>> >> >>> > >> >>> path>" to download and save the the updates to the mobile documents
>> >> >>> folder,
>> >> >>> overwriting the old ones.
>> >> >>>
>> >> >>> It's pretty simple, if I understand what you need correctly. I also
>> >> store
>> >> >>> other info in the the text file occasionally, such as a text string
>> >> >>> describing the updates so I can show an answer dialog if I want the
>> >> user
>> >> >>> to
>> >> >>> agree or decline the update (which will reappear on the next
>> launch if
>> >> >>> they
>> >> >>> decline.)
>> >> >>>
>> >> >>> Sample text file is usually something like this:
>> >> >>>
>> >> >>>Stack 1  https://www.domain.com/updates/stac

Re: sideloading updates to mobile

2024-02-29 Thread Mike Kerner via use-livecode
ah. that's a better way of handling this. i was going to have the app check
the documents folder for updates, before loading a stack, but if i keep the
source stacks, there, it will work better.

On Thu, Feb 29, 2024 at 3:10 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> You can't add or change anything inside the app bundle so downloaded files
> have to go in specialFolderPath("documents"). Copy the originals from the
> resources folder to the documents folder on first launch so you always
> have
> a known file path location. Any file in documents will be overwritten with
> the new download if the file name is the same.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On February 29, 2024 7:31:28 AM Mike Kerner via use-livecode
>  wrote:
>
> > i haven't tried deploying to a device, yet, so bear with me:
> > when you load the updated stack/behavior/etc., are you saving it into the
> > app bundle, or elsewhere? on locked/single-app devices, persistence is
> the
> > thing (but i would imagine that it works the same on single-app devices
> as
> > it does for normal ones).
> >
> > On Wed, Feb 28, 2024 at 10:12 PM J. Landman Gay via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> "Revert this stack". That just means "reload from disk". Or you can
> >> specify
> >> a different stack.
> >> --
> >> Jacqueline Landman Gay | jac...@hyperactivesw.com
> >> HyperActive Software | http://www.hyperactivesw.com
> >> On February 28, 2024 8:12:57 PM Mike Kerner via use-livecode
> >>  wrote:
> >>
> >> > so, how do we force LC to reload the stack?
> >> > i can force the script to reload, and replace it, but if i want to
> reload
> >> > the stack, do i have to close it, replace it, and then open it?
> >> >
> >> > On Wed, Feb 21, 2024 at 8:28 PM Mike Kerner <
> mikeker...@roadrunner.com>
> >> > wrote:
> >> >
> >> >> thanks, jlg. that's kind-of what i was thinking.
> >> >>
> >> >>
> >> >> On Wed, Feb 21, 2024 at 4:58 PM J. Landman Gay via use-livecode <
> >> >> use-livecode@lists.runrev.com> wrote:
> >> >>
> >> >>> I've done this for several mobile apps. As long as the updates only
> >> >>> reside
> >> >>> in the app's sandboxed container, even the App Store doesn't care.
> >> >>>
> >> >>> Basically, I put a short text file on the server listing the update
> >> >>> version(s) of the file(s), one per line if they are all different.
> >> Every
> >> >>> stack in the app suite has a custom property named cVersion. If
> >> necessary
> >> >>> you can also add the download URL to the same line. On launch, the
> app
> >> >>> downloads and parses the text to see if the server version is
> different
> >> >>> from the installed one. If so, it uses "put URL  into
> URL
> >> >>>  >> >>> path>" to download and save the the updates to the mobile documents
> >> >>> folder,
> >> >>> overwriting the old ones.
> >> >>>
> >> >>> It's pretty simple, if I understand what you need correctly. I also
> >> store
> >> >>> other info in the the text file occasionally, such as a text string
> >> >>> describing the updates so I can show an answer dialog if I want the
> >> user
> >> >>> to
> >> >>> agree or decline the update (which will reappear on the next launch
> if
> >> >>> they
> >> >>> decline.)
> >> >>>
> >> >>> Sample text file is usually something like this:
> >> >>>
> >> >>>Stack 1  https://www.domain.com/updates/stack1.livecode
> >> >>>Stack 2  https://www.domain.com/updates/stack2.livecode
> >> >>>..
> >> >>>This update provides new functionality and bug fixes.
> >> >>>
> >> >>> If you don't want to scan each stack for its cVersion, you can keep
> a
> >> >>> text
> >> >>> file in the mobile documents folder that lists the current versions
> so
> >> >>> you
> >> >>> can easily compare that to the one on the server.

Re: sideloading updates to mobile

2024-02-29 Thread Mike Kerner via use-livecode
i haven't tried deploying to a device, yet, so bear with me:
when you load the updated stack/behavior/etc., are you saving it into the
app bundle, or elsewhere? on locked/single-app devices, persistence is the
thing (but i would imagine that it works the same on single-app devices as
it does for normal ones).

On Wed, Feb 28, 2024 at 10:12 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> "Revert this stack". That just means "reload from disk". Or you can
> specify
> a different stack.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On February 28, 2024 8:12:57 PM Mike Kerner via use-livecode
>  wrote:
>
> > so, how do we force LC to reload the stack?
> > i can force the script to reload, and replace it, but if i want to reload
> > the stack, do i have to close it, replace it, and then open it?
> >
> > On Wed, Feb 21, 2024 at 8:28 PM Mike Kerner 
> > wrote:
> >
> >> thanks, jlg. that's kind-of what i was thinking.
> >>
> >>
> >> On Wed, Feb 21, 2024 at 4:58 PM J. Landman Gay via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> I've done this for several mobile apps. As long as the updates only
> >>> reside
> >>> in the app's sandboxed container, even the App Store doesn't care.
> >>>
> >>> Basically, I put a short text file on the server listing the update
> >>> version(s) of the file(s), one per line if they are all different.
> Every
> >>> stack in the app suite has a custom property named cVersion. If
> necessary
> >>> you can also add the download URL to the same line. On launch, the app
> >>> downloads and parses the text to see if the server version is different
> >>> from the installed one. If so, it uses "put URL  into URL
> >>>  >>> path>" to download and save the the updates to the mobile documents
> >>> folder,
> >>> overwriting the old ones.
> >>>
> >>> It's pretty simple, if I understand what you need correctly. I also
> store
> >>> other info in the the text file occasionally, such as a text string
> >>> describing the updates so I can show an answer dialog if I want the
> user
> >>> to
> >>> agree or decline the update (which will reappear on the next launch if
> >>> they
> >>> decline.)
> >>>
> >>> Sample text file is usually something like this:
> >>>
> >>>Stack 1  https://www.domain.com/updates/stack1.livecode
> >>>Stack 2  https://www.domain.com/updates/stack2.livecode
> >>>..
> >>>This update provides new functionality and bug fixes.
> >>>
> >>> If you don't want to scan each stack for its cVersion, you can keep a
> >>> text
> >>> file in the mobile documents folder that lists the current versions so
> >>> you
> >>> can easily compare that to the one on the server. After updating the
> >>> stacks, update the stored text file as well.
> >>>
> >>> If updates are mandatory, just skip the comparisons entirely and
> >>> force-download the updates. If only some of the stacks should be
> updated,
> >>> omit the ones that don't need to be updated from the server file.
> >>>
> >>> --
> >>> Jacqueline Landman Gay | jac...@hyperactivesw.com
> >>> HyperActive Software | http://www.hyperactivesw.com
> >>> On February 21, 2024 12:53:25 PM Mike Kerner via use-livecode
> >>>  wrote:
> >>>
> >>> > right - no updating the engine + runtime in this scenario, just the
> >>> > stacks + scripts, and perhaps plugins.
> >>> > we are going to continue to only privately distribute to our
> corporate
> >>> > clients, so the app store won't be part of the equation. that does
> not
> >>> mean
> >>> > that apple won't object, though (but, i believe the rules for
> privately
> >>> > distributed apps are much more lenient than for app store apps - at
> >>> least,
> >>> > they have been for us, up until now)
> >>> >
> >>> > On Wed, Feb 21, 2024 at 12:53 PM Klaus major-k via use-livecode <
> >>> > use-livecode@lists.runrev.com> wrote:
> >>> >
> >>> >> Hi Mike,
> >>> >>
> >>> &g

Re: sideloading updates to mobile

2024-02-28 Thread Mike Kerner via use-livecode
so, how do we force LC to reload the stack?
i can force the script to reload, and replace it, but if i want to reload
the stack, do i have to close it, replace it, and then open it?

On Wed, Feb 21, 2024 at 8:28 PM Mike Kerner 
wrote:

> thanks, jlg. that's kind-of what i was thinking.
>
>
> On Wed, Feb 21, 2024 at 4:58 PM J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> I've done this for several mobile apps. As long as the updates only
>> reside
>> in the app's sandboxed container, even the App Store doesn't care.
>>
>> Basically, I put a short text file on the server listing the update
>> version(s) of the file(s), one per line if they are all different.  Every
>> stack in the app suite has a custom property named cVersion. If necessary
>> you can also add the download URL to the same line. On launch, the app
>> downloads and parses the text to see if the server version is different
>> from the installed one. If so, it uses "put URL  into URL
>> > path>" to download and save the the updates to the mobile documents
>> folder,
>> overwriting the old ones.
>>
>> It's pretty simple, if I understand what you need correctly. I also store
>> other info in the the text file occasionally, such as a text string
>> describing the updates so I can show an answer dialog if I want the user
>> to
>> agree or decline the update (which will reappear on the next launch if
>> they
>> decline.)
>>
>> Sample text file is usually something like this:
>>
>>Stack 1  https://www.domain.com/updates/stack1.livecode
>>Stack 2  https://www.domain.com/updates/stack2.livecode
>>..
>>This update provides new functionality and bug fixes.
>>
>> If you don't want to scan each stack for its cVersion, you can keep a
>> text
>> file in the mobile documents folder that lists the current versions so
>> you
>> can easily compare that to the one on the server. After updating the
>> stacks, update the stored text file as well.
>>
>> If updates are mandatory, just skip the comparisons entirely and
>> force-download the updates. If only some of the stacks should be updated,
>> omit the ones that don't need to be updated from the server file.
>>
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On February 21, 2024 12:53:25 PM Mike Kerner via use-livecode
>>  wrote:
>>
>> > right - no updating the engine + runtime in this scenario, just the
>> > stacks + scripts, and perhaps plugins.
>> > we are going to continue to only privately distribute to our corporate
>> > clients, so the app store won't be part of the equation. that does not
>> mean
>> > that apple won't object, though (but, i believe the rules for privately
>> > distributed apps are much more lenient than for app store apps - at
>> least,
>> > they have been for us, up until now)
>> >
>> > On Wed, Feb 21, 2024 at 12:53 PM Klaus major-k via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> >
>> >> Hi Mike,
>> >>
>> >> > Am 21.02.2024 um 18:47 schrieb Mike Kerner via use-livecode <
>> >> use-livecode@lists.runrev.com>:
>> >> >
>> >> > sorry that i was not clear. we've been using private deploys since
>> around
>> >> > 2010, using airlaunch to generate the bundle, and then uploading to a
>> >> > private url. that's not what i meant.
>> >> > i'm talking about updating/patching an existing app, in place. the
>> >> devices
>> >> > are in single-app mode, so we would either have to pay for mdm and
>> then
>> >> use
>> >> > that service to push app updates, OR, if we didn't use mdm, we could
>> have
>> >> > the app pull the update and apply it.
>> >> > i can kind-of guess how to make it work, but i'm sure there are a
>> couple
>> >> of
>> >> > tricks that i don't want to have to figure out, if someone else has
>> >> already
>> >> > figured it out.
>> >>
>> >> you could use the "splashscreen" approach to update one or more stacks,
>> >> but that will
>> >> of course only work if you do not want to update the actual
>> engine/runtime.
>> >>
>> >> However I'm not sure if Apple will allow this, no problem on Android
>> >> however.
>> >>
>> >&g

Re: Enhanced HTTPD - native HTTP 1.1 Livecode Socket Server

2024-02-28 Thread Mike Kerner via use-livecode
just pinging to see if anything more has happened on this
and the how list is really quiet

On Tue, Feb 6, 2024 at 11:09 PM ambassador--- via use-livecode <
use-livecode@lists.runrev.com> wrote:

> David Bovill wrote:
>
> > I've been working for a while on a native server written in Livecode
> > using sockets. I feel it is definitely something that is sorely needed
> > - but to do it properly is more work that I initially thought. I need
> > to add HTTP 206 partial content support -
> > https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206. I expect
> > there to be other things that will need to be added.
> >
> > Is anyone interested / need this? Or does anyone already have something
> > they use?
>
>
> MC shipped with a simple HTTPd example included, and many years ago back
> when Pierre was still active here I dusted it off to add support for HTTP
> 1.1 so it would work with modern browsers:
>
> https://fourthworld.net/lc/mchttpd-4W.zip
>
> It's been years since I touched it, and IIRC the only other change I made
> was to use callbacks for both ends of the network I/O (for some reason
> Raney had used callbacks only on one side, tho I can't recall if his was on
> the write or read end). Callbacks for net I/O help a lot.
>
> If you're already far enough down the road to be thinking of 206 errors,
> there's likely nothing here you haven't already written.  But as an example
> (slightly updated) of the sort of thing that used to ship with old versions
> to encourage exploration of network apps, it may be a fun trip down memory
> lane.
>
>
> A question, if interesting to answer: one of the reasons I set this aside
> was the beginning of a process of moving away from my own homegrown tools
> for generic commodities like socket servers.  Apache and Node cover most of
> what I've needed since, and I don't have to maintain them, so I can focus
> on the stuff specific to my app.  What are you working on these days? I
> stumbled across your chat with Ward Cunningham in the Full Moon Happening
> just a few months ago; good stuff. Curious if your interest in
> decentralization is still a focus, and whether it also includes things like
> IPSF and blockchains.  Maybe offlist if it's not too LiveCodey is fine.
>
>
> Richard Gaskin
> FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Code Folding in LC

2024-02-25 Thread Mike Kerner via use-livecode
ya know, the script editor could really a touch-up from the script compiler.

On Thu, Feb 22, 2024 at 12:23 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This is a long time coming.
>
> Bob S
>
>
> > On Feb 22, 2024, at 5:40 AM, Niggemann, Bernd via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > For all those interested in Code Folding a new version has been posted
> to the forum. Easier install and some minor bug fixes.
> >
> >
> https://forums.livecode.com/viewtopic.php?f=9=38912=228244=2a60c9420c1615aca35c5957252b7d8e#p228244
> >
> > Kind regards
> > Bernd
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: disabled buttons still receive events, they just process them, later?

2024-02-21 Thread Mike Kerner via use-livecode
pfft
there is zero chance of that
it's been, what 37 years?
man, i'm so old.

On Wed, Feb 21, 2024 at 8:35 PM Stephen Barncard via use-livecode <
use-livecode@lists.runrev.com> wrote:

> "there's still stuff to
> learn."
>
> . and remember .
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
>
>
> On Wed, Feb 21, 2024 at 5:24 PM Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > thanks, jacque & mark
> > it's amazing that even after...a really long time...there's still stuff
> to
> > learn.
> >
> > On Wed, Feb 21, 2024 at 5:16 PM Mark Waddingham via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > It’s because of the wait - ‘blocking’ waits (those which aren’t ‘with
> > > messages’) queue any (low level) events so they are handled at the next
> > > wait (in this case the global one the engine does implicitly when there
> > are
> > > no handlers executing).
> > >
> > > Flushing events after the wait as Jacque suggests will ensure they
> aren’t
> > > there to handle.
> > >
> > > Warmest Regards.
> > >
> > > Mark.
> > >
> > > Sent from my iPhone
> > >
> > > > On 21 Feb 2024, at 21:59, Mike Kerner via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > > >
> > > > i did.
> > > > i have both a button, and a power button.
> > > > script:
> > > >
> > > > *local* count
> > > >
> > > > *on* mouseUp
> > > >
> > > > *if* the disabled of me *then* *put* cr & "disabled" after msg
> > > >
> > > > *add* 1 to count
> > > >
> > > > *set* the enabled of me to false
> > > >
> > > > *put* count
> > > >
> > > > *wait* 2 second
> > > >
> > > > *set* the enabled of me to true
> > > >
> > > > *end* mouseUp
> > > >
> > > >> On Wed, Feb 21, 2024 at 4:47 PM Craig Newman via use-livecode <
> > > >> use-livecode@lists.runrev.com> wrote:
> > > >>
> > > >> Mike.
> > > >>
> > > >> In a new stack I placed a button with this:
> > > >>
> > > >> on mouseUp
> > > >>  beep 2
> > > >> end mouseUp
> > > >>
> > > >> If I click on the button I hear two clicks. I disabled the button
> and
> > > >> clicked on it. I enabled the button. No clicks. I did this all by
> > hand.
> > > Did
> > > >> you?
> > > >>
> > > >> Craig
> > > >>
> > > >>> On Feb 21, 2024, at 4:07 PM, Mike Kerner via use-livecode <
> > > >> use-livecode@lists.runrev.com> wrote:
> > > >>>
> > > >>> alright, i'm a little surprised to notice this:
> > > >>> i have a button. i disabled the button.
> > > >>> then i clicked on the button
> > > >>> then i re-enabled the button
> > > >>> the click, from the period while the button was disabled, is
> received
> > > and
> > > >>> processed by the button.
> > > >>> that seems problematic, to me. how would one cause clicks to be
> > > >> discarded,
> > > >>> permanently? hide the button? overlay it with a transparent control
> > > that
> > > >>> will absorb and ignore the clicks?
> > > >>>
> > > >>> --
> > > >>> On the first day, God created the heavens and the Earth
> > > >>> On the second day, God created the oceans.
> > > >>> On the third day, God put the animals on hold for a few hours,
> > > >>>  and did a little diving.
> > > >>> And God said, "This is good."
> > > >>> ___
> > > >>> use-livecode mailing list
> > > >>> use-livecode@lists.runrev.com
> > > >>> Please visit this url to subscribe, unsubscribe and manage your
> > > >> subscription preferences:
> > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> > > >>
> > > >>
> > > >> ___
> > > >> use-livecode mailing list
> > > 

Re: sideloading updates to mobile

2024-02-21 Thread Mike Kerner via use-livecode
thanks, jlg. that's kind-of what i was thinking.


On Wed, Feb 21, 2024 at 4:58 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I've done this for several mobile apps. As long as the updates only reside
> in the app's sandboxed container, even the App Store doesn't care.
>
> Basically, I put a short text file on the server listing the update
> version(s) of the file(s), one per line if they are all different.  Every
> stack in the app suite has a custom property named cVersion. If necessary
> you can also add the download URL to the same line. On launch, the app
> downloads and parses the text to see if the server version is different
> from the installed one. If so, it uses "put URL  into URL
>  path>" to download and save the the updates to the mobile documents
> folder,
> overwriting the old ones.
>
> It's pretty simple, if I understand what you need correctly. I also store
> other info in the the text file occasionally, such as a text string
> describing the updates so I can show an answer dialog if I want the user
> to
> agree or decline the update (which will reappear on the next launch if
> they
> decline.)
>
> Sample text file is usually something like this:
>
>Stack 1  https://www.domain.com/updates/stack1.livecode
>Stack 2  https://www.domain.com/updates/stack2.livecode
>..
>This update provides new functionality and bug fixes.
>
> If you don't want to scan each stack for its cVersion, you can keep a text
> file in the mobile documents folder that lists the current versions so you
> can easily compare that to the one on the server. After updating the
> stacks, update the stored text file as well.
>
> If updates are mandatory, just skip the comparisons entirely and
> force-download the updates. If only some of the stacks should be updated,
> omit the ones that don't need to be updated from the server file.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On February 21, 2024 12:53:25 PM Mike Kerner via use-livecode
>  wrote:
>
> > right - no updating the engine + runtime in this scenario, just the
> > stacks + scripts, and perhaps plugins.
> > we are going to continue to only privately distribute to our corporate
> > clients, so the app store won't be part of the equation. that does not
> mean
> > that apple won't object, though (but, i believe the rules for privately
> > distributed apps are much more lenient than for app store apps - at
> least,
> > they have been for us, up until now)
> >
> > On Wed, Feb 21, 2024 at 12:53 PM Klaus major-k via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Hi Mike,
> >>
> >> > Am 21.02.2024 um 18:47 schrieb Mike Kerner via use-livecode <
> >> use-livecode@lists.runrev.com>:
> >> >
> >> > sorry that i was not clear. we've been using private deploys since
> around
> >> > 2010, using airlaunch to generate the bundle, and then uploading to a
> >> > private url. that's not what i meant.
> >> > i'm talking about updating/patching an existing app, in place. the
> >> devices
> >> > are in single-app mode, so we would either have to pay for mdm and
> then
> >> use
> >> > that service to push app updates, OR, if we didn't use mdm, we could
> have
> >> > the app pull the update and apply it.
> >> > i can kind-of guess how to make it work, but i'm sure there are a
> couple
> >> of
> >> > tricks that i don't want to have to figure out, if someone else has
> >> already
> >> > figured it out.
> >>
> >> you could use the "splashscreen" approach to update one or more stacks,
> >> but that will
> >> of course only work if you do not want to update the actual
> engine/runtime.
> >>
> >> However I'm not sure if Apple will allow this, no problem on Android
> >> however.
> >>
> >>
> >> Best
> >>
> >> Klaus
> >>
> >> --
> >> Klaus Major
> >> https://www.major-k.de
> >> https://www.major-k.de/bass
> >> kl...@major-k.de
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> > --
> > On the first 

Re: disabled buttons still receive events, they just process them, later?

2024-02-21 Thread Mike Kerner via use-livecode
thanks, jacque & mark
it's amazing that even after...a really long time...there's still stuff to
learn.

On Wed, Feb 21, 2024 at 5:16 PM Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It’s because of the wait - ‘blocking’ waits (those which aren’t ‘with
> messages’) queue any (low level) events so they are handled at the next
> wait (in this case the global one the engine does implicitly when there are
> no handlers executing).
>
> Flushing events after the wait as Jacque suggests will ensure they aren’t
> there to handle.
>
> Warmest Regards.
>
> Mark.
>
> Sent from my iPhone
>
> > On 21 Feb 2024, at 21:59, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > i did.
> > i have both a button, and a power button.
> > script:
> >
> > *local* count
> >
> > *on* mouseUp
> >
> > *if* the disabled of me *then* *put* cr & "disabled" after msg
> >
> > *add* 1 to count
> >
> > *set* the enabled of me to false
> >
> > *put* count
> >
> > *wait* 2 second
> >
> > *set* the enabled of me to true
> >
> > *end* mouseUp
> >
> >> On Wed, Feb 21, 2024 at 4:47 PM Craig Newman via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >> Mike.
> >>
> >> In a new stack I placed a button with this:
> >>
> >> on mouseUp
> >>  beep 2
> >> end mouseUp
> >>
> >> If I click on the button I hear two clicks. I disabled the button and
> >> clicked on it. I enabled the button. No clicks. I did this all by hand.
> Did
> >> you?
> >>
> >> Craig
> >>
> >>> On Feb 21, 2024, at 4:07 PM, Mike Kerner via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> alright, i'm a little surprised to notice this:
> >>> i have a button. i disabled the button.
> >>> then i clicked on the button
> >>> then i re-enabled the button
> >>> the click, from the period while the button was disabled, is received
> and
> >>> processed by the button.
> >>> that seems problematic, to me. how would one cause clicks to be
> >> discarded,
> >>> permanently? hide the button? overlay it with a transparent control
> that
> >>> will absorb and ignore the clicks?
> >>>
> >>> --
> >>> On the first day, God created the heavens and the Earth
> >>> On the second day, God created the oceans.
> >>> On the third day, God put the animals on hold for a few hours,
> >>>  and did a little diving.
> >>> And God said, "This is good."
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: disabled buttons still receive events, they just process them, later?

2024-02-21 Thread Mike Kerner via use-livecode
i did.
i have both a button, and a power button.
script:

*local* count

*on* mouseUp

*if* the disabled of me *then* *put* cr & "disabled" after msg

*add* 1 to count

*set* the enabled of me to false

*put* count

*wait* 2 second

*set* the enabled of me to true

*end* mouseUp

On Wed, Feb 21, 2024 at 4:47 PM Craig Newman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike.
>
> In a new stack I placed a button with this:
>
> on mouseUp
>   beep 2
> end mouseUp
>
> If I click on the button I hear two clicks. I disabled the button and
> clicked on it. I enabled the button. No clicks. I did this all by hand. Did
> you?
>
> Craig
>
> > On Feb 21, 2024, at 4:07 PM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > alright, i'm a little surprised to notice this:
> > i have a button. i disabled the button.
> > then i clicked on the button
> > then i re-enabled the button
> > the click, from the period while the button was disabled, is received and
> > processed by the button.
> > that seems problematic, to me. how would one cause clicks to be
> discarded,
> > permanently? hide the button? overlay it with a transparent control that
> > will absorb and ignore the clicks?
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


disabled buttons still receive events, they just process them, later?

2024-02-21 Thread Mike Kerner via use-livecode
alright, i'm a little surprised to notice this:
i have a button. i disabled the button.
then i clicked on the button
then i re-enabled the button
the click, from the period while the button was disabled, is received and
processed by the button.
that seems problematic, to me. how would one cause clicks to be discarded,
permanently? hide the button? overlay it with a transparent control that
will absorb and ignore the clicks?

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sideloading updates to mobile

2024-02-21 Thread Mike Kerner via use-livecode
mobile device management:
https://en.wikipedia.org/wiki/Mobile_device_management
it's like testflight on steroids. in our case, it would enable us to force
app (and even os) updates on devices that are locked into single-app mode

On Wed, Feb 21, 2024 at 1:57 PM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Am 21.02.2024 um 19:51 schrieb Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > i guess the other option would be to roll an mdm server 
>
> sorry, but what does "mdm" mean?
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sideloading updates to mobile

2024-02-21 Thread Mike Kerner via use-livecode
i guess the other option would be to roll an mdm server 

On Wed, Feb 21, 2024 at 1:50 PM Mike Kerner 
wrote:

> right - no updating the engine + runtime in this scenario, just the
> stacks + scripts, and perhaps plugins.
> we are going to continue to only privately distribute to our corporate
> clients, so the app store won't be part of the equation. that does not mean
> that apple won't object, though (but, i believe the rules for privately
> distributed apps are much more lenient than for app store apps - at least,
> they have been for us, up until now)
>
> On Wed, Feb 21, 2024 at 12:53 PM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hi Mike,
>>
>> > Am 21.02.2024 um 18:47 schrieb Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >
>> > sorry that i was not clear. we've been using private deploys since
>> around
>> > 2010, using airlaunch to generate the bundle, and then uploading to a
>> > private url. that's not what i meant.
>> > i'm talking about updating/patching an existing app, in place. the
>> devices
>> > are in single-app mode, so we would either have to pay for mdm and then
>> use
>> > that service to push app updates, OR, if we didn't use mdm, we could
>> have
>> > the app pull the update and apply it.
>> > i can kind-of guess how to make it work, but i'm sure there are a
>> couple of
>> > tricks that i don't want to have to figure out, if someone else has
>> already
>> > figured it out.
>>
>> you could use the "splashscreen" approach to update one or more stacks,
>> but that will
>> of course only work if you do not want to update the actual
>> engine/runtime.
>>
>> However I'm not sure if Apple will allow this, no problem on Android
>> however.
>>
>>
>> Best
>>
>> Klaus
>>
>> --
>> Klaus Major
>> https://www.major-k.de
>> https://www.major-k.de/bass
>> kl...@major-k.de
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sideloading updates to mobile

2024-02-21 Thread Mike Kerner via use-livecode
right - no updating the engine + runtime in this scenario, just the
stacks + scripts, and perhaps plugins.
we are going to continue to only privately distribute to our corporate
clients, so the app store won't be part of the equation. that does not mean
that apple won't object, though (but, i believe the rules for privately
distributed apps are much more lenient than for app store apps - at least,
they have been for us, up until now)

On Wed, Feb 21, 2024 at 12:53 PM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Mike,
>
> > Am 21.02.2024 um 18:47 schrieb Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > sorry that i was not clear. we've been using private deploys since around
> > 2010, using airlaunch to generate the bundle, and then uploading to a
> > private url. that's not what i meant.
> > i'm talking about updating/patching an existing app, in place. the
> devices
> > are in single-app mode, so we would either have to pay for mdm and then
> use
> > that service to push app updates, OR, if we didn't use mdm, we could have
> > the app pull the update and apply it.
> > i can kind-of guess how to make it work, but i'm sure there are a couple
> of
> > tricks that i don't want to have to figure out, if someone else has
> already
> > figured it out.
>
> you could use the "splashscreen" approach to update one or more stacks,
> but that will
> of course only work if you do not want to update the actual engine/runtime.
>
> However I'm not sure if Apple will allow this, no problem on Android
> however.
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sideloading updates to mobile

2024-02-21 Thread Mike Kerner via use-livecode
sorry that i was not clear. we've been using private deploys since around
2010, using airlaunch to generate the bundle, and then uploading to a
private url. that's not what i meant.
i'm talking about updating/patching an existing app, in place. the devices
are in single-app mode, so we would either have to pay for mdm and then use
that service to push app updates, OR, if we didn't use mdm, we could have
the app pull the update and apply it.
i can kind-of guess how to make it work, but i'm sure there are a couple of
tricks that i don't want to have to figure out, if someone else has already
figured it out.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: polygrid formatted column width

2024-02-21 Thread Mike Kerner via use-livecode
lcqc report 24493 added
https://quality.livecode.com/show_bug.cgi?id=24493

On Tue, Feb 20, 2024 at 6:07 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Can I just say that the Datagrid does have all these properties? What is
> the big advantage that would make Polygrids a better choice? Is it because
> they are Mobile friendly? Faster for large datasets? Easier to work with
> (apparently not unless by easier one means less properties that you can
> manipulate.)?
>
> Bob S
>
>
> On Feb 20, 2024, at 1:49 PM, Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> You have the dataWidth of the polygrid for the formattedWidth of the
> widget (to be wide enough to display all data), but what I think you want
> is some equivalent of the fomattedWidth of each column. I don't believe any
> such property exists in the polygrid.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: polygrid formatted column width

2024-02-21 Thread Mike Kerner via use-livecode
yes, the dg does have all of these properties. i'm replacing a dg with a pg.
dg's work on mobile, too. the scrolling can sometimes be a little hairy and
jerky, but it does work. until the pg, nearly every project we built for
mobes had at least one dg in them.
i'm doing this because this project is being used for large datasets,
pulling data from an erp odbc datasource.

On Tue, Feb 20, 2024 at 6:07 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Can I just say that the Datagrid does have all these properties? What is
> the big advantage that would make Polygrids a better choice? Is it because
> they are Mobile friendly? Faster for large datasets? Easier to work with
> (apparently not unless by easier one means less properties that you can
> manipulate.)?
>
> Bob S
>
>
> On Feb 20, 2024, at 1:49 PM, Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> You have the dataWidth of the polygrid for the formattedWidth of the
> widget (to be wide enough to display all data), but what I think you want
> is some equivalent of the fomattedWidth of each column. I don't believe any
> such property exists in the polygrid.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


polygrid formatted column width

2024-02-20 Thread Mike Kerner via use-livecode
alrighty, then
i've got a polygrid. now, i want to set the column widths to the equivalent
maximum formatted widths, because...this is being used as part of an ad hoc
query tool.
did i miss something? i don't see an equivalent property
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


sideloading updates to mobile

2024-02-20 Thread Mike Kerner via use-livecode
anyone screw around with sideloading updates to mobile?
it should be pretty straightforward, but i haven't messed with it, yet.
one of our apps runs on single-app-mode ios devices. so, we could pay for
mdm to update it, or we could sideload the updates.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Latest PolyGrid

2024-02-13 Thread Mike Kerner via use-livecode
i didn't even realize there was 1.0.34. i don't recall seeing an
announcement. the last one i have is 1.0.33

On Tue, Feb 13, 2024 at 11:46 AM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all,
>
> yesterday I installed the latest version of "livecode_enhancements-1_0_34"
> but the new "Polygrid" version 1.8.0 completely wrecked my working stack,
> so I had to go back to the previous version 1.7.4.
>
> E.g. it threw an error on my "on cellclick" handler just by setting:
> -> set the pgData of me to tArray
>
> on cellClick pColumnNumber,pRowNumber, pCellRect
> -> ERROR: pColumnNumer is not a number (if I remember correctly)
>
> Noone clicked anything I just set the pgData :-/
>
> And also wrecked the order of its correctly prepared (in the array)
> content.
> Big fun! :-/
>
> Anyone else experienced something like this?
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Code Folding in LC

2024-02-13 Thread Mike Kerner via use-livecode
i was just about to ask if it still folded tags :-)

On Tue, Feb 13, 2024 at 8:41 AM Niggemann, Bernd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dear list
>
> I posted a stack on the Forum that temporarily installs Code Folding to LC
> version 9.6.9, 9.6.10, 9.6.11, or 10.0.0 DP 7. These changes are lost when
> closing LC
> Future versions might make changes to the installation stack necessary
> depending on the IDE changes in those versions.
>
> https://forums.livecode.com/viewtopic.php?f=9=38912
>
> You can test drive it and decide if you like it.
> There are instructions how to make this a permanent change for your
> specific copy of LC if you want to.
>
> To Mike: Yes it still folds #< to #
> Feedback welcome
>
> Kind regards
> Bernd
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Enhanced HTTPD - native HTTP 1.1 Livecode Socket Server

2024-02-06 Thread Mike Kerner via use-livecode
testing? no, for deployment.
our newest app could use http sockets to persist comms with our REST
server, instead of using long timeouts or pinging the server every few
seconds for updates.

On Tue, Feb 6, 2024 at 2:29 AM David Bovill via use-livecode <
use-livecode@lists.runrev.com> wrote:

> For testing mobile apps in development? I'm using it for an electron-style
> app, and may also use it for container based microservices.
>
> On Tue, 6 Feb 2024 at 00:48, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > i don't use lc as a server (but maybe i should think about it). i use it
> to
> > write mobile apps, so i could use http sockets on the client side.
> >
> > On Mon, Feb 5, 2024 at 3:19 PM David Bovill via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > I've been working for a while on a native server written in Livecode
> > using
> > > sockets. I feel it is definitely something that is sorely needed - but
> to
> > > do it properly is more work that I initially thought. I need to add
> HTTP
> > > 206 partial content support -
> > > https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206. I expect
> > > there to be other things that will need to be added.
> > >
> > > Is anyone interested / need this? Or does anyone already have something
> > > they use?
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Enhanced HTTPD - native HTTP 1.1 Livecode Socket Server

2024-02-05 Thread Mike Kerner via use-livecode
i don't use lc as a server (but maybe i should think about it). i use it to
write mobile apps, so i could use http sockets on the client side.

On Mon, Feb 5, 2024 at 3:19 PM David Bovill via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I've been working for a while on a native server written in Livecode using
> sockets. I feel it is definitely something that is sorely needed - but to
> do it properly is more work that I initially thought. I need to add HTTP
> 206 partial content support -
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206. I expect
> there to be other things that will need to be added.
>
> Is anyone interested / need this? Or does anyone already have something
> they use?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Top things you are waiting for ....

2024-02-03 Thread Mike Kerner via use-livecode
fyi, our subscription is up, shortly. i noticed that our compiler
subscription has been extended until december, 2025. i hope that does not
mean that compiler is going to be another ten months before we get to try
to break it.

On Tue, Jan 16, 2024 at 9:21 AM Mike Kerner 
wrote:

> well, they do owe you at least a year of it, since you paid for it, in
> advance
> the same goes for all of us that paid for html5 and have...not that.
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


web

2024-02-03 Thread Mike Kerner via use-livecode
my subscription is up, soon. i have web, but the last time i tried it, no
bueno. is anyone using web deploy?

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: activation and login broken?

2024-02-02 Thread Mike Kerner via use-livecode
i think we're back up.

On Fri, Feb 2, 2024 at 3:16 PM Mike Kerner 
wrote:

> and you, kevin.
> good thing i have you, too.
>
> On Fri, Feb 2, 2024 at 3:09 PM Mike Kerner 
> wrote:
>
>> welp, i don't have hosting. good thing i have you.
>>
>> On Fri, Feb 2, 2024 at 3:04 PM Ralph DiMola via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>> Select urgent on the hosting support contact us page.
>>>
>>>
>>>
>>> Ralph DiMola
>>>
>>> IT Director
>>>
>>> Evergreen Information Services
>>>
>>> rdim...@evergreeninfo.net
>>>
>>> Phone: 518-636-3998 Ex:11
>>>
>>> Cell: 518-796-9332
>>>
>>>
>>>
>>> From: Mike Kerner [mailto:mikeker...@roadrunner.com]
>>> Sent: Friday, February 02, 2024 2:59 PM
>>> To: How to use LiveCode
>>> Cc: Ralph DiMola
>>> Subject: Re: activation and login broken?
>>>
>>>
>>>
>>> how in the world does one submit an "urgent" ticket?
>>>
>>>
>>>
>>> On Fri, Feb 2, 2024 at 2:58 PM Ralph DiMola via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>
>>> Mike,
>>> Same here. Last time this happened someone submitted an LC hosting urgent
>>> ticket and it was fixed pronto.
>>> I will do it now.
>>>
>>> Ralph DiMola
>>> IT Director
>>> Evergreen Information Services
>>> rdim...@evergreeninfo.net
>>>
>>> -Original Message-
>>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
>>> Behalf
>>> Of Mike Kerner via use-livecode
>>> Sent: Friday, February 02, 2024 2:24 PM
>>> To: How to use LiveCode
>>> Cc: Mike Kerner
>>> Subject: activation and login broken?
>>>
>>> hmmm. i just tried to fire up LC on both mac and pc. i ran into an
>>> activation dialog, so i tried to log in, and got an error. so, i tried to
>>> log into the livecode website, and hit the same thing.
>>>
>>> --
>>> On the first day, God created the heavens and the Earth On the second
>>> day,
>>> God created the oceans.
>>> On the third day, God put the animals on hold for a few hours,
>>>and did a little diving.
>>> And God said, "This is good."
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription
>>> preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> On the first day, God created the heavens and the Earth
>>> On the second day, God created the oceans.
>>> On the third day, God put the animals on hold for a few hours,
>>>and did a little diving.
>>> And God said, "This is good."
>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>
>>
>> --
>> On the first day, God created the heavens and the Earth
>> On the second day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>and did a little diving.
>> And God said, "This is good."
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: activation and login broken?

2024-02-02 Thread Mike Kerner via use-livecode
and you, kevin.
good thing i have you, too.

On Fri, Feb 2, 2024 at 3:09 PM Mike Kerner 
wrote:

> welp, i don't have hosting. good thing i have you.
>
> On Fri, Feb 2, 2024 at 3:04 PM Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Select urgent on the hosting support contact us page.
>>
>>
>>
>> Ralph DiMola
>>
>> IT Director
>>
>> Evergreen Information Services
>>
>> rdim...@evergreeninfo.net
>>
>> Phone: 518-636-3998 Ex:11
>>
>> Cell: 518-796-9332
>>
>>
>>
>> From: Mike Kerner [mailto:mikeker...@roadrunner.com]
>> Sent: Friday, February 02, 2024 2:59 PM
>> To: How to use LiveCode
>> Cc: Ralph DiMola
>> Subject: Re: activation and login broken?
>>
>>
>>
>> how in the world does one submit an "urgent" ticket?
>>
>>
>>
>> On Fri, Feb 2, 2024 at 2:58 PM Ralph DiMola via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> Mike,
>> Same here. Last time this happened someone submitted an LC hosting urgent
>> ticket and it was fixed pronto.
>> I will do it now.
>>
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>>
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
>> Behalf
>> Of Mike Kerner via use-livecode
>> Sent: Friday, February 02, 2024 2:24 PM
>> To: How to use LiveCode
>> Cc: Mike Kerner
>> Subject: activation and login broken?
>>
>> hmmm. i just tried to fire up LC on both mac and pc. i ran into an
>> activation dialog, so i tried to log in, and got an error. so, i tried to
>> log into the livecode website, and hit the same thing.
>>
>> --
>> On the first day, God created the heavens and the Earth On the second day,
>> God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>and did a little diving.
>> And God said, "This is good."
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>>
>>
>>
>>
>> --
>>
>> On the first day, God created the heavens and the Earth
>> On the second day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>and did a little diving.
>> And God said, "This is good."
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: activation and login broken?

2024-02-02 Thread Mike Kerner via use-livecode
welp, i don't have hosting. good thing i have you.

On Fri, Feb 2, 2024 at 3:04 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Select urgent on the hosting support contact us page.
>
>
>
> Ralph DiMola
>
> IT Director
>
> Evergreen Information Services
>
> rdim...@evergreeninfo.net
>
> Phone: 518-636-3998 Ex:11
>
> Cell: 518-796-9332
>
>
>
> From: Mike Kerner [mailto:mikeker...@roadrunner.com]
> Sent: Friday, February 02, 2024 2:59 PM
> To: How to use LiveCode
> Cc: Ralph DiMola
> Subject: Re: activation and login broken?
>
>
>
> how in the world does one submit an "urgent" ticket?
>
>
>
> On Fri, Feb 2, 2024 at 2:58 PM Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> Mike,
> Same here. Last time this happened someone submitted an LC hosting urgent
> ticket and it was fixed pronto.
> I will do it now.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf
> Of Mike Kerner via use-livecode
> Sent: Friday, February 02, 2024 2:24 PM
> To: How to use LiveCode
> Cc: Mike Kerner
> Subject: activation and login broken?
>
> hmmm. i just tried to fire up LC on both mac and pc. i ran into an
> activation dialog, so i tried to log in, and got an error. so, i tried to
> log into the livecode website, and hit the same thing.
>
> --
> On the first day, God created the heavens and the Earth On the second day,
> God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
>
>
>
> --
>
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: activation and login broken?

2024-02-02 Thread Mike Kerner via use-livecode
how in the world does one submit an "urgent" ticket?

On Fri, Feb 2, 2024 at 2:58 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike,
> Same here. Last time this happened someone submitted an LC hosting urgent
> ticket and it was fixed pronto.
> I will do it now.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf
> Of Mike Kerner via use-livecode
> Sent: Friday, February 02, 2024 2:24 PM
> To: How to use LiveCode
> Cc: Mike Kerner
> Subject: activation and login broken?
>
> hmmm. i just tried to fire up LC on both mac and pc. i ran into an
> activation dialog, so i tried to log in, and got an error. so, i tried to
> log into the livecode website, and hit the same thing.
>
> --
> On the first day, God created the heavens and the Earth On the second day,
> God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


activation and login broken?

2024-02-02 Thread Mike Kerner via use-livecode
hmmm. i just tried to fire up LC on both mac and pc. i ran into an
activation dialog, so i tried to log in, and got an error. so, i tried to
log into the livecode website, and hit the same thing.

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[off] google project idx

2024-02-01 Thread Mike Kerner via use-livecode
google is sending out invites to try out their version of a low-code
web-based ide, called idx.


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Top things you are waiting for ....

2024-01-16 Thread Mike Kerner via use-livecode
well, they do owe you at least a year of it, since you paid for it, in
advance
the same goes for all of us that paid for html5 and have...not that.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Top things you are waiting for ....

2024-01-15 Thread Mike Kerner via use-livecode
some day, "a couple weeks" will come, and the compiler will go into beta.

On Sat, Nov 18, 2023 at 3:49 PM kee nethery via use-livecode <
use-livecode@lists.runrev.com> wrote:

> In App Purchases for MacOS apps. When I can’t make money using LiveCode, I
> have to use something else.
>
> Everything in LiveCode should be Unicode. Really surprised there is stuff
> that is not.
>
> Kee Nethery
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Should I upgrade to Xcode 15.0 or 15.1?

2023-12-17 Thread Mike Kerner via use-livecode
can lc 9.6.11 use both 15 and 15.1?
i've been holding off on updating to sonoma

On Sat, Dec 16, 2023 at 1:55 PM Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> For the purposes of notarization of macOS apps, I have seen no
> difference between Xcode 15 and 15.1 under Sonoma on a macBook Air (M1
> processor)
>
> I don't developer iOS apps though, nor do I use Xcode for anything other
> than code signing, notarization, and stapling of macOS desktop apps
>
>
> On 12/16/2023 1:43 PM, Andreas Bergendal via use-livecode wrote:
> > Hi all,
> >
> > I’ve just taken the step to MacOS Sonoma (14.2), and now intend to
> upgrade Xcode from 14.x to 15.
> > But I'm unsure of which version to go for, as the latest LC release
> notes say Xcode 15.0 and LC is usually quite picky about it.
> > I don’t want to download and install all the gigabytes of Xcode 15.1
> (which is the latest) just to discover that I really need 15.0
> >
> > Actually, the release notes don’t even mention MacOS 14.2 as a valid
> version for iOS deployment, so an additional question is if I’ve already
> burnt that bridge by going Sonoma, until LC catches up…?
> >
> > Please advise. :)
> >
> > /Andreas
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Top things you are waiting for ....

2023-11-16 Thread Mike Kerner via use-livecode
* the focus switches when you don't switch it? this is most noticeable when
one is in any of the palettes, such as the message box or the property
editor. hit delete, and...wait, what happened to the object that was on the
card? did it just get deleted? yes, it did. oh, you didn't notice? so sad.
* undo would help you fix that, if you noticed that suddenly something was
missing, but, well, you can't.

On Tue, Nov 14, 2023 at 12:53 PM General 2018 via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Serial communications over Bluetooth for Android.
>
> Currently Serial over Bluetooth limited to Windows and IOS devices at high
> tablet cost.
>
> Most real world solutions use Android for cost effective tablet for
> external device comms.
>
> This has been requested for at least 10 years for LC cross platform
> approach and is a weakness for such developments.
>
>
> > On 13 Nov 2023, at 02:16, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Thanks everyone for your answers.
> >
> >
> >
> >
> >> On Sun, Nov 12, 2023 at 7:13 PM Mike Kerner via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >> one more:
> >> * attention span and discipline, or hiring a chief that has attention
> span
> >> and discipline - with lc chasing every new revenue thing, and lurching
> off
> >> after it, the half-finished meals that are strewn about reflects on the
> >> product. "look! a squirrel!" is not a plan.
> >>
> >> On Sun, Nov 12, 2023 at 7:04 PM Mike Kerner 
> >> wrote:
> >>
> >>> just going off the top-of-my-head. i don't feel like going into the bug
> >>> list, even though there are plenty of open ones, including for the
> summer
> >>> megabundle widgets
> >>>
> >>> things i licensed that i'm still waiting for:
> >>> * script compiler
> >>> * web deploy
> >>> things that severely degrade lc features or make them unusable:
> >>> * docs for lcb
> >>> * docs for property inspector and property editor
> >>> * script widgets
> >>> * multi-path svg support (i can't tell you how many great svg's are
> >>> unusable, because you can't flatten/combine the paths and get the
> layers
> >> to
> >>> work out)
> >>> * icon library fixes
> >>> * project browser support groups
> >>> things that are just annoying:
> >>> * filtering/sorting the inclusions for standalones (there's a freaking
> PR
> >>> for this that's been "awaiting release" for...three years?)
> >>> * all the other PR's that are just sitting in limbo.
> >>> * standalone inclusion selections fixed (did you know that the db
> library
> >>> is attached to standalones, even if you specifically deselect it? did
> you
> >>> know that every time you mouseUp on a standalone, the db library
> >> intercepts
> >>> the event?)
> >>>
> >>>
> >>>
> >>> On Sun, Nov 12, 2023 at 3:59 PM matthias rebbe via use-livecode <
> >>> use-livecode@lists.runrev.com> wrote:
> >>>
> >>>>
> >>>> 1. Debugger for Livecode Server.
> >>>> Man, what do i miss the On-Rev client
> >>>>
> >>>> 2. Native MSSQL database support
> >>>>
> >>>> 3. tsNet to support HTTP/2
> >>>> https://quality.livecode.com/show_bug.cgi?id=23355
> >>>> According to CharlesW this should be easily fixed with a 3rd party
> >>>> library which has to be included alongside curl.
> >>>>
> >>>>
> >>>>
> >>>>> Am 11.11.2023 um 23:43 schrieb Tom Glod via use-livecode <
> >>>> use-livecode@lists.runrev.com>:
> >>>>>
> >>>>> Hey everyone
> >>>>> Just a market research thread.
> >>>>> What are the top 3 or 5 things you are waiting for in Livecode's
> >> feature
> >>>>> set?
> >>>>> This is my list.
> >>>>>
> >>>>> 1. Updated Browser
> >>>>> 2. Compiler (its important because speed is important to the user
> >>>>> experience)
> >>>>> 3. integrated layering of native controls
> >>>>>
> >>>>> What are yours?
> >>>>>
> >>>>> Cheers,
> >

Re: Top things you are waiting for ....

2023-11-12 Thread Mike Kerner via use-livecode
one more:
* attention span and discipline, or hiring a chief that has attention span
and discipline - with lc chasing every new revenue thing, and lurching off
after it, the half-finished meals that are strewn about reflects on the
product. "look! a squirrel!" is not a plan.

On Sun, Nov 12, 2023 at 7:04 PM Mike Kerner 
wrote:

> just going off the top-of-my-head. i don't feel like going into the bug
> list, even though there are plenty of open ones, including for the summer
> megabundle widgets
>
> things i licensed that i'm still waiting for:
> * script compiler
> * web deploy
> things that severely degrade lc features or make them unusable:
> * docs for lcb
> * docs for property inspector and property editor
> * script widgets
> * multi-path svg support (i can't tell you how many great svg's are
> unusable, because you can't flatten/combine the paths and get the layers to
> work out)
> * icon library fixes
> * project browser support groups
> things that are just annoying:
> * filtering/sorting the inclusions for standalones (there's a freaking PR
> for this that's been "awaiting release" for...three years?)
> * all the other PR's that are just sitting in limbo.
> * standalone inclusion selections fixed (did you know that the db library
> is attached to standalones, even if you specifically deselect it? did you
> know that every time you mouseUp on a standalone, the db library intercepts
> the event?)
>
>
>
> On Sun, Nov 12, 2023 at 3:59 PM matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>>
>> 1. Debugger for Livecode Server.
>> Man, what do i miss the On-Rev client
>>
>> 2. Native MSSQL database support
>>
>> 3. tsNet to support HTTP/2
>> https://quality.livecode.com/show_bug.cgi?id=23355
>> According to CharlesW this should be easily fixed with a 3rd party
>> library which has to be included alongside curl.
>>
>>
>>
>> > Am 11.11.2023 um 23:43 schrieb Tom Glod via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >
>> > Hey everyone
>> > Just a market research thread.
>> > What are the top 3 or 5 things you are waiting for in Livecode's feature
>> > set?
>> > This is my list.
>> >
>> > 1. Updated Browser
>> > 2. Compiler (its important because speed is important to the user
>> > experience)
>> > 3. integrated layering of native controls
>> >
>> > What are yours?
>> >
>> > Cheers,
>> >
>> > Tom
>> > ___
>> > use-livecode mailing list
>> > use-livecode@lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Top things you are waiting for ....

2023-11-12 Thread Mike Kerner via use-livecode
just going off the top-of-my-head. i don't feel like going into the bug
list, even though there are plenty of open ones, including for the summer
megabundle widgets

things i licensed that i'm still waiting for:
* script compiler
* web deploy
things that severely degrade lc features or make them unusable:
* docs for lcb
* docs for property inspector and property editor
* script widgets
* multi-path svg support (i can't tell you how many great svg's are
unusable, because you can't flatten/combine the paths and get the layers to
work out)
* icon library fixes
* project browser support groups
things that are just annoying:
* filtering/sorting the inclusions for standalones (there's a freaking PR
for this that's been "awaiting release" for...three years?)
* all the other PR's that are just sitting in limbo.
* standalone inclusion selections fixed (did you know that the db library
is attached to standalones, even if you specifically deselect it? did you
know that every time you mouseUp on a standalone, the db library intercepts
the event?)



On Sun, Nov 12, 2023 at 3:59 PM matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> 1. Debugger for Livecode Server.
> Man, what do i miss the On-Rev client
>
> 2. Native MSSQL database support
>
> 3. tsNet to support HTTP/2
> https://quality.livecode.com/show_bug.cgi?id=23355
> According to CharlesW this should be easily fixed with a 3rd party library
> which has to be included alongside curl.
>
>
>
> > Am 11.11.2023 um 23:43 schrieb Tom Glod via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hey everyone
> > Just a market research thread.
> > What are the top 3 or 5 things you are waiting for in Livecode's feature
> > set?
> > This is my list.
> >
> > 1. Updated Browser
> > 2. Compiler (its important because speed is important to the user
> > experience)
> > 3. integrated layering of native controls
> >
> > What are yours?
> >
> > Cheers,
> >
> > Tom
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Property Inspector bug for keys with commas in the key name

2023-11-03 Thread Mike Kerner via use-livecode
ok, let's see. you got me distracted from real work:
if you're following along at home, in real time, look in
toolset->palettes->inspector->editors->com.livecode.pi.customprops.behavior.livecodescript

On Thu, Nov 2, 2023 at 6:02 PM Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This bug (https://quality.livecode.com/show_bug.cgi?id=23512) where a
> comma in the key name of an array prevents the Proerty Inspector from
> being able to edit the property just bit me again.
>
> I have a stack (for help) that extensively uses keys with commas (create
> prior to the Project Browser and new PI) that I can not edit except by
> script - which is a pain in the (you know what).
>
> Does anyone have an edit to the PI code for this OR an alternative PI
> that does not have this bug?
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Property Inspector bug for keys with commas in the key name

2023-11-03 Thread Mike Kerner via use-livecode
no, but, i started to write a wiki on the PI/PE, which might help you to
get started in your search:
https://github.com/macMikey/LC-HACK/wiki/Property-Inspector

On Thu, Nov 2, 2023 at 6:02 PM Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This bug (https://quality.livecode.com/show_bug.cgi?id=23512) where a
> comma in the key name of an array prevents the Proerty Inspector from
> being able to edit the property just bit me again.
>
> I have a stack (for help) that extensively uses keys with commas (create
> prior to the Project Browser and new PI) that I can not edit except by
> script - which is a pain in the (you know what).
>
> Does anyone have an edit to the PI code for this OR an alternative PI
> that does not have this bug?
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Direct editing of polygrid text cells and polylist text elements

2023-11-02 Thread Mike Kerner via use-livecode
sorry, i hit "send", too quickly.
focusOut and inputEndEditing would go in the "edit" field, and i think that
would get rid of the need for the cellClick handler in the pl/pg. the
cellClick handler will only manage clicks inside the pl/pg, not elsewhere
on the card.

On Thu, Nov 2, 2023 at 11:16 AM Mike Kerner 
wrote:

> i think you might need to add an on focusOut handler, because the user may
> choose to click outside of the field, and if the app is on mobile, an
> inputEndEditing handler
> this is bringing back 1980's memories, with how we had to hack controls to
> do the same thing in hc...
>
> On Thu, Nov 2, 2023 at 10:57 AM panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hello all,
>>
>> You can write a script for that. Just add a PolyGrid and a field, set the
>> name of the field to "Edit" and add this code:
>>
>> Add this in the script of the field "edit":
>>
>> on enterinfield
>>hide me
>> end enterinfield
>>
>> on returninfield
>>hide me
>> end returninfield
>>
>> on textChanged
>>set the pgInternalPointer of widget "PolyGrid" to the cCoordinate of me
>>set the pgTextOfCell of widget "PolyGrid" to the text of me
>> end textChanged
>>
>> Add this to the script of the PolyGrid:
>>
>> on cellDoubleClick pCol, pRow, pRect
>>set the rect of field "edit" to pRect
>>set the text of field "edit" to the pgmousecelltext of me
>>set the cCoordinate of field "edit" to  pCol, pRow
>>show  field "edit"
>>--focus on field "edit"
>>select after  field "edit"
>> end cellDoubleClick
>>
>> on cellClick
>>hide  field "edit"
>> end cellClick
>>
>> Now just double-click on a cell to edit it.
>>
>> Kind regards,
>> Panos
>>
>> On Thu, 2 Nov 2023 at 00:01, Paul Dupuis via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> > +1
>> >
>> > I'd like to know this too as I can see no way in the Property Inspector
>> > or the pgColumns property to indicate a column is 'editable'. Nor can I
>> > find any property, message, etc. in the polygrid Dictionary entry that
>> > seems to suggest cell editing.
>> >
>> >
>> > On 11/1/2023 5:28 PM, Peter Thirkell via use-livecode wrote:
>> > > I am enjoying both the polygrid and polylist add-ons to Livecode. They
>> > are infinitely flexible to use once you get to know them, and most
>> > importantly they render beautifully across all platforms.
>> > >
>> > > I have one question which doesn’t seem to be addressed in the
>> > documentation. The polygrid widget specifications say that it supports
>> > “direct cell editing” but I am not able to find any way to do this. Has
>> > anyone found a way?
>> > >
>> > > More generally, do we have any multi-line input field options for
>> > Livecode which render well across all platforms? Polygrid and polylist
>> work
>> > beautifully in displaying already existing data from some sort of data
>> > repository ... but it would be awesome to provide the ability for users
>> to
>> > input information as well as display it using the brilliant polygrid and
>> > polylist tools.
>> > >
>> > > Providing truly cross-platform inputting of data and information in an
>> > easy way would provide the final puzzle piece for many of us wanting to
>> > provide a modern and beautiful user interface for our apps.
>> > >
>> > > Many thanks 
>> > > ___
>> > > use-livecode mailing list
>> > > use-livecode@lists.runrev.com
>> > > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > > http://lists.runrev.com/mailman/listinfo/use-livecode
>> >
>> >
>> > ___
>> > use-livecode mailing list
>> > use-livecode@lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>> >
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Possible enhancement request

2023-11-02 Thread Mike Kerner via use-livecode
for good or bad, the lcb style guide section on events as excerpted, here

says
that those events are recommended, but not required.
in many of those widgets, it would also be nice if there was a way to
intercept the click, and decide what to do, before it is just done.
that's part of what led to the birth of the "navrad" widget - intercept a
click in the navbar and decide whether the hilite should be allowed to
change or not, instead of changing the hilite first, and then undoing it if
it should not have been allowed.

On Thu, Nov 2, 2023 at 11:20 AM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi friends,
>
> before I post an enhancment request to the "Qualtiy Center", I wanted to
> hear your opinions about this.
>
> Wouldn't it be great if ALL widgets would receive and handle at least a
> mouseup (and mousedown) meassage?
> I have always wondered why that is not the case.
>
> This way scripting would be a lot easier for us and we do not have to
> remember the many different messages
> the widgets have. Yes, they can be seen in the script editor on the left
> side, nevertheless... :-)
>
> Examples:
> PolyGrid -> cellclick
> PolyList -> itemclick
> Segmentedcontrol -> hilitechanged
> Switch Button -> hilitechanged
> Radial Slider -> valueChanged
> Navigation Bar -> hilitechanged
> Line Graph -> receives NO message at all?
>
> Maybe I forgot one or two things here, but I think you get the picture.
> Thank you for your opinions.
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Direct editing of polygrid text cells and polylist text elements

2023-11-02 Thread Mike Kerner via use-livecode
i think you might need to add an on focusOut handler, because the user may
choose to click outside of the field, and if the app is on mobile, an
inputEndEditing handler
this is bringing back 1980's memories, with how we had to hack controls to
do the same thing in hc...

On Thu, Nov 2, 2023 at 10:57 AM panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello all,
>
> You can write a script for that. Just add a PolyGrid and a field, set the
> name of the field to "Edit" and add this code:
>
> Add this in the script of the field "edit":
>
> on enterinfield
>hide me
> end enterinfield
>
> on returninfield
>hide me
> end returninfield
>
> on textChanged
>set the pgInternalPointer of widget "PolyGrid" to the cCoordinate of me
>set the pgTextOfCell of widget "PolyGrid" to the text of me
> end textChanged
>
> Add this to the script of the PolyGrid:
>
> on cellDoubleClick pCol, pRow, pRect
>set the rect of field "edit" to pRect
>set the text of field "edit" to the pgmousecelltext of me
>set the cCoordinate of field "edit" to  pCol, pRow
>show  field "edit"
>--focus on field "edit"
>select after  field "edit"
> end cellDoubleClick
>
> on cellClick
>hide  field "edit"
> end cellClick
>
> Now just double-click on a cell to edit it.
>
> Kind regards,
> Panos
>
> On Thu, 2 Nov 2023 at 00:01, Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > +1
> >
> > I'd like to know this too as I can see no way in the Property Inspector
> > or the pgColumns property to indicate a column is 'editable'. Nor can I
> > find any property, message, etc. in the polygrid Dictionary entry that
> > seems to suggest cell editing.
> >
> >
> > On 11/1/2023 5:28 PM, Peter Thirkell via use-livecode wrote:
> > > I am enjoying both the polygrid and polylist add-ons to Livecode. They
> > are infinitely flexible to use once you get to know them, and most
> > importantly they render beautifully across all platforms.
> > >
> > > I have one question which doesn’t seem to be addressed in the
> > documentation. The polygrid widget specifications say that it supports
> > “direct cell editing” but I am not able to find any way to do this. Has
> > anyone found a way?
> > >
> > > More generally, do we have any multi-line input field options for
> > Livecode which render well across all platforms? Polygrid and polylist
> work
> > beautifully in displaying already existing data from some sort of data
> > repository ... but it would be awesome to provide the ability for users
> to
> > input information as well as display it using the brilliant polygrid and
> > polylist tools.
> > >
> > > Providing truly cross-platform inputting of data and information in an
> > easy way would provide the final puzzle piece for many of us wanting to
> > provide a modern and beautiful user interface for our apps.
> > >
> > > Many thanks 
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [[ ANN ]] Release 9.6.11 RC-1

2023-11-02 Thread Mike Kerner via use-livecode
looking forward to maybe finally doing the sonoma thing

On Thu, Nov 2, 2023 at 10:32 AM panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dear list members,
>
> We are pleased to announce the release of LiveCode 9.6.11 RC-1.
>
> LiveCode 9.6.11 RC-1 comes with more than 10 bugfixes and new features,
> including support for Xcode 15 / iOS 17 SDK.
>
> You can find more details on the bug fixes and improvements of this new
> release here:
>
> https://livecode.com/livecode-9-6-11-rc-1-released-support-for-ios-17/
>
> You can find the release in your LiveCode account area or get it via the
> automatic updater.
>
> Enjoy!
>
> Kind regards
> The LiveCode Team
> --
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PolyGrid: UNhilite a row?

2023-10-23 Thread Mike Kerner via use-livecode
you didn't mention the workaround that you used.
i'm not sure what we're supposed to do with the png since we can't see the
code.

On Mon, Oct 23, 2023 at 1:12 PM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Mike,
>
> > Am 23.10.2023 um 19:09 schrieb Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > unfortunately, all i can see is the png file.
>
> yes, by intention! ;-)
>
> > i can't download the stack to see what's going on.
>
> Sorry, stack is not meant for public...
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PolyGrid: UNhilite a row?

2023-10-23 Thread Mike Kerner via use-livecode
unfortunately, all i can see is the png file. i can't download the stack to
see what's going on.

On Mon, Oct 23, 2023 at 1:03 PM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Mike,
>
> > Am 23.10.2023 um 18:51 schrieb Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > what event are you setting it in? i have had issues with the widgets not
> > responding to appearance updates in preopencard, but i don't have a great
> > recipe for it.
>
> See here, I have a long list of PDF files and clicking the widget "index"
> will filter the PDF list with that char.
> <
> https://www.dropbox.com/scl/fi/ygmnzx3s7pvknpbycvi6z/index_polygrid.png?rlkey=c4as77jo96c0e2em3bde9tpk8=0
> >
>
> Clicking button "A-Z" will the display all the files.
> I need to UNhilite the index in that button.
>
> No idea why it does not work? But the workaround does, so problem solved
> (for me and for now).
>
> > On Mon, Oct 23, 2023 at 12:50 PM Mike Kerner 
> > wrote:
> >
> >> interesting. it works for me. i use the numeric version (set the hilited
> >> row of widget "pg" to 0
> >>
> >> On Mon, Oct 23, 2023 at 11:40 AM Klaus major-k via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> Hi friends,
> >>>
> >>> I cannot UN-hilite a row in a polygrid?!
> >>> I tried:
> >>> ...
> >>> set the hilitedrow of widget "index" to "0"
> >>> ...
> >>> set the hilitedrow of widget "index" to 0
> >>> ...
> >>> set the pgHilitedText of widget "index" to ""
> >>> ...
> >>> set the pgHilitedText of widget "index" to EMPTY
> >>> ...
> >>> no dice!?
> >>>
> >>> I use the latest version of the "Widget pack".
> >>> Thanks in advance!
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PolyGrid: UNhilite a row?

2023-10-23 Thread Mike Kerner via use-livecode
what event are you setting it in? i have had issues with the widgets not
responding to appearance updates in preopencard, but i don't have a great
recipe for it.

On Mon, Oct 23, 2023 at 12:50 PM Mike Kerner 
wrote:

> interesting. it works for me. i use the numeric version (set the hilited
> row of widget "pg" to 0
>
> On Mon, Oct 23, 2023 at 11:40 AM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hi friends,
>>
>> I cannot UN-hilite a row in a polygrid?!
>> I tried:
>> ...
>> set the hilitedrow of widget "index" to "0"
>> ...
>> set the hilitedrow of widget "index" to 0
>> ...
>> set the pgHilitedText of widget "index" to ""
>> ...
>> set the pgHilitedText of widget "index" to EMPTY
>> ...
>> no dice!?
>>
>> I use the latest version of the "Widget pack".
>> Thanks in advance!
>>
>>
>> Best
>>
>> Klaus
>> --
>> Klaus Major
>> https://www.major-k.de
>> https://www.major-k.de/bass
>> kl...@major-k.de
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PolyGrid: UNhilite a row?

2023-10-23 Thread Mike Kerner via use-livecode
interesting. it works for me. i use the numeric version (set the hilited
row of widget "pg" to 0

On Mon, Oct 23, 2023 at 11:40 AM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi friends,
>
> I cannot UN-hilite a row in a polygrid?!
> I tried:
> ...
> set the hilitedrow of widget "index" to "0"
> ...
> set the hilitedrow of widget "index" to 0
> ...
> set the pgHilitedText of widget "index" to ""
> ...
> set the pgHilitedText of widget "index" to EMPTY
> ...
> no dice!?
>
> I use the latest version of the "Widget pack".
> Thanks in advance!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Me and target of script widgets

2023-10-23 Thread Mike Kerner via use-livecode
also brutal answer:
documentation needs to be not just extended, but written for the property
inspector and property editor, or you are going to be spinning your wheels
trying to figure out that thing, too.
this same issue has made writing lcb widgets so exceptionally painful that
i've stopped wasting my time.
the answer from the mothership has been "if you have some specific
question, ask," which, of course leads to a slew of questions, which then
go mostly or entirely unanswered.

On Sun, Oct 22, 2023 at 6:01 AM Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Brutal answer :-)
>
> Script widgets aren't ready for release yet. They have (effectivtely) no
> documentation, no examples, no lessons.
>
> Unless you have a desparate need to do it now, I'd suggest waiting until
> they are somewhere near ready.
>
> Alex.
>
> On 22/10/2023 10:41, David Bovill via use-livecode wrote:
> > Having my first go at script widgets. It appears that there is either an
> > issue (or it is a feature) with script widgets and "me"?
> >
> > A handler like this:
> >
> > *on* mouseUp
> >
> > *## All references are to "inner" controls (ie the target) and not the
> > group*
> >
> > *put* the short id of me into shortID
> >
> > *put* the long id of the target into sName
> >
> > *put* the long id of me into myID
> >
> > *## Have to be explicit with messages*
> >
> > *-- dispatch "menu_AskEdit" to me -- or the target does not work*
> >
> > *dispatch* "menu_AskEdit" to this card with myID,shortID
> >
> > *end* mouseUp
> >
> > When inside a script only widget shows that would normally pass the long
> id
> > of the control clicked on within the group (script widget) with myID and
> > the short ID of the group (script widget) itself in shortID. However both
> > the target and me refer to the control and not the group / script widget.
> > It seems there is no easy way to find out a reference to "me" in a
> > script widget?
> >
> > I've a lot of scripts that use "me" in behaviors for potential script
> > widgets - so looking for a short term and long term solution for this?
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: arrayToJSON on lc server

2023-10-16 Thread Mike Kerner via use-livecode
let's see: in the public repo, there's the json.lcb source:
https://github.com/livecode/livecode/blob/4606a10ea10b16d5071d0f9f263ccdd7ede8b31d/extensions/libraries/json/json.lcb#L4
also, references to the "fastjson" library:
https://github.com/bhall2001/fastjson

On Mon, Oct 16, 2023 at 10:49 PM Mike Kerner 
wrote:

> the externalfunctions doesn't seem to be returning anything for a project
> i just opened (never tested it, before). that project has a lot of
> standalone inclusions, some of which have external functions, so i don't
> know if it means externals that are directly attached to the stack (like
> old xcmd's/xfcn's).
> grasping at straws, because i'm not deploying to lc server on linux
> * i assume you manually included mergjson in your standalone (assuming
> you're building your project). if not, try that.
> * have you tried embedding the source from the
> mergJSONLibrary.livecodescript into your main stack and then stepping
> through the code? it's available in the oss repo or any of the forks of
> that repo. that's just the library, not the mergjsonencode external, but it
> might get you closer.
> * if that doesn't work, there are at least two other oss lc json
> codebases, the most popular being mark smith's, which, i think, is what
> monte used when he wrote mergjson.
>
> On Mon, Oct 16, 2023 at 7:21 PM Neville Smythe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> I am having a problem with the function arrayToJSON on LC Server 9.6.10
>> pro (Linux host) (I couldn't get it to work on earlier versions either)
>>
>> I get the error
>>
>> Function: error in function handler (arrayToJSON)
>> The mergJSON.so file is in the Externals folder, which resides in the
>> same directory as livecode-server. Since revdb calls work, which I assume
>> use the revdb.so library, evidently Externals are loading, and permissions
>> for mergJSON.so are the same as for revdb.so.
>>
>> This is supposed to work out of the box, so I must be missing something
>> obvious.
>>
>> BTW, the call "the externalFunctions of this stack" return empty - is
>> that correct, should it not return the functions available in the Externals
>> .so libraries?
>>
>> Neville Smythe
>>
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: arrayToJSON on lc server

2023-10-16 Thread Mike Kerner via use-livecode
the externalfunctions doesn't seem to be returning anything for a project i
just opened (never tested it, before). that project has a lot of
standalone inclusions, some of which have external functions, so i don't
know if it means externals that are directly attached to the stack (like
old xcmd's/xfcn's).
grasping at straws, because i'm not deploying to lc server on linux
* i assume you manually included mergjson in your standalone (assuming
you're building your project). if not, try that.
* have you tried embedding the source from the
mergJSONLibrary.livecodescript into your main stack and then stepping
through the code? it's available in the oss repo or any of the forks of
that repo. that's just the library, not the mergjsonencode external, but it
might get you closer.
* if that doesn't work, there are at least two other oss lc json codebases,
the most popular being mark smith's, which, i think, is what monte used
when he wrote mergjson.

On Mon, Oct 16, 2023 at 7:21 PM Neville Smythe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am having a problem with the function arrayToJSON on LC Server 9.6.10
> pro (Linux host) (I couldn't get it to work on earlier versions either)
>
> I get the error
>
> Function: error in function handler (arrayToJSON)
> The mergJSON.so file is in the Externals folder, which resides in the same
> directory as livecode-server. Since revdb calls work, which I assume use
> the revdb.so library, evidently Externals are loading, and permissions for
> mergJSON.so are the same as for revdb.so.
>
> This is supposed to work out of the box, so I must be missing something
> obvious.
>
> BTW, the call "the externalFunctions of this stack" return empty - is that
> correct, should it not return the functions available in the Externals .so
> libraries?
>
> Neville Smythe
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: No progress updates on LC 10. Am i the only one who is concerned?

2023-10-11 Thread Mike Kerner via use-livecode
"a few weeks" was also last october, then november, then last december.
i get it, i'm starting to sound like one of the grumpy old guys.
i'm also one who threw down for an html5 license (waiting for it to be
usable), and paid for a compiler license, what, eleven months ago?
i used to dismiss all the folks who complained about lc-forever, or
ic-reinvented, or whatever the campaign was from was it a decade ago when
lc went OSS? it can't be a decade ago.
unfortunately, the fact is that the sales pitches, year-after-year, are all
pay now, get later, and we seem to be left waiting, each time.

On Wed, Oct 11, 2023 at 2:24 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 10/11/23 10:28 AM, William Prothero via use-livecode wrote:
> > However, the development process would need an interface that works in a
> well documented,
> > straightforward way
>
> Right. I tried LC Create for a few days but without documentation I didn't
> get very far. I
> couldn't figure out what syntax to use on all the new widgets and after
> some hours I gave up.
>
> Every new control should have at least a list of messages/functions it
> uses. Without that,
> about all you can to is play with layouts for now. That's not an
> insignificant thing, but it is
> limiting.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: No progress updates on LC 10. Am i the only one who is concerned?

2023-10-11 Thread Mike Kerner via use-livecode
it's october. do you know where the script compiler and usable html5 are?

On Mon, Aug 21, 2023 at 12:10 PM Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sad update: it's just happened to me again, with Bracket Completion
> switched
> off. I literally checked just before starting to type the format
> statement;
> after it crashed and I relaunched 10.0.0.dp5, I checked again. It was
> still
> switched off.
>
> I see that the bug is marked awaiting release - but it's not mentioned in
> the
> release notes for 10.0.0dp6.
>
> :-(
>
>
> On 26/07/2023 09:58, Ben Rubinstein via use-livecode wrote:
> > Oooh - I hadn't spotted that. (With only a little bit of fear) I'll
> venture
> > back into 10dp5 and turn that off. Thanks Geoff!
> >
> > On 26/07/2023 03:49, Geoff Canyon via use-livecode wrote:
> >> So, not to be too much of an apologist, but the issue doesn't seem like
> a
> >> showstopper to me.
> >>
> >> On Tue, Jul 25, 2023 at 10:36 AM Dick Kriesel via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>>
> >>>
>  On Jul 25, 2023, at 11:37 AM, Geoff Canyon via use-livecode <
> >>> use-livecode@lists.runrev.com> wrote:
> 
>  Maybe a silly question, but that issue lists "turn on bracket
> completion"
>  as a step to reproduce. If bracket completion is off, is it safe?
> >>>
> >>> Hi, Geoff. I filed the report. With bracket completion off, I saw no
> such
> >>> problem.
> >>> — Dick
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >>> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription
> >> preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription
> > preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: I give up! Mac App Installer Hell

2023-10-09 Thread Mike Kerner via use-livecode
ios is much more straightforward than it was, even a couple of years ago. i
would call it "nearly painless", now.
mac...sorry, no do.

On Mon, Oct 9, 2023 at 11:39 AM Mark Smith via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Dan,
>
> Which store are you intending to submit to: Mac App or iOS App? I’ve done
> it to iOS a half dozen times (although the last time was probably more than
> a year ago) I could probably scrounge something useful together. I’ve only
> created installer packages for the Mac App Store (using Kee Nethery’s
> excellent livecode lesson “Signing and Uploading Apps to the Mac App Store”
> but which are, as you point out, out of date (Matthias was very helpful in
> helping me sort which parts to ignore and which parts to pay attention to)
> but I’ve only gotten to the point of creating an installer package (which
> I’m using to install and test the app on several different Macs) so I’ve
> not yet submitted to the App Store. That is the next step on my list,
> although this week is a write-off in terms of time, and in fact this month
> might be a write-off. However, if you are having difficulty creating the
> installer package I would be happy to send you my crib notes which are
> pretty brief and easy to follow.
>
> Mark
>
> > On 6 Oct 2023, at 11:44 pm, Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > If you have a very, very, VERY good understanding of creating Mac
> installer files to be posted to a website for user install, and to submit
> to the Mac App Store, I would like to pay you to walk me through all this -
> step by step.  I can’t take any of more this crap!  Certificates,
> Identifiers, Profiles, p12 Files, Keys (public and private), Provisioning,
> Installer keys… G!!!  I have an app that is tested, built and ready to
> go.  Just need to get it signed and uploaded to Apple.   If you understand
> all this, I would think a 20 minute Skype call should get it done.
> >
> > FYI… This is an update to an existing app that is already in the app
> store.  (Don’t ask me how I got it done last time?!).  I don’t know why my
> brain can’t grasp this…. I have read Apple’s documentation, tried the (out
> of date) LC Lesions, watched videos, and gone through article after
> article.   At this point, I am not really interested in learning how to do
> this… I just want to get it done.
> >
> > Save me!
> > -Dan
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: UUID v7

2023-09-01 Thread Mike Kerner via use-livecode
it's an interesting topic, because in one of the db communities i'm
involved with, they're actually going the other way, increasing entropy.

On Fri, Sep 1, 2023 at 1:56 PM Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Mike,
>
> Sometimes you just don't need uniqueness across all bits, and if you do,
> use v4.
> In my example, the ID is used for clipboard clips, but now I don't have to
> sort them based on their timestamp.
> Also this improves database performance as the btree is better organized.
> There are a few videos and lots of papers on the topic.
>
>
> On Fri, Sep 1, 2023 at 1:38 PM Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > why would reducing randomness be desirable in an internet-facing app?
> isn't
> > the whole point to
> > * ensure uniqueness across the entire space
> > * make it nearly impossible to guess an ID?
> > i would think that once you make the id's sequential, you have eliminated
> > the ability to stop an authorized user from randomly marching through
> your
> > data.
> >
> > On Fri, Sep 1, 2023 at 1:21 PM Tom Glod via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Hi Folks,
> > >
> > > Sharing this because its useful, and also, more eyeballs on the code
> > makes
> > > sense.
> > > I implemented this with the help of chatGPT.
> > >
> > > This is a handler that can generate v7 UUIDs.
> > > v7 UUIDs work better in databases, because they are not so random,
> > > improving performance.
> > > And they are sequential.
> > > They also match the format of uuid v4
> > > Also the specs for v7 have not yet been finalized.
> > >
> > > Here it is:
> > >
> > > function CreateUUID pVersion
> > >// This Handler returns a
> > >if pVersion is not 7 then
> > >   //Return V4 Random UUID
> > >   return uuid("random")
> > >
> > >else if pVersion = 7 then
> > >   // return V7 Random yet sequenced UUID
> > >
> > >   local tUnixTsMs, tVer, tRandA, tTVar, tRandB, tTheID
> > >   -- Get the current timestamp in milliseconds
> > >
> > >   put baseConvert(the milliseconds, 10, 16) into tUnixTsMs
> > >   put format("%012s", tUnixTsMs) into tUnixTsMs
> > >
> > >   // Set the version field to 0b0111 (7)
> > >   put "7" into tVer
> > >
> > >   // Generate 12 bits of pseudo-random data for RAND A
> > >   put random(4095) into tRandA -- 4095 is the maximum value for 12
> > bits
> > >   put baseConvert(tRandA, 10, 16) into tRandA
> > >   put format("%03s", tRandA) into tRandA
> > >
> > >   // Set the variant field to 0b10
> > >   put "8" into tTVar -- 0b10 in hexadecimal
> > >
> > >   // Generate 62 bits of pseudo-random data for RAND B
> > >   repeat 16 times
> > >  put baseConvert(random(15), 10, 16) after tRandB -- generate
> one
> > > hex digit at a time
> > >   end repeat
> > >
> > >   // Combine all the bits to form the UUID
> > >   put tUnixTsMs & tVer & tRandA & tTVar & tRandB into tTheID
> > >
> > >   // Insert dashes to form the UUID in 8-4-4-4-12 format
> > >   put char 1 to 8 of tTheID & "-" & char 9 to 12 of tTheID & "-" &
> > char
> > > 13 to 16 of tTheID & "-" & char 17 to 20 of tTheID & "-" & char 21 to
> 32
> > of
> > > tTheID into tTheID
> > >
> > >   return tTheID
> > >end if
> > > end CreateUUID tVersion
> > >
> > > Cheers,
> > >
> > > Tom
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: UUID v7

2023-09-01 Thread Mike Kerner via use-livecode
why would reducing randomness be desirable in an internet-facing app? isn't
the whole point to
* ensure uniqueness across the entire space
* make it nearly impossible to guess an ID?
i would think that once you make the id's sequential, you have eliminated
the ability to stop an authorized user from randomly marching through your
data.

On Fri, Sep 1, 2023 at 1:21 PM Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Folks,
>
> Sharing this because its useful, and also, more eyeballs on the code makes
> sense.
> I implemented this with the help of chatGPT.
>
> This is a handler that can generate v7 UUIDs.
> v7 UUIDs work better in databases, because they are not so random,
> improving performance.
> And they are sequential.
> They also match the format of uuid v4
> Also the specs for v7 have not yet been finalized.
>
> Here it is:
>
> function CreateUUID pVersion
>// This Handler returns a
>if pVersion is not 7 then
>   //Return V4 Random UUID
>   return uuid("random")
>
>else if pVersion = 7 then
>   // return V7 Random yet sequenced UUID
>
>   local tUnixTsMs, tVer, tRandA, tTVar, tRandB, tTheID
>   -- Get the current timestamp in milliseconds
>
>   put baseConvert(the milliseconds, 10, 16) into tUnixTsMs
>   put format("%012s", tUnixTsMs) into tUnixTsMs
>
>   // Set the version field to 0b0111 (7)
>   put "7" into tVer
>
>   // Generate 12 bits of pseudo-random data for RAND A
>   put random(4095) into tRandA -- 4095 is the maximum value for 12 bits
>   put baseConvert(tRandA, 10, 16) into tRandA
>   put format("%03s", tRandA) into tRandA
>
>   // Set the variant field to 0b10
>   put "8" into tTVar -- 0b10 in hexadecimal
>
>   // Generate 62 bits of pseudo-random data for RAND B
>   repeat 16 times
>  put baseConvert(random(15), 10, 16) after tRandB -- generate one
> hex digit at a time
>   end repeat
>
>   // Combine all the bits to form the UUID
>   put tUnixTsMs & tVer & tRandA & tTVar & tRandB into tTheID
>
>   // Insert dashes to form the UUID in 8-4-4-4-12 format
>   put char 1 to 8 of tTheID & "-" & char 9 to 12 of tTheID & "-" & char
> 13 to 16 of tTheID & "-" & char 17 to 20 of tTheID & "-" & char 21 to 32 of
> tTheID into tTheID
>
>   return tTheID
>end if
> end CreateUUID tVersion
>
> Cheers,
>
> Tom
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [[ ANN ]] Release 9.6.10

2023-08-29 Thread Mike Kerner via use-livecode
i'm still running ventura, but software update is constantly trying to
update CLT, even though i downloaded and installed xcode manually, not via
appstore

On Tue, Aug 29, 2023 at 2:17 PM panagiotis m via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello Mike,
>
> I guess we will update the supported xcode version once macOS Sonoma and/or
> Xcode 15 - iOS 17 SDK are publicly available, so probably in LC 9.6.11 rc-1
>
> I think you can update your CLT to 14.3, but make sure you still keep the
> current supported xcode version
>
> Kind regards,
> Panos
>
> On Tue, 29 Aug 2023, 20:46 Mike Kerner via use-livecode, <
> use-livecode@lists.runrev.com> wrote:
>
> > No XCode version update? MacOS updater keeps harassing me to update CLT
> to
> > 14.3
> >
> > On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Hi Bob,
> > >
> > > i did not mean when an update for LC 10 is coming, but for what version
> > > the fix is planned for Livecode Server.
> > > Currently LC Server 7 and up do not work with IIS on Windows.
> > > You have to install Apache, although Windows has a built-in web server.
> > >
> > >
> > >
> > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode <
> > > use-livecode@lists.runrev.com>:
> > > >
> > > > I think he said in that email that v10 is expected to be released
> this
> > > week.
> > > >
> > > > Bob S
> > > >
> > > >
> > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > > >
> > > > Hello Panos,
> > > > so for which version is it planned, if at all?
> > > >
> > > > Regards,
> > > > Matthias
> > > >
> > > > ___
> > > > use-livecode mailing list
> > > > use-livecode@lists.runrev.com
> > > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > >
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [[ ANN ]] Release 9.6.10

2023-08-29 Thread Mike Kerner via use-livecode
No XCode version update? MacOS updater keeps harassing me to update CLT to
14.3

On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Bob,
>
> i did not mean when an update for LC 10 is coming, but for what version
> the fix is planned for Livecode Server.
> Currently LC Server 7 and up do not work with IIS on Windows.
> You have to install Apache, although Windows has a built-in web server.
>
>
>
> > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > I think he said in that email that v10 is expected to be released this
> week.
> >
> > Bob S
> >
> >
> > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hello Panos,
> > so for which version is it planned, if at all?
> >
> > Regards,
> > Matthias
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Behaviors

2023-08-24 Thread Mike Kerner via use-livecode
polygrid
the api is similar, but they also have some nice additional features.
i have ripped all my dg's and replaced them with pg's.
now, if you're using custom templates, have a look at the pl - polyList.

On Thu, Aug 24, 2023 at 2:12 PM Bob Sneidar via use-livecode
 wrote:
>
> Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but I 
> never use the Project Browser because of issues I had many years ago. I may 
> have another look.
>
> What is a “pg”? I make extensive use of Datagrid properties, and whatever I 
> might replace them with needs to provide ALL their functionality.
>
> Bob S
>
>
> > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode 
> >  wrote:
> >
> > i'm pretty sure you can set a dg's behavior. then you would set the
> > behavior of that behavior to the button behavior (button id 1005 of
> > stack "revDataGridLibrary"), OR you can include THAT script,
> > separately, set that as the behavior, and modify it
> > (but, what you should really do is remove your dg's and replace them
> > with pg's, imho. they're much faster and more flexible and powerful).
> > the project browser has a button for each behavior in the chain of an
> > object. i'm pretty sure that levure baker's assistant does, too.
> >
> > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode
> >  wrote:
> >>
> >> There is also the Advanced button in the property inspector (looks like 
> >> one large gear with two smaller ones) where you can type the behavior, and 
> >> also has the target icon. Also, you shouldn’t have to do that every time. 
> >> Once should be enough if you save the stack afterwards.
> >>
> >> I note that Datagrids have no way to set the behavior, since they depend 
> >> on their default behavior. It was discussed long ago when nested behaviors 
> >> became a thing, that there ought to be a way to edit a list of behaviors 
> >> of an object. In fact it shouldn’t be that difficult to make a Behavior 
> >> Browser widget of some sort. Hmmm...
> >>
> >> Bob S
> >>
> >>
> >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode 
> >>>  wrote:
> >>>
> >>> I, too, have discovered the target icon to the right of the behavior 
> >>> object field in the property inspector. Alas, using that that I see only 
> >>> buttons on the current card (and stacks). I don’t see a way to navigate 
> >>> to a different card and select a button there. I might have missed it. — 
> >>> Dar
> >>>
> >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode 
> >>>>  wrote:
> >>>>
> >>>> you probably know this: in the property inspector, there's a panel for
> >>>> behavior, so you can just select the behavior from a menu button,
> >>>> without having to type it
> >>>>
> >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode
> >>>>  wrote:
> >>>>>
> >>>>> I figured out how to do it in the IDE. I needed to include “of stack” 
> >>>>> in the reference. — Dar
> >>>>>
> >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode 
> >>>>>>  wrote:
> >>>>>>
> >>>>>> Not sure how it works in the IDE - seems a problem because it only 
> >>>>>> presents button in the current stack.
> >>>>>>
> >>>>>> So I do it all in preOpen... scripts, doing something like
> >>>>>>
> >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of button 
> >>>>>>> "RichTextFieldBehaviour" of \
> >>>>>>>   card "Behaviours" of stack "/Users/alextweedly/Dropbox/My 
> >>>>>>> Livecode/Libraries/richText.livecode"
> >>>>>>
> >>>>>> Alex.
> >>>>>>
> >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote:
> >>>>>>> I am misremembering things about Behaviors.
> >>>>>>>
> >>>>>>> I have a card with my behavior buttons, but I can’t seem to point to 
> >>>>>>> buttons on that card. Maybe, I’m remembering what I did long ago with 
> >>>>>>> front scripts.
> >>>>>>>
> >>>

Re: Behaviors

2023-08-24 Thread Mike Kerner via use-livecode
i'm pretty sure you can set a dg's behavior. then you would set the
behavior of that behavior to the button behavior (button id 1005 of
stack "revDataGridLibrary"), OR you can include THAT script,
separately, set that as the behavior, and modify it
(but, what you should really do is remove your dg's and replace them
with pg's, imho. they're much faster and more flexible and powerful).
the project browser has a button for each behavior in the chain of an
object. i'm pretty sure that levure baker's assistant does, too.

On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode
 wrote:
>
> There is also the Advanced button in the property inspector (looks like one 
> large gear with two smaller ones) where you can type the behavior, and also 
> has the target icon. Also, you shouldn’t have to do that every time. Once 
> should be enough if you save the stack afterwards.
>
> I note that Datagrids have no way to set the behavior, since they depend on 
> their default behavior. It was discussed long ago when nested behaviors 
> became a thing, that there ought to be a way to edit a list of behaviors of 
> an object. In fact it shouldn’t be that difficult to make a Behavior Browser 
> widget of some sort. Hmmm...
>
> Bob S
>
>
> > On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode 
> >  wrote:
> >
> > I, too, have discovered the target icon to the right of the behavior object 
> > field in the property inspector. Alas, using that that I see only buttons 
> > on the current card (and stacks). I don’t see a way to navigate to a 
> > different card and select a button there. I might have missed it. — Dar
> >
> >> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode 
> >>  wrote:
> >>
> >> you probably know this: in the property inspector, there's a panel for
> >> behavior, so you can just select the behavior from a menu button,
> >> without having to type it
> >>
> >> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode
> >>  wrote:
> >>>
> >>> I figured out how to do it in the IDE. I needed to include “of stack” in 
> >>> the reference. — Dar
> >>>
> >>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode 
> >>>>  wrote:
> >>>>
> >>>> Not sure how it works in the IDE - seems a problem because it only 
> >>>> presents button in the current stack.
> >>>>
> >>>> So I do it all in preOpen... scripts, doing something like
> >>>>
> >>>>> set the behavior of fld "F" of grp tmpName to the long id of button 
> >>>>> "RichTextFieldBehaviour" of \
> >>>>>card "Behaviours" of stack "/Users/alextweedly/Dropbox/My 
> >>>>> Livecode/Libraries/richText.livecode"
> >>>>
> >>>> Alex.
> >>>>
> >>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote:
> >>>>> I am misremembering things about Behaviors.
> >>>>>
> >>>>> I have a card with my behavior buttons, but I can’t seem to point to 
> >>>>> buttons on that card. Maybe, I’m remembering what I did long ago with 
> >>>>> front scripts.
> >>>>>
> >>>>> I suppose I can use substacks, but I’m worried that the stacks would be 
> >>>>> in the message path. Is there a way to keep the stack out of the 
> >>>>> message path?
> >>>>> ___
> >>>>> use-livecode mailing list
> >>>>> use-livecode@lists.runrev.com
> >>>>> Please visit this url to subscribe, unsubscribe and manage your 
> >>>>> subscription preferences:
> >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>>
> >>>> ___
> >>>> use-livecode mailing list
> >>>> use-livecode@lists.runrev.com
> >>>> Please visit this url to subscribe, unsubscribe and manage your 
> >>>> subscription preferences:
> >>>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>>
> >>>
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your 
> >>> subscription preferences:
> >>> http:/

Re: Behaviors

2023-08-22 Thread Mike Kerner via use-livecode
you probably know this: in the property inspector, there's a panel for
behavior, so you can just select the behavior from a menu button,
without having to type it

On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode
 wrote:
>
> I figured out how to do it in the IDE. I needed to include “of stack” in the 
> reference. — Dar
>
> > On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode 
> >  wrote:
> >
> > Not sure how it works in the IDE - seems a problem because it only presents 
> > button in the current stack.
> >
> > So I do it all in preOpen... scripts, doing something like
> >
> >> set the behavior of fld "F" of grp tmpName to the long id of button 
> >> "RichTextFieldBehaviour" of \
> >>  card "Behaviours" of stack "/Users/alextweedly/Dropbox/My 
> >> Livecode/Libraries/richText.livecode"
> >
> > Alex.
> >
> > On 22/08/2023 17:57, Dar Scott via use-livecode wrote:
> >> I am misremembering things about Behaviors.
> >>
> >> I have a card with my behavior buttons, but I can’t seem to point to 
> >> buttons on that card. Maybe, I’m remembering what I did long ago with 
> >> front scripts.
> >>
> >> I suppose I can use substacks, but I’m worried that the stacks would be in 
> >> the message path. Is there a way to keep the stack out of the message path?
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your 
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [[ ANN ]] Release 9.6.10 RC-1

2023-08-19 Thread Mike Kerner via use-livecode
but hold off on the xcode command line tools 14.3 update?

On Fri, Aug 18, 2023 at 9:14 PM Tom Glod via use-livecode
 wrote:
>
> There are a few big ones in this update for me. Thanks.
>
>
> On Fri, Aug 18, 2023 at 5:06 PM panagiotis m via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hello all,
> >
> > Yes, the plan is to release LC 10 dp-6 before the end of the month, which
> > will include support for API 33 as well as all the other fixes/enhancements
> > of LC 9.6.10 rc1.
> >
> > Cheers,
> > Panos
> >
> > On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > On the 25th July Heather wrote the following:
> > >
> > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with
> > > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to
> > > be rather trickier than expected but it looks like we've got it more or
> > > less sorted out now.
> > >
> > > If there are specific bugs in 10 dp-5 that are really problematic for
> > you,
> > > its worth flagging them to me in support (not on the list) so I can at
> > > least find out for you if they will be fixed in dp-6. Please send me the
> > > bug report number from the Quality Center for checking. "
> > >
> > >
> > >
> > >
> > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode <
> > > use-livecode@lists.runrev.com>:
> > > >
> > > > Panos,
> > > >
> > > > What about 10.0.0?  Is there an update coming?   I sure hope so… I’m
> > > going to be hosed if not.
> > > >
> > > > -Dan
> > > >
> > > >
> > > > From: use-livecode  on behalf
> > of
> > > panagiotis merakos via use-livecode 
> > > > Date: Thursday, August 17, 2023 at 7:04 AM
> > > > To: How to use LiveCode 
> > > > Cc: panagiotis merakos 
> > > > Subject: [[ ANN ]] Release 9.6.10 RC-1
> > > > Dear list members,
> > > >
> > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1.
> > > >
> > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including
> > support
> > > > for Android API 33, which will be a requirement for submitting new apps
> > > to
> > > > the Google Play Store as of the 31st of August.
> > > >
> > > > You can find more details on the bug fixes and improvements of this new
> > > > release here:
> > > >
> > > > https://livecode.com/livecode-9-6-10-rc-1-released/
> > > >
> > > > You can find the release in your LiveCode account area or get it via
> > the
> > > > automatic updater.
> > > >
> > > > Enjoy!
> > > >
> > > > Kind regards
> > > > The LiveCode Team
> > > > --
> > > > ___
> > > > use-livecode mailing list
> > > > use-livecode@lists.runrev.com
> > > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > > > ___
> > > > use-livecode mailing list
> > > > use-livecode@lists.runrev.com
> > > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > >
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


xavvi - temper your expectations

2023-08-10 Thread Mike Kerner via use-livecode
i'm using chatgpt and bard, every day, because i can, and because
sometimes they give me more comprehensive things to think about.
but, they are wrong. a lot.
zdnet just published a piece, today, documenting the same thing: wrong
> 50% of the time.
so, temper your expectations for xavvi in the medium term:
https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


ICYMI: 2024 app store API tightening

2023-07-28 Thread Mike Kerner via use-livecode
Saw this in ZDNet:
Certain iOS (and presumably macos) apis will require specific justification
to be used, starting 2024:
https://www.zdnet.com/article/developers-have-new-apple-app-store-rules-to-follow
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: charIndex property

2023-07-26 Thread Mike Kerner via use-livecode
actually, i have a couple of questions, which are maybe suggestions,
but are actually questions, because maybe someone else will be curious
enough to try to solve them
* did you check the oss source to see if the function is available?
* have you messed with using regex to get around the issue?

On Wed, Jul 26, 2023 at 3:48 PM Paul Dupuis via use-livecode
 wrote:
>
> On 7/26/2023 1:13 PM, Bob Sneidar via use-livecode wrote:
> > OIC what that does. I suggest having a hidden field, setting the text of 
> > that field to your variable, then operating on that field.
> >
> > Bob S
>
> That is what I am currently doing. And I have a hidden field, hidden
> image, hidden player - all for purposes of various operations that you
> can do on real objects that the templateField, templateImage, and
> templatePlayer don't do (although there are some things done very nicely
> with the templates, such as set the rtfText of the templateField to
> ; get the text of the templateField -- for conversion from RTF
> to text (or text to htmlText or htmlText to text or ...)
>
> For reasons past that are not worth bring up in this email list, I have
> a slight aversion to hidden objects and prefer to work with the
> templateObjects or variables when i can.
>
> So, that is the very specific question of this post: Does anyone have a
> clever trick to do the equivalent of charIndex on a variable of text?
>
> I guess the allowed answers are "No" (no post is necessary), Yes (but I
> won't share it) (also no post necessary), Yes, and here it is (thank
> you), or perhaps a 4th, I don't understand the question, please clarify
> (which I would be happy to do if someone thinks they have a clever
> solution and just needs a bit more info)
>
> Paul
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to persuade LC to accept Xcode for mobile support?

2023-07-25 Thread Mike Kerner via use-livecode
yep. you can't exceed versions. the restrictions are pretty strict.


On Tue, Jul 25, 2023 at 2:11 PM Ben Rubinstein via use-livecode
 wrote:
>
> Apologies for what is surely a FAQ, but I can't find this in the archives.
>
> Using LC 9.6.8 on macOS 12.6.7 with Xcode 13.4.1, trying to get set up for
> building to iOS for the first time in a long while; and failing at the first
> hurdle.
>
> In Preferences, Mobile Support, under iOS SDKs, I click "Add Entry" and select
> Xcode; and get the dreaded message
> The chosen folder is not a valid iOS SDK.
> Selected Xcode must have an iOS SDK among:
> 12.1
> 13.2
> 14.4
> 15.2
>
>
> Per https://livecode.com/resources/support/ask-a-question/ one of the
> supported combinations is:
> LiveCode 9.6.8  Xcode 13.2.xMac OS 11.3+iOS 15.2
>
> This is Xcode 13.4.1 rather than Xcode 13.2.x  - is that really the problem?
> Or am I missing something else?
>
> TIA,
>
> Ben
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: No progress updates on LC 10. Am i the only one who is concerned?

2023-07-24 Thread Mike Kerner via use-livecode
it's not that it isn't there, it's that it isn't in a state that is
ready-for-prime-time

On Mon, Jul 24, 2023 at 3:12 PM J. Landman Gay via use-livecode
 wrote:
>
> On 7/24/23 10:56 AM, Mike Kerner via use-livecode wrote:
> > the things that bug me are:
> > * at renewal, i added the html5 license, but that project isn't anywhere
>
> Did you select the correct license on renewal? I had the same problem but it 
> turns out there's
> a tiny little arrow when the installer appears, and you can page through your 
> licenses. I felt
> stupid when Heather noted it.
>
> Choose "Relicense" from the Help menu and see if you have that arrow. If not, 
> contact support.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: No progress updates on LC 10. Am i the only one who is concerned?

2023-07-24 Thread Mike Kerner via use-livecode
the things that bug me are:
* at renewal, i added the html5 license, but that project isn't anywhere
* script compiler was supposed to be out six months ago for tinkering
(technically seven, but we'll give them a pass on end-of-the-year
because it was probably intended as end-of-the-yearish
* script widgets are not going anywhere without docs, but the docs
aren't going anywhere
* i'm very concerned that x-whatever is going to be a resource and
distraction-drain, and another dead end. to date, the LLM's have been
severely overrated. obviously i hope that is something that gets
fixed, quickly.

On Mon, Jul 24, 2023 at 11:30 AM Jacques Clavel via use-livecode
 wrote:
>
> +1
> Jacques CLAVEL
>
> Le lun. 24 juil. 2023 à 17:05, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> a écrit :
>
> > Hi,
> >
> > I know Xavvi will be the next big step and I even helped with the funding.
> > But I'm wondering why there hasn't been any news about LC 10 for a some
> > months now.
> > Am I the only one worried that the full focus is now on Xavvi and LC10 is
> > left behind?
> >
> > Matthias
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
> --
> Jacques Clavel
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


  1   2   3   4   5   6   7   8   9   10   >