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


Re: Crazy question: is it possible/reasonable to use Python in LC?

2023-07-13 Thread Mike Kerner via use-livecode
there are no crazy questions
there is, however, bat-guano-crazy geoff canyon
anyway, i think you will have to write the parser, linker, lexical
analyzer, etc., and all the other pre-compiler stuff that you would
have to write for any language. i'm not aware of something like a DLL
for python.
even better, while we're wondering, wouldn't it be great if we could
implement any interpreted grammar? i'd love it, because our erp
software is written in a a BASIC-COBOL-Fortran thing. I could dump all
the 1970's-era tools for managing forms and databases and replace them
with something nicer.

On Thu, Jul 13, 2023 at 4:04 PM Geoff Canyon via use-livecode
 wrote:
>
> I've been playing with Python, and it has a lot of nice qualities, but a
> built-in GUI isn't one of them (no apologies to tkinter).
>
> So it would be interesting/nice to be able to open LC, add a button to a
> stack, and put some python into the script of that button and have it just
> work, with access to the rest of the LC stack/controls as usual.
>
> Obviously that's not possible, but how close can we come? I assume it would
> be possible to write a shell command to trigger a python script, but that
> seems complex and sub-optimal, especially when thinking about having to
> bundle together all the bits and bobs from the LC UI to pass as arguments
> to the Python script instead of having it able to just reference what it
> needs on the fly.
>
> Anyway, wondering if anyone else has thought about this.
>
> gc
> ___
> 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: [OT ish] Visual Code Editor and Line Endings

2023-07-11 Thread Mike Kerner via use-livecode
and levure
quickbooks also provides amazingly useless errors, especially when you
are trying to import data.

On Tue, Jul 11, 2023 at 2:21 PM Bob Sneidar via use-livecode
 wrote:
>
> For what it’s worth, I use SublimeText which has linters for both Livecode 
> Script and Livecode Builder that were so graciously provided by Trevor 
> Devore. Not sure how many people know it, but we have a Datagrid and also 
> sqlYoga because of Trevor.
>
> Bob S
>
>
> On Jul 10, 2023, at 1:08 PM, Bob Sneidar  wrote:
>
> Code is not the only editor to “assume” you want to change out all the line 
> endings. Microsoft has been doing this for years. Just OPENING a file where 
> the platform defaults differ from the document results in Microsoft Word 
> altering the file, despite a user closing without saving.
>
> It is in my opinion a serious violation of trust on Microsoft’s part. Who 
> made them the gods of data formatting that they think they can take this 
> license with files that do not belong to them?
>
> Toshiba has an address book export function with line endings of a certain 
> kind. If I open them in Word for Windows, edit the file and save it, 
> everything works fine. If I just open the file on Word for MacOS it will 
> “corrupt” the file, and I do mean corrupt! The file will become unusable even 
> if it is not edited or saved.
>
> One of a hundred things that upset me about Microsoft.
>
> 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


bored LC nerd looking for projects

2023-07-10 Thread Mike Kerner via use-livecode
ok, i'm bored. not unemployed, just bored.
i'm actually considering working on my novel again.
does anyone know of any lc projects in need of help-for-hire, saving
the world from awful, contrived prose?

-- 
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: Answer dialog text missing in standalone 9.6.9

2023-06-30 Thread Mike Kerner via use-livecode
i think there are other ide stacks that switched from binary to
script-only stacks in 9.6.9. that broke some other behaviors, too. if
i was betting, i would bet that the SOS is not explicitly setting the
font color, but i haven't read the script to confirm, either.

On Fri, Jun 30, 2023 at 1:49 PM General 2018 via use-livecode
 wrote:
>
> Hi ,
>
> Made new stack and works okay.
>
> Then found that I had set the background colour of ask and answer to white, 
> this has worked for many years and showed black text. The stack background is 
> blue. Do I assume something has changed in 9.6.9 ?
>
> I removed the set background to white and the answer background is now blue 
> as expected with white text. The answer banner is white with black text but 
> the yes/no buttons are grey with white text which is unreadable.
>
> Regards
> Camm
>
> > On 30 Jun 2023, at 13:36, matthias rebbe via use-livecode 
> >  wrote:
> >
> > Did you already try it with a new stack just with a button which includes 
> > only a   mouseup script with only the answer command?
> >
> >> Am 30.06.2023 um 14:29 schrieb General 2018 via use-livecode 
> >> :
> >>
> >> Windows 10
> >> LC 9.6.9
> >>
> >> Regards
> >> Camm
> >>
>  On 30 Jun 2023, at 12:13, panagiotis m via use-livecode 
>   wrote:
> >>>
> >>> Hello Camm,
> >>>
> >>> In which platform? Seems to work as expected here (MacOS).
> >>>
> >>> Cheers,
> >>> Panos
> >>> --
> >>>
>  On Fri, 30 Jun 2023 at 09:54, General 2018 via use-livecode <
>  use-livecode@lists.runrev.com> wrote:
> 
>  Hi,
> 
>  Just the “Yes” , “No”
> 
>  “Some Text” missing.
> 
>  Works fine in IDE and previous standalones.
> 
>  Regards
>  Camm
> 
> > On 29 Jun 2023, at 23:13, Craig Newman via use-livecode <
>  use-livecode@lists.runrev.com> wrote:
> >
> > Hi.
> >
> > I assume you mean the standard “Answer” command. There is no “Answer
>  Text”.
> >
> > So if you:
> >
> > answer “Some Text" with “Yes" or “No"
> > what exactly pops up?
> >
> >
> >
> > Craig
> >
> >
> >
> >
> >> On Jun 29, 2023, at 4:21 PM, General 2018 via use-livecode <
>  use-livecode@lists.runrev.com> wrote:
> >>
> >> Hi,
> >>
> >> Answer Text missing in standalone , the icon and buttons (with text)
>  appear but no dialog text.
> >> All okay in IDE.
> >>
> >> Checked inclusions - all seems okay.
> >>
> >> Regards
> >> Camm
> >> ___
> >> 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
> >
> >
> > ___
> > 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:

Re: Answer dialog text missing in standalone 9.6.9

2023-06-30 Thread Mike Kerner via use-livecode
you have to add the answer dialog to your inclusions when building

On Fri, Jun 30, 2023 at 7:19 AM panagiotis m via use-livecode
 wrote:
>
> Hello again,
>
> Just tested on Windows and it works fine here as well.
>
> @Camm
> Could it be the case you have customised the answer dialog stack?
>
> Cheers,
> Panos
> --
>
>
> On Fri, 30 Jun 2023 at 14:12, panagiotis m  wrote:
>
> > Hello Camm,
> >
> > In which platform? Seems to work as expected here (MacOS).
> >
> > Cheers,
> > Panos
> > --
> >
> > On Fri, 30 Jun 2023 at 09:54, General 2018 via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Hi,
> >>
> >> Just the “Yes” , “No”
> >>
> >> “Some Text” missing.
> >>
> >> Works fine in IDE and previous standalones.
> >>
> >> Regards
> >> Camm
> >>
> >> > On 29 Jun 2023, at 23:13, Craig Newman via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >> >
> >> > Hi.
> >> >
> >> > I assume you mean the standard “Answer” command. There is no “Answer
> >> Text”.
> >> >
> >> > So if you:
> >> >
> >> > answer “Some Text" with “Yes" or “No"
> >> > what exactly pops up?
> >> >
> >> >
> >> >
> >> > Craig
> >> >
> >> >
> >> >
> >> >
> >> >> On Jun 29, 2023, at 4:21 PM, General 2018 via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> Answer Text missing in standalone , the icon and buttons (with text)
> >> appear but no dialog text.
> >> >> All okay in IDE.
> >> >>
> >> >> Checked inclusions - all seems okay.
> >> >>
> >> >> Regards
> >> >> Camm
> >> >> ___
> >> >> 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: Remote debugger error message

2023-06-30 Thread Mike Kerner via use-livecode
ugh.
you could try removing the remote debugger from your inclusions and
including the OSS version:
https://github.com/livecode/livecode-ide/blob/ccc733a1539ed2e313abe649b38b83e9fddd1541/Toolset/libraries/revdebuggerlibrary.livecodescript
you may also be able to edit the livecode bundle, removing the
protected version, and replace it with the unprotected version from
the repo.

On Thu, Jun 29, 2023 at 8:40 PM David Epstein via use-livecode
 wrote:
>
> I’ve just started using LiveCode 9.6.9 and 10.0.0 DP 5 on two Intel Macs, and 
> can do very little without getting this error message:
>
> “There was an error executing a script in stack 
> com.livecode.library.remotedebugger.  No more information is available 
> because the stack is password protected.”
>
> I can click OK, but the error message soon returns.
>
> Any suggestions?
>
> Best wishes,
> David Epstein
> ___
> 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: Inclusions or Provisioning question

2023-06-23 Thread Mike Kerner via use-livecode
inclusions, yes. provisioning, no
i'm not sure if the internet lib will matter or not
tsnet
i also have:
ssl & encryption, but i'm also using ssl, so there's that
you shouldn't need the mysql if you aren't using a local db on the mobe
you could also try throwing the mobile debugger on, then forcing a
breakpoint right before you're sending a query to the server, to see
what breaks.
when something breaks in lc on mobile, the script just terminates
without warning.


On Fri, Jun 23, 2023 at 1:28 PM Ralph DiMola via use-livecode
 wrote:
>
> I use MySQL in iOS app. I also included "SSL & Encryption" and "tsNet"
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> Phone: 518-636-3998 Ex:11
> Cell: 518-796-9332
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of prothero--- via use-livecode
> Sent: Friday, June 23, 2023 1:00 PM
> To: JJS via use-livecode
> Cc: proth...@earthlearningsolutions.org
> Subject: Re: Inclusions or Provisioning question
>
> Also: I’ve tried “Internet, mySQL" inclusions. No luck.
> Bill
>
> > On Jun 23, 2023, at 9:48 AM, prothero--- via use-livecode 
> >  wrote:
> >
> > Folks:
> > I have my app loading to my iPhone, but the last step is to be able to 
> > access my mySql database that is resident on my web server. This all works 
> > on my development computer. However, when I load the app to my iPhone, it 
> > won’t connect to the internet.
> >
> > So: my question is:
> > Do I set this privilege on the “Inclusions” settings on the Livecode 
> > “Standalone Application Settings”, or do I need to also go to Xcode or the 
> > Development site and somehow add that capability to the provisioning 
> > profile? Also, could I just add that capability to my existing profile (in 
> > XCode?), or will I need to create a new provisioning profie?
> >
> > If you can point me in the right direction to solve this, I would be VERY 
> > appreciative. It’s my last hurdle.
> >
> > Thanks,
> > Bill Prothero
> >
> > William A. Prothero, Ph.D.   (Emeritus)
> > UCSB Dept. of Earth Sciences
> > Santa Barbara, CA. 93105
> > http://earthlearningsolutions.org/
> >
> > ___
> > 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


signature widget

2023-06-21 Thread Mike Kerner via use-livecode
i finally have a use-case for the signature widget.
* has anyone used it?
* does anyone have experiencing transporting the signature data, then
recreating it, say, by adding it to a document, or generating an svg
file?

___
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


android compute field height

2023-06-20 Thread Mike Kerner via use-livecode
is there a formula to compute what the height of a textInput area
should be on android, based on the font size?
there isn't an autoFit, and there does not seem to be a simple formula to use.
i'm computing what the height "should be" based on whether a scroll
bar is rendered
example:
14 point -> 37 px
18 point -> 43 px
24 point -> 51 px
30 point -> 59 px


-- 
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: Android Signing

2023-06-20 Thread Mike Kerner via use-livecode
no, but if you figure it out, please keep me posted.
once i get this app i'm working on, working, on android, i want to put it up

On Mon, Jun 19, 2023 at 6:30 PM Dan Friedman via use-livecode
 wrote:
>
> I am trying to update an Android app that was previously release on the 
> Google Play Store.   When I went to upload the Bundle, I got this message:
>
> “To upload an Android App Bundle you must be enrolled in Play App Signing.”
>
> With a little research, I found the App Signing area under “App Integrity”.   
> I tried to follow the directions, but I just get errors.  Anyone done this?  
> If so, do you have any guidance on this?
>
> Thank you in advance,
> -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



-- 
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: native mobile text field alpha vs. dark mode vs. clear control

2023-06-08 Thread Mike Kerner via use-livecode
apparently this is related to "support dark mode". if you have
"support dark mode" selected in the build settings for ios, and the
device is in dark mode, the default colors for native controls change
(duh). Since I am manually setting my background and text colors, I
never noticed. BUT, that setting also changes the way that things like
the clear button are rendered, independent of and unaffected by your
settings for an object.

___
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


native mobile text field alpha vs. dark mode vs. clear control

2023-06-04 Thread Mike Kerner via use-livecode
oh, this is fun:
create a native mobile text field
set the backgroundColor to 255,255,255,255 #or just set the alpha...
make sure the clearButtonMode is not "never" (because otherwise you
won't ever see this issue)
make sure your mobe is set to light mode
you should see the clear button.
now set your mobe to dark mode
switch back to the app
the clear button is invisible. it's still there, you just can't see it.
now switch the alpha on the field: set the backgroundColor to 255,255,255,0
you can see the clear button
do the reverse: set the backgroundColor to 0,0,0,255
set the backgroundColor to 0,0,0,0

-- 
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

2023-05-29 Thread Mike Kerner via use-livecode
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 binary) tree structure that is better organised to be executed 
> by the LC engine. The engine is a big chunk of what I think is mostly Obj C 
> (or some relative thereof) code that interprets the tree structures created 
> in the first phase. So I guess that makes it sort of compiled? Compiled to 
> execute in/on the LC engine, but also interpreted because the tree code is 
> not executed on the target platform directly but is interpreted by the engine 
> to generate the final executable result.
>
> As far as the script compiler project is concerned, I believe the goal is to 
> create a byte code stream that can be interpreted more efficiently by (a 
> possibly new?) engine. Not sure about the new engine part, but the idea is 
> the tree structure thing goes away and in its place is a linear stream of 
> byte codes that can both be executed more effiencetly but also optimised more 
> fully. This particular byte stream (and here I’m going way outside my 
> wheelhouse) is similar to what other compilers like Java, Python, (Pascal? — 
> which I do know was a byte code compiled run time interpreted language… 
> although companies like Borland eventually wrote Pascal compilers that 
> executed directly on the target platform without any interpretation) produce. 
> So, it would bring the LC compiled code more in line with what other 
> compilers are producing which means post compilation the code could be 
> optimised more completely using well developed industry standard approaches. 
> And so everything ends up a little smaller and faster but it also opens the 
> door to doing other things with the script code down the road.
>
> Well, that's my take on Mark Waddinghams’ most recent seminar on this topic. 
> But he assuredly can fill you in much better than I can.
>
> Cheers,
> Mark
>
>
>
> > On 28 May 2023, at 3:54 pm, Skip Kimpel via use-livecode 
> >  wrote:
> >
> > Wait… what?  I have been away from this list for a while, LC is not 
> > currently compilable??
> >
> > SKIP
> >
> >> On May 27, 2023, at 4:39 PM, harrison--- via use-livecode 
> >>  wrote:
> >>
> >> Hi Skip,
> >>
> >> Doubtful.  I would wait until after we have a compilable version of LC and 
> >> then it will be more possible.
> >>
> >> Rick
> >>
> >>> On May 27, 2023, at 12:26 PM, Skip Kimpel via use-livecode 
> >>>  wrote:
> >>>
> >>> Has anybody done anything with LC and AR?
> >>>
> >>> Curious minds want to know :)
> >>>
> >>> SKIP
> >>
> >> ___
> >> 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
> > 

android remote debugger

2023-05-28 Thread Mike Kerner via use-livecode
i'm back to futzing with android, again, now trying to get the remote
debugger to run.
it's included with the stack, but i can't seem to get it to fire, even
with the breakpoint command.

-- 
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: Latest video -- integration of AI into script editor

2023-05-27 Thread Mike Kerner via use-livecode
i just tried, again, with the v.4 model.
it is now literally inventing documentation (which it presents,
formatted similarly to the way the dictionary appears), claims that it
can be found in the dictionary, and provides links to examples (which,
of course, are broken), and proceeds to insist that it is correct,
even after being told to load the pages in question.

On Thu, May 25, 2023 at 11:06 AM Bob Sneidar via use-livecode
 wrote:
>
> I create datagrids with some properties that help me with database queries. 
> For instance one property is the name of the table I source for the data. So 
> I came up with the idea of popping up a menu when I right click on a 
> datagrid, where I can select a column from the table, and then wherever I 
> click next, it will create a field and label in a group, all named after the 
> column wherever I click next. The fields I produce also have a property for 
> the column name, so when I populate a form, I provide an array of the 
> datagrid data to the handler which iterates through all the fields looking 
> for that property, and fills the fields with data from that array.
>
> So while creating forms is tedious, it can be made a good deal less tedious 
> by doing some coding on the front end.
>
> Bob S
>
>
> -Original Message-
> Hi Mike,
>
> Not that I’m aware of. Apart from Richard’s utility, the only other way I’ve 
> seen used is dragging items from the tools palette. Not a terrible process as 
> no-code is involved in doing so (so you don’t have frustrations with syntax 
> to deal with), but as Jacque points out, if you have a lot of this to do, it 
> can get tedious.
>
> Mark
>
> > On 23 May 2023, at 8:31 pm, Mike Kerner via use-livecode 
> >  wrote:
> >
> > didn't the old db library (which is still included with LC, and still
> > gets built into every standalone, whether you choose to include it or
> > not) have the ability to build forms from db'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: Latest video -- integration of AI into script editor

2023-05-24 Thread Mike Kerner via use-livecode
interesting piece on ycombinator on chatgpt and code:
https://news.ycombinator.com/item?id=36037559

over the weekend, i was messing around with websockets, and decided to
try messing with chatgpt to build a little library to implement a
websocket client in lc.
the results were ungreat.

On Tue, May 23, 2023 at 3:31 PM Mike Kerner  wrote:
>
> didn't the old db library (which is still included with LC, and still
> gets built into every standalone, whether you choose to include it or
> not) have the ability to build forms from db's?
>
> On Tue, May 23, 2023 at 10:49 AM Mark Smith via use-livecode
>  wrote:
> >
> > Thanks Richard. Worked as advertised, and nicely done. For a simple little 
> > utility I could see that it could save an enormous amount of time if you 
> > had a lot of forms to create. Actually I am working on a demo of sorts 
> > showing how to do no-code integration of SQL tables into LC and this little 
> > widget could come in very handy as a “quick form” builder. I may get back 
> > to you on that.
> >
> > > On 19 May 2023, at 4:51 pm, Richard Gaskin via use-livecode 
> > >  wrote:
> > >
> > > Some day I'll get around to doing a writeup on a layout construction 
> > > metalanguage I was working on a while back to extend layout automation in 
> > > ways that provide the most construction with the least typing. Maybe 
> > > that'll be a good kickoff for the radically-reimagined 
> > > LiveCodeJournal.com  in the works...
> > >
> >
> > ___
> > 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: websockets...anything?

2023-05-24 Thread Mike Kerner via use-livecode
i'm also more interested in using lc as a client on mobes than as a server.

On Wed, May 24, 2023 at 8:48 AM Mike Kerner  wrote:
>
> yeah, i'm off the forums, permanently. i dumped my account, and i'm
> not going back.
> anyway, i'm not opposed to teaming up. i started reading the RFC, and
> then decided to ask, instead.
> i also asked chatgpt to help write some code. it was not only
> unhelpful, it made up crap that was complete BS. then it tried to
> point me to "mergWebSocket", until I called BS, again, and it finally
> said "oh, sorry, no bueño"
>
> On Wed, May 24, 2023 at 5:43 AM Dan Brown via use-livecode
>  wrote:
> >
> > You could use STDIN / STDOUT from livecode to communicate with this
> > websocket server
> >
> > https://github.com/joewalnes/websocketd
> >
> > On Wed, 24 May 2023, 01:28 Tom Glod via use-livecode, <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Check out this forum post.
> > >
> > > https://forums.livecode.com/viewtopic.php?t=37672=221502
> > >
> > > On Tue, May 23, 2023 at 8:24 PM Tom Glod  wrote:
> > >
> > > > Nope.
> > > >
> > > > I'm wondering how long it would take to go look at specs and implement
> > > it.
> > > > Anyone in for a team effort? and we get it done without waiting for
> > > > someone else to do it?
> > > > Or is there a reason why it hasn't been done in all the years that web
> > > > sockets have been around?
> > > > Shrug.
> > > >
> > > > On Sat, May 20, 2023 at 9:24 AM Mike Kerner via use-livecode <
> > > > use-livecode@lists.runrev.com> wrote:
> > > >
> > > >> any news from anyone on lc+websockets?
> > > >>
> > > >> --
> > > >> 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."



-- 
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...anything?

2023-05-24 Thread Mike Kerner via use-livecode
yeah, i'm off the forums, permanently. i dumped my account, and i'm
not going back.
anyway, i'm not opposed to teaming up. i started reading the RFC, and
then decided to ask, instead.
i also asked chatgpt to help write some code. it was not only
unhelpful, it made up crap that was complete BS. then it tried to
point me to "mergWebSocket", until I called BS, again, and it finally
said "oh, sorry, no bueño"

On Wed, May 24, 2023 at 5:43 AM Dan Brown via use-livecode
 wrote:
>
> You could use STDIN / STDOUT from livecode to communicate with this
> websocket server
>
> https://github.com/joewalnes/websocketd
>
> On Wed, 24 May 2023, 01:28 Tom Glod via use-livecode, <
> use-livecode@lists.runrev.com> wrote:
>
> > Check out this forum post.
> >
> > https://forums.livecode.com/viewtopic.php?t=37672=221502
> >
> > On Tue, May 23, 2023 at 8:24 PM Tom Glod  wrote:
> >
> > > Nope.
> > >
> > > I'm wondering how long it would take to go look at specs and implement
> > it.
> > > Anyone in for a team effort? and we get it done without waiting for
> > > someone else to do it?
> > > Or is there a reason why it hasn't been done in all the years that web
> > > sockets have been around?
> > > Shrug.
> > >
> > > On Sat, May 20, 2023 at 9:24 AM Mike Kerner via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > >> any news from anyone on lc+websockets?
> > >>
> > >> --
> > >> 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: Latest video -- integration of AI into script editor

2023-05-23 Thread Mike Kerner via use-livecode
didn't the old db library (which is still included with LC, and still
gets built into every standalone, whether you choose to include it or
not) have the ability to build forms from db's?

On Tue, May 23, 2023 at 10:49 AM Mark Smith via use-livecode
 wrote:
>
> Thanks Richard. Worked as advertised, and nicely done. For a simple little 
> utility I could see that it could save an enormous amount of time if you had 
> a lot of forms to create. Actually I am working on a demo of sorts showing 
> how to do no-code integration of SQL tables into LC and this little widget 
> could come in very handy as a “quick form” builder. I may get back to you on 
> that.
>
> > On 19 May 2023, at 4:51 pm, Richard Gaskin via use-livecode 
> >  wrote:
> >
> > Some day I'll get around to doing a writeup on a layout construction 
> > metalanguage I was working on a while back to extend layout automation in 
> > ways that provide the most construction with the least typing. Maybe 
> > that'll be a good kickoff for the radically-reimagined LiveCodeJournal.com 
> >  in the works...
> >
>
> ___
> 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


websockets...anything?

2023-05-20 Thread Mike Kerner via use-livecode
any news from anyone on lc+websockets?

-- 
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: A spinner that keeps spinning

2023-05-03 Thread Mike Kerner via use-livecode
Until there are threads
we have Andreas

On Wed, May 3, 2023 at 1:45 PM Andreas Bergendal via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks everyone for testing it and for your kind comments. :D
>
> I have now updated the tool with the possibility to set the duration of
> the animations. This is quite good, as many of the animation effects are
> rather frantic, but with this new ability to slow them down they become
> more useful in my opinion.
>
> Also, combining two animation effects becomes more interesting now when
> you can balance their durations independently, making for more varied
> movements.
>
> And even better, I have also added… *drumroll* … more fish!
> Eh, in the examples sections that is. It really is worth another visit to
> the web deployment just to see the fish, I promise! And the crab (proving
> that the animations continue during the move command too… ;-)
>
> /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
>


-- 
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: opencard and visual effect

2023-05-03 Thread Mike Kerner via use-livecode
not on the forums.
the bigger brains are here.
less noise here
better behavior here

On Wed, May 3, 2023 at 12:27 AM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> You and my husband should go have a drink together. ;)
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On May 2, 2023 5:58:07 PM Bob Sneidar via use-livecode
>  wrote:
>
> > I can attest that as an old timer, if I am not very careful, I can
> provide
> > a very wide pool. ;-)
>
>
>
>
> ___
> 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: Script widgets questions

2023-05-02 Thread Mike Kerner via use-livecode
if you're reusing properties that are already defined, elsewhere, you might
run into an issue with the panel, but if that's not the case, then i
suspect you have another problem. the pi works. it's just not documented.

On Tue, May 2, 2023 at 5:01 PM Håkan Liljegren via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks!
>
> The “user_visible" works with script_widgets also, so setting:
>
> case “htmlText”
> return { “user_visible” : false }
> …
>
> Will hide the property in the inspector. Unfortunately the “group” or
> “subsection” doesn’t seem to work. All my properties are still jumbled.
>
> > On 2 May 2023, at 18:59, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > this is all going to be from memory from working with LCB widgets, and i
> > haven't worked with lcb widgets in months because i'm still waiting for
> LC
> > on several things.
> > anyway:
> > * i think that you are supposed to quote property names that are reserved
> > or already in use
> > * the way the property inspectors/property editor behave can be/are up to
> > you, but the documentation is zero. the PI is a stack in the LC bundle,
> and
> > it's intertwined with a number of other stacks, so slogging through it is
> > slow.
> > * you could try the repos i started on these topics, and maybe throw some
> > issues in:
> > https://github.com/macMikey/LCB-missing-manual (wiki here:
> > https://github.com/macMikey/LCB-missing-manual/wiki)
> > https://github.com/macMikey/LC-HACK
> > ___
> > 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: Script widgets questions

2023-05-02 Thread Mike Kerner via use-livecode
this is all going to be from memory from working with LCB widgets, and i
haven't worked with lcb widgets in months because i'm still waiting for LC
on several things.
anyway:
* i think that you are supposed to quote property names that are reserved
or already in use
* the way the property inspectors/property editor behave can be/are up to
you, but the documentation is zero. the PI is a stack in the LC bundle, and
it's intertwined with a number of other stacks, so slogging through it is
slow.
* you could try the repos i started on these topics, and maybe throw some
issues in:
https://github.com/macMikey/LCB-missing-manual (wiki here:
https://github.com/macMikey/LCB-missing-manual/wiki)
https://github.com/macMikey/LC-HACK
___
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: mySQL and primary key

2023-04-30 Thread Mike Kerner via use-livecode
is this a local table?
the 504 sounds like you're connecting via an api

On Sat, Apr 29, 2023 at 7:41 AM jbv via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi list,
>
> I have a mySQL table with 1350 entries that weights
> almost 20 Gb.
> I need to create a primary key on the "id" column.
> I have tried in phpMyAdmin as well as in a script with
> "ALTER TABLE myTable ADD PRIMARY KEY(id)", but each time
> I get a "504 Gateway Timeout" error, and no index is created.
>
> What else can I try ?
>
> Thank you in advance.
> jbv
>
> ___
> 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: iOS 16.4.1 breaks connection with LiveCode test feature

2023-04-28 Thread Mike Kerner via use-livecode
i think that's what i'm talking about, but maybe i don't understand what
he's experiencing.
i'm in active development on an app. i'm building it many times per day and
deploying it on my test ipad, running it, and invoking the remote debugger.
since i'm running 16.5 i'm wondering if that might fix it.
what i'm doing that might be slightly different is i'm not using the test
button in the ide to install it, but rather the configurator (my apps are
all using levure, so the build process might be slightly different).

On Fri, Apr 28, 2023 at 9:30 AM Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I think Mark is speaking of the On The Fly deployment in LC that is not
> working anymore with 16.4 to 16.4.2 and Xcode 14.2
>
>
> Von meinem iPad gesendet
>
> > Am 28.04.2023 um 15:20 schrieb Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > well, my main test ipad is running 16.5, and i'm using xc 14.2
> > no issues with the remote debugger with this setup, anway.
> >
> >> On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >> Hello everyone,
> >>
> >> There may be a problem with iOS devices updated to 16.4 or 16.4.1 and
> >> Xcode 14.2 as a working combination. The issue between them is that
> devices
> >> may fail to prepare for development (error from Xcode).
> >>
> >> https://developer.apple.com/forums/thread/727270
> >>
> >> Of course, you can continue to build iOS apps with Xcode 14.2 if you
> >> accidentally allow your device to upgrade to 16.4.1. You cannot test
> your
> >> app directly from the LiveCode IDE using the test button if your device
> has
> >> been updated to iOS 16.4 or 16.4.1.
> >>
> >> You can build for TestFlight and run your app on your device that way.
> >> But, it is more cumbersome than direct testing from the LiveCode IDE.
> >>
> >> I hope this public service announcement is useful to iOS developers
> using
> >> LiveCode. The short of it is do not allow your iOS devices to update to
> >> 16.4.1 for now.
> >>
> >>
> >> Best regards,
> >> Mark Talluto
> >>
> >> appli.io <https://appli.io/>
> >> livecloud.io <https://livecloud.io/>
> >> nursenotes.net <https://nursenotes.net/>
> >> canelasoftware.com <https://www.canelasoftware.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
>
>
> ___
> 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: iOS 16.4.1 breaks connection with LiveCode test feature

2023-04-28 Thread Mike Kerner via use-livecode
well, my main test ipad is running 16.5, and i'm using xc 14.2
no issues with the remote debugger with this setup, anway.

On Thu, Apr 27, 2023 at 8:43 PM Mark Talluto via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello everyone,
>
> There may be a problem with iOS devices updated to 16.4 or 16.4.1 and
> Xcode 14.2 as a working combination. The issue between them is that devices
> may fail to prepare for development (error from Xcode).
>
> https://developer.apple.com/forums/thread/727270
>
> Of course, you can continue to build iOS apps with Xcode 14.2 if you
> accidentally allow your device to upgrade to 16.4.1. You cannot test your
> app directly from the LiveCode IDE using the test button if your device has
> been updated to iOS 16.4 or 16.4.1.
>
> You can build for TestFlight and run your app on your device that way.
> But, it is more cumbersome than direct testing from the LiveCode IDE.
>
> I hope this public service announcement is useful to iOS developers using
> LiveCode. The short of it is do not allow your iOS devices to update to
> 16.4.1 for now.
>
>
> Best regards,
> Mark Talluto
>
> appli.io 
> livecloud.io 
> nursenotes.net 
> canelasoftware.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


  1   2   3   4   5   6   7   8   9   10   >