From phil at pdslabs.net Thu Oct 1 00:02:49 2020 From: phil at pdslabs.net (Phil Davis) Date: Wed, 30 Sep 2020 21:02:49 -0700 Subject: Modal stacks cpu usage In-Reply-To: <15234F36-6888-41CA-BB99-D27BBA90D20D@optusnet.com.au> References: <15234F36-6888-41CA-BB99-D27BBA90D20D@optusnet.com.au> Message-ID: <6d9a3fa5-063e-dfbf-ef20-2a3dfbf550ab@pdslabs.net> Another factor I discovered in times past (which may have been changed by now) that eats up CPU cycles is the "Default" button style. Do you possibly have one of those on your stack? Phil Davis On 9/30/20 7:30 PM, Neville Smythe via use-livecode wrote: > I have just noticed something curious. > > I am running LiveCode 8.1 IDE 9.6.1 on a Mac Air 2020 quad core Catalina. > > Typically LC cpu usage shows about 34% (presumably of 1 core). When a modal stack is opened it immediately ramps up to 99% ; the fan kicks in, and if left for a while the OS boosts the kernel_task daemon which I have been told is a protection device to prevent overheating. This has the effect of very markedly slowing down all apps as they get less cpu time. > > If the stack is opened in non-modal mode, cpu usage stays around 34% . I don?t understand why a modal stack should be a cpu hog, indeed it seems like a bug to me. > > I have a suspicion the wait with messages command may have the same effect on cpu performance, so it could be the culprit. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From phil at pdslabs.net Thu Oct 1 02:16:34 2020 From: phil at pdslabs.net (Phil Davis) Date: Wed, 30 Sep 2020 23:16:34 -0700 Subject: Modal stacks cpu usage In-Reply-To: <6d9a3fa5-063e-dfbf-ef20-2a3dfbf550ab@pdslabs.net> References: <15234F36-6888-41CA-BB99-D27BBA90D20D@optusnet.com.au> <6d9a3fa5-063e-dfbf-ef20-2a3dfbf550ab@pdslabs.net> Message-ID: Sorry Neville, I didn't read your email closely enough - you are obviously on the right track. Phil On 9/30/20 9:02 PM, Phil Davis via use-livecode wrote: > Another factor I discovered in times past (which may have been changed > by now) that eats up CPU cycles is the "Default" button style. Do you > possibly have one of those on your stack? > > Phil Davis > > > On 9/30/20 7:30 PM, Neville Smythe via use-livecode wrote: >> I have just noticed something curious. >> >> I am running LiveCode 8.1 IDE 9.6.1 on a Mac Air 2020 quad core >> Catalina. >> >> Typically LC cpu usage shows about 34%? (presumably of 1 core). When >> a modal stack is opened it immediately ramps up to 99% ; the fan >> kicks in, and if left for a while the OS boosts the kernel_task >> daemon which I have been told is a protection device to prevent >> overheating. This has the effect of very markedly slowing down all >> apps as they get less cpu time. >> >> If the stack is opened in non-modal mode, cpu usage stays around 34% >> . I don?t understand why a modal stack should be a cpu hog, indeed it >> seems like a bug to me. >> >> I have a suspicion the wait with messages command? may have the same >> effect on cpu performance, so it could be the culprit. >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis 503-307-4363 From MikeKerner at roadrunner.com Thu Oct 1 09:17:20 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 1 Oct 2020 09:17:20 -0400 Subject: Hacktoberfest is coming In-Reply-To: References: <129666f2-a908-627f-ca1d-77fa3bb9a755@fourthworld.com> Message-ID: annnnnnnnnnnnnd it's the first day of hacktoberfest so get your fingers over to https://hacktoberfest.digitalocean.com to register then make four pull requests during october, and score a free 2020 hacktoberfest t-shirt update the LC IDE! improve something in the docs! make mobile datagrids work for both scrolling and dragging! any any any any public repo on github will do On Thu, Sep 24, 2020 at 7:56 PM Mike Kerner wrote: > It's almost here - Hacktoberfest 2020! > And now registration is open > https://hacktoberfest.digitalocean.com > All you have to do is register, then make a total of four pull requests to > any public repo during the month of October. > Pull requests can be updating LiveCode's documentation, making a > contribution to any of the many liveCode related open source projects, or > for that matter, any open source project on GitHub > If you complete four pull requests, you will be able to choose to receive > a Hacktoberfest 2020 T-shirt or have event organizers plant a tree in your > name. > Read the blog post here : > https://www.digitalocean.com/blog/announcing-hacktoberfest-2020/ > Get > To > HACKING > > > > On Wed, Sep 9, 2020 at 10:16 AM Mike Kerner > wrote: > >> it's yours until you get a cease and desist letter. >> >> On Fri, Sep 4, 2020 at 1:06 PM Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> That's really an old saying?? I came up with the saying People don't >>> change until it hurts not to. I thought I was being pithy. >>> >>> Bob S >>> >>> >>> > On Sep 3, 2020, at 13:40 , Richard Gaskin via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> > >>> > Like the old saying goes, "Change occurs when the pain of changing is >>> finally exceeded by the pain of not changing." >>> > >>> > -- >>> > Richard Gaskin >>> > Fourth World Systems >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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." From klaus at major-k.de Thu Oct 1 09:39:18 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 1 Oct 2020 15:39:18 +0200 Subject: What DNS to use with QUARTZ Message-ID: <3BBBBD09-6FE0-48CF-84DC-77F4D422A5E9@major-k.de> Hi all, see subject, looks like I lost that info somehow. And no, currently I use 9.9.9.9. (Google) must have changed that some time ago, no idea why... 8-) Thanks for any hints! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Thu Oct 1 10:38:11 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 1 Oct 2020 16:38:11 +0200 Subject: What DNS to use with QUARTZ In-Reply-To: <3BBBBD09-6FE0-48CF-84DC-77F4D422A5E9@major-k.de> References: <3BBBBD09-6FE0-48CF-84DC-77F4D422A5E9@major-k.de> Message-ID: <974BC199-5F49-44FA-897C-B3C68FBD3A99@m-r-d.de> ns1.on-rev.com ns2.on-rev.com ns3.on-rev.com There is also ns1.livecodehosting.com, but its ip is identical to ns3.on-rev.com Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 01.10.2020 um 15:39 schrieb Klaus major-k via use-livecode : > > Hi all, > > see subject, looks like I lost that info somehow. > > And no, currently I use 9.9.9.9. (Google) must have > changed that some time ago, no idea why... 8-) > > Thanks for any hints! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Oct 1 10:45:29 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 1 Oct 2020 16:45:29 +0200 Subject: What DNS to use with QUARTZ In-Reply-To: <974BC199-5F49-44FA-897C-B3C68FBD3A99@m-r-d.de> References: <3BBBBD09-6FE0-48CF-84DC-77F4D422A5E9@major-k.de> <974BC199-5F49-44FA-897C-B3C68FBD3A99@m-r-d.de> Message-ID: <07E19A5F-B01F-4C1F-B30E-0D753B6DF1F5@major-k.de> Hi Matthias, > Am 01.10.2020 um 16:38 schrieb matthias rebbe via use-livecode : > > ns1.on-rev.com > ns2.on-rev.com > ns3.on-rev.com > > There is also ns1.livecodehosting.com, but its ip is identical to ns3.on-rev.com thank you very much, that was it! :-) > Regards, > Matthias Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Thu Oct 1 12:28:48 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 1 Oct 2020 09:28:48 -0700 Subject: Modal stacks cpu usage In-Reply-To: <15234F36-6888-41CA-BB99-D27BBA90D20D@optusnet.com.au> References: <15234F36-6888-41CA-BB99-D27BBA90D20D@optusnet.com.au> Message-ID: Neville Smythe wrote: > Typically LC cpu usage shows about 34% (presumably of 1 core). When > a modal stack is opened it immediately ramps up to 99% ; the fan kicks > in, and if left for a while the OS boosts the kernel_task daemon which > I have been told is a protection device to prevent overheating. This > has the effect of very markedly slowing down all apps as they get less > cpu time. > > If the stack is opened in non-modal mode, cpu usage stays around 34% . > I don?t understand why a modal stack should be a cpu hog, indeed it > seems like a bug to me. Confirmed here on macOS 10.14.5. The CPU load is indeed quite dramatic with modal dialogs. I also checked on Linux (Ubuntu 18.04), and LC does not exhibit the problem there. Have you opened a bug report on this? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jiml at netrin.com Thu Oct 1 12:58:25 2020 From: jiml at netrin.com (Jim Lambert) Date: Thu, 1 Oct 2020 09:58:25 -0700 Subject: TIL: JSON validator In-Reply-To: References: Message-ID: <895C09B8-A592-4030-88B3-5D2A4E2FCC8F@netrin.com> Mark, Thanks for those useful links. Jim Lambert From preid at reidit.co.uk Thu Oct 1 13:08:03 2020 From: preid at reidit.co.uk (Peter Reid) Date: Thu, 1 Oct 2020 18:08:03 +0100 Subject: ICS Generation In-Reply-To: References: Message-ID: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> Has anyone got a calendar library for LiveCode? I'm developing an app, part of which exports a handful of events to do with ordering regular medication. I'd like to export an ICS format file containing 3 all-day events titled something like the following: 1. MEDS RUN-OUT TODAY 2. COLLECT MEDS 3. ORDER NEXT MEDS What I'm looking for is either a full calendar library that I can use to generate such a ICS file, or the minimalist version, ie just enough calendar support to generate this minimal ICS file - nothing more complex. Anyone know of anything suitable? Thanks Peter -- Peter Reid Loughborough, UK From bobsneidar at iotecdigital.com Thu Oct 1 13:20:19 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 1 Oct 2020 17:20:19 +0000 Subject: Modal stacks cpu usage In-Reply-To: References: <15234F36-6888-41CA-BB99-D27BBA90D20D@optusnet.com.au> Message-ID: <28B34AFB-A118-428D-AAD8-2A6875FE8DBC@iotecdigital.com> I?ll weigh in here. I have noticed at times my Mac becoming slow and extremely laggy to input. Quitting all my apps, including LC seems to resolve it, although I never dug in any deeper. (Honestly I thought it was a Chrome or web page issue and I am used to those.) Next time I see the issue I will dig further. Bob S On Oct 1, 2020, at 9:28 AM, Richard Gaskin via use-livecode > wrote: Neville Smythe wrote: > Typically LC cpu usage shows about 34% (presumably of 1 core). When > a modal stack is opened it immediately ramps up to 99% ; the fan kicks > in, and if left for a while the OS boosts the kernel_task daemon which > I have been told is a protection device to prevent overheating. This > has the effect of very markedly slowing down all apps as they get less > cpu time. > > If the stack is opened in non-modal mode, cpu usage stays around 34% . > I don?t understand why a modal stack should be a cpu hog, indeed it > seems like a bug to me. Confirmed here on macOS 10.14.5. The CPU load is indeed quite dramatic with modal dialogs. I also checked on Linux (Ubuntu 18.04), and LC does not exhibit the problem there. Have you opened a bug report on this? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From bobsneidar at iotecdigital.com Thu Oct 1 13:23:46 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 1 Oct 2020 17:23:46 +0000 Subject: ICS Generation In-Reply-To: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> References: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> Message-ID: <7F47CC24-CDE0-413A-97FA-C7831C74C7C4@iotecdigital.com> Ditto. I would LOVE to be able to not only WRITE events but READ them too. On a Mac I could probably AppleScript it (given a LOT of time doing almost exclusively research and trial and error) but on Windows I think it becomes a lot more difficult/impossible without a real C compiled API. Microsoft does not have a method for communicating with their apps like they did long ago. Anyone who uses ACT can testify to that. There was a time when to use the ACT Outlook plugin the user had to be an administrator. Bob S On Oct 1, 2020, at 10:08 AM, Peter Reid via use-livecode > wrote: Has anyone got a calendar library for LiveCode? I'm developing an app, part of which exports a handful of events to do with ordering regular medication. I'd like to export an ICS format file containing 3 all-day events titled something like the following: 1. MEDS RUN-OUT TODAY 2. COLLECT MEDS 3. ORDER NEXT MEDS What I'm looking for is either a full calendar library that I can use to generate such a ICS file, or the minimalist version, ie just enough calendar support to generate this minimal ICS file - nothing more complex. Anyone know of anything suitable? Thanks Peter -- Peter Reid Loughborough, UK From matthias_livecode_150811 at m-r-d.de Thu Oct 1 17:22:25 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 1 Oct 2020 23:22:25 +0200 Subject: ICS Generation In-Reply-To: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> References: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> Message-ID: <1C63C7D4-B66E-4F1F-A88D-DFDF810D6984@m-r-d.de> I am not sure if this is what you are looking for, but in this forum post Bill Vlahos wrote about a stack he wrote http://forums.livecode.com/viewtopic.php?f=108&t=25046 Here's the direct link to his GitHub repo https://github.com/bvlahos/Scripting-Calendars Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 01.10.2020 um 19:08 schrieb Peter Reid via use-livecode : > > Has anyone got a calendar library for LiveCode? I'm developing an app, part of which exports a handful of events to do with ordering regular medication. I'd like to export an ICS format file containing 3 all-day events titled something like the following: > > 1. MEDS RUN-OUT TODAY > 2. COLLECT MEDS > 3. ORDER NEXT MEDS > > What I'm looking for is either a full calendar library that I can use to generate such a ICS file, or the minimalist version, ie just enough calendar support to generate this minimal ICS file - nothing more complex. > > Anyone know of anything suitable? > > Thanks > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Oct 1 18:17:11 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 2 Oct 2020 00:17:11 +0200 Subject: ICS Generation In-Reply-To: <1C63C7D4-B66E-4F1F-A88D-DFDF810D6984@m-r-d.de> References: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> <1C63C7D4-B66E-4F1F-A88D-DFDF810D6984@m-r-d.de> Message-ID: And heres a link to Andre Garzias post about an iCalendar library he created and shared through GitHub http://forums.livecode.com/viewtopic.php?t=32187 - Matthias Rebbe Life Is Too Short For Boring Code > Am 01.10.2020 um 23:22 schrieb matthias rebbe via use-livecode : > > I am not sure if this is what you are looking for, but in this forum post Bill Vlahos wrote about a stack he wrote > http://forums.livecode.com/viewtopic.php?f=108&t=25046 > > Here's the direct link to his GitHub repo > https://github.com/bvlahos/Scripting-Calendars > > Regards, > Matthias > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 01.10.2020 um 19:08 schrieb Peter Reid via use-livecode : >> >> Has anyone got a calendar library for LiveCode? I'm developing an app, part of which exports a handful of events to do with ordering regular medication. I'd like to export an ICS format file containing 3 all-day events titled something like the following: >> >> 1. MEDS RUN-OUT TODAY >> 2. COLLECT MEDS >> 3. ORDER NEXT MEDS >> >> What I'm looking for is either a full calendar library that I can use to generate such a ICS file, or the minimalist version, ie just enough calendar support to generate this minimal ICS file - nothing more complex. >> >> Anyone know of anything suitable? >> >> Thanks >> >> Peter >> -- >> Peter Reid >> Loughborough, UK >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Oct 1 18:33:49 2020 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 1 Oct 2020 23:33:49 +0100 Subject: ICS Generation In-Reply-To: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> References: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> Message-ID: <834c0ace-7aa5-aa88-bb85-880a2cf559b9@tweedly.net> I don't know of one - but the minimal version (i.e. all-day events only, no repeating events, no multiple timezones) should be really trivial. If no-one comes up with something in the next day or two I'll try it as my weekend project. Bob - if you want to interact with calendars, take a look at Bill Vlahos's library as Matthias pointed out. If you want to read (i.e. not write) ICS files I have a library for doing that - let me know and I'll check if it works with recent versions of LC and send it to you. And if you are even thinking of programming something with times/dates, see https://www.youtube.com/watch?v=-5wpm-gesOY&ab_channel=Computerphile Alex. On 01/10/2020 18:08, Peter Reid via use-livecode wrote: > Has anyone got a calendar library for LiveCode? I'm developing an app, part of which exports a handful of events to do with ordering regular medication. I'd like to export an ICS format file containing 3 all-day events titled something like the following: > > 1. MEDS RUN-OUT TODAY > 2. COLLECT MEDS > 3. ORDER NEXT MEDS > > What I'm looking for is either a full calendar library that I can use to generate such a ICS file, or the minimalist version, ie just enough calendar support to generate this minimal ICS file - nothing more complex. > > Anyone know of anything suitable? > > Thanks > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Oct 1 19:11:20 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 1 Oct 2020 23:11:20 +0000 Subject: ICS Generation In-Reply-To: <834c0ace-7aa5-aa88-bb85-880a2cf559b9@tweedly.net> References: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> <834c0ace-7aa5-aa88-bb85-880a2cf559b9@tweedly.net> Message-ID: Thanks Alex. I already downloaded the git zip file. I?ll have a look. Bob S > On Oct 1, 2020, at 3:33 PM, Alex Tweedly via use-livecode wrote: > > I don't know of one - but the minimal version (i.e. all-day events only, no repeating events, no multiple timezones) should be really trivial. If no-one comes up with something in the next day or two I'll try it as my weekend project. > > Bob - if you want to interact with calendars, take a look at Bill Vlahos's library as Matthias pointed out. If you want to read (i.e. not write) ICS files I have a library for doing that - let me know and I'll check if it works with recent versions of LC and send it to you. > > And if you are even thinking of programming something with times/dates, see > > https://www.youtube.com/watch?v=-5wpm-gesOY&ab_channel=Computerphile > > Alex. > > On 01/10/2020 18:08, Peter Reid via use-livecode wrote: >> Has anyone got a calendar library for LiveCode? I'm developing an app, part of which exports a handful of events to do with ordering regular medication. I'd like to export an ICS format file containing 3 all-day events titled something like the following: >> >> 1. MEDS RUN-OUT TODAY >> 2. COLLECT MEDS >> 3. ORDER NEXT MEDS >> >> What I'm looking for is either a full calendar library that I can use to generate such a ICS file, or the minimalist version, ie just enough calendar support to generate this minimal ICS file - nothing more complex. >> >> Anyone know of anything suitable? >> >> Thanks >> >> Peter >> -- >> Peter Reid >> Loughborough, UK >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Oct 1 20:29:05 2020 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 2 Oct 2020 01:29:05 +0100 Subject: ICS Generation In-Reply-To: References: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> <834c0ace-7aa5-aa88-bb85-880a2cf559b9@tweedly.net> Message-ID: <5d1af896-ed76-843f-33a0-eab302ace740@tweedly.net> On 02/10/2020 00:11, Bob Sneidar via use-livecode wrote: > Thanks Alex. I already downloaded the git zip file. I?ll have a look. > Oh yeah, it's on github - I'd forgotten that :-) But I haven't used it since (I think) LC 5.5 - so if you bump into any issues, please drop me anote. Thanks Alex. From andre at andregarzia.com Fri Oct 2 08:39:49 2020 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Oct 2020 13:39:49 +0100 Subject: ICS Generation In-Reply-To: <5d1af896-ed76-843f-33a0-eab302ace740@tweedly.net> References: <14298E29-59FE-4D7D-B03D-8D69744080D1@reidit.co.uk> <834c0ace-7aa5-aa88-bb85-880a2cf559b9@tweedly.net> <5d1af896-ed76-843f-33a0-eab302ace740@tweedly.net> Message-ID: There is https://github.com/soapdog/livecode-vobjectlib it is fairly easy to use but it is best if you use it while reading the specs because it is a bit low-level. On Fri, 2 Oct 2020 at 01:30, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 02/10/2020 00:11, Bob Sneidar via use-livecode wrote: > > Thanks Alex. I already downloaded the git zip file. I?ll have a look. > > > Oh yeah, it's on github - I'd forgotten that :-) > > But I haven't used it since (I think) LC 5.5 - so if you bump into any > issues, please drop me anote. > > Thanks > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From brahma at hindu.org Fri Oct 2 11:09:07 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 2 Oct 2020 15:09:07 +0000 Subject: What Causes "
##string##
" Message-ID: When setting htmltext?? BR From devin_asay at byu.edu Fri Oct 2 11:32:18 2020 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 2 Oct 2020 15:32:18 +0000 Subject: What Causes "
##string##
" In-Reply-To: References: Message-ID: <46EB1E78-68B8-47D0-8012-6EFD90C795A9@byu.edu> Probably when the textAlign property of a line is set to ?center?? > On Oct 2, 2020, at 9:09 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > > When setting htmltext?? > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Fri Oct 2 12:17:14 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 02 Oct 2020 11:17:14 -0500 Subject: What Causes "
##string##
" In-Reply-To: References: Message-ID: <174ea1a6b10.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It looks a little like a place holder for a merge function, only it's missing the square brackets. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 2, 2020 10:11:28 AM Sannyasin Brahmanathaswami via use-livecode wrote: > When setting htmltext?? > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Oct 2 13:53:54 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 2 Oct 2020 17:53:54 +0000 Subject: What Causes "
##string##
" In-Reply-To: <46EB1E78-68B8-47D0-8012-6EFD90C795A9@byu.edu> References: <46EB1E78-68B8-47D0-8012-6EFD90C795A9@byu.edu> Message-ID:

Words of Our Master

By

Siva Yogaswami

textAlign does not work it gets 'wiped' clean ?? ? Devin Asay Probably when the textAlign property of a line is set to ?center?? From brahma at hindu.org Fri Oct 2 13:59:37 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 2 Oct 2020 17:59:37 +0000 Subject: Getting URL to Work in specialFolderDocuments Message-ID: on dataServerStack local tHttpsServerRoot,tLocalDocumentsStories put "https://dev.himalayanacademy.com/media/stories/" --into tHttpsServerRoot put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into tLocalDocumentsStories put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" end dataServerStack ? it goes badly to documents folder, ? BR From jacque at hyperactivesw.com Fri Oct 2 17:50:58 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 02 Oct 2020 16:50:58 -0500 Subject: What Causes "
##string##
" In-Reply-To: References: <46EB1E78-68B8-47D0-8012-6EFD90C795A9@byu.edu> Message-ID: <174eb4bf5d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Does this work? ##string## -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 2, 2020 12:56:10 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Words of Our Master > By > Siva Yogaswami > textAlign does not work it gets 'wiped' clean ?? ? Devin Asay Probably when > the textAlign property of a line is set to ?center?? > _______________________________________________ use-livecode mailing list > use-livecode at lists.runrev.com Please visit this url to subscribe, > unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Oct 2 17:59:45 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 2 Oct 2020 21:59:45 +0000 Subject: Getting URL to Work in specialFolderDocuments In-Reply-To: References: Message-ID: on dataServerStack local tHttpsServerRoot,tLocalDocumentsStories put "https://dev.himalayanacademy.com/media/stories/" --into tHttpsServerRoot put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into tLocalDocumentsStories put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" end dataServerStack it goes badly to documents folder, on dataServerStack local tHttpsServerRoot,tLocalDocumentsStories put "https://dev.himalayanacademy.com/media/stories/" into tHttpsServerRoot put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into tLocalDocumentsStories put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" end dataServerStack it goes badly to documents folder, ? put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" Compile error line 119 (Handler: bad command) near "&", char 84 BR _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Oct 2 19:23:29 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 2 Oct 2020 23:23:29 +0000 Subject: Getting URL to Work in specialFolderDocuments In-Reply-To: References: Message-ID: You are putting a file from a url into a variable called tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode?. You should probably have a variable with the full path to the file: put tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode? into tFilePath Then put the file from the url into the location using the URL command: put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode?) into URL (?binfile:? & tFilePath The problem with trying to put all the fiddlybits into one line is that you cannot tell where things are going wrong. You sacrifice readability and ease of debugging for compact code, and with Livecode, do we really need compact code? Bob S > > On Oct 2, 2020, at 2:59 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > on dataServerStack > local tHttpsServerRoot,tLocalDocumentsStories > put "https://dev.himalayanacademy.com/media/stories/" --into tHttpsServerRoot > put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into tLocalDocumentsStories > put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" > end dataServerStack > > it goes badly to documents folder, > > on dataServerStack > local tHttpsServerRoot,tLocalDocumentsStories > put "https://dev.himalayanacademy.com/media/stories/" into tHttpsServerRoot > put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into tLocalDocumentsStories > put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" > end dataServerStack > > it goes badly to documents folder, > > ? > put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" > > Compile error line 119 (Handler: bad command) near "&", char 84 > > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Fri Oct 2 20:01:47 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 3 Oct 2020 10:01:47 +1000 Subject: Modal stacks cpu usage Message-ID: > Confirmed here on macOS 10.14.5. The CPU load is indeed quite dramatic > with modal dialogs. > > I also checked on Linux (Ubuntu 18.04), and LC does not exhibit the > problem there. Thanks Richard for confirming, and testing on Linux. Yes I will file a bug report. It occurred to me that LC shouldn?t be using as much as 34% cpu when it is just idling anyway, even when not running a modal stack. Testing just now shows that is down to around 16%; of course LC?s time share will depend on lots of OS factors and other running apps, but that?s still way too high for an app supposedly doing nothing but waiting for events. Turning off the Rinaldi revSmartSave plugin brings it down to between 4 and 7%, which is more reasonable; presumably something to do with displaying its progress bar, perhaps another wait side effect. Neville Smythe From neville.smythe at optusnet.com.au Fri Oct 2 20:08:28 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 3 Oct 2020 10:08:28 +1000 Subject: Modal stacks cpu usage Message-ID: <548CE782-2654-45C3-B3A9-CAAEED99837D@optusnet.com.au> Looks like Elanor beat me to it Bug?22929 Neville Smythe From brahma at hindu.org Fri Oct 2 22:05:02 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 3 Oct 2020 02:05:02 +0000 Subject: What Causes "
##string##
" In-Reply-To: <174eb4bf5d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <46EB1E78-68B8-47D0-8012-6EFD90C795A9@byu.edu> <174eb4bf5d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <2823CDC5-79A7-4518-857E-13C0CC7C8629@hindu.org> Nope!? Does this work? ##string## -- From jacque at hyperactivesw.com Fri Oct 2 22:25:55 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 02 Oct 2020 21:25:55 -0500 Subject: Modal stacks cpu usage In-Reply-To: References: Message-ID: <174ec47af38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If the Project Browser is open, try closing it. On my Mac, the CPU usage while idle is usually close to 0 when in the background. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 2, 2020 7:03:59 PM Neville Smythe via use-livecode wrote: >> Confirmed here on macOS 10.14.5. The CPU load is indeed quite dramatic >> with modal dialogs. >> >> I also checked on Linux (Ubuntu 18.04), and LC does not exhibit the >> problem there. > > > Thanks Richard for confirming, and testing on Linux. Yes I will file a bug > report. > > It occurred to me that LC shouldn?t be using as much as 34% cpu when it is > just idling anyway, even when not running a modal stack. Testing just now > shows that is down to around 16%; of course LC?s time share will depend on > lots of OS factors and other running apps, but that?s still way too high > for an app supposedly doing nothing but waiting for events. Turning off the > Rinaldi revSmartSave plugin brings it down to between 4 and 7%, which is > more reasonable; presumably something to do with displaying its progress > bar, perhaps another wait side effect. > > Neville Smythe > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sat Oct 3 04:11:48 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 3 Oct 2020 10:11:48 +0200 Subject: Slightly OT: downloading Xcode Message-ID: This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. Thanks Graham From stephen at barncard.com Sat Oct 3 05:46:18 2020 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 3 Oct 2020 02:46:18 -0700 Subject: Slightly OT: downloading Xcode In-Reply-To: References: Message-ID: Hi Graham, This sounds quite futile for you on such an imperfect connection, and an unfair situation created by Apple. I guess they expect all developers to have fiber-to-the-home or live in glass corporate towers with <2 megabit connections. Such code bloat surely could be reduced greatly by refactoring by their wonderful code scientists, but I guess that's not efficient. I'll bet that over 60% of that block is absolute bloat but that's the world they've dealt us. ADSL is an especially imperfect, ancient tech using analog phone lines to carry digital signals and very susceptible to interference and bad weather. I struggled with it for years at my place in Sebastopol, even a connection with two lines until I switched to a cable based system. It's all about the distance to the cabinet and then from there to the central office. The local cabinet (which could be on a pole) could be connected to a fiber optic line but if the POTS (plain old telephone service) wires are old and stressed can be the culprit. And even the wires from the cabinet to your house may not be a continuous run. There might be branches of line that dead-ends that used to connect to someone else's house. A call to your telephone provider might make a big difference when you tell them your problem - it may not be the internet provider's issue. Sometimes the telephone connection at your house itself could be the reason why the speed varies so much. Moisture and humidity can contribute to bad terminations - look for "green copper" at the screw terminals - a sure sign of contamination and resistance. They are trying to send analog signals at near radio frequencies and that's very critical. Finally, telephone companies around the world are replacing old copper lines with fiber optic lines all the way to the home. The price of copper these days has made the old wire a resource and makes it possible for the telephone providers to run fibre everywhere more economical and possible due to the salvage of the previous copper wires - fiber lines are cheaper per foot vs bandwidth and carry TV signals too. The bandwidth needed to be a developer today isn't going to get any less and rural customers are going to need this bandwidth as much as urban ones in the near future. for now, Is it possible for you to take a laptop to another town, perhaps a cyber-cafe with a suitable connection? If the time it takes to download longer than it takes to drive there, would that make sense? Or perhaps a friend that is also a developer elsewhere in France that would be kind enough to drop it on to a USB stick or drive you could send him? Certainly there must be a fellow Live-coder in your country that could do this? Or am I being naive? -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sat, Oct 3, 2020 at 1:12 AM Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > This is a question for people having to use XCode to generate iOS apps. I > find from responses on this list that I now need Xcode 15 to have a chance > of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I > would get a meaningful answer: > > I'm working deep in the French countryside with an ADSL connection - > although I have enough bandwidth to stream TV programs, really long files > are hard to download. Downloading Xcode - which is reported to be an 8.12GB > file - at a speed of between 300 and 750 KB/sec is a nightmare. If the > download speed drops below some unspecified limit, the download stops and > has to be resumed in Safari, but that's not the worst of it. If I leave the > download overnight, having got say 4 out of 8 Gb loaded, when look at the > download folder in the morning, it only contains 14 bytes, necessitating a > complete reload! There isn't even anything in the Trash. What's that about, > and is there any way I can simply accumulate the download bit by bit until > it's all finished? > > If anyone has any hints, I?d be grateful. Otherwise it means spending some > hours keep the download pot boiling and wrecking the rest of my day. > > Thanks > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Oct 3 07:14:39 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Oct 2020 14:14:39 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: References: Message-ID: I would suppose the "trick" is to get some else to download xCode 15 for you; chop it up into a series of sensibly sized ZIP files, you can then download each one individually, then knit them all together again on your machine . . . However: I've never heard of xCode 15, and as far as I'm aware the latest recension of xCode is 12.2 beta 2 which requires macOS 10.15.4 or later . . . Over "here" in the "bloody Balkans" I am informed the download should take about an hour: so I have started it going: and, after my Saturday afternoon snooze I'll see what I can do re chopping it up into about 32 zip files and bunging them on my Google drive or something. Indeed: asking Apple questions is a bit like what my late Father calimed was his favourite activity: banging his head against the wall: why? Because it's great when it stops. Watch this space in about 90 minutes.? :) Richmond. On 3.10.20 11:11, Graham Samuel via use-livecode wrote: > This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: > > I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? > > If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. > > Thanks > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Oct 3 07:17:21 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Oct 2020 14:17:21 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: References: Message-ID: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> Cripes! xCode 12.2. beta 2 takes up 10.5 GB of space . . . wonder what the bloat is: Tim Cook's unwashed laundry? On 3.10.20 11:11, Graham Samuel via use-livecode wrote: > This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: > > I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? > > If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. > > Thanks > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sat Oct 3 07:58:43 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 3 Oct 2020 13:58:43 +0200 Subject: Slightly OT: downloading Xcode In-Reply-To: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> References: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> Message-ID: Sorry if I said Xcode 15 - just a typo, it?s actually 11.5. But the point remains the same. As I have said before, it seems that Apple are offering files as big as the Library of Babel for no logical reason. Stephen?s idea that they expect you to have a fibre connection is probably true, but odd considering that there are so many places in the world not yet offering high speed internet. I didn?t bother to explain that in my tiny French village, the new state-sponsored optical fibre goes straight past my house, but sadly on the wrong side of the road! I have contracted with the necessary ISP, different from the one I?m using now, but after an abortive visit by a very nice technician who announced that she couldn?t solve the problem herself, they have outsourced the link from one side of the street to the other to an external contractor, with the result that the original August installation date has been pushed out to November! I have even tried to organise a bit of private work to get the cable across but the ISP will not play ball. In practical terms, I will either hang over my Mac for a few more hours or take up the sensible suggestion of getting someone else with true broadband to do the download for me. The point of my email though was to ask if there is a way of downloading a huge file by any other method than simply swallowing the whole elephant in one go - looks like there isn?t. Thanks all Graham > On 3 Oct 2020, at 13:17, Richmond via use-livecode wrote: > > Cripes! > > xCode 12.2. beta 2 takes up 10.5 GB of space . . . wonder what the bloat is: Tim Cook's unwashed laundry? > > On 3.10.20 11:11, Graham Samuel via use-livecode wrote: >> This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: >> >> I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? >> >> If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. >> >> Thanks >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Oct 3 09:10:07 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Oct 2020 16:10:07 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: References: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> Message-ID: <51d007e7-8892-9116-838a-8531565d847e@gmail.com> Well, your "just a typo" meant I downloaded 12.2 beta 2. So, now you'll just have to wait while I download 11.5. Obviously you entirely missed the point of my previous message. In about 1994 I downloaded a file that took up 3 MB on a computer in the SIUC EFL computer lab, and, obviously, could not fit it on a floppy disk to transfer to my LC 475 at home. So I used Stuffit to compress it and chop it up into several .sit files and then copy those onto about 5 floppy disks . . . I learnt my lesson: so, just as soon as xCode 11.5 (don't you dare say that was another typo) has downloaded I will try to chop it up (and it is 7.5 GB) into about 30 zip files at 256 MB, and work out how to make them accessible to you. Richmond. On 3.10.20 14:58, Graham Samuel via use-livecode wrote: > Sorry if I said Xcode 15 - just a typo, it?s actually 11.5. But the point remains the same. As I have said before, it seems that Apple are offering files as big as the Library of Babel for no logical reason. Stephen?s idea that they expect you to have a fibre connection is probably true, but odd considering that there are so many places in the world not yet offering high speed internet. > > I didn?t bother to explain that in my tiny French village, the new state-sponsored optical fibre goes straight past my house, but sadly on the wrong side of the road! I have contracted with the necessary ISP, different from the one I?m using now, but after an abortive visit by a very nice technician who announced that she couldn?t solve the problem herself, they have outsourced the link from one side of the street to the other to an external contractor, with the result that the original August installation date has been pushed out to November! I have even tried to organise a bit of private work to get the cable across but the ISP will not play ball. > > In practical terms, I will either hang over my Mac for a few more hours or take up the sensible suggestion of getting someone else with true broadband to do the download for me. The point of my email though was to ask if there is a way of downloading a huge file by any other method than simply swallowing the whole elephant in one go - looks like there isn?t. > > Thanks all > > Graham > >> On 3 Oct 2020, at 13:17, Richmond via use-livecode wrote: >> >> Cripes! >> >> xCode 12.2. beta 2 takes up 10.5 GB of space . . . wonder what the bloat is: Tim Cook's unwashed laundry? >> >> On 3.10.20 11:11, Graham Samuel via use-livecode wrote: >>> This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: >>> >>> I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? >>> >>> If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. >>> >>> Thanks >>> >>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Sat Oct 3 09:34:01 2020 From: brian at milby7.com (Brian Milby) Date: Sat, 3 Oct 2020 09:34:01 -0400 Subject: Slightly OT: downloading Xcode In-Reply-To: <51d007e7-8892-9116-838a-8531565d847e@gmail.com> References: <51d007e7-8892-9116-838a-8531565d847e@gmail.com> Message-ID: One of these download managers may be helpful: https://www.macheat.com/the-5-best-download-managers-for-mac/ Sent from my iPhone > On Oct 3, 2020, at 9:11 AM, Richmond via use-livecode wrote: > > ?Well, your "just a typo" meant I downloaded 12.2 beta 2. So, now you'll just have to wait while I download 11.5. > > Obviously you entirely missed the point of my previous message. > > In about 1994 I downloaded a file that took up 3 MB on a computer in the SIUC EFL computer lab, and, obviously, could > not fit it on a floppy disk to transfer to my LC 475 at home. So I used Stuffit to compress it and chop it up into > several .sit files and then copy those onto about 5 floppy disks . . . I learnt my lesson: so, just as soon as xCode 11.5 (don't you dare say that was another typo) has downloaded I will try to chop it up (and it is 7.5 GB) into about 30 zip files at 256 MB, > and work out how to make them accessible to you. > > Richmond. > >> On 3.10.20 14:58, Graham Samuel via use-livecode wrote: >> Sorry if I said Xcode 15 - just a typo, it?s actually 11.5. But the point remains the same. As I have said before, it seems that Apple are offering files as big as the Library of Babel for no logical reason. Stephen?s idea that they expect you to have a fibre connection is probably true, but odd considering that there are so many places in the world not yet offering high speed internet. >> >> I didn?t bother to explain that in my tiny French village, the new state-sponsored optical fibre goes straight past my house, but sadly on the wrong side of the road! I have contracted with the necessary ISP, different from the one I?m using now, but after an abortive visit by a very nice technician who announced that she couldn?t solve the problem herself, they have outsourced the link from one side of the street to the other to an external contractor, with the result that the original August installation date has been pushed out to November! I have even tried to organise a bit of private work to get the cable across but the ISP will not play ball. >> >> In practical terms, I will either hang over my Mac for a few more hours or take up the sensible suggestion of getting someone else with true broadband to do the download for me. The point of my email though was to ask if there is a way of downloading a huge file by any other method than simply swallowing the whole elephant in one go - looks like there isn?t. >> >> Thanks all >> >> Graham >> >>>> On 3 Oct 2020, at 13:17, Richmond via use-livecode wrote: >>> >>> Cripes! >>> >>> xCode 12.2. beta 2 takes up 10.5 GB of space . . . wonder what the bloat is: Tim Cook's unwashed laundry? >>> >>> On 3.10.20 11:11, Graham Samuel via use-livecode wrote: >>>> This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: >>>> >>>> I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? >>>> >>>> If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. >>>> >>>> Thanks >>>> >>>> Graham >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Oct 3 10:39:13 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Oct 2020 17:39:13 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: References: <51d007e7-8892-9116-838a-8531565d847e@gmail.com> Message-ID: Ugly stuff going on: richmond at Richmonds-Mac-mini ~ % xip -x /Volumes/X3/xc\ 115/Xcode_11.5.xip xip: signing certificate was "Development Update" (validation not attempted) On 3.10.20 16:34, Brian Milby via use-livecode wrote: > One of these download managers may be helpful: > > https://www.macheat.com/the-5-best-download-managers-for-mac/ > > Sent from my iPhone > >> On Oct 3, 2020, at 9:11 AM, Richmond via use-livecode wrote: >> >> ?Well, your "just a typo" meant I downloaded 12.2 beta 2. So, now you'll just have to wait while I download 11.5. >> >> Obviously you entirely missed the point of my previous message. >> >> In about 1994 I downloaded a file that took up 3 MB on a computer in the SIUC EFL computer lab, and, obviously, could >> not fit it on a floppy disk to transfer to my LC 475 at home. So I used Stuffit to compress it and chop it up into >> several .sit files and then copy those onto about 5 floppy disks . . . I learnt my lesson: so, just as soon as xCode 11.5 (don't you dare say that was another typo) has downloaded I will try to chop it up (and it is 7.5 GB) into about 30 zip files at 256 MB, >> and work out how to make them accessible to you. >> >> Richmond. >> >>> On 3.10.20 14:58, Graham Samuel via use-livecode wrote: >>> Sorry if I said Xcode 15 - just a typo, it?s actually 11.5. But the point remains the same. As I have said before, it seems that Apple are offering files as big as the Library of Babel for no logical reason. Stephen?s idea that they expect you to have a fibre connection is probably true, but odd considering that there are so many places in the world not yet offering high speed internet. >>> >>> I didn?t bother to explain that in my tiny French village, the new state-sponsored optical fibre goes straight past my house, but sadly on the wrong side of the road! I have contracted with the necessary ISP, different from the one I?m using now, but after an abortive visit by a very nice technician who announced that she couldn?t solve the problem herself, they have outsourced the link from one side of the street to the other to an external contractor, with the result that the original August installation date has been pushed out to November! I have even tried to organise a bit of private work to get the cable across but the ISP will not play ball. >>> >>> In practical terms, I will either hang over my Mac for a few more hours or take up the sensible suggestion of getting someone else with true broadband to do the download for me. The point of my email though was to ask if there is a way of downloading a huge file by any other method than simply swallowing the whole elephant in one go - looks like there isn?t. >>> >>> Thanks all >>> >>> Graham >>> >>>>> On 3 Oct 2020, at 13:17, Richmond via use-livecode wrote: >>>> Cripes! >>>> >>>> xCode 12.2. beta 2 takes up 10.5 GB of space . . . wonder what the bloat is: Tim Cook's unwashed laundry? >>>> >>>> On 3.10.20 11:11, Graham Samuel via use-livecode wrote: >>>>> This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: >>>>> >>>>> I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? >>>>> >>>>> If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. >>>>> >>>>> Thanks >>>>> >>>>> Graham >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Oct 3 11:07:14 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Oct 2020 18:07:14 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: References: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> Message-ID: <538f8086-7a68-90cd-aee3-9aabc591cd9d@gmail.com> Can you send me your download linbk as the .xip file is NBG; and I need a .dmg or a .pkg to work with? On 3.10.20 14:58, Graham Samuel via use-livecode wrote: From richmondmathewson at gmail.com Sat Oct 3 11:09:45 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Oct 2020 18:09:45 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: References: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> Message-ID: <8b182ee6-c691-0cd8-9997-0ef391dd5459@gmail.com> I wonder: https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ On 3.10.20 14:58, Graham Samuel via use-livecode wrote: > Sorry if I said Xcode 15 - just a typo, it?s actually 11.5. But the point remains the same. As I have said before, it seems that Apple are offering files as big as the Library of Babel for no logical reason. Stephen?s idea that they expect you to have a fibre connection is probably true, but odd considering that there are so many places in the world not yet offering high speed internet. > > I didn?t bother to explain that in my tiny French village, the new state-sponsored optical fibre goes straight past my house, but sadly on the wrong side of the road! I have contracted with the necessary ISP, different from the one I?m using now, but after an abortive visit by a very nice technician who announced that she couldn?t solve the problem herself, they have outsourced the link from one side of the street to the other to an external contractor, with the result that the original August installation date has been pushed out to November! I have even tried to organise a bit of private work to get the cable across but the ISP will not play ball. > > In practical terms, I will either hang over my Mac for a few more hours or take up the sensible suggestion of getting someone else with true broadband to do the download for me. The point of my email though was to ask if there is a way of downloading a huge file by any other method than simply swallowing the whole elephant in one go - looks like there isn?t. > > Thanks all > > Graham > >> On 3 Oct 2020, at 13:17, Richmond via use-livecode wrote: >> >> Cripes! >> >> xCode 12.2. beta 2 takes up 10.5 GB of space . . . wonder what the bloat is: Tim Cook's unwashed laundry? >> >> On 3.10.20 11:11, Graham Samuel via use-livecode wrote: >>> This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: >>> >>> I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? >>> >>> If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. >>> >>> Thanks >>> >>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sat Oct 3 11:39:50 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 3 Oct 2020 08:39:50 -0700 Subject: Slightly OT: downloading Xcode In-Reply-To: <8b182ee6-c691-0cd8-9997-0ef391dd5459@gmail.com> References: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> <8b182ee6-c691-0cd8-9997-0ef391dd5459@gmail.com> Message-ID: <5b7fa23e-32b5-7d1d-cb12-f7463d7a7f2d@sonic.net> On 10/3/20 8:09 AM, Richmond via use-livecode wrote: > I wonder: > > https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ Looks interesting, but I'd be wary of anything that does install.sh | bash without checking the source first -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sat Oct 3 11:59:50 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Oct 2020 18:59:50 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: References: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> Message-ID: OK, OK, OK: now zipping Xcode 11.5 into however many 650 MB chunks . . . On 3.10.20 14:58, Graham Samuel via use-livecode wrote: > Sorry if I said Xcode 15 - just a typo, it?s actually 11.5. But the point remains the same. As I have said before, it seems that Apple are offering files as big as the Library of Babel for no logical reason. Stephen?s idea that they expect you to have a fibre connection is probably true, but odd considering that there are so many places in the world not yet offering high speed internet. > > I didn?t bother to explain that in my tiny French village, the new state-sponsored optical fibre goes straight past my house, but sadly on the wrong side of the road! I have contracted with the necessary ISP, different from the one I?m using now, but after an abortive visit by a very nice technician who announced that she couldn?t solve the problem herself, they have outsourced the link from one side of the street to the other to an external contractor, with the result that the original August installation date has been pushed out to November! I have even tried to organise a bit of private work to get the cable across but the ISP will not play ball. > > In practical terms, I will either hang over my Mac for a few more hours or take up the sensible suggestion of getting someone else with true broadband to do the download for me. The point of my email though was to ask if there is a way of downloading a huge file by any other method than simply swallowing the whole elephant in one go - looks like there isn?t. > > Thanks all > > Graham > >> On 3 Oct 2020, at 13:17, Richmond via use-livecode wrote: >> >> Cripes! >> >> xCode 12.2. beta 2 takes up 10.5 GB of space . . . wonder what the bloat is: Tim Cook's unwashed laundry? >> >> On 3.10.20 11:11, Graham Samuel via use-livecode wrote: >>> This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: >>> >>> I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? >>> >>> If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. >>> >>> Thanks >>> >>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Oct 3 12:24:39 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 3 Oct 2020 18:24:39 +0200 Subject: Slightly OT: downloading Xcode In-Reply-To: <5b7fa23e-32b5-7d1d-cb12-f7463d7a7f2d@sonic.net> References: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> <8b182ee6-c691-0cd8-9997-0ef391dd5459@gmail.com> <5b7fa23e-32b5-7d1d-cb12-f7463d7a7f2d@sonic.net> Message-ID: <9A832A9B-EC55-4DF3-BEC3-F732F96E72BE@m-r-d.de> This would be a saver alternative https://blog.kulman.sk/faster-way-to-download-and-install-xcode/ It uses Aria2 https://formulae.brew.sh/formula/aria2 and a ruby script https://gist.github.com/iandundas/fabe07455e5216442a421922361f698c Regards, Matthias Matthias Rebbe Software & Support Externer Datenschutz Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 03.10.2020 um 17:39 schrieb Mark Wieder via use-livecode >: > > On 10/3/20 8:09 AM, Richmond via use-livecode wrote: >> I wonder: >> https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ > > Looks interesting, but I'd be wary of anything that does > install.sh | bash > without checking the source first > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode - Matthias Rebbe Life Is Too Short For Boring Code From jmac at consensustech.com Sat Oct 3 12:34:41 2020 From: jmac at consensustech.com (Jim At Consensus) Date: Sat, 3 Oct 2020 09:34:41 -0700 Subject: Slightly OT: downloading Xcode In-Reply-To: <9A832A9B-EC55-4DF3-BEC3-F732F96E72BE@m-r-d.de> References: <9A832A9B-EC55-4DF3-BEC3-F732F96E72BE@m-r-d.de> Message-ID: <1F22A815-2040-4014-BA82-84C6D29152F5@consensustech.com> Lest anyone think this is a rural issue. I live in a major metropolitan city in the US. (Seattle, Wa) And am still on DSL and can?t get cable or fiber to my house without paying to have poles placed and or conduit run underground... very expensive. Our DSL is over copper lines from 1936 whose insulation (lead) has been riddled with holes. When it rains, we have no internet and usually no phone. To get Apple updates, I either lose a day or go someplace with a reliable hispeed connecton. Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Oct 3, 2020, at 9:26 AM, matthias rebbe via use-livecode wrote: > > ?This would be a saver alternative > https://blog.kulman.sk/faster-way-to-download-and-install-xcode/ > > It uses Aria2 > https://formulae.brew.sh/formula/aria2 > and a ruby script > https://gist.github.com/iandundas/fabe07455e5216442a421922361f698c > > > Regards, > > Matthias > > Matthias Rebbe > Software & Support > Externer Datenschutz > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 > >> Am 03.10.2020 um 17:39 schrieb Mark Wieder via use-livecode >: >> >>> On 10/3/20 8:09 AM, Richmond via use-livecode wrote: >>> I wonder: >>> https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ >> >> Looks interesting, but I'd be wary of anything that does >> install.sh | bash >> without checking the source first >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Sat Oct 3 12:41:46 2020 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 3 Oct 2020 09:41:46 -0700 Subject: Slightly OT: downloading Xcode In-Reply-To: <5b7fa23e-32b5-7d1d-cb12-f7463d7a7f2d@sonic.net> References: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> <8b182ee6-c691-0cd8-9997-0ef391dd5459@gmail.com> <5b7fa23e-32b5-7d1d-cb12-f7463d7a7f2d@sonic.net> Message-ID: Hey everyone. Chopping up a gigantic file into little bits to be zipped then uploaded is nuts. Chopped nuts! The A in ADSL means ASYMETRICAL - which means uneven- upload speed and is a fraction of the download speed. It would take a long time with most POTS internets to upload gigabyte files. What I do with files that are too big to upload is to put it on an inexpensive SDHC chip and send it in regular mail. I do this all the time with video files. On Sat, Oct 3, 2020 at 08:40 Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 10/3/20 8:09 AM, Richmond via use-livecode wrote: > > > I wonder: > > > > > > > https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ > > > > Looks interesting, but I'd be wary of anything that does > > install.sh | bash > > without checking the source first > > > > -- > > Mark Wieder > > ahsoftware at gmail.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From stephen at barncard.com Sat Oct 3 12:46:13 2020 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 3 Oct 2020 09:46:13 -0700 Subject: Slightly OT: downloading Xcode In-Reply-To: <1F22A815-2040-4014-BA82-84C6D29152F5@consensustech.com> References: <9A832A9B-EC55-4DF3-BEC3-F732F96E72BE@m-r-d.de> <1F22A815-2040-4014-BA82-84C6D29152F5@consensustech.com> Message-ID: Hi Jim, 5g via a home modem is supposed to save those of us without telephone poles or conduits to the home. some day. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sat, Oct 3, 2020 at 9:36 AM Jim At Consensus via use-livecode < use-livecode at lists.runrev.com> wrote: > Lest anyone think this is a rural issue. > > I live in a major metropolitan city in the US. (Seattle, Wa) And am still > on DSL and can?t get cable or fiber to my house without paying to have > poles placed and or conduit run underground... very expensive. Our DSL is > over copper lines from 1936 whose insulation (lead) has been riddled with > holes. > > When it rains, we have no internet and usually no phone. To get Apple > updates, I either lose a day or go someplace with a reliable hispeed > connecton. > > Sent from Jim's iPhone XR > Please excuse brevity, typos and errors > > > On Oct 3, 2020, at 9:26 AM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?This would be a saver alternative > > https://blog.kulman.sk/faster-way-to-download-and-install-xcode/ < > https://blog.kulman.sk/faster-way-to-download-and-install-xcode/> > > > > It uses Aria2 > > https://formulae.brew.sh/formula/aria2 < > https://formulae.brew.sh/formula/aria2> > > and a ruby script > > https://gist.github.com/iandundas/fabe07455e5216442a421922361f698c < > https://gist.github.com/iandundas/fabe07455e5216442a421922361f698c> > > > > > > Regards, > > > > Matthias > > > > Matthias Rebbe > > Software & Support > > Externer Datenschutz > > Bramkampsieke 13 > > 32312 L?bbecke > > Tel +49 5741 310000 > > +49 160 5504462 > > Fax: +49 5741 310002 > > eMail: matthias at m-r-d.de > > > > BR5 Konverter - BR5 -> MP3 > > > >> Am 03.10.2020 um 17:39 schrieb Mark Wieder via use-livecode < > use-livecode at lists.runrev.com >: > >> > >>> On 10/3/20 8:09 AM, Richmond via use-livecode wrote: > >>> I wonder: > >>> > https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ > < > https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/> > > >> > >> Looks interesting, but I'd be wary of anything that does > >> install.sh | bash > >> without checking the source first > >> > >> -- > >> Mark Wieder > >> ahsoftware at gmail.com > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > - > > Matthias Rebbe > > Life Is Too Short For Boring Code > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Oct 3 12:51:45 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Oct 2020 19:51:45 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: <1F22A815-2040-4014-BA82-84C6D29152F5@consensustech.com> References: <9A832A9B-EC55-4DF3-BEC3-F732F96E72BE@m-r-d.de> <1F22A815-2040-4014-BA82-84C6D29152F5@consensustech.com> Message-ID: <2fe1c09e-2e36-6c13-6ae4-220b99cd29d5@gmail.com> The answer, paradoxically, is to move to? a silly little village half-an-hour away from a city in Bulgaria, as I have unlimited fibre-optic internet for $5 a month. According to Ookla my download speed is about 61 Mbps, and my upload speed is 48 Mbps. I really don't know what those numbers mean; but it does mean that Xcode 11 took 45 minutes, whether that is fast or slow, I do remember the dial-up modem in Carbondale, Illinois in 1993 taking 11 hours to download 1.1 MB . . . On 3.10.20 19:34, Jim At Consensus via use-livecode wrote: > Lest anyone think this is a rural issue. > > I live in a major metropolitan city in the US. (Seattle, Wa) And am still on DSL and can?t get cable or fiber to my house without paying to have poles placed and or conduit run underground... very expensive. Our DSL is over copper lines from 1936 whose insulation (lead) has been riddled with holes. > > When it rains, we have no internet and usually no phone. To get Apple updates, I either lose a day or go someplace with a reliable hispeed connecton. > > Sent from Jim's iPhone XR > Please excuse brevity, typos and errors > >> On Oct 3, 2020, at 9:26 AM, matthias rebbe via use-livecode wrote: >> >> ?This would be a saver alternative >> https://blog.kulman.sk/faster-way-to-download-and-install-xcode/ >> >> It uses Aria2 >> https://formulae.brew.sh/formula/aria2 >> and a ruby script >> https://gist.github.com/iandundas/fabe07455e5216442a421922361f698c >> >> >> Regards, >> >> Matthias >> >> Matthias Rebbe >> Software & Support >> Externer Datenschutz >> Bramkampsieke 13 >> 32312 L?bbecke >> Tel +49 5741 310000 >> +49 160 5504462 >> Fax: +49 5741 310002 >> eMail: matthias at m-r-d.de >> >> BR5 Konverter - BR5 -> MP3 >> >>> Am 03.10.2020 um 17:39 schrieb Mark Wieder via use-livecode >: >>> >>>> On 10/3/20 8:09 AM, Richmond via use-livecode wrote: >>>> I wonder: >>>> https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ >>> Looks interesting, but I'd be wary of anything that does >>> install.sh | bash >>> without checking the source first >>> >>> -- >>> Mark Wieder >>> ahsoftware at gmail.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Sat Oct 3 13:00:23 2020 From: iphonelagi at gmail.com (Lagi Pittas) Date: Sat, 3 Oct 2020 18:00:23 +0100 Subject: Slightly OT: downloading Xcode In-Reply-To: References: Message-ID: Hi Graham, How about using a download manager that does the chopping/zipping and unchopping for you so you can be sure that when you restart all the bits are ther. There are a coupler of free ones and some paid for http://www.flashget.com/en/download.html http://www.eagleget.com/download-eagleget-portable/ https://www.freedownloadmanager.org/download.htm the one i use is https://secure.internetdownloadmanager.com/buy_idm.html and cost 9 pounds a year Hope that helps Lagi On Sat, 3 Oct 2020 at 09:12, Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > This is a question for people having to use XCode to generate iOS apps. I > find from responses on this list that I now need Xcode 15 to have a chance > of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I > would get a meaningful answer: > > I'm working deep in the French countryside with an ADSL connection - > although I have enough bandwidth to stream TV programs, really long files > are hard to download. Downloading Xcode - which is reported to be an 8.12GB > file - at a speed of between 300 and 750 KB/sec is a nightmare. If the > download speed drops below some unspecified limit, the download stops and > has to be resumed in Safari, but that's not the worst of it. If I leave the > download overnight, having got say 4 out of 8 Gb loaded, when look at the > download folder in the morning, it only contains 14 bytes, necessitating a > complete reload! There isn't even anything in the Trash. What's that about, > and is there any way I can simply accumulate the download bit by bit until > it's all finished? > > If anyone has any hints, I?d be grateful. Otherwise it means spending some > hours keep the download pot boiling and wrecking the rest of my day. > > Thanks > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- KIndest Regards Lagi From preid at reidit.co.uk Sat Oct 3 13:13:19 2020 From: preid at reidit.co.uk (Peter Reid) Date: Sat, 3 Oct 2020 18:13:19 +0100 Subject: ICS Generation In-Reply-To: References: Message-ID: <70A80820-7C3B-4689-A3D1-554CFAF1640F@reidit.co.uk> Thanks all for the leads/links to Bill Vlahos' and Andre Garzia's developments, both look very interesting. I think Andre's vObject library looks to fit my needs better as it doesn't rely on other scripting technology such as AppleScript. I'll report back to the list how I get on with my very modest iCal support. Peter -- Peter Reid Loughborough, UK > On 2 Oct 2020, at 5:00pm, use-livecode-request at lists.runrev.com wrote: > > Message: 6 > Date: Thu, 1 Oct 2020 23:22:25 +0200 > From: matthias_livecode_150811 at m-r-d.de > To: How to use LiveCode > Subject: Re: ICS Generation > Message-ID: <1C63C7D4-B66E-4F1F-A88D-DFDF810D6984 at m-r-d.de> > Content-Type: text/plain; charset=us-ascii > > I am not sure if this is what you are looking for, but in this forum post Bill Vlahos wrote about a stack he wrote > http://forums.livecode.com/viewtopic.php?f=108&t=25046 > > Here's the direct link to his GitHub repo > https://github.com/bvlahos/Scripting-Calendars > > Regards, > Matthias > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > ------------------------------ > > Message: 7 > Date: Fri, 2 Oct 2020 00:17:11 +0200 > From: matthias_livecode_150811 at m-r-d.de > To: How to use LiveCode > Subject: Re: ICS Generation > Message-ID: > Content-Type: text/plain; charset=us-ascii > > And heres a link to Andre Garzias post about an iCalendar library he created and shared through GitHub > http://forums.livecode.com/viewtopic.php?t=32187 > > - > Matthias Rebbe > Life Is Too Short For Boring Code From ahsoftware at sonic.net Sat Oct 3 13:30:44 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 3 Oct 2020 10:30:44 -0700 Subject: Slightly OT: downloading Xcode In-Reply-To: <8b182ee6-c691-0cd8-9997-0ef391dd5459@gmail.com> References: <27b523ed-6f0e-963c-44de-d945145e3883@gmail.com> <8b182ee6-c691-0cd8-9997-0ef391dd5459@gmail.com> Message-ID: On 10/3/20 8:09 AM, Richmond via use-livecode wrote: > I wonder: > > https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ But thanks for the link. That's a very interesting website. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sat Oct 3 14:27:19 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Oct 2020 21:27:19 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: References: Message-ID: Well . . . eventually after a lot of fooling around I chopped Xcode 11.5 up into 15 * 650 MB chunks: but, frankly, that will not solve your problem. Later postings in this thread made a lot more sense. Best, Richmond. On 3.10.20 11:11, Graham Samuel via use-livecode wrote: > This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: > > I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? > > If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. > > Thanks > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Sat Oct 3 21:36:47 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 4 Oct 2020 12:36:47 +1100 Subject: Modal stacks cpu usage Message-ID: <20EC0F20-E982-43FF-AA4A-206AFA4CD653@optusnet.com.au> Jacque wrote > If the Project Browser is open, try closing it. On my Mac, the CPU usage > while idle is usually close to 0 when in the background. Interesting. I would indeed have expected a good-citizen app doing nothing in the background to use less than 1% cpu: Mail, Safari. Finder, BBEdit, Keyboard Maestro are currently all close to 0% But I never see LC using less than 4.3% with no user stacks open, no palettes, no plugins, no scripts, just the IDE. Adding revSmartSave brings it up to 15%. The only odd thing about the process I can see is the unusually high number of ?idle wake ups?, sometimes over 100 in the Activity Monitor sampling period: no other process excepting kernel_task has anything like this number. Of course it?s a mug?s game ? if that is a phrase in your neck of the woods? trying to second guess OS time-sharing parameters, but it does look like LC is not a very nice (pun intended) citizen at least in this configuration: Catalina 10.15.6, Mac Air 2020 quad core, LC 9.6.1 Community! Neville From livfoss at mac.com Sun Oct 4 08:03:00 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 4 Oct 2020 14:03:00 +0200 Subject: Slightly OT: downloading Xcode In-Reply-To: References: Message-ID: This is just to thank everyone who took part in these discussions. I learned a lot - for example, I didn?t know that download managers existed. I have solved my immediate problem by brute force (I basically kept coming back to my Mac every few minutes for about half a day and so did the download), but the solutions offered in this conversation are going to be used from now on. In fact since Apple keeps updating Xcode and LC struggles (and sometimes fails) to keep up, a lot more of these big downloads seem inevitable. To put the thing in a wider context, I do think these incredibly large files are a bad thing. OK sometimes they may be unavoidable, but in the case of Xcode, which is really just a big tool box (and other comparable software), it seems perverse. Not much chance of changing Apple?s mind, I suppose. Personally I can still hope that my French ISP comes out of the woodwork and gives me "fibre optique" before I have to take off for quarantine in England (where i have absolutely no idea what internet speeds to expect in my quarantine hideout - what times we live in!). Thanks again Graham PS Apologies to Richmond for the unforeseen consequences of my typo - but in mitigation, I never asked you to do the download yourself! > On 3 Oct 2020, at 20:27, Richmond via use-livecode wrote: > > Well . . . eventually after a lot of fooling around I chopped Xcode 11.5 up into 15 * 650 MB chunks: but, frankly, that > will not solve your problem. > > Later postings in this thread made a lot more sense. > > Best, Richmond. > > On 3.10.20 11:11, Graham Samuel via use-livecode wrote: >> This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: >> >> I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? >> >> If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. >> >> Thanks >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Oct 4 12:35:54 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 4 Oct 2020 19:35:54 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: References: Message-ID: Graham: there are no apologies needed: I leanrt several useful things, such as, for instance that Apple issue .xip files which their own in-built apps seem unable to decompress! I had to use something called 'Keka' (which sounds suggestively like Cacka). And as to "download yourself", all I can say is that while I have tried many, many daft things in my life I have never tried to either download or upload myself . . . Love and tickles, Richmond. On 4.10.20 15:03, Graham Samuel via use-livecode wrote: > This is just to thank everyone who took part in these discussions. I learned a lot - for example, I didn?t know that download managers existed. > > I have solved my immediate problem by brute force (I basically kept coming back to my Mac every few minutes for about half a day and so did the download), but the solutions offered in this conversation are going to be used from now on. In fact since Apple keeps updating Xcode and LC struggles (and sometimes fails) to keep up, a lot more of these big downloads seem inevitable. > > To put the thing in a wider context, I do think these incredibly large files are a bad thing. OK sometimes they may be unavoidable, but in the case of Xcode, which is really just a big tool box (and other comparable software), it seems perverse. Not much chance of changing Apple?s mind, I suppose. > > Personally I can still hope that my French ISP comes out of the woodwork and gives me "fibre optique" before I have to take off for quarantine in England (where i have absolutely no idea what internet speeds to expect in my quarantine hideout - what times we live in!). > > Thanks again > > Graham > PS Apologies to Richmond for the unforeseen consequences of my typo - but in mitigation, I never asked you to do the download yourself! > >> On 3 Oct 2020, at 20:27, Richmond via use-livecode wrote: >> >> Well . . . eventually after a lot of fooling around I chopped Xcode 11.5 up into 15 * 650 MB chunks: but, frankly, that >> will not solve your problem. >> >> Later postings in this thread made a lot more sense. >> >> Best, Richmond. >> >> On 3.10.20 11:11, Graham Samuel via use-livecode wrote: >>> This is a question for people having to use XCode to generate iOS apps. I find from responses on this list that I now need Xcode 15 to have a chance of generating for iOS 14. I would ask Apple this quesiton, but I doubt if I would get a meaningful answer: >>> >>> I'm working deep in the French countryside with an ADSL connection - although I have enough bandwidth to stream TV programs, really long files are hard to download. Downloading Xcode - which is reported to be an 8.12GB file - at a speed of between 300 and 750 KB/sec is a nightmare. If the download speed drops below some unspecified limit, the download stops and has to be resumed in Safari, but that's not the worst of it. If I leave the download overnight, having got say 4 out of 8 Gb loaded, when look at the download folder in the morning, it only contains 14 bytes, necessitating a complete reload! There isn't even anything in the Trash. What's that about, and is there any way I can simply accumulate the download bit by bit until it's all finished? >>> >>> If anyone has any hints, I?d be grateful. Otherwise it means spending some hours keep the download pot boiling and wrecking the rest of my day. >>> >>> Thanks >>> >>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sun Oct 4 12:53:10 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 4 Oct 2020 09:53:10 -0700 Subject: Slightly OT: downloading Xcode In-Reply-To: References: Message-ID: <71e386e3-43a1-cbe8-99b5-6d2293c34c85@sonic.net> On 10/4/20 9:35 AM, Richmond via use-livecode wrote: > And as to "download yourself", all I can say is that while I have tried > many, many daft things in my life I have > never tried to either download or upload myself . . . Heh. If I ever tried to upload myself I suppose I'd probably try to compress me first to remove the redundant redundancies. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sun Oct 4 12:59:20 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 4 Oct 2020 19:59:20 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: <71e386e3-43a1-cbe8-99b5-6d2293c34c85@sonic.net> References: <71e386e3-43a1-cbe8-99b5-6d2293c34c85@sonic.net> Message-ID: <1293f324-f5bf-3629-59f8-31d7cf6ec8cd@gmail.com> Well, Mark, at the risk of being offensive (What? Me? Surely not.), when we met at the Edinburgh conference about 10 years ago I could not help noticing that you were somewhat more compressed than me; and, since then I have developed quite a lot of redundant code, and cannot for the life of me work out how to refactor myself . . . I assure you any attempt to upload me would out-broadband broadband. :/ On 4.10.20 19:53, Mark Wieder via use-livecode wrote: > On 10/4/20 9:35 AM, Richmond via use-livecode wrote: > >> And as to "download yourself", all I can say is that while I have >> tried many, many daft things in my life I have >> never tried to either download or upload myself . . . > > Heh. > If I ever tried to upload myself I suppose I'd probably try to > compress me first to remove the redundant redundancies. > From jacque at hyperactivesw.com Sun Oct 4 13:44:45 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Oct 2020 12:44:45 -0500 Subject: Slightly OT: downloading Xcode In-Reply-To: <71e386e3-43a1-cbe8-99b5-6d2293c34c85@sonic.net> References: <71e386e3-43a1-cbe8-99b5-6d2293c34c85@sonic.net> Message-ID: <174f4b742c8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> After a certain age you're about as compressed as you get. I've lost 2 inches since I was 20. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 4, 2020 11:55:14 AM Mark Wieder via use-livecode wrote: > On 10/4/20 9:35 AM, Richmond via use-livecode wrote: > >> And as to "download yourself", all I can say is that while I have tried >> many, many daft things in my life I have >> never tried to either download or upload myself . . . > > Heh. > If I ever tried to upload myself I suppose I'd probably try to compress > me first to remove the redundant redundancies. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Oct 4 14:08:57 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 4 Oct 2020 21:08:57 +0300 Subject: Slightly OT: downloading Xcode In-Reply-To: <174f4b742c8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <71e386e3-43a1-cbe8-99b5-6d2293c34c85@sonic.net> <174f4b742c8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Dunno about that: if they use a standard coffin for me there'll have to be a bit of "topping and tailing". ;-) And, at the rate I'm going a few slices of "bacon" off the sides as well . . . On 4.10.20 20:44, J. Landman Gay via use-livecode wrote: > After a certain age you're about as compressed as you get. I've lost 2 > inches since I was 20. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 4, 2020 11:55:14 AM Mark Wieder via use-livecode > wrote: > >> On 10/4/20 9:35 AM, Richmond via use-livecode wrote: >> >>> And as to "download yourself", all I can say is that while I have tried >>> many, many daft things in my life I have >>> never tried to either download or upload myself . . . >> >> Heh. >> If I ever tried to upload myself I suppose I'd probably try to compress >> me first to remove the redundant redundancies. >> >> -- >> ?Mark Wieder >> ?ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mimu at dimu.de Sun Oct 4 16:46:57 2020 From: mimu at dimu.de (Michael Muthmannn) Date: Sun, 4 Oct 2020 22:46:57 +0200 Subject: OAuth2 on Win10: not returning to my app In-Reply-To: References: Message-ID: Hi Richard, i had a similar issue with another oauth service (not sure if microsoft based), the problem was inside the handler OAuth2Refresh, the pRefreshToken was already urlencoded. I only changed this line: put "&refresh_token=" & pRefreshToken after tParams This solved my problem. command OAuth2Refresh pTokenURL, pClientID, pClientSecret, pRefreshToken, pPort local tParams put "grant_type=refresh_token" into tParams put "&client_id=" & urlEncode(pClientID) after tParams put "&client_secret=" & urlEncode(pClientSecret) after tParams put "&refresh_token=" & pRefreshToken after tParams put "&redirect_uri=" & urlEncode(kRedirectURL & ":" & pPort & "/") after tParams local tResponse set the httpHeaders to "Accept: application/json" post tParams to pTokenURL put JSONToArray(it) into tResponse -- reset the refresh token so the user doen't accidentally lose it if tResponse["refresh_token"] is empty then put pRefreshToken into tResponse["refresh_token"] end if return tResponse for value end OAuth2Refresh > Am 29.06.2020 um 22:14 schrieb Richard Gaskin via use-livecode : > > I've been working with the Oauth2 lib included with v9 (superhandy, team, thanks!), and I've run into a snag: > > When I call it, the browser widgets opens and goes to the authentication provider (in this case Office 365), and authentication seems to work well. > > However, at that point I'd expect the browser widget's window to close and "it" would contain the approved auth scope info. > > Instead what I'm seeing is the browser widget window remains open, and it redirects into my Office 365 account. I can close the window manually with the "Cancel" button, but then "it" in my calling script contains "Cancel", no auth info. > > Have any of you successfully used LC's OAuth2 lib to log into MS Office 365 or other MS product that uses OAuth? > > If so, what did you use for the redirect URL? Or is there something else I should be considering? > > TIA - > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Mon Oct 5 04:59:06 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 5 Oct 2020 09:59:06 +0100 Subject: Getting URL to Work in specialFolderDocuments In-Reply-To: References: Message-ID: Hi I get a headache looking at concatenations like this. I don't use them unless I'm constructing a simple string. put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" It will be a cold day in hell when I don't use Merge() to construct non-simple strings. *put* "blurb1" into sStoryTitle *put* "https://dev.himalayanacademy.com/media/stories/" into tHttpsServerRoot *put* specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into tLocalDocumentsStories *if* char -1 of tHttpsServerRoot is "/" *then* *delete* char -1 of tHttpsServerRoot ## deleting "/" to make merge() template clearer *if* char -1 of tLocalDocumentsStories is "/" *then* *delete* char -1 of tLocalDocumentsStories *put* merge( "[[tHttpsServerRoot ]]/[[sStoryTitle]]/[[sStoryTitle]].livecode" ) into tSourceURL *put* merge( "binfile:[[tLocalDocumentsStories]]/[[ sStoryTitle]]/[[sStoryTitle]].livecode" ) into tDestURL put URL tSourceURL into URL tDestURL On each of the above lines one can use breakpoints to check the values of the variables and at the last line check that the URLs to use are correct. Merge() will ignore spaces within [[]] and outside of the quotes around the template string, so one can line up placeholders to check that all the template parts match visually. HTH Bernard On Fri, Oct 2, 2020 at 11:00 PM Sannyasin Brahmanathaswami via use-livecode wrote: > on dataServerStack > local tHttpsServerRoot,tLocalDocumentsStories > put "https://dev.himalayanacademy.com/media/stories/" --into > tHttpsServerRoot > put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into > tLocalDocumentsStories > put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & > ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle > & ".livecode" > end dataServerStack > > it goes badly to documents folder, > > on dataServerStack > local tHttpsServerRoot,tLocalDocumentsStories > put "https://dev.himalayanacademy.com/media/stories/" into > tHttpsServerRoot > put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into > tLocalDocumentsStories > put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & > ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle > & ".livecode" > end dataServerStack > > it goes badly to documents folder, > > ? > put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") > into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" > > Compile error line 119 (Handler: bad command) near "&", char 84 > > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Mon Oct 5 06:41:31 2020 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Oct 2020 11:41:31 +0100 Subject: Getting URL to Work in specialFolderDocuments In-Reply-To: References: Message-ID: Aloha, The last "put" command is wrong. This one: > put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" It should have been: put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into ("binfile:" & tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode") Also, there is a strange comment before the word "into" when you're setting tHttpsServerRoot. Best A On Fri, 2 Oct 2020 at 19:01, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > on dataServerStack > local tHttpsServerRoot,tLocalDocumentsStories > put "https://dev.himalayanacademy.com/media/stories/" --into > tHttpsServerRoot > put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into > tLocalDocumentsStories > put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & > ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle > & ".livecode" > end dataServerStack ? > > it goes badly to documents folder, > > ? > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From jacque at hyperactivesw.com Mon Oct 5 12:59:46 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 5 Oct 2020 11:59:46 -0500 Subject: Modal stacks cpu usage In-Reply-To: <20EC0F20-E982-43FF-AA4A-206AFA4CD653@optusnet.com.au> References: <20EC0F20-E982-43FF-AA4A-206AFA4CD653@optusnet.com.au> Message-ID: <8680fd2a-b1a0-a209-d093-64e651da75cc@hyperactivesw.com> On 10/3/20 8:36 PM, Neville Smythe via use-livecode wrote: > Jacque wrote >> If the Project Browser is open, try closing it. On my Mac, the CPU usage >> while idle is usually close to 0 when in the background. > > Interesting. I would indeed have expected a good-citizen app doing nothing in the background to use less than 1% cpu: Mail, Safari. Finder, BBEdit, Keyboard Maestro are currently all close to 0% But I never see LC using less than 4.3% with no user stacks open, no palettes, no plugins, no scripts, just the IDE. I just checked again with LC 9.6.1, because the last time I looked was with a previous version. With no open stacks of my own and only the Application Browser open, it hovers around 2%. When I closed the App Browser, it dropped to about 1.5% and then hovered in the 1.5-2.0 range. While writing this email it jumped to 3.5% momentarily, then dropped back to 2.5%. I'm still on Mojave if that matters. I'm fairly sure the IDE is sending some pending messages in the background which would account for the CPU usage. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From panos.merakos at livecode.com Mon Oct 5 13:05:46 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 5 Oct 2020 20:05:46 +0300 Subject: [ANN] This Week in LiveCode 239 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #239 here: https://bit.ly/33xvnKf This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From andreas.bergendal at gmail.com Mon Oct 5 16:10:12 2020 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Mon, 5 Oct 2020 22:10:12 +0200 Subject: Modal stacks cpu usage Message-ID: <8620C523-5BEE-4F95-8A65-3F31375DF25A@gmail.com> Indeed, when I open the Message box and click the Pending messages tab, two messages always keep running there: _EnsureAccept (seems to have to do with the remote debugger library?) _revInternal_SavePreferences Just LC 9.6.1 running, no stacks. I?m also on Mojave. J. Landman Gay via use-livecode Mon, 05 Oct 2020 10:02:14 -0700 > I'm fairly sure the IDE is sending some pending messages > in the background which would account for the CPU usage. From rdimola at evergreeninfo.net Tue Oct 6 13:34:35 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 6 Oct 2020 13:34:35 -0400 Subject: Canvas Limited to 32767 In-Reply-To: <8620C523-5BEE-4F95-8A65-3F31375DF25A@gmail.com> References: <8620C523-5BEE-4F95-8A65-3F31375DF25A@gmail.com> Message-ID: <004f01d69c06$f8a136a0$e9e3a3e0$@net> I just ran head first into this. Could someone explain why other than moving from an int16 to an int32 this is such a challenge? This should have been addressed during the refactoring of the engine. Inquiring minds want to know. Thanks for any info on this. Now I have some refactoring to do... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ambassador at fourthworld.com Tue Oct 6 14:01:25 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 6 Oct 2020 11:01:25 -0700 Subject: Canvas Limited to 32767 In-Reply-To: <004f01d69c06$f8a136a0$e9e3a3e0$@net> References: <004f01d69c06$f8a136a0$e9e3a3e0$@net> Message-ID: <7621637b-6247-e35e-8956-466e65dd6444@fourthworld.com> Ralph DiMola wrote: > I just ran head first into this. Could someone explain why other than > moving from an int16 to an int32 this is such a challenge? This should > have been addressed during the refactoring of the engine. Is this for the weird recommended mobile workaround of putting a text field into a group just to have it scroll, or something else? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Tue Oct 6 14:28:50 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 6 Oct 2020 14:28:50 -0400 Subject: Canvas Limited to 32767 In-Reply-To: <7621637b-6247-e35e-8956-466e65dd6444@fourthworld.com> References: <004f01d69c06$f8a136a0$e9e3a3e0$@net> <7621637b-6247-e35e-8956-466e65dd6444@fourthworld.com> Message-ID: <006101d69c0e$8c7ff6c0$a57fe440$@net> Desktop and mobile. It's a scrolling group with many sub-groups each with 1 or more fields. Sometimes the height of the main group > 32767. It's the result of a proximity search and in dense areas users are getting hosed by this limit. Customer is screaming (but don't they always). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Sent: Tuesday, October 06, 2020 2:01 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: Canvas Limited to 32767 Ralph DiMola wrote: > I just ran head first into this. Could someone explain why other than > moving from an int16 to an int32 this is such a challenge? This should > have been addressed during the refactoring of the engine. Is this for the weird recommended mobile workaround of putting a text field into a group just to have it scroll, or something else? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Tue Oct 6 14:38:31 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 6 Oct 2020 14:38:31 -0400 Subject: Canvas Limited to 32767 In-Reply-To: <006101d69c0e$8c7ff6c0$a57fe440$@net> References: <004f01d69c06$f8a136a0$e9e3a3e0$@net> <7621637b-6247-e35e-8956-466e65dd6444@fourthworld.com> <006101d69c0e$8c7ff6c0$a57fe440$@net> Message-ID: You would think with 32K px at 72px/inch being like 450 inches that the 32K limit would not be an issue, but I have run into it as well I have written a custom graph (like a bar graph for example sake) that is generally fine with most customer data. However, on one customer data set it started blowing up. It turns out that one of the bars was "huge" (an the order of 400k px) at the zoom level where they could see the details in the remaining bars. So, in this case the researchers wanted to "zoom" in on noise in a larger data set, causing that larger data to become huge in a graph. And yes, you can code in bounds limits and attaching labels to indicate a bar is out of bound or exceeds display area, etc., but I do agree that for a number of applications having a large drawing area would be a big improvement. On 10/6/2020 2:28 PM, Ralph DiMola via use-livecode wrote: > Desktop and mobile. It's a scrolling group with many sub-groups each with 1 > or more fields. Sometimes the height of the main group > 32767. > > It's the result of a proximity search and in dense areas users are getting > hosed by this limit. Customer is screaming (but don't they always). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Richard Gaskin via use-livecode > Sent: Tuesday, October 06, 2020 2:01 PM > To: use-livecode at lists.runrev.com > Cc: Richard Gaskin > Subject: Re: Canvas Limited to 32767 > > Ralph DiMola wrote: > > > I just ran head first into this. Could someone explain why other than > > moving from an int16 to an int32 this is such a challenge? This should > > have been addressed during the refactoring of the engine. > > Is this for the weird recommended mobile workaround of putting a text field > into a group just to have it scroll, or something else? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Oct 6 14:50:08 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 6 Oct 2020 11:50:08 -0700 Subject: Canvas Limited to 32767 In-Reply-To: <006101d69c0e$8c7ff6c0$a57fe440$@net> References: <006101d69c0e$8c7ff6c0$a57fe440$@net> Message-ID: <8a4d696f-6117-f5b4-9d82-696203e9038c@fourthworld.com> Glad it's not the funky mobile field workaround. That's such a horrible experience for developers that even the act of documenting it should have been a red flag to go back and refine the field buffering for the few cases where that put-it-in-a-group recommendation is actually needed. In your case, you have a huuuuuuge canvas, with users expected to scroll a region about 32 feet. That's a lot of scrolling. So in addition to the memory hit of buffering such a large region (32767 * 32767 * 4 + whatever other overhead comes into play with buffering), in most layouts it would be a usability impairment to ask users to keep scrolling that much. So maybe the team could switch the address from 32 to 64, but it still leave us with the question: - Would a user have that much RAM? - Would the user be able to use such a large canvas without acquiring RSI? ;) I don't know your layout, but I do know you, and you're not the type to make things hard for users, so I'm assuming there's something about this uncommonly-large scrolling that fits well with the app's requirements. But what we do know is no monitor can show it all, so the content is already effectively paged into view as-needed. Could the content paging be provided through some other UI? For example, if those controls fit into logical groupings, might different sets of them be placed into separate physical groups, perhaps accessed via tabs or a list? If it's truly necessary to have one vast plane to hold everything, could you handle paging internally while still providing the appearance of a contiguous group, similar to how the DataGrid does it? -- Richard Gaskin Fourth World Systems Ralph DiMola wrote: > Desktop and mobile. It's a scrolling group with many sub-groups each > with 1 or more fields. Sometimes the height of the main group > 32767. > > It's the result of a proximity search and in dense areas users are > getting hosed by this limit. Customer is screaming (but don't they > always). > > Ralph DiMola > IT Director -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Ralph DiMola wrote: > I just ran head first into this. Could someone explain why other than > moving from an int16 to an int32 this is such a challenge? This should > have been addressed during the refactoring of the engine. Is this for the weird recommended mobile workaround of putting a text field into a group just to have it scroll, or something else? -- Richard Gaskin Fourth World Systems From rdimola at evergreeninfo.net Tue Oct 6 15:11:23 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 6 Oct 2020 15:11:23 -0400 Subject: Canvas Limited to 32767 In-Reply-To: References: <004f01d69c06$f8a136a0$e9e3a3e0$@net> <7621637b-6247-e35e-8956-466e65dd6444@fourthworld.com> <006101d69c0e$8c7ff6c0$a57fe440$@net> Message-ID: <006801d69c14$7e34d940$7a9e8bc0$@net> Paul, I agree the it seems that 32767 would be more than enough but alas reality intrudes. On desktop you can easily get to the bottom and on mobile a few flicks will get you to the bottom. I use the same code(LC server) for the http html version and there is no problem there when the search returns an obscene number of results. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Paul Dupuis via use-livecode Sent: Tuesday, October 06, 2020 2:39 PM To: use-livecode at lists.runrev.com Cc: Paul Dupuis Subject: Re: Canvas Limited to 32767 You would think with 32K px at 72px/inch being like 450 inches that the 32K limit would not be an issue, but I have run into it as well I have written a custom graph (like a bar graph for example sake) that is generally fine with most customer data. However, on one customer data set it started blowing up. It turns out that one of the bars was "huge" (an the order of 400k px) at the zoom level where they could see the details in the remaining bars. So, in this case the researchers wanted to "zoom" in on noise in a larger data set, causing that larger data to become huge in a graph. And yes, you can code in bounds limits and attaching labels to indicate a bar is out of bound or exceeds display area, etc., but I do agree that for a number of applications having a large drawing area would be a big improvement. On 10/6/2020 2:28 PM, Ralph DiMola via use-livecode wrote: > Desktop and mobile. It's a scrolling group with many sub-groups each > with 1 or more fields. Sometimes the height of the main group > 32767. > > It's the result of a proximity search and in dense areas users are > getting hosed by this limit. Customer is screaming (but don't they always). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Richard Gaskin via use-livecode > Sent: Tuesday, October 06, 2020 2:01 PM > To: use-livecode at lists.runrev.com > Cc: Richard Gaskin > Subject: Re: Canvas Limited to 32767 > > Ralph DiMola wrote: > > > I just ran head first into this. Could someone explain why other > than > moving from an int16 to an int32 this is such a challenge? > This should > have been addressed during the refactoring of the engine. > > Is this for the weird recommended mobile workaround of putting a text > field into a group just to have it scroll, or something else? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Oct 6 15:24:53 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 6 Oct 2020 15:24:53 -0400 Subject: Canvas Limited to 32767 In-Reply-To: <8a4d696f-6117-f5b4-9d82-696203e9038c@fourthworld.com> References: <006101d69c0e$8c7ff6c0$a57fe440$@net> <8a4d696f-6117-f5b4-9d82-696203e9038c@fourthworld.com> Message-ID: <006901d69c16$60dfc6a0$229f53e0$@net> Richard, This design was done for one not to involve a lot of coding (App was free development but we get a cut of each sale and it has worked out well for us). Also there could be a reason to see the entire list but of course there are other ways to do this as not to hit the limit. As far as device memory is concerned I don't want to go to 2^31 but I am missing the cut by a couple thousand pixels. If we had 2^31 it would be up to the developer to keep the performance under control rather than apps breaking for 2 pixels over the limit. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Sent: Tuesday, October 06, 2020 2:50 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: Canvas Limited to 32767 Glad it's not the funky mobile field workaround. That's such a horrible experience for developers that even the act of documenting it should have been a red flag to go back and refine the field buffering for the few cases where that put-it-in-a-group recommendation is actually needed. In your case, you have a huuuuuuge canvas, with users expected to scroll a region about 32 feet. That's a lot of scrolling. So in addition to the memory hit of buffering such a large region (32767 * 32767 * 4 + whatever other overhead comes into play with buffering), in most layouts it would be a usability impairment to ask users to keep scrolling that much. So maybe the team could switch the address from 32 to 64, but it still leave us with the question: - Would a user have that much RAM? - Would the user be able to use such a large canvas without acquiring RSI? ;) I don't know your layout, but I do know you, and you're not the type to make things hard for users, so I'm assuming there's something about this uncommonly-large scrolling that fits well with the app's requirements. But what we do know is no monitor can show it all, so the content is already effectively paged into view as-needed. Could the content paging be provided through some other UI? For example, if those controls fit into logical groupings, might different sets of them be placed into separate physical groups, perhaps accessed via tabs or a list? If it's truly necessary to have one vast plane to hold everything, could you handle paging internally while still providing the appearance of a contiguous group, similar to how the DataGrid does it? -- Richard Gaskin Fourth World Systems Ralph DiMola wrote: > Desktop and mobile. It's a scrolling group with many sub-groups each > with 1 or more fields. Sometimes the height of the main group > 32767. > > It's the result of a proximity search and in dense areas users are > getting hosed by this limit. Customer is screaming (but don't they > always). > > Ralph DiMola > IT Director -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Ralph DiMola wrote: > I just ran head first into this. Could someone explain why other than > moving from an int16 to an int32 this is such a challenge? This should > have been addressed during the refactoring of the engine. Is this for the weird recommended mobile workaround of putting a text field into a group just to have it scroll, or something else? -- Richard Gaskin Fourth World Systems _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Oct 6 18:19:30 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 6 Oct 2020 22:19:30 +0000 Subject: backKey with DataGrid Message-ID: <61CDDBBC-C2A6-44AC-BBC8-E43180BCBAA1@clearvisiontech.com> Here's a weird one... I have a card with a number of objects on it. There is a button named "Back" which takes you back to card X. There is also a dataGrid. In the mainStack script, I have a this backKey command: on backKey //this is sent only on Android when the user presses the hardware "back" key if there is a btn "Back" of this card then send "mouseUp" to btn "Back" of this card in 1 tick end if exit to top end backKey When the card opens, and you tap the backKey (on an android device of course), it works great! Now, if I scroll the dataGrid, the backKey message fails. If I then tap any other control on the screen (not the dataGrid), then the backKey message works again. This is true even if the dataGrid has no data (ie.: set the dgData of grp "myDataGrid" to ""). I have verified that there is only 1 button named "Back" on the entire card (including the template for the dataGrid). When I say the "backKey" message fails, what really happens is the statement "if there is a btn "Back" of this card" does result as true, but the sending of the "mouseUp" message isn't sent (or perhaps it's not received). Also, if I just tap the "Back" button it does go back. Any ideas? -Dan From tore.nilsen at me.com Tue Oct 6 18:46:16 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 7 Oct 2020 00:46:16 +0200 Subject: backKey with DataGrid In-Reply-To: <61CDDBBC-C2A6-44AC-BBC8-E43180BCBAA1@clearvisiontech.com> References: <61CDDBBC-C2A6-44AC-BBC8-E43180BCBAA1@clearvisiontech.com> Message-ID: <325C9E27-6115-4E74-ABAA-8D2BADF0AB47@me.com> This is a shot in the dark but this may have to do with the fact that once the dataGrid is in focus the template stack for the dataGrid becomes the recipient of your backKey message. Have you tried to add a backKey message to the template stack, and tweaking it to reference the button of the card in the original stack? Best regards Tore Nilsen > 7. okt. 2020 kl. 00:19 skrev Dan Friedman via use-livecode : > > Here's a weird one... I have a card with a number of objects on it. There is a button named "Back" which takes you back to card X. There is also a dataGrid. In the mainStack script, I have a this backKey command: > > on backKey > //this is sent only on Android when the user presses the hardware "back" key > if there is a btn "Back" of this card then > send "mouseUp" to btn "Back" of this card in 1 tick > end if > > exit to top > end backKey > > When the card opens, and you tap the backKey (on an android device of course), it works great! Now, if I scroll the dataGrid, the backKey message fails. If I then tap any other control on the screen (not the dataGrid), then the backKey message works again. This is true even if the dataGrid has no data (ie.: set the dgData of grp "myDataGrid" to ""). > > I have verified that there is only 1 button named "Back" on the entire card (including the template for the dataGrid). > > When I say the "backKey" message fails, what really happens is the statement "if there is a btn "Back" of this card" does result as true, but the sending of the "mouseUp" message isn't sent (or perhaps it's not received). Also, if I just tap the "Back" button it does go back. > > Any ideas? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Oct 6 21:08:33 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 6 Oct 2020 18:08:33 -0700 Subject: Canvas Limited to 32767 In-Reply-To: <006901d69c16$60dfc6a0$229f53e0$@net> References: <006901d69c16$60dfc6a0$229f53e0$@net> Message-ID: <90af12b3-a7ac-54be-66e1-b038d235175c@fourthworld.com> I'm all for more freedom, but the RAM requirements make any practical use of extended coordinates a less trivial problem. Most programs handle this by paging. It may look like one contiguous region on screen, but as you're scrolling it's dumping chunks that fall out of view and rendering chunks coming into view, so the total viewable space is well within practical memory limits. The DataGrid shows one example of how to virtualize a scrollbar, using a non-scrolling group with a separate scrollbar, and some clever coding to make them work in sync. With that, you can do like other programmers do, paging in an out the parts you need when you need them. Only we get to do it in script. If done in the engine it's the same algo, which AFAIK is very different from how groups are buffered now. So "just" changing from 32k to 64k isn't as easy as putting the word "just" in front of it might make it seem. :) It would require the engine team to write a very different buffering algo, a lot of extra work for a few edge cases not handled by what's in place now. No doubt the team could do it, but I don't think it would be simple. And given the low ROI relative to other priorities, if it went into the work queue I wouldn't expect to see it for a long time. Maybe Mark Waddingham can chime in if I'm overestimating the difficulty, but I suspect scripting you own paging system with a virtualized scrollbar is something you could do yourself in a fraction of the time it would take to wait for it from the engine team. -- Richard Gaskin Fourth World Systems Ralph DiMola wrote: > Richard, > > This design was done for one not to involve a lot of coding (App was free > development but we get a cut of each sale and it has worked out well for > us). Also there could be a reason to see the entire list but of course there > are other ways to do this as not to hit the limit. As far as device memory > is concerned I don't want to go to 2^31 but I am missing the cut by a couple > thousand pixels. If we had 2^31 it would be up to the developer to keep the > performance under control rather than apps breaking for 2 pixels over the > limit. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Richard Gaskin via use-livecode > Sent: Tuesday, October 06, 2020 2:50 PM > To: use-livecode at lists.runrev.com > Cc: Richard Gaskin > Subject: Re: Canvas Limited to 32767 > > Glad it's not the funky mobile field workaround. That's such a horrible > experience for developers that even the act of documenting it should have > been a red flag to go back and refine the field buffering for the few cases > where that put-it-in-a-group recommendation is actually needed. > > In your case, you have a huuuuuuge canvas, with users expected to scroll a > region about 32 feet. That's a lot of scrolling. > > So in addition to the memory hit of buffering such a large region (32767 > * 32767 * 4 + whatever other overhead comes into play with buffering), in > most layouts it would be a usability impairment to ask users to keep > scrolling that much. > > So maybe the team could switch the address from 32 to 64, but it still leave > us with the question: > > - Would a user have that much RAM? > > - Would the user be able to use such a large canvas without acquiring > RSI? ;) > > I don't know your layout, but I do know you, and you're not the type to make > things hard for users, so I'm assuming there's something about this > uncommonly-large scrolling that fits well with the app's requirements. > > But what we do know is no monitor can show it all, so the content is already > effectively paged into view as-needed. > > Could the content paging be provided through some other UI? For example, if > those controls fit into logical groupings, might different sets of them be > placed into separate physical groups, perhaps accessed via tabs or a list? > > If it's truly necessary to have one vast plane to hold everything, could you > handle paging internally while still providing the appearance of a > contiguous group, similar to how the DataGrid does it? > > -- > Richard Gaskin > Fourth World Systems > > > > Ralph DiMola wrote: > > Desktop and mobile. It's a scrolling group with many sub-groups each > > with 1 or more fields. Sometimes the height of the main group > 32767. > > > > It's the result of a proximity search and in dense areas users are > > getting hosed by this limit. Customer is screaming (but don't they > > always). > > > > Ralph DiMola > > IT Director > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Richard Gaskin via use-livecode > > Ralph DiMola wrote: > > > I just ran head first into this. Could someone explain why other than > > moving from an int16 to an int32 this is such a challenge? This > should > have been addressed during the refactoring of the engine. > > Is this for the weird recommended mobile workaround of putting a text > field into a group just to have it scroll, or something else? > > -- > Richard Gaskin > Fourth World Systems From bvlahos at mac.com Tue Oct 6 22:59:56 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 6 Oct 2020 19:59:56 -0700 Subject: Compress/Decompress Inclustion? Message-ID: <2EA05825-FCA3-4001-A6EA-925824E4847E@mac.com> In InfoWallet I store attachments as encrypted and compressed files on disk. When I build InfoWallet in LiveCode 9.6.1 and attempt to decompress and decrypt the file, I get an error that the data is not compressed. The file is definitely compressed. I?m manually selecting inclusions. Do I need to add compress and decompress as an Inclusion? If so, which Inclusion would it be? Here is the error: Executing at 2:45:53 PM on Saturday, October 3, 2020 Type: decompress: string is not compressed data Object: button 'ViewA' of card 'Records' of stack 'Bill Vlahos.ifw' Line: put decompress(vFile) into vFile Line Num: 16 Hint: mouseUp Thanks, Bill Vlahos From matthias_livecode_150811 at m-r-d.de Wed Oct 7 07:22:13 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 7 Oct 2020 13:22:13 +0200 Subject: Compress/Decompress Inclustion? In-Reply-To: <2EA05825-FCA3-4001-A6EA-925824E4847E@mac.com> References: <2EA05825-FCA3-4001-A6EA-925824E4847E@mac.com> Message-ID: <9E93D05F-E608-4B7B-93CD-5BA951B67A9B@m-r-d.de> The last sentence in the dictionary for decompress/compress says 'The (de)compress function <> uses the zlib compression library.' So i would say adding 'Revolution Zip" under inclusions should solve your problem. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 07.10.2020 um 04:59 schrieb Bill Vlahos via use-livecode : > > In InfoWallet I store attachments as encrypted and compressed files on disk. > > When I build InfoWallet in LiveCode 9.6.1 and attempt to decompress and decrypt the file, I get an error that the data is not compressed. The file is definitely compressed. > > I?m manually selecting inclusions. Do I need to add compress and decompress as an Inclusion? If so, which Inclusion would it be? > > Here is the error: > Executing at 2:45:53 PM on Saturday, October 3, 2020 > Type: decompress: string is not compressed data > Object: button 'ViewA' of card 'Records' of stack 'Bill Vlahos.ifw' > Line: put decompress(vFile) into vFile > Line Num: 16 > Hint: mouseUp > > > Thanks, > Bill Vlahos > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Oct 7 10:03:21 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 7 Oct 2020 16:03:21 +0200 Subject: formattedwidth/height does not work with some fonts Message-ID: <6CB86C0E-6427-4473-946D-81891770CDBE@major-k.de> Hi all, looks like formattedheight/formattedwidth does not work with some fonts!? See screenshot, I even added a little generous offset to make sure the text does not get cut off, but e.g. "Damascus Light" (and others) do not respect formattedXXX? Any hints and workarounds very welcome! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From paul at researchware.com Wed Oct 7 10:12:52 2020 From: paul at researchware.com (Paul Dupuis) Date: Wed, 7 Oct 2020 10:12:52 -0400 Subject: formattedwidth/height does not work with some fonts In-Reply-To: <6CB86C0E-6427-4473-946D-81891770CDBE@major-k.de> References: <6CB86C0E-6427-4473-946D-81891770CDBE@major-k.de> Message-ID: <24c81ac1-0a80-6897-e363-969041ce2773@researchware.com> It is different symptoms from this bug (https://quality.livecode.com/show_bug.cgi?id=22882) but it could be related in the code? I recommend filing a bug report and I will be happy to add a note connecting the two bugs. The more issues found surrounding "the formattedWhatever" functions, the more likely we may see action at fixing them sooner rather than later. On 10/7/2020 10:03 AM, Klaus major-k via use-livecode wrote: > Hi all, > > looks like formattedheight/formattedwidth does not work with some fonts!? > > See screenshot, I even added a little generous offset to make sure the text does not > get cut off, but e.g. "Damascus Light" (and others) do not respect formattedXXX? > > > Any hints and workarounds very welcome! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Oct 7 10:22:28 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 7 Oct 2020 16:22:28 +0200 Subject: formattedwidth/height does not work with some fonts In-Reply-To: <24c81ac1-0a80-6897-e363-969041ce2773@researchware.com> References: <6CB86C0E-6427-4473-946D-81891770CDBE@major-k.de> <24c81ac1-0a80-6897-e363-969041ce2773@researchware.com> Message-ID: <6A979ADB-6D30-4E6D-A6DC-D167E0582E0C@major-k.de> Hi Paul, > Am 07.10.2020 um 16:12 schrieb Paul Dupuis via use-livecode : > > It is different symptoms from this bug (https://quality.livecode.com/show_bug.cgi?id=22882) but it could be related in the code? > > I recommend filing a bug report and I will be happy to add a note connecting the two bugs. The more issues found surrounding "the formattedWhatever" functions, the more likely we may see action at fixing them sooner rather than later. I added a comment and my screenshot! > On 10/7/2020 10:03 AM, Klaus major-k via use-livecode wrote: >> Hi all, >> >> looks like formattedheight/formattedwidth does not work with some fonts!? >> >> See screenshot, I even added a little generous offset to make sure the text does not >> get cut off, but e.g. "Damascus Light" (and others) do not respect formattedXXX? >> >> >> Any hints and workarounds very welcome! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Wed Oct 7 10:55:03 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 07 Oct 2020 09:55:03 -0500 Subject: formattedwidth/height does not work with some fonts In-Reply-To: <6CB86C0E-6427-4473-946D-81891770CDBE@major-k.de> References: <6CB86C0E-6427-4473-946D-81891770CDBE@major-k.de> Message-ID: <175038ef958.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I see this when the margins are too small to accommodate the ascenders of the font. What happens if you set the margins larger? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 7, 2020 9:05:25 AM Klaus major-k via use-livecode wrote: > Hi all, > > looks like formattedheight/formattedwidth does not work with some fonts!? > > See screenshot, I even added a little generous offset to make sure the text > does not > get cut off, but e.g. "Damascus Light" (and others) do not respect > formattedXXX? > > > Any hints and workarounds very welcome! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Oct 7 10:57:46 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Oct 2020 14:57:46 +0000 Subject: Canvas Limited to 32767 In-Reply-To: <90af12b3-a7ac-54be-66e1-b038d235175c@fourthworld.com> References: <006901d69c16$60dfc6a0$229f53e0$@net> <90af12b3-a7ac-54be-66e1-b038d235175c@fourthworld.com> Message-ID: We can just send a man to mars. Same deal. :-) Bob S On Oct 6, 2020, at 6:08 PM, Richard Gaskin via use-livecode > wrote: So "just" changing from 32k to 64k isn't as easy as putting the word "just" in front of it might make it seem. :) From jacque at hyperactivesw.com Wed Oct 7 11:17:51 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 07 Oct 2020 10:17:51 -0500 Subject: Compress/Decompress Inclustion? In-Reply-To: <2EA05825-FCA3-4001-A6EA-925824E4847E@mac.com> References: <2EA05825-FCA3-4001-A6EA-925824E4847E@mac.com> Message-ID: <17503a3d918.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Compression is part of the engine so you shouldn't need an inclusion. I've seen this error before and usually it's because the string has been altered in some way or wasn't compressed with LC or a compatible app. Do you use binfile when retrieving the file from disk? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 6, 2020 10:02:00 PM Bill Vlahos via use-livecode wrote: > In InfoWallet I store attachments as encrypted and compressed files on disk. > > When I build InfoWallet in LiveCode 9.6.1 and attempt to decompress and > decrypt the file, I get an error that the data is not compressed. The file > is definitely compressed. > > I?m manually selecting inclusions. Do I need to add compress and decompress > as an Inclusion? If so, which Inclusion would it be? > > Here is the error: > Executing at 2:45:53 PM on Saturday, October 3, 2020 > Type: decompress: string is not compressed data > Object: button 'ViewA' of card 'Records' of stack 'Bill Vlahos.ifw' > Line: put decompress(vFile) into vFile > Line Num: 16 > Hint: mouseUp > > > Thanks, > Bill Vlahos > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Oct 7 11:28:01 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 7 Oct 2020 17:28:01 +0200 Subject: formattedwidth/height does not work with some fonts In-Reply-To: <175038ef958.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6CB86C0E-6427-4473-946D-81891770CDBE@major-k.de> <175038ef958.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jaqueline, > Am 07.10.2020 um 16:55 schrieb J. Landman Gay via use-livecode : > > I see this when the margins are too small to accommodate the ascenders of the font. > What happens if you set the margins larger? thanks for the hint, setting a quite high margin is what we use as a workaround currently. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 7, 2020 9:05:25 AM Klaus major-k via use-livecode wrote: > >> Hi all, >> >> looks like formattedheight/formattedwidth does not work with some fonts!? >> >> See screenshot, I even added a little generous offset to make sure the text does not >> get cut off, but e.g. "Damascus Light" (and others) do not respect formattedXXX? >> >> >> Any hints and workarounds very welcome! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From livfoss at mac.com Wed Oct 7 11:36:12 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 7 Oct 2020 17:36:12 +0200 Subject: Has anyone published an iPhone app that works on iOS 14? In-Reply-To: <2E545E64-F299-46BA-8E62-B1E1AB443E47@livecode.org> References: <0D01CF1C-2403-4A97-949B-54A06360A879@mac.com> <2E545E64-F299-46BA-8E62-B1E1AB443E47@livecode.org> Message-ID: <8D343C52-80EC-4A1D-BD88-851D2D52AEE3@mac.com> Sorry to return to this topic, but I just tried to do what Paul did, and I failed: this is because the Simulator on my copy of XCode 11.5 wouldn?t allow me to simulate the device I actually have, an iPhone XS. This model can use iOS 14, let alone 13.5, which as far as this version of XCode goes AFAIK. Can anyone tell me how to get a list of all the viable iPhones for this iOS level on the 11.5 simulator? Obviously I have done something daft. Graham > On 28 Sep 2020, at 20:13, Paul Hibbert via use-livecode wrote: > > I?ve just recently upgraded my iPhone and so ended up using iOS14, initially some apps that I had previously installed on my older iPhone would?t install on the new phone, most of them are quite old, so I rebuilt them using LC9.6.0 and Xcode 11.4. The first time I launched them they all worked fine on first launch, but none of them would launch for a second time, however, when I rebuilt them again using LC9.6.1 and Xcode 11.5 they all work fine. > > These are all apps that I have built for my own use and are not published through the app store. > > Paul > >> On 28Sep, 2020, at 01:44, Graham Samuel via use-livecode wrote: >> >> Sorry if this has been asked before, but a quick search of the list didn?t reveal anything, and I have only been semi-lurking lately. >> >> The subject says it all. At this point I don?t know if I can create an app in LC that runs reliably with iOS 14. I know there have been high volume grumbles from some non-LC developers that they weren?t ready when Apple started the rollout of 14 earlier than expected, but I don?t know the substance of the complaints. >> >> Anyone just sailing along with no problems? I ask because I?m about to revive an earlier app project and don?t want to crash and burn the moment I restart. >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Wed Oct 7 16:43:38 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 7 Oct 2020 22:43:38 +0200 Subject: Has anyone published an iPhone app that works on iOS 14? In-Reply-To: <8D343C52-80EC-4A1D-BD88-851D2D52AEE3@mac.com> References: <0D01CF1C-2403-4A97-949B-54A06360A879@mac.com> <2E545E64-F299-46BA-8E62-B1E1AB443E47@livecode.org> <8D343C52-80EC-4A1D-BD88-851D2D52AEE3@mac.com> Message-ID: Answered my own question, or rather there is an answer in the Xcode documentation under "Create a simulator configuration?. Turns out a whole lot of other devices are hiding there, certainly including the iPhone XS. Sorry I disturbed the list. Graham > On 7 Oct 2020, at 17:36, Graham Samuel via use-livecode wrote: > > Sorry to return to this topic, but I just tried to do what Paul did, and I failed: this is because the Simulator on my copy of XCode 11.5 wouldn?t allow me to simulate the device I actually have, an iPhone XS. This model can use iOS 14, let alone 13.5, which as far as this version of XCode goes AFAIK. > > Can anyone tell me how to get a list of all the viable iPhones for this iOS level on the 11.5 simulator? Obviously I have done something daft. > > Graham > >> On 28 Sep 2020, at 20:13, Paul Hibbert via use-livecode wrote: >> >> I?ve just recently upgraded my iPhone and so ended up using iOS14, initially some apps that I had previously installed on my older iPhone would?t install on the new phone, most of them are quite old, so I rebuilt them using LC9.6.0 and Xcode 11.4. The first time I launched them they all worked fine on first launch, but none of them would launch for a second time, however, when I rebuilt them again using LC9.6.1 and Xcode 11.5 they all work fine. >> >> These are all apps that I have built for my own use and are not published through the app store. >> >> Paul >> >>> On 28Sep, 2020, at 01:44, Graham Samuel via use-livecode wrote: >>> >>> Sorry if this has been asked before, but a quick search of the list didn?t reveal anything, and I have only been semi-lurking lately. >>> >>> The subject says it all. At this point I don?t know if I can create an app in LC that runs reliably with iOS 14. I know there have been high volume grumbles from some non-LC developers that they weren?t ready when Apple started the rollout of 14 earlier than expected, but I don?t know the substance of the complaints. >>> >>> Anyone just sailing along with no problems? I ask because I?m about to revive an earlier app project and don?t want to crash and burn the moment I restart. >>> >>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Oct 8 08:45:35 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 8 Oct 2020 14:45:35 +0200 Subject: Select text question Message-ID: I want a user to key a number in a field in an iOS app. Normally the field will already contain data which the user will be replacing, so I coded this on openField set the keyboardType of me to "numeric" select text of me end openField What happens is that the selection can be seen taking place briefly (this is in the Simulator) and then reverts to a flashing cursor with the original data still in the field and no selection shown. (The numeric keyboard does open BTW, but I can?t see that as relevant). What did I do wrong? Graham From craig at starfirelighting.com Thu Oct 8 09:30:08 2020 From: craig at starfirelighting.com (craig at starfirelighting.com) Date: Thu, 8 Oct 2020 09:30:08 -0400 (EDT) Subject: Select text question In-Reply-To: References: Message-ID: <1602163808.270432558@webmail.emailsrvr.com> Not sure about mobile, but does this help? on openFieldset the keyboardType of me to "numeric" put "" into meselect text of meend openField Craig -----Original Message----- From: "Graham Samuel via use-livecode" Sent: Thursday, October 8, 2020 8:45am To: "How to use LiveCode" Cc: "Graham Samuel" Subject: Select text question I want a user to key a number in a field in an iOS app. Normally the field will already contain data which the user will be replacing, so I coded this on openField set the keyboardType of me to "numeric" select text of me end openField What happens is that the selection can be seen taking place briefly (this is in the Simulator) and then reverts to a flashing cursor with the original data still in the field and no selection shown. (The numeric keyboard does open BTW, but I can?t see that as relevant). What did I do wrong? Graham _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Oct 8 11:36:27 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 8 Oct 2020 17:36:27 +0200 Subject: Select text question In-Reply-To: <1602163808.270432558@webmail.emailsrvr.com> References: <1602163808.270432558@webmail.emailsrvr.com> Message-ID: <19BAFACE-F3E6-49B2-8DBA-713D132C7172@mac.com> Thanks Craig. Somehow the return characters didn?t arrive in my email, but of course I understand what you mean. But this would simply empty the field, wouldn?t it, whereas I want the user to see the text that was there before, selected. I thought that was what the ?select? command for text was for. Graham > On 8 Oct 2020, at 15:30, craig--- via use-livecode wrote: > > > Not sure about mobile, but does this help? > > on openFieldset the keyboardType of me to "numeric" > put "" into meselect text of meend openField > > Craig > > > -----Original Message----- > From: "Graham Samuel via use-livecode" > Sent: Thursday, October 8, 2020 8:45am > To: "How to use LiveCode" > Cc: "Graham Samuel" > Subject: Select text question > > > > I want a user to key a number in a field in an iOS app. Normally the field will already contain data which the user will be replacing, so I coded this > > on openField > set the keyboardType of me to "numeric" > select text of me > end openField > > What happens is that the selection can be seen taking place briefly (this is in the Simulator) and then reverts to a flashing cursor with the original data still in the field and no selection shown. (The numeric keyboard does open BTW, but I can?t see that as relevant). > > What did I do wrong? > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Thu Oct 8 12:00:04 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 8 Oct 2020 09:00:04 -0700 Subject: Modal stacks cpu usage In-Reply-To: <548CE782-2654-45C3-B3A9-CAAEED99837D@optusnet.com.au> References: <548CE782-2654-45C3-B3A9-CAAEED99837D@optusnet.com.au> Message-ID: <88283bc0-334d-2822-eba7-4f63ec7a57bd@sonic.net> On 10/2/20 5:08 PM, Neville Smythe via use-livecode wrote: > Looks like Elanor beat me to it Bug?22929 Ian fixed the problem. It's currently awaiting a merge into the next release. -- Mark Wieder ahsoftware at gmail.com From livfoss at mac.com Thu Oct 8 12:03:10 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 8 Oct 2020 18:03:10 +0200 Subject: Xcode, iOS 14 and Livecode Message-ID: <98F80419-578F-425E-AB82-FD5271901B8E@mac.com> I?ve come back to an iOS app that I left for a time, before the advent of iOS 14. My beta version works very nicely in the Simulator available in Xcode 11.5, which I understand is the one LC9.6.1 expects one to have. I?m simulating an iPhone XS, largely because I?ve got one of thos,e so it makes a good testbed. The problem comes when I want to upload my beta to my real phone, which is running iOS 14.0.1. Xcode wants me to update, presumably to the latest version. What are my options, e.g. 1. Stop work 2. Carry on developing using the simulator and hope for better times. 3. Download another version of Xcode but keep the old one for LC development. Of course I?ve looked for an answer from the mother ship, but although there is a very interesting mail from Panos on the subject of different versions of XCode and the way the work with LC, repeated in a Forum post in March, it doesn?t cover the case I have now, AFAIKS. I just don?t know how to get my app into my own phone - publishing the app in the Store will of course come later. What are other folks doing? Graham From craig at starfirelighting.com Thu Oct 8 12:24:35 2020 From: craig at starfirelighting.com (craig at starfirelighting.com) Date: Thu, 8 Oct 2020 12:24:35 -0400 (EDT) Subject: Select text question In-Reply-To: <19BAFACE-F3E6-49B2-8DBA-713D132C7172@mac.com> References: <1602163808.270432558@webmail.emailsrvr.com> <19BAFACE-F3E6-49B2-8DBA-713D132C7172@mac.com> Message-ID: <1602174275.385722667@webmail.emailsrvr.com> Graham. Ah, I see now. This is not an issue at all in ordinary LC, as you certainly know. What happens if you select the text twice in a row? Craig -----Original Message----- From: "Graham Samuel via use-livecode" Sent: Thursday, October 8, 2020 11:36am To: "How to use LiveCode" Cc: "Graham Samuel" Subject: Re: Select text question Thanks Craig. Somehow the return characters didn?t arrive in my email, but of course I understand what you mean. But this would simply empty the field, wouldn?t it, whereas I want the user to see the text that was there before, selected. I thought that was what the ?select? command for text was for. Graham > On 8 Oct 2020, at 15:30, craig--- via use-livecode wrote: > > > Not sure about mobile, but does this help? > > on openFieldset the keyboardType of me to "numeric" > put "" into meselect text of meend openField > > Craig > > > -----Original Message----- > From: "Graham Samuel via use-livecode" > Sent: Thursday, October 8, 2020 8:45am > To: "How to use LiveCode" > Cc: "Graham Samuel" > Subject: Select text question > > > > I want a user to key a number in a field in an iOS app. Normally the field will already contain data which the user will be replacing, so I coded this > > on openField > set the keyboardType of me to "numeric" > select text of me > end openField > > What happens is that the selection can be seen taking place briefly (this is in the Simulator) and then reverts to a flashing cursor with the original data still in the field and no selection shown. (The numeric keyboard does open BTW, but I can?t see that as relevant). > > What did I do wrong? > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Oct 8 12:58:33 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Oct 2020 11:58:33 -0500 Subject: Select text question In-Reply-To: References: Message-ID: <175092666a8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Untested, but try this: on keyboardActivated select text of fld end keyboardActivated If you get a selection flash when it sets twice, remove the command from the openField handler. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 8, 2020 7:47:46 AM Graham Samuel via use-livecode wrote: > I want a user to key a number in a field in an iOS app. Normally the field > will already contain data which the user will be replacing, so I coded this > > on openField > set the keyboardType of me to "numeric" > select text of me > end openField > > What happens is that the selection can be seen taking place briefly (this > is in the Simulator) and then reverts to a flashing cursor with the > original data still in the field and no selection shown. (The numeric > keyboard does open BTW, but I can?t see that as relevant). > > What did I do wrong? > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Oct 8 13:44:55 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 8 Oct 2020 13:44:55 -0400 Subject: Xcode, iOS 14 and Livecode In-Reply-To: <98F80419-578F-425E-AB82-FD5271901B8E@mac.com> References: <98F80419-578F-425E-AB82-FD5271901B8E@mac.com> Message-ID: <003601d69d9a$bebe5f40$3c3b1dc0$@net> Graham, If you referring to the message in the "Devices and Simulator" window can ignore it. Just drag you .app in to window and it will work just fine. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Graham Samuel via use-livecode Sent: Thursday, October 08, 2020 12:03 PM To: How to use LiveCode Cc: Graham Samuel Subject: Xcode, iOS 14 and Livecode I?ve come back to an iOS app that I left for a time, before the advent of iOS 14. My beta version works very nicely in the Simulator available in Xcode 11.5, which I understand is the one LC9.6.1 expects one to have. I?m simulating an iPhone XS, largely because I?ve got one of thos,e so it makes a good testbed. The problem comes when I want to upload my beta to my real phone, which is running iOS 14.0.1. Xcode wants me to update, presumably to the latest version. What are my options, e.g. 1. Stop work 2. Carry on developing using the simulator and hope for better times. 3. Download another version of Xcode but keep the old one for LC development. Of course I?ve looked for an answer from the mother ship, but although there is a very interesting mail from Panos on the subject of different versions of XCode and the way the work with LC, repeated in a Forum post in March, it doesn?t cover the case I have now, AFAIKS. I just don?t know how to get my app into my own phone - publishing the app in the Store will of course come later. What are other folks doing? Graham _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Oct 8 14:08:58 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 8 Oct 2020 20:08:58 +0200 Subject: Xcode, iOS 14 and Livecode In-Reply-To: <003601d69d9a$bebe5f40$3c3b1dc0$@net> References: <98F80419-578F-425E-AB82-FD5271901B8E@mac.com> <003601d69d9a$bebe5f40$3c3b1dc0$@net> Message-ID: Ralph, thanks - it worked! I was taking the error messages too seriously. They say ?the current device configuration is unsupported. This phone is running iOS 14.0.1? ?. Enough to stop me in my tracks. Thanks so much for that. Graham > On 8 Oct 2020, at 19:44, Ralph DiMola via use-livecode wrote: > > Graham, > > If you referring to the message in the "Devices and Simulator" window can ignore it. Just drag you .app in to window and it will work just fine. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Graham Samuel via use-livecode > Sent: Thursday, October 08, 2020 12:03 PM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Xcode, iOS 14 and Livecode > > I?ve come back to an iOS app that I left for a time, before the advent of iOS 14. My beta version works very nicely in the Simulator available in Xcode 11.5, which I understand is the one LC9.6.1 expects one to have. I?m simulating an iPhone XS, largely because I?ve got one of thos,e so it makes a good testbed. > > The problem comes when I want to upload my beta to my real phone, which is running iOS 14.0.1. Xcode wants me to update, presumably to the latest version. > > What are my options, e.g. > > 1. Stop work > > 2. Carry on developing using the simulator and hope for better times. > > 3. Download another version of Xcode but keep the old one for LC development. > > Of course I?ve looked for an answer from the mother ship, but although there is a very interesting mail from Panos on the subject of different versions of XCode and the way the work with LC, repeated in a Forum post in March, it doesn?t cover the case I have now, AFAIKS. I just don?t know how to get my app into my own phone - publishing the app in the Store will of course come later. > > What are other folks doing? > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Oct 8 15:21:44 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 8 Oct 2020 15:21:44 -0400 Subject: Xcode, iOS 14 and Livecode In-Reply-To: References: <98F80419-578F-425E-AB82-FD5271901B8E@mac.com> <003601d69d9a$bebe5f40$3c3b1dc0$@net> Message-ID: <004b01d69da8$455f7a40$d01e6ec0$@net> You can have more than one version of Xcode on your system. You can install a more recent version as not to get that error message and still build against a previous version. When I say "install" I mean download from the Apple dev site. I don?t even have an xcode version in the Applications folder. I keep all versions in a separate folder renamed to their version. You just have to make sure LC build's against the one it expects. Using these commands in the a terminal window: To see what your building against==> xcode-select --print-path To change the build path==> sudo xcode-select -switch "/path/to/xcode_xx.xx.app" where xx.xx is the renamed xcode.app to include version. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Graham Samuel via use-livecode Sent: Thursday, October 08, 2020 2:09 PM To: How to use LiveCode Cc: Graham Samuel Subject: Re: Xcode, iOS 14 and Livecode Ralph, thanks - it worked! I was taking the error messages too seriously. They say ?the current device configuration is unsupported. This phone is running iOS 14.0.1? ?. Enough to stop me in my tracks. Thanks so much for that. Graham > On 8 Oct 2020, at 19:44, Ralph DiMola via use-livecode wrote: > > Graham, > > If you referring to the message in the "Devices and Simulator" window can ignore it. Just drag you .app in to window and it will work just fine. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Graham Samuel via use-livecode > Sent: Thursday, October 08, 2020 12:03 PM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Xcode, iOS 14 and Livecode > > I?ve come back to an iOS app that I left for a time, before the advent of iOS 14. My beta version works very nicely in the Simulator available in Xcode 11.5, which I understand is the one LC9.6.1 expects one to have. I?m simulating an iPhone XS, largely because I?ve got one of thos,e so it makes a good testbed. > > The problem comes when I want to upload my beta to my real phone, which is running iOS 14.0.1. Xcode wants me to update, presumably to the latest version. > > What are my options, e.g. > > 1. Stop work > > 2. Carry on developing using the simulator and hope for better times. > > 3. Download another version of Xcode but keep the old one for LC development. > > Of course I?ve looked for an answer from the mother ship, but although there is a very interesting mail from Panos on the subject of different versions of XCode and the way the work with LC, repeated in a Forum post in March, it doesn?t cover the case I have now, AFAIKS. I just don?t know how to get my app into my own phone - publishing the app in the Store will of course come later. > > What are other folks doing? > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Oct 8 15:29:00 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 8 Oct 2020 21:29:00 +0200 Subject: Select text question In-Reply-To: <175092666a8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <175092666a8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Jacque, that?s perfect. Where would I be without the knowledge and kindness displayed daily on this list! Graham > On 8 Oct 2020, at 18:58, J. Landman Gay via use-livecode wrote: > > Untested, but try this: > > on keyboardActivated > select text of fld > end keyboardActivated > > If you get a selection flash when it sets twice, remove the command from the openField handler. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 8, 2020 7:47:46 AM Graham Samuel via use-livecode wrote: > >> I want a user to key a number in a field in an iOS app. Normally the field will already contain data which the user will be replacing, so I coded this >> >> on openField >> set the keyboardType of me to "numeric" >> select text of me >> end openField >> >> What happens is that the selection can be seen taking place briefly (this is in the Simulator) and then reverts to a flashing cursor with the original data still in the field and no selection shown. (The numeric keyboard does open BTW, but I can?t see that as relevant). >> >> What did I do wrong? >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Thu Oct 8 20:15:29 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 8 Oct 2020 17:15:29 -0700 Subject: Big Sur hangs when printing Message-ID: <2B691E8B-0119-4DA0-B4D3-9865C8F89120@gmail.com> I just installed the latest beta of Big Sur and if you attempt to print from LC (either in the IDE or a Mac standalone) it will hang, requiring a force quit. It was working OK in the previous beta. I?ve had several customers report the same issue. This is making me really nervous as I would guess the Big Sure release is going to be here very soon. I have a mission critical app with printing as an absolute necessity. Try it for yourself - create a stack in the LC IDE and then try to print the card. The print dialog never appears and it will hang. I was able to successfully print from a couple of Apple apps with no problem. I have filed bug #22930 and attached a few system logs but have not heard anything back. I don?t know enough about error logs to know if the issue is with LC or the OS beta. Marty From martyknappster at gmail.com Thu Oct 8 20:31:12 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 8 Oct 2020 17:31:12 -0700 Subject: Big Sur bugs Message-ID: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> In my testing of LC apps running under Big Sur I have run into the following bugs running LC 9.6.1: 1) Tabbed buttons: The background of the highlighted tab is now white by default. Since LC renders the text for the highlighted button as white, it is not readable until you switch to another tab. Work-around - set the backgroundColor of the button to black. Bug report 22879 2) Window Shape: Setting the windowShape of a stack to an imported image no longer works. It will show the rectangle of the stack. Bug report 22880 3) SystemVersion: Big Sur is designated by Apple as version 11 but LC will report it as 10.16. Easy enough to code around until it?s fixed. Bug report 22887 4) Printing: LC hangs as I mentioned in a previous post. Bug report 22930 From david.bovill at gmail.com Fri Oct 9 09:00:46 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 9 Oct 2020 14:00:46 +0100 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> Message-ID: <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> Windows intermittently jump to a location on the screen when I move windows. It?s got too annoying to ignore. ? Is anyone else having this problem? I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this without any of my own code such just was IDE stacks. This I ?think? is quite a long standing bug that I suspect is related to the global coordinate system as I have been working around this for quite a while now. Detail The location of the jump seems to be the same horizontal x location. But with the vertical value being reset to the halfway point. I am testing by. Simply moving the message box. It is intermittent - so occurring about once every 5 moves, and strangely is happening only when the top left of the stack window is within the top left quadrant of the screen. Using. The following code int eh message box I find the top of the message box stack is always 492 after a jump (see below). This appears to be related to half the screen less the decorations like menu? put?the screenrect?&?CR?&?the?rect?of stack? Message box" 0,0,1680,1050 215,492,634,640 As a further indication that the problem is due to the IDE, I find that creating a test stack (no scripts or controls) exhibits the same behaviour - but this behaviour can be suppressed by choosing ?Suppress Messages? from the ?Development? menu. This suppression has no effect on the message box or other IDE windows which still jump intermittently. The problem is most intense when working with multiple screens. For at least a couple of years stacks I create and place on second or third monitors receive mouse clicks in the wrong location. This happens on different machines, and different. Monitor setups. Only tested on Macs. I am currently creating a multiscreen app - so taking the tracking down. Of this bug more seriously. The current tests are one on my laptop without external monitors, and having restarted the computer (several times). Applications other than Livecode don?t suffer this problem. How should I report this bug - should I submit a video / screen recording? From david.bovill at gmail.com Fri Oct 9 09:35:34 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 9 Oct 2020 14:35:34 +0100 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> Message-ID: <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> Also tested on Livecode 8.1.5 with same results. On 9 Oct 2020, 14:00 +0100, David Bovill , wrote: > > Windows intermittently jump to a location on the screen when I move windows. It?s got too annoying to ignore. > > ? Is anyone else having this problem? > > I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this without any of my own code such just was IDE stacks. This I ?think? is quite a long standing bug that I suspect is related to the global coordinate system as I have been working around this for quite a while now. > > > Detail > The location of the jump seems to be the same horizontal x location. But with the vertical value being reset to the halfway point. > > I am testing by. Simply moving the message box. It is intermittent - so occurring about once every 5 moves, and strangely is happening only when the top left of the stack window is within the top left quadrant of the screen. Using. The following code int eh message box I find the top of the message box stack is always 492 after a jump (see below). This appears to be related to half the screen less the decorations like menu? > put?the screenrect?&?CR?&?the?rect?of stack? Message box" > > 0,0,1680,1050 > 215,492,634,640 > > As a further indication that the problem is due to the IDE, I find that creating a test stack (no scripts or controls) exhibits the same behaviour - but this behaviour can be suppressed by choosing ?Suppress Messages? from the ?Development? menu. This suppression has no effect on the message box or other IDE windows which still jump intermittently. > > The problem is most intense when working with multiple screens. For at least a couple of years stacks I create and place on second or third monitors receive mouse clicks in the wrong location. This happens on different machines, and different. Monitor setups. Only tested on Macs. > > I am currently creating a multiscreen app - so taking the tracking down. Of this bug more seriously. The current tests are one on my laptop without external monitors, and having restarted the computer (several times). Applications other than Livecode don?t suffer this problem. > > How should I report this bug - should I submit a video / screen recording? > From david.bovill at gmail.com Fri Oct 9 09:48:32 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 9 Oct 2020 14:48:32 +0100 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> Message-ID: <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> I?m getting pretty curious about this bug :) Testing??mouse clicks- and not stacks jumping position when moving their location - I find that a stack that is successfully moved between the four quadrants of the screen - accepts mouse clicks accurately in the bottom-left, top-right and bottom right quadrants - but in the top-eft quadrant the mouse-click interactions are offset vertically in a way that is compatible with the stack jump. So if you manage to locate the. Stack without it jumping - in the top-left quadrant the mouse clicks are off. Monitor settings are set for default value of the MacBook Pro display. I think I?ll make a short video of this behaviour. On 9 Oct 2020, 14:35 +0100, David Bovill , wrote: > Also tested on Livecode 8.1.5 with same results. > On 9 Oct 2020, 14:00 +0100, David Bovill , wrote: > > > > Windows intermittently jump to a location on the screen when I move windows. It?s got too annoying to ignore. > > > > ? Is anyone else having this problem? > > > > I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this without any of my own code such just was IDE stacks. This I ?think? is quite a long standing bug that I suspect is related to the global coordinate system as I have been working around this for quite a while now. > > > > > > Detail > > The location of the jump seems to be the same horizontal x location. But with the vertical value being reset to the halfway point. > > > > I am testing by. Simply moving the message box. It is intermittent - so occurring about once every 5 moves, and strangely is happening only when the top left of the stack window is within the top left quadrant of the screen. Using. The following code int eh message box I find the top of the message box stack is always 492 after a jump (see below). This appears to be related to half the screen less the decorations like menu? > > put?the screenrect?&?CR?&?the?rect?of stack? Message box" > > > > 0,0,1680,1050 > > 215,492,634,640 > > > > As a further indication that the problem is due to the IDE, I find that creating a test stack (no scripts or controls) exhibits the same behaviour - but this behaviour can be suppressed by choosing ?Suppress Messages? from the ?Development? menu. This suppression has no effect on the message box or other IDE windows which still jump intermittently. > > > > The problem is most intense when working with multiple screens. For at least a couple of years stacks I create and place on second or third monitors receive mouse clicks in the wrong location. This happens on different machines, and different. Monitor setups. Only tested on Macs. > > > > I am currently creating a multiscreen app - so taking the tracking down. Of this bug more seriously. The current tests are one on my laptop without external monitors, and having restarted the computer (several times). Applications other than Livecode don?t suffer this problem. > > > > How should I report this bug - should I submit a video / screen recording? > > From david.bovill at gmail.com Fri Oct 9 10:18:50 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 9 Oct 2020 15:18:50 +0100 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> Message-ID: Here is a video describing the bug - or at least I am assuming it is a bug. Very curious to see if anyone else is experiencing this issue: ? https://vimeo.com/466580164 On 9 Oct 2020, 14:48 +0100, David Bovill , wrote: > I?m getting pretty curious about this bug :) > > Testing??mouse clicks- and not stacks jumping position when moving their location - I find that a stack that is successfully moved between the four quadrants of the screen - accepts mouse clicks accurately in the bottom-left, top-right and bottom right quadrants - but in the top-eft quadrant the mouse-click interactions are offset vertically in a way that is compatible with the stack jump. So if you manage to locate the. Stack without it jumping - in the top-left quadrant the mouse clicks are off. > > Monitor settings are set for default value of the MacBook Pro display. I think I?ll make a short video of this behaviour. > On 9 Oct 2020, 14:35 +0100, David Bovill , wrote: > > Also tested on Livecode 8.1.5 with same results. > > On 9 Oct 2020, 14:00 +0100, David Bovill , wrote: > > > > > > Windows intermittently jump to a location on the screen when I move windows. It?s got too annoying to ignore. > > > > > > ? Is anyone else having this problem? > > > > > > I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this without any of my own code such just was IDE stacks. This I ?think? is quite a long standing bug that I suspect is related to the global coordinate system as I have been working around this for quite a while now. > > > > > > > > > Detail > > > The location of the jump seems to be the same horizontal x location. But with the vertical value being reset to the halfway point. > > > > > > I am testing by. Simply moving the message box. It is intermittent - so occurring about once every 5 moves, and strangely is happening only when the top left of the stack window is within the top left quadrant of the screen. Using. The following code int eh message box I find the top of the message box stack is always 492 after a jump (see below). This appears to be related to half the screen less the decorations like menu? > > > put?the screenrect?&?CR?&?the?rect?of stack? Message box" > > > > > > 0,0,1680,1050 > > > 215,492,634,640 > > > > > > As a further indication that the problem is due to the IDE, I find that creating a test stack (no scripts or controls) exhibits the same behaviour - but this behaviour can be suppressed by choosing ?Suppress Messages? from the ?Development? menu. This suppression has no effect on the message box or other IDE windows which still jump intermittently. > > > > > > The problem is most intense when working with multiple screens. For at least a couple of years stacks I create and place on second or third monitors receive mouse clicks in the wrong location. This happens on different machines, and different. Monitor setups. Only tested on Macs. > > > > > > I am currently creating a multiscreen app - so taking the tracking down. Of this bug more seriously. The current tests are one on my laptop without external monitors, and having restarted the computer (several times). Applications other than Livecode don?t suffer this problem. > > > > > > How should I report this bug - should I submit a video / screen recording? > > > From paul at researchware.com Fri Oct 9 10:23:19 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 9 Oct 2020 10:23:19 -0400 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> Message-ID: <5a6b7d8e-b167-c4c0-7977-b1c780307f02@researchware.com> Window 10 has a snap to feature on by default that will try to snap any window of any application to the edges and resize it to have the screen (or perhaps other options) if the windows is being dragged and the mouse moves close to a screen edge. I have not explored the feature fully, so I am not sure of the details. On 10/9/2020 9:48 AM, David Bovill via use-livecode wrote: > I?m getting pretty curious about this bug :) > > Testing??mouse clicks- and not stacks jumping position when moving their location - I find that a stack that is successfully moved between the four quadrants of the screen - accepts mouse clicks accurately in the bottom-left, top-right and bottom right quadrants - but in the top-eft quadrant the mouse-click interactions are offset vertically in a way that is compatible with the stack jump. So if you manage to locate the. Stack without it jumping - in the top-left quadrant the mouse clicks are off. > > Monitor settings are set for default value of the MacBook Pro display. I think I?ll make a short video of this behaviour. > On 9 Oct 2020, 14:35 +0100, David Bovill , wrote: >> Also tested on Livecode 8.1.5 with same results. >> On 9 Oct 2020, 14:00 +0100, David Bovill , wrote: >>> Windows intermittently jump to a location on the screen when I move windows. It?s got too annoying to ignore. >>> >>> ? Is anyone else having this problem? >>> >>> I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this without any of my own code such just was IDE stacks. This I ?think? is quite a long standing bug that I suspect is related to the global coordinate system as I have been working around this for quite a while now. >>> >>> >>> Detail >>> The location of the jump seems to be the same horizontal x location. But with the vertical value being reset to the halfway point. >>> >>> I am testing by. Simply moving the message box. It is intermittent - so occurring about once every 5 moves, and strangely is happening only when the top left of the stack window is within the top left quadrant of the screen. Using. The following code int eh message box I find the top of the message box stack is always 492 after a jump (see below). This appears to be related to half the screen less the decorations like menu? > > > put?the screenrect?&?CR?&?the?rect?of stack? Message box" > > > > > > 0,0,1680,1050 > > > 215,492,634,640 >>> As a further indication that the problem is due to the IDE, I find that creating a test stack (no scripts or controls) exhibits the same behaviour - but this behaviour can be suppressed by choosing ?Suppress Messages? from the ?Development? menu. This suppression has no effect on the message box or other IDE windows which still jump intermittently. >>> >>> The problem is most intense when working with multiple screens. For at least a couple of years stacks I create and place on second or third monitors receive mouse clicks in the wrong location. This happens on different machines, and different. Monitor setups. Only tested on Macs. >>> >>> I am currently creating a multiscreen app - so taking the tracking down. Of this bug more seriously. The current tests are one on my laptop without external monitors, and having restarted the computer (several times). Applications other than Livecode don?t suffer this problem. >>> >>> How should I report this bug - should I submit a video / screen recording? >>> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri Oct 9 11:32:01 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 9 Oct 2020 11:32:01 -0400 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: <5a6b7d8e-b167-c4c0-7977-b1c780307f02@researchware.com> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> <5a6b7d8e-b167-c4c0-7977-b1c780307f02@researchware.com> Message-ID: <796c8b89-b010-5289-185c-59e90a04c4b8@researchware.com> Sorry, When I read you posts and saw "windows" I thought you were talking about this happening on Microsoft Windows. I have seen something similar on macOS, but only when you have dual monitors and the second monitor has it's top positioned higher than the primary monitor. On 10/9/2020 10:23 AM, Paul Dupuis via use-livecode wrote: > Window 10 has a snap to feature on by default that will try to snap > any window of any application to the edges and resize it to have the > screen (or perhaps other options) if the windows is being dragged and > the mouse moves close to a screen edge. I have not explored the > feature fully, so I am not sure of the details. > > > > On 10/9/2020 9:48 AM, David Bovill via use-livecode wrote: >> I?m getting pretty curious about this bug :) >> >> Testing??mouse clicks- and not stacks jumping position when moving >> their location - I find that a stack that is successfully moved >> between the four quadrants of the screen - accepts mouse clicks >> accurately in the bottom-left, top-right and bottom right quadrants - >> but in the top-eft quadrant the mouse-click interactions are offset >> vertically in a way that is compatible with the stack jump. So if you >> manage to locate the. Stack without it jumping - in the top-left >> quadrant the mouse clicks are off. >> >> Monitor settings are set for default value of the MacBook Pro >> display. I think I?ll make a short video of this behaviour. >> On 9 Oct 2020, 14:35 +0100, David Bovill , >> wrote: >>> Also tested on Livecode 8.1.5 with same results. >>> On 9 Oct 2020, 14:00 +0100, David Bovill , >>> wrote: >>>> Windows intermittently jump to a location on the screen when I move >>>> windows. It?s got too annoying to ignore. >>>> >>>> ? Is anyone else having this problem? >>>> >>>> I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing >>>> this without any of my own code such just was IDE stacks. This I >>>> ?think? is quite a long standing bug that I suspect is related to >>>> the global coordinate system as I have been working around this for >>>> quite a while now. >>>> >>>> >>>> Detail >>>> The location of the jump seems to be the same horizontal x >>>> location. But with the vertical value being reset to the halfway >>>> point. >>>> >>>> I am testing by. Simply moving the message box. It is intermittent >>>> - so occurring about once every 5 moves, and strangely is happening >>>> only when the top left of the stack window is within the top left >>>> quadrant of the screen. Using. The following code int eh message >>>> box I find the top of the message box stack is always 492 after a >>>> jump (see below). This appears to be related to half the screen >>>> less the decorations like menu? >> ????> > put?the screenrect?&?CR?&?the?rect?of stack? Message box" >> ????> > >> ????> > 0,0,1680,1050 >> ????> > 215,492,634,640 >>>> As a further indication that the problem is due to the IDE, I find >>>> that creating a test stack (no scripts or controls) exhibits the >>>> same behaviour - but this behaviour can be suppressed by choosing >>>> ?Suppress Messages? from the ?Development? menu. This suppression >>>> has no effect on the message box or other IDE windows which still >>>> jump intermittently. >>>> >>>> The problem is most intense when working with multiple screens. For >>>> at least a couple of years stacks I create and place on second or >>>> third monitors receive mouse clicks in the wrong location. This >>>> happens on different machines, and different. Monitor setups. Only >>>> tested on Macs. >>>> >>>> I am currently creating a multiscreen app - so taking the tracking >>>> down. Of this bug more seriously. The current tests are one on my >>>> laptop without external monitors, and having restarted the computer >>>> (several times). Applications other than Livecode don?t suffer this >>>> problem. >>>> >>>> How should I report this bug - should I submit a video / screen >>>> recording? >>>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Oct 9 12:01:40 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 9 Oct 2020 16:01:40 +0000 Subject: Big Sur bugs In-Reply-To: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> Message-ID: <830B4F43-DD97-4C7B-AF66-B5A763E05324@iotecdigital.com> So my custom tabbed object would come in handy then. :-) Bob S On Oct 8, 2020, at 5:31 PM, Marty Knapp via use-livecode > wrote: In my testing of LC apps running under Big Sur I have run into the following bugs running LC 9.6.1: 1) Tabbed buttons: The background of the highlighted tab is now white by default. Since LC renders the text for the highlighted button as white, it is not readable until you switch to another tab. Work-around - set the backgroundColor of the button to black. Bug report 22879 From livfoss at mac.com Sat Oct 10 11:42:43 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 10 Oct 2020 17:42:43 +0200 Subject: The iOS "Files" folder Message-ID: Is it possible to access (write to) the iOS ?Files? folder from an iOS app? I see that there is no specialFolderPath entry for it, but it appears that some apps do allow saving to the folder, and one is then allowed to open such files with an appropriate app. Basically I am thinking of giving the user a chance to save a text file there for processing by other apps. The alternative would involve the internet with all the tedious privacy rules etc. and my particular app doesn?t have any other use for the internet at all. Anyone tried it? Graham From tekne at gruppoparentesi.it Sat Oct 10 13:03:36 2020 From: tekne at gruppoparentesi.it (Tekne) Date: Sat, 10 Oct 2020 19:03:36 +0200 Subject: Big Sur bugs In-Reply-To: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> Message-ID: 1,2 and 4 are definitely show stoppers for Mac devs. Is LC ready with a new version? Riccardo > Il giorno 9 ott 2020, alle ore 02:32, Marty Knapp via use-livecode ha scritto: > > ?In my testing of LC apps running under Big Sur I have run into the following bugs running LC 9.6.1: > > 1) Tabbed buttons: The background of the highlighted tab is now white by default. Since LC renders the text for the highlighted button as white, it is not readable until you switch to another tab. Work-around - set the backgroundColor of the button to black. Bug report 22879 > > 2) Window Shape: Setting the windowShape of a stack to an imported image no longer works. It will show the rectangle of the stack. Bug report 22880 > > 3) SystemVersion: Big Sur is designated by Apple as version 11 but LC will report it as 10.16. Easy enough to code around until it?s fixed. Bug report 22887 > > 4) Printing: LC hangs as I mentioned in a previous post. Bug report 22930 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Sat Oct 10 17:14:46 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sat, 10 Oct 2020 21:14:46 +0000 Subject: Bug: jumping stack windows (when supress messages is off) Message-ID: <1319D29A-36AC-42A8-9B5D-B337D1F2B6B6@uni-wh.de> Hi David, What I see on Mojave is that e.g. TextEdit or Safari show a similar behavior. Open 2 windows in TextEdit. Move one close to the other and they will snap into place, if the tops of those two windows are almost horizontally aligned they will snap into place. Same goes for Safari with two windows open. And the same happens in the IDE. If that is what you describe on a single monitor setup then it is an operating system thing. Kind regards Bernd From matthias_livecode_150811 at m-r-d.de Sun Oct 11 05:25:20 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 11 Oct 2020 11:25:20 +0200 Subject: Anyone archived the information from http://andregarzia.com/async.irev Message-ID: <1090C1F0-3E15-4367-B74E-039523D40E3E@m-r-d.de> Hi, a very long time ago Andre Garzia posted some useful information about how to use (Livecode) server processes effectively. Unfortunately the link to that information "Spreading the load or why wise developers use asynchronous workflows" http://andregarzia.com/async.irev is not working anymore. Did someone archive that information and is willing to share it? I really would appreciate that. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code From marksmithhfx at gmail.com Sun Oct 11 06:37:12 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Sun, 11 Oct 2020 11:37:12 +0100 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> Message-ID: Completely off-topic, but could you post a brief description of how you made that video David (or send me a PM)? I have to do something similar in the near future and it would be good to know what kit/software you recorded with. Cheers and thanks, Mark > On Oct 9, 2020, at 3:18 PM, David Bovill via use-livecode wrote: > > Here is a video describing the bug - or at least I am assuming it is a bug. Very curious to see if anyone else is experiencing this issue: > > ? https://vimeo.com/466580164 > > On 9 Oct 2020, 14:48 +0100, David Bovill , wrote: >> I?m getting pretty curious about this bug :) >> >> Testing mouse clicks- and not stacks jumping position when moving their location - I find that a stack that is successfully moved between the four quadrants of the screen - accepts mouse clicks accurately in the bottom-left, top-right and bottom right quadrants - but in the top-eft quadrant the mouse-click interactions are offset vertically in a way that is compatible with the stack jump. So if you manage to locate the. Stack without it jumping - in the top-left quadrant the mouse clicks are off. >> >> Monitor settings are set for default value of the MacBook Pro display. I think I?ll make a short video of this behaviour. >> On 9 Oct 2020, 14:35 +0100, David Bovill , wrote: >>> Also tested on Livecode 8.1.5 with same results. >>> On 9 Oct 2020, 14:00 +0100, David Bovill , wrote: >>>> >>>> Windows intermittently jump to a location on the screen when I move windows. It?s got too annoying to ignore. >>>> >>>> ? Is anyone else having this problem? >>>> >>>> I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this without any of my own code such just was IDE stacks. This I ?think? is quite a long standing bug that I suspect is related to the global coordinate system as I have been working around this for quite a while now. >>>> >>>> >>>> Detail >>>> The location of the jump seems to be the same horizontal x location. But with the vertical value being reset to the halfway point. >>>> >>>> I am testing by. Simply moving the message box. It is intermittent - so occurring about once every 5 moves, and strangely is happening only when the top left of the stack window is within the top left quadrant of the screen. Using. The following code int eh message box I find the top of the message box stack is always 492 after a jump (see below). This appears to be related to half the screen less the decorations like menu? > > > > put the screenrect & CR & the rect of stack? Message box" > > > > > > > > 0,0,1680,1050 > > > > 215,492,634,640 >>>> >>>> As a further indication that the problem is due to the IDE, I find that creating a test stack (no scripts or controls) exhibits the same behaviour - but this behaviour can be suppressed by choosing ?Suppress Messages? from the ?Development? menu. This suppression has no effect on the message box or other IDE windows which still jump intermittently. >>>> >>>> The problem is most intense when working with multiple screens. For at least a couple of years stacks I create and place on second or third monitors receive mouse clicks in the wrong location. This happens on different machines, and different. Monitor setups. Only tested on Macs. >>>> >>>> I am currently creating a multiscreen app - so taking the tracking down. Of this bug more seriously. The current tests are one on my laptop without external monitors, and having restarted the computer (several times). Applications other than Livecode don?t suffer this problem. >>>> >>>> How should I report this bug - should I submit a video / screen recording? >>>> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Sun Oct 11 08:28:20 2020 From: david.bovill at gmail.com (David Bovill) Date: Sun, 11 Oct 2020 13:28:20 +0100 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: <1319D29A-36AC-42A8-9B5D-B337D1F2B6B6@uni-wh.de> References: <1319D29A-36AC-42A8-9B5D-B337D1F2B6B6@uni-wh.de> Message-ID: <71f69906-fce3-412b-b610-da6676602213@Spark> Hi Bernd, the bug is not to do with the standard window snap. This is unresponsive try to any mouse clicks and a big jump across half the screen without any other windows present. Check the video to see. On 10 Oct 2020, 22:15 +0100, Niggemann, Bernd via use-livecode , wrote: > Hi David, > > What I see on Mojave is that e.g. TextEdit or Safari show a similar behavior. > Open 2 windows in TextEdit. Move one close to the other and they will snap into place, if the tops of those two windows are almost horizontally aligned they will snap into place. > > Same goes for Safari with two windows open. And the same happens in the IDE. > If that is what you describe on a single monitor setup then it is an operating system thing. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sun Oct 11 08:39:04 2020 From: paul at researchware.com (Paul Dupuis) Date: Sun, 11 Oct 2020 08:39:04 -0400 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: <71f69906-fce3-412b-b610-da6676602213@Spark> References: <1319D29A-36AC-42A8-9B5D-B337D1F2B6B6@uni-wh.de> <71f69906-fce3-412b-b610-da6676602213@Spark> Message-ID: https://support.apple.com/guide/mac-help/work-with-app-windows-mchlp2469/mac Could it just be macOS's windows alignment feature? On 10/11/2020 8:28 AM, David Bovill via use-livecode wrote: > Hi Bernd, the bug is not to do with the standard window snap. This is unresponsive try to any mouse clicks and a big jump across half the screen without any other windows present. Check the video to see. > On 10 Oct 2020, 22:15 +0100, Niggemann, Bernd via use-livecode , wrote: >> Hi David, >> >> What I see on Mojave is that e.g. TextEdit or Safari show a similar behavior. >> Open 2 windows in TextEdit. Move one close to the other and they will snap into place, if the tops of those two windows are almost horizontally aligned they will snap into place. >> >> Same goes for Safari with two windows open. And the same happens in the IDE. >> If that is what you describe on a single monitor setup then it is an operating system thing. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Sun Oct 11 12:46:29 2020 From: waprothero at gmail.com (William Prothero) Date: Sun, 11 Oct 2020 09:46:29 -0700 Subject: Anyone archived the information from http://andregarzia.com/async.irev In-Reply-To: <1090C1F0-3E15-4367-B74E-039523D40E3E@m-r-d.de> References: <1090C1F0-3E15-4367-B74E-039523D40E3E@m-r-d.de> Message-ID: <59E862C7-DB2C-4ABC-91F7-2EE689FC205E@gmail.com> Matthias: Try: https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows Bill William A. Prothero https://earthlearningsolutions.org > On Oct 11, 2020, at 2:25 AM, matthias rebbe via use-livecode wrote: > > Hi, > > a very long time ago Andre Garzia posted some useful information about how to use (Livecode) server processes effectively. > Unfortunately the link to that information > > "Spreading the load or why wise developers use asynchronous workflows" > http://andregarzia.com/async.irev > > is not working anymore. > > Did someone archive that information and is willing to share it? I really would appreciate that. > > > Regards, > Matthias > > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sun Oct 11 14:30:23 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 11 Oct 2020 20:30:23 +0200 Subject: Anyone archived the information from http://andregarzia.com/async.irev In-Reply-To: <59E862C7-DB2C-4ABC-91F7-2EE689FC205E@gmail.com> References: <1090C1F0-3E15-4367-B74E-039523D40E3E@m-r-d.de> <59E862C7-DB2C-4ABC-91F7-2EE689FC205E@gmail.com> Message-ID: Hi Bill, thanks, but that post mentions the url http://andregarzia.com/async.irev for further reading - Matthias Rebbe Life Is Too Short For Boring Code > Am 11.10.2020 um 18:46 schrieb William Prothero via use-livecode : > > Matthias: > Try: https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows > Bill > > William A. Prothero > https://earthlearningsolutions.org > >> On Oct 11, 2020, at 2:25 AM, matthias rebbe via use-livecode wrote: >> >> Hi, >> >> a very long time ago Andre Garzia posted some useful information about how to use (Livecode) server processes effectively. >> Unfortunately the link to that information >> >> "Spreading the load or why wise developers use asynchronous workflows" >> http://andregarzia.com/async.irev >> >> is not working anymore. >> >> Did someone archive that information and is willing to share it? I really would appreciate that. >> >> >> Regards, >> Matthias >> >> >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Sun Oct 11 15:21:11 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sun, 11 Oct 2020 19:21:11 +0000 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: References: Message-ID: Hi David, I am sorry, I did not look at the video. That is quite impressive. I have never experienced anything like that in the IDE. (LC 9.6.1 MacOS Mojave) Did you have a look at your plug-ins? Or have you tried to remove your preference file temporarily? Kind regards Bernd David Bovill via use-livecode Sun, 11 Oct 2020 05:30:43 -0700 Hi Bernd, the bug is not to do with the standard window snap. This is unresponsive try to any mouse clicks and a big jump across half the screen without any other windows present. Check the video to see. From prothero at earthlearningsolutions.org Sun Oct 11 17:01:06 2020 From: prothero at earthlearningsolutions.org (Prothero@earthlearning) Date: Sun, 11 Oct 2020 14:01:06 -0700 Subject: Anyone archived the information from http://andregarzia.com/async.irev In-Reply-To: References: Message-ID: <7B8522B8-D8AA-4950-9120-4C2EE7DA0344@earthlearningsolutions.org> Ahh, I?d like to see it too. Bill William Prothero http://es.earthednet.org > On Oct 11, 2020, at 11:31 AM, matthias rebbe via use-livecode wrote: > > ?Hi Bill, > thanks, but that post mentions the url http://andregarzia.com/async.irev > for further reading > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 11.10.2020 um 18:46 schrieb William Prothero via use-livecode : >> >> Matthias: >> Try: https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows >> Bill >> >> William A. Prothero >> https://earthlearningsolutions.org >> >>>> On Oct 11, 2020, at 2:25 AM, matthias rebbe via use-livecode wrote: >>> >>> Hi, >>> >>> a very long time ago Andre Garzia posted some useful information about how to use (Livecode) server processes effectively. >>> Unfortunately the link to that information >>> >>> "Spreading the load or why wise developers use asynchronous workflows" >>> http://andregarzia.com/async.irev >>> >>> is not working anymore. >>> >>> Did someone archive that information and is willing to share it? I really would appreciate that. >>> >>> >>> Regards, >>> Matthias >>> >>> >>> >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sun Oct 11 19:22:10 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 11 Oct 2020 16:22:10 -0700 Subject: Anyone archived the information from http://andregarzia.com/async.irev In-Reply-To: <59E862C7-DB2C-4ABC-91F7-2EE689FC205E@gmail.com> References: <1090C1F0-3E15-4367-B74E-039523D40E3E@m-r-d.de> <59E862C7-DB2C-4ABC-91F7-2EE689FC205E@gmail.com> Message-ID: <92dd7dab-1d05-ef3a-5e85-b4196dddca6f@sonic.net> On 10/11/20 9:46 AM, William Prothero via use-livecode wrote: > Matthias: > Try: https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows Bill- That's an interesting archive. Thanks for the trip down memory lane, I'd completely forgotten that discussion. Any idea why narkive stopped collecting posts two years ago? -- Mark Wieder ahsoftware at gmail.com From keith.clarke at me.com Mon Oct 12 03:18:14 2020 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 12 Oct 2020 08:18:14 +0100 Subject: LiveCode server IDE Message-ID: <42C2FDA9-7752-4841-8575-51AD01BCBC1D@me.com> Hi folks, What is the current state of the art regarding LiveCode server IDE - searching around, this seems down to personal preference of text editor plus FTP? I'm Mac-based and looking to experiment with web services. Thanks and regards, Keith Sent from my iPad From rdimola at evergreeninfo.net Mon Oct 12 08:38:47 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Oct 2020 08:38:47 -0400 Subject: LiveCode server IDE In-Reply-To: <42C2FDA9-7752-4841-8575-51AD01BCBC1D@me.com> References: <42C2FDA9-7752-4841-8575-51AD01BCBC1D@me.com> Message-ID: <000c01d6a094$a4f82c60$eee88520$@net> I use the standard issue LC IDE to edit the server script, do a "Ctrl S" and use either a web disk or VPN to drag the saved file to the server. Then I test my web service in the currently opened IDE. Fast debug cycle. Easy-peezy... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Keith Clarke via use-livecode Sent: Monday, October 12, 2020 3:18 AM To: use-livecode at lists.runrev.com Cc: Keith Clarke Subject: LiveCode server IDE Hi folks, What is the current state of the art regarding LiveCode server IDE - searching around, this seems down to personal preference of text editor plus FTP? I'm Mac-based and looking to experiment with web services. Thanks and regards, Keith Sent from my iPad _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Oct 12 10:01:43 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Oct 2020 10:01:43 -0400 Subject: LiveCode server IDE In-Reply-To: <42C2FDA9-7752-4841-8575-51AD01BCBC1D@me.com> References: <42C2FDA9-7752-4841-8575-51AD01BCBC1D@me.com> Message-ID: <001e01d6a0a0$3a51a8d0$aef4fa70$@net> Keith, As a follow up... If you have a web server with LC installed running on your local machine then just a ctrl S in the LC IDE will let you test your server script(stack) immediately in the currently open IDE instance. IDE alternatives to edit LC script only stacks are many. I use the Atom for LC builder and html(when Dreamweaver is just to much). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Keith Clarke via use-livecode Sent: Monday, October 12, 2020 3:18 AM To: use-livecode at lists.runrev.com Cc: Keith Clarke Subject: LiveCode server IDE Hi folks, What is the current state of the art regarding LiveCode server IDE - searching around, this seems down to personal preference of text editor plus FTP? I'm Mac-based and looking to experiment with web services. Thanks and regards, Keith Sent from my iPad _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Oct 12 10:44:20 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 12 Oct 2020 14:44:20 +0000 Subject: Livecode and Non-Responsiveness Message-ID: <893B3AC7-DE59-4062-90F2-483C44C85021@iotecdigital.com> Hi all. Just to confirm, my iMac was very unresponsive again, only this time I quit Livecode, that took a couple minutes to completely quit, then my iMac became responsive again. That doesn?t prove anything in itself. Something else may have been leaking memory and quitting Livecode just freed up more memory. However in the past quitting other apps dod no make it more responsive. I know that is thin, but there you go. Bob S From bobsneidar at iotecdigital.com Mon Oct 12 10:48:11 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 12 Oct 2020 14:48:11 +0000 Subject: The iOS "Files" folder In-Reply-To: References: Message-ID: <97BFE269-6FAC-458A-80C2-0C452E4B768A@iotecdigital.com> It is my understanding that each app has it?s own storage are and that this is sandboxed from other apps. That being said, there is obviously a way for an app to request permission from the iOS to access another app?s storage. I?m not sure if Livecode has that mechanism though. it?s probably some kind of Xcode library. Bob S On Oct 10, 2020, at 8:42 AM, Graham Samuel via use-livecode > wrote: Is it possible to access (write to) the iOS ?Files? folder from an iOS app? I see that there is no specialFolderPath entry for it, but it appears that some apps do allow saving to the folder, and one is then allowed to open such files with an appropriate app. Basically I am thinking of giving the user a chance to save a text file there for processing by other apps. The alternative would involve the internet with all the tedious privacy rules etc. and my particular app doesn?t have any other use for the internet at all. Anyone tried it? Graham From keith.clarke at me.com Mon Oct 12 10:49:23 2020 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 12 Oct 2020 15:49:23 +0100 Subject: LiveCode server IDE In-Reply-To: <001e01d6a0a0$3a51a8d0$aef4fa70$@net> References: <42C2FDA9-7752-4841-8575-51AD01BCBC1D@me.com> <001e01d6a0a0$3a51a8d0$aef4fa70$@net> Message-ID: <5326DAF3-7412-4EA8-893B-476BFC98AEAD@me.com> Thanks for the response, Ralph. I've struggled to retain/regain my old local Sites, web server and LC Server on my home Macs. So, I was thinking of embarking down the script-only stacks route, using an on-rev LC-Server instance to do any web-services heavy-lifting work server-to-server, on behalf of client apps that use either LC desktop or simple html forms. My html & css 'hackery-pokery' has been on Coda2 to date, but its replacement, Nova, still lacks any LiveCode autocompletion. I may need to learn a new text-editing based IDE tool. Thanks for the Atom suggestion - I see that there's a LiveCode language pack available that includes LC Server, so that may be a better place to play than VS Code, etc. Thanks & regards, Keith > On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode wrote: > > Keith, > > As a follow up... If you have a web server with LC installed running on your > local machine then just a ctrl S in the LC IDE will let you test your server > script(stack) immediately in the currently open IDE instance. > > IDE alternatives to edit LC script only stacks are many. I use the Atom for > LC builder and html(when Dreamweaver is just to much). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Keith Clarke via use-livecode > Sent: Monday, October 12, 2020 3:18 AM > To: use-livecode at lists.runrev.com > Cc: Keith Clarke > Subject: LiveCode server IDE > > Hi folks, > What is the current state of the art regarding LiveCode server IDE - > searching around, this seems down to personal preference of text editor plus > FTP? > > I'm Mac-based and looking to experiment with web services. > Thanks and regards, > Keith > > > Sent from my iPad > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Oct 12 11:28:09 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Oct 2020 11:28:09 -0400 Subject: LiveCode server IDE In-Reply-To: <5326DAF3-7412-4EA8-893B-476BFC98AEAD@me.com> References: <42C2FDA9-7752-4841-8575-51AD01BCBC1D@me.com> <001e01d6a0a0$3a51a8d0$aef4fa70$@net> <5326DAF3-7412-4EA8-893B-476BFC98AEAD@me.com> Message-ID: <002801d6a0ac$4d576300$e8062900$@net> Keith, I use LC Server on the on-rev server. It is already setup and the support from Heather/Robin is the best! I personally use regular standard issue binary stacks for everything out of habit. These same stacks are also used in my apps. This is what I love about LC server, it allows me to use my libraries on the server and in apps. What other programming language does this? If you are doing web pages then look into revIgniter. For a web service vanilla LC scripts do the trick. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Keith Clarke via use-livecode Sent: Monday, October 12, 2020 10:49 AM To: use-livecode at lists.runrev.com Cc: Keith Clarke Subject: Re: LiveCode server IDE Thanks for the response, Ralph. I've struggled to retain/regain my old local Sites, web server and LC Server on my home Macs. So, I was thinking of embarking down the script-only stacks route, using an on-rev LC-Server instance to do any web-services heavy-lifting work server-to-server, on behalf of client apps that use either LC desktop or simple html forms. My html & css 'hackery-pokery' has been on Coda2 to date, but its replacement, Nova, still lacks any LiveCode autocompletion. I may need to learn a new text-editing based IDE tool. Thanks for the Atom suggestion - I see that there's a LiveCode language pack available that includes LC Server, so that may be a better place to play than VS Code, etc. Thanks & regards, Keith > On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode wrote: > > Keith, > > As a follow up... If you have a web server with LC installed running > on your local machine then just a ctrl S in the LC IDE will let you > test your server > script(stack) immediately in the currently open IDE instance. > > IDE alternatives to edit LC script only stacks are many. I use the > Atom for LC builder and html(when Dreamweaver is just to much). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Keith Clarke via use-livecode > Sent: Monday, October 12, 2020 3:18 AM > To: use-livecode at lists.runrev.com > Cc: Keith Clarke > Subject: LiveCode server IDE > > Hi folks, > What is the current state of the art regarding LiveCode server IDE - > searching around, this seems down to personal preference of text > editor plus FTP? > > I'm Mac-based and looking to experiment with web services. > Thanks and regards, > Keith > > > Sent from my iPad > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Mon Oct 12 12:08:02 2020 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Mon, 12 Oct 2020 09:08:02 -0700 Subject: Livecode and Non-Responsiveness In-Reply-To: <893B3AC7-DE59-4062-90F2-483C44C85021@iotecdigital.com> References: <893B3AC7-DE59-4062-90F2-483C44C85021@iotecdigital.com> Message-ID: <8272E612-3307-4599-9F12-C691CBA1CFB2@earthlearningsolutions.org> Bob, Since I upgraded to the latest Mac OS on my MacBook Pro, I have been getting delays using various apps, like Safari. I use a mouse and keyboard connected through a USB port. Sometimes when I get this delay, I quickly move to the laptop?s trackpad and there seems to be no delay. I suspect it has something to do with my hardware configuration. Best, Bill William Prothero http://es.earthednet.org > On Oct 12, 2020, at 7:45 AM, Bob Sneidar via use-livecode wrote: > > ?Hi all. > > Just to confirm, my iMac was very unresponsive again, only this time I quit Livecode, that took a couple minutes to completely quit, then my iMac became responsive again. That doesn?t prove anything in itself. Something else may have been leaking memory and quitting Livecode just freed up more memory. However in the past quitting other apps dod no make it more responsive. > > I know that is thin, but there you go. > > Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Oct 12 12:38:12 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 12 Oct 2020 19:38:12 +0300 Subject: [ANN] This Week in LiveCode 240 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #240 here: https://bit.ly/30YXAIc This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From livfoss at mac.com Mon Oct 12 13:19:22 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 12 Oct 2020 19:19:22 +0200 Subject: The iOS "Files" folder In-Reply-To: References: Message-ID: <31C1FD7B-5F48-4163-8319-60F93AEA5132@mac.com> I am getting a bit nearer answering my own question, or at least having it answered by the mother ship. Elanor Buchanan has introduced me to ?MergPopActivity? but so far I am just too ignorant to use it. Hopefully I?ll have more information soon. Meanwhile it would be interesting to know if anyone on this list has ever used it. Graham > On 10 Oct 2020, at 17:42, Graham Samuel via use-livecode wrote: > > Is it possible to access (write to) the iOS ?Files? folder from an iOS app? I see that there is no specialFolderPath entry for it, but it appears that some apps do allow saving to the folder, and one is then allowed to open such files with an appropriate app. Basically I am thinking of giving the user a chance to save a text file there for processing by other apps. The alternative would involve the internet with all the tedious privacy rules etc. and my particular app doesn?t have any other use for the internet at all. > > Anyone tried it? > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Mon Oct 12 15:34:39 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 12 Oct 2020 15:34:39 -0400 Subject: The iOS "Files" folder In-Reply-To: <31C1FD7B-5F48-4163-8319-60F93AEA5132@mac.com> References: <31C1FD7B-5F48-4163-8319-60F93AEA5132@mac.com> Message-ID: <1FB95C01-BE30-485C-9F3F-C3C6C6AD1B26@all-auctions.com> Hi Graham, You can write to your own app?s preference?s folder. Due to sandboxing Apple doesn?t want you writing stuff elsewhere. You can sometimes write to special folders, I don?t know the list off of the top of my head however. Keep us informed of your progress. Rick > On Oct 12, 2020, at 1:19 PM, Graham Samuel via use-livecode wrote: > > I am getting a bit nearer answering my own question, or at least having it answered by the mother ship. Elanor Buchanan has introduced me to ?MergPopActivity? but so far I am just too ignorant to use it. Hopefully I?ll have more information soon. Meanwhile it would be interesting to know if anyone on this list has ever used it. > > Graham From alex at tweedly.net Mon Oct 12 15:51:57 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 12 Oct 2020 20:51:57 +0100 Subject: LiveCode server IDE In-Reply-To: <5326DAF3-7412-4EA8-893B-476BFC98AEAD@me.com> References: <42C2FDA9-7752-4841-8575-51AD01BCBC1D@me.com> <001e01d6a0a0$3a51a8d0$aef4fa70$@net> <5326DAF3-7412-4EA8-893B-476BFC98AEAD@me.com> Message-ID: <9495bc98-f433-1d94-b397-ce3ed596ebc3@tweedly.net> Hi Keith, My workflow is not much different from Ralph's. Short answer: ?- edit in IDE, test in IDE ?- upload to server using Coda 2? (which I also use to edit non-lc files). Long answer: ?- I don't use any of the LCserver specific features -? no entangled html, no includes, ... - everything is a regular script-only stack ?- I have a test stack that I use in the IDE which lets me specify which page (and parameters, cookies, etc.) I want, generates the web page and displays the output in a web browser instance within the testing stack. ?- when satisfied, I use Coda 2 to upload the LC files (I never edit them in Coda)) ?- I edit other files (menu definitions, form definitions, web pages, views, etc.)? in Coda2 I use both on-rev and hostM for servers - both have everything already installed,? good support, etc. (tbh, if on-rev hadn't had a bad patch a few years ago with email problems, I would probably never have strayed, but it's kind of good to know that hostM is there as an alternate source in case I need it :-) Alex. On 12/10/2020 15:49, Keith Clarke via use-livecode wrote: > Thanks for the response, Ralph. > > I've struggled to retain/regain my old local Sites, web server and LC Server on my home Macs. So, I was thinking of embarking down the script-only stacks route, using an on-rev LC-Server instance to do any web-services heavy-lifting work server-to-server, on behalf of client apps that use either LC desktop or simple html forms. > > My html & css 'hackery-pokery' has been on Coda2 to date, but its replacement, Nova, still lacks any LiveCode autocompletion. > > I may need to learn a new text-editing based IDE tool. Thanks for the Atom suggestion - I see that there's a LiveCode language pack available that includes LC Server, so that may be a better place to play than VS Code, etc. > > Thanks & regards, > Keith > >> On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode wrote: >> >> Keith, >> >> As a follow up... If you have a web server with LC installed running on your >> local machine then just a ctrl S in the LC IDE will let you test your server >> script(stack) immediately in the currently open IDE instance. >> >> IDE alternatives to edit LC script only stacks are many. I use the Atom for >> LC builder and html(when Dreamweaver is just to much). >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf >> Of Keith Clarke via use-livecode >> Sent: Monday, October 12, 2020 3:18 AM >> To: use-livecode at lists.runrev.com >> Cc: Keith Clarke >> Subject: LiveCode server IDE >> >> Hi folks, >> What is the current state of the art regarding LiveCode server IDE - >> searching around, this seems down to personal preference of text editor plus >> FTP? >> >> I'm Mac-based and looking to experiment with web services. >> Thanks and regards, >> Keith >> >> >> Sent from my iPad >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Mon Oct 12 16:09:09 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 12 Oct 2020 13:09:09 -0700 Subject: Android Status Bar Message-ID: <056302A7-4315-4ECA-B148-76BF2A16D004@elementarysoftware.com> I seem able to hide or show the Android status bar using the radio button in the Standalone Application Settings. I don?t seem able to to this on the fly using mobileHideStatusBar or mobileShowStatusBar once the app is running. Dictionary: "mobileHideStatusBar does not have any effect on any Android devices with "hardware buttons? embedded in the status bar. I don?t think what I?m testing has these buttons in the status bar, though I?m new to android, so I could be confused. Even so, the fact that I can hide or show the Android status bar from the Standalone Application Settings seems to indicate that it should be possible? I didn?t see anything in bugzilla. Has anyone else run into this? -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From andre at andregarzia.com Mon Oct 12 17:18:46 2020 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 12 Oct 2020 22:18:46 +0100 Subject: Anyone archived the information from http://andregarzia.com/async.irev In-Reply-To: <92dd7dab-1d05-ef3a-5e85-b4196dddca6f@sonic.net> References: <1090C1F0-3E15-4367-B74E-039523D40E3E@m-r-d.de> <59E862C7-DB2C-4ABC-91F7-2EE689FC205E@gmail.com> <92dd7dab-1d05-ef3a-5e85-b4196dddca6f@sonic.net> Message-ID: Hi Friends, I looked in my archives here but I can't find that post. I probably did that just to solve the size limitation for the forum and failed to archive it anywhere. I think that content was lost :-( If this is a topic that you folks feel is under-explored, I could come up with a new post or video. Best a On Mon, 12 Oct 2020 at 00:23, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 10/11/20 9:46 AM, William Prothero via use-livecode wrote: > > Matthias: > > Try: > https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows > < > https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows > > > > Bill- > > That's an interesting archive. Thanks for the trip down memory lane, I'd > completely forgotten that discussion. > > Any idea why narkive stopped collecting posts two years ago? > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From matthias_livecode_150811 at m-r-d.de Mon Oct 12 17:30:19 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 12 Oct 2020 23:30:19 +0200 Subject: Anyone archived the information from http://andregarzia.com/async.irev In-Reply-To: References: <1090C1F0-3E15-4367-B74E-039523D40E3E@m-r-d.de> <59E862C7-DB2C-4ABC-91F7-2EE689FC205E@gmail.com> <92dd7dab-1d05-ef3a-5e85-b4196dddca6f@sonic.net> Message-ID: <61EEEB8D-2B22-480C-944A-CA93F6FFDC7D@m-r-d.de> Hi Andre, thanks for the offer, but i am sure i found now the complete information. There was also an article written by you in the RevUp newsletter on the 12th of August 2010. Here's the link, if anyone else is interested: http://newsletters.livecode.com/august/issue98/newsletter2.php Regards, - Matthias Rebbe Life Is Too Short For Boring Code > Am 12.10.2020 um 23:18 schrieb Andre Garzia via use-livecode : > > Hi Friends, > > I looked in my archives here but I can't find that post. I probably did > that just to solve the size limitation for the forum and failed to archive > it anywhere. I think that content was lost :-( > > If this is a topic that you folks feel is under-explored, I could come up > with a new post or video. > > Best > a > > On Mon, 12 Oct 2020 at 00:23, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 10/11/20 9:46 AM, William Prothero via use-livecode wrote: >>> Matthias: >>> Try: >> https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows >> < >> https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows >>> >> >> Bill- >> >> That's an interesting archive. Thanks for the trip down memory lane, I'd >> completely forgotten that discussion. >> >> Any idea why narkive stopped collecting posts two years ago? >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > https://www.andregarzia.com > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Mon Oct 12 17:48:12 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 12 Oct 2020 14:48:12 -0700 Subject: Compress/Decompress Inclustion? In-Reply-To: <1751abac080.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2EA05825-FCA3-4001-A6EA-925824E4847E@mac.com> <17503a3d918.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <175111c45f8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6A05CCCB-6C06-4491-B58F-705D3197F949@mac.com> <1751abac080.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <3800FC23-8934-4111-BCF5-E99C2C178688@mac.com> Once I close and remove from memory my template stack, I still see File Selector in the Project Browser but nowhere else in the IDE so I?m not sure how to remove it. Even though I don?t create a standalone, the checkboxes for Macintosh, Windows, and Linux were checked. I unchecked the boxes and saved the template stack but the File Selector stack still gets opened when I open my template stack even after I quit and restart LiveCode. I figure something must be opening it or referencing it in my template stack but I can?t find it. Regarding the original aim of this email thread?I?ve isolated the problem to encryption/decryption as done in early versions of LiveCode such as 4.6 and later version such as 9.6. Trying to decrypt files saved in early versions of LiveCode with a modern version of LiveCode fails and vice versa. I made a support ticket to LiveCode support on this. Thank you, Bill > On Oct 11, 2020, at 7:54 PM, J. Landman Gay wrote: > > Since it's a LiveCode stack, I'm not surprised it doesn't go away when you remove your own stack. Once it's in memory it would stay there. If it bothers you, you can close and remove it from memory separately. > > But I'm not sure why it would show up in the first place. The only reference I know of is in standalone settings, where it's a checkbox in the Linux pane indicating you want to add it to the standalone. I suppose you could check to see if that's selected, but if you aren't building for Linux then it shouldn't apply. Are you running on a Linux machine? Does the template stack ask the user to select any files? > > > On October 11, 2020 7:37:14 PM Bill Vlahos > wrote: > >> When I open LiveCode and open any other stacks, the File Selector stack does not show in the Project Browser. >> >> If I open my template stack in LiveCode, the File Selector shows in the Project Browser. I have substacks but File Selector is not one of them and doesn?t show up when I show substacks. >> If I then Close and Remove from Memory my template stack, the File Selector stack still shows in the Project Browser. >> >> It is like my template stack is calling or referencing the File Selector stack but I don?t see anything like Start Using... >> >> Bill >> >>> On Oct 9, 2020, at 11:04 PM, J. Landman Gay wrote: >>> >>> I believe that's the file selector used on Linux. It isn't usually shown. Does it survive a restart? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>> HyperActive Software | http://www.hyperactivesw.com > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From sundown.pacifier at icloud.com Mon Oct 12 18:09:53 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Mon, 12 Oct 2020 15:09:53 -0700 Subject: The iOS "Files" folder In-Reply-To: <97BFE269-6FAC-458A-80C2-0C452E4B768A@iotecdigital.com> References: <97BFE269-6FAC-458A-80C2-0C452E4B768A@iotecdigital.com> Message-ID: On the iPad each app is sandboxed and that means each app has its own Documents Folder. You can get a url to the Documents Folder for your app but not other apps. Using that url you can read, write, append, move, and delete files that are in your apps Documents Folder. A BIG PROBLEM comes when you delete an app. All the files in the Documents Folder for your app also get deleted. So if you have a Note application and have saved a lot of notes, those notes are saved while your app exists but when that Note taking app is deleted all of your information you?ve saved is deleted with it. Most likely it will not be saved to the icloud independently so the files you have for that app even though they exist with the app on your icloud backup will be deleted with the app. To me this makes the iPad a poor device for children to be using for school because they should be allowed to keep their school work without keeping outdated apps over the years they go to school. JB > On Oct 12, 2020, at 7:50 AM, Bob Sneidar via use-livecode wrote: > > ?It is my understanding that each app has it?s own storage are and that this is sandboxed from other apps. That being said, there is obviously a way for an app to request permission from the iOS to access another app?s storage. I?m not sure if Livecode has that mechanism though. it?s probably some kind of Xcode library. > > Bob S > > > On Oct 10, 2020, at 8:42 AM, Graham Samuel via use-livecode > wrote: > > Is it possible to access (write to) the iOS ?Files? folder from an iOS app? I see that there is no specialFolderPath entry for it, but it appears that some apps do allow saving to the folder, and one is then allowed to open such files with an appropriate app. Basically I am thinking of giving the user a chance to save a text file there for processing by other apps. The alternative would involve the internet with all the tedious privacy rules etc. and my particular app doesn?t have any other use for the internet at all. > > Anyone tried it? > > Graham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Oct 12 19:15:02 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Oct 2020 18:15:02 -0500 Subject: The iOS "Files" folder In-Reply-To: References: <97BFE269-6FAC-458A-80C2-0C452E4B768A@iotecdigital.com> Message-ID: <1751f1884f0.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There's this, though it's up to the user: https://9to5mac.com/2017/06/07/ios-11-automatically-delete-unused-apps/ -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 12, 2020 5:11:48 PM John Balgenorth via use-livecode wrote: > On the iPad each app is sandboxed and that means each app has > its own Documents Folder. You can get a url to the Documents > Folder for your app but not other apps. Using that url you can > read, write, append, move, and delete files that are in your apps > Documents Folder. A BIG PROBLEM comes when you delete an > app. All the files in the Documents Folder for your app also get > deleted. So if you have a Note application and have saved a lot > of notes, those notes are saved while your app exists but when > that Note taking app is deleted all of your information you?ve > saved is deleted with it. Most likely it will not be saved to the > icloud independently so the files you have for that app even > though they exist with the app on your icloud backup will be > deleted with the app. > > To me this makes the iPad a poor device for children to be > using for school because they should be allowed to keep > their school work without keeping outdated apps over the > years they go to school. > > JB > > >> On Oct 12, 2020, at 7:50 AM, Bob Sneidar via use-livecode >> wrote: >> >> ?It is my understanding that each app has it?s own storage are and that >> this is sandboxed from other apps. That being said, there is obviously a >> way for an app to request permission from the iOS to access another app?s >> storage. I?m not sure if Livecode has that mechanism though. it?s probably >> some kind of Xcode library. >> >> Bob S >> >> >> On Oct 10, 2020, at 8:42 AM, Graham Samuel via use-livecode >> > wrote: >> >> Is it possible to access (write to) the iOS ?Files? folder from an iOS app? >> I see that there is no specialFolderPath entry for it, but it appears that >> some apps do allow saving to the folder, and one is then allowed to open >> such files with an appropriate app. Basically I am thinking of giving the >> user a chance to save a text file there for processing by other apps. The >> alternative would involve the internet with all the tedious privacy rules >> etc. and my particular app doesn?t have any other use for the internet at all. >> >> Anyone tried it? >> >> Graham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dev at porta.ca Mon Oct 12 19:19:28 2020 From: dev at porta.ca (Dev) Date: Mon, 12 Oct 2020 17:19:28 -0600 Subject: The iOS "Files" folder In-Reply-To: References: <97BFE269-6FAC-458A-80C2-0C452E4B768A@iotecdigital.com> Message-ID: Apple is pushing everything to be saved to iCloud, so a properly written school app (by Apple standards!) would have all the school assignments in the student?s iCloud - accessible at home or school or wherever you have net access. Kelly > On 12Oct, 2020, at 4:09 PM, John Balgenorth via use-livecode wrote: > > On the iPad each app is sandboxed and that means each app has > its own Documents Folder. You can get a url to the Documents > Folder for your app but not other apps. Using that url you can > read, write, append, move, and delete files that are in your apps > Documents Folder. A BIG PROBLEM comes when you delete an > app. All the files in the Documents Folder for your app also get > deleted. So if you have a Note application and have saved a lot > of notes, those notes are saved while your app exists but when > that Note taking app is deleted all of your information you?ve > saved is deleted with it. Most likely it will not be saved to the > icloud independently so the files you have for that app even > though they exist with the app on your icloud backup will be > deleted with the app. > > To me this makes the iPad a poor device for children to be > using for school because they should be allowed to keep > their school work without keeping outdated apps over the > years they go to school. > > JB > > >> On Oct 12, 2020, at 7:50 AM, Bob Sneidar via use-livecode wrote: >> >> ?It is my understanding that each app has it?s own storage are and that this is sandboxed from other apps. That being said, there is obviously a way for an app to request permission from the iOS to access another app?s storage. I?m not sure if Livecode has that mechanism though. it?s probably some kind of Xcode library. >> >> Bob S >> >> >> On Oct 10, 2020, at 8:42 AM, Graham Samuel via use-livecode > wrote: >> >> Is it possible to access (write to) the iOS ?Files? folder from an iOS app? I see that there is no specialFolderPath entry for it, but it appears that some apps do allow saving to the folder, and one is then allowed to open such files with an appropriate app. Basically I am thinking of giving the user a chance to save a text file there for processing by other apps. The alternative would involve the internet with all the tedious privacy rules etc. and my particular app doesn?t have any other use for the internet at all. >> >> Anyone tried it? >> >> Graham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Oct 12 19:20:32 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Oct 2020 18:20:32 -0500 Subject: Android Status Bar In-Reply-To: <056302A7-4315-4ECA-B148-76BF2A16D004@elementarysoftware.com> References: <056302A7-4315-4ECA-B148-76BF2A16D004@elementarysoftware.com> Message-ID: <1751f1d8e00.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think "status bar" may be a misnomer and it's referring to the three (or two on Android 10) buttons that are always available at the bottom of the screen. Those are the Back, Home, and (sometimes) the Recents buttons. Virtually all Android devices use these "soft buttons" now. I could be wrong but I've never seen those buttons at the top of the screen in the status bar area. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 12, 2020 3:11:18 PM scott--- via use-livecode wrote: > I seem able to hide or show the Android status bar using the radio button > in the Standalone Application Settings. I don?t seem able to to this on the > fly using mobileHideStatusBar or mobileShowStatusBar once the app is > running. > > Dictionary: > "mobileHideStatusBar does not have any effect > on any Android devices with "hardware buttons? > embedded in the status bar. > > I don?t think what I?m testing has these buttons in the status bar, though > I?m new to android, so I could be confused. Even so, the fact that I can > hide or show the Android status bar from the Standalone Application > Settings seems to indicate that it should be possible? > > I didn?t see anything in bugzilla. Has anyone else run into this? > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown.pacifier at icloud.com Mon Oct 12 19:34:26 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Mon, 12 Oct 2020 16:34:26 -0700 Subject: The iOS "Files" folder In-Reply-To: <1751f1884f0.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1751f1884f0.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <04813B18-1AD1-48F0-845B-33F2E1E3A413@icloud.com> That looks interesting but I don?t think it mentioned iPad, and even if they make it for iPad here is a note they mentioned; This will free up storage used by the app, but keep its documents and data. Reinstalling the app will place back your data if the app is still available in the App Store. So for school children who are interested in keeping their work for the rest of their life it all depends on Apples mood since it will only work if the app is still available on the App Store. Not having the ability to control your data is a threat to record keeping, since you are now locked into your data with the app. That is a freedom we can lose with the desktop too. If they can control your records to a single source it is easier to delete, I am sure by accident, like fires burning records at court houses, or alter the records. JB > On Oct 12, 2020, at 4:16 PM, J. Landman Gay via use-livecode wrote: > > ?There's this, though it's up to the user: > > https://9to5mac.com/2017/06/07/ios-11-automatically-delete-unused-apps/ > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On October 12, 2020 5:11:48 PM John Balgenorth via use-livecode wrote: >> >> On the iPad each app is sandboxed and that means each app has >> its own Documents Folder. You can get a url to the Documents >> Folder for your app but not other apps. Using that url you can >> read, write, append, move, and delete files that are in your apps >> Documents Folder. A BIG PROBLEM comes when you delete an >> app. All the files in the Documents Folder for your app also get >> deleted. So if you have a Note application and have saved a lot >> of notes, those notes are saved while your app exists but when >> that Note taking app is deleted all of your information you?ve >> saved is deleted with it. Most likely it will not be saved to the >> icloud independently so the files you have for that app even >> though they exist with the app on your icloud backup will be >> deleted with the app. >> >> To me this makes the iPad a poor device for children to be >> using for school because they should be allowed to keep >> their school work without keeping outdated apps over the >> years they go to school. >> >> JB >> >> >>>> On Oct 12, 2020, at 7:50 AM, Bob Sneidar via use-livecode wrote: >>> >>> ?It is my understanding that each app has it?s own storage are and that this is sandboxed from other apps. That being said, there is obviously a way for an app to request permission from the iOS to access another app?s storage. I?m not sure if Livecode has that mechanism though. it?s probably some kind of Xcode library. >>> >>> Bob S >>> >>> >>>> On Oct 10, 2020, at 8:42 AM, Graham Samuel via use-livecode > wrote: >>> >>> Is it possible to access (write to) the iOS ?Files? folder from an iOS app? I see that there is no specialFolderPath entry for it, but it appears that some apps do allow saving to the folder, and one is then allowed to open such files with an appropriate app. Basically I am thinking of giving the user a chance to save a text file there for processing by other apps. The alternative would involve the internet with all the tedious privacy rules etc. and my particular app doesn?t have any other use for the internet at all. >>> >>> Anyone tried it? >>> >>> Graham >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Mon Oct 12 21:17:58 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 12 Oct 2020 18:17:58 -0700 Subject: Android Status Bar In-Reply-To: <1751f1d8e00.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <056302A7-4315-4ECA-B148-76BF2A16D004@elementarysoftware.com> <1751f1d8e00.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thanks Jacque. Then that IS pretty confusing since the Standalone Application Settings have a ?Status Bar? setting and it appears to control the bar at the top of the screen which is what I would expect to match up with the Status Bar on iOS. I guess that will require a feature request? and maybe a documentation adjustment. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Oct 12, 2020, at 4:20 PM, J. Landman Gay via use-livecode wrote: > > I think "status bar" may be a misnomer and it's referring to the three (or two on Android 10) buttons that are always available at the bottom of the screen. Those are the Back, Home, and (sometimes) the Recents buttons. Virtually all Android devices use these "soft buttons" now. > > I could be wrong but I've never seen those buttons at the top of the screen in the status bar area. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 12, 2020 3:11:18 PM scott--- via use-livecode wrote: > >> I seem able to hide or show the Android status bar using the radio button in the Standalone Application Settings. I don?t seem able to to this on the fly using mobileHideStatusBar or mobileShowStatusBar once the app is running. >> >> Dictionary: >> "mobileHideStatusBar does not have any effect >> on any Android devices with "hardware buttons? >> embedded in the status bar. >> >> I don?t think what I?m testing has these buttons in the status bar, though I?m new to android, so I could be confused. Even so, the fact that I can hide or show the Android status bar from the Standalone Application Settings seems to indicate that it should be possible? >> >> I didn?t see anything in bugzilla. Has anyone else run into this? >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-360-734-4701 >> ------------------------------------------------------ From brian at milby7.com Mon Oct 12 21:51:43 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 12 Oct 2020 21:51:43 -0400 Subject: Android Status Bar In-Reply-To: References: Message-ID: Hmmm... SivaSiva shows/hides the status bar. Checking the launcher app settings, it does have the status bar set to hidden. So based on that, just use the hidden option and show the status bar as required while inside the app. Sent from my iPad > On Oct 12, 2020, at 9:19 PM, scott--- via use-livecode wrote: > > ?Thanks Jacque. Then that IS pretty confusing since the Standalone Application Settings have a ?Status Bar? setting and it appears to control the bar at the top of the screen which is what I would expect to match up with the Status Bar on iOS. I guess that will require a feature request? and maybe a documentation adjustment. > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > >> On Oct 12, 2020, at 4:20 PM, J. Landman Gay via use-livecode wrote: >> >> I think "status bar" may be a misnomer and it's referring to the three (or two on Android 10) buttons that are always available at the bottom of the screen. Those are the Back, Home, and (sometimes) the Recents buttons. Virtually all Android devices use these "soft buttons" now. >> >> I could be wrong but I've never seen those buttons at the top of the screen in the status bar area. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >>> On October 12, 2020 3:11:18 PM scott--- via use-livecode wrote: >>> >>> I seem able to hide or show the Android status bar using the radio button in the Standalone Application Settings. I don?t seem able to to this on the fly using mobileHideStatusBar or mobileShowStatusBar once the app is running. >>> >>> Dictionary: >>> "mobileHideStatusBar does not have any effect >>> on any Android devices with "hardware buttons? >>> embedded in the status bar. >>> >>> I don?t think what I?m testing has these buttons in the status bar, though I?m new to android, so I could be confused. Even so, the fact that I can hide or show the Android status bar from the Standalone Application Settings seems to indicate that it should be possible? >>> >>> I didn?t see anything in bugzilla. Has anyone else run into this? >>> -- >>> Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust!) >>> web https://elementarysoftware.com/ >>> email scott at elementarysoftware.com >>> booth 1-360-734-4701 >>> ------------------------------------------------------ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Tue Oct 13 02:34:06 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 12 Oct 2020 23:34:06 -0700 Subject: Android Status Bar In-Reply-To: References: Message-ID: I decided to make a simple test stack? which I should have done before my initial post. In my experimentation, if the Standalone Application Settings are used to hide the Status Bar then the command ?mobileShowStatusBar" will have have no effect when used later in the running app. If the Standalone Application Settings are used to show the Status Bar then ?mobileHideStatusBar" only hides the icons in the bar (well, most of them) but not the actual bar itself. While this has a certain logic, it is quite different than the way it works on an iPhone. On iOS the actual bar is hidden thereby making that space available to the application. This can be useful when rotating to landscape. In my case I am working to adapt an existing iOS app and I was confused as to why mobileHideStatusBar wasn?t freeing up space when rotating to landscape. (Brian, I looked through the SivaSiva app and couldn?t find any screens with a Status Bar showing though the app is huge and admittedly I did not examine every screen :- ) ? Scott Morrow > On Oct 12, 2020, at 6:51 PM, Brian Milby via use-livecode wrote: > > Hmmm... > > SivaSiva shows/hides the status bar. Checking the launcher app settings, it does have the status bar set to hidden. So based on that, just use the hidden option and show the status bar as required while inside the app. > > Sent from my iPad > >> On Oct 12, 2020, at 9:19 PM, scott--- via use-livecode wrote: >> >> ?Thanks Jacque. Then that IS pretty confusing since the Standalone Application Settings have a ?Status Bar? setting and it appears to control the bar at the top of the screen which is what I would expect to match up with the Status Bar on iOS. I guess that will require a feature request? and maybe a documentation adjustment. >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-360-734-4701 >> ------------------------------------------------------ >> >>> On Oct 12, 2020, at 4:20 PM, J. Landman Gay via use-livecode wrote: >>> >>> I think "status bar" may be a misnomer and it's referring to the three (or two on Android 10) buttons that are always available at the bottom of the screen. Those are the Back, Home, and (sometimes) the Recents buttons. Virtually all Android devices use these "soft buttons" now. >>> >>> I could be wrong but I've never seen those buttons at the top of the screen in the status bar area. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>>> On October 12, 2020 3:11:18 PM scott--- via use-livecode wrote: >>>> >>>> I seem able to hide or show the Android status bar using the radio button in the Standalone Application Settings. I don?t seem able to to this on the fly using mobileHideStatusBar or mobileShowStatusBar once the app is running. >>>> >>>> Dictionary: >>>> "mobileHideStatusBar does not have any effect >>>> on any Android devices with "hardware buttons? >>>> embedded in the status bar. >>>> >>>> I don?t think what I?m testing has these buttons in the status bar, though I?m new to android, so I could be confused. Even so, the fact that I can hide or show the Android status bar from the Standalone Application Settings seems to indicate that it should be possible? >>>> >>>> I didn?t see anything in bugzilla. Has anyone else run into this? >>>> -- >>>> Scott Morrow >>>> >>>> Elementary Software >>>> (Now with 20% less chalk dust!) >>>> web https://elementarysoftware.com/ >>>> email scott at elementarysoftware.com >>>> booth 1-360-734-4701 >>>> ------------------------------------------------------ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Tue Oct 13 03:28:53 2020 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 13 Oct 2020 08:28:53 +0100 Subject: LiveCode server IDE In-Reply-To: <9495bc98-f433-1d94-b397-ce3ed596ebc3@tweedly.net> References: <42C2FDA9-7752-4841-8575-51AD01BCBC1D@me.com> <001e01d6a0a0$3a51a8d0$aef4fa70$@net> <5326DAF3-7412-4EA8-893B-476BFC98AEAD@me.com> <9495bc98-f433-1d94-b397-ce3ed596ebc3@tweedly.net> Message-ID: Hi Alex, Thanks for the description of your workflow, toolset and dev/test rig - an interesting direction of travel, especially as it extends to my current setup. I really like the division of labour between the LC IDE for LC and Coda for html, CSS and native sync to server. Nice too, the 'closed-loop environment, with the local test stack that can call, display (and if necessary interrogate) specific rendered web pages. So, my learning path moves on, from tools to building out my own dev/test scaffolding and moving my thinking from LC stacks with UI to script-only stacks in an LC Server CGI context serving web forms. Plenty of reading to do! :-) Thanks & regards, Keith > On 12 Oct 2020, at 20:51, Alex Tweedly via use-livecode wrote: > > Hi Keith, > > My workflow is not much different from Ralph's. > > Short answer: > > - edit in IDE, test in IDE > > - upload to server using Coda 2 (which I also use to edit non-lc files). > > Long answer: > > - I don't use any of the LCserver specific features - no entangled html, no includes, ... - everything is a regular script-only stack > > - I have a test stack that I use in the IDE which lets me specify which page (and parameters, cookies, etc.) I want, generates the web page and displays the output in a web browser instance within the testing stack. > > - when satisfied, I use Coda 2 to upload the LC files (I never edit them in Coda)) > > - I edit other files (menu definitions, form definitions, web pages, views, etc.) in Coda2 > > I use both on-rev and hostM for servers - both have everything already installed, good support, etc. > > (tbh, if on-rev hadn't had a bad patch a few years ago with email problems, I would probably never have strayed, but it's kind of good to know that hostM is there as an alternate source in case I need it :-) > > Alex. > > On 12/10/2020 15:49, Keith Clarke via use-livecode wrote: > >> Thanks for the response, Ralph. >> >> I've struggled to retain/regain my old local Sites, web server and LC Server on my home Macs. So, I was thinking of embarking down the script-only stacks route, using an on-rev LC-Server instance to do any web-services heavy-lifting work server-to-server, on behalf of client apps that use either LC desktop or simple html forms. >> >> My html & css 'hackery-pokery' has been on Coda2 to date, but its replacement, Nova, still lacks any LiveCode autocompletion. >> >> I may need to learn a new text-editing based IDE tool. Thanks for the Atom suggestion - I see that there's a LiveCode language pack available that includes LC Server, so that may be a better place to play than VS Code, etc. >> >> Thanks & regards, >> Keith >> >>> On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode wrote: >>> >>> Keith, >>> >>> As a follow up... If you have a web server with LC installed running on your >>> local machine then just a ctrl S in the LC IDE will let you test your server >>> script(stack) immediately in the currently open IDE instance. >>> >>> IDE alternatives to edit LC script only stacks are many. I use the Atom for >>> LC builder and html(when Dreamweaver is just to much). >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf >>> Of Keith Clarke via use-livecode >>> Sent: Monday, October 12, 2020 3:18 AM >>> To: use-livecode at lists.runrev.com >>> Cc: Keith Clarke >>> Subject: LiveCode server IDE >>> >>> Hi folks, >>> What is the current state of the art regarding LiveCode server IDE - >>> searching around, this seems down to personal preference of text editor plus >>> FTP? >>> >>> I'm Mac-based and looking to experiment with web services. >>> Thanks and regards, >>> Keith >>> >>> >>> Sent from my iPad >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Tue Oct 13 07:34:26 2020 From: david.bovill at gmail.com (David Bovill) Date: Tue, 13 Oct 2020 12:34:26 +0100 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> Message-ID: <4d12d9ac-af7c-4787-bd77-2811f020d7ce@Spark> Sure Mark. This week I?m doing a sprint on this topic - finishing on Sunday. As part of that work I?ll be recording more videos in Livecode and will post them next week together with some documentation. If you want a quick touch base before that I?d be happy to do a Zoom and do a show / tell. On 11 Oct 2020, 11:37 +0100, Mark Smith , wrote: > Completely off-topic, but could you post a brief description of how you made that video David (or send me a PM)? I have to do something similar in the near future and it would be good to know what kit/software you recorded with. > > Cheers and thanks, > Mark > > > On Oct 9, 2020, at 3:18 PM, David Bovill via use-livecode wrote: > > > > Here is a video describing the bug - or at least I am assuming it is a bug. Very curious to see if anyone else is experiencing this issue: > > > > ? https://vimeo.com/466580164 > > > > On 9 Oct 2020, 14:48 +0100, David Bovill , wrote: > > > I?m getting pretty curious about this bug :) > > > > > > Testing mouse clicks- and not stacks jumping position when moving their location - I find that a stack that is successfully moved between the four quadrants of the screen - accepts mouse clicks accurately in the bottom-left, top-right and bottom right quadrants - but in the top-eft quadrant the mouse-click interactions are offset vertically in a way that is compatible with the stack jump. So if you manage to locate the. Stack without it jumping - in the top-left quadrant the mouse clicks are off. > > > > > > Monitor settings are set for default value of the MacBook Pro display. I think I?ll make a short video of this behaviour. > > > On 9 Oct 2020, 14:35 +0100, David Bovill , wrote: > > > > Also tested on Livecode 8.1.5 with same results. > > > > On 9 Oct 2020, 14:00 +0100, David Bovill , wrote: > > > > > > > > > > Windows intermittently jump to a location on the screen when I move windows. It?s got too annoying to ignore. > > > > > > > > > > ? Is anyone else having this problem? > > > > > > > > > > I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this without any of my own code such just was IDE stacks. This I ?think? is quite a long standing bug that I suspect is related to the global coordinate system as I have been working around this for quite a while now. > > > > > > > > > > > > > > > Detail > > > > > The location of the jump seems to be the same horizontal x location. But with the vertical value being reset to the halfway point. > > > > > > > > > > I am testing by. Simply moving the message box. It is intermittent - so occurring about once every 5 moves, and strangely is happening only when the top left of the stack window is within the top left quadrant of the screen. Using. The following code int eh message box I find the top of the message box stack is always 492 after a jump (see below). This appears to be related to half the screen less the decorations like menu? > > > > > put the screenrect & CR & the rect of stack? Message box" > > > > > > > > > > 0,0,1680,1050 > > > > > 215,492,634,640 > > > > > > > > > > As a further indication that the problem is due to the IDE, I find that creating a test stack (no scripts or controls) exhibits the same behaviour - but this behaviour can be suppressed by choosing ?Suppress Messages? from the ?Development? menu. This suppression has no effect on the message box or other IDE windows which still jump intermittently. > > > > > > > > > > The problem is most intense when working with multiple screens. For at least a couple of years stacks I create and place on second or third monitors receive mouse clicks in the wrong location. This happens on different machines, and different. Monitor setups. Only tested on Macs. > > > > > > > > > > I am currently creating a multiscreen app - so taking the tracking down. Of this bug more seriously. The current tests are one on my laptop without external monitors, and having restarted the computer (several times). Applications other than Livecode don?t suffer this problem. > > > > > > > > > > How should I report this bug - should I submit a video / screen recording? > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Tue Oct 13 09:53:53 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 13 Oct 2020 14:53:53 +0100 Subject: Bug: jumping stack windows (when supress messages is off) In-Reply-To: <4d12d9ac-af7c-4787-bd77-2811f020d7ce@Spark> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> <4d12d9ac-af7c-4787-bd77-2811f020d7ce@Spark> Message-ID: Thanks David, very kind of you to offer. Could we schedule for next week (or the one after)? I?m also in a bit of a crunch week myself so next week or after would work out better for me as well. Cheers, Mark > On Oct 13, 2020, at 12:34 PM, David Bovill wrote: > > Sure Mark. This week I?m doing a sprint on this topic - finishing on Sunday. As part of that work I?ll be recording more videos in Livecode and will post them next week together with some documentation. If you want a quick touch base before that I?d be happy to do a Zoom and do a show / tell. > On 11 Oct 2020, 11:37 +0100, Mark Smith , wrote: >> Completely off-topic, but could you post a brief description of how you made that video David (or send me a PM)? I have to do something similar in the near future and it would be good to know what kit/software you recorded with. >> >> Cheers and thanks, >> Mark >> >>> On Oct 9, 2020, at 3:18 PM, David Bovill via use-livecode wrote: >>> >>> Here is a video describing the bug - or at least I am assuming it is a bug. Very curious to see if anyone else is experiencing this issue: >>> >>> ? https://vimeo.com/466580164 >>> >>> On 9 Oct 2020, 14:48 +0100, David Bovill , wrote: >>>> I?m getting pretty curious about this bug :) >>>> >>>> Testing mouse clicks- and not stacks jumping position when moving their location - I find that a stack that is successfully moved between the four quadrants of the screen - accepts mouse clicks accurately in the bottom-left, top-right and bottom right quadrants - but in the top-eft quadrant the mouse-click interactions are offset vertically in a way that is compatible with the stack jump. So if you manage to locate the. Stack without it jumping - in the top-left quadrant the mouse clicks are off. >>>> >>>> Monitor settings are set for default value of the MacBook Pro display. I think I?ll make a short video of this behaviour. >>>> On 9 Oct 2020, 14:35 +0100, David Bovill , wrote: >>>>> Also tested on Livecode 8.1.5 with same results. >>>>> On 9 Oct 2020, 14:00 +0100, David Bovill , wrote: >>>>>> >>>>>> Windows intermittently jump to a location on the screen when I move windows. It?s got too annoying to ignore. >>>>>> >>>>>> ? Is anyone else having this problem? >>>>>> >>>>>> I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this without any of my own code such just was IDE stacks. This I ?think? is quite a long standing bug that I suspect is related to the global coordinate system as I have been working around this for quite a while now. >>>>>> >>>>>> >>>>>> Detail >>>>>> The location of the jump seems to be the same horizontal x location. But with the vertical value being reset to the halfway point. >>>>>> >>>>>> I am testing by. Simply moving the message box. It is intermittent - so occurring about once every 5 moves, and strangely is happening only when the top left of the stack window is within the top left quadrant of the screen. Using. The following code int eh message box I find the top of the message box stack is always 492 after a jump (see below). This appears to be related to half the screen less the decorations like menu? >>> > > > put the screenrect & CR & the rect of stack? Message box" >>> > > > >>> > > > 0,0,1680,1050 >>> > > > 215,492,634,640 >>>>>> >>>>>> As a further indication that the problem is due to the IDE, I find that creating a test stack (no scripts or controls) exhibits the same behaviour - but this behaviour can be suppressed by choosing ?Suppress Messages? from the ?Development? menu. This suppression has no effect on the message box or other IDE windows which still jump intermittently. >>>>>> >>>>>> The problem is most intense when working with multiple screens. For at least a couple of years stacks I create and place on second or third monitors receive mouse clicks in the wrong location. This happens on different machines, and different. Monitor setups. Only tested on Macs. >>>>>> >>>>>> I am currently creating a multiscreen app - so taking the tracking down. Of this bug more seriously. The current tests are one on my laptop without external monitors, and having restarted the computer (several times). Applications other than Livecode don?t suffer this problem. >>>>>> >>>>>> How should I report this bug - should I submit a video / screen recording? >>>>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> From livfoss at mac.com Tue Oct 13 11:09:13 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 13 Oct 2020 17:09:13 +0200 Subject: The iOS "Files" folder In-Reply-To: <1FB95C01-BE30-485C-9F3F-C3C6C6AD1B26@all-auctions.com> References: <31C1FD7B-5F48-4163-8319-60F93AEA5132@mac.com> <1FB95C01-BE30-485C-9F3F-C3C6C6AD1B26@all-auctions.com> Message-ID: <4883C506-45B9-402E-B889-4998DBE59CF8@mac.com> Elanor has given me some more information about the very poorly documented mergPropActivity - I don?t know how to get someone who really understands it to provide meaningful documentation. Meanwhile, thanks to Elanor, I can generate a text file within my iOS app and can have a button within the app that opens ?activity view? on the phone which allows the user to save the file to the ?Files? folder outside of the app, or into iCloud, so outside the sandbox; one can also copy to the clipboard, also outside the sandbox. Before asking Support I had never heard of activity views, which seem to be iOS only. It looks from the minimum documentation I have that you could do much the same with an image, but I have not tried it. The various options available to the user in these circumstances presumably change with the file type, although I am not sure of this. The test application that Elanor gave me did not allow the user to email the text for example, but I have absolutely no idea why. It seems strange to have such a sophisticated degree of functionality available and then apparently no adequate instructions as to how it works, the external context, or indeed the full range of options for its parameters. Should I raise this lack of documentation as a bug? Graham > On 12 Oct 2020, at 21:34, Rick Harrison via use-livecode wrote: > > Hi Graham, > > You can write to your own app?s preference?s folder. > Due to sandboxing Apple doesn?t want you writing > stuff elsewhere. You can sometimes write to special > folders, I don?t know the list off of the top of my head > however. > > Keep us informed of your progress. > > Rick > >> On Oct 12, 2020, at 1:19 PM, Graham Samuel via use-livecode wrote: >> >> I am getting a bit nearer answering my own question, or at least having it answered by the mother ship. Elanor Buchanan has introduced me to ?MergPopActivity? but so far I am just too ignorant to use it. Hopefully I?ll have more information soon. Meanwhile it would be interesting to know if anyone on this list has ever used it. >> >> Graham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Oct 13 11:23:02 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 13 Oct 2020 15:23:02 +0000 Subject: The iOS "Files" folder In-Reply-To: References: <97BFE269-6FAC-458A-80C2-0C452E4B768A@iotecdigital.com> Message-ID: <99828D6E-8FE5-463F-8050-36C0A3010949@iotecdigital.com> I?ll have to take issue with that one. If your device is set to sync to the cloud, your notes will be preserver. There?s no unlikely about it. The only way they would not sync is if you had sync turned off for notes. In that case it is not only likely but certain you will lose any new data since sync was disabled. If it did not work this way, iCould would die a quick and horrible death. Bob S On Oct 12, 2020, at 3:09 PM, John Balgenorth via use-livecode > wrote: Most likely it will not be saved to the icloud independently so the files you have for that app even though they exist with the app on your icloud backup will be deleted with the app. From bobsneidar at iotecdigital.com Tue Oct 13 11:24:15 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 13 Oct 2020 15:24:15 +0000 Subject: The iOS "Files" folder In-Reply-To: <04813B18-1AD1-48F0-845B-33F2E1E3A413@icloud.com> References: <1751f1884f0.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04813B18-1AD1-48F0-845B-33F2E1E3A413@icloud.com> Message-ID: <04860151-E80E-4A8E-B9F2-68336D4FAE2B@iotecdigital.com> I?m gonna say you have a bone to pick with Apple. Bob S On Oct 12, 2020, at 4:34 PM, John Balgenorth via use-livecode > wrote: So for school children who are interested in keeping their work for the rest of their life it all depends on Apples mood since it will only work if the app is still available on the App Store. From bobsneidar at iotecdigital.com Tue Oct 13 11:30:09 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 13 Oct 2020 15:30:09 +0000 Subject: Anyone archived the information from http://andregarzia.com/async.irev In-Reply-To: <61EEEB8D-2B22-480C-944A-CA93F6FFDC7D@m-r-d.de> References: <1090C1F0-3E15-4367-B74E-039523D40E3E@m-r-d.de> <59E862C7-DB2C-4ABC-91F7-2EE689FC205E@gmail.com> <92dd7dab-1d05-ef3a-5e85-b4196dddca6f@sonic.net> <61EEEB8D-2B22-480C-944A-CA93F6FFDC7D@m-r-d.de> Message-ID: Whew! That would have been a substantial loss. I remember when this was the hot topic of the day. Nice work Andre. Bob S On Oct 12, 2020, at 2:30 PM, matthias rebbe via use-livecode > wrote: Hi Andre, thanks for the offer, but i am sure i found now the complete information. There was also an article written by you in the RevUp newsletter on the 12th of August 2010. Here's the link, if anyone else is interested: http://newsletters.livecode.com/august/issue98/newsletter2.php Regards, - Matthias Rebbe Life Is Too Short For Boring Code From andrew at midwestcoastmedia.com Tue Oct 13 12:19:19 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Tue, 13 Oct 2020 12:19:19 -0400 Subject: The iOS "Files" folder In-Reply-To: References: Message-ID: <8FC29C9B-0A48-4239-B621-3DEB262FAC35@midwestcoastmedia.com> > It looks from the minimum documentation I have that you could do much the same with an image, but I have not tried it. I use this in a (now abandoned) feature of an app to take a screenshot of the mobile stack and share the image. Switched to this after mergSocial stopped working when Apple made some core OS updates. The entire MergExt suite is extremely powerful and extremely under-documented. put specialFolderPath("documents") & "/IndianaOnTap.png" into tFilePath put the rect of this card into tRect put the bottom of field "promoName" into tBottom put item 1 of tRect & COMMA & item 2 of tRect & COMMA & item 3 of tRect & COMMA & tBottom into tExportRect export snapshot from rect tExportRect of this card to file tFilePath as PNG mergPopActivity "Indiana On Tap just hooked me up!",tFilePath,"" ?Andrew Bell From waprothero at gmail.com Tue Oct 13 12:53:06 2020 From: waprothero at gmail.com (William Prothero) Date: Tue, 13 Oct 2020 09:53:06 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: References: Message-ID: <77CB874A-1CF4-4C04-BDF8-E666FA44FE03@gmail.com> I am copying a button from one card to another. The font size of the label changes from that of the original to a large font and I can?t figure out how to change the textsize of the label. I keep getting an error. I?m probably missing something, but ?.. How do I change the textsize of the font in the label of a button? Tnx, Bill William A. Prothero https://earthlearningsolutions.org From ambassador at fourthworld.com Tue Oct 13 13:59:59 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 13 Oct 2020 10:59:59 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: <77CB874A-1CF4-4C04-BDF8-E666FA44FE03@gmail.com> References: <77CB874A-1CF4-4C04-BDF8-E666FA44FE03@gmail.com> Message-ID: <2b9e6a5a-e5c3-c461-fc1c-48eb8a628ff4@fourthworld.com> William Prothero wrote: > I am copying a button from one card to another. The font size of the > label changes from that of the original to a large font and I can?t > figure out how to change the textsize of the label. I keep getting an > error. set the textSize of btn "SoAndSo" to 14 The curious part is that it changed when you pasted it. If you have a textSize specified for the card it came from but not the card it was pasted in, that would govern all controls that do not have their own testSize property explicitly set. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From phil at pdslabs.net Tue Oct 13 14:35:48 2020 From: phil at pdslabs.net (Phil Davis) Date: Tue, 13 Oct 2020 11:35:48 -0700 Subject: The iOS "Files" folder In-Reply-To: <8FC29C9B-0A48-4239-B621-3DEB262FAC35@midwestcoastmedia.com> References: <8FC29C9B-0A48-4239-B621-3DEB262FAC35@midwestcoastmedia.com> Message-ID: <763873b3-645e-35bc-7357-5fb9be857f1c@pdslabs.net> On a related note, there is a "File Sharing" check box in the iOS > Requirements tab > Requirements and Restrictions section of the Standalone App settings. What does that do? Thanks - Phil Davis On 10/13/20 9:19 AM, Andrew at MidWest Coast Media via use-livecode wrote: >> It looks from the minimum documentation I have that you could do much the same with an image, but I have not tried it. > I use this in a (now abandoned) feature of an app to take a screenshot of the mobile stack and share the image. Switched to this after mergSocial stopped working when Apple made some core OS updates. The entire MergExt suite is extremely powerful and extremely under-documented. > > > put specialFolderPath("documents") & "/IndianaOnTap.png" into tFilePath > put the rect of this card into tRect > put the bottom of field "promoName" into tBottom > put item 1 of tRect & COMMA & item 2 of tRect & COMMA & item 3 of tRect & COMMA & tBottom into tExportRect > export snapshot from rect tExportRect of this card to file tFilePath as PNG > mergPopActivity "Indiana On Tap just hooked me up!",tFilePath,"" > > > ?Andrew Bell > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From david.bovill at gmail.com Tue Oct 13 18:08:46 2020 From: david.bovill at gmail.com (David Bovill) Date: Tue, 13 Oct 2020 23:08:46 +0100 Subject: Is this a bug? In-Reply-To: <796c8b89-b010-5289-185c-59e90a04c4b8@researchware.com> References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> <5a6b7d8e-b167-c4c0-7977-b1c780307f02@researchware.com> <796c8b89-b010-5289-185c-59e90a04c4b8@researchware.com> Message-ID: Does anyone else have this behaviour in MacOs? Note I have no plugins installed or loaded in the demo. The same behaviour happens on different laptops. ? https://vimeo.com/466580164 On 9 Oct 2020, 16:33 +0100, Paul Dupuis via use-livecode , wrote: > Sorry, > > When I read you posts and saw "windows" I thought you were talking about > this happening on Microsoft Windows. > > I have seen something similar on macOS, but only when you have dual > monitors and the second monitor has it's top positioned higher than the > primary monitor. > > > > > > > On 10/9/2020 10:23 AM, Paul Dupuis via use-livecode wrote: > > Window 10 has a snap to feature on by default that will try to snap > > any window of any application to the edges and resize it to have the > > screen (or perhaps other options) if the windows is being dragged and > > the mouse moves close to a screen edge. I have not explored the > > feature fully, so I am not sure of the details. > > > > > > > > On 10/9/2020 9:48 AM, David Bovill via use-livecode wrote: > > > I?m getting pretty curious about this bug :) > > > > > > Testing??mouse clicks- and not stacks jumping position when moving > > > their location - I find that a stack that is successfully moved > > > between the four quadrants of the screen - accepts mouse clicks > > > accurately in the bottom-left, top-right and bottom right quadrants - > > > but in the top-eft quadrant the mouse-click interactions are offset > > > vertically in a way that is compatible with the stack jump. So if you > > > manage to locate the. Stack without it jumping - in the top-left > > > quadrant the mouse clicks are off. > > > > > > Monitor settings are set for default value of the MacBook Pro > > > display. I think I?ll make a short video of this behaviour. > > > On 9 Oct 2020, 14:35 +0100, David Bovill , > > > wrote: > > > > Also tested on Livecode 8.1.5 with same results. > > > > On 9 Oct 2020, 14:00 +0100, David Bovill , > > > > wrote: > > > > > Windows intermittently jump to a location on the screen when I move > > > > > windows. It?s got too annoying to ignore. > > > > > > > > > > ? Is anyone else having this problem? > > > > > > > > > > I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing > > > > > this without any of my own code such just was IDE stacks. This I > > > > > ?think? is quite a long standing bug that I suspect is related to > > > > > the global coordinate system as I have been working around this for > > > > > quite a while now. > > > > > > > > > > > > > > > Detail > > > > > The location of the jump seems to be the same horizontal x > > > > > location. But with the vertical value being reset to the halfway > > > > > point. > > > > > > > > > > I am testing by. Simply moving the message box. It is intermittent > > > > > - so occurring about once every 5 moves, and strangely is happening > > > > > only when the top left of the stack window is within the top left > > > > > quadrant of the screen. Using. The following code int eh message > > > > > box I find the top of the message box stack is always 492 after a > > > > > jump (see below). This appears to be related to half the screen > > > > > less the decorations like menu? > > > ????> > put?the screenrect?&?CR?&?the?rect?of stack? Message box" > > > ????> > > > > ????> > 0,0,1680,1050 > > > ????> > 215,492,634,640 > > > > > As a further indication that the problem is due to the IDE, I find > > > > > that creating a test stack (no scripts or controls) exhibits the > > > > > same behaviour - but this behaviour can be suppressed by choosing > > > > > ?Suppress Messages? from the ?Development? menu. This suppression > > > > > has no effect on the message box or other IDE windows which still > > > > > jump intermittently. > > > > > > > > > > The problem is most intense when working with multiple screens. For > > > > > at least a couple of years stacks I create and place on second or > > > > > third monitors receive mouse clicks in the wrong location. This > > > > > happens on different machines, and different. Monitor setups. Only > > > > > tested on Macs. > > > > > > > > > > I am currently creating a multiscreen app - so taking the tracking > > > > > down. Of this bug more seriously. The current tests are one on my > > > > > laptop without external monitors, and having restarted the computer > > > > > (several times). Applications other than Livecode don?t suffer this > > > > > problem. > > > > > > > > > > How should I report this bug - should I submit a video / screen > > > > > recording? > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From davros at bellaliant.net Tue Oct 13 18:40:21 2020 From: davros at bellaliant.net (John McKenzie) Date: Tue, 13 Oct 2020 19:40:21 -0300 Subject: Interface Resolution Message-ID: <20201013194021.683808dc@poesidon> Hello, all. I do not want to be asking this as it seems like something I can easily look up, and it is a simple thing, but I am asking because I just could not find out on my own despite trying. Trying allot at that. The interface for the Livecode IDE is too small on my fancy, new 4k monitor. I have changed OS settings to help with other programs and it has for most of them. Some of the unaffected ones had built in features to help with the interface resolution and others are still a problem for me. Livecode is unaffected by everything. Would someone please tell me if Livecode has anything inside it to change the IDE interface resolution or if I have to depend on my operating system to take care of it? Livecode 9.6 build 15516 Kubuntu 18.04.1 Every reference I find talks about making your livecode stacks/apps look better in 4k while all I care about right now is getting the IDE to look legible at 4k. Thanks for any help provided. Sorry to ask something like this on the list. From bogdanoff at me.com Tue Oct 13 20:09:00 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 13 Oct 2020 17:09:00 -0700 Subject: Interface Resolution In-Reply-To: <20201013194021.683808dc@poesidon> References: <20201013194021.683808dc@poesidon> Message-ID: <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> Hi, You could use scaleFactor to resize the IDE elements, such as: set the scalefactor of stack "revtools" to 2 If you type into the message box: put the stacks you?ll get a list of the IDE stacks: /Applications/LiveCode Business 9.5.1.app/Contents/Tools/Toolset/palettes/message box/revmessagebox.8.rev /Applications/LiveCode Business 9.5.1.app/Contents/Tools/Toolset/palettes/menubar/revmenubar.livecodescript /Applications/LiveCode Business 9.5.1.app/Contents/Tools/Toolset/palettes/tools/revtools.livecodescript Having a script somewhere that sets the scaleFactor for each should do the trick. Peter Bogdanoff > On Oct 13, 2020, at 3:40 PM, John McKenzie via use-livecode wrote: > > > Hello, all. > > I do not want to be asking this as it seems like something I can > easily look up, and it is a simple thing, but I am asking because I just > could not find out on my own despite trying. Trying allot at that. > > > The interface for the Livecode IDE is too small on my fancy, new 4k > monitor. I have changed OS settings to help with other programs and > it has for most of them. Some of the unaffected ones had built in > features to help with the interface resolution and others are still a > problem for me. > > Livecode is unaffected by everything. Would someone please tell me if > Livecode has anything inside it to change the IDE interface resolution > or if I have to depend on my operating system to take care of it? > > Livecode 9.6 build 15516 > Kubuntu 18.04.1 > > > Every reference I find talks about making your livecode stacks/apps > look better in 4k while all I care about right now is getting the IDE > to look legible at 4k. > > Thanks for any help provided. Sorry to ask something like this on the > list. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown.pacifier at icloud.com Tue Oct 13 20:34:45 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Tue, 13 Oct 2020 17:34:45 -0700 Subject: The iOS "Files" folder In-Reply-To: <04860151-E80E-4A8E-B9F2-68336D4FAE2B@iotecdigital.com> References: <04860151-E80E-4A8E-B9F2-68336D4FAE2B@iotecdigital.com> Message-ID: <675EE7D9-017C-4C67-B65A-3DF6AD972F18@icloud.com> Think and say anything you want! A lot of people value accessing their files. Someone will eventually make a device that allows you to save your files properly and you will see a lot of people switch platforms. If you have any evidence suggesting people do not care about their files please provide it instead of attacking me with claims I am just complaining about Apple in general. And by the way, I am the one on this list who supported Apple and their App Store practices. Explain that about someone just attacking Apple. JB > On Oct 13, 2020, at 8:26 AM, Bob Sneidar via use-livecode wrote: > > ?I?m gonna say you have a bone to pick with Apple. > > Bob S > > > On Oct 12, 2020, at 4:34 PM, John Balgenorth via use-livecode > wrote: > > So for school children who are interested in keeping their work > for the rest of their life it all depends on Apples mood since it > will only work if the app is still available on the App Store. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown.pacifier at icloud.com Tue Oct 13 20:40:51 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Tue, 13 Oct 2020 17:40:51 -0700 Subject: The iOS "Files" folder In-Reply-To: <99828D6E-8FE5-463F-8050-36C0A3010949@iotecdigital.com> References: <99828D6E-8FE5-463F-8050-36C0A3010949@iotecdigital.com> Message-ID: One my iPad I have everything turned on for iCloud and I am sure everything is backed up with my backup file. I do not see all of my individual files when I access icloud except for ones I added through a different means than the application. The issue of apps becoming outdated and any files being locked in with the app is serious to me. Not a big issue to solve if Apple wants to. JB > On Oct 13, 2020, at 8:24 AM, Bob Sneidar via use-livecode wrote: > > ?I?ll have to take issue with that one. If your device is set to sync to the cloud, your notes will be preserver. There?s no unlikely about it. The only way they would not sync is if you had sync turned off for notes. In that case it is not only likely but certain you will lose any new data since sync was disabled. > > If it did not work this way, iCould would die a quick and horrible death. > > Bob S > > > On Oct 12, 2020, at 3:09 PM, John Balgenorth via use-livecode > wrote: > > Most likely it will not be saved to the > icloud independently so the files you have for that app even > though they exist with the app on your icloud backup will be > deleted with the app. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Tue Oct 13 20:54:37 2020 From: waprothero at gmail.com (William Prothero) Date: Tue, 13 Oct 2020 17:54:37 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: <2b9e6a5a-e5c3-c461-fc1c-48eb8a628ff4@fourthworld.com> References: <77CB874A-1CF4-4C04-BDF8-E666FA44FE03@gmail.com> <2b9e6a5a-e5c3-c461-fc1c-48eb8a628ff4@fourthworld.com> Message-ID: Richard: After the button is copied to the destination card, I do: set the textsize of btnRef to the textsize of srcBtnRef the contents of btnRef is: btn "doNext2" of card "WhatsTheMystery-2" of stack "/Users/AfilePath/PlateTectonics.livecode" srcBtnRef is pretty much the same thing with the card that holds the object library. It has no effect. But then, I?ve been known to screw up these references, but since the copy works, I think it?s ok. What?s odd, is that it seems to be picking up the fontsize of some of the other fields on the destination card. So, for now, I?ve given up and use a field for a button, which I like better anyway. I?ll look at this again to see if I made a stupid mistake. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode wrote: > > William Prothero wrote: > > > I am copying a button from one card to another. The font size of the > > label changes from that of the original to a large font and I can?t > > figure out how to change the textsize of the label. I keep getting an > > error. > > set the textSize of btn "SoAndSo" to 14 > > The curious part is that it changed when you pasted it. If you have a textSize specified for the card it came from but not the card it was pasted in, that would govern all controls that do not have their own testSize property explicitly set. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Oct 13 22:31:57 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 13 Oct 2020 19:31:57 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: References: <77CB874A-1CF4-4C04-BDF8-E666FA44FE03@gmail.com> <2b9e6a5a-e5c3-c461-fc1c-48eb8a628ff4@fourthworld.com> Message-ID: <5b6119b4-888a-c7cd-29d1-eded347cde3c@sonic.net> On 10/13/20 5:54 PM, William Prothero via use-livecode wrote: > set the textsize of btnRef to the textsize of srcBtnRef Try set the textsize of btnRef to the effective textsize of srcBtnRef -- Mark Wieder ahsoftware at gmail.com From merakosp at gmail.com Wed Oct 14 04:22:24 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 14 Oct 2020 11:22:24 +0300 Subject: Is this a bug? In-Reply-To: References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> <5a6b7d8e-b167-c4c0-7977-b1c780307f02@researchware.com> <796c8b89-b010-5289-185c-59e90a04c4b8@researchware.com> Message-ID: Hello David, Have you tried trashing your Prefs? 1. Quit LC 2. Delete files: /Users//Library/Preferences/RunRev/livecode.rev /Users//Library/Preferences/RunRev/livecode7.rev 3. Open LC I hope this fixes the problem :) Kind regards, Panos -- On Wed, 14 Oct 2020 at 01:10, David Bovill via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone else have this behaviour in MacOs? Note I have no plugins > installed or loaded in the demo. The same behaviour happens on different > laptops. > > ? https://vimeo.com/466580164 > > On 9 Oct 2020, 16:33 +0100, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Sorry, > > > > When I read you posts and saw "windows" I thought you were talking about > > this happening on Microsoft Windows. > > > > I have seen something similar on macOS, but only when you have dual > > monitors and the second monitor has it's top positioned higher than the > > primary monitor. > > > > > > > > > > > > > > On 10/9/2020 10:23 AM, Paul Dupuis via use-livecode wrote: > > > Window 10 has a snap to feature on by default that will try to snap > > > any window of any application to the edges and resize it to have the > > > screen (or perhaps other options) if the windows is being dragged and > > > the mouse moves close to a screen edge. I have not explored the > > > feature fully, so I am not sure of the details. > > > > > > > > > > > > On 10/9/2020 9:48 AM, David Bovill via use-livecode wrote: > > > > I?m getting pretty curious about this bug :) > > > > > > > > Testing mouse clicks- and not stacks jumping position when moving > > > > their location - I find that a stack that is successfully moved > > > > between the four quadrants of the screen - accepts mouse clicks > > > > accurately in the bottom-left, top-right and bottom right quadrants - > > > > but in the top-eft quadrant the mouse-click interactions are offset > > > > vertically in a way that is compatible with the stack jump. So if you > > > > manage to locate the. Stack without it jumping - in the top-left > > > > quadrant the mouse clicks are off. > > > > > > > > Monitor settings are set for default value of the MacBook Pro > > > > display. I think I?ll make a short video of this behaviour. > > > > On 9 Oct 2020, 14:35 +0100, David Bovill , > > > > wrote: > > > > > Also tested on Livecode 8.1.5 with same results. > > > > > On 9 Oct 2020, 14:00 +0100, David Bovill , > > > > > wrote: > > > > > > Windows intermittently jump to a location on the screen when I > move > > > > > > windows. It?s got too annoying to ignore. > > > > > > > > > > > > ? Is anyone else having this problem? > > > > > > > > > > > > I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing > > > > > > this without any of my own code such just was IDE stacks. This I > > > > > > ?think? is quite a long standing bug that I suspect is related to > > > > > > the global coordinate system as I have been working around this > for > > > > > > quite a while now. > > > > > > > > > > > > > > > > > > Detail > > > > > > The location of the jump seems to be the same horizontal x > > > > > > location. But with the vertical value being reset to the halfway > > > > > > point. > > > > > > > > > > > > I am testing by. Simply moving the message box. It is > intermittent > > > > > > - so occurring about once every 5 moves, and strangely is > happening > > > > > > only when the top left of the stack window is within the top left > > > > > > quadrant of the screen. Using. The following code int eh message > > > > > > box I find the top of the message box stack is always 492 after a > > > > > > jump (see below). This appears to be related to half the screen > > > > > > less the decorations like menu? > > > > > > put the screenrect & CR & the rect of stack? Message box" > > > > > > > > > > > > 0,0,1680,1050 > > > > > > 215,492,634,640 > > > > > > As a further indication that the problem is due to the IDE, I > find > > > > > > that creating a test stack (no scripts or controls) exhibits the > > > > > > same behaviour - but this behaviour can be suppressed by choosing > > > > > > ?Suppress Messages? from the ?Development? menu. This suppression > > > > > > has no effect on the message box or other IDE windows which still > > > > > > jump intermittently. > > > > > > > > > > > > The problem is most intense when working with multiple screens. > For > > > > > > at least a couple of years stacks I create and place on second or > > > > > > third monitors receive mouse clicks in the wrong location. This > > > > > > happens on different machines, and different. Monitor setups. > Only > > > > > > tested on Macs. > > > > > > > > > > > > I am currently creating a multiscreen app - so taking the > tracking > > > > > > down. Of this bug more seriously. The current tests are one on my > > > > > > laptop without external monitors, and having restarted the > computer > > > > > > (several times). Applications other than Livecode don?t suffer > this > > > > > > problem. > > > > > > > > > > > > How should I report this bug - should I submit a video / screen > > > > > > recording? > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at me.com Wed Oct 14 07:00:46 2020 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 14 Oct 2020 12:00:46 +0100 Subject: Correct use of string A 'is in' string B? Message-ID: <0164F1A7-0936-40F2-8E2D-30E113B22F7F@me.com> Hi folks, Am I misreading the docs and abusing the 'is in' logic or syntax here...? In my test case, the browser widget URL takes the form (truncated) https://somewhere.com/callback.lc#access_token=0123456789&... This is visible in the field "ResponseURL" but the if statement is not firing. Is this a syntax or logic error on my part? on browserNavigateComplete get the URL of widget "Browser" put it into field "ResponseURL" # Update Access Token put it into tURL if "access_code" is in tURL then put tURL do UpdateAccessToken(tURL) end if get the HTMLText of widget "Browser" put it into field "Content" end browserNavigateComplete BTW I've also tried the inverse if 'tURL contains 'access_code" Thanks & regards, Keith From tore.nilsen at me.com Wed Oct 14 07:04:34 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 14 Oct 2020 13:04:34 +0200 Subject: Correct use of string A 'is in' string B? In-Reply-To: <0164F1A7-0936-40F2-8E2D-30E113B22F7F@me.com> References: <0164F1A7-0936-40F2-8E2D-30E113B22F7F@me.com> Message-ID: In the url itself you use access_token but in your search you use access_code. May this be the reason for your problems? Best regards Tore Nilsen > 14. okt. 2020 kl. 13:00 skrev Keith Clarke via use-livecode : > > Hi folks, > Am I misreading the docs and abusing the 'is in' logic or syntax here...? > > In my test case, the browser widget URL takes the form (truncated) https://somewhere.com/callback.lc#access_token=0123456789&... > > This is visible in the field "ResponseURL" but the if statement is not firing. > > Is this a syntax or logic error on my part? > on browserNavigateComplete > > get the URL of widget "Browser" > put it into field "ResponseURL" > > # Update Access Token > > put it into tURL > > if "access_code" is in tURL then > > put tURL > > do UpdateAccessToken(tURL) > > end if > > get the HTMLText of widget "Browser" > > put it into field "Content" > > end browserNavigateComplete > > BTW I've also tried the inverse if 'tURL contains 'access_code" > > Thanks & regards, > Keith > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Wed Oct 14 07:22:56 2020 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 14 Oct 2020 12:22:56 +0100 Subject: Correct use of string A 'is in' string B? In-Reply-To: References: <0164F1A7-0936-40F2-8E2D-30E113B22F7F@me.com> Message-ID: Oh, dear - that's embarrassing! Thanks Tore - time to take a break and check for updates on my eyeball firmware! :-D Best, Keith > On 14 Oct 2020, at 12:04, Tore Nilsen via use-livecode wrote: > > In the url itself you use access_token but in your search you use access_code. May this be the reason for your problems? > > Best regards > Tore Nilsen > >> 14. okt. 2020 kl. 13:00 skrev Keith Clarke via use-livecode : >> >> Hi folks, >> Am I misreading the docs and abusing the 'is in' logic or syntax here...? >> >> In my test case, the browser widget URL takes the form (truncated) https://somewhere.com/callback.lc#access_token=0123456789&... >> >> This is visible in the field "ResponseURL" but the if statement is not firing. >> >> Is this a syntax or logic error on my part? >> on browserNavigateComplete >> >> get the URL of widget "Browser" >> put it into field "ResponseURL" >> >> # Update Access Token >> >> put it into tURL >> >> if "access_code" is in tURL then >> >> put tURL >> >> do UpdateAccessToken(tURL) >> >> end if >> >> get the HTMLText of widget "Browser" >> >> put it into field "Content" >> >> end browserNavigateComplete >> >> BTW I've also tried the inverse if 'tURL contains 'access_code" >> >> Thanks & regards, >> Keith >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Wed Oct 14 07:25:56 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 14 Oct 2020 13:25:56 +0200 Subject: Correct use of string A 'is in' string B? In-Reply-To: References: <0164F1A7-0936-40F2-8E2D-30E113B22F7F@me.com> Message-ID: <9CFACC5D-ED00-4ACA-8777-B5291F1EAAA7@me.com> You should not be to embarrassed. There is a particular reason why I spotted this. I think we have all been there at one time or another. Best regards Tore > 14. okt. 2020 kl. 13:22 skrev Keith Clarke via use-livecode : > > Oh, dear - that's embarrassing! Thanks Tore - time to take a break and check for updates on my eyeball firmware! :-D > Best, > Keith > >> On 14 Oct 2020, at 12:04, Tore Nilsen via use-livecode wrote: >> >> In the url itself you use access_token but in your search you use access_code. May this be the reason for your problems? >> >> Best regards >> Tore Nilsen >> >>> 14. okt. 2020 kl. 13:00 skrev Keith Clarke via use-livecode : >>> >>> Hi folks, >>> Am I misreading the docs and abusing the 'is in' logic or syntax here...? >>> >>> In my test case, the browser widget URL takes the form (truncated) https://somewhere.com/callback.lc#access_token=0123456789&... >>> >>> This is visible in the field "ResponseURL" but the if statement is not firing. >>> >>> Is this a syntax or logic error on my part? >>> on browserNavigateComplete >>> >>> get the URL of widget "Browser" >>> put it into field "ResponseURL" >>> >>> # Update Access Token >>> >>> put it into tURL >>> >>> if "access_code" is in tURL then >>> >>> put tURL >>> >>> do UpdateAccessToken(tURL) >>> >>> end if >>> >>> get the HTMLText of widget "Browser" >>> >>> put it into field "Content" >>> >>> end browserNavigateComplete >>> >>> BTW I've also tried the inverse if 'tURL contains 'access_code" >>> >>> Thanks & regards, >>> Keith >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Wed Oct 14 07:50:13 2020 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 14 Oct 2020 12:50:13 +0100 Subject: Correct use of string A 'is in' string B? In-Reply-To: <9CFACC5D-ED00-4ACA-8777-B5291F1EAAA7@me.com> References: <0164F1A7-0936-40F2-8E2D-30E113B22F7F@me.com> <9CFACC5D-ED00-4ACA-8777-B5291F1EAAA7@me.com> Message-ID: <1070EDA9-BF49-4E92-872F-DE650BB237F5@me.com> Indeed. The joy of web services integration projects - sometimes there are more standards and variations of words than characters in a crime drama! :) Best, Keith > On 14 Oct 2020, at 12:25, Tore Nilsen via use-livecode wrote: > > You should not be to embarrassed. There is a particular reason why I spotted this. I think we have all been there at one time or another. > > Best regards > Tore > >> 14. okt. 2020 kl. 13:22 skrev Keith Clarke via use-livecode : >> >> Oh, dear - that's embarrassing! Thanks Tore - time to take a break and check for updates on my eyeball firmware! :-D >> Best, >> Keith >> >>> On 14 Oct 2020, at 12:04, Tore Nilsen via use-livecode wrote: >>> >>> In the url itself you use access_token but in your search you use access_code. May this be the reason for your problems? >>> >>> Best regards >>> Tore Nilsen >>> >>>> 14. okt. 2020 kl. 13:00 skrev Keith Clarke via use-livecode : >>>> >>>> Hi folks, >>>> Am I misreading the docs and abusing the 'is in' logic or syntax here...? >>>> >>>> In my test case, the browser widget URL takes the form (truncated) https://somewhere.com/callback.lc#access_token=0123456789&... >>>> >>>> This is visible in the field "ResponseURL" but the if statement is not firing. >>>> >>>> Is this a syntax or logic error on my part? >>>> on browserNavigateComplete >>>> >>>> get the URL of widget "Browser" >>>> put it into field "ResponseURL" >>>> >>>> # Update Access Token >>>> >>>> put it into tURL >>>> >>>> if "access_code" is in tURL then >>>> >>>> put tURL >>>> >>>> do UpdateAccessToken(tURL) >>>> >>>> end if >>>> >>>> get the HTMLText of widget "Browser" >>>> >>>> put it into field "Content" >>>> >>>> end browserNavigateComplete >>>> >>>> BTW I've also tried the inverse if 'tURL contains 'access_code" >>>> >>>> Thanks & regards, >>>> Keith >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Wed Oct 14 10:24:51 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 14 Oct 2020 10:24:51 -0400 Subject: The iOS "Files" folder In-Reply-To: References: Message-ID: Apple has already provided a way forward for this. Their current best practice is for apps to store files in their Documents folder in iCloud. This provides seamless access between multiple devices and data security since it is not tied to the app remaining installed. I briefly looked at the dev docs on this and it does take some work to integrate. The most complicated piece will be detecting and resolving conflicts. I think it would be a good feature request just not sure how to do the conflict resolution piece. The mechanics of putting and getting a file are not that bad. Sent from my iPhone > On Oct 13, 2020, at 8:42 PM, John Balgenorth via use-livecode wrote: > > ?One my iPad I have everything turned on for iCloud and I am > sure everything is backed up with my backup file. I do not > see all of my individual files when I access icloud except for > ones I added through a different means than the application. > > The issue of apps becoming outdated and any files being > locked in with the app is serious to me. Not a big issue to > solve if Apple wants to. > > JB > >> On Oct 13, 2020, at 8:24 AM, Bob Sneidar via use-livecode wrote: >> >> ?I?ll have to take issue with that one. If your device is set to sync to the cloud, your notes will be preserver. There?s no unlikely about it. The only way they would not sync is if you had sync turned off for notes. In that case it is not only likely but certain you will lose any new data since sync was disabled. >> >> If it did not work this way, iCould would die a quick and horrible death. >> >> Bob S >> >> >> On Oct 12, 2020, at 3:09 PM, John Balgenorth via use-livecode > wrote: >> >> Most likely it will not be saved to the >> icloud independently so the files you have for that app even >> though they exist with the app on your icloud backup will be >> deleted with the app. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Oct 14 12:18:59 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 14 Oct 2020 12:18:59 -0400 Subject: Android PlayStore Warning APK v1 signature scheme In-Reply-To: References: Message-ID: <004101d6a245$bc6f6b30$354e4190$@net> I just got this message when submitting a new app to the PlayStore Your APK is only signed using the APK v1 signature scheme. This will fail to install in versions of Android equal or higher to 11 if the android:targetSdkVersion is set to 30 or higher. Please use apksigner to sign your APK or switch to the Android App Bundle to fix this. Does anyone know what the deal is here? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From martyknappster at gmail.com Wed Oct 14 14:34:14 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 14 Oct 2020 11:34:14 -0700 Subject: Big Sur hangs when printing In-Reply-To: <2B691E8B-0119-4DA0-B4D3-9865C8F89120@gmail.com> References: <2B691E8B-0119-4DA0-B4D3-9865C8F89120@gmail.com> Message-ID: <78FF332C-2982-4ABC-9D29-555D0629A97B@gmail.com> This BigSur printing bug happens when you "open printing with dialog? and has been confirmed by Panos. Drop the ?with dialog? and you can print. I don?t know at this point if the issue is with LC or with Apple. In the event that it doesn?t get fixed by the time BigSur is released, I want to have a stand-by work-around by creating my own print dialog. I see that I can get a list of all the installed printers and can get the currently selected printer - easy enough to take care of printer selection. What I don?t seem to be able to do is access any ?Presets" that the user may have configured (paper tray etc). Is that out of our reach? printerFeatures and printerSettings do not seem to cover it. Marty > On Oct 8, 2020, at 5:15 PM, Marty Knapp wrote: > > I just installed the latest beta of Big Sur and if you attempt to print from LC (either in the IDE or a Mac standalone) it will hang, requiring a force quit. It was working OK in the previous beta. I?ve had several customers report the same issue. This is making me really nervous as I would guess the Big Sure release is going to be here very soon. I have a mission critical app with printing as an absolute necessity. Try it for yourself - create a stack in the LC IDE and then try to print the card. The print dialog never appears and it will hang. I was able to successfully print from a couple of Apple apps with no problem. > > I have filed bug #22930 and attached a few system logs but have not heard anything back. I don?t know enough about error logs to know if the issue is with LC or the OS beta. > > Marty From jeejeestudio at gmail.com Wed Oct 14 14:43:09 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Wed, 14 Oct 2020 20:43:09 +0200 Subject: Android PlayStore Warning APK v1 signature scheme In-Reply-To: <004101d6a245$bc6f6b30$354e4190$@net> References: <004101d6a245$bc6f6b30$354e4190$@net> Message-ID: I think you need to use PKCS12 industry standard format instead of the normal keystore. You can import your existing key via command prompt. Keytool -importkeystore -srckeystore yourapp.keystore -destkeystore yourapp.keystore -deststoretype pkcs12 Op wo 14 okt. 2020 18:17 schreef Ralph DiMola via use-livecode < use-livecode at lists.runrev.com>: > I just got this message when submitting a new app to the PlayStore > > Your APK is only signed using the APK v1 signature scheme. This will fail > to install in versions of Android equal or higher to 11 if the > android:targetSdkVersion is set to 30 or higher. Please use apksigner to > sign your APK or switch to the Android App Bundle to fix this. > > Does anyone know what the deal is here? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From martyknappster at gmail.com Wed Oct 14 15:25:28 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 14 Oct 2020 12:25:28 -0700 Subject: Big Sur hangs when printing In-Reply-To: <78FF332C-2982-4ABC-9D29-555D0629A97B@gmail.com> References: <2B691E8B-0119-4DA0-B4D3-9865C8F89120@gmail.com> <78FF332C-2982-4ABC-9D29-555D0629A97B@gmail.com> Message-ID: <0F2B1BD5-AD0D-4307-9D01-E5FA4E8E2819@gmail.com> UPDATE: Apple just released BigSur public beta 10 today and it?s back to printing OK for me here. So the issue was apparently with Apple. Anybody want to check on your end to confirm? Marty > On Oct 14, 2020, at 11:34 AM, Marty Knapp wrote: > > This BigSur printing bug happens when you "open printing with dialog? and has been confirmed by Panos. Drop the ?with dialog? and you can print. I don?t know at this point if the issue is with LC or with Apple. In the event that it doesn?t get fixed by the time BigSur is released, I want to have a stand-by work-around by creating my own print dialog. > > I see that I can get a list of all the installed printers and can get the currently selected printer - easy enough to take care of printer selection. What I don?t seem to be able to do is access any ?Presets" that the user may have configured (paper tray etc). Is that out of our reach? printerFeatures and printerSettings do not seem to cover it. > > Marty > >> On Oct 8, 2020, at 5:15 PM, Marty Knapp wrote: >> >> I just installed the latest beta of Big Sur and if you attempt to print from LC (either in the IDE or a Mac standalone) it will hang, requiring a force quit. It was working OK in the previous beta. I?ve had several customers report the same issue. This is making me really nervous as I would guess the Big Sure release is going to be here very soon. I have a mission critical app with printing as an absolute necessity. Try it for yourself - create a stack in the LC IDE and then try to print the card. The print dialog never appears and it will hang. I was able to successfully print from a couple of Apple apps with no problem. >> >> I have filed bug #22930 and attached a few system logs but have not heard anything back. I don?t know enough about error logs to know if the issue is with LC or the OS beta. >> >> Marty > From rdimola at evergreeninfo.net Wed Oct 14 16:05:27 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 14 Oct 2020 16:05:27 -0400 Subject: Android PlayStore Warning APK v1 signature scheme In-Reply-To: References: <004101d6a245$bc6f6b30$354e4190$@net> Message-ID: <005f01d6a265$5ef6fd90$1ce4f8b0$@net> Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 Thanks! One interesting thing is that keytool requires the keystore and the alias passwords to be the same. I had them as different. Although you can change the alias password with other tools I left them the same for now. Question: Do you know if the key-pair or fingerprints will change? In otherwords can I update an existing app after converting the keystore to PKCS12? -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of JeeJeeStudio via use-livecode Sent: Wednesday, October 14, 2020 2:43 PM To: How to use LiveCode Cc: JeeJeeStudio Subject: Re: Android PlayStore Warning APK v1 signature scheme I think you need to use PKCS12 industry standard format instead of the normal keystore. You can import your existing key via command prompt. Keytool -importkeystore -srckeystore yourapp.keystore -destkeystore yourapp.keystore -deststoretype pkcs12 Op wo 14 okt. 2020 18:17 schreef Ralph DiMola via use-livecode < use-livecode at lists.runrev.com>: > I just got this message when submitting a new app to the PlayStore > > Your APK is only signed using the APK v1 signature scheme. This will > fail to install in versions of Android equal or higher to 11 if the > android:targetSdkVersion is set to 30 or higher. Please use apksigner > to sign your APK or switch to the Android App Bundle to fix this. > > Does anyone know what the deal is here? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Wed Oct 14 16:14:33 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Wed, 14 Oct 2020 22:14:33 +0200 Subject: Android PlayStore Warning APK v1 signature scheme In-Reply-To: <005f01d6a265$5ef6fd90$1ce4f8b0$@net> References: <004101d6a245$bc6f6b30$354e4190$@net> <005f01d6a265$5ef6fd90$1ce4f8b0$@net> Message-ID: Good question. I'm not 100% sure, but if I'm correct you can update. So I don't think the keypair will change. I've not had the error you have, and I've updated with lc961 which uses the correct target. So i made the normal keystore and did the thing as in the previous mail and had no problems as far as i know. Only thing is lc accepts only .keystore. Most probably as long the reversed dns name com.appname.blabla is not changed and you increase the version nr, also when an app is wrong or declined, then it should go ok. Op wo 14 okt. 2020 22:03 schreef Ralph DiMola via use-livecode < use-livecode at lists.runrev.com>: > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > Phone: 518-636-3998 Ex:11 > Cell: 518-796-9332 > Thanks! > > One interesting thing is that keytool requires the keystore and the alias > passwords to be the same. I had them as different. Although you can change > the alias password with other tools I left them the same for now. > > Question: Do you know if the key-pair or fingerprints will change? In > otherwords can I update an existing app after converting the keystore to > PKCS12? > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of JeeJeeStudio via use-livecode > Sent: Wednesday, October 14, 2020 2:43 PM > To: How to use LiveCode > Cc: JeeJeeStudio > Subject: Re: Android PlayStore Warning APK v1 signature scheme > > I think you need to use PKCS12 industry standard format instead of the > normal keystore. You can import your existing key via command prompt. > Keytool -importkeystore -srckeystore yourapp.keystore -destkeystore > yourapp.keystore -deststoretype pkcs12 > > Op wo 14 okt. 2020 18:17 schreef Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com>: > > > I just got this message when submitting a new app to the PlayStore > > > > Your APK is only signed using the APK v1 signature scheme. This will > > fail to install in versions of Android equal or higher to 11 if the > > android:targetSdkVersion is set to 30 or higher. Please use apksigner > > to sign your APK or switch to the Android App Bundle to fix this. > > > > Does anyone know what the deal is here? > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Oct 14 17:43:39 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Oct 2020 16:43:39 -0500 Subject: Android PlayStore Warning APK v1 signature scheme In-Reply-To: <004101d6a245$bc6f6b30$354e4190$@net> References: <004101d6a245$bc6f6b30$354e4190$@net> Message-ID: <799bdea6-2981-bbdb-47df-f28fd2884222@hyperactivesw.com> On 10/14/20 11:18 AM, Ralph DiMola via use-livecode wrote: > I just got this message when submitting a new app to the PlayStore > > Your APK is only signed using the APK v1 signature scheme. This will fail to install in versions of Android equal or higher to 11 if the android:targetSdkVersion is set to 30 or higher. Please use apksigner to sign your APK or switch to the Android App Bundle to fix this. > > Does anyone know what the deal is here? Google explains it here: https://developer.android.com/studio/command-line/apksigner Apps already published in the Play Store can continue to use the v1 scheme, created with keytool, because updates aren't possible if the signature changes. But new apps should use the v2 scheme which is done with apksigner. I got a little lost in that web page when determining what the variables should be in the terminal command. Some guidance on that would be helpful. I do remember when I created the signature for an app a few months ago, I got a warning that I was using v1 and I should consider using v2 instead, but Google did not reject the app with the v1 signature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From michaell at unimelb.edu.au Wed Oct 14 19:00:36 2020 From: michaell at unimelb.edu.au (Michael Lew) Date: Wed, 14 Oct 2020 23:00:36 +0000 Subject: Standalone failures Message-ID: I'm trying to build standalones from 9.6.1 business and cannot get the Mac version to succeed. The process goes through the normal lot of "saving" and "building" bits but it eventually turns up an alert that says "There was an error while saving the standalone application Adding the ad-hoc signature failed with error: [path]: replacing existing signature xcrun error: Invalid developer path (/Library/Developer/CommandLineTools), missing xcrun at: [path]: the codesign_allocate helper tool cannot be found or used In subcomponent: [path]/tsNet.bundle" The same thing happens after I turned off the automatic inclusions option and selected no inclusions. (Windows standalones build fine.) Do I need to have XCode installed to build a Mac standalone nowadays, or is there some other problem with my Mac (Mojave 10.14.6)? Michael Lew From davros at bellaliant.net Thu Oct 15 01:09:18 2020 From: davros at bellaliant.net (John McKenzie) Date: Thu, 15 Oct 2020 02:09:18 -0300 Subject: Interface Resolution In-Reply-To: <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> References: <20201013194021.683808dc@poesidon> <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> Message-ID: <20201015020918.34124c7a@poesidon> Peter, thank you for the information about changing the scale of the IDE user interface. You mentioned that if I put a script somewhere to affect the IDE stacks that it should work. I looked up the IDE stacks as per your directions. Thanks for those. I do not know where a good somewhere to put such a script would be. Is there a directory that gets its scripts execute upon running the IDE? Or can I put it anywhere and take other action to have it run with the IDE startup? Thanks. From merakosp at gmail.com Thu Oct 15 02:53:28 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 15 Oct 2020 09:53:28 +0300 Subject: Standalone failures In-Reply-To: References: Message-ID: Hello Michael, You do not need Xcode for this, but you do need the command line tools. Try typing this in a Terminal: sudo xcode-select --install This will install/update the missing command line tools. Hope this helps. Kind regards, Panos -- On Thu, 15 Oct 2020 at 02:01, Michael Lew via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm trying to build standalones from 9.6.1 business and cannot get the Mac > version to succeed. The process goes through the normal lot of "saving" and > "building" bits but it eventually turns up an alert that says > > "There was an error while saving the standalone application > Adding the ad-hoc signature failed with error: [path]: replacing existing > signature > xcrun error: Invalid developer path (/Library/Developer/CommandLineTools), > missing xcrun at: [path]: the codesign_allocate helper tool cannot be found > or used > In subcomponent: [path]/tsNet.bundle" > > The same thing happens after I turned off the automatic inclusions option > and selected no inclusions. > > (Windows standalones build fine.) > > Do I need to have XCode installed to build a Mac standalone nowadays, or > is there some other problem with my Mac (Mojave 10.14.6)? > > Michael Lew > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Oct 15 03:23:31 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 15 Oct 2020 00:23:31 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: References: Message-ID: <90b935e1-eaae-d2f1-6aa3-bf9f89967521@fourthworld.com> William Prothero wrote: > After the button is copied to the destination card, I do: > > set the textsize of btnRef to the textsize of srcBtnRef > the contents of btnRef is: > > btn "doNext2" of card "WhatsTheMystery-2" of stack "/Users/AfilePath > /PlateTectonics.livecode" > > srcBtnRef is pretty much the same thing with the card that holds the > object library. > > It has no effect. But then, I?ve been known to screw up these > references, but since the copy works, I think it?s ok. > > What?s odd, is that it seems to be picking up the fontsize of some of > the other fields on the destination card. So, for now, I?ve given up > and use a field for a button, which I like better anyway. I?ll look at > this again to see if I made a stupid mistake. No need to give up and use an object type you didn't want. This is an opportunity to analyze so we can find the right solution. Given that assigning the textFont of the new button to that of the old one has no effect, I'd wager that if you examined the textFont of the original you'd find it's not been assigned. And we see that font settings for various objects look one way on one card and different on a different card. This suggests the card the original button is on has a textFont set, and setting the textFont of the new card to match will give you a matching appearance for controls. Or perhaps simpler, if you want all cards in the stack to have the same default textFont and textSize, you can set those properties in the stack, clear those for each card, and then you have consistency throughout the controls in your stack. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bogdanoff at me.com Thu Oct 15 03:48:01 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 15 Oct 2020 00:48:01 -0700 Subject: Interface Resolution In-Reply-To: <20201015020918.34124c7a@poesidon> References: <20201013194021.683808dc@poesidon> <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> <20201015020918.34124c7a@poesidon> Message-ID: <1502FD5A-2599-4934-A66F-E281BAABD42C@me.com> Hi John, I haven?t done this myself, but I suppose you could create a Livecode plugin that runs the needed code: https://livecode.fandom.com/wiki/Creating_a_livecode_plugin which is basically a LC stack that lives in your local plugins folder. Under the IDE Development menu are plugin settings, which includes an option, ?Open plugin when: ?LiveCode starts up.?? The plugin stack would have an openStack handler that calls the sizing handler. Or, you could have a script internal to your project that checks the environment property so it runs only when in the IDE. You might want to have a failsafe in case you have to run LC on a smaller monitor that would check the size of the monitor?the screenRect property?then size down the IDE elements appropriately. Peter > On Oct 14, 2020, at 10:09 PM, John McKenzie via use-livecode wrote: > > > Peter, thank you for the information about changing the scale of the > IDE user interface. > > You mentioned that if I put a script somewhere to affect the IDE > stacks that it should work. I looked up the IDE stacks as per your > directions. Thanks for those. > > I do not know where a good somewhere to put such a script would be. Is > there a directory that gets its scripts execute upon running the IDE? > Or can I put it anywhere and take other action to have it run with the > IDE startup? > > Thanks. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Oct 15 04:09:04 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 15 Oct 2020 01:09:04 -0700 Subject: Interface Resolution In-Reply-To: <1502FD5A-2599-4934-A66F-E281BAABD42C@me.com> References: <1502FD5A-2599-4934-A66F-E281BAABD42C@me.com> Message-ID: These workarounds are great for helping John get back to work right away, but if the IDE isn't respecting Windows' resolution that would be a bug and I hope someone's reported it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bdrunrev at gmail.com Thu Oct 15 06:34:39 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 15 Oct 2020 11:34:39 +0100 Subject: Fun with the templateimage In-Reply-To: <46b72f3f-125c-0aef-8a93-e6cbf8d0bff6@fourthworld.com> References: <7554A738-126E-4FF5-9350-15AC3C210E04@iotecdigital.com> <46b72f3f-125c-0aef-8a93-e6cbf8d0bff6@fourthworld.com> Message-ID: Richard, just FYI The dictionary (LC 9.5.1) does say that "export snapshot ... at size x,x..." is supported since version 6.0, but I can't get it to change the size of the exported image. I'll add a note here if I get it to work. On Thu, Oct 31, 2019 at 4:38 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > The "import snapshot" command had an "at size" option added several > versions ago to facilitate some scaling tasks: > > import snapshot from the selectedObject at size 100,100 > > But oddly, no such option has been added to the "export snapshot" command. > > -- > Richard Gaskin > Fourth World Systems > > > From bdrunrev at gmail.com Thu Oct 15 07:18:13 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 15 Oct 2020 12:18:13 +0100 Subject: Fun with the templateimage In-Reply-To: References: <7554A738-126E-4FF5-9350-15AC3C210E04@iotecdigital.com> <46b72f3f-125c-0aef-8a93-e6cbf8d0bff6@fourthworld.com> Message-ID: This works: export snapshot from rect tRect of window tWinID at size tDim1,tDim2 to file tFile as GIF I saw a report in the forum saying that this scaled incorrectly if the snapshot was of a text field, but in my tests this was not a problem. On Thu, Oct 15, 2020 at 11:34 AM Bernard Devlin wrote: > Richard, just FYI > > The dictionary (LC 9.5.1) does say that "export snapshot ... at size > x,x..." is supported since version 6.0, but I can't get it to change the > size of the exported image. I'll add a note here if I get it to work. > > On Thu, Oct 31, 2019 at 4:38 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The "import snapshot" command had an "at size" option added several >> versions ago to facilitate some scaling tasks: >> >> import snapshot from the selectedObject at size 100,100 >> >> But oddly, no such option has been added to the "export snapshot" command. >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> >> From davros at bellaliant.net Thu Oct 15 11:05:38 2020 From: davros at bellaliant.net (John McKenzie) Date: Thu, 15 Oct 2020 12:05:38 -0300 Subject: Interface Resolution In-Reply-To: <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> References: <20201013194021.683808dc@poesidon> <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> Message-ID: <20201015120538.211ce8fb@poesidon> Peter, thank you for those suggestions I will try them once my treatment is done tomorrow. Richard, I am using Kubunutu and KDE for some reason does not get every app when using its interface scaling setting. It gets almost all of them, but does not affect a few. It may be these apps are doing something wrong that the Livecode IDE does as well, but it is also possible it is a bug in KDE settings that only affects a handful of apps so it goes less noticed than it should be. So what I am saying is I will have to investigate more to see if it is the OS or the IDE that has a bug with scaling interfaces. A work around is good for now, but in general, yes, I should have something (in the OS or app) that just does it for the long term and that is worth investigating. BTW, I have greatly delayed working on the project that I thought Livecode could do well and brought me to it, mostly do to changes at work and health problems. This issue with the new monitor came up when I showed my brother the Livecode IDE and tell him about the platform. "Like Hypercard" really sucked him in, too. He was very interested and I may have gotten someone to try it out. Do not even have my own main app done and I recruited someone to try the platform. From htorrado at networkdreams.net Thu Oct 15 12:07:23 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Thu, 15 Oct 2020 12:07:23 -0400 Subject: Livecode server UNIX version (not Linux). Message-ID: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> Dear all, I have a question. It's not a very important question and I don?t want to bother you y 'all, so if you think is off-topic, feel free to not to respond, I'm just curious. I've been working with Livecode for almost five years, and I never saw a LiveCode server "UNIX" version. The LiveCode Wikipedia?s article says this: LiveCode runs on iOS, Android, OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations of Unix (I think is just means Linux)". I'm thinking about tinkering with a FreeBSD server and LiveCode server, but I didn't see a "UNIX" version, so I suppose that I have to compile it. Have any of you installed LiveCode server on FreeBSD (or Solaris)? I'm just thinking, but maybe there's a small niche working with LiveCode server on BSD or Solaris (still many companies use them and not many people develop software for this platforms nowadays). We have a few companies in Spain (my country) still using Solaris or BSD servers (mainly in the Graphic arts business). PS, I currently work with LiveCode Server on Centos, but it could be interesting to test it in FreeBSD. Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique https://networkdreams.net From davros at bellaliant.net Thu Oct 15 12:52:40 2020 From: davros at bellaliant.net (John McKenzie) Date: Thu, 15 Oct 2020 13:52:40 -0300 Subject: Interface Resolution In-Reply-To: <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> References: <20201013194021.683808dc@poesidon> <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> Message-ID: <20201015135240.1222df50@poesidon> I felt up to trying one of the suggested workarounds for my interface scaling issue, specifically making a script to run as a plug-in. The plugin in does not appear on the plugins menu and I do not know what I did wrong. The link to creating plugins was helpful, but lacked specifics. Do I need to do something special to make it a plug-in? Such as having a shebang statement or a special command at the top declaring it a plug-in? Do it have to have a specific naming format? Should it begin or end with "rev" for example? I called it "intefaceScaling.livecode". Perhaps that was wrong to do. Looking at existing ones as examples I did not get the impression that was so. When I ran the command "put the stacks" it outputted the following. /opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/tools/revtools.livecodescript /opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/message box/revmessagebox.8.rev /opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript Do I need absolute filenames in my script? Do I need anything else in the script that makes up my plugin? Currently all I know to type is the following. set the scalefactor of stack "revtools" to 2 set the scalefactor of stack "revmessagebox.8" to 2 set the scalefactor of stack "revmenubar" to 2 Surely I need more than that. Sorry for my ignorance of what should be easy. From rdimola at evergreeninfo.net Thu Oct 15 13:22:15 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 15 Oct 2020 13:22:15 -0400 Subject: Interface Resolution In-Reply-To: <20201015135240.1222df50@poesidon> References: <20201013194021.683808dc@poesidon> <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> <20201015135240.1222df50@poesidon> Message-ID: <000301d6a317$bd4131b0$37c39510$@net> Put the commands you want to run in the preopen handler of your plug-in stack. Save the stack Close LC Put the stack into you're "My LiveCode/Plugins" folder. The location of this folder can be found in LC preferences in the "Files and Memory" section. Reopen LC Go to the Development==>Plugins and select(at the bottom) "Plugin Settings" Select your Plugin from the dropdown list In the "Open Plugin when:" section select "LiveCode starts up" In the "Open as" section select "Invisible" Restart LC and you should be good to go. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of John McKenzie via use-livecode Sent: Thursday, October 15, 2020 12:53 PM To: use-livecode at lists.runrev.com Cc: John McKenzie Subject: Re: Interface Resolution I felt up to trying one of the suggested workarounds for my interface scaling issue, specifically making a script to run as a plug-in. The plugin in does not appear on the plugins menu and I do not know what I did wrong. The link to creating plugins was helpful, but lacked specifics. Do I need to do something special to make it a plug-in? Such as having a shebang statement or a special command at the top declaring it a plug-in? Do it have to have a specific naming format? Should it begin or end with "rev" for example? I called it "intefaceScaling.livecode". Perhaps that was wrong to do. Looking at existing ones as examples I did not get the impression that was so. When I ran the command "put the stacks" it outputted the following. /opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/tools/revtools .livecodescript /opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/message box/revmessagebox.8.rev /opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/menubar/revmen ubar.livecodescript Do I need absolute filenames in my script? Do I need anything else in the script that makes up my plugin? Currently all I know to type is the following. set the scalefactor of stack "revtools" to 2 set the scalefactor of stack "revmessagebox.8" to 2 set the scalefactor of stack "revmenubar" to 2 Surely I need more than that. Sorry for my ignorance of what should be easy. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Thu Oct 15 15:02:50 2020 From: david.bovill at gmail.com (David Bovill) Date: Thu, 15 Oct 2020 20:02:50 +0100 Subject: Is this a bug? In-Reply-To: References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> <5a6b7d8e-b167-c4c0-7977-b1c780307f02@researchware.com> <796c8b89-b010-5289-185c-59e90a04c4b8@researchware.com> Message-ID: Oooh thanks! Fun. Fact. I?ve been living with this bug for a few years - which is why I didn?t try deleting the prefs. On 14 Oct 2020, 09:23 +0100, How to use LiveCode , wrote: > > /Users//Library/Preferences/RunRev/livecode.rev > /Users//Library/Preferences/RunRev/livecode7.rev > From david.bovill at gmail.com Thu Oct 15 15:07:40 2020 From: david.bovill at gmail.com (David Bovill) Date: Thu, 15 Oct 2020 20:07:40 +0100 Subject: Datagrid question - variable row templates In-Reply-To: References: <534C1E66-29FA-4B63-B3F3-5BE219E1A9E2@gmail.com> <24923f50-7b8e-47cd-8aff-bd34a84ff897@Spark> <57e0fd96-d919-4857-8f67-bae913dc2659@Spark> <0e7d9db3-525b-422c-98a6-7dbd992d56df@Spark> <5a6b7d8e-b167-c4c0-7977-b1c780307f02@researchware.com> <796c8b89-b010-5289-185c-59e90a04c4b8@researchware.com> Message-ID: <310ccca8-8f4c-4c45-bf99-293fa6f50aee@Spark> It?s been a while since I used data grids - so I?m wondering if there are any new aspects / tricks here that I?m missing. Requirements I need a data grid like object to display json data / an array, in which each item has a type. So type image or type text etc. Each type should be displayed by a different equivalent of a row template. As far as I know the data grid can?t really do this. I?ve hacked it before by creating a row template that has the ability to transfer itself - but this is quite a hack and I expect will be too slow for mobile. Solutions sought? My thought is that I have to create my. Own. Custom datagrid like group - which is naturally quite a lot of work. Any suggestions? From livfoss at mac.com Thu Oct 15 15:50:26 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 15 Oct 2020 21:50:26 +0200 Subject: The iOS "Files" folder In-Reply-To: References: Message-ID: <9B9A3D5F-9769-49BB-A600-F7BED8D14851@mac.com> Believe it or not, there is a class of apps that doesn?t need to use the internet. I?m thinking for example of apps meant to be used on a device such as a phone while it?s in motion or on a journey. Internet access isn?t guaranteed in many parts of the world. Although smart phones do have to make contact with the internet for many tasks, that imperative shouldn?t force one to include internet access in an app that has no other need for it. It?s that notion that made me want to break out of the sandbox locally, to allow local apps access to local data. Just my two overpriced eurocents. Graham [sorry if I sent this twice, but the first try seems to have got lost] > On 14 Oct 2020, at 16:24, Brian Milby via use-livecode wrote: > > Apple has already provided a way forward for this. Their current best practice is for apps to store files in their Documents folder in iCloud. This provides seamless access between multiple devices and data security since it is not tied to the app remaining installed. > > I briefly looked at the dev docs on this and it does take some work to integrate. The most complicated piece will be detecting and resolving conflicts. I think it would be a good feature request just not sure how to do the conflict resolution piece. The mechanics of putting and getting a file are not that bad. > > Sent from my iPhone > >> On Oct 13, 2020, at 8:42 PM, John Balgenorth via use-livecode wrote: >> >> ?One my iPad I have everything turned on for iCloud and I am >> sure everything is backed up with my backup file. I do not >> see all of my individual files when I access icloud except for >> ones I added through a different means than the application. >> >> The issue of apps becoming outdated and any files being >> locked in with the app is serious to me. Not a big issue to >> solve if Apple wants to. >> >> JB >> >>> On Oct 13, 2020, at 8:24 AM, Bob Sneidar via use-livecode wrote: >>> >>> ?I?ll have to take issue with that one. If your device is set to sync to the cloud, your notes will be preserver. There?s no unlikely about it. The only way they would not sync is if you had sync turned off for notes. In that case it is not only likely but certain you will lose any new data since sync was disabled. >>> >>> If it did not work this way, iCould would die a quick and horrible death. >>> >>> Bob S >>> >>> >>> On Oct 12, 2020, at 3:09 PM, John Balgenorth via use-livecode > wrote: >>> >>> Most likely it will not be saved to the >>> icloud independently so the files you have for that app even >>> though they exist with the app on your icloud backup will be >>> deleted with the app. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Oct 15 16:08:14 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 15 Oct 2020 16:08:14 -0400 Subject: The iOS "Files" folder In-Reply-To: <9B9A3D5F-9769-49BB-A600-F7BED8D14851@mac.com> References: <9B9A3D5F-9769-49BB-A600-F7BED8D14851@mac.com> Message-ID: <47404518-B336-4053-BD92-15E49ECBDF13@milby7.com> Using iCloud shouldn?t require internet access for the app as it is designed to work offline and sync when the network is available. My comment was aimed at the need to have data retained separately from the app. Sent from my iPhone > On Oct 15, 2020, at 3:51 PM, Graham Samuel via use-livecode wrote: > > ?Believe it or not, there is a class of apps that doesn?t need to use the internet. I?m thinking for example of apps meant to be used on a device such as a phone while it?s in motion or on a journey. Internet access isn?t guaranteed in many parts of the world. Although smart phones do have to make contact with the internet for many tasks, that imperative shouldn?t force one to include internet access in an app that has no other need for it. It?s that notion that made me want to break out of the sandbox locally, to allow local apps access to local data. > > Just my two overpriced eurocents. > > Graham > [sorry if I sent this twice, but the first try seems to have got lost] > >> On 14 Oct 2020, at 16:24, Brian Milby via use-livecode wrote: >> >> Apple has already provided a way forward for this. Their current best practice is for apps to store files in their Documents folder in iCloud. This provides seamless access between multiple devices and data security since it is not tied to the app remaining installed. >> >> I briefly looked at the dev docs on this and it does take some work to integrate. The most complicated piece will be detecting and resolving conflicts. I think it would be a good feature request just not sure how to do the conflict resolution piece. The mechanics of putting and getting a file are not that bad. >> >> Sent from my iPhone >> >>>> On Oct 13, 2020, at 8:42 PM, John Balgenorth via use-livecode wrote: >>> >>> ?One my iPad I have everything turned on for iCloud and I am >>> sure everything is backed up with my backup file. I do not >>> see all of my individual files when I access icloud except for >>> ones I added through a different means than the application. >>> >>> The issue of apps becoming outdated and any files being >>> locked in with the app is serious to me. Not a big issue to >>> solve if Apple wants to. >>> >>> JB >>> >>>> On Oct 13, 2020, at 8:24 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> ?I?ll have to take issue with that one. If your device is set to sync to the cloud, your notes will be preserver. There?s no unlikely about it. The only way they would not sync is if you had sync turned off for notes. In that case it is not only likely but certain you will lose any new data since sync was disabled. >>>> >>>> If it did not work this way, iCould would die a quick and horrible death. >>>> >>>> Bob S >>>> >>>> >>>> On Oct 12, 2020, at 3:09 PM, John Balgenorth via use-livecode > wrote: >>>> >>>> Most likely it will not be saved to the >>>> icloud independently so the files you have for that app even >>>> though they exist with the app on your icloud backup will be >>>> deleted with the app. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From davros at bellaliant.net Fri Oct 16 00:56:18 2020 From: davros at bellaliant.net (John McKenzie) Date: Fri, 16 Oct 2020 01:56:18 -0300 Subject: Interface Resolution In-Reply-To: <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> References: <20201013194021.683808dc@poesidon> <42D69FC5-4E04-4395-A700-D3B56C514C78@me.com> Message-ID: <20201016015618.43bdb63a@poesidon> Ralph, thank for for the specific instructions. Thanks to the others and poking around I knew some of that, but the extra info was stuff I needed to know. Unfortunately, the script does not appear in the list of plugins in the Plugin Settings dialogue. Did basic things like double check the directory, quit and restarted the Livecode IDE, etc. Will keep following around with it, but if anyone has a theory off the top of their head for the lack of the plugin showing up I would like to hear it. From davros at bellaliant.net Fri Oct 16 01:14:29 2020 From: davros at bellaliant.net (John McKenzie) Date: Fri, 16 Oct 2020 02:14:29 -0300 Subject: Interface Resolution In-Reply-To: <20201013194021.683808dc@poesidon> References: <20201013194021.683808dc@poesidon> Message-ID: <20201016021429.43e044e1@poesidon> Never mind, I got the plugin to appear in the list in the plugins dialogue window. I selected it, set it to "LiveCode starts up" and "Invisible". Quit the IDE and restarted it. Nothing happens. Typing each command into the message box affects things though. I can kind of work with doing that while I try to find out the connection between the OS interface settings and Livecode reading them (if it does). One big issue still is the text on the drop down menus remains the same size. If anyone happens to know which file controls that I would be glad to hear the details. At some point I may scale each one of them one at a time until I discover what it is, if any. Maybe the font size is not even controlled by a stack script. Thanks for the help all that posted. From jacque at hyperactivesw.com Fri Oct 16 02:21:14 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Oct 2020 01:21:14 -0500 Subject: Interface Resolution In-Reply-To: <20201016021429.43e044e1@poesidon> References: <20201013194021.683808dc@poesidon> <20201016021429.43e044e1@poesidon> Message-ID: <1753011cb90.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Plugins are just normal stacks that appear in the plugins folder. When you open the stack, which opens automatically and invisibly on startup in this case, it will just sit there. It needs an activation handler, which can be on openstack or opencard or whatever is appropriate. Add whatever you need it to do in one of those handlers. In the plugin manager you'll see a list of special "rev" messages. This is an alternate way to trigger the actions the plugin should perform. Instead of using an openCard or preOpenCard handler, you can select the revPreOpenCard message from the list. That message will be sent to the plugin when it opens and if you have a handler in the stack with that name, it can perform the activities it needs to do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 16, 2020 12:16:25 AM John McKenzie via use-livecode wrote: > Never mind, I got the plugin to appear in the list in the plugins > dialogue window. > > I selected it, set it to "LiveCode starts up" and "Invisible". Quit > the IDE and restarted it. Nothing happens. > > Typing each command into the message box affects things though. I can > kind of work with doing that while I try to find out the connection > between the OS interface settings and Livecode reading them (if it > does). > > One big issue still is the text on the drop down menus remains the > same size. If anyone happens to know which file controls that I would > be glad to hear the details. At some point I may scale each one of them > one at a time until I discover what it is, if any. Maybe the font size > is not even controlled by a stack script. > > > Thanks for the help all that posted. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Fri Oct 16 03:55:37 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 16 Oct 2020 08:55:37 +0100 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> Message-ID: Hi Heriberto Back in the day (20 years ago) the engine/IDE ran on FreeBSD and various proprietary unixes. The Linux server version has been seen to work on FreeBSD back in 2011 (after installing Linux compatibility layer). http://runtime-revolution.278305.n4.nabble.com/Yay-Victory-RevServer-runs-on-FreeBSD-with-Linux-Compat-installed-td3445454.html You _might_ be able to get that to work now. I doubt it would be supported by Livecode. What amazes me nowadays is just how much more complex things are than they were 20 years ago - looking at the compatibility matrix for Livecode dependencies on OS version, XCode version, device version -- all just to produce apps that run on iOS: https://livecode.com/docs/9-5-0/faq/faq/ If someone had said 20 years ago that a small company in Scotland could manage that kind of complexity people would have laughed in disbelief. But rightly LC saw where the future was headed with mobile computing and they obviously had to make sacrifices along the way (e.g. FreeBSD, etc) to be in a situation to take on this level of complexity. HTH Bernard On Thu, Oct 15, 2020 at 5:08 PM Heriberto Torrado via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear all, > > I have a question. It's not a very important question and I don?t want > to bother you y 'all, so if you think is off-topic, feel free to not to > respond, I'm just curious. > > I've been working with Livecode for almost five years, and I never saw a > LiveCode server "UNIX" version. > > The LiveCode Wikipedia?s article says this: LiveCode runs on iOS, Android, > OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations > of Unix (I think is just means Linux)". > > I'm thinking about tinkering with a FreeBSD server and LiveCode server, > but I didn't see a "UNIX" version, so I suppose that I have to compile it. > Have any of you installed LiveCode server on FreeBSD (or Solaris)? > > I'm just thinking, but maybe there's a small niche working with LiveCode > server on BSD or Solaris (still many companies use them and not many people > develop software for this platforms nowadays). > We have a few companies in Spain (my country) still using Solaris or BSD > servers (mainly in the Graphic arts business). > > PS, I currently work with LiveCode Server on Centos, but it could be > interesting to test it in FreeBSD. > > Best regards/ Saludos cordiales/ Cordialement > > Heriberto Torrado > ?Chief Technology Officer (CTO) > ?Director de inform?tica > Directeur informatique > > https://networkdreams.net > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Fri Oct 16 04:34:57 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 16 Oct 2020 09:34:57 +0100 Subject: SSL cPanel mySql setup Message-ID: <818130E5-B0FD-4478-936A-D12A226FFF7C@pidigital.co.uk> Hi I?ve found myself out of my depth and in need of advice. We have a cPanel webspace with mySQL running on a phpMyAdmin layer within the cPanel setup. Communicating with it from LC has been a breeze. However, doing a traffic scan we noticed that our queries and responses from the database are completely visible. Obviously a high security risk. Using an ssl certificate set, how do I implement this? How do I get cPanel to allow for it and get LC to make use of them when using revOpenDatabase? I have the useSSL flag set to Boolean ?true?. I?ve tried using the set certificates pointing it at the three ssl files. But the data still is fully readable as plaintext in both direction when checked by our traffic scanner. Thanks Sean From matthias_livecode_150811 at m-r-d.de Fri Oct 16 05:51:17 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 16 Oct 2020 11:51:17 +0200 Subject: SSL cPanel mySql setup In-Reply-To: <818130E5-B0FD-4478-936A-D12A226FFF7C@pidigital.co.uk> References: <818130E5-B0FD-4478-936A-D12A226FFF7C@pidigital.co.uk> Message-ID: <4C444314-DB19-42E0-B7BD-08042B0541FC@m-r-d.de> Hi Sean, there was a discussion a few weeks ago with the topic "Strange behavior between Mysql, MariaDB and SSL." I am not sure if the information in that discussion will solve your problem. Another approach is the following. For security reasons we do not let communicat our LC apps directly with MySQL Databases, if the Database is hosted on a public server. We using a Livecode Server Script on the Webserver for doing the complete DB communication. Our standalones (Mobile and Desktop) send the requests (password encrypted string) either as POST or GET to the LC Server script. The script encrypts the request string and executes it. The return from the DB is then returned to our standalone. Another way would be to use an LC server api HostM is providing for free. https://www.hostm.com/tutorials/livecode/api-mariadb-mysql Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 16.10.2020 um 10:34 schrieb Pi Digital via use-livecode : > > Hi > > I?ve found myself out of my depth and in need of advice. > We have a cPanel webspace with mySQL running on a phpMyAdmin layer within the cPanel setup. Communicating with it from LC has been a breeze. However, doing a traffic scan we noticed that our queries and responses from the database are completely visible. Obviously a high security risk. > > Using an ssl certificate set, how do I implement this? How do I get cPanel to allow for it and get LC to make use of them when using revOpenDatabase? I have the useSSL flag set to Boolean ?true?. I?ve tried using the set certificates pointing it at the three ssl files. But the data still is fully readable as plaintext in both direction when checked by our traffic scanner. > > Thanks > > Sean > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Oct 16 06:01:13 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 16 Oct 2020 12:01:13 +0200 Subject: Test, please ignore Message-ID: <5582A004-66A2-4C77-B60B-E5726D405BA5@mac.com> One of my mails didn?t make it to the list, even though I re-sent it. Just checking if anything at all is coming through... From sean at pidigital.co.uk Fri Oct 16 06:12:15 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 16 Oct 2020 11:12:15 +0100 Subject: SSL cPanel mySql setup In-Reply-To: <4C444314-DB19-42E0-B7BD-08042B0541FC@m-r-d.de> References: <818130E5-B0FD-4478-936A-D12A226FFF7C@pidigital.co.uk> <4C444314-DB19-42E0-B7BD-08042B0541FC@m-r-d.de> Message-ID: Excellent. Thanks Matthias. Both your comments and the other discussion were of help. Looks like I'll be making a server app then. Sean Cole *Pi Digital * On Fri, 16 Oct 2020 at 10:51, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Sean, > > there was a discussion a few weeks ago with the topic "Strange behavior > between Mysql, MariaDB and SSL." > I am not sure if the information in that discussion will solve your > problem. > > Another approach is the following. For security reasons we do not let > communicat our LC apps directly with MySQL Databases, if the Database is > hosted on a public server. > > We using a Livecode Server Script on the Webserver for doing the complete > DB communication. > Our standalones (Mobile and Desktop) send the requests (password encrypted > string) either as POST or GET to the LC Server script. The script encrypts > the request string and executes it. The return from the DB is then > returned to our standalone. > > Another way would be to use an LC server api HostM is providing for free. > https://www.hostm.com/tutorials/livecode/api-mariadb-mysql > > > Regards, > Matthias > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 16.10.2020 um 10:34 schrieb Pi Digital via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi > > > > I?ve found myself out of my depth and in need of advice. > > We have a cPanel webspace with mySQL running on a phpMyAdmin layer > within the cPanel setup. Communicating with it from LC has been a breeze. > However, doing a traffic scan we noticed that our queries and responses > from the database are completely visible. Obviously a high security risk. > > > > Using an ssl certificate set, how do I implement this? How do I get > cPanel to allow for it and get LC to make use of them when using > revOpenDatabase? I have the useSSL flag set to Boolean ?true?. I?ve tried > using the set certificates pointing it at the three ssl files. But the data > still is fully readable as plaintext in both direction when checked by our > traffic scanner. > > > > Thanks > > > > Sean > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Fri Oct 16 06:33:22 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 16 Oct 2020 11:33:22 +0100 Subject: SSL cPanel mySql setup In-Reply-To: <4C444314-DB19-42E0-B7BD-08042B0541FC@m-r-d.de> References: <818130E5-B0FD-4478-936A-D12A226FFF7C@pidigital.co.uk> <4C444314-DB19-42E0-B7BD-08042B0541FC@m-r-d.de> Message-ID: <03e339b100cad370d5a68df12ad6177f@livecode.com> On 2020-10-16 10:51, matthias rebbe via use-livecode wrote: > Hi Sean, > > there was a discussion a few weeks ago with the topic "Strange > behavior between Mysql, MariaDB and SSL." > I am not sure if the information in that discussion will solve your > problem. I had a quick look through that thread and I don't think that is necessarily relevant here (unless there was a part I missed) - that seemed to be mostly about authentication method rather than SSL specifically - it sounds like in this case a connection is being made it is just that it does not seem to be secured using SSL encryption. I checked the mysql client library code and it seems that if the MySQL server says it does not support SSL then even if you ask for SSL connection (which revDB does is the useSSL flag is true) that request will be ignored and you will get a plaintext connection. So this definitely *sounds* like a MySQL server setup problem rather than a client one (there's some useful info for at least testing the type of connection using the mysql command-line terminal utility here - https://docs.cpanel.net/knowledge-base/security/how-to-configure-mysql-ssl-connections/) > Another approach is the following. For security reasons we do not let > communicat our LC apps directly with MySQL Databases, if the Database > is hosted on a public server. > > We using a Livecode Server Script on the Webserver for doing the > complete DB communication. > Our standalones (Mobile and Desktop) send the requests (password > encrypted string) either as POST or GET to the LC Server script. The > script encrypts the request string and executes it. The return from > the DB is then returned to our standalone. This is most definitely a better solution - and is the only real option if client apps are talking to the server from arbitrary networks. Whilst a secured (via SSL) connection to MySQL directly should mitigate security concerns (as all data flowing between client and server is encrypted), there is no guarantee that an arbitrary network will *allow* connection to the MySQL database port which is required for that to function. In contrast, you'd be hard pressed to find any network which allows access to the internet which blocks port 80 (HTTP) or 443 (HTTPS). Of course, the other advantage of using a 'gateway API' to access your server data is that it allows client and server more flexibility in changing and optimizing things - i.e. if you change something server-side then you can probably make it so you don't necessarily need a client update to match (as you can just adjust what the gateway does). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From sean at pidigital.co.uk Fri Oct 16 06:44:36 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 16 Oct 2020 11:44:36 +0100 Subject: SSL cPanel mySql setup In-Reply-To: <03e339b100cad370d5a68df12ad6177f@livecode.com> References: <03e339b100cad370d5a68df12ad6177f@livecode.com> Message-ID: <626F0A06-4468-446E-94A8-8DFB59ABB218@pidigital.co.uk> Thanks Mark As I thought. Might as well have a server app that does the talking to the database. Sean Cole Pi Digital > On 16 Oct 2020, at 11:33, Mark Waddingham via use-livecode wrote: > > ?On 2020-10-16 10:51, matthias rebbe via use-livecode wrote: >> Hi Sean, >> there was a discussion a few weeks ago with the topic "Strange >> behavior between Mysql, MariaDB and SSL." >> I am not sure if the information in that discussion will solve your problem. > > I had a quick look through that thread and I don't think that is necessarily relevant here (unless there was a part I missed) - that seemed to be mostly about authentication method rather than SSL specifically - it sounds like in this case a connection is being made it is just that it does not seem to be secured using SSL encryption. > > I checked the mysql client library code and it seems that if the MySQL server says it does not support SSL then even if you ask for SSL connection (which revDB does is the useSSL flag is true) that request will be ignored and you will get a plaintext connection. > > So this definitely *sounds* like a MySQL server setup problem rather than a client one (there's some useful info for at least testing the type of connection using the mysql command-line terminal utility here - https://docs.cpanel.net/knowledge-base/security/how-to-configure-mysql-ssl-connections/) > >> Another approach is the following. For security reasons we do not let >> communicat our LC apps directly with MySQL Databases, if the Database >> is hosted on a public server. >> We using a Livecode Server Script on the Webserver for doing the >> complete DB communication. >> Our standalones (Mobile and Desktop) send the requests (password >> encrypted string) either as POST or GET to the LC Server script. The >> script encrypts the request string and executes it. The return from >> the DB is then returned to our standalone. > > This is most definitely a better solution - and is the only real option if client apps are talking to the server from arbitrary networks. > > Whilst a secured (via SSL) connection to MySQL directly should mitigate security concerns (as all data flowing between client and server is encrypted), there is no guarantee that an arbitrary network will *allow* connection to the MySQL database port which is required for that to function. > > In contrast, you'd be hard pressed to find any network which allows access to the internet which blocks port 80 (HTTP) or 443 (HTTPS). > > Of course, the other advantage of using a 'gateway API' to access your server data is that it allows client and server more flexibility in changing and optimizing things - i.e. if you change something server-side then you can probably make it so you don't necessarily need a client update to match (as you can just adjust what the gateway does). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Fri Oct 16 11:46:04 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 16 Oct 2020 15:46:04 +0000 Subject: Odd data in message box Message-ID: <75C13974-3912-4E89-B62D-173C682BC9BE@clearvisiontech.com> I get a bunch of data from my server. In this array, there are some dates. I roll through each one converting the date to local time: function convertToLocalTime sTime //sTime is already been converted to seconds format //convert the time using the hour offset for local time zone put word 6 of the internet date into timeOffset put (abs(timeOffset))*1 into timeOffset put timeOffset/100 into timeOffset if char 1 of timeOffset = "-" then put ((timeOffset*60)*60) into pTimeOffset put sTime - pTimeOffset into sTime else put sTime + ((timeOffset*60)*60) into sTime end if return sTime end convertToLocalTime There is no problem with this function, and it's producing the correct time. However, when it's all said and done, I get this in the message box: 394,2185,1 465,2185,1 253,2185,1 241,2181,1,convertToLocalTime 353,0,0,stack "/Users/Dan1/Desktop/Ignite/MY App/App/main.livecode" 219,2130,9,convertToLocalTime 465,2130,9 253,2130,9 241,2129,1,convertKevinDate 353,0,0,stack "/Users/ Dan1/Desktop/Ignite/MY App/App/main.livecode" 219,38,41,convertKevinDate 119,38,41 118,38,41 118,38,41 465,38,41 241,38,1,FillInData 353,0,0,button id 1410 of card id 1406 of stack "Data Grid Templates 1571787360744" of stack "/Users/Dan1/Desktop/Ignite/MY App/App/main.livecode" 675,3536,1,FillInData 253,3536,1 253,3536,1 490,3536,1 253,3536,1 Any thoughts? -Dan From davros at bellaliant.net Fri Oct 16 12:03:06 2020 From: davros at bellaliant.net (John McKenzie) Date: Fri, 16 Oct 2020 13:03:06 -0300 Subject: Interface Resolution In-Reply-To: <20201013194021.683808dc@poesidon> References: <20201013194021.683808dc@poesidon> Message-ID: <20201016130306.00648738@poesidon> Jacqueline, thank you for adding to my thread about the interface on 4k monitors. I did as suggested but there is no persistence with the plugins dialogue box. If there is a save, OK, or apply type functions I cannot find them. Closing the window does not appear to save the changes as there are not there later, including after quitting and restarting. After fooling around with it all your post caused me to think of it different and after a bit I got it working when picking my plugin from the development menu. That is to I run the IDE, go to the development menu and manually run my plugin script. Takes only a second so not bad. So getting it to run upon startup will be nice if I do, but I can live with this setup. Making the text in the drop down menus legible is something important I still have to do, but thanks to Jacqueline, Peter, Richard and Ralph for getting me to this mostly usable point. Work arounds are not as good as things working but having the ones I have make things better than before and good enough to have bought me time to get everything in good order. From rdimola at evergreeninfo.net Fri Oct 16 12:26:36 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 16 Oct 2020 12:26:36 -0400 Subject: Odd data in message box In-Reply-To: <75C13974-3912-4E89-B62D-173C682BC9BE@clearvisiontech.com> References: <75C13974-3912-4E89-B62D-173C682BC9BE@clearvisiontech.com> Message-ID: <008701d6a3d9$21221200$63663600$@net> This what I get here in the eastern US time zone(gmt-4). Looks Correct to me. Command: put the seconds into x;put convertToLocalTime(x) into y;convert x to dateitems;convert y to dateitems;put x&cr&y Message box results: 2020,10,16,12,20,25,6 2020,10,16,16,20,25,6 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dan Friedman via use-livecode Sent: Friday, October 16, 2020 11:46 AM To: How to use LiveCode Cc: Dan Friedman Subject: Odd data in message box I get a bunch of data from my server. In this array, there are some dates. I roll through each one converting the date to local time: function convertToLocalTime sTime //sTime is already been converted to seconds format //convert the time using the hour offset for local time zone put word 6 of the internet date into timeOffset put (abs(timeOffset))*1 into timeOffset put timeOffset/100 into timeOffset if char 1 of timeOffset = "-" then put ((timeOffset*60)*60) into pTimeOffset put sTime - pTimeOffset into sTime else put sTime + ((timeOffset*60)*60) into sTime end if return sTime end convertToLocalTime There is no problem with this function, and it's producing the correct time. However, when it's all said and done, I get this in the message box: 394,2185,1 465,2185,1 253,2185,1 241,2181,1,convertToLocalTime 353,0,0,stack "/Users/Dan1/Desktop/Ignite/MY App/App/main.livecode" 219,2130,9,convertToLocalTime 465,2130,9 253,2130,9 241,2129,1,convertKevinDate 353,0,0,stack "/Users/ Dan1/Desktop/Ignite/MY App/App/main.livecode" 219,38,41,convertKevinDate 119,38,41 118,38,41 118,38,41 465,38,41 241,38,1,FillInData 353,0,0,button id 1410 of card id 1406 of stack "Data Grid Templates 1571787360744" of stack "/Users/Dan1/Desktop/Ignite/MY App/App/main.livecode" 675,3536,1,FillInData 253,3536,1 253,3536,1 490,3536,1 253,3536,1 Any thoughts? -Dan _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Fri Oct 16 12:31:06 2020 From: waprothero at gmail.com (William Prothero) Date: Fri, 16 Oct 2020 09:31:06 -0700 Subject: SSL cPanel mySql setup In-Reply-To: <4C444314-DB19-42E0-B7BD-08042B0541FC@m-r-d.de> References: <818130E5-B0FD-4478-936A-D12A226FFF7C@pidigital.co.uk> <4C444314-DB19-42E0-B7BD-08042B0541FC@m-r-d.de> Message-ID: Sean: You might find this download interesting, perhaps useful: http://earthlearningsolutions.org/wp-content/uploads/2018/07/RemoteDbEncryption.livecode.zip It is a demo of AES encryption that I use. The livecode app encrypts it, sends to a php file, which decrypts it and posts to a mysql database. You could even store the data encrypted if you want, but I like to access the db with phpMyAdmin. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Oct 16, 2020, at 2:51 AM, matthias rebbe via use-livecode wrote: > > Hi Sean, > > there was a discussion a few weeks ago with the topic "Strange behavior between Mysql, MariaDB and SSL." > I am not sure if the information in that discussion will solve your problem. > > Another approach is the following. For security reasons we do not let communicat our LC apps directly with MySQL Databases, if the Database is hosted on a public server. > > We using a Livecode Server Script on the Webserver for doing the complete DB communication. > Our standalones (Mobile and Desktop) send the requests (password encrypted string) either as POST or GET to the LC Server script. The script encrypts the request string and executes it. The return from the DB is then returned to our standalone. > > Another way would be to use an LC server api HostM is providing for free. > https://www.hostm.com/tutorials/livecode/api-mariadb-mysql > > > Regards, > Matthias > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 16.10.2020 um 10:34 schrieb Pi Digital via use-livecode : >> >> Hi >> >> I?ve found myself out of my depth and in need of advice. >> We have a cPanel webspace with mySQL running on a phpMyAdmin layer within the cPanel setup. Communicating with it from LC has been a breeze. However, doing a traffic scan we noticed that our queries and responses from the database are completely visible. Obviously a high security risk. >> >> Using an ssl certificate set, how do I implement this? How do I get cPanel to allow for it and get LC to make use of them when using revOpenDatabase? I have the useSSL flag set to Boolean ?true?. I?ve tried using the set certificates pointing it at the three ssl files. But the data still is fully readable as plaintext in both direction when checked by our traffic scanner. >> >> Thanks >> >> Sean >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Oct 16 12:45:10 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Oct 2020 11:45:10 -0500 Subject: Interface Resolution In-Reply-To: <20201016130306.00648738@poesidon> References: <20201013194021.683808dc@poesidon> <20201016130306.00648738@poesidon> Message-ID: <175324d05f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Since it's just a stack, open it normally in LC. You can do that either from the Open file menu or since it's open already it should be in the Windows menu. Edit the script normally. Apply and save the stack. The next time LC starts up, the handlers should run. The plugin dialog only manages how and when the stack opens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 16, 2020 11:05:17 AM John McKenzie via use-livecode wrote: > Jacqueline, thank you for adding to my thread about the interface on > 4k monitors. > > I did as suggested but there is no persistence with the plugins > dialogue box. If there is a save, OK, or apply type functions I cannot > find them. Closing the window does not appear to save the changes as > there are not there later, including after quitting and restarting. > > After fooling around with it all your post caused me to think of it > different and after a bit I got it working when picking my plugin from > the development menu. That is to I run the IDE, go to the development > menu and manually run my plugin script. Takes only a second so not bad. > > So getting it to run upon startup will be nice if I do, but I can > live with this setup. Making the text in the drop down menus legible > is something important I still have to do, but thanks to Jacqueline, > Peter, Richard and Ralph for getting me to this mostly usable point. > > Work arounds are not as good as things working but having the ones I > have make things better than before and good enough to have bought me > time to get everything in good order. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Fri Oct 16 12:48:22 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 16 Oct 2020 09:48:22 -0700 Subject: Odd data in message box In-Reply-To: <75C13974-3912-4E89-B62D-173C682BC9BE@clearvisiontech.com> References: <75C13974-3912-4E89-B62D-173C682BC9BE@clearvisiontech.com> Message-ID: <07369a5c-ae42-cc82-0af4-99c11b72c9bd@sonic.net> On 10/16/20 8:46 AM, Dan Friedman via use-livecode wrote: > There is no problem with this function, and it's producing the correct time. However, when it's all said and done, I get this in the message box: > > 394,2185,1 what's line 2185 look like? -- Mark Wieder ahsoftware at gmail.com From dan at clearvisiontech.com Fri Oct 16 12:57:21 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 16 Oct 2020 16:57:21 +0000 Subject: Odd data in message box In-Reply-To: <07369a5c-ae42-cc82-0af4-99c11b72c9bd@sonic.net> References: <75C13974-3912-4E89-B62D-173C682BC9BE@clearvisiontech.com> <07369a5c-ae42-cc82-0af4-99c11b72c9bd@sonic.net> Message-ID: <3F84798A-DE0A-475F-9728-762CAFFD7931@clearvisiontech.com> Mark, THANK YOU for the reply... Line 2185 is: put sTime + ((timeOffset*60)*60) into sTime function convertToLocalTime sTime //sTime is already been converted to seconds format //convert the time using the hour offset for local time zone put word 6 of the internet date into timeOffset put (abs(timeOffset))*1 into timeOffset put timeOffset/100 into timeOffset if char 1 of timeOffset = "-" then put ((timeOffset*60)*60) into pTimeOffset put sTime - pTimeOffset into sTime else put sTime + ((timeOffset*60)*60) into sTime //<----------------- 2185 end if return sTime end convertToLocalTime Thank you! Dan Friedman CEO, ClearVision Technologies, LLC Voice: 909/484-2052 http://www.clearvisiontech.com ?On 10/16/20, 9:49 AM, "use-livecode on behalf of Mark Wieder via use-livecode" wrote: On 10/16/20 8:46 AM, Dan Friedman via use-livecode wrote: > There is no problem with this function, and it's producing the correct time. However, when it's all said and done, I get this in the message box: > > 394,2185,1 what's line 2185 look like? -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Oct 16 13:14:32 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 16 Oct 2020 18:14:32 +0100 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: <8EDDA3D0-CD67-47C2-A764-C1F967728C7A@pidigital.co.uk> Bill Thanks for this. We were just discussing the same solution. I already have some php scripts I?m using for the HTML5 deployment of a LC stack as a portal to the same database. The whole thing needs an overhaul. I?ve inherited this world of pain that has been 10-15years of amateur coding. A testament to LCs ease of learning for my client who had no coding background before. But, boy, is it a mess. The call to the server along with all the credentials had been copy pasted over 900 times inside 700 objects. That?s just counting each time it opens a connection to the database. Bonkers! I think we?ve got a plan of attack now and some light at the end of this very long tunnel. Let?s see how much speed I can get out of this chuff chuff in the tunnel. Sean Cole Pi Digital > On 16 Oct 2020, at 17:31, William Prothero via use-livecode wrote: > > ?Sean: > You might find this download interesting, perhaps useful: > http://earthlearningsolutions.org/wp-content/uploads/2018/07/RemoteDbEncryption.livecode.zip > > It is a demo of AES encryption that I use. The livecode app encrypts it, sends to a php file, which decrypts it and posts to a mysql database. You could even store the data encrypted if you want, but I like to access the db with phpMyAdmin. > > Best, > Bill > > William A. Prothero > https://earthlearningsolutions.org > >> On Oct 16, 2020, at 2:51 AM, matthias rebbe via use-livecode wrote: >> >> Hi Sean, >> >> there was a discussion a few weeks ago with the topic "Strange behavior between Mysql, MariaDB and SSL." >> I am not sure if the information in that discussion will solve your problem. >> >> Another approach is the following. For security reasons we do not let communicat our LC apps directly with MySQL Databases, if the Database is hosted on a public server. >> >> We using a Livecode Server Script on the Webserver for doing the complete DB communication. >> Our standalones (Mobile and Desktop) send the requests (password encrypted string) either as POST or GET to the LC Server script. The script encrypts the request string and executes it. The return from the DB is then returned to our standalone. >> >> Another way would be to use an LC server api HostM is providing for free. >> https://www.hostm.com/tutorials/livecode/api-mariadb-mysql >> >> >> Regards, >> Matthias >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>>> Am 16.10.2020 um 10:34 schrieb Pi Digital via use-livecode : >>> >>> Hi >>> >>> I?ve found myself out of my depth and in need of advice. >>> We have a cPanel webspace with mySQL running on a phpMyAdmin layer within the cPanel setup. Communicating with it from LC has been a breeze. However, doing a traffic scan we noticed that our queries and responses from the database are completely visible. Obviously a high security risk. >>> >>> Using an ssl certificate set, how do I implement this? How do I get cPanel to allow for it and get LC to make use of them when using revOpenDatabase? I have the useSSL flag set to Boolean ?true?. I?ve tried using the set certificates pointing it at the three ssl files. But the data still is fully readable as plaintext in both direction when checked by our traffic scanner. >>> >>> Thanks >>> >>> Sean >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Oct 16 14:09:37 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Oct 2020 13:09:37 -0500 Subject: SSL cPanel mySql setup In-Reply-To: <8EDDA3D0-CD67-47C2-A764-C1F967728C7A@pidigital.co.uk> References: <8EDDA3D0-CD67-47C2-A764-C1F967728C7A@pidigital.co.uk> Message-ID: <175329a56e8.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> When I get a stack like that it's usually easier to figure out what it does and just rewrite it from scratch. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 16, 2020 12:16:52 PM Pi Digital via use-livecode wrote: > Bill > > Thanks for this. We were just discussing the same solution. I already have > some php scripts I?m using for the HTML5 deployment of a LC stack as a > portal to the same database. > > The whole thing needs an overhaul. I?ve inherited this world of pain that > has been 10-15years of amateur coding. A testament to LCs ease of learning > for my client who had no coding background before. But, boy, is it a mess. > The call to the server along with all the credentials had been copy pasted > over 900 times inside 700 objects. That?s just counting each time it opens > a connection to the database. Bonkers! > > I think we?ve got a plan of attack now and some light at the end of this > very long tunnel. Let?s see how much speed I can get out of this chuff > chuff in the tunnel. > > Sean Cole > Pi Digital > > >> On 16 Oct 2020, at 17:31, William Prothero via use-livecode >> wrote: >> >> ?Sean: >> You might find this download interesting, perhaps useful: >> http://earthlearningsolutions.org/wp-content/uploads/2018/07/RemoteDbEncryption.livecode.zip >> >> >> It is a demo of AES encryption that I use. The livecode app encrypts it, >> sends to a php file, which decrypts it and posts to a mysql database. You >> could even store the data encrypted if you want, but I like to access the >> db with phpMyAdmin. >> >> Best, >> Bill >> >> William A. Prothero >> https://earthlearningsolutions.org >> >>> On Oct 16, 2020, at 2:51 AM, matthias rebbe via use-livecode >>> wrote: >>> >>> Hi Sean, >>> >>> there was a discussion a few weeks ago with the topic "Strange behavior >>> between Mysql, MariaDB and SSL." >>> I am not sure if the information in that discussion will solve your problem. >>> >>> Another approach is the following. For security reasons we do not let >>> communicat our LC apps directly with MySQL Databases, if the Database is >>> hosted on a public server. >>> >>> We using a Livecode Server Script on the Webserver for doing the complete >>> DB communication. >>> Our standalones (Mobile and Desktop) send the requests (password encrypted >>> string) either as POST or GET to the LC Server script. The script encrypts >>> the request string and executes it. The return from the DB is then >>> returned to our standalone. >>> >>> Another way would be to use an LC server api HostM is providing for free. >>> https://www.hostm.com/tutorials/livecode/api-mariadb-mysql >>> >>> >>> Regards, >>> Matthias >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>>> Am 16.10.2020 um 10:34 schrieb Pi Digital via use-livecode >>>>> : >>>> >>>> Hi >>>> >>>> I?ve found myself out of my depth and in need of advice. >>>> We have a cPanel webspace with mySQL running on a phpMyAdmin layer within >>>> the cPanel setup. Communicating with it from LC has been a breeze. However, >>>> doing a traffic scan we noticed that our queries and responses from the >>>> database are completely visible. Obviously a high security risk. >>>> >>>> Using an ssl certificate set, how do I implement this? How do I get cPanel >>>> to allow for it and get LC to make use of them when using revOpenDatabase? >>>> I have the useSSL flag set to Boolean ?true?. I?ve tried using the set >>>> certificates pointing it at the three ssl files. But the data still is >>>> fully readable as plaintext in both direction when checked by our traffic >>>> scanner. >>>> >>>> Thanks >>>> >>>> Sean >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Oct 16 14:31:34 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Oct 2020 13:31:34 -0500 Subject: Odd data in message box In-Reply-To: <75C13974-3912-4E89-B62D-173C682BC9BE@clearvisiontech.com> References: <75C13974-3912-4E89-B62D-173C682BC9BE@clearvisiontech.com> Message-ID: On 10/16/20 10:46 AM, Dan Friedman via use-livecode wrote: > There is no problem with this function, and it's producing the correct time. However, when it's all said and done, I get this in the message box: > > 394,2185,1 > 465,2185,1 > 253,2185,1 > 241,2181,1,convertToLocalTime > 353,0,0,stack "/Users/Dan1/Desktop/Ignite/MY App/App/main.livecode" > 219,2130,9,convertToLocalTime > 465,2130,9 > 253,2130,9 > 241,2129,1,convertKevinDate > 353,0,0,stack "/Users/ Dan1/Desktop/Ignite/MY App/App/main.livecode" > 219,38,41,convertKevinDate > 119,38,41 > 118,38,41 > 118,38,41 > 465,38,41 > 241,38,1,FillInData > 353,0,0,button id 1410 of card id 1406 of stack "Data Grid Templates 1571787360744" of stack "/Users/Dan1/Desktop/Ignite/MY App/App/main.livecode" > 675,3536,1,FillInData > 253,3536,1 > 253,3536,1 > 490,3536,1 > 253,3536,1 Here's a translation of the first few lines of the error codes (down through fillInData): 394 Operators +: error in left operand 465 put: error in expression 253 if-then: error in statement 241 Handler: error in statement 353 Object Name: 219 Function: error in function handler 465 put: error in expression 253 if-then: error in statement 241 Handler: error in statement 353 Object Name: 219 Function: error in function handler 119 Operators &: error in right operand 118 Operators &: error in left operand 118 Operators &: error in left operand 465 put: error in expression 241 Handler: error in statement -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Fri Oct 16 15:34:45 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 16 Oct 2020 12:34:45 -0700 Subject: Fwd: Re: Odd data in message box In-Reply-To: References: Message-ID: On 10/16/20 9:57 AM, Dan Friedman wrote: > Mark, > > THANK YOU for the reply... Line 2185 is: > > put sTime + ((timeOffset*60)*60) into sTime That's what I thought. The error you're getting (see Jacque's annotated list) is pointing to an invalid value for sTime in some iteration of that function call. My guess is either sTime is empty or not a numeric value. Try something like this to pinpoint the error: if char 1 of timeOffset = "-" then put ((timeOffset*60)*60) into pTimeOffset put sTime - pTimeOffset into sTime else try put sTime + ((timeOffset*60)*60) into sTime catch e put the sTime & cr executionContexts & cr after msg end try end if -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Oct 16 15:36:20 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 16 Oct 2020 12:36:20 -0700 Subject: SSL cPanel mySql setup In-Reply-To: <8EDDA3D0-CD67-47C2-A764-C1F967728C7A@pidigital.co.uk> References: <8EDDA3D0-CD67-47C2-A764-C1F967728C7A@pidigital.co.uk> Message-ID: On 10/16/20 10:14 AM, Pi Digital via use-livecode wrote: The call to the server along with all the credentials had been copy pasted over 900 times inside 700 objects. OMG!!! -- Mark Wieder ahsoftware at gmail.com From dan at clearvisiontech.com Sat Oct 17 13:13:17 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 17 Oct 2020 17:13:17 +0000 Subject: Odd data in message box Message-ID: <5A3959FB-941F-48B6-B276-52C91C0D262F@clearvisiontech.com> Mark and Jacque, Thank you for your assistance. There was invalid data in sTime. Interestingly, it wasn't from the data I was loading... it was old data coming from a reference to an array in a datagrid. Setting the datagrid's Persistent Data to false resolved the problem. A couple follow up questions: 1. Why didn't the debugger throw an error? Instead, it put this error chunk in the message box? 2. Where did Jacque get that list of codes? Is there some support docs I don't know about that explain these types of thing? Again, thank you both for your help. What would we do without this list, and the talented and helpful people on it?! -Dan ?On 10/16/20, 12:36 PM, "use-livecode on behalf of Mark Wieder via use-livecode" wrote: On 10/16/20 9:57 AM, Dan Friedman wrote: > Mark, > > THANK YOU for the reply... Line 2185 is: > > put sTime + ((timeOffset*60)*60) into sTime That's what I thought. The error you're getting (see Jacque's annotated list) is pointing to an invalid value for sTime in some iteration of that function call. My guess is either sTime is empty or not a numeric value. Try something like this to pinpoint the error: if char 1 of timeOffset = "-" then put ((timeOffset*60)*60) into pTimeOffset put sTime - pTimeOffset into sTime else try put sTime + ((timeOffset*60)*60) into sTime catch e put the sTime & cr executionContexts & cr after msg end try end if -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sat Oct 17 13:43:03 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 17 Oct 2020 10:43:03 -0700 Subject: Odd data in message box In-Reply-To: <5A3959FB-941F-48B6-B276-52C91C0D262F@clearvisiontech.com> References: <5A3959FB-941F-48B6-B276-52C91C0D262F@clearvisiontech.com> Message-ID: <0556d37c-5041-1760-8f85-7e5493c45de6@sonic.net> On 10/17/20 10:13 AM, Dan Friedman wrote: > 2. Where did Jacque get that list of codes? Is there some support docs I don't know about that explain these types of thing? The error texts are in a global property, but there's a definite catch22ness involved because you have to know it's there in order to find it in the dictionary: put the scriptExecutionErrors In PowerDebug I added a helper function so that from the messagebox you can say put explainerror(219) which is basically just a wrapper: function explainError pError return line pError of the scriptExecutionErrors end explainError -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sat Oct 17 14:44:23 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 17 Oct 2020 21:44:23 +0300 Subject: Livecode server UNIX version (not Linux). In-Reply-To: References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> Message-ID: <31d5ad9e-48de-ddf9-a3d9-eafa7d7febc5@gmail.com> "But rightly LC saw where the future was headed with mobile computing and they obviously had to make sacrifices along the way (e.g. FreeBSD, etc)" That sounds super if it were true, but I don't think it is as RunRev (as they then were) dropped support for SPARC, UNIX and so forth a long time before they began work on mobile platforms. Richmond. On 16.10.20 10:55, Bernard Devlin via use-livecode wrote: > Hi Heriberto > > Back in the day (20 years ago) the engine/IDE ran on FreeBSD and various > proprietary unixes. > > The Linux server version has been seen to work on FreeBSD back in 2011 > (after installing Linux compatibility layer). > > http://runtime-revolution.278305.n4.nabble.com/Yay-Victory-RevServer-runs-on-FreeBSD-with-Linux-Compat-installed-td3445454.html > > You _might_ be able to get that to work now. I doubt it would be supported > by Livecode. What amazes me nowadays is just how much more complex things > are than they were 20 years ago - looking at the compatibility matrix for > Livecode dependencies on OS version, XCode version, device version -- all > just to produce apps that run on iOS: > > https://livecode.com/docs/9-5-0/faq/faq/ > > If someone had said 20 years ago that a small company in Scotland could > manage that kind of complexity people would have laughed in disbelief. But > rightly LC saw where the future was headed with mobile computing and they > obviously had to make sacrifices along the way (e.g. FreeBSD, etc) to be in > a situation to take on this level of complexity. > > HTH Bernard > > On Thu, Oct 15, 2020 at 5:08 PM Heriberto Torrado via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Dear all, >> >> I have a question. It's not a very important question and I don?t want >> to bother you y 'all, so if you think is off-topic, feel free to not to >> respond, I'm just curious. >> >> I've been working with Livecode for almost five years, and I never saw a >> LiveCode server "UNIX" version. >> >> The LiveCode Wikipedia?s article says this: LiveCode runs on iOS, Android, >> OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations >> of Unix (I think is just means Linux)". >> >> I'm thinking about tinkering with a FreeBSD server and LiveCode server, >> but I didn't see a "UNIX" version, so I suppose that I have to compile it. >> Have any of you installed LiveCode server on FreeBSD (or Solaris)? >> >> I'm just thinking, but maybe there's a small niche working with LiveCode >> server on BSD or Solaris (still many companies use them and not many people >> develop software for this platforms nowadays). >> We have a few companies in Spain (my country) still using Solaris or BSD >> servers (mainly in the Graphic arts business). >> >> PS, I currently work with LiveCode Server on Centos, but it could be >> interesting to test it in FreeBSD. >> >> Best regards/ Saludos cordiales/ Cordialement >> >> Heriberto Torrado >> ?Chief Technology Officer (CTO) >> ?Director de inform?tica >> Directeur informatique >> >> https://networkdreams.net >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sat Oct 17 14:52:09 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 17 Oct 2020 11:52:09 -0700 Subject: Odd data in message box In-Reply-To: <5A3959FB-941F-48B6-B276-52C91C0D262F@clearvisiontech.com> References: <5A3959FB-941F-48B6-B276-52C91C0D262F@clearvisiontech.com> Message-ID: <61770fca-0407-29fc-d946-42423ac16c12@sonic.net> On 10/17/20 10:13 AM, Dan Friedman wrote: > 1. Why didn't the debugger throw an error? Instead, it put this error chunk in the message box? Dunno. I can't replicate your experience. Somewhat higher in your stack or in the message path? If I try this on my system with an invalid sTime value the debugger gets triggered. If I take PowerDebug out of the picture I still end up in the builtin debugger. If I then check Suppress Errors from the menubar then the stack locks up on the error. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Sat Oct 17 14:53:01 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Oct 2020 13:53:01 -0500 Subject: Odd data in message box In-Reply-To: <5A3959FB-941F-48B6-B276-52C91C0D262F@clearvisiontech.com> References: <5A3959FB-941F-48B6-B276-52C91C0D262F@clearvisiontech.com> Message-ID: <05343bed-5b1e-746c-de47-14850606b295@hyperactivesw.com> On 10/17/20 12:13 PM, Dan Friedman via use-livecode wrote: > Where did Jacque get that list of codes? From a plugin Richard and I wrote some years ago. It dynamically loads the error list based on the version of LC you're using. You can look up individual codes, or paste in a list of errors which is what I did with your report. You can get the plugin from Sample Stacks in the LC toolbar; search for "LiveCode Error Lookup". Or in your browser here: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Oct 17 16:34:54 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 17 Oct 2020 13:34:54 -0700 Subject: Odd data in message box In-Reply-To: <05343bed-5b1e-746c-de47-14850606b295@hyperactivesw.com> References: <05343bed-5b1e-746c-de47-14850606b295@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > On 10/17/20 12:13 PM, Dan Friedman via use-livecode wrote: >> Where did Jacque get that list of codes? > > From a plugin Richard and I wrote some years ago. It dynamically loads the error list based on > the version of LC you're using. You can look up individual codes, or paste in a list of errors > which is what I did with your report. Tools like that can be useful at runtime to help fill out logs and such. But I've been seeing a surprising number of conversations here and in the forums suggesting that people are seeing raw error info in the IDE. If that's true, what broke with the IDE's more guided error handling? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From neville.smythe at optusnet.com.au Sat Oct 17 19:32:04 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 18 Oct 2020 10:32:04 +1100 Subject: SSL cPanel mySql setup Message-ID: Thanks to this thread for the realisation my remote db connections are not secure. I just checked with Dreamhost and they gave their reasons for not use SSL with their mySQL setup ? unacceptable burden on their server and undesirable for web app access; so in their opinion very few shared host environments would enable SSL for mySQL. So I need some middleware. LC Server would have been ideal, but Dreamhost no longer install it ;-(. I particularly could have used LC Server to drive mailman distribution list subscription/unsubscription tasks from the database for which I do not have a good solution at the moment. Neville From matthias_livecode_150811 at m-r-d.de Sat Oct 17 19:36:30 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 18 Oct 2020 01:36:30 +0200 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: Neville, Can't you install LC Server on your own on your Dreamhost account. I remember there were others on the list or in the forum who were successful with installing LC Server on their Dreamhost account. - Matthias Rebbe Life Is Too Short For Boring Code > Am 18.10.2020 um 01:32 schrieb Neville Smythe via use-livecode : > > Thanks to this thread for the realisation my remote db connections are not secure. I just checked with Dreamhost and they gave their reasons for not use SSL with their mySQL setup ? unacceptable burden on their server and undesirable for web app access; so in their opinion very few shared host environments would enable SSL for mySQL. > > So I need some middleware. LC Server would have been ideal, but Dreamhost no longer install it ;-(. I particularly could have used LC Server to drive mailman distribution list subscription/unsubscription tasks from the database for which I do not have a good solution at the moment. > > Neville > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Sat Oct 17 19:57:26 2020 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 17 Oct 2020 16:57:26 -0700 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: Dreamhost never did install LC ... but several of us have made it work. Just get the right server executable and permissions. I could never get it work account wide but it rocked for individual web site installation. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sat, Oct 17, 2020 at 4:37 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Neville, > Can't you install LC Server on your own on your Dreamhost account. I > remember there were others on the list or in the forum who were successful > with installing LC Server on their Dreamhost account. > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 18.10.2020 um 01:32 schrieb Neville Smythe via use-livecode < > use-livecode at lists.runrev.com>: > > > > Thanks to this thread for the realisation my remote db connections are > not secure. I just checked with Dreamhost and they gave their reasons for > not use SSL with their mySQL setup ? unacceptable burden on their server > and undesirable for web app access; so in their opinion very few shared > host environments would enable SSL for mySQL. > > > > So I need some middleware. LC Server would have been ideal, but > Dreamhost no longer install it ;-(. I particularly could have used LC > Server to drive mailman distribution list subscription/unsubscription tasks > from the database for which I do not have a good solution at the moment. > > > > Neville > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Oct 17 20:11:03 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Oct 2020 19:11:03 -0500 Subject: Odd data in message box In-Reply-To: References: <05343bed-5b1e-746c-de47-14850606b295@hyperactivesw.com> Message-ID: <175390b99d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If there's an errorDialog handler, errors bypass the IDE. That's one way it could happen. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 17, 2020 4:06:03 PM Richard Gaskin via use-livecode wrote: > J. Landman Gay wrote: >> On 10/17/20 12:13 PM, Dan Friedman via use-livecode wrote: >>> Where did Jacque get that list of codes? >> >> From a plugin Richard and I wrote some years ago. It dynamically loads the >> error list based on >> the version of LC you're using. You can look up individual codes, or paste >> in a list of errors >> which is what I did with your report. > > Tools like that can be useful at runtime to help fill out logs and such. > > But I've been seeing a surprising number of conversations here and in > the forums suggesting that people are seeing raw error info in the IDE. > > If that's true, what broke with the IDE's more guided error handling? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Sat Oct 17 20:23:04 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 18 Oct 2020 01:23:04 +0100 Subject: SSL cPanel mySql setup In-Reply-To: <175329a56e8.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <8EDDA3D0-CD67-47C2-A764-C1F967728C7A@pidigital.co.uk> <175329a56e8.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Jacqueline wrote: > > just rewrite it from scratch Hehe :) Just to give you an idea of the behemoth of a monstrous beast I have taken on, here are some stats I just ran a script to collate: 1 Main Stack 95 Substacks (Excl Data grids) 786 Cards 76779 Controls (Excl Data grids) 376377 Lines of code (Excl Data grids) The database is 63GB with 53 Tables and 1.5million rows of data. As mentioned, there is a tremendous amount of fat to be burnt off. It's 10-15 years of multiple LCers (including Klaus and Hermann as I understand it) plus its originator, my boss, Daniel Shapero, who had no previous coding experience and still only really knows the basics to intermediate level. It's truly impressive even though he admits himself it's a complete mess. It's still coded in v5.0.2 because certain bits will fall over when run in v9.x.y.z. We want to eventually have the whole thing transitioned over to HTML5 deployment (which would totally be possible if LC HQ pulled their fingers out and fixed the damned thing - seriously, don't get me wound up on that again!) as most of the clients (Business Mobile Device Sales Agencies) and prospective clients don't like installing software on their PC's. But Daniel, who wants to still have a finger in the coding, does not want to learn a new language as LC is so simple in comparison to ANY web-based language. I only started with them because they needed a way of signing documents with Adobe Sign (previously EchoSign). Since then I've added DocuSign, MS DynamicsCRM integration, about to add in Sage CRM support, as well as the HTML5 portal. One step at a time... Sean Cole *Pi Digital* On Fri, 16 Oct 2020 at 19:09, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > When I get a stack like that it's usually easier to figure out what it > does > and just rewrite it from scratch. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 16, 2020 12:16:52 PM Pi Digital via use-livecode > wrote: > > > Bill > > > > Thanks for this. We were just discussing the same solution. I already > have > > some php scripts I?m using for the HTML5 deployment of a LC stack as a > > portal to the same database. > > > > The whole thing needs an overhaul. I?ve inherited this world of pain > that > > has been 10-15years of amateur coding. A testament to LCs ease of > learning > > for my client who had no coding background before. But, boy, is it a > mess. > > The call to the server along with all the credentials had been copy > pasted > > over 900 times inside 700 objects. That?s just counting each time it > opens > > a connection to the database. Bonkers! > > > > I think we?ve got a plan of attack now and some light at the end of this > > very long tunnel. Let?s see how much speed I can get out of this chuff > > chuff in the tunnel. > > > > Sean Cole > > Pi Digital > > > > > >> On 16 Oct 2020, at 17:31, William Prothero via use-livecode > >> wrote: > >> > >> ?Sean: > >> You might find this download interesting, perhaps useful: > >> > http://earthlearningsolutions.org/wp-content/uploads/2018/07/RemoteDbEncryption.livecode.zip > >> < > http://earthlearningsolutions.org/wp-content/uploads/2018/07/RemoteDbEncryption.livecode.zip > > > >> > >> It is a demo of AES encryption that I use. The livecode app encrypts > it, > >> sends to a php file, which decrypts it and posts to a mysql database. > You > >> could even store the data encrypted if you want, but I like to access > the > >> db with phpMyAdmin. > >> > >> Best, > >> Bill > >> > >> William A. Prothero > >> https://earthlearningsolutions.org > >> > >>> On Oct 16, 2020, at 2:51 AM, matthias rebbe via use-livecode > >>> wrote: > >>> > >>> Hi Sean, > >>> > >>> there was a discussion a few weeks ago with the topic "Strange > behavior > >>> between Mysql, MariaDB and SSL." > >>> I am not sure if the information in that discussion will solve your > problem. > >>> > >>> Another approach is the following. For security reasons we do not let > >>> communicat our LC apps directly with MySQL Databases, if the Database > is > >>> hosted on a public server. > >>> > >>> We using a Livecode Server Script on the Webserver for doing the > complete > >>> DB communication. > >>> Our standalones (Mobile and Desktop) send the requests (password > encrypted > >>> string) either as POST or GET to the LC Server script. The script > encrypts > >>> the request string and executes it. The return from the DB is then > >>> returned to our standalone. > >>> > >>> Another way would be to use an LC server api HostM is providing for > free. > >>> https://www.hostm.com/tutorials/livecode/api-mariadb-mysql > >>> > >>> > >>> Regards, > >>> Matthias > >>> > >>> - > >>> Matthias Rebbe > >>> Life Is Too Short For Boring Code > >>> > >>>>> Am 16.10.2020 um 10:34 schrieb Pi Digital via use-livecode > >>>>> : > >>>> > >>>> Hi > >>>> > >>>> I?ve found myself out of my depth and in need of advice. > >>>> We have a cPanel webspace with mySQL running on a phpMyAdmin layer > within > >>>> the cPanel setup. Communicating with it from LC has been a breeze. > However, > >>>> doing a traffic scan we noticed that our queries and responses from > the > >>>> database are completely visible. Obviously a high security risk. > >>>> > >>>> Using an ssl certificate set, how do I implement this? How do I get > cPanel > >>>> to allow for it and get LC to make use of them when using > revOpenDatabase? > >>>> I have the useSSL flag set to Boolean ?true?. I?ve tried using the > set > >>>> certificates pointing it at the three ssl files. But the data still > is > >>>> fully readable as plaintext in both direction when checked by our > traffic > >>>> scanner. > >>>> > >>>> Thanks > >>>> > >>>> Sean > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Sat Oct 17 22:13:14 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 18 Oct 2020 03:13:14 +0100 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: Neville, Sorry for your pain but I'm glad it's been brought to light for you too before someone heinously exploits it. Looks like we've both got some work on our hands. >From what I have worked out and been advised, using php over https is the easiest route to switch to. I say easiest. But it's not going to be easy. This is the full count: 896 Opendatabase 851 revQuery 540 revdberr references 2895 revDataFromQuery; revDatabaseColumnNamed/s 1022 revCloseDatabase; revCloseCursor It's going to be a long weekend :/ Sean Cole *Pi Digital* On Sun, 18 Oct 2020 at 00:32, Neville Smythe via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks to this thread for the realisation my remote db connections are not > secure. I just checked with Dreamhost and they gave their reasons for not > use SSL with their mySQL setup ? unacceptable burden on their server and > undesirable for web app access; so in their opinion very few shared host > environments would enable SSL for mySQL. > > So I need some middleware. LC Server would have been ideal, but Dreamhost > no longer install it ;-(. I particularly could have used LC Server to drive > mailman distribution list subscription/unsubscription tasks from the > database for which I do not have a good solution at the moment. > > Neville > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Sun Oct 18 06:58:50 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 18 Oct 2020 12:58:50 +0200 Subject: LC iOS Command 'mergPopActivity' [was Re: The iOS "Files" folder] Message-ID: <769B3120-FCF5-4ECB-9683-AC0A303E2A47@mac.com> I have been trying to use this command, initially to allow an iOS app to put something in the ?Files? folder on an iPhone, but I?m now more interested in the whole idea of Activity Views and how to exploit them in an iOS app. I believe that the LC ?mergPopActivity' command is a wrapper for some function in the iOS native universe - connected with ?UIActivityViewController', but so far I haven?t worked out which one, since I don?t really understand much of Apple?s iOS Developer documentation (I always hope that using LC removes the need to do so!). Elanor Buchanan of the mother ship has been extremely helpful about this, and has said she hopes to improve the almost non-existent documentation of this command, but meanwhile I?m interested if anyone on this list has any insights, as I?m quite stuck and don?t want to bug Elanor too much. When you invoke the ?mergPopActivity' command in an LC script, it opens a modal window which gives a gateway into services available on your device, like email, printing, saving to ?Files?, sending to social media etc - it depends on what your device is capable of, and the apps it has loaded; so I believe that the LC command essentially implements the ?sharing? activity in iOS, which is usually invoked via an icon consisting of a square with a North-pointing arrow in it. So far so good, but I?ve only been able to do one thing so far, which is to offer a text string originating in the app to these various services. So far I have not been able to find a way to offer a file (for example, a file containing a text rather than the text itself - easy to generate within an app, but no luck in offering to email it etc). There is a ?URL? parameter but I can?t work out what it does. Anyone got any clues or shall I apologise (again) to Elanor and ask her for more help? Graham From bdrunrev at gmail.com Sun Oct 18 08:00:30 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 18 Oct 2020 13:00:30 +0100 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <31d5ad9e-48de-ddf9-a3d9-eafa7d7febc5@gmail.com> References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> <31d5ad9e-48de-ddf9-a3d9-eafa7d7febc5@gmail.com> Message-ID: Which is why my sentence finishes with "... to be in a situation to take on this level of complexity." :-) Apple first bought the domain iphone.org in 1999. That the iPhone was under development was even being discussed by mainstream media such as the New York Times in 2002. The public availability of the iPhone was announced by Apple at the start of January 2007. Those with an ear to the ground would have been considering their future options between 2002 and 2007. I'm glad they had the foresight I didn't have. Kind regards, Bernard On Sat, Oct 17, 2020 at 7:45 PM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > That sounds super if it were true, but I don't think it is as RunRev (as > they then were) dropped support for SPARC, UNIX and so > forth a long time before they began work on mobile platforms. > > Richmond. > > From harrison at all-auctions.com Sun Oct 18 11:01:57 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 18 Oct 2020 11:01:57 -0400 Subject: Detect if video was completed? In-Reply-To: References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> <31d5ad9e-48de-ddf9-a3d9-eafa7d7febc5@gmail.com> Message-ID: <0CCDFC26-5B59-423F-96EA-A288DF749196@all-auctions.com> I have an HTML5/Javascript video player that plays a video and displays the video duration and current play time, using LiveCode Server. I want to know when the current time equals the duration time so I can then invoke a LiveCode process that makes a note that the video was fully played so I can unlock another webpage to be viewed. I think I need a way to get the current time and video duration values of the javascript into LiveCode variables. Any ideas how I could do this? Thanks, Rick From ambassador at fourthworld.com Sun Oct 18 12:42:56 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 18 Oct 2020 09:42:56 -0700 Subject: Odd data in message box In-Reply-To: <175390b99d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <175390b99d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <8a2fc7e4-360d-b718-3452-ccd19be5ea2c@fourthworld.com> True, but what would anyone go out of their way to write an error handler that provides less useful information than what LC provides if left alone? And some of the error info I see shared in the forums is from newer users, who seem unlikely to have ventured into the relatively arcane world of custom error processing. I hope I simply misunderstand what I've been seeing, that perhaps there isn't something broken in recent versions of the IDE's error handling. In Dan's message from yesterday he wrote: 1. Why didn't the debugger throw an error? Instead, it put this error chunk in the message box? @Dan: Do you have a custom errorDialog handler in your message path? -- Richard Gaskin Fourth World Systems J. Landman Gay wrote: > If there's an errorDialog handler, errors bypass the IDE. That's one way it > could happen. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 17, 2020 4:06:03 PM Richard Gaskin via use-livecode > wrote: > >> J. Landman Gay wrote: >>> On 10/17/20 12:13 PM, Dan Friedman via use-livecode wrote: >>>> Where did Jacque get that list of codes? >>> >>> From a plugin Richard and I wrote some years ago. It dynamically loads the >>> error list based on >>> the version of LC you're using. You can look up individual codes, or paste >>> in a list of errors >>> which is what I did with your report. >> >> Tools like that can be useful at runtime to help fill out logs and such. >> >> But I've been seeing a surprising number of conversations here and in >> the forums suggesting that people are seeing raw error info in the IDE. >> >> If that's true, what broke with the IDE's more guided error handling? >> >> -- >> Richard Gaskin From ambassador at fourthworld.com Sun Oct 18 12:51:14 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 18 Oct 2020 09:51:14 -0700 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: Sean Cole wrote: > Since then I've added DocuSign, MS DynamicsCRM integration Are you at liberty to describe what that integration involved? Specifically, do you use MS' REST API? And if so, how were you able to set up the app registration in Azure for successful authentication? I have a request from a client for integration with Dynamics via REST, but we're stuck in the maze of options in Azure's admin panels with regard to the app, groups, roles, flows, and other components come into play for successful authentication. I keep hoping we're missing something obvious. Perhaps we are. I'm eager to learn how you accomplished that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Oct 18 13:05:19 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 18 Oct 2020 10:05:19 -0700 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: <8f39d78b-29c2-e1df-cd2c-0ed302289097@fourthworld.com> Neville Smythe wrote: > So I need some middleware. LC Server would have been ideal, but > Dreamhost no longer install it ;-(. I particularly could have used > LC Server to drive mailman distribution list > subscription/unsubscription tasks from the database for which I do > not have a good solution at the moment. I've been a Dreamhost customer for more than a decade, and I don't believe they ever offered a hosting configuration with LiveCode preinstalled. But many of us have been using LiveCode Server on Dreamhost for a long time. LC Server runs under CGI, a standardized convention for allowing just about any command-line program to be used to augment an Apache web server. On shared hosts, the directives used to tell Apache to handle certain requests by passing them to another program like LC Server are established in a .htaccess file in the folder those LC files are in. Give this lesson a go, and let us know if we can lend a hand on any details to get you up and running with LC Server on Dreamhost: http://lessons.livecode.com/m/4070/l/36655-how-do-i-install-livecode-server-with-apache-via-htaccess -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Sun Oct 18 13:34:03 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 18 Oct 2020 18:34:03 +0100 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: We have some Azure .net API guys in India we have that make the middle-man for this. It's all written in C#. I then use REST to talk through that to the clients DynCRM. I didn't want to go into all the C# which is why we outsourced it to India. They are great and have often been able to help at a moments notice when any issue arose. Sean Cole *Pi Digital * On Sun, 18 Oct 2020 at 17:51, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Sean Cole wrote: > > > Since then I've added DocuSign, MS DynamicsCRM integration > > Are you at liberty to describe what that integration involved? > > Specifically, do you use MS' REST API? And if so, how were you able to > set up the app registration in Azure for successful authentication? > > I have a request from a client for integration with Dynamics via REST, > but we're stuck in the maze of options in Azure's admin panels with > regard to the app, groups, roles, flows, and other components come into > play for successful authentication. > > I keep hoping we're missing something obvious. Perhaps we are. I'm > eager to learn how you accomplished that. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Oct 18 13:56:44 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Oct 2020 12:56:44 -0500 Subject: Odd data in message box In-Reply-To: <8a2fc7e4-360d-b718-3452-ccd19be5ea2c@fourthworld.com> References: <175390b99d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <8a2fc7e4-360d-b718-3452-ccd19be5ea2c@fourthworld.com> Message-ID: <1753cdb4360.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> When you build a standalone there's an option to report errors in an email or a file. The purpose is to allow users to send error info to the developer. These are raw error messages like Dan saw and are of no use to the user, so translating them makes no sense. But you're right that new users probably don't have an errorDialog handler. I've seen error lists appear in the message box too, but I do have that handler in the stack script. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 18, 2020 11:45:01 AM Richard Gaskin via use-livecode wrote: > True, but what would anyone go out of their way to write an error > handler that provides less useful information than what LC provides if > left alone? > > And some of the error info I see shared in the forums is from newer > users, who seem unlikely to have ventured into the relatively arcane > world of custom error processing. > > I hope I simply misunderstand what I've been seeing, that perhaps there > isn't something broken in recent versions of the IDE's error handling. > > In Dan's message from yesterday he wrote: > > 1. Why didn't the debugger throw an error? Instead, it put this error > chunk in the message box? > > @Dan: Do you have a custom errorDialog handler in your message path? > > -- > Richard Gaskin > Fourth World Systems > > > > J. Landman Gay wrote: >> If there's an errorDialog handler, errors bypass the IDE. That's one way it >> could happen. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On October 17, 2020 4:06:03 PM Richard Gaskin via use-livecode >> wrote: >> >>> J. Landman Gay wrote: >>>> On 10/17/20 12:13 PM, Dan Friedman via use-livecode wrote: >>>>> Where did Jacque get that list of codes? >>>> >>>> From a plugin Richard and I wrote some years ago. It dynamically loads the >>>> error list based on >>>> the version of LC you're using. You can look up individual codes, or paste >>>> in a list of errors >>>> which is what I did with your report. >>> >>> Tools like that can be useful at runtime to help fill out logs and such. >>> >>> But I've been seeing a surprising number of conversations here and in >>> the forums suggesting that people are seeing raw error info in the IDE. >>> >>> If that's true, what broke with the IDE's more guided error handling? >>> >>> -- >>> Richard Gaskin > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Sun Oct 18 16:34:03 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 18 Oct 2020 20:34:03 +0000 Subject: Odd data in message box In-Reply-To: <8a2fc7e4-360d-b718-3452-ccd19be5ea2c@fourthworld.com> References: <175390b99d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <8a2fc7e4-360d-b718-3452-ccd19be5ea2c@fourthworld.com> Message-ID: <2EAF0224-6276-4F14-A0FC-F41654C5E6CB@clearvisiontech.com> //@Dan: Do you have a custom errorDialog handler in your message path? I do not. -Dan ?On 10/18/20, 9:44 AM, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: True, but what would anyone go out of their way to write an error handler that provides less useful information than what LC provides if left alone? And some of the error info I see shared in the forums is from newer users, who seem unlikely to have ventured into the relatively arcane world of custom error processing. I hope I simply misunderstand what I've been seeing, that perhaps there isn't something broken in recent versions of the IDE's error handling. In Dan's message from yesterday he wrote: 1. Why didn't the debugger throw an error? Instead, it put this error chunk in the message box? @Dan: Do you have a custom errorDialog handler in your message path? -- Richard Gaskin Fourth World Systems J. Landman Gay wrote: > If there's an errorDialog handler, errors bypass the IDE. That's one way it > could happen. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 17, 2020 4:06:03 PM Richard Gaskin via use-livecode > wrote: > >> J. Landman Gay wrote: >>> On 10/17/20 12:13 PM, Dan Friedman via use-livecode wrote: >>>> Where did Jacque get that list of codes? >>> >>> From a plugin Richard and I wrote some years ago. It dynamically loads the >>> error list based on >>> the version of LC you're using. You can look up individual codes, or paste >>> in a list of errors >>> which is what I did with your report. >> >> Tools like that can be useful at runtime to help fill out logs and such. >> >> But I've been seeing a surprising number of conversations here and in >> the forums suggesting that people are seeing raw error info in the IDE. >> >> If that's true, what broke with the IDE's more guided error handling? >> >> -- >> Richard Gaskin _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Sun Oct 18 17:38:14 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Sun, 18 Oct 2020 17:38:14 -0400 Subject: Livecode server UNIX version (not Linux). In-Reply-To: References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> Message-ID: <1736e4c5-ce57-9e12-04e9-f4d19785723c@networkdreams.net> Barnand, Thanks for your kindly response "What amazes me nowadays is just how much more complex things are than they were 20 years ago" Yes,that's the main problem today. Regardless of the programming language, nowadays we have to deal with desktops, mobiles, servers, etc. and that is crazy. In the web design world, they "fixed" it using CSS + HTML + JS + SQL + "insert your favorite server language here", but that is also a mess too. I miss the old days: Just Desktop & servers.:-( As you said: I don't know how runrev (Livecode) can deal with that complexity level. Five different platforms and 32 & 64 bits. I'll try the Linux compatibility layer. I think the latest Solaris versions have it too. Best, Hery// On 10/16/20 3:55 AM, Bernard Devlin via use-livecode wrote: > Hi Heriberto > > Back in the day (20 years ago) the engine/IDE ran on FreeBSD and various > proprietary unixes. > > The Linux server version has been seen to work on FreeBSD back in 2011 > (after installing Linux compatibility layer). > > http://runtime-revolution.278305.n4.nabble.com/Yay-Victory-RevServer-runs-on-FreeBSD-with-Linux-Compat-installed-td3445454.html > > You _might_ be able to get that to work now. I doubt it would be supported > by Livecode. What amazes me nowadays is just how much more complex things > are than they were 20 years ago - looking at the compatibility matrix for > Livecode dependencies on OS version, XCode version, device version -- all > just to produce apps that run on iOS: > > https://livecode.com/docs/9-5-0/faq/faq/ > > If someone had said 20 years ago that a small company in Scotland could > manage that kind of complexity people would have laughed in disbelief. But > rightly LC saw where the future was headed with mobile computing and they > obviously had to make sacrifices along the way (e.g. FreeBSD, etc) to be in > a situation to take on this level of complexity. > > HTH Bernard > > On Thu, Oct 15, 2020 at 5:08 PM Heriberto Torrado via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Dear all, >> >> I have a question. It's not a very important question and I don?t want >> to bother you y 'all, so if you think is off-topic, feel free to not to >> respond, I'm just curious. >> >> I've been working with Livecode for almost five years, and I never saw a >> LiveCode server "UNIX" version. >> >> The LiveCode Wikipedia?s article says this: LiveCode runs on iOS, Android, >> OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations >> of Unix (I think is just means Linux)". >> >> I'm thinking about tinkering with a FreeBSD server and LiveCode server, >> but I didn't see a "UNIX" version, so I suppose that I have to compile it. >> Have any of you installed LiveCode server on FreeBSD (or Solaris)? >> >> I'm just thinking, but maybe there's a small niche working with LiveCode >> server on BSD or Solaris (still many companies use them and not many people >> develop software for this platforms nowadays). >> We have a few companies in Spain (my country) still using Solaris or BSD >> servers (mainly in the Graphic arts business). >> >> PS, I currently work with LiveCode Server on Centos, but it could be >> interesting to test it in FreeBSD. >> >> Best regards/ Saludos cordiales/ Cordialement >> >> Heriberto Torrado >> ?Chief Technology Officer (CTO) >> ?Director de inform?tica >> Directeur informatique >> >> https://networkdreams.net >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From htorrado at networkdreams.net Sun Oct 18 17:58:46 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Sun, 18 Oct 2020 17:58:46 -0400 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <31d5ad9e-48de-ddf9-a3d9-eafa7d7febc5@gmail.com> References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> <31d5ad9e-48de-ddf9-a3d9-eafa7d7febc5@gmail.com> Message-ID: Hi Richmond, I think it's because since the early 2000's, Linux is the UNIX-like standard platform in the world, and maybe Runrev realized that it is not worth it to put more effort into other UNIX platforms rather than Linux It is a pity because now, Linux runs on 90% of the internet servers. I love Linux, but monopolies are not good (even "free" monopolies). Solaris, AIX and HP-UX are almost dead and BSDs and illumos derivations are decaying day by day. There are still some companies using them in Spain, but they lack technicians, so they are stepping on the gas to get rid of them. There are still some grey beards that refuse to toss them away, and maybe there are some opportunities working with them. Still here in the US there are many governmental apartments using them. Sadly, UNIX is part of a world that no longer exists. Nice an updated reading: https://www.unixsheikh.com/articles/freebsd-is-an-amazing-operating-system.html Best, Hery On 10/17/20 2:44 PM, Richmond via use-livecode wrote: > "But rightly LC saw where the future was headed with mobile computing > and they obviously had to make sacrifices along the way (e.g. FreeBSD, > etc)" > > That sounds super if it were true, but I don't think it is as RunRev > (as they then were) dropped support for SPARC, UNIX and so > forth a long time before they began work on mobile platforms. > > Richmond. > > On 16.10.20 10:55, Bernard Devlin via use-livecode wrote: >> ? Hi Heriberto >> >> Back in the day (20 years ago) the engine/IDE ran on FreeBSD and various >> proprietary unixes. >> >> The Linux server version has been seen to work on FreeBSD back in 2011 >> (after installing Linux compatibility layer). >> >> http://runtime-revolution.278305.n4.nabble.com/Yay-Victory-RevServer-runs-on-FreeBSD-with-Linux-Compat-installed-td3445454.html >> >> >> You _might_ be able to get that to work now.? I doubt it would be >> supported >> by Livecode.? What amazes me nowadays is just how much more complex >> things >> are than they were 20 years ago - looking at the compatibility matrix >> for >> Livecode dependencies on OS version, XCode version, device version -- >> all >> just to produce apps that run on iOS: >> >> https://livecode.com/docs/9-5-0/faq/faq/ >> >> If someone had said 20 years ago that a small company in Scotland could >> manage that kind of complexity people would have laughed in >> disbelief.? But >> rightly LC saw where the future was headed with mobile computing and >> they >> obviously had to make sacrifices along the way (e.g. FreeBSD, etc) to >> be in >> a situation to take on this level of complexity. >> >> HTH Bernard >> >> On Thu, Oct 15, 2020 at 5:08 PM Heriberto Torrado via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Dear all, >>> >>> I have a question.?? It's not a very important question and I don?t >>> want >>> to bother you y 'all, so if you think is off-topic, feel free to not to >>> respond,? I'm just curious. >>> >>> I've been working with Livecode for almost five years, and I never >>> saw a >>> LiveCode server? "UNIX" version. >>> >>> The LiveCode Wikipedia?s article says this: LiveCode runs on iOS, >>> Android, >>> OS X, Windows 95 through Windows 10, Raspberry Pi and "several >>> variations >>> of Unix (I think is just means Linux)". >>> >>> I'm thinking about tinkering with a FreeBSD server and LiveCode server, >>> but I didn't see a "UNIX" version, so I suppose that I have to >>> compile it. >>> Have any of you installed LiveCode server on FreeBSD (or Solaris)? >>> >>> I'm just thinking, but maybe there's a small niche working with >>> LiveCode >>> server on BSD or Solaris (still many companies use them and not many >>> people >>> develop software for this platforms nowadays). >>> We have a few companies in Spain (my country) still using Solaris or >>> BSD >>> servers (mainly in the Graphic arts business). >>> >>> PS, I currently work with LiveCode Server on Centos, but it could be >>> interesting? to test it in FreeBSD. >>> >>> Best regards/ Saludos cordiales/ Cordialement >>> >>> Heriberto Torrado >>> ?Chief Technology Officer (CTO) >>> ?Director de inform?tica >>> Directeur informatique >>> >>> https://networkdreams.net >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From waprothero at gmail.com Sun Oct 18 18:13:53 2020 From: waprothero at gmail.com (William Prothero) Date: Sun, 18 Oct 2020 15:13:53 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: <2b9e6a5a-e5c3-c461-fc1c-48eb8a628ff4@fourthworld.com> References: <77CB874A-1CF4-4C04-BDF8-E666FA44FE03@gmail.com> <2b9e6a5a-e5c3-c461-fc1c-48eb8a628ff4@fourthworld.com> Message-ID: <8B570B3D-A413-4070-B45F-9ECAC5DE1C69@gmail.com> Richard: I found that when I created a button, the textsize property had not been set, even though the IDE showed it to be 13. I then went to the IDE to click the size up to `4, then back down to 13 and then, when I did: put the texsize of btn ?mybutton?, it showed the textsize correctly. It?s just one of those frustrating mysteries one encounters. The copied btn textsize was probably picking up the textsize from the fields that I had already imported. I?d have to call it a bug, I guess?? Best, Bill William A. Prothero https://earthlearningsolutions.org > On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode wrote: > > William Prothero wrote: > > > I am copying a button from one card to another. The font size of the > > label changes from that of the original to a large font and I can?t > > figure out how to change the textsize of the label. I keep getting an > > error. > > set the textSize of btn "SoAndSo" to 14 > > The curious part is that it changed when you pasted it. If you have a textSize specified for the card it came from but not the card it was pasted in, that would govern all controls that do not have their own testSize property explicitly set. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Oct 18 19:10:02 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Oct 2020 18:10:02 -0500 Subject: Textsize of label of copied btn changes In-Reply-To: <8B570B3D-A413-4070-B45F-9ECAC5DE1C69@gmail.com> References: <77CB874A-1CF4-4C04-BDF8-E666FA44FE03@gmail.com> <2b9e6a5a-e5c3-c461-fc1c-48eb8a628ff4@fourthworld.com> <8B570B3D-A413-4070-B45F-9ECAC5DE1C69@gmail.com> Message-ID: <1753dfa1910.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If the text properties in the property inspector are italic, they are inheriting from another control with a lower layer, or inheriting from the IDE itself. If the property is not italic, it's been set specifically on the control. Regardless, there will always be a number in the text size. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 18, 2020 5:15:48 PM William Prothero via use-livecode wrote: > Richard: > I found that when I created a button, the textsize property had not been > set, even though the IDE showed it to be 13. I then went to the IDE to > click the size up to `4, then back down to 13 and then, when I did: > put the texsize of btn ?mybutton?, it showed the textsize correctly. > > It?s just one of those frustrating mysteries one encounters. The copied btn > textsize was probably picking up the textsize from the fields that I had > already imported. > > I?d have to call it a bug, I guess?? > > Best, > Bill > > William A. Prothero > https://earthlearningsolutions.org > >> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode >> wrote: >> >> William Prothero wrote: >> >> > I am copying a button from one card to another. The font size of the >> > label changes from that of the original to a large font and I can?t >> > figure out how to change the textsize of the label. I keep getting an >> > error. >> >> set the textSize of btn "SoAndSo" to 14 >> >> The curious part is that it changed when you pasted it. If you have a >> textSize specified for the card it came from but not the card it was pasted >> in, that would govern all controls that do not have their own testSize >> property explicitly set. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sun Oct 18 19:17:18 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 18 Oct 2020 16:17:18 -0700 Subject: Odd data in message box In-Reply-To: <1753cdb4360.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <175390b99d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <8a2fc7e4-360d-b718-3452-ccd19be5ea2c@fourthworld.com> <1753cdb4360.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 10/18/20 10:56 AM, J. Landman Gay via use-livecode wrote: I've seen error lists appear in the message box too I've seen that sometimes as well, but don't have a repeatable recipe. I just always assume it's something screwy with my code. -- Mark Wieder ahsoftware at gmail.com From neville.smythe at optusnet.com.au Sun Oct 18 19:39:26 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 19 Oct 2020 10:39:26 +1100 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: > On 19 Oct 2020, at 3:00 am, use-livecode-request at lists.runrev.com wrote: > > Dreamhost never did install LC ... but several of us have made it work. > Just get the right server executable and permissions. > I could never get it work account wide but it rocked for individual web > site installation. Ah. I got the distinct impression I would need a dedicated server account on DreamHost, not a shared environment, to instal LC Server; for this user?s site that would not be worth the cost. To quote the reply from DreamHost: ----- Unfornately we no longer support LiveCode server on our servers at this time. Looks like current install steps require root/admin access to some apache config files, which is not something we allow on our managed server types. You could install that on a Dedicated server, or DreamCompute instance if you wish to, but that would be something you or your developers would want to do using root on that service. ----- From andrew at midwestcoastmedia.com Sun Oct 18 21:23:17 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Sun, 18 Oct 2020 21:23:17 -0400 Subject: LC iOS Command 'mergPopActivity' In-Reply-To: References: Message-ID: The limited documentation is at http://mergext.com/home/mergpop/ Glad to hear that Elanor might be working on some more documentation. This feature (like push notifications and mobile camera) are difficult to test since the emulator either doesn?t work or has extremely limited functionality. I found this code snippet in an old project where I was taking a screenshot of part of the screen and trying to share to Facebook or Twitter. export snapshot from rect tExportRect of this card to file tFilePath as PNG mergPopActivity "Indiana On Tap just hooked me up!",tFilePath,?" ?Andrew Bell > > Message: 13 > Date: Sun, 18 Oct 2020 12:58:50 +0200 > From: Graham Samuel > To: How to use LiveCode > Subject: LC iOS Command 'mergPopActivity' [was Re: The iOS "Files" > folder] > Message-ID: <769B3120-FCF5-4ECB-9683-AC0A303E2A47 at mac.com> > Content-Type: text/plain; charset=utf-8 > > I have been trying to use this command, initially to allow an iOS app to put something in the ?Files? folder on an iPhone, but I?m now more interested in the whole idea of Activity Views and how to exploit them in an iOS app. I believe that the LC ?mergPopActivity' command is a wrapper for some function in the iOS native universe - connected with ?UIActivityViewController', but so far I haven?t worked out which one, since I don?t really understand much of Apple?s iOS Developer documentation (I always hope that using LC removes the need to do so!). > > Elanor Buchanan of the mother ship has been extremely helpful about this, and has said she hopes to improve the almost non-existent documentation of this command, but meanwhile I?m interested if anyone on this list has any insights, as I?m quite stuck and don?t want to bug Elanor too much. > > When you invoke the ?mergPopActivity' command in an LC script, it opens a modal window which gives a gateway into services available on your device, like email, printing, saving to ?Files?, sending to social media etc - it depends on what your device is capable of, and the apps it has loaded; so I believe that the LC command essentially implements the ?sharing? activity in iOS, which is usually invoked via an icon consisting of a square with a North-pointing arrow in it. > > So far so good, but I?ve only been able to do one thing so far, which is to offer a text string originating in the app to these various services. So far I have not been able to find a way to offer a file (for example, a file containing a text rather than the text itself - easy to generate within an app, but no luck in offering to email it etc). There is a ?URL? parameter but I can?t work out what it does. > > Anyone got any clues or shall I apologise (again) to Elanor and ask her for more help? > > Graham > > ------------------------------ From ambassador at fourthworld.com Mon Oct 19 00:25:00 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 18 Oct 2020 21:25:00 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: <8B570B3D-A413-4070-B45F-9ECAC5DE1C69@gmail.com> References: <8B570B3D-A413-4070-B45F-9ECAC5DE1C69@gmail.com> Message-ID: <2d331337-a099-183b-9c59-a448df74af88@fourthworld.com> Check the card properties. All evidence reported to date is fully explained by the textFfont being set on the source card. -- Richard Gaskin Fourth World Systems William Prothero wrote: > Richard: > I found that when I created a button, the textsize property had not been set, even though the IDE showed it to be 13. I then went to the IDE to click the size up to `4, then back down to 13 and then, when I did: > put the texsize of btn ?mybutton?, it showed the textsize correctly. > > It?s just one of those frustrating mysteries one encounters. The copied btn textsize was probably picking up the textsize from the fields that I had already imported. > > I?d have to call it a bug, I guess?? > > Best, > Bill > > William A. Prothero > https://earthlearningsolutions.org > >> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode wrote: >> >> William Prothero wrote: >> >> > I am copying a button from one card to another. The font size of the >> > label changes from that of the original to a large font and I can?t >> > figure out how to change the textsize of the label. I keep getting an >> > error. >> >> set the textSize of btn "SoAndSo" to 14 >> >> The curious part is that it changed when you pasted it. If you have a textSize specified for the card it came from but not the card it was pasted in, that would govern all controls that do not have their own testSize property explicitly set. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthlearningsolutions.org Mon Oct 19 02:14:50 2020 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Sun, 18 Oct 2020 23:14:50 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: <2d331337-a099-183b-9c59-a448df74af88@fourthworld.com> References: <2d331337-a099-183b-9c59-a448df74af88@fourthworld.com> Message-ID: <300B53BE-9636-4284-BDCC-D1C116D53B94@earthlearningsolutions.org> Richard, Yes, I realize that. However, when I first created the button, on the source card, I expected that the text size and font would be what was displayed in the ide. However, none were actually set. Confusing for one who trusts that the ide displays the actual properties of the object. Best, Bill William Prothero http://es.earthednet.org > On Oct 18, 2020, at 9:26 PM, Richard Gaskin via use-livecode wrote: > > ?Check the card properties. > > All evidence reported to date is fully explained by the textFfont being set on the source card. > > -- > Richard Gaskin > Fourth World Systems > > > William Prothero wrote: >> Richard: >> I found that when I created a button, the textsize property had not been set, even though the IDE showed it to be 13. I then went to the IDE to click the size up to `4, then back down to 13 and then, when I did: >> put the texsize of btn ?mybutton?, it showed the textsize correctly. >> It?s just one of those frustrating mysteries one encounters. The copied btn textsize was probably picking up the textsize from the fields that I had already imported. >> I?d have to call it a bug, I guess?? >> Best, >> Bill >> William A. Prothero >> https://earthlearningsolutions.org >>>> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode wrote: >>> William Prothero wrote: >>> > I am copying a button from one card to another. The font size of the >>> > label changes from that of the original to a large font and I can?t >>> > figure out how to change the textsize of the label. I keep getting an >>> > error. >>> set the textSize of btn "SoAndSo" to 14 >>> The curious part is that it changed when you pasted it. If you have a textSize specified for the card it came from but not the card it was pasted in, that would govern all controls that do not have their own testSize property explicitly set. >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 19 02:35:37 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 18 Oct 2020 23:35:37 -0700 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: <247750d8-46f5-f639-c1c1-81053caf0541@fourthworld.com> Neville Smythe wrote: >> On 19 Oct 2020, at 3:00 am, use-livecode-request at lists.runrev.com wrote: >> >> Dreamhost never did install LC ... but several of us have made it work. >> Just get the right server executable and permissions. >> I could never get it work account wide but it rocked for individual web >> site installation. > > Ah. I got the distinct impression I would need a dedicated server account on DreamHost, not a shared environment, to instal LC Server; for this user?s site that would not be worth the cost. > > To quote the reply from DreamHost: > ----- > Unfornately we no longer support LiveCode server on our servers at this > time. Looks like current install steps require root/admin access to some > apache config files, which is not something we allow on our managed > server types. > > You could install that on a Dedicated server, or DreamCompute instance if > you wish to, but that would be something you or your developers would > want to do using root on that service. > ----- I'm not sure what that DH rep is going on about, because the same set of LC Lessons that describe how to set it up via Apache config also include one on setting it up via .htacces on shared hosts. I can understand why they don't *support* LC, is in provide technical support for it, since LC isn't theirs to support. There are too many languages in this world to expect a vendor to train their staff in all of them. But there's nothing special about setting up LC Server that's much different from setting up any scripting engine to work as a CGI under Apache. IMO a shared host wouldn't be worth using if they turned off CGI support altogether, and thankfully DH hasn't. Many of us have been using LC Server on Dreamhost shared servers for many years. And just to make sure nothing has changed, I just did a fresh install into a new folder on one my servers - try this: https://fourthworldlabs.com/lcs-test/test.lc -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Oct 19 02:37:55 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 18 Oct 2020 23:37:55 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: <300B53BE-9636-4284-BDCC-D1C116D53B94@earthlearningsolutions.org> References: <300B53BE-9636-4284-BDCC-D1C116D53B94@earthlearningsolutions.org> Message-ID: ELS Prothero wrote: > Yes, I realize that. However, when I first created the button, on the > source card, I expected that the text size and font would be what was > displayed in the ide. However, none were actually set. Confusing for > one who trusts that the ide displays the actual properties of the > object. Was the text showing the textFont size in the IDE's Inspector italic? http://lists.runrev.com/pipermail/use-livecode/2020-October/262040.html -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dev at porta.ca Mon Oct 19 02:45:30 2020 From: dev at porta.ca (Dev) Date: Mon, 19 Oct 2020 00:45:30 -0600 Subject: SSL cPanel mySql setup In-Reply-To: <247750d8-46f5-f639-c1c1-81053caf0541@fourthworld.com> References: <247750d8-46f5-f639-c1c1-81053caf0541@fourthworld.com> Message-ID: Hi Richard Since I have been on DreamHost for more than a decade, I would love to have something like this set up. I?m not too proficient with Terminal or Linux, but can follow instructions. I would love to know if there is a crib sheet or step by step or tutorial that I could follow to get an instance running in my space? Thanks for any information that you can point me to. Kelly Janz > On 19Oct, 2020, at 12:35 AM, Richard Gaskin via use-livecode wrote: > > Neville Smythe wrote: > >>> On 19 Oct 2020, at 3:00 am, use-livecode-request at lists.runrev.com wrote: >>> Dreamhost never did install LC ... but several of us have made it work. >>> Just get the right server executable and permissions. >>> I could never get it work account wide but it rocked for individual web >>> site installation. >> Ah. I got the distinct impression I would need a dedicated server account on DreamHost, not a shared environment, to instal LC Server; for this user?s site that would not be worth the cost. >> To quote the reply from DreamHost: >> ----- >> Unfornately we no longer support LiveCode server on our servers at this >> time. Looks like current install steps require root/admin access to some >> apache config files, which is not something we allow on our managed >> server types. You could install that on a Dedicated server, or DreamCompute instance if >> you wish to, but that would be something you or your developers would >> want to do using root on that service. ----- > > I'm not sure what that DH rep is going on about, because the same set of LC Lessons that describe how to set it up via Apache config also include one on setting it up via .htacces on shared hosts. > > I can understand why they don't *support* LC, is in provide technical support for it, since LC isn't theirs to support. There are too many languages in this world to expect a vendor to train their staff in all of them. > > But there's nothing special about setting up LC Server that's much different from setting up any scripting engine to work as a CGI under Apache. IMO a shared host wouldn't be worth using if they turned off CGI support altogether, and thankfully DH hasn't. > > Many of us have been using LC Server on Dreamhost shared servers for many years. And just to make sure nothing has changed, I just did a fresh install into a new folder on one my servers - try this: > > https://fourthworldlabs.com/lcs-test/test.lc > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Mon Oct 19 03:16:53 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 19 Oct 2020 18:16:53 +1100 Subject: SSL cPanel mySql setup Message-ID: <5DA0B88C-36D4-4150-992F-86921F2E51D2@optusnet.com.au> > I'm not sure what that DH rep is going on about, because the same set of > LC Lessons that describe how to set it up via Apache config also include > one on setting it up via .htacces on shared hosts. Many thanks Richard I will give it a go. I was once told by a DreamHost support guy that they didn?t use use Mailman for their mail distribution lists. So not too surprising. Neville From th.douez at gmail.com Mon Oct 19 03:17:59 2020 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 19 Oct 2020 09:17:59 +0200 Subject: SSL cPanel mySql setup In-Reply-To: References: <247750d8-46f5-f639-c1c1-81053caf0541@fourthworld.com> Message-ID: <80147D91-E60C-41FB-8174-8C6C98E915A6@gmail.com> > Le 19 oct. 2020 ? 08:45, Dev via use-livecode a ?crit : > > Since I have been on DreamHost for more than a decade, I would love to have something like this set up. I?m not too proficient with Terminal or Linux, but can follow instructions. I would love to know if there is a crib sheet or step by step or tutorial that I could follow to get an instance running in my space? > > Thanks for any information that you can point me to. Hi, AxWald is talking about this topic here: https://forums.livecode.com/viewtopic.php?f=15&t=34068 and it just works! Kind regards, Thierry From livfoss at mac.com Mon Oct 19 05:14:23 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 19 Oct 2020 11:14:23 +0200 Subject: LC iOS Command 'mergPopActivity' In-Reply-To: References: Message-ID: <5B85A0CD-06A5-4D57-935D-8FDBAF92707E@mac.com> Thanks very much for that. Sadly on a first look, in this particular case there is little or no additional detail about the command. Nevertheless I think there should be a link to the Merg web site in the LC Dictionary itself. I rely heavily on the Dictionary, and only venture elsewhere when I am completely foxed, as with iOS Deployment, for me a nightmare compared with simply coding and debugging. It is also true that the Simulator is very limited, in particular in showing what?s happening when things go wrong (silent failure being a factor which has bitten me several times). Under the Simulator, my GPS-related app can only use a couple of limited examples built in to Xcode. Probably there is a way to roll your own, but only in the monstrous xCode universe, so very different from the familiar environment of LC. I am really too old to start learning all that stuff. Apart though from my own bruised ego, there is the issue of one of the key USPs of LC - simplicity - being damaged by the difficulty of deployment. I?m ranting, I suppose? will study the Merg info, but sadly still need Elanor to ride to the rescue! Graham > On 19 Oct 2020, at 03:23, Andrew at MidWest Coast Media wrote: > > The limited documentation is at http://mergext.com/home/mergpop/ > Glad to hear that Elanor might be working on some more documentation. This feature (like push notifications and mobile camera) are difficult to test since the emulator either doesn?t work or has extremely limited functionality. > > I found this code snippet in an old project where I was taking a screenshot of part of the screen and trying to share to Facebook or Twitter. > > export snapshot from rect tExportRect of this card to file tFilePath as PNG > > mergPopActivity "Indiana On Tap just hooked me up!",tFilePath,?" > > > ?Andrew Bell > > >> >> Message: 13 >> Date: Sun, 18 Oct 2020 12:58:50 +0200 >> From: Graham Samuel > >> To: How to use LiveCode > >> Subject: LC iOS Command 'mergPopActivity' [was Re: The iOS "Files" >> folder] >> Message-ID: <769B3120-FCF5-4ECB-9683-AC0A303E2A47 at mac.com > >> Content-Type: text/plain; charset=utf-8 >> >> I have been trying to use this command, initially to allow an iOS app to put something in the ?Files? folder on an iPhone, but I?m now more interested in the whole idea of Activity Views and how to exploit them in an iOS app. I believe that the LC ?mergPopActivity' command is a wrapper for some function in the iOS native universe - connected with ?UIActivityViewController', but so far I haven?t worked out which one, since I don?t really understand much of Apple?s iOS Developer documentation (I always hope that using LC removes the need to do so!). >> >> Elanor Buchanan of the mother ship has been extremely helpful about this, and has said she hopes to improve the almost non-existent documentation of this command, but meanwhile I?m interested if anyone on this list has any insights, as I?m quite stuck and don?t want to bug Elanor too much. >> >> When you invoke the ?mergPopActivity' command in an LC script, it opens a modal window which gives a gateway into services available on your device, like email, printing, saving to ?Files?, sending to social media etc - it depends on what your device is capable of, and the apps it has loaded; so I believe that the LC command essentially implements the ?sharing? activity in iOS, which is usually invoked via an icon consisting of a square with a North-pointing arrow in it. >> >> So far so good, but I?ve only been able to do one thing so far, which is to offer a text string originating in the app to these various services. So far I have not been able to find a way to offer a file (for example, a file containing a text rather than the text itself - easy to generate within an app, but no luck in offering to email it etc). There is a ?URL? parameter but I can?t work out what it does. >> >> Anyone got any clues or shall I apologise (again) to Elanor and ask her for more help? >> >> Graham >> >> ------------------------------ From andreas.bergendal at gmail.com Mon Oct 19 06:08:52 2020 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Mon, 19 Oct 2020 12:08:52 +0200 Subject: LC iOS Command 'mergPopActivity' Message-ID: <3FAB0DD1-23F1-413C-BB12-C2C689E71932@gmail.com> Graham wrote: ?[?] iOS Deployment, for me a nightmare compared with simply coding and debugging.? Indeed - I know the feeling, as do many of us, I believe. I wise man (Richard Gaskin actually) once said: ?Mobile development is like building a ship in a bottle.? I find that a very apt and accurate parable (and I dare to say that even though, admittedly, I have no actual experience in bottled ship building). :) From panos.merakos at livecode.com Mon Oct 19 07:58:41 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 19 Oct 2020 14:58:41 +0300 Subject: Help needed :) Message-ID: Hello folks, I LC user (or in fact a couple of this user's clients) are experiencing a strange issue which we cannot reproduce, as we do not have the specific hardware. Long story short, "the screenrect" function returns for them incorrect values on an iPhone 8 Plus physical device. We have tested in the iPhone 8 Plus simulator and it world as expected for us. More specifically, the screenrect() returns 0,0,375,667 (which is the screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect of iPhone 8 Plus. Do you have such a device and if yes, would it be possible to do a quick test and report here what you get? Thanks a lot :) Kind regards, Panos PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all these 3 devices have the same screen size. -- From panos.merakos at livecode.com Mon Oct 19 08:43:47 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 19 Oct 2020 15:43:47 +0300 Subject: Help needed :) In-Reply-To: References: Message-ID: Heh I wrote that msg in my phone while I was in a hurry, and I now see the auto-correct has changed a couple of things :) Corrections: * A LC user ... * ...and it works as expected for us Thank you :) Panos -- On Mon, 19 Oct 2020 at 14:58, panagiotis merakos wrote: > Hello folks, > > I LC user (or in fact a couple of this user's clients) are experiencing a > strange issue which we cannot reproduce, as we do not have the specific > hardware. > > Long story short, "the screenrect" function returns for them incorrect > values on an iPhone 8 Plus physical device. We have tested in the iPhone 8 > Plus simulator and it world as expected for us. > > More specifically, the screenrect() returns 0,0,375,667 (which is the > screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect of > iPhone 8 Plus. > > Do you have such a device and if yes, would it be possible to do a quick > test and report here what you get? > > Thanks a lot :) > > Kind regards, > Panos > > PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all these 3 > devices have the same screen size. > -- > > > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From matthias_livecode_150811 at m-r-d.de Mon Oct 19 10:23:21 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 19 Oct 2020 16:23:21 +0200 Subject: Help needed :) In-Reply-To: References: Message-ID: <07A41F62-88E3-43AC-A47C-D16A31CE26A2@m-r-d.de> Hi Panos, i just borrowed me an iphone 8 Plus. I can confirm that on the real device the screenrect returns 0,0,375,667 Tried with all 3 variations (ipad, ipod&iphone, ipod/iphone/ipad) and with iOS 10,11,12,13. iOS 14.01 Modell MQ8L2ZD/A Regards, - Matthias Rebbe Life Is Too Short For Boring Code > Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode : > > Heh I wrote that msg in my phone while I was in a hurry, and I now see the > auto-correct has changed a couple of things :) > > Corrections: > > * A LC user ... > > * ...and it works as expected for us > > Thank you :) > > Panos > -- > > On Mon, 19 Oct 2020 at 14:58, panagiotis merakos > > wrote: > >> Hello folks, >> >> I LC user (or in fact a couple of this user's clients) are experiencing a >> strange issue which we cannot reproduce, as we do not have the specific >> hardware. >> >> Long story short, "the screenrect" function returns for them incorrect >> values on an iPhone 8 Plus physical device. We have tested in the iPhone 8 >> Plus simulator and it world as expected for us. >> >> More specifically, the screenrect() returns 0,0,375,667 (which is the >> screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect of >> iPhone 8 Plus. >> >> Do you have such a device and if yes, would it be possible to do a quick >> test and report here what you get? >> >> Thanks a lot :) >> >> Kind regards, >> Panos >> >> PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all these 3 >> devices have the same screen size. >> -- >> >> >> > > -- > Panagiotis Merakos > > LiveCode Software Developer > > Everyone Can Create Apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Oct 19 10:51:29 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 19 Oct 2020 17:51:29 +0300 Subject: Help needed :) In-Reply-To: <07A41F62-88E3-43AC-A47C-D16A31CE26A2@m-r-d.de> References: <07A41F62-88E3-43AC-A47C-D16A31CE26A2@m-r-d.de> Message-ID: Hello Matthias, Thank you very much for testing. Hmm that's interesting. I forgot to mention that the affected iPhones 8+ are running iOS 14. The simulator we tested was running iOS 13.3. I am wondering if this is an iOS 14 issue. We are working on adding support for building with Xcode 12 / iOS 14 SDK, so once this is ready, I'll test on the iOS 14 simulator. In the meantime, if anyone has an iPhone 6+/7+/8+ running iOS < 14 and would like to check what "the screenrect" returns, it would be great :) Kind regards, Panos -- On Mon, 19 Oct 2020 at 17:24, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > i just borrowed me an iphone 8 Plus. I can confirm that on the real > device the screenrect returns 0,0,375,667 > Tried with all 3 variations (ipad, ipod&iphone, ipod/iphone/ipad) and with > iOS 10,11,12,13. > > iOS 14.01 > Modell MQ8L2ZD/A > > > Regards, > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com>: > > > > Heh I wrote that msg in my phone while I was in a hurry, and I now see > the > > auto-correct has changed a couple of things :) > > > > Corrections: > > > > * A LC user ... > > > > * ...and it works as expected for us > > > > Thank you :) > > > > Panos > > -- > > > > On Mon, 19 Oct 2020 at 14:58, panagiotis merakos < > panos.merakos at livecode.com > > > wrote: > > > >> Hello folks, > >> > >> I LC user (or in fact a couple of this user's clients) are experiencing > a > >> strange issue which we cannot reproduce, as we do not have the specific > >> hardware. > >> > >> Long story short, "the screenrect" function returns for them incorrect > >> values on an iPhone 8 Plus physical device. We have tested in the > iPhone 8 > >> Plus simulator and it world as expected for us. > >> > >> More specifically, the screenrect() returns 0,0,375,667 (which is the > >> screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect > of > >> iPhone 8 Plus. > >> > >> Do you have such a device and if yes, would it be possible to do a quick > >> test and report here what you get? > >> > >> Thanks a lot :) > >> > >> Kind regards, > >> Panos > >> > >> PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all these > 3 > >> devices have the same screen size. > >> -- > >> > >> > >> > > > > -- > > Panagiotis Merakos panos.merakos at livecode.com>> > > LiveCode Software Developer > > > > Everyone Can Create Apps > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode < > http://lists.runrev.com/mailman/listinfo/use-livecode> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Mon Oct 19 11:17:04 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 19 Oct 2020 18:17:04 +0300 Subject: Help needed :) In-Reply-To: References: <07A41F62-88E3-43AC-A47C-D16A31CE26A2@m-r-d.de> Message-ID: Hmm I think I have found something - I had checked for this before - but in the wrong place. @Matthias could you check if "Display Zoom" is enabled in your device? This is in Settings -> Display and Brightness and then scroll down and in the "Display Zoom" section, does it say "Standard" or "Zoomed" ? Kind regards, Panos -- On Mon, 19 Oct 2020 at 17:51, panagiotis merakos wrote: > Hello Matthias, > > Thank you very much for testing. Hmm that's interesting. I forgot to > mention that the affected iPhones 8+ are running iOS 14. > > The simulator we tested was running iOS 13.3. I am wondering if this is an > iOS 14 issue. > > We are working on adding support for building with Xcode 12 / iOS 14 SDK, > so once this is ready, I'll test on the iOS 14 simulator. > > In the meantime, if anyone has an iPhone 6+/7+/8+ running iOS < 14 and > would like to check what "the screenrect" returns, it would be great :) > > Kind regards, > Panos > -- > > > On Mon, 19 Oct 2020 at 17:24, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Panos, >> >> i just borrowed me an iphone 8 Plus. I can confirm that on the real >> device the screenrect returns 0,0,375,667 >> Tried with all 3 variations (ipad, ipod&iphone, ipod/iphone/ipad) and >> with iOS 10,11,12,13. >> >> iOS 14.01 >> Modell MQ8L2ZD/A >> >> >> Regards, >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >> > Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com>: >> > >> > Heh I wrote that msg in my phone while I was in a hurry, and I now see >> the >> > auto-correct has changed a couple of things :) >> > >> > Corrections: >> > >> > * A LC user ... >> > >> > * ...and it works as expected for us >> > >> > Thank you :) >> > >> > Panos >> > -- >> > >> > On Mon, 19 Oct 2020 at 14:58, panagiotis merakos < >> panos.merakos at livecode.com > >> > wrote: >> > >> >> Hello folks, >> >> >> >> I LC user (or in fact a couple of this user's clients) are >> experiencing a >> >> strange issue which we cannot reproduce, as we do not have the specific >> >> hardware. >> >> >> >> Long story short, "the screenrect" function returns for them incorrect >> >> values on an iPhone 8 Plus physical device. We have tested in the >> iPhone 8 >> >> Plus simulator and it world as expected for us. >> >> >> >> More specifically, the screenrect() returns 0,0,375,667 (which is the >> >> screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect >> of >> >> iPhone 8 Plus. >> >> >> >> Do you have such a device and if yes, would it be possible to do a >> quick >> >> test and report here what you get? >> >> >> >> Thanks a lot :) >> >> >> >> Kind regards, >> >> Panos >> >> >> >> PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all >> these 3 >> >> devices have the same screen size. >> >> -- >> >> >> >> >> >> >> > >> > -- >> > Panagiotis Merakos > panos.merakos at livecode.com>> >> > LiveCode Software Developer >> > >> > Everyone Can Create Apps > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode < >> http://lists.runrev.com/mailman/listinfo/use-livecode> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From matthias_livecode_150811 at m-r-d.de Mon Oct 19 11:34:27 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 19 Oct 2020 17:34:27 +0200 Subject: Help needed :) In-Reply-To: References: <07A41F62-88E3-43AC-A47C-D16A31CE26A2@m-r-d.de> Message-ID: <0FC46BCD-8D98-4016-BE0C-4EE9A7292153@m-r-d.de> - Matthias Rebbe Life Is Too Short For Boring Code > Am 19.10.2020 um 17:17 schrieb panagiotis merakos via use-livecode : > > Hmm I think I have found something - I had checked for this before - but in > the wrong place. > > @Matthias could you check if "Display Zoom" is enabled in your device? > > This is in Settings -> Display and Brightness and then scroll down and in > the "Display Zoom" section, does it say "Standard" or "Zoomed" ? > Believe me or not, that was something i thought also could be the culprit. But forgot to test, because i got an important phone call. I will test this later today. I had to give the phone back to the owner, but can get it back in the evening. Regards, Matthias > Kind regards, > Panos > -- > > On Mon, 19 Oct 2020 at 17:51, panagiotis merakos wrote: > >> Hello Matthias, >> >> Thank you very much for testing. Hmm that's interesting. I forgot to >> mention that the affected iPhones 8+ are running iOS 14. >> >> The simulator we tested was running iOS 13.3. I am wondering if this is an >> iOS 14 issue. >> >> We are working on adding support for building with Xcode 12 / iOS 14 SDK, >> so once this is ready, I'll test on the iOS 14 simulator. >> >> In the meantime, if anyone has an iPhone 6+/7+/8+ running iOS < 14 and >> would like to check what "the screenrect" returns, it would be great :) >> >> Kind regards, >> Panos >> -- >> >> >> On Mon, 19 Oct 2020 at 17:24, matthias rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi Panos, >>> >>> i just borrowed me an iphone 8 Plus. I can confirm that on the real >>> device the screenrect returns 0,0,375,667 >>> Tried with all 3 variations (ipad, ipod&iphone, ipod/iphone/ipad) and >>> with iOS 10,11,12,13. >>> >>> iOS 14.01 >>> Modell MQ8L2ZD/A >>> >>> >>> Regards, >>> >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>> Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode < >>> use-livecode at lists.runrev.com>: >>>> >>>> Heh I wrote that msg in my phone while I was in a hurry, and I now see >>> the >>>> auto-correct has changed a couple of things :) >>>> >>>> Corrections: >>>> >>>> * A LC user ... >>>> >>>> * ...and it works as expected for us >>>> >>>> Thank you :) >>>> >>>> Panos >>>> -- >>>> >>>> On Mon, 19 Oct 2020 at 14:58, panagiotis merakos < >>> panos.merakos at livecode.com > >>>> wrote: >>>> >>>>> Hello folks, >>>>> >>>>> I LC user (or in fact a couple of this user's clients) are >>> experiencing a >>>>> strange issue which we cannot reproduce, as we do not have the specific >>>>> hardware. >>>>> >>>>> Long story short, "the screenrect" function returns for them incorrect >>>>> values on an iPhone 8 Plus physical device. We have tested in the >>> iPhone 8 >>>>> Plus simulator and it world as expected for us. >>>>> >>>>> More specifically, the screenrect() returns 0,0,375,667 (which is the >>>>> screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect >>> of >>>>> iPhone 8 Plus. >>>>> >>>>> Do you have such a device and if yes, would it be possible to do a >>> quick >>>>> test and report here what you get? >>>>> >>>>> Thanks a lot :) >>>>> >>>>> Kind regards, >>>>> Panos >>>>> >>>>> PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all >>> these 3 >>>>> devices have the same screen size. >>>>> -- >>>>> >>>>> >>>>> >>>> >>>> -- >>>> Panagiotis Merakos >> panos.merakos at livecode.com>> >>>> LiveCode Software Developer >>>> >>>> Everyone Can Create Apps > >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode < >>> http://lists.runrev.com/mailman/listinfo/use-livecode> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Oct 19 11:43:38 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 19 Oct 2020 18:43:38 +0300 Subject: Help needed :) In-Reply-To: <0FC46BCD-8D98-4016-BE0C-4EE9A7292153@m-r-d.de> References: <07A41F62-88E3-43AC-A47C-D16A31CE26A2@m-r-d.de> <0FC46BCD-8D98-4016-BE0C-4EE9A7292153@m-r-d.de> Message-ID: Thanks Matthias, your help is much appreciated. Kind regards Panos On Mon, Oct 19, 2020, 18:35 matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 19.10.2020 um 17:17 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hmm I think I have found something - I had checked for this before - but > in > > the wrong place. > > > > @Matthias could you check if "Display Zoom" is enabled in your device? > > > > This is in Settings -> Display and Brightness and then scroll down and > in > > the "Display Zoom" section, does it say "Standard" or "Zoomed" ? > > > Believe me or not, that was something i thought also could be the culprit. > But forgot to test, because i got an important phone call. > > I will test this later today. I had to give the phone back to the owner, > but can get it back in the evening. > > Regards, > Matthias > > > > Kind regards, > > Panos > > -- > > > > On Mon, 19 Oct 2020 at 17:51, panagiotis merakos > wrote: > > > >> Hello Matthias, > >> > >> Thank you very much for testing. Hmm that's interesting. I forgot to > >> mention that the affected iPhones 8+ are running iOS 14. > >> > >> The simulator we tested was running iOS 13.3. I am wondering if this is > an > >> iOS 14 issue. > >> > >> We are working on adding support for building with Xcode 12 / iOS 14 > SDK, > >> so once this is ready, I'll test on the iOS 14 simulator. > >> > >> In the meantime, if anyone has an iPhone 6+/7+/8+ running iOS < 14 and > >> would like to check what "the screenrect" returns, it would be great :) > >> > >> Kind regards, > >> Panos > >> -- > >> > >> > >> On Mon, 19 Oct 2020 at 17:24, matthias rebbe via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> Hi Panos, > >>> > >>> i just borrowed me an iphone 8 Plus. I can confirm that on the real > >>> device the screenrect returns 0,0,375,667 > >>> Tried with all 3 variations (ipad, ipod&iphone, ipod/iphone/ipad) and > >>> with iOS 10,11,12,13. > >>> > >>> iOS 14.01 > >>> Modell MQ8L2ZD/A > >>> > >>> > >>> Regards, > >>> > >>> > >>> - > >>> Matthias Rebbe > >>> Life Is Too Short For Boring Code > >>> > >>>> Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode < > >>> use-livecode at lists.runrev.com>: > >>>> > >>>> Heh I wrote that msg in my phone while I was in a hurry, and I now see > >>> the > >>>> auto-correct has changed a couple of things :) > >>>> > >>>> Corrections: > >>>> > >>>> * A LC user ... > >>>> > >>>> * ...and it works as expected for us > >>>> > >>>> Thank you :) > >>>> > >>>> Panos > >>>> -- > >>>> > >>>> On Mon, 19 Oct 2020 at 14:58, panagiotis merakos < > >>> panos.merakos at livecode.com > > >>>> wrote: > >>>> > >>>>> Hello folks, > >>>>> > >>>>> I LC user (or in fact a couple of this user's clients) are > >>> experiencing a > >>>>> strange issue which we cannot reproduce, as we do not have the > specific > >>>>> hardware. > >>>>> > >>>>> Long story short, "the screenrect" function returns for them > incorrect > >>>>> values on an iPhone 8 Plus physical device. We have tested in the > >>> iPhone 8 > >>>>> Plus simulator and it world as expected for us. > >>>>> > >>>>> More specifically, the screenrect() returns 0,0,375,667 (which is the > >>>>> screenrect of iPhone8) instead of 0,0,414,736 (which is the > screenrect > >>> of > >>>>> iPhone 8 Plus. > >>>>> > >>>>> Do you have such a device and if yes, would it be possible to do a > >>> quick > >>>>> test and report here what you get? > >>>>> > >>>>> Thanks a lot :) > >>>>> > >>>>> Kind regards, > >>>>> Panos > >>>>> > >>>>> PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all > >>> these 3 > >>>>> devices have the same screen size. > >>>>> -- > >>>>> > >>>>> > >>>>> > >>>> > >>>> -- > >>>> Panagiotis Merakos >>> panos.merakos at livecode.com>> > >>>> LiveCode Software Developer > >>>> > >>>> Everyone Can Create Apps >> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode < > >>> http://lists.runrev.com/mailman/listinfo/use-livecode> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Mon Oct 19 11:44:42 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 19 Oct 2020 17:44:42 +0200 Subject: Help needed :) In-Reply-To: <0FC46BCD-8D98-4016-BE0C-4EE9A7292153@m-r-d.de> References: <07A41F62-88E3-43AC-A47C-D16A31CE26A2@m-r-d.de> <0FC46BCD-8D98-4016-BE0C-4EE9A7292153@m-r-d.de> Message-ID: Hi Panos, my father in law came back earlier than expected. You were correct. The phone display was zoomed. I switched it back to "standard" and tested again. With "standard" the screenrect returns 0,0,414,736 Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 19.10.2020 um 17:34 schrieb matthias rebbe via use-livecode : > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 19.10.2020 um 17:17 schrieb panagiotis merakos via use-livecode >: >> >> Hmm I think I have found something - I had checked for this before - but in >> the wrong place. >> >> @Matthias could you check if "Display Zoom" is enabled in your device? >> >> This is in Settings -> Display and Brightness and then scroll down and in >> the "Display Zoom" section, does it say "Standard" or "Zoomed" ? >> > Believe me or not, that was something i thought also could be the culprit. But forgot to test, because i got an important phone call. > > I will test this later today. I had to give the phone back to the owner, but can get it back in the evening. > > Regards, > Matthias > > >> Kind regards, >> Panos >> -- >> >> On Mon, 19 Oct 2020 at 17:51, panagiotis merakos wrote: >> >>> Hello Matthias, >>> >>> Thank you very much for testing. Hmm that's interesting. I forgot to >>> mention that the affected iPhones 8+ are running iOS 14. >>> >>> The simulator we tested was running iOS 13.3. I am wondering if this is an >>> iOS 14 issue. >>> >>> We are working on adding support for building with Xcode 12 / iOS 14 SDK, >>> so once this is ready, I'll test on the iOS 14 simulator. >>> >>> In the meantime, if anyone has an iPhone 6+/7+/8+ running iOS < 14 and >>> would like to check what "the screenrect" returns, it would be great :) >>> >>> Kind regards, >>> Panos >>> -- >>> >>> >>> On Mon, 19 Oct 2020 at 17:24, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hi Panos, >>>> >>>> i just borrowed me an iphone 8 Plus. I can confirm that on the real >>>> device the screenrect returns 0,0,375,667 >>>> Tried with all 3 variations (ipad, ipod&iphone, ipod/iphone/ipad) and >>>> with iOS 10,11,12,13. >>>> >>>> iOS 14.01 >>>> Modell MQ8L2ZD/A >>>> >>>> >>>> Regards, >>>> >>>> >>>> - >>>> Matthias Rebbe >>>> Life Is Too Short For Boring Code >>>> >>>>> Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode < >>>> use-livecode at lists.runrev.com>: >>>>> >>>>> Heh I wrote that msg in my phone while I was in a hurry, and I now see >>>> the >>>>> auto-correct has changed a couple of things :) >>>>> >>>>> Corrections: >>>>> >>>>> * A LC user ... >>>>> >>>>> * ...and it works as expected for us >>>>> >>>>> Thank you :) >>>>> >>>>> Panos >>>>> -- >>>>> >>>>> On Mon, 19 Oct 2020 at 14:58, panagiotis merakos < >>>> panos.merakos at livecode.com > >>>>> wrote: >>>>> >>>>>> Hello folks, >>>>>> >>>>>> I LC user (or in fact a couple of this user's clients) are >>>> experiencing a >>>>>> strange issue which we cannot reproduce, as we do not have the specific >>>>>> hardware. >>>>>> >>>>>> Long story short, "the screenrect" function returns for them incorrect >>>>>> values on an iPhone 8 Plus physical device. We have tested in the >>>> iPhone 8 >>>>>> Plus simulator and it world as expected for us. >>>>>> >>>>>> More specifically, the screenrect() returns 0,0,375,667 (which is the >>>>>> screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect >>>> of >>>>>> iPhone 8 Plus. >>>>>> >>>>>> Do you have such a device and if yes, would it be possible to do a >>>> quick >>>>>> test and report here what you get? >>>>>> >>>>>> Thanks a lot :) >>>>>> >>>>>> Kind regards, >>>>>> Panos >>>>>> >>>>>> PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all >>>> these 3 >>>>>> devices have the same screen size. >>>>>> -- >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> Panagiotis Merakos >>> panos.merakos at livecode.com>> >>>>> LiveCode Software Developer >>>>> >>>>> Everyone Can Create Apps > >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode < >>>> http://lists.runrev.com/mailman/listinfo/use-livecode> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Oct 19 11:46:49 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 19 Oct 2020 16:46:49 +0100 Subject: SSL cPanel mySql setup In-Reply-To: <80147D91-E60C-41FB-8174-8C6C98E915A6@gmail.com> References: <247750d8-46f5-f639-c1c1-81053caf0541@fourthworld.com> <80147D91-E60C-41FB-8174-8C6C98E915A6@gmail.com> Message-ID: Hi revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer Same for revdb_execute which returns 0 Any clues on how to actually get the status back? Still trying to work out why these certificates are not working. Sean -- Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 From merakosp at gmail.com Mon Oct 19 12:14:21 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 19 Oct 2020 19:14:21 +0300 Subject: Help needed :) In-Reply-To: References: <07A41F62-88E3-43AC-A47C-D16A31CE26A2@m-r-d.de> <0FC46BCD-8D98-4016-BE0C-4EE9A7292153@m-r-d.de> Message-ID: Great, thank you very much Matthias :) I will file an enhancement request to make sure this behavior is documented in the dictionary entry of the screenrect. Kind regards, Panos -- On Mon, 19 Oct 2020 at 18:45, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > my father in law came back earlier than expected. > You were correct. The phone display was zoomed. > I switched it back to "standard" and tested again. > > With "standard" the screenrect returns 0,0,414,736 > > Regards, > Matthias > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 19.10.2020 um 17:34 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > > > - > > Matthias Rebbe > > Life Is Too Short For Boring Code > > > >> Am 19.10.2020 um 17:17 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com >: > >> > >> Hmm I think I have found something - I had checked for this before - > but in > >> the wrong place. > >> > >> @Matthias could you check if "Display Zoom" is enabled in your device? > >> > >> This is in Settings -> Display and Brightness and then scroll down and > in > >> the "Display Zoom" section, does it say "Standard" or "Zoomed" ? > >> > > Believe me or not, that was something i thought also could be the > culprit. But forgot to test, because i got an important phone call. > > > > I will test this later today. I had to give the phone back to the owner, > but can get it back in the evening. > > > > Regards, > > Matthias > > > > > >> Kind regards, > >> Panos > >> -- > >> > >> On Mon, 19 Oct 2020 at 17:51, panagiotis merakos > wrote: > >> > >>> Hello Matthias, > >>> > >>> Thank you very much for testing. Hmm that's interesting. I forgot to > >>> mention that the affected iPhones 8+ are running iOS 14. > >>> > >>> The simulator we tested was running iOS 13.3. I am wondering if this > is an > >>> iOS 14 issue. > >>> > >>> We are working on adding support for building with Xcode 12 / iOS 14 > SDK, > >>> so once this is ready, I'll test on the iOS 14 simulator. > >>> > >>> In the meantime, if anyone has an iPhone 6+/7+/8+ running iOS < 14 and > >>> would like to check what "the screenrect" returns, it would be great :) > >>> > >>> Kind regards, > >>> Panos > >>> -- > >>> > >>> > >>> On Mon, 19 Oct 2020 at 17:24, matthias rebbe via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>> > >>>> Hi Panos, > >>>> > >>>> i just borrowed me an iphone 8 Plus. I can confirm that on the real > >>>> device the screenrect returns 0,0,375,667 > >>>> Tried with all 3 variations (ipad, ipod&iphone, ipod/iphone/ipad) and > >>>> with iOS 10,11,12,13. > >>>> > >>>> iOS 14.01 > >>>> Modell MQ8L2ZD/A > >>>> > >>>> > >>>> Regards, > >>>> > >>>> > >>>> - > >>>> Matthias Rebbe > >>>> Life Is Too Short For Boring Code > >>>> > >>>>> Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode < > >>>> use-livecode at lists.runrev.com>: > >>>>> > >>>>> Heh I wrote that msg in my phone while I was in a hurry, and I now > see > >>>> the > >>>>> auto-correct has changed a couple of things :) > >>>>> > >>>>> Corrections: > >>>>> > >>>>> * A LC user ... > >>>>> > >>>>> * ...and it works as expected for us > >>>>> > >>>>> Thank you :) > >>>>> > >>>>> Panos > >>>>> -- > >>>>> > >>>>> On Mon, 19 Oct 2020 at 14:58, panagiotis merakos < > >>>> panos.merakos at livecode.com > > >>>>> wrote: > >>>>> > >>>>>> Hello folks, > >>>>>> > >>>>>> I LC user (or in fact a couple of this user's clients) are > >>>> experiencing a > >>>>>> strange issue which we cannot reproduce, as we do not have the > specific > >>>>>> hardware. > >>>>>> > >>>>>> Long story short, "the screenrect" function returns for them > incorrect > >>>>>> values on an iPhone 8 Plus physical device. We have tested in the > >>>> iPhone 8 > >>>>>> Plus simulator and it world as expected for us. > >>>>>> > >>>>>> More specifically, the screenrect() returns 0,0,375,667 (which is > the > >>>>>> screenrect of iPhone8) instead of 0,0,414,736 (which is the > screenrect > >>>> of > >>>>>> iPhone 8 Plus. > >>>>>> > >>>>>> Do you have such a device and if yes, would it be possible to do a > >>>> quick > >>>>>> test and report here what you get? > >>>>>> > >>>>>> Thanks a lot :) > >>>>>> > >>>>>> Kind regards, > >>>>>> Panos > >>>>>> > >>>>>> PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all > >>>> these 3 > >>>>>> devices have the same screen size. > >>>>>> -- > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> -- > >>>>> Panagiotis Merakos >>>> panos.merakos at livecode.com>> > >>>>> LiveCode Software Developer > >>>>> > >>>>> Everyone Can Create Apps https://livecode.com/>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode < > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at 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 at 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 at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode < > http://lists.runrev.com/mailman/listinfo/use-livecode> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthlearningsolutions.org Mon Oct 19 12:17:59 2020 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Mon, 19 Oct 2020 09:17:59 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: References: Message-ID: Richard, Yes, if my memory doesn?t fail me, it was in italic. Hmmm, I guess I was supposed to know that meant it wasn?t set and the value shown was a default? Best, Bill William Prothero http://es.earthednet.org > On Oct 18, 2020, at 11:38 PM, Richard Gaskin via use-livecode wrote: > > ?ELS Prothero wrote: > > > Yes, I realize that. However, when I first created the button, on the > > source card, I expected that the text size and font would be what was > > displayed in the ide. However, none were actually set. Confusing for > > one who trusts that the ide displays the actual properties of the > > object. > > Was the text showing the textFont size in the IDE's Inspector italic? > > http://lists.runrev.com/pipermail/use-livecode/2020-October/262040.html > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Mon Oct 19 12:30:32 2020 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Mon, 19 Oct 2020 09:30:32 -0700 Subject: SSL cPanel mySql setup In-Reply-To: <80147D91-E60C-41FB-8174-8C6C98E915A6@gmail.com> References: <80147D91-E60C-41FB-8174-8C6C98E915A6@gmail.com> Message-ID: <9D97B1A1-B612-4EA6-A765-FB9675E9CD17@earthlearningsolutions.org> Folks, I?ve been thinking about experimenting with Livecode server. I have a vps and root access, but I?m wondering what are the speed and user consequences of installing it at root level, or as a cgi. The cgi is fairly large and I?m concerned about both speed and memory issues when multiple users are accessing it. I know this has been discussed in the past, but would appreciate any advice based on recent experience. Thanks! Bill William Prothero http://es.earthednet.org > On Oct 19, 2020, at 12:18 AM, Thierry Douez via use-livecode wrote: > > ? > >>> Le 19 oct. 2020 ? 08:45, Dev via use-livecode a ?crit : >> Since I have been on DreamHost for more than a decade, I would love to have something like this set up. I?m not too proficient with Terminal or Linux, but can follow instructions. I would love to know if there is a crib sheet or step by step or tutorial that I could follow to get an instance running in my space? >> Thanks for any information that you can point me to. > > Hi, > > AxWald is talking about this topic here: > > https://forums.livecode.com/viewtopic.php?f=15&t=34068 > > > and it just works! > > Kind regards, > > Thierry > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Mon Oct 19 12:31:47 2020 From: klaus at major-k.de (Klaus major-k) Date: Mon, 19 Oct 2020 18:31:47 +0200 Subject: First version of LC that supports httpS? Message-ID: <174D888A-2547-4A55-A216-015314738A34@major-k.de> Hi all, see subject, maybe someone happens to know. Obviously LC 5.02 does not support httpS yet. Thanks a lot in advance! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sean at pidigital.co.uk Mon Oct 19 12:45:59 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 19 Oct 2020 17:45:59 +0100 Subject: SSL cPanel mySql setup In-Reply-To: <9D97B1A1-B612-4EA6-A765-FB9675E9CD17@earthlearningsolutions.org> References: <80147D91-E60C-41FB-8174-8C6C98E915A6@gmail.com> <9D97B1A1-B612-4EA6-A765-FB9675E9CD17@earthlearningsolutions.org> Message-ID: Why is it that so many hijack threads rather than start new ones? On Mon, 19 Oct 2020 at 17:30, ELS Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > Folks, > I?ve been thinking about experimenting with Livecode server. I have a vps > and root access, but I?m wondering what are the speed and user consequences > of installing it at root level, or as a cgi. The cgi is fairly large and > I?m concerned about both speed and memory issues when multiple users are > accessing it. > > I know this has been discussed in the past, but would appreciate any > advice based on recent experience. > > Thanks! > Bill > > William Prothero > http://es.earthednet.org > > > On Oct 19, 2020, at 12:18 AM, Thierry Douez via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ? > > > >>> Le 19 oct. 2020 ? 08:45, Dev via use-livecode < > use-livecode at lists.runrev.com> a ?crit : > >> Since I have been on DreamHost for more than a decade, I would love to > have something like this set up. I?m not too proficient with Terminal or > Linux, but can follow instructions. I would love to know if there is a crib > sheet or step by step or tutorial that I could follow to get an instance > running in my space? > >> Thanks for any information that you can point me to. > > > > Hi, > > > > AxWald is talking about this topic here: > > > > https://forums.livecode.com/viewtopic.php?f=15&t=34068 < > https://forums.livecode.com/viewtopic.php?f=15&t=34068> > > > > > > and it just works! > > > > Kind regards, > > > > Thierry > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 From prothero at earthlearningsolutions.org Mon Oct 19 12:49:42 2020 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Mon, 19 Oct 2020 09:49:42 -0700 Subject: SSL cPanel mySql setup In-Reply-To: References: Message-ID: Sean, LC server issues seemed like the general topic. Sorry to have bothered you. Bill William Prothero http://es.earthednet.org > On Oct 19, 2020, at 9:47 AM, Sean Cole (Pi) via use-livecode wrote: > > ?Why is it that so many hijack threads rather than start new ones? > >> On Mon, 19 Oct 2020 at 17:30, ELS Prothero via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Folks, >> I?ve been thinking about experimenting with Livecode server. I have a vps >> and root access, but I?m wondering what are the speed and user consequences >> of installing it at root level, or as a cgi. The cgi is fairly large and >> I?m concerned about both speed and memory issues when multiple users are >> accessing it. >> >> I know this has been discussed in the past, but would appreciate any >> advice based on recent experience. >> >> Thanks! >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Oct 19, 2020, at 12:18 AM, Thierry Douez via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> ? >>> >>>>> Le 19 oct. 2020 ? 08:45, Dev via use-livecode < >> use-livecode at lists.runrev.com> a ?crit : >>>> Since I have been on DreamHost for more than a decade, I would love to >> have something like this set up. I?m not too proficient with Terminal or >> Linux, but can follow instructions. I would love to know if there is a crib >> sheet or step by step or tutorial that I could follow to get an instance >> running in my space? >>>> Thanks for any information that you can point me to. >>> >>> Hi, >>> >>> AxWald is talking about this topic here: >>> >>> https://forums.livecode.com/viewtopic.php?f=15&t=34068 < >> https://forums.livecode.com/viewtopic.php?f=15&t=34068> >>> >>> >>> and it just works! >>> >>> Kind regards, >>> >>> Thierry >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > +44(1634)402193 > +44(7702)116447 > 'Don't try to think outside the box. Just remember the truth: There is no > box!' > 'For then you realise it is not the box you are trying to look outside of, > but it is yourself!' > > eMail Ts & Cs Pi Digital > Productions Ltd is a UK registered limited company, no. 5255609 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Oct 19 12:50:15 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 19 Oct 2020 17:50:15 +0100 Subject: SQL Show Status Message-ID: Hi As everyone likes to hijack threads here, I?ve started another to make sure it gets seen. revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer Same for revdb_execute which returns 0 Any clues on how to actually get the status back? Still trying to work out why these certificates are not working. -- Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 From sean at pidigital.co.uk Mon Oct 19 12:52:05 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 19 Oct 2020 17:52:05 +0100 Subject: First version of LC that supports httpS? In-Reply-To: <174D888A-2547-4A55-A216-015314738A34@major-k.de> References: <174D888A-2547-4A55-A216-015314738A34@major-k.de> Message-ID: 5.0.2 supports https but not TLS1.2 I got around this by using the revSecurity.dll from LC9 which works. On Mon, 19 Oct 2020 at 17:31, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > see subject, maybe someone happens to know. > Obviously LC 5.02 does not support httpS yet. > > Thanks a lot in advance! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 From bobsneidar at iotecdigital.com Mon Oct 19 12:54:01 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 19 Oct 2020 16:54:01 +0000 Subject: Textsize of label of copied btn changes In-Reply-To: References: Message-ID: <2A1E8E06-5791-4EAC-BF12-346F8983B9B4@iotecdigital.com> One of those gotchas that you learn once and never forget. It's really handy when you want to change the look and feel of an entire stack, or each card in a stack. It REALLY is handy when creating cross platform apps and you want to use one font for both Windows and Mac without having to change the font and size for every object. Yes, Italic (and also a shade of gray) indicates it is inheriting the particular setting from somewhere else. Setting the property to empty (not default as might seem intuitive) is how you revert to inheritance. Bob S > On Oct 19, 2020, at 09:17 , ELS Prothero via use-livecode wrote: > > Richard, > Yes, if my memory doesn?t fail me, it was in italic. Hmmm, I guess I was supposed to know that meant it wasn?t set and the value shown was a default? > > Best, > Bill > > William Prothero > http://es.earthednet.org From mark at livecode.com Mon Oct 19 12:55:53 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 19 Oct 2020 17:55:53 +0100 Subject: First version of LC that supports httpS? In-Reply-To: <174D888A-2547-4A55-A216-015314738A34@major-k.de> References: <174D888A-2547-4A55-A216-015314738A34@major-k.de> Message-ID: <53a12780f32623edbd96f5b6886374ce@livecode.com> On 2020-10-19 17:31, Klaus major-k via use-livecode wrote: > Hi all, > > see subject, maybe someone happens to know. > Obviously LC 5.02 does not support httpS yet. HTTPS has been supported since engine version 2.6 judging by the libURL source - so that would be LiveCode 2.x (for some 'x' - I can't remember the exact version the engine version and the - what was Revolution - version synced up). However, it is unlikely that https will work anymore from those engines with any suitably maintained web-server since the SSL protocol version they use will likely be judged insecure by the server and thus not allow connection. (Although that can be very unwisely changed on the webserver side). Another facet here will be the 'root certificate bundle' which will almost certainly be well out of date for older engines (at some point we did make collection of SSL certificates from the OS automatic - that was before 6.0 by the look of it). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From rdimola at evergreeninfo.net Mon Oct 19 13:26:04 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 19 Oct 2020 13:26:04 -0400 Subject: SQL Show Status In-Reply-To: References: Message-ID: <005a01d6a63c$ef135b00$cd3a1100$@net> Sean, revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer That integer is a record set. In my case it returned 536 rows. Each row has two columns: Variable_name Value Let me tell you Mr. Johnson... Some very interesting stuff in there. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sean Cole (Pi) via use-livecode Sent: Monday, October 19, 2020 12:50 PM To: How to use LiveCode Cc: Sean Cole (Pi) Subject: SQL Show Status Hi As everyone likes to hijack threads here, I?ve started another to make sure it gets seen. revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer Same for revdb_execute which returns 0 Any clues on how to actually get the status back? Still trying to work out why these certificates are not working. -- Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Mon Oct 19 13:26:30 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Mon, 19 Oct 2020 10:26:30 -0700 Subject: LC Server- Optimum setup In-Reply-To: <9D97B1A1-B612-4EA6-A765-FB9675E9CD17@earthlearningsolutions.org> References: <80147D91-E60C-41FB-8174-8C6C98E915A6@gmail.com> <9D97B1A1-B612-4EA6-A765-FB9675E9CD17@earthlearningsolutions.org> Message-ID: <018CBFBC-266A-4022-872D-CE6B385EC700@earthlearningsolutions.org> Folks, I?ve reposted this in a new thread, at Sean's suggestion. Please ignore my posting in the ssl thread. I?ve been thinking about experimenting with Livecode server. I have a vps and root access, but I?m wondering what are the speed and user consequences of installing it at root level, or as a cgi. The cgi is fairly large and I?m concerned about both speed and memory issues when multiple users are accessing it. I know this has been discussed in the past, but would appreciate any advice based on recent experience. Thanks! Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ From sean at pidigital.co.uk Mon Oct 19 13:27:03 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 19 Oct 2020 18:27:03 +0100 Subject: First version of LC that supports httpS? In-Reply-To: <53a12780f32623edbd96f5b6886374ce@livecode.com> References: <174D888A-2547-4A55-A216-015314738A34@major-k.de> <53a12780f32623edbd96f5b6886374ce@livecode.com> Message-ID: Thanks for the heads up Mark. Appreciated. TLS 1.3 is coming next year which will likely shake the tree again. I've been trying it in LC 9 too and get just the same functionality/responses/traffic as in 5.0.2 using the LC9 revsecurity.dll HTTPS is working directly in LC9 and 5.0.2. But SQL with the correct certificate ca, client-cert and client-key pem files still does not seem to use SSL. But there is no real sure way of seeing if it does. I've tried a SHOW STATUS request but it's not giving back the status response, just an integer. It's getting super frustrating going round in circles. Sean On Mon, 19 Oct 2020 at 17:55, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2020-10-19 17:31, Klaus major-k via use-livecode wrote: > > Hi all, > > > > see subject, maybe someone happens to know. > > Obviously LC 5.02 does not support httpS yet. > > HTTPS has been supported since engine version 2.6 judging by the libURL > source - so that would be LiveCode 2.x (for some 'x' - I can't remember > the exact version the engine version and the - what was Revolution - > version synced up). > > However, it is unlikely that https will work anymore from those engines > with any suitably maintained web-server since the SSL protocol version > they use will likely be judged insecure by the server and thus not allow > connection. (Although that can be very unwisely changed on the webserver > side). > > Another facet here will be the 'root certificate bundle' which will > almost certainly be well out of date for older engines (at some point we > did make collection of SSL certificates from the OS automatic - that was > before 6.0 by the look of it). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthlearningsolutions.org Mon Oct 19 13:27:23 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Mon, 19 Oct 2020 10:27:23 -0700 Subject: SSL cPanel mySql setup In-Reply-To: References: <80147D91-E60C-41FB-8174-8C6C98E915A6@gmail.com> <9D97B1A1-B612-4EA6-A765-FB9675E9CD17@earthlearningsolutions.org> Message-ID: <63ADA036-5B27-4242-86C7-1C9AB4AAF363@earthlearningsolutions.org> Folks: Please ignore my posting in this thread. I re-posted it in a new thread. Best, Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ > On Oct 19, 2020, at 9:45 AM, Sean Cole (Pi) via use-livecode wrote: > > Why is it that so many hijack threads rather than start new ones? > > On Mon, 19 Oct 2020 at 17:30, ELS Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Folks, >> I?ve been thinking about experimenting with Livecode server. I have a vps >> and root access, but I?m wondering what are the speed and user consequences >> of installing it at root level, or as a cgi. The cgi is fairly large and >> I?m concerned about both speed and memory issues when multiple users are >> accessing it. >> >> I know this has been discussed in the past, but would appreciate any >> advice based on recent experience. >> >> Thanks! >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Oct 19, 2020, at 12:18 AM, Thierry Douez via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> ? >>> >>>>> Le 19 oct. 2020 ? 08:45, Dev via use-livecode < >> use-livecode at lists.runrev.com> a ?crit : >>>> Since I have been on DreamHost for more than a decade, I would love to >> have something like this set up. I?m not too proficient with Terminal or >> Linux, but can follow instructions. I would love to know if there is a crib >> sheet or step by step or tutorial that I could follow to get an instance >> running in my space? >>>> Thanks for any information that you can point me to. >>> >>> Hi, >>> >>> AxWald is talking about this topic here: >>> >>> https://forums.livecode.com/viewtopic.php?f=15&t=34068 < >> https://forums.livecode.com/viewtopic.php?f=15&t=34068> >>> >>> >>> and it just works! >>> >>> Kind regards, >>> >>> Thierry >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > +44(1634)402193 > +44(7702)116447 > 'Don't try to think outside the box. Just remember the truth: There is no > box!' > 'For then you realise it is not the box you are trying to look outside of, > but it is yourself!' > > eMail Ts & Cs Pi Digital > Productions Ltd is a UK registered limited company, no. 5255609 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 19 13:27:59 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 19 Oct 2020 10:27:59 -0700 Subject: Textsize of label of copied btn changes In-Reply-To: References: Message-ID: <6b1b76f2-1b2c-35cf-32f3-c8c9c076ca39@fourthworld.com> ELS Prothero wrote: > Yes, if my memory doesn?t fail me, it was in italic. Hmmm, I guess I > was supposed to know that meant it wasn?t set and the value shown was > a default? Yes, more or less, though to be precise it's not so much default per se as inherited. As Jacque noted yesterday, values italized in the Inspector are inherited, where the control being inspected has not had that value set. Many visual properties are inherited, including textFont and textSize, in a scheme more or less conforming to the inheritance path of messages. In your case it seems the textSize value is inherited from the card. If you want a consistent font and size for all cards in a stack, clear any such card properties and set them in the stack. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Mon Oct 19 13:28:54 2020 From: klaus at major-k.de (Klaus major-k) Date: Mon, 19 Oct 2020 19:28:54 +0200 Subject: First version of LC that supports httpS? In-Reply-To: <53a12780f32623edbd96f5b6886374ce@livecode.com> References: <174D888A-2547-4A55-A216-015314738A34@major-k.de> <53a12780f32623edbd96f5b6886374ce@livecode.com> Message-ID: Hi Mark and Sean > Am 19.10.2020 um 18:55 schrieb Mark Waddingham via use-livecode : > > On 2020-10-19 17:31, Klaus major-k via use-livecode wrote: >> Hi all, >> see subject, maybe someone happens to know. >> Obviously LC 5.02 does not support httpS yet. > > HTTPS has been supported since engine version 2.6 judging by the libURL source - so that would be LiveCode 2.x (for some 'x' - I can't remember the exact version the engine version and the - what was Revolution - version synced up). > > However, it is unlikely that https will work anymore from those engines with any suitably maintained web-server since the SSL protocol version they use will likely be judged insecure by the server and thus not allow connection. (Although that can be very unwisely changed on the webserver side). > > Another facet here will be the 'root certificate bundle' which will almost certainly be well out of date for older engines (at some point we did make collection of SSL certificates from the OS automatic - that was before 6.0 by the look of it). > > Warmest Regards, > > Mark. thanks a lot for your answers! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From rdimola at evergreeninfo.net Mon Oct 19 13:42:25 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 19 Oct 2020 13:42:25 -0400 Subject: LC Server- Optimum setup In-Reply-To: <018CBFBC-266A-4022-872D-CE6B385EC700@earthlearningsolutions.org> References: <80147D91-E60C-41FB-8174-8C6C98E915A6@gmail.com> <9D97B1A1-B612-4EA6-A765-FB9675E9CD17@earthlearningsolutions.org> <018CBFBC-266A-4022-872D-CE6B385EC700@earthlearningsolutions.org> Message-ID: <005b01d6a63f$37c27690$a74763b0$@net> I use it daily for everything from web pages to my homebrew web services. I don't have a heavy load but I have not received and performance complaints from customers. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of prothero--- via use-livecode Sent: Monday, October 19, 2020 1:27 PM To: JJS via use-livecode Cc: prothero at earthlearningsolutions.org Subject: LC Server- Optimum setup Folks, I?ve reposted this in a new thread, at Sean's suggestion. Please ignore my posting in the ssl thread. I?ve been thinking about experimenting with Livecode server. I have a vps and root access, but I?m wondering what are the speed and user consequences of installing it at root level, or as a cgi. The cgi is fairly large and I?m concerned about both speed and memory issues when multiple users are accessing it. I know this has been discussed in the past, but would appreciate any advice based on recent experience. Thanks! Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Oct 19 13:41:53 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 19 Oct 2020 18:41:53 +0100 Subject: SQL Show Status In-Reply-To: <005a01d6a63c$ef135b00$cd3a1100$@net> References: <005a01d6a63c$ef135b00$cd3a1100$@net> Message-ID: Hi Ralph, What do I do to see the data in the two columns? My brain is hurting too much to figure it out. Thanks Sean On Mon, 19 Oct 2020 at 18:26, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Sean, > > revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer > > That integer is a record set. > In my case it returned 536 rows. > Each row has two columns: > Variable_name > Value > > > Let me tell you Mr. Johnson... Some very interesting stuff in there. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Sean Cole (Pi) via use-livecode > Sent: Monday, October 19, 2020 12:50 PM > To: How to use LiveCode > Cc: Sean Cole (Pi) > Subject: SQL Show Status > > Hi > > As everyone likes to hijack threads here, I?ve started another to make > sure it gets seen. > > > revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer > > Same for revdb_execute which returns 0 > > Any clues on how to actually get the status back? > > Still trying to work out why these certificates are not working. > -- > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > +44(1634)402193 > +44(7702)116447 > 'Don't try to think outside the box. Just remember the truth: There is no > box!' > 'For then you realise it is not the box you are trying to look outside of, > but it is yourself!' > > eMail Ts & Cs Pi Digital > Productions Ltd is a UK registered limited company, no. 5255609 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Mon Oct 19 13:53:16 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 19 Oct 2020 19:53:16 +0200 Subject: SQL Show Status In-Reply-To: References: <005a01d6a63c$ef135b00$cd3a1100$@net> Message-ID: <57D5615D-0483-410F-8386-3EDBF6EE3A00@m-r-d.de> You have to use revDataFromQuery() because that will execute the SQL statement and will return any data that is coming from the DB Server. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 19.10.2020 um 19:41 schrieb Sean Cole (Pi) via use-livecode : > > Hi Ralph, > > What do I do to see the data in the two columns? My brain is hurting too > much to figure it out. > > Thanks > Sean > > On Mon, 19 Oct 2020 at 18:26, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Sean, >> >> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer >> >> That integer is a record set. >> In my case it returned 536 rows. >> Each row has two columns: >> Variable_name >> Value >> >> >> Let me tell you Mr. Johnson... Some very interesting stuff in there. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Sean Cole (Pi) via use-livecode >> Sent: Monday, October 19, 2020 12:50 PM >> To: How to use LiveCode >> Cc: Sean Cole (Pi) >> Subject: SQL Show Status >> >> Hi >> >> As everyone likes to hijack threads here, I?ve started another to make >> sure it gets seen. >> >> >> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer >> >> Same for revdb_execute which returns 0 >> >> Any clues on how to actually get the status back? >> >> Still trying to work out why these certificates are not working. >> -- >> Sean Cole >> *Pi Digital Productions Ltd* >> www.pidigital.co.uk >> +44(1634)402193 >> +44(7702)116447 >> 'Don't try to think outside the box. Just remember the truth: There is no >> box!' >> 'For then you realise it is not the box you are trying to look outside of, >> but it is yourself!' >> >> eMail Ts & Cs Pi Digital >> Productions Ltd is a UK registered limited company, no. 5255609 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 19 14:03:37 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 19 Oct 2020 11:03:37 -0700 Subject: LC Server- Optimum setup In-Reply-To: <018CBFBC-266A-4022-872D-CE6B385EC700@earthlearningsolutions.org> References: <018CBFBC-266A-4022-872D-CE6B385EC700@earthlearningsolutions.org> Message-ID: <73987dd4-0962-18d9-df6f-3a32a67235d2@fourthworld.com> prothero wrote: > I?ve been thinking about experimenting with Livecode server. I have > a vps and root access, but I?m wondering what are the speed and user > consequences of installing it at root level, or as a cgi. The cgi is > fairly large and I?m concerned about both speed and memory issues when > multiple users are accessing it. > > I know this has been discussed in the past, but would appreciate any > advice based on recent experience. CGIs are CGIs, whether configured for all users via admin access to Apache config, or for individual users on a shared host via .htacces. Also, the size on disk is not reflective of real-world RAM requirements. You can check RAM requirements in Terminal by calling the engine with a simple script using the timing tool located at /usr/bin/time: /user/bin/time -v /path/to/your/lcserver somescript.lc The -v flag is for "verbose", listing a wide range of runtime stats including "Maximum resident set size" and "Average resident set size", with "set size" referring to physical RAM used. For example, running that on the script I posted earlier for my example CGI yields: User time (seconds): 0.02 System time (seconds): 0.02 Percent of CPU this job got: 97% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.04 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 19728 Average resident set size (kbytes): 0 Major (requiring I/O) page faults: 0 Minor (reclaiming a frame) page faults: 1526 Voluntary context switches: 1 Involuntary context switches: 0 Swaps: 0 File system inputs: 0 File system outputs: 0 Socket messages sent: 0 Socket messages received: 0 Signals delivered: 0 Page size (bytes): 4096 Exit status: 0 Separate from anything to do with LC, there is a modest performance difference between using .htacess and making those directives available to all users in Apache config: if you don't enable mod_rewrite, Apache doesn't need to scan folders for .htaccess files. This is a VERY minor difference, however, and if you need the flexibility of mod_rewrite you should use it. But FWIW most production servers set things up in Apache config, and since you're not limited to the issues with shared hosting you might as well do it the standard way. It's more work, and you'll be using sudo a lot since permissions are tighter. But for a production server, more restrictive permissions are exactly what we want. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Mon Oct 19 14:31:28 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 19 Oct 2020 19:31:28 +0100 Subject: SQL Show Status In-Reply-To: <57D5615D-0483-410F-8386-3EDBF6EE3A00@m-r-d.de> References: <005a01d6a63c$ef135b00$cd3a1100$@net> <57D5615D-0483-410F-8386-3EDBF6EE3A00@m-r-d.de> Message-ID: See, I tried that but hadn't put the delimiters in. I need a break :/ Thanks Matthias :) Sean Cole *Pi Digital* On Mon, 19 Oct 2020 at 18:53, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > You have to use > > revDataFromQuery() > > because that will execute the SQL statement and will return any data that > is coming from the DB Server. > > Regards, > Matthias > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 19.10.2020 um 19:41 schrieb Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Ralph, > > > > What do I do to see the data in the two columns? My brain is hurting too > > much to figure it out. > > > > Thanks > > Sean > > > > On Mon, 19 Oct 2020 at 18:26, Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Sean, > >> > >> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer > >> > >> That integer is a record set. > >> In my case it returned 536 rows. > >> Each row has two columns: > >> Variable_name > >> Value > >> > >> > >> Let me tell you Mr. Johnson... Some very interesting stuff in there. > >> > >> Ralph DiMola > >> IT Director > >> Evergreen Information Services > >> rdimola at evergreeninfo.net > >> > >> > >> -----Original Message----- > >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > >> Behalf Of Sean Cole (Pi) via use-livecode > >> Sent: Monday, October 19, 2020 12:50 PM > >> To: How to use LiveCode > >> Cc: Sean Cole (Pi) > >> Subject: SQL Show Status > >> > >> Hi > >> > >> As everyone likes to hijack threads here, I?ve started another to make > >> sure it gets seen. > >> > >> > >> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer > >> > >> Same for revdb_execute which returns 0 > >> > >> Any clues on how to actually get the status back? > >> > >> Still trying to work out why these certificates are not working. > >> -- > >> Sean Cole > >> *Pi Digital Productions Ltd* > >> www.pidigital.co.uk > >> +44(1634)402193 > >> +44(7702)116447 > >> 'Don't try to think outside the box. Just remember the truth: There is > no > >> box!' > >> 'For then you realise it is not the box you are trying to look outside > of, > >> but it is yourself!' > >> > >> eMail Ts & Cs Pi Digital > >> Productions Ltd is a UK registered limited company, no. 5255609 > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Mon Oct 19 15:10:13 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 19 Oct 2020 15:10:13 -0400 Subject: SQL Show Status In-Reply-To: References: <005a01d6a63c$ef135b00$cd3a1100$@net> <57D5615D-0483-410F-8386-3EDBF6EE3A00@m-r-d.de> Message-ID: <006e01d6a64b$7b97c3f0$72c74bd0$@net> I don't use this method but this works. put revDataFromQuery(,,YourDataseID,"SHOW STATUS") This will return a tab delimited list, one per line. put revDataFromQuery(comma,cr,YourDataseID,"SHOW STATUS") This will return a comma delimited list, one per line. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sean Cole (Pi) via use-livecode Sent: Monday, October 19, 2020 2:31 PM To: How to use LiveCode Cc: Sean Cole (Pi) Subject: Re: SQL Show Status See, I tried that but hadn't put the delimiters in. I need a break :/ Thanks Matthias :) Sean Cole *Pi Digital* On Mon, 19 Oct 2020 at 18:53, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > You have to use > > revDataFromQuery() > > because that will execute the SQL statement and will return any data > that is coming from the DB Server. > > Regards, > Matthias > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 19.10.2020 um 19:41 schrieb Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Ralph, > > > > What do I do to see the data in the two columns? My brain is hurting > > too much to figure it out. > > > > Thanks > > Sean > > > > On Mon, 19 Oct 2020 at 18:26, Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Sean, > >> > >> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer > >> > >> That integer is a record set. > >> In my case it returned 536 rows. > >> Each row has two columns: > >> Variable_name > >> Value > >> > >> > >> Let me tell you Mr. Johnson... Some very interesting stuff in there. > >> > >> Ralph DiMola > >> IT Director > >> Evergreen Information Services > >> rdimola at evergreeninfo.net > >> > >> > >> -----Original Message----- > >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] > >> On Behalf Of Sean Cole (Pi) via use-livecode > >> Sent: Monday, October 19, 2020 12:50 PM > >> To: How to use LiveCode > >> Cc: Sean Cole (Pi) > >> Subject: SQL Show Status > >> > >> Hi > >> > >> As everyone likes to hijack threads here, I?ve started another to > >> make sure it gets seen. > >> > >> > >> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer > >> > >> Same for revdb_execute which returns 0 > >> > >> Any clues on how to actually get the status back? > >> > >> Still trying to work out why these certificates are not working. > >> -- > >> Sean Cole > >> *Pi Digital Productions Ltd* > >> www.pidigital.co.uk > >> +44(1634)402193 > >> +44(7702)116447 > >> 'Don't try to think outside the box. Just remember the truth: There > >> is > no > >> box!' > >> 'For then you realise it is not the box you are trying to look > >> outside > of, > >> but it is yourself!' > >> > >> eMail Ts & Cs Pi Digital > >> Productions Ltd is a UK registered limited company, no. 5255609 > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Oct 19 15:35:27 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 19 Oct 2020 22:35:27 +0300 Subject: [ANN] This Week in LiveCode 241 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #241 here: https://bit.ly/3o5cCWX This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From paulmcclernan at gmail.com Mon Oct 19 16:30:28 2020 From: paulmcclernan at gmail.com (Paul McClernan) Date: Mon, 19 Oct 2020 16:30:28 -0400 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> Message-ID: > > OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations > of Unix (I think is just means Linux)". > > I'm thinking about tinkering with a FreeBSD server and LiveCode server, > but I didn't see a "UNIX" version, so I suppose that I have to compile it. > Have any of you installed LiveCode server on FreeBSD (or Solaris)? > As others mentioned, this is dated information. However, last I checked macOS (or rather the "Darwin" layer of macOS) is POSIX compliant and built from BSD UNIX 4.4 & bits of FreeBSD. So, I would not be all that surprised if a LiveCode for macOS GUI-less/CLI executable could run on some other BSD. On Thu, Oct 15, 2020 at 12:08 PM Heriberto Torrado via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear all, > > I have a question. It's not a very important question and I don?t want > to bother you y 'all, so if you think is off-topic, feel free to not to > respond, I'm just curious. > > I've been working with Livecode for almost five years, and I never saw a > LiveCode server "UNIX" version. > > The LiveCode Wikipedia?s article says this: LiveCode runs on iOS, Android, > OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations > of Unix (I think is just means Linux)". > > I'm thinking about tinkering with a FreeBSD server and LiveCode server, > but I didn't see a "UNIX" version, so I suppose that I have to compile it. > Have any of you installed LiveCode server on FreeBSD (or Solaris)? > > I'm just thinking, but maybe there's a small niche working with LiveCode > server on BSD or Solaris (still many companies use them and not many people > develop software for this platforms nowadays). > We have a few companies in Spain (my country) still using Solaris or BSD > servers (mainly in the Graphic arts business). > > PS, I currently work with LiveCode Server on Centos, but it could be > interesting to test it in FreeBSD. > > Best regards/ Saludos cordiales/ Cordialement > > Heriberto Torrado > ?Chief Technology Officer (CTO) > ?Director de inform?tica > Directeur informatique > > https://networkdreams.net > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From waprothero at gmail.com Mon Oct 19 17:31:29 2020 From: waprothero at gmail.com (William Prothero) Date: Mon, 19 Oct 2020 14:31:29 -0700 Subject: LC Server- Optimum setup In-Reply-To: <73987dd4-0962-18d9-df6f-3a32a67235d2@fourthworld.com> References: <018CBFBC-266A-4022-872D-CE6B385EC700@earthlearningsolutions.org> <73987dd4-0962-18d9-df6f-3a32a67235d2@fourthworld.com> Message-ID: <6B9CA195-0299-4C55-A9C4-2E650C62AC93@gmail.com> Thanks, Richard. Good info. I?m not quite ready to jump in on this yet, but soon, and probably with Trevore?s Levure app. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Oct 19, 2020, at 11:03 AM, Richard Gaskin via use-livecode wrote: > > prothero wrote: > > > I?ve been thinking about experimenting with Livecode server. I have > > a vps and root access, but I?m wondering what are the speed and user > > consequences of installing it at root level, or as a cgi. The cgi is > > fairly large and I?m concerned about both speed and memory issues when > > multiple users are accessing it. > > > > I know this has been discussed in the past, but would appreciate any > > advice based on recent experience. > > CGIs are CGIs, whether configured for all users via admin access to Apache config, or for individual users on a shared host via .htacces. > > Also, the size on disk is not reflective of real-world RAM requirements. You can check RAM requirements in Terminal by calling the engine with a simple script using the timing tool located at /usr/bin/time: > > /user/bin/time -v /path/to/your/lcserver somescript.lc > > The -v flag is for "verbose", listing a wide range of runtime stats including "Maximum resident set size" and "Average resident set size", with "set size" referring to physical RAM used. > > For example, running that on the script I posted earlier for my example CGI yields: > > User time (seconds): 0.02 > System time (seconds): 0.02 > Percent of CPU this job got: 97% > Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.04 > Average shared text size (kbytes): 0 > Average unshared data size (kbytes): 0 > Average stack size (kbytes): 0 > Average total size (kbytes): 0 > Maximum resident set size (kbytes): 19728 > Average resident set size (kbytes): 0 > Major (requiring I/O) page faults: 0 > Minor (reclaiming a frame) page faults: 1526 > Voluntary context switches: 1 > Involuntary context switches: 0 > Swaps: 0 > File system inputs: 0 > File system outputs: 0 > Socket messages sent: 0 > Socket messages received: 0 > Signals delivered: 0 > Page size (bytes): 4096 > Exit status: 0 > > > Separate from anything to do with LC, there is a modest performance difference between using .htacess and making those directives available to all users in Apache config: if you don't enable mod_rewrite, Apache doesn't need to scan folders for .htaccess files. This is a VERY minor difference, however, and if you need the flexibility of mod_rewrite you should use it. > > But FWIW most production servers set things up in Apache config, and since you're not limited to the issues with shared hosting you might as well do it the standard way. It's more work, and you'll be using sudo a lot since permissions are tighter. But for a production server, more restrictive permissions are exactly what we want. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Tue Oct 20 03:48:42 2020 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 20 Oct 2020 03:48:42 -0400 Subject: Question about Windows 10 for Surface Message-ID: <8c7c280209e353432dc33b019add9964@souslelogo.com> Hi list, I have a request from a potential client for an app that should run on iOS, Android and Microsoft devices. AFAIK, Microsoft has dropped Windows 10 Phone in 2019. But what about devices like Surface tablets that run Windows 10 ? Can a LC app compiled for windows run on these devices ? Thanks in advance. jbv From bobsneidar at iotecdigital.com Tue Oct 20 17:20:16 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 20 Oct 2020 21:20:16 +0000 Subject: SQL Show Status In-Reply-To: <57D5615D-0483-410F-8386-3EDBF6EE3A00@m-r-d.de> References: <005a01d6a63c$ef135b00$cd3a1100$@net> <57D5615D-0483-410F-8386-3EDBF6EE3A00@m-r-d.de> Message-ID: <97254BA6-7D53-4AAD-844D-896E92D5F5D9@iotecdigital.com> I?m wondering what status you are trying to retrieve. If you are wanting to see if the SQL database is accessible/online, using an actual query has it?s drawbacks. Querying an SQL database that is inaccessible will result in a 60 second timeout during which Livecode will be unresponsive. What I do instead is I first execute a telnet command using shell(). This will tell me if I can get to the SQL server and if it?s listening. The next thing you can do is execute a simple query SHOW STATUS will work as well as anything else. You can also execute something like select 1+1 as sum. You don?t even need to know a table or column. Bob S > On Oct 19, 2020, at 10:53 AM, matthias rebbe via use-livecode wrote: > > You have to use > > revDataFromQuery() > > because that will execute the SQL statement and will return any data that is coming from the DB Server. > > Regards, > Matthias > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 19.10.2020 um 19:41 schrieb Sean Cole (Pi) via use-livecode : >> >> Hi Ralph, >> >> What do I do to see the data in the two columns? My brain is hurting too >> much to figure it out. >> >> Thanks >> Sean >> >> On Mon, 19 Oct 2020 at 18:26, Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Sean, >>> >>> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer >>> >>> That integer is a record set. >>> In my case it returned 536 rows. >>> Each row has two columns: >>> Variable_name >>> Value >>> >>> >>> Let me tell you Mr. Johnson... Some very interesting stuff in there. >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>> Behalf Of Sean Cole (Pi) via use-livecode >>> Sent: Monday, October 19, 2020 12:50 PM >>> To: How to use LiveCode >>> Cc: Sean Cole (Pi) >>> Subject: SQL Show Status >>> >>> Hi >>> >>> As everyone likes to hijack threads here, I?ve started another to make >>> sure it gets seen. >>> >>> >>> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer >>> >>> Same for revdb_execute which returns 0 >>> >>> Any clues on how to actually get the status back? >>> >>> Still trying to work out why these certificates are not working. >>> -- >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> www.pidigital.co.uk >>> +44(1634)402193 >>> +44(7702)116447 >>> 'Don't try to think outside the box. Just remember the truth: There is no >>> box!' >>> 'For then you realise it is not the box you are trying to look outside of, >>> but it is yourself!' >>> From bobsneidar at iotecdigital.com Tue Oct 20 17:51:25 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 20 Oct 2020 21:51:25 +0000 Subject: Question about Windows 10 for Surface In-Reply-To: <8c7c280209e353432dc33b019add9964@souslelogo.com> References: <8c7c280209e353432dc33b019add9964@souslelogo.com> Message-ID: <6981A248-90C4-4F9A-8B7B-C765BD0B7DBF@iotecdigital.com> Yes. It?s Windows 10. I do not thing there is anything different about a tablet running Windows 10 and a PC. There WERE some mobile devices running some sort of Windows OS that was NOT v10, but I haven?t seen one of those in years. They were as I understand it a total flop. People who want Windows want WINDOWS and those who don?t, well they don?t. Curious that something so simple escapes these big computer companies. Bob S On Oct 20, 2020, at 12:48 AM, jbv via use-livecode > wrote: Hi list, I have a request from a potential client for an app that should run on iOS, Android and Microsoft devices. AFAIK, Microsoft has dropped Windows 10 Phone in 2019. But what about devices like Surface tablets that run Windows 10 ? Can a LC app compiled for windows run on these devices ? Thanks in advance. From ambassador at fourthworld.com Tue Oct 20 21:13:41 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 20 Oct 2020 18:13:41 -0700 Subject: Question about Windows 10 for Surface In-Reply-To: <8c7c280209e353432dc33b019add9964@souslelogo.com> References: <8c7c280209e353432dc33b019add9964@souslelogo.com> Message-ID: <40492bac-7102-d05e-77b9-ab64a9ae2fb5@fourthworld.com> jbv wrote: > But what about devices like Surface tablets that run Windows 10 ? > Can a LC app compiled for windows run on these devices ? The Microsoft Surface is an awesome piece of hardware. If it wasn't notoriously difficult to install Linux on (needs a lot of specialized drivers which are included with Windows but not Linux) I'd have bought one long ago. They use Intel's Core series CPUs, so any LC app built for 64-bit Windows should run fine on them. They're full-featured computers, probably better thought of as a laptop with a detachable screen than a tablet with a docking keyboard. The only two areas I'm not certain of hopefully others who have a Surface can chime in on: - High-res screen: Not sure how gracefully LC's latest builds provide resolution independence on desktop OSes (Surface is 220 PPI). - Touch input: While modern desktop OSes have been extended in recent years to support multi-touch gestures, LC only handles multi-point touch inputs on Android and iOS. Windows does a good job of mapping many gestures to discernible keyboard sequences where practical, so your app can respond to some gestures via rawKeyDown. But if you need true multi-touch support, we'll have to wait for the engine team to add that to the LC desktop engines. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Oct 20 21:30:01 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 20 Oct 2020 18:30:01 -0700 Subject: LC Server- Optimum setup In-Reply-To: <6B9CA195-0299-4C55-A9C4-2E650C62AC93@gmail.com> References: <6B9CA195-0299-4C55-A9C4-2E650C62AC93@gmail.com> Message-ID: <829946c5-bfcb-38c5-7e98-ca2a7a75ff27@fourthworld.com> When you are, you're in good company. Just let us know if you get stuck on anything and we'll get your server running in no time. 'Tween now and then, you might want to check out this blog post on a nice addition to LC Server added a couple years back, letting you use LC as a general purpose command-line language in addition to how most people use it as a PHP replacement: https://livecode.com/livecode-server/ This blog post may help spark ideas for how to put LC to work on system monitoring and other tasks: https://livecode.com/keeping-an-eye-on-your-server/ -- Richard Gaskin Fourth World Systems William Prothero wrote: > Thanks, Richard. Good info. I?m not quite ready to jump in on this yet, but soon, and probably with Trevore?s Levure app. > Best, > Bill > > William A. Prothero > https://earthlearningsolutions.org > >> On Oct 19, 2020, at 11:03 AM, Richard Gaskin via use-livecode wrote: >> >> prothero wrote: >> >> > I?ve been thinking about experimenting with Livecode server. I have >> > a vps and root access, but I?m wondering what are the speed and user >> > consequences of installing it at root level, or as a cgi. The cgi is >> > fairly large and I?m concerned about both speed and memory issues when >> > multiple users are accessing it. >> > >> > I know this has been discussed in the past, but would appreciate any >> > advice based on recent experience. >> >> CGIs are CGIs, whether configured for all users via admin access to Apache config, or for individual users on a shared host via .htacces. >> >> Also, the size on disk is not reflective of real-world RAM requirements. You can check RAM requirements in Terminal by calling the engine with a simple script using the timing tool located at /usr/bin/time: >> >> /user/bin/time -v /path/to/your/lcserver somescript.lc >> >> The -v flag is for "verbose", listing a wide range of runtime stats including "Maximum resident set size" and "Average resident set size", with "set size" referring to physical RAM used. >> >> For example, running that on the script I posted earlier for my example CGI yields: >> >> User time (seconds): 0.02 >> System time (seconds): 0.02 >> Percent of CPU this job got: 97% >> Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.04 >> Average shared text size (kbytes): 0 >> Average unshared data size (kbytes): 0 >> Average stack size (kbytes): 0 >> Average total size (kbytes): 0 >> Maximum resident set size (kbytes): 19728 >> Average resident set size (kbytes): 0 >> Major (requiring I/O) page faults: 0 >> Minor (reclaiming a frame) page faults: 1526 >> Voluntary context switches: 1 >> Involuntary context switches: 0 >> Swaps: 0 >> File system inputs: 0 >> File system outputs: 0 >> Socket messages sent: 0 >> Socket messages received: 0 >> Signals delivered: 0 >> Page size (bytes): 4096 >> Exit status: 0 >> >> >> Separate from anything to do with LC, there is a modest performance difference between using .htacess and making those directives available to all users in Apache config: if you don't enable mod_rewrite, Apache doesn't need to scan folders for .htaccess files. This is a VERY minor difference, however, and if you need the flexibility of mod_rewrite you should use it. >> >> But FWIW most production servers set things up in Apache config, and since you're not limited to the issues with shared hosting you might as well do it the standard way. It's more work, and you'll be using sudo a lot since permissions are tighter. But for a production server, more restrictive permissions are exactly what we want. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> From sean at pidigital.co.uk Tue Oct 20 23:25:22 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 21 Oct 2020 04:25:22 +0100 Subject: SQL Show Status In-Reply-To: <97254BA6-7D53-4AAD-844D-896E92D5F5D9@iotecdigital.com> References: <97254BA6-7D53-4AAD-844D-896E92D5F5D9@iotecdigital.com> Message-ID: <7EBB9763-93F3-4BAA-AA30-A3D078AA5AB8@pidigital.co.uk> I was actually trying to look at the sslcypher tag. Wanted to see if it thought the server was enabled for it and if the certs would work. But there was no way of telling using revdb if the certs were wrong, if the server was set or anything. No one was able to tell me how to find out and was just flying blind (as is often the case with LC documentation). But I?ve abandoned revdb now and opted entirely for php. That way I just use https for security. Next issue when I transfer back to HTML5 deployment of these apps is to work out how to get RSA encryption working. Probably another php script (which again will be insecure while feeding through JS, unless the Post command works ok in that environment - ??). All the best Bob Sean Cole Pi Digital > On 20 Oct 2020, at 22:20, Bob Sneidar via use-livecode wrote: > > ?I?m wondering what status you are trying to retrieve. If you are wanting to see if the SQL database is accessible/online, using an actual query has it?s drawbacks. Querying an SQL database that is inaccessible will result in a 60 second timeout during which Livecode will be unresponsive. > > What I do instead is I first execute a telnet command using shell(). This will tell me if I can get to the SQL server and if it?s listening. The next thing you can do is execute a simple query SHOW STATUS will work as well as anything else. You can also execute something like select 1+1 as sum. You don?t even need to know a table or column. > > Bob S > > >> On Oct 19, 2020, at 10:53 AM, matthias rebbe via use-livecode wrote: >> >> You have to use >> >> revDataFromQuery() >> >> because that will execute the SQL statement and will return any data that is coming from the DB Server. >> >> Regards, >> Matthias >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>>> Am 19.10.2020 um 19:41 schrieb Sean Cole (Pi) via use-livecode : >>> >>> Hi Ralph, >>> >>> What do I do to see the data in the two columns? My brain is hurting too >>> much to figure it out. >>> >>> Thanks >>> Sean >>> >>> On Mon, 19 Oct 2020 at 18:26, Ralph DiMola via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Sean, >>>> >>>> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer >>>> >>>> That integer is a record set. >>>> In my case it returned 536 rows. >>>> Each row has two columns: >>>> Variable_name >>>> Value >>>> >>>> >>>> Let me tell you Mr. Johnson... Some very interesting stuff in there. >>>> >>>> Ralph DiMola >>>> IT Director >>>> Evergreen Information Services >>>> rdimola at evergreeninfo.net >>>> >>>> >>>> -----Original Message----- >>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>>> Behalf Of Sean Cole (Pi) via use-livecode >>>> Sent: Monday, October 19, 2020 12:50 PM >>>> To: How to use LiveCode >>>> Cc: Sean Cole (Pi) >>>> Subject: SQL Show Status >>>> >>>> Hi >>>> >>>> As everyone likes to hijack threads here, I?ve started another to make >>>> sure it gets seen. >>>> >>>> >>>> revQueryDatabase(tConnId, ?SHOW STATUS?) only returns an integer >>>> >>>> Same for revdb_execute which returns 0 >>>> >>>> Any clues on how to actually get the status back? >>>> >>>> Still trying to work out why these certificates are not working. >>>> -- >>>> Sean Cole >>>> *Pi Digital Productions Ltd* >>>> www.pidigital.co.uk >>>> +44(1634)402193 >>>> +44(7702)116447 >>>> 'Don't try to think outside the box. Just remember the truth: There is no >>>> box!' >>>> 'For then you realise it is not the box you are trying to look outside of, >>>> but it is yourself!' >>>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Wed Oct 21 01:31:50 2020 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Tue, 20 Oct 2020 22:31:50 -0700 Subject: LC Server- Optimum setup In-Reply-To: <829946c5-bfcb-38c5-7e98-ca2a7a75ff27@fourthworld.com> References: <829946c5-bfcb-38c5-7e98-ca2a7a75ff27@fourthworld.com> Message-ID: Thanks, Richard! RevIgniter also looks like something I should explore. Would a program that needs to produce graphs be practical? My current work requires various plots of earth data. Just wondering if I could think about getting it on a web server. Best, Bill William Prothero http://es.earthednet.org > On Oct 20, 2020, at 6:30 PM, Richard Gaskin via use-livecode wrote: > > ?When you are, you're in good company. Just let us know if you get stuck on anything and we'll get your server running in no time. > > 'Tween now and then, you might want to check out this blog post on a nice addition to LC Server added a couple years back, letting you use LC as a general purpose command-line language in addition to how most people use it as a PHP replacement: > https://livecode.com/livecode-server/ > > This blog post may help spark ideas for how to put LC to work on system monitoring and other tasks: > https://livecode.com/keeping-an-eye-on-your-server/ > > -- > Richard Gaskin > Fourth World Systems > > > William Prothero wrote: >> Thanks, Richard. Good info. I?m not quite ready to jump in on this yet, but soon, and probably with Trevore?s Levure app. >> Best, >> Bill >> William A. Prothero >> https://earthlearningsolutions.org >>>> On Oct 19, 2020, at 11:03 AM, Richard Gaskin via use-livecode wrote: >>> prothero wrote: >>> > I?ve been thinking about experimenting with Livecode server. I have >>> > a vps and root access, but I?m wondering what are the speed and user >>> > consequences of installing it at root level, or as a cgi. The cgi is >>> > fairly large and I?m concerned about both speed and memory issues when >>> > multiple users are accessing it. >>> > >>> > I know this has been discussed in the past, but would appreciate any >>> > advice based on recent experience. >>> CGIs are CGIs, whether configured for all users via admin access to Apache config, or for individual users on a shared host via .htacces. >>> Also, the size on disk is not reflective of real-world RAM requirements. You can check RAM requirements in Terminal by calling the engine with a simple script using the timing tool located at /usr/bin/time: >>> /user/bin/time -v /path/to/your/lcserver somescript.lc >>> The -v flag is for "verbose", listing a wide range of runtime stats including "Maximum resident set size" and "Average resident set size", with "set size" referring to physical RAM used. >>> For example, running that on the script I posted earlier for my example CGI yields: >>> User time (seconds): 0.02 >>> System time (seconds): 0.02 >>> Percent of CPU this job got: 97% >>> Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.04 >>> Average shared text size (kbytes): 0 >>> Average unshared data size (kbytes): 0 >>> Average stack size (kbytes): 0 >>> Average total size (kbytes): 0 >>> Maximum resident set size (kbytes): 19728 >>> Average resident set size (kbytes): 0 >>> Major (requiring I/O) page faults: 0 >>> Minor (reclaiming a frame) page faults: 1526 >>> Voluntary context switches: 1 >>> Involuntary context switches: 0 >>> Swaps: 0 >>> File system inputs: 0 >>> File system outputs: 0 >>> Socket messages sent: 0 >>> Socket messages received: 0 >>> Signals delivered: 0 >>> Page size (bytes): 4096 >>> Exit status: 0 >>> Separate from anything to do with LC, there is a modest performance difference between using .htacess and making those directives available to all users in Apache config: if you don't enable mod_rewrite, Apache doesn't need to scan folders for .htaccess files. This is a VERY minor difference, however, and if you need the flexibility of mod_rewrite you should use it. >>> But FWIW most production servers set things up in Apache config, and since you're not limited to the issues with shared hosting you might as well do it the standard way. It's more work, and you'll be using sudo a lot since permissions are tighter. But for a production server, more restrictive permissions are exactly what we want. >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Wed Oct 21 09:31:33 2020 From: david.bovill at gmail.com (David Bovill) Date: Wed, 21 Oct 2020 14:31:33 +0100 Subject: Livecode Podcast Player In-Reply-To: References: Message-ID: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> Does anyone have a stack that plays audio podcasts? From tom at makeshyft.com Wed Oct 21 10:09:35 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 21 Oct 2020 10:09:35 -0400 Subject: Websockets Message-ID: Hi Livecoders, Does anyone know if there are any plans for introducing websockets to livecode? Or if there are any working 3rd party implementations that are available? its been a lot of years. Thanks, -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From livfoss at mac.com Wed Oct 21 11:32:49 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 21 Oct 2020 17:32:49 +0200 Subject: LC iOS Command 'mergPopActivity' In-Reply-To: <5B85A0CD-06A5-4D57-935D-8FDBAF92707E@mac.com> References: <5B85A0CD-06A5-4D57-935D-8FDBAF92707E@mac.com> Message-ID: <51A25131-5338-4FAB-A524-F212AC920E24@mac.com> A little progress report. Elanor has come up with a solid answer to my original question, which was how to use the mergPopActivity command to break out of an iOS app sandbox by offering a file to the external world (such as the ?Files? folder) on iOS systems. Basically, if you put a file in say the documents folder within your app and make a path tPath to it, then if the file?s name is in tFileName, mergPopActivity tFileName,,("file:" & tPath) will open the model window and allow the user to put the file into ?Files? folder, email it etc So far I have not found out how to invoke another app directly from inside an iOS app, although I think I can invoke a browser using a URL. Perhaps this is easier than I thought. Will report. Graham > On 19 Oct 2020, at 11:14, Graham Samuel via use-livecode wrote: > > Thanks very much for that. Sadly on a first look, in this particular case there is little or no additional detail about the command. Nevertheless I think there should be a link to the Merg web site in the LC Dictionary itself. > > I rely heavily on the Dictionary, and only venture elsewhere when I am completely foxed, as with iOS Deployment, for me a nightmare compared with simply coding and debugging. > > It is also true that the Simulator is very limited, in particular in showing what?s happening when things go wrong (silent failure being a factor which has bitten me several times). Under the Simulator, my GPS-related app can only use a couple of limited examples built in to Xcode. > > Probably there is a way to roll your own, but only in the monstrous xCode universe, so very different from the familiar environment of LC. I am really too old to start learning all that stuff. Apart though from my own bruised ego, there is the issue of one of the key USPs of LC - simplicity - being damaged by the difficulty of deployment. I?m ranting, I suppose? will study the Merg info, but sadly still need Elanor to ride to the rescue! > > Graham > >> On 19 Oct 2020, at 03:23, Andrew at MidWest Coast Media wrote: >> >> The limited documentation is at http://mergext.com/home/mergpop/ >> Glad to hear that Elanor might be working on some more documentation. This feature (like push notifications and mobile camera) are difficult to test since the emulator either doesn?t work or has extremely limited functionality. >> >> I found this code snippet in an old project where I was taking a screenshot of part of the screen and trying to share to Facebook or Twitter. >> >> export snapshot from rect tExportRect of this card to file tFilePath as PNG >> >> mergPopActivity "Indiana On Tap just hooked me up!",tFilePath,?" >> >> >> ?Andrew Bell >> >> >>> >>> Message: 13 >>> Date: Sun, 18 Oct 2020 12:58:50 +0200 >>> From: Graham Samuel > >>> To: How to use LiveCode > >>> Subject: LC iOS Command 'mergPopActivity' [was Re: The iOS "Files" >>> folder] >>> Message-ID: <769B3120-FCF5-4ECB-9683-AC0A303E2A47 at mac.com > >>> Content-Type: text/plain; charset=utf-8 >>> >>> I have been trying to use this command, initially to allow an iOS app to put something in the ?Files? folder on an iPhone, but I?m now more interested in the whole idea of Activity Views and how to exploit them in an iOS app. I believe that the LC ?mergPopActivity' command is a wrapper for some function in the iOS native universe - connected with ?UIActivityViewController', but so far I haven?t worked out which one, since I don?t really understand much of Apple?s iOS Developer documentation (I always hope that using LC removes the need to do so!). >>> >>> Elanor Buchanan of the mother ship has been extremely helpful about this, and has said she hopes to improve the almost non-existent documentation of this command, but meanwhile I?m interested if anyone on this list has any insights, as I?m quite stuck and don?t want to bug Elanor too much. >>> >>> When you invoke the ?mergPopActivity' command in an LC script, it opens a modal window which gives a gateway into services available on your device, like email, printing, saving to ?Files?, sending to social media etc - it depends on what your device is capable of, and the apps it has loaded; so I believe that the LC command essentially implements the ?sharing? activity in iOS, which is usually invoked via an icon consisting of a square with a North-pointing arrow in it. >>> >>> So far so good, but I?ve only been able to do one thing so far, which is to offer a text string originating in the app to these various services. So far I have not been able to find a way to offer a file (for example, a file containing a text rather than the text itself - easy to generate within an app, but no luck in offering to email it etc). There is a ?URL? parameter but I can?t work out what it does. >>> >>> Anyone got any clues or shall I apologise (again) to Elanor and ask her for more help? >>> >>> Graham >>> >>> ------------------------------ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Oct 21 11:38:00 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Oct 2020 08:38:00 -0700 Subject: Websockets In-Reply-To: References: Message-ID: <10ecabb5-ff84-5a67-c78a-d80a8a7a8b44@fourthworld.com> Tom Glod wrote: > Does anyone know if there are any plans for introducing websockets > to livecode? I've not seen any indication of a commitment to add websockets to LC. Websockets were added to browsers to provide a constrained way to allow persistent connections without exposing web pages to regular sockets. Since LC already supports regular sockets, even secure sockets, the value of websockets appears limited to attempting to use web services for the the provider has expressed a desire that they only be accessed by web pages (if they want to support native clients why not also use regular sockets?). Is there another use-case I haven't considered? I've found myself wanting this myself now and then, but I have to admit mostly just for the sake of completeness; I haven't come across a specific need for it in the work I've been doing. If you have it would be valuable to learn the details so we can better assess how it may be prioritized, or perhaps toss some funding together for an implementation. > Or if there are any working 3rd party implementations that are > available? LC Builder was delivered as the bridge for writing our own scripting interfaces for binary APKs. This would seem a good fit for that, no? > its been a lot of years. Since what? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Wed Oct 21 11:45:21 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 21 Oct 2020 16:45:21 +0100 Subject: Livecode Podcast Player In-Reply-To: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> References: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> Message-ID: I?m going to chime in, not to discredit anyone else or their comments, only to voice a reason I personally feel is far more needed and worthwhile. Before any of what has been suggested being carried out, as lovely as it all would be, getting the dictionary and the guide usable and accurate/up-to-date would be of greater importance. Especially for the modern and recent modifications. But even simple stuff that has been altered in tiny ways has not been touched in the guide for an age. My point is, there is no point in introducing and inviting new users to a product that becomes difficult to use because documentation is out of date and not matching in appearance or fiction to what is described. Sure a community can advise those ones of workarounds and correct usage. But that?s just pathetic and should be unnecessary. And you all know my opinions on workarounds. My ethos, fix what we have, don?t introduce more problems. Sean Cole Pi Digital > On 21 Oct 2020, at 14:31, David Bovill via use-livecode wrote: > > ?Does anyone have a stack that plays audio podcasts? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Wed Oct 21 12:03:54 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 21 Oct 2020 17:03:54 +0100 Subject: Livecode Podcast Player In-Reply-To: References: Message-ID: <5AF8A81E-2953-400E-B8FE-6540D16C6FBA@pidigital.co.uk> Maybe that?s what we can all contribute. Get assigned a section of the guide and rewrite it. Submit, revise and add to the guide. And rewrite a better built in guide viewer. One that is searchable at the very least. And doesn?t take an age to load each section. Sean Cole Pi Digital > On 21 Oct 2020, at 16:45, Pi Digital wrote: > > ?I?m going to chime in, not to discredit anyone else or their comments, only to voice a reason I personally feel is far more needed and worthwhile. > > Before any of what has been suggested being carried out, as lovely as it all would be, getting the dictionary and the guide usable and accurate/up-to-date would be of greater importance. Especially for the modern and recent modifications. But even simple stuff that has been altered in tiny ways has not been touched in the guide for an age. > > My point is, there is no point in introducing and inviting new users to a product that becomes difficult to use because documentation is out of date and not matching in appearance or fiction to what is described. Sure a community can advise those ones of workarounds and correct usage. But that?s just pathetic and should be unnecessary. And you all know my opinions on workarounds. > > My ethos, fix what we have, don?t introduce more problems. > > Sean Cole > Pi Digital > > >>> On 21 Oct 2020, at 14:31, David Bovill via use-livecode wrote: >>> >> ?Does anyone have a stack that plays audio podcasts? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Wed Oct 21 12:18:02 2020 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Wed, 21 Oct 2020 09:18:02 -0700 Subject: Livecode Podcast Player In-Reply-To: <5AF8A81E-2953-400E-B8FE-6540D16C6FBA@pidigital.co.uk> References: <5AF8A81E-2953-400E-B8FE-6540D16C6FBA@pidigital.co.uk> Message-ID: <0B3A5E70-D572-4AA6-9937-5B4FA7162F14@earthlearningsolutions.org> Sean, Amen on making the guide searchable. I find it useless. A challenge for me is solving problems that are beyond the basic level covered in the dictionary. Usually I can find help using google searching, though. Keeping all the help docs up to date is a big task, but vital for growing the community. Best, Bill William Prothero http://es.earthednet.org > On Oct 21, 2020, at 9:04 AM, Pi Digital via use-livecode wrote: > > ?Maybe that?s what we can all contribute. Get assigned a section of the guide and rewrite it. Submit, revise and add to the guide. > > And rewrite a better built in guide viewer. One that is searchable at the very least. And doesn?t take an age to load each section. > > Sean Cole > Pi Digital > > >> On 21 Oct 2020, at 16:45, Pi Digital wrote: >> >> ?I?m going to chime in, not to discredit anyone else or their comments, only to voice a reason I personally feel is far more needed and worthwhile. >> >> Before any of what has been suggested being carried out, as lovely as it all would be, getting the dictionary and the guide usable and accurate/up-to-date would be of greater importance. Especially for the modern and recent modifications. But even simple stuff that has been altered in tiny ways has not been touched in the guide for an age. >> >> My point is, there is no point in introducing and inviting new users to a product that becomes difficult to use because documentation is out of date and not matching in appearance or fiction to what is described. Sure a community can advise those ones of workarounds and correct usage. But that?s just pathetic and should be unnecessary. And you all know my opinions on workarounds. >> >> My ethos, fix what we have, don?t introduce more problems. >> >> Sean Cole >> Pi Digital >> >> >>>>> On 21 Oct 2020, at 14:31, David Bovill via use-livecode wrote: >>>>> >>> ?Does anyone have a stack that plays audio podcasts? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Oct 21 13:00:11 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 21 Oct 2020 10:00:11 -0700 Subject: Websockets In-Reply-To: References: Message-ID: <14205c56-b30c-2b8a-7a36-181da6a86d45@sonic.net> On 10/21/20 7:09 AM, Tom Glod via use-livecode wrote: > Hi Livecoders, > > Does anyone know if there are any plans for introducing websockets to > livecode? > > Or if there are any working 3rd party implementations that are available? > > its been a lot of years. > > Thanks, > Charles Warwick has something in the oven. Might be worth pinging him to see what the status of that is. -- Mark Wieder ahsoftware at gmail.com From jeejeestudio at gmail.com Wed Oct 21 15:16:33 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Wed, 21 Oct 2020 21:16:33 +0200 Subject: Livecode Podcast Player In-Reply-To: References: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> Message-ID: You've just hijacked someone's thread...you said something last time. It's now a totally different subject. But nevertheless I total agree with what you just said. Op wo 21 okt. 2020 17:46 schreef Pi Digital via use-livecode < use-livecode at lists.runrev.com>: > I?m going to chime in, not to discredit anyone else or their comments, > only to voice a reason I personally feel is far more needed and worthwhile. > > Before any of what has been suggested being carried out, as lovely as it > all would be, getting the dictionary and the guide usable and > accurate/up-to-date would be of greater importance. Especially for the > modern and recent modifications. But even simple stuff that has been > altered in tiny ways has not been touched in the guide for an age. > > My point is, there is no point in introducing and inviting new users to a > product that becomes difficult to use because documentation is out of date > and not matching in appearance or fiction to what is described. Sure a > community can advise those ones of workarounds and correct usage. But > that?s just pathetic and should be unnecessary. And you all know my > opinions on workarounds. > > My ethos, fix what we have, don?t introduce more problems. > > Sean Cole > Pi Digital > > > > On 21 Oct 2020, at 14:31, David Bovill via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Does anyone have a stack that plays audio podcasts? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Wed Oct 21 16:13:11 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 21 Oct 2020 16:13:11 -0400 Subject: Websockets In-Reply-To: <14205c56-b30c-2b8a-7a36-181da6a86d45@sonic.net> References: <14205c56-b30c-2b8a-7a36-181da6a86d45@sonic.net> Message-ID: Thank You Mark for the hint. I will ask him about it. Richard, I hear what you are saying, its not absolutely necessary to get things done. Its just I am researching the most efficient mode of communication between a LC stack and a binary written in Go. A lot of Go Libraries have websocket support. So naturally I wanted to test it as part of my research. I'm using LC as a UI layer for a backend written in Go (needed insane concurrency for accessing web apis on a separate CPU process and core and only do UI with LC.). This is still a research piece at the moment, not implementing anything yet. Thanks for your thoughts. On Wed, Oct 21, 2020 at 1:01 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 10/21/20 7:09 AM, Tom Glod via use-livecode wrote: > > Hi Livecoders, > > > > Does anyone know if there are any plans for introducing websockets to > > livecode? > > > > Or if there are any working 3rd party implementations that are available? > > > > its been a lot of years. > > > > Thanks, > > > > Charles Warwick has something in the oven. Might be worth pinging him to > see what the status of that is. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From bdrunrev at gmail.com Wed Oct 21 19:08:13 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 22 Oct 2020 00:08:13 +0100 Subject: LC iOS Command 'mergPopActivity' In-Reply-To: <51A25131-5338-4FAB-A524-F212AC920E24@mac.com> References: <5B85A0CD-06A5-4D57-935D-8FDBAF92707E@mac.com> <51A25131-5338-4FAB-A524-F212AC920E24@mac.com> Message-ID: Hi Graham I wondered if this information is of use. URL calls are not limited to "http://". Having a LC app respond to a URL call: http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes Apps and their URL schemas: https://ios.gadgethacks.com/news/always-updated-list-ios-app-url-scheme-names-0184033/ Regards Bernard On Wed, Oct 21, 2020 at 4:33 PM Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: So far I have not found out how to invoke another app directly from inside > an iOS app, although I think I can invoke a browser using a URL. Perhaps > this is easier than I thought. Will report. > > Graham > > > From livfoss at mac.com Thu Oct 22 04:48:15 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 22 Oct 2020 10:48:15 +0200 Subject: LC iOS Command 'mergPopActivity' In-Reply-To: References: <5B85A0CD-06A5-4D57-935D-8FDBAF92707E@mac.com> <51A25131-5338-4FAB-A524-F212AC920E24@mac.com> Message-ID: <8F8D648A-BE63-4719-AD44-A32EFB6E465B@mac.com> Thanks Bernard - looks very promising! I will experiment. Means a lot of installation into an actual phone, I think, due to the limitations of the Xcode simulator (can?t load existing apps).. Very helpful Graham > On 22 Oct 2020, at 01:08, Bernard Devlin via use-livecode wrote: > > Hi Graham > > I wondered if this information is of use. URL calls are not limited to > "http://". > > Having a LC app respond to a URL call: > http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes > > Apps and their URL schemas: > https://ios.gadgethacks.com/news/always-updated-list-ios-app-url-scheme-names-0184033/ > > Regards > Bernard > > On Wed, Oct 21, 2020 at 4:33 PM Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > So far I have not found out how to invoke another app directly from inside >> an iOS app, although I think I can invoke a browser using a URL. Perhaps >> this is easier than I thought. Will report. >> >> Graham >> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Oct 22 07:59:37 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 22 Oct 2020 13:59:37 +0200 Subject: LC iOS Command 'mergPopActivity' In-Reply-To: <8F8D648A-BE63-4719-AD44-A32EFB6E465B@mac.com> References: <5B85A0CD-06A5-4D57-935D-8FDBAF92707E@mac.com> <51A25131-5338-4FAB-A524-F212AC920E24@mac.com> <8F8D648A-BE63-4719-AD44-A32EFB6E465B@mac.com> Message-ID: <054EA503-0E9A-42A5-8340-0147BD04C423@mac.com> The subject of this conversation is a bit wrong now, but I will keep so that the thread continues. Looking at this a bit further, it looks like there is more than one scheme for getting one app to open another. I find that the Dictionary entry for ?launch url? doesn?t quite conform to the example in the first link given by Bernard, at least not AFAIKS. The Dictionary says that if an app successfully launches another app in order to pass it a file, the originating app quits; but I don?t think the example shows that, and on a real iPhone for example, a little button appears on the top left of the screen allowing one to go back to the originating app. So I think the Dictionary is wrong and the example is right, but of course I will try it. It?s also stated in the Dictionary that you can launch a file, and the OS will attempt to open a ?default' app that accepts that sort of file. Of course there may be many such apps for common formats like text, but there will be one chosen by the OS as the default. Again, one needs to experiment. What it doesn?t say in the example or in the dictionary is how to find the equivalent of a Custom URL for an existing app (not an LC app) and thus avoid the problem that one may not wish to use the default app to process one?s data. As ever, I would be very happy for guidance and meanwhile will go on experimenting. (This is in part, I admit, displacement activity since my real priority is plunging back into the iOS App Deployment system, that gives me the jitters every time.) Graham > On 22 Oct 2020, at 10:48, Graham Samuel via use-livecode wrote: > > Thanks Bernard - looks very promising! I will experiment. Means a lot of installation into an actual phone, I think, due to the limitations of the Xcode simulator (can?t load existing apps).. > > Very helpful > > Graham > >> On 22 Oct 2020, at 01:08, Bernard Devlin via use-livecode wrote: >> >> Hi Graham >> >> I wondered if this information is of use. URL calls are not limited to >> "http://". >> >> Having a LC app respond to a URL call: >> http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes >> >> Apps and their URL schemas: >> https://ios.gadgethacks.com/news/always-updated-list-ios-app-url-scheme-names-0184033/ >> >> Regards >> Bernard >> >> On Wed, Oct 21, 2020 at 4:33 PM Graham Samuel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> So far I have not found out how to invoke another app directly from inside >>> an iOS app, although I think I can invoke a browser using a URL. Perhaps >>> this is easier than I thought. Will report. >>> >>> Graham >>> >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Thu Oct 22 17:19:27 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 22 Oct 2020 17:19:27 -0400 Subject: Can't edit scripts in DataGrid group in Windows 10 References: Message-ID: Hi all Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. If I click on the ?x? to close the LiveCode project I get the dialog that says. LiveCode for Windows is not responding If you close the program, you might lose information. ?>Close the Program ?>Wait for the program to respond. Eventually I just select ?Close the program? since the program never responds. I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. Has anyone else experienced this? It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? Thanks in advance. Martin Koob From rdimola at evergreeninfo.net Thu Oct 22 19:32:16 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 22 Oct 2020 19:32:16 -0400 Subject: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: References: Message-ID: <000001d6a8cb$97589240$c609b6c0$@net> Martin, I don?t have an answer for that but this post perked my interest in a hang I was getting. I just found out why the IDE hangs in an apparently tight loop when it's closing. This happened only on one card of the stack. It had a closeCard handler in the behavior. A "breakpoint" statement triggered. It was from early debugging and does not get triggered anymore. It only triggers if all is not well. There is reference to a property in the main stack. Could that stack already be closed and the property returns as empty? Because that would trigger the breakpoint. Is this a bug or user error? Win 10 LC 9.6.1 Thanks for pushing me(more like a poke) to finally solve this annoyance. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Martin Koob via use-livecode Sent: Thursday, October 22, 2020 5:19 PM To: use-livecode list Cc: Martin Koob Subject: Can't edit scripts in DataGrid group in Windows 10 Hi all Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. If I click on the ?x? to close the LiveCode project I get the dialog that says. LiveCode for Windows is not responding If you close the program, you might lose information. ?>Close the Program ?>Wait for the program to respond. Eventually I just select ?Close the program? since the program never responds. I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. Has anyone else experienced this? It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? Thanks in advance. Martin Koob _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Thu Oct 22 19:52:37 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 22 Oct 2020 19:52:37 -0400 Subject: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: <000001d6a8cb$97589240$c609b6c0$@net> References: <000001d6a8cb$97589240$c609b6c0$@net> Message-ID: <55E37FE9-5154-4B84-B322-8AE261A4FB01@rogers.com> Hi Ralph I generally experience IDE hang when exiting in all versions of LC 9.x i have used so far (using a Mac however). I haven?t had time to delve into figuring out a recipe I could report as a bug. I just force quit and relaunched LiveCode. That is just part of my work flow now. Sometimes it does quit with no hang. Some things I have tried is closing the script editor, or close and remove from memory before quitting. I still don?t get consistent results from this though. It happens with various stacks I work on from simple to complex. I thought it may be an extension I have installed that ties up the IDE during the quitting process. I plan one day to remove all extensions to a bare minimum and see if it still happens. Interesting idea about the breakpoint. Is it a ?red dot? soft breakpoint or hard coded ?breakpoint? in a line of the script? The behaviour of the soft breakpoints I have found inconsistent. Sometimes they don?t trigger unless I have the script open for at least the first breakpoint I want to trigger. Again I have never really tried to get to the cause, just did workarounds. I probably have way to many breakpoints left sitting around. Maybe I should just delete all breakpoints and start fresh. Thanks for the idea. Maybe that will solve the other problem I am having with the DataGrid. Martin > On Oct 22, 2020, at 7:32 PM, Ralph DiMola via use-livecode wrote: > > Martin, > > I don?t have an answer for that but this post perked my interest in a hang I was getting. I just found out why the IDE hangs in an apparently tight loop when it's closing. This happened only on one card of the stack. It had a closeCard handler in the behavior. A "breakpoint" statement triggered. It was from early debugging and does not get triggered anymore. It only triggers if all is not well. There is reference to a property in the main stack. Could that stack already be closed and the property returns as empty? Because that would trigger the breakpoint. > > Is this a bug or user error? > > Win 10 > LC 9.6.1 > > Thanks for pushing me(more like a poke) to finally solve this annoyance. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Martin Koob via use-livecode > Sent: Thursday, October 22, 2020 5:19 PM > To: use-livecode list > Cc: Martin Koob > Subject: Can't edit scripts in DataGrid group in Windows 10 > > Hi all > > Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. > > This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. > > If I click on the ?x? to close the LiveCode project I get the dialog that says. > > LiveCode for Windows is not responding > If you close the program, you might lose information. > ?>Close the Program > ?>Wait for the program to respond. > > Eventually I just select ?Close the program? since the program never responds. > > I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. > > In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. > > Has anyone else experienced this? > > It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? > > > Thanks in advance. > > > Martin Koob > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Thu Oct 22 20:05:30 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 22 Oct 2020 20:05:30 -0400 Subject: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: References: Message-ID: <4F21567F-A5DA-43C5-BCCE-93DD75206967@rogers.com> Hi Just to follow up. It is not just happening in a DataGrid group script. I just opened a main stack script. It has almost 600 lines. Something Odd going on. I am just new to using LiveCode on Windows as I am now working on an application for release on Mac and Windows. However I have edited many of the scripts in this project before and have never seen this. Again if anyone has ideas as to what might be happening or how to trouble shoot that would really be appreciated. Martin > On Oct 22, 2020, at 5:19 PM, Martin Koob wrote: > > Hi all > > Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. > > This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. > > If I click on the ?x? to close the LiveCode project I get the dialog that says. > > LiveCode for Windows is not responding > If you close the program, you might lose information. > ?>Close the Program > ?>Wait for the program to respond. > > Eventually I just select ?Close the program? since the program never responds. > > I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. > > In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. > > Has anyone else experienced this? > > It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? > > > Thanks in advance. > > > Martin Koob > > > From mkoob at rogers.com Thu Oct 22 20:16:07 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 22 Oct 2020 20:16:07 -0400 Subject: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: <4F21567F-A5DA-43C5-BCCE-93DD75206967@rogers.com> References: <4F21567F-A5DA-43C5-BCCE-93DD75206967@rogers.com> Message-ID: <9F9D6CFA-A6C6-43CC-982D-81A24002D517@rogers.com> Hi again, Sorry just re-read my previous email and realized it is not clear. I meant to say that is that I get the same issue where the IDE stops responding when I try to edit the main stack script too. So it is not a strictly DataGrid issue. Martin > On Oct 22, 2020, at 8:05 PM, Martin Koob via use-livecode wrote: > > Hi > > Just to follow up. It is not just happening in a DataGrid group script. I just opened a main stack script. It has almost 600 lines. > > Something Odd going on. I am just new to using LiveCode on Windows as I am now working on an application for release on Mac and Windows. However I have edited many of the scripts in this project before and have never seen this. > > Again if anyone has ideas as to what might be happening or how to trouble shoot that would really be appreciated. > > Martin > >> On Oct 22, 2020, at 5:19 PM, Martin Koob wrote: >> >> Hi all >> >> Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. >> >> This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. >> >> If I click on the ?x? to close the LiveCode project I get the dialog that says. >> >> LiveCode for Windows is not responding >> If you close the program, you might lose information. >> ?>Close the Program >> ?>Wait for the program to respond. >> >> Eventually I just select ?Close the program? since the program never responds. >> >> I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. >> >> In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. >> >> Has anyone else experienced this? >> >> It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? >> >> >> Thanks in advance. >> >> >> Martin Koob >> >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Thu Oct 22 20:30:29 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 22 Oct 2020 20:30:29 -0400 Subject: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: <9F9D6CFA-A6C6-43CC-982D-81A24002D517@rogers.com> References: <4F21567F-A5DA-43C5-BCCE-93DD75206967@rogers.com> <9F9D6CFA-A6C6-43CC-982D-81A24002D517@rogers.com> Message-ID: Another bit of info regarding the length of script where this happens. I have been going through the project browser trying to open small scripts then opening those with more and more lines. I found that a script with 53 lines opens, a script with 62 lines freezes. anyway. Down with this for tonight. Hope someone has some ideas as to what might be going on and how to solve it. Martin > On Oct 22, 2020, at 8:16 PM, Martin Koob via use-livecode wrote: > > Hi again, > > Sorry just re-read my previous email and realized it is not clear. > > I meant to say that is that I get the same issue where the IDE stops responding when I try to edit the main stack script too. So it is not a strictly DataGrid issue. > > Martin > >> On Oct 22, 2020, at 8:05 PM, Martin Koob via use-livecode wrote: >> >> Hi >> >> Just to follow up. It is not just happening in a DataGrid group script. I just opened a main stack script. It has almost 600 lines. >> >> Something Odd going on. I am just new to using LiveCode on Windows as I am now working on an application for release on Mac and Windows. However I have edited many of the scripts in this project before and have never seen this. >> >> Again if anyone has ideas as to what might be happening or how to trouble shoot that would really be appreciated. >> >> Martin >> >>> On Oct 22, 2020, at 5:19 PM, Martin Koob wrote: >>> >>> Hi all >>> >>> Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. >>> >>> This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. >>> >>> If I click on the ?x? to close the LiveCode project I get the dialog that says. >>> >>> LiveCode for Windows is not responding >>> If you close the program, you might lose information. >>> ?>Close the Program >>> ?>Wait for the program to respond. >>> >>> Eventually I just select ?Close the program? since the program never responds. >>> >>> I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. >>> >>> In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. >>> >>> Has anyone else experienced this? >>> >>> It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? >>> >>> >>> Thanks in advance. >>> >>> >>> Martin Koob >>> >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Oct 23 00:48:25 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 23 Oct 2020 05:48:25 +0100 Subject: POST to https in LC5.0.2 - Error socket closed Message-ID: Hi all, I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 stack. It worked ok in v9 but v5 throws back an error of 'error socket closed'. This is my only workaround for accessing MySQL using SSL via a 'post' command through PHP, as suggested by Mark Waddingham and others. Now I am at a total loss! From what I can see in the forums, LC locked out 'post to https' to only Enterprise users. Arrrghhh! I don't know what else I can do. Curl is not an option as this will be running as an app on clients Windows machines. But even put url("https:// returns error socket closed so that rules out setting up a server app too. Nothing works! I'm Delirious! HELP! Sean Cole *Pi Digital * From prothero at earthlearningsolutions.org Fri Oct 23 01:13:07 2020 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Thu, 22 Oct 2020 22:13:07 -0700 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: References: Message-ID: Sean, I wonder if you used http without ssl, but did 256 bit encryption and decryption at source and in the php connecting to mysql. I posted a link to a sample stack using this method awhile back. It?s pretty simple. I am traveling and not at my computer, but if you searched the emails for the last few weeks on ?earthlearningsolutions?, you would find it. Good luck, Bill William Prothero http://es.earthednet.org > On Oct 22, 2020, at 9:49 PM, Sean Cole (Pi) via use-livecode wrote: > > ?Hi all, > > I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 > stack. It worked ok in v9 but v5 throws back an error of 'error socket > closed'. > > This is my only workaround for accessing MySQL using SSL via a 'post' > command through PHP, as suggested by Mark Waddingham and others. > > Now I am at a total loss! From what I can see in the forums, LC locked out > 'post to https' to only Enterprise users. Arrrghhh! > > I don't know what else I can do. Curl is not an option as this will be > running as an app on clients Windows machines. But even put url("https:// > returns error socket closed so that rules out setting up a server app too. > Nothing works! > > I'm Delirious! HELP! > > Sean Cole > *Pi Digital * > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Oct 23 01:33:13 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 23 Oct 2020 06:33:13 +0100 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: References: Message-ID: <85A22428-B99E-4687-9406-58F27E32488F@pidigital.co.uk> Hi bill Even a call to https://google.com returns the same error. It?s https it does not like. As mentioned, in LC9 it works perfectly. LC5.0.2 won?t let me access https because LC locked out that for enterprise users only. So basically, I screwed! Again! Sean Cole Pi Digital > On 23 Oct 2020, at 06:14, ELS Prothero via use-livecode wrote: > > ?Sean, > I wonder if you used http without ssl, but did 256 bit encryption and decryption at source and in the php connecting to mysql. I posted a link to a sample stack using this method awhile back. It?s pretty simple. I am traveling and not at my computer, but if you searched the emails for the last few weeks on ?earthlearningsolutions?, you would find it. > > Good luck, > Bill > > William Prothero > http://es.earthednet.org > >> On Oct 22, 2020, at 9:49 PM, Sean Cole (Pi) via use-livecode wrote: >> >> ?Hi all, >> >> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 >> stack. It worked ok in v9 but v5 throws back an error of 'error socket >> closed'. >> >> This is my only workaround for accessing MySQL using SSL via a 'post' >> command through PHP, as suggested by Mark Waddingham and others. >> >> Now I am at a total loss! From what I can see in the forums, LC locked out >> 'post to https' to only Enterprise users. Arrrghhh! >> >> I don't know what else I can do. Curl is not an option as this will be >> running as an app on clients Windows machines. But even put url("https:// >> returns error socket closed so that rules out setting up a server app too. >> Nothing works! >> >> I'm Delirious! HELP! >> >> Sean Cole >> *Pi Digital * >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Fri Oct 23 01:53:08 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 22 Oct 2020 22:53:08 -0700 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: References: Message-ID: <54e28fb6-612d-5647-5d53-bc88c8a1395b@sonic.net> On 10/22/20 9:48 PM, Sean Cole (Pi) via use-livecode wrote: > I don't know what else I can do. Curl is not an option as this will be > running as an app on clients Windows machines. But even put url("https:// > returns error socket closed so that rules out setting up a server app too. > Nothing works! > > I'm Delirious! HELP! have you tried libUrlSetSSLVerification false -- Mark Wieder ahsoftware at gmail.com From phil at pdslabs.net Fri Oct 23 02:43:57 2020 From: phil at pdslabs.net (Phil Davis) Date: Thu, 22 Oct 2020 23:43:57 -0700 Subject: DG outcomes on desktop vs mobile Message-ID: I'm building an iPad app that reads a bunch of files into an array and then sets the dgData of a form DG to that array. The array is well-formed for DG use. After setting the dgData of the DG, the result is empty. Only one problem: the DG now contains no data. (I also tried setting the dgText of the DG to a flat version of the same data and got the same outcome.) I can then create another array from custom property data and set the dgData of the same form DG to that array and it works. On the desktop, however, the same DG loading process never fails. The data being loaded is all text - nothing esoteric. Does anyone have any ideas how I can find & fix the problem(s)? Or have you run into this before? Thank you - Phil Davis -- Phil Davis 503-307-4363 From jeejeestudio at gmail.com Fri Oct 23 04:03:43 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 23 Oct 2020 10:03:43 +0200 Subject: DG outcomes on desktop vs mobile In-Reply-To: References: Message-ID: What do you see when you answer the data you set the dgdata to? Does it show the values? Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode < use-livecode at lists.runrev.com>: > I'm building an iPad app that reads a bunch of files into an array and > then sets the dgData of a form DG to that array. The array is > well-formed for DG use. After setting the dgData of the DG, the result > is empty. Only one problem: the DG now contains no data. (I also tried > setting the dgText of the DG to a flat version of the same data and got > the same outcome.) > > I can then create another array from custom property data and set the > dgData of the same form DG to that array and it works. > > On the desktop, however, the same DG loading process never fails. > > The data being loaded is all text - nothing esoteric. > > Does anyone have any ideas how I can find & fix the problem(s)? Or have > you run into this before? > > Thank you - > Phil Davis > > -- > Phil Davis > 503-307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Fri Oct 23 04:14:41 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 23 Oct 2020 09:14:41 +0100 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: <54e28fb6-612d-5647-5d53-bc88c8a1395b@sonic.net> References: <54e28fb6-612d-5647-5d53-bc88c8a1395b@sonic.net> Message-ID: It?s not listed in LC5.0.2 dictionary so I arseumed it wasn?t implemented in that version. But I tried it. It made no difference at all. Either set to true or false. Even the call to put url https://google.com came back with error socket closed. Http works. Https does not. It is locked out to all except Enterprise license holders for LC5.x Sean Cole Pi Digital > On 23 Oct 2020, at 06:53, Mark Wieder via use-livecode wrote: > > ?On 10/22/20 9:48 PM, Sean Cole (Pi) via use-livecode wrote: > >> I don't know what else I can do. Curl is not an option as this will be >> running as an app on clients Windows machines. But even put url("https:// >> returns error socket closed so that rules out setting up a server app too. >> Nothing works! >> I'm Delirious! HELP! > > have you tried > > libUrlSetSSLVerification false > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri Oct 23 04:28:57 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 23 Oct 2020 09:28:57 +0100 Subject: Livecode Podcast Player In-Reply-To: References: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> Message-ID: <88c26575-be13-4ea1-9336-a8afc51d27d0@Spark> I guess not - could not find anything in the forums or email thread. On 21 Oct 2020, 20:17 +0100, JeeJeeStudio via use-livecode , wrote: > You've just hijacked someone's thread...you said something last time. It's > now a totally different subject. That?s fine :) It?s kind of related to the general subject of community contribution. My understanding is that the general approach to that has not helped produce an organised collection of material - whether this is the documentation, or the library of Livecode components. There is the usual tension between centralised quality control and wiki like easy open community contribution. I agree with Sean that we can all contribute to this, but a little improvement in the architecture that supports such collaboration would also help I believe. It is harder than I think necessary to find stacks and code related to for instance podcasts and RSS feeds. I?m pretty sure that this has been worked on multiple times over the last 10 years, but the combination of forum, email, and resource library does not do justice to what we could achieve. Maybe I?m wrong - and no one has produced a podcast player in Livecode? My understanding is that an easy to contribute set of tools that made it easier to share stacks and code would help here. As I see it the attempts that have been made historically have been somewhat too ?closed? for there to the right sort of community contribution. I can mainly speak for my personal experience, but if I produce this podcast player, and various libraries for it - then historically I haven't really see a good way to share that. When I come across errors or improvements I want to make to the dictionary I don?t really see how, or have quite enough faith that my contributions will valued - so I make a note to ?do that later? and well - don?t. There is a form of federated architecture for user contributions that looks promising that can help. Essentially the trick is to combine both that ability of people to make their own personal notes / changes and contributions by forking existing material, while also making it very easy to combine these contributions into an editorial synopsis. That way each Livecode author wold have a tool for their own personal productivity use, and the overall community gets the value of the shared content production. Right now the balance between my personal space and the sharing is in an unhealthy state of mediation. From jeejeestudio at gmail.com Fri Oct 23 04:37:45 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 23 Oct 2020 10:37:45 +0200 Subject: Livecode Podcast Player In-Reply-To: <88c26575-be13-4ea1-9336-a8afc51d27d0@Spark> References: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> <88c26575-be13-4ea1-9336-a8afc51d27d0@Spark> Message-ID: So in fact it needs to retrieve a list of podcast streams, user can pick a stream, and then it has to play like an mp3 player. Can be done with either the browser or audio player right? Op vr 23 okt. 2020 10:29 schreef David Bovill via use-livecode < use-livecode at lists.runrev.com>: > I guess not - could not find anything in the forums or email thread. > On 21 Oct 2020, 20:17 +0100, JeeJeeStudio via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > You've just hijacked someone's thread...you said something last time. > It's > > now a totally different subject. > > That?s fine :) It?s kind of related to the general subject of community > contribution. My understanding is that the general approach to that has not > helped produce an organised collection of material - whether this is the > documentation, or the library of Livecode components. There is the usual > tension between centralised quality control and wiki like easy open > community contribution. > > I agree with Sean that we can all contribute to this, but a little > improvement in the architecture that supports such collaboration would also > help I believe. It is harder than I think necessary to find stacks and code > related to for instance podcasts and RSS feeds. I?m pretty sure that this > has been worked on multiple times over the last 10 years, but the > combination of forum, email, and resource library does not do justice to > what we could achieve. > > Maybe I?m wrong - and no one has produced a podcast player in Livecode? My > understanding is that an easy to contribute set of tools that made it > easier to share stacks and code would help here. As I see it the attempts > that have been made historically have been somewhat too ?closed? for there > to the right sort of community contribution. > > I can mainly speak for my personal experience, but if I produce this > podcast player, and various libraries for it - then historically I haven't > really see a good way to share that. When I come across errors or > improvements I want to make to the dictionary I don?t really see how, or > have quite enough faith that my contributions will valued - so I make a > note to ?do that later? and well - don?t. > > There is a form of federated architecture for user contributions that > looks promising that can help. Essentially the trick is to combine both > that ability of people to make their own personal notes / changes and > contributions by forking existing material, while also making it very easy > to combine these contributions into an editorial synopsis. That way each > Livecode author wold have a tool for their own personal productivity use, > and the overall community gets the value of the shared content production. > Right now the balance between my personal space and the sharing is in an > unhealthy state of mediation. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Fri Oct 23 04:54:35 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 23 Oct 2020 10:54:35 +0200 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: References: Message-ID: You are writing that curl is not an option, because the app shall run under Windows, but there are also Curl builds for Windows available. https://curl.haxx.se/windows/ Regards - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.10.2020 um 06:48 schrieb Sean Cole (Pi) via use-livecode : > > Hi all, > > I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 > stack. It worked ok in v9 but v5 throws back an error of 'error socket > closed'. > > This is my only workaround for accessing MySQL using SSL via a 'post' > command through PHP, as suggested by Mark Waddingham and others. > > Now I am at a total loss! From what I can see in the forums, LC locked out > 'post to https' to only Enterprise users. Arrrghhh! > > I don't know what else I can do. Curl is not an option as this will be > running as an app on clients Windows machines. But even put url("https:// > returns error socket closed so that rules out setting up a server app too. > Nothing works! > > I'm Delirious! HELP! > > Sean Cole > *Pi Digital * > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Oct 23 04:56:38 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 23 Oct 2020 09:56:38 +0100 Subject: Livecode Podcast Player In-Reply-To: References: Message-ID: I made a conscious effort to reply to the OP thread by Tom by somehow got attributed to David?s. So I?m guessing either there is a problem with the LC use list server or (more likely) iPhones dumb mail app. It was meant to be following on from Tom?s original thread. But even added to the podcast subject divergence that was still in relation to the OP. The hijacking I spoke of was a complete subject change. I arseume that, that her than start a new mail, some people use the reply button as an easy way to start a new topic then think that changing the subject line will start a new thread instead of continuing in from the previous one. It happens a lot it seams looking back through the archives. I?m sorry if it seemed I had hijacked this hijacked thread buck to the OP ;) Sean Cole Pi Digital > On 21 Oct 2020, at 20:16, JeeJeeStudio via use-livecode wrote: > > ?You've just hijacked someone's thread...you said something last time. It's > now a totally different subject. > But nevertheless I total agree with what you just said. > > Op wo 21 okt. 2020 17:46 schreef Pi Digital via use-livecode < > use-livecode at lists.runrev.com>: > >> I?m going to chime in, not to discredit anyone else or their comments, >> only to voice a reason I personally feel is far more needed and worthwhile. >> >> Before any of what has been suggested being carried out, as lovely as it >> all would be, getting the dictionary and the guide usable and >> accurate/up-to-date would be of greater importance. Especially for the >> modern and recent modifications. But even simple stuff that has been >> altered in tiny ways has not been touched in the guide for an age. >> >> My point is, there is no point in introducing and inviting new users to a >> product that becomes difficult to use because documentation is out of date >> and not matching in appearance or fiction to what is described. Sure a >> community can advise those ones of workarounds and correct usage. But >> that?s just pathetic and should be unnecessary. And you all know my >> opinions on workarounds. >> >> My ethos, fix what we have, don?t introduce more problems. >> >> Sean Cole >> Pi Digital >> >> >>> On 21 Oct 2020, at 14:31, David Bovill via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> ?Does anyone have a stack that plays audio podcasts? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Oct 23 04:56:50 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 23 Oct 2020 10:56:50 +0200 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: References: Message-ID: <08B42338-E50D-414D-9C91-D1BB30194FF4@m-r-d.de> What i forgot. You can include that version from the url i posted in your standalone using "copy files" in standalone settings, as it has not to be installed. - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.10.2020 um 10:54 schrieb matthias_livecode_150811 at m-r-d.de: > > You are writing that curl is not an option, because the app shall run under Windows, > > but there are also Curl builds for Windows available. > > https://curl.haxx.se/windows/ > > Regards > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 23.10.2020 um 06:48 schrieb Sean Cole (Pi) via use-livecode : >> >> Hi all, >> >> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 >> stack. It worked ok in v9 but v5 throws back an error of 'error socket >> closed'. >> >> This is my only workaround for accessing MySQL using SSL via a 'post' >> command through PHP, as suggested by Mark Waddingham and others. >> >> Now I am at a total loss! From what I can see in the forums, LC locked out >> 'post to https' to only Enterprise users. Arrrghhh! >> >> I don't know what else I can do. Curl is not an option as this will be >> running as an app on clients Windows machines. But even put url("https:// >> returns error socket closed so that rules out setting up a server app too. >> Nothing works! >> >> I'm Delirious! HELP! >> >> Sean Cole >> *Pi Digital * >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Fri Oct 23 05:07:34 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 23 Oct 2020 11:07:34 +0200 Subject: Livecode Podcast Player In-Reply-To: <88c26575-be13-4ea1-9336-a8afc51d27d0@Spark> References: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> <88c26575-be13-4ea1-9336-a8afc51d27d0@Spark> Message-ID: <0A55F8D2-802D-4575-81A7-8CD669F87805@m-r-d.de> - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.10.2020 um 10:28 schrieb David Bovill via use-livecode : > > I can mainly speak for my personal experience, but if I produce this podcast player, and various libraries for it - then historically I haven't really see a good way to share that. When I come across errors or improvements I want to make to the dictionary I don?t really see how, or have quite enough faith that my contributions will valued - so I make a note to ?do that later? and well - don?t. I thought one could also create Widgets and submit them to/publish on the Widget store instead of submitting them to be included in the Livecode Release. The documentation for the dictionary is in the widget itself. So if the widget contains a documentation file the LC dictionary lists that information as soon as the widget is installed. So if you publish to the widget store, then you should be able to publish your corrections and improvements immediately. Or am i wrong? Matthias From sean at pidigital.co.uk Fri Oct 23 05:10:47 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 23 Oct 2020 10:10:47 +0100 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: References: Message-ID: <0A125E51-BF42-435B-9AA0-35C388181888@pidigital.co.uk> Yes. But have you seen how it has to get turned on. I have trouble enough with IT departments not wanting to install our software let alone ask them to go through the hassle of setting curl up on all of their clients desktops. This whole ssl https mySQL security thing came about because an IT Tech did a snoop on our app calling to the sql database. With those kind of security fears do you think it is likely that they will turn on curl? Not a chance! This is why I?m trying to get HTML5 deployment working. But there?s not a chance of LC doing anything about that. Especially now Covid has brought them to their knees. If they can?t get anything beyond the backspace key working and end up wrecking everything else about it in the process so that LC9.6.2 is unusable by me, then I don?t hold out much hope. Back on subject, curl would have to be done through shell requests which adds in a whole other bunch of issues. I really need a solution to get either the revdb security working or basic https messages. Sean Cole Pi Digital > On 23 Oct 2020, at 09:55, matthias rebbe via use-livecode wrote: > > ?You are writing that curl is not an option, because the app shall run under Windows, > > but there are also Curl builds for Windows available. > > https://curl.haxx.se/windows/ > > Regards > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 23.10.2020 um 06:48 schrieb Sean Cole (Pi) via use-livecode : >> >> Hi all, >> >> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 >> stack. It worked ok in v9 but v5 throws back an error of 'error socket >> closed'. >> >> This is my only workaround for accessing MySQL using SSL via a 'post' >> command through PHP, as suggested by Mark Waddingham and others. >> >> Now I am at a total loss! From what I can see in the forums, LC locked out >> 'post to https' to only Enterprise users. Arrrghhh! >> >> I don't know what else I can do. Curl is not an option as this will be >> running as an app on clients Windows machines. But even put url("https:// >> returns error socket closed so that rules out setting up a server app too. >> Nothing works! >> >> I'm Delirious! HELP! >> >> Sean Cole >> *Pi Digital * >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri Oct 23 05:26:29 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 23 Oct 2020 10:26:29 +0100 Subject: Livecode Podcast Player In-Reply-To: <0A55F8D2-802D-4575-81A7-8CD669F87805@m-r-d.de> References: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> <88c26575-be13-4ea1-9336-a8afc51d27d0@Spark> <0A55F8D2-802D-4575-81A7-8CD669F87805@m-r-d.de> Message-ID: On 23 Oct 2020, 10:08 +0100, matthias rebbe via use-livecode , wrote: > I thought one could also create Widgets and submit them to/publish on the Widget store instead of submitting them to be included in the Livecode Release. > The documentation for the dictionary is in the widget itself. So if the widget contains a documentation file the LC dictionary lists that information as soon as the widget is installed. So if you publish to the widget store, then you should be able to publish your corrections and improvements immediately. Or am i wrong? I think that is right yes. I?m trying to put into words why many people don?t do that, or help fix the documentation. I feel that the reasons people don?t do that is understandable and somewhat fixable. From jeejeestudio at gmail.com Fri Oct 23 05:27:05 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 23 Oct 2020 11:27:05 +0200 Subject: Livecode Podcast Player In-Reply-To: References: Message-ID: No worries Sean. I know you're sincere seeing your posts. And i understand what you mean. Op vr 23 okt. 2020 10:57 schreef Pi Digital via use-livecode < use-livecode at lists.runrev.com>: > I made a conscious effort to reply to the OP thread by Tom by somehow got > attributed to David?s. > > So I?m guessing either there is a problem with the LC use list server or > (more likely) iPhones dumb mail app. It was meant to be following on from > Tom?s original thread. > > But even added to the podcast subject divergence that was still in > relation to the OP. > > The hijacking I spoke of was a complete subject change. I arseume that, > that her than start a new mail, some people use the reply button as an easy > way to start a new topic then think that changing the subject line will > start a new thread instead of continuing in from the previous one. It > happens a lot it seams looking back through the archives. > > I?m sorry if it seemed I had hijacked this hijacked thread buck to the OP > ;) > > Sean Cole > Pi Digital > > > > On 21 Oct 2020, at 20:16, JeeJeeStudio via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?You've just hijacked someone's thread...you said something last time. > It's > > now a totally different subject. > > But nevertheless I total agree with what you just said. > > > > Op wo 21 okt. 2020 17:46 schreef Pi Digital via use-livecode < > > use-livecode at lists.runrev.com>: > > > >> I?m going to chime in, not to discredit anyone else or their comments, > >> only to voice a reason I personally feel is far more needed and > worthwhile. > >> > >> Before any of what has been suggested being carried out, as lovely as it > >> all would be, getting the dictionary and the guide usable and > >> accurate/up-to-date would be of greater importance. Especially for the > >> modern and recent modifications. But even simple stuff that has been > >> altered in tiny ways has not been touched in the guide for an age. > >> > >> My point is, there is no point in introducing and inviting new users to > a > >> product that becomes difficult to use because documentation is out of > date > >> and not matching in appearance or fiction to what is described. Sure a > >> community can advise those ones of workarounds and correct usage. But > >> that?s just pathetic and should be unnecessary. And you all know my > >> opinions on workarounds. > >> > >> My ethos, fix what we have, don?t introduce more problems. > >> > >> Sean Cole > >> Pi Digital > >> > >> > >>> On 21 Oct 2020, at 14:31, David Bovill via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> ?Does anyone have a stack that plays audio podcasts? > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david.bovill at gmail.com Fri Oct 23 05:33:19 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 23 Oct 2020 10:33:19 +0100 Subject: Livecode Podcast Player - earbud click? In-Reply-To: References: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> <88c26575-be13-4ea1-9336-a8afc51d27d0@Spark> Message-ID: <1c893fe9-336f-4445-a9db-bb4df5a109ea@Spark> Yes. I have some old code - seems to still work fetching and parsing RSS steams. I?m looking into the best way. To make the player now - browser or player widget? An interesting experiment this morning with earbuds - if I play an mp3 or a video in the player object and listen to the sound through the earbuds - pressing / clicking the earbuds has no effect on the playback. Using the machinery of the browser widget pauses and restarts the playback reliably. I want. This feature so I may well choose the browser widget unless I can figure out a message that is sent to the. Stack that I can trap? The issue is that I want to know the ?currenttime? when the video is paused - this and other features would be easier using the player control. I guess I can use javascript if needed? On 23 Oct 2020, 09:38 +0100, JeeJeeStudio via use-livecode , wrote: > So in fact it needs to retrieve a list of podcast streams, user can pick a > stream, and then it has to play like an mp3 player. Can be done with either > the browser or audio player right? > > Op vr 23 okt. 2020 10:29 schreef David Bovill via use-livecode < > use-livecode at lists.runrev.com>: > > > I guess not - could not find anything in the forums or email thread. > > On 21 Oct 2020, 20:17 +0100, JeeJeeStudio via use-livecode < > > use-livecode at lists.runrev.com>, wrote: > > > You've just hijacked someone's thread...you said something last time. > > It's > > > now a totally different subject. > > > > That?s fine :) It?s kind of related to the general subject of community > > contribution. My understanding is that the general approach to that has not > > helped produce an organised collection of material - whether this is the > > documentation, or the library of Livecode components. There is the usual > > tension between centralised quality control and wiki like easy open > > community contribution. > > > > I agree with Sean that we can all contribute to this, but a little > > improvement in the architecture that supports such collaboration would also > > help I believe. It is harder than I think necessary to find stacks and code > > related to for instance podcasts and RSS feeds. I?m pretty sure that this > > has been worked on multiple times over the last 10 years, but the > > combination of forum, email, and resource library does not do justice to > > what we could achieve. > > > > Maybe I?m wrong - and no one has produced a podcast player in Livecode? My > > understanding is that an easy to contribute set of tools that made it > > easier to share stacks and code would help here. As I see it the attempts > > that have been made historically have been somewhat too ?closed? for there > > to the right sort of community contribution. > > > > I can mainly speak for my personal experience, but if I produce this > > podcast player, and various libraries for it - then historically I haven't > > really see a good way to share that. When I come across errors or > > improvements I want to make to the dictionary I don?t really see how, or > > have quite enough faith that my contributions will valued - so I make a > > note to ?do that later? and well - don?t. > > > > There is a form of federated architecture for user contributions that > > looks promising that can help. Essentially the trick is to combine both > > that ability of people to make their own personal notes / changes and > > contributions by forking existing material, while also making it very easy > > to combine these contributions into an editorial synopsis. That way each > > Livecode author wold have a tool for their own personal productivity use, > > and the overall community gets the value of the shared content production. > > Right now the balance between my personal space and the sharing is in an > > unhealthy state of mediation. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Oct 23 05:47:29 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 23 Oct 2020 10:47:29 +0100 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: References: Message-ID: Hi Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can get this ssl https revdb behind me so our clients don?t all go running before we upgrade the code to v9.x. I?m truly at a loss. Sean Cole Pi Digital > On 23 Oct 2020, at 05:48, Sean Cole (Pi) wrote: > > ? > Hi all, > > I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 stack. It worked ok in v9 but v5 throws back an error of 'error socket closed'. > > This is my only workaround for accessing MySQL using SSL via a 'post' command through PHP, as suggested by Mark Waddingham and others. > > Now I am at a total loss! From what I can see in the forums, LC locked out 'post to https' to only Enterprise users. Arrrghhh! > > I don't know what else I can do. Curl is not an option as this will be running as an app on clients Windows machines. But even put url("https:// returns error socket closed so that rules out setting up a server app too. Nothing works! > > I'm Delirious! HELP! > > Sean Cole > Pi Digital From bdrunrev at gmail.com Fri Oct 23 05:58:53 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 23 Oct 2020 10:58:53 +0100 Subject: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: References: <4F21567F-A5DA-43C5-BCCE-93DD75206967@rogers.com> <9F9D6CFA-A6C6-43CC-982D-81A24002D517@rogers.com> Message-ID: Hi Martin In the Script Editor try unchecking the various entries under Edit/Options e.g. variable checking, live errors, etc. I've recently moved to using LC on OS X and was surprised how snappy the editor was i.e. I didn't need to switch off most of those things as I did on Windows 10. I don't have any advice about Proj Browser, as I almost never used it. Regards, Bernard On Fri, Oct 23, 2020 at 1:31 AM Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > Another bit of info regarding the length of script where this happens. > > I have been going through the project browser trying to open small scripts > then opening those with more and more lines. I found that a script with > 53 lines opens, a script with 62 lines freezes. > > anyway. Down with this for tonight. Hope someone has some ideas as to > what might be going on and how to solve it. > > Martin > > From marksmithhfx at gmail.com Fri Oct 23 05:59:30 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 23 Oct 2020 10:59:30 +0100 Subject: Can't edit scripts in DataGrid group in Windows 10 In-Reply-To: References: Message-ID: <401052BD-2824-421E-9010-79F567A51F1E@gmail.com> I put code in the dg script. It works fine. But to be clear, I only have 8 lines in my script so I?ve never tested the limits. mark > On Oct 22, 2020, at 10:19 PM, Martin Koob via use-livecode wrote: > > Hi all > > Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. > > This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. > > If I click on the ?x? to close the LiveCode project I get the dialog that says. > > LiveCode for Windows is not responding > If you close the program, you might lose information. > ?>Close the Program > ?>Wait for the program to respond. > > Eventually I just select ?Close the program? since the program never responds. > > I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. > > In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. > > Has anyone else experienced this? > > It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? > > > Thanks in advance. > > > Martin Koob > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Fri Oct 23 06:26:28 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 23 Oct 2020 12:26:28 +0200 Subject: Livecode Podcast Player - earbud click? In-Reply-To: <1c893fe9-336f-4445-a9db-bb4df5a109ea@Spark> References: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> <88c26575-be13-4ea1-9336-a8afc51d27d0@Spark> <1c893fe9-336f-4445-a9db-bb4df5a109ea@Spark> Message-ID: From other threads and maybe on the forum similar is done for video of which the dev also wanted to catch likewise information when played in the browser. So maybe if you search the list you might find some javascript which could help with that. Op 23-10-2020 om 11:33 schreef David Bovill via use-livecode: > Yes. I have some old code - seems to still work fetching and parsing RSS steams. I?m looking into the best way. To make the player now - browser or player widget? > > An interesting experiment this morning with earbuds - if I play an mp3 or a video in the player object and listen to the sound through the earbuds - pressing / clicking the earbuds has no effect on the playback. Using the machinery of the browser widget pauses and restarts the playback reliably. I want. This feature so I may well choose the browser widget unless I can figure out a message that is sent to the. Stack that I can trap? > > The issue is that I want to know the ?currenttime? when the video is paused - this and other features would be easier using the player control. I guess I can use javascript if needed? > On 23 Oct 2020, 09:38 +0100, JeeJeeStudio via use-livecode , wrote: >> So in fact it needs to retrieve a list of podcast streams, user can pick a >> stream, and then it has to play like an mp3 player. Can be done with either >> the browser or audio player right? >> >> Op vr 23 okt. 2020 10:29 schreef David Bovill via use-livecode < >> use-livecode at lists.runrev.com>: >> >>> I guess not - could not find anything in the forums or email thread. >>> On 21 Oct 2020, 20:17 +0100, JeeJeeStudio via use-livecode < >>> use-livecode at lists.runrev.com>, wrote: >>>> You've just hijacked someone's thread...you said something last time. >>> It's >>>> now a totally different subject. >>> That?s fine :) It?s kind of related to the general subject of community >>> contribution. My understanding is that the general approach to that has not >>> helped produce an organised collection of material - whether this is the >>> documentation, or the library of Livecode components. There is the usual >>> tension between centralised quality control and wiki like easy open >>> community contribution. >>> >>> I agree with Sean that we can all contribute to this, but a little >>> improvement in the architecture that supports such collaboration would also >>> help I believe. It is harder than I think necessary to find stacks and code >>> related to for instance podcasts and RSS feeds. I?m pretty sure that this >>> has been worked on multiple times over the last 10 years, but the >>> combination of forum, email, and resource library does not do justice to >>> what we could achieve. >>> >>> Maybe I?m wrong - and no one has produced a podcast player in Livecode? My >>> understanding is that an easy to contribute set of tools that made it >>> easier to share stacks and code would help here. As I see it the attempts >>> that have been made historically have been somewhat too ?closed? for there >>> to the right sort of community contribution. >>> >>> I can mainly speak for my personal experience, but if I produce this >>> podcast player, and various libraries for it - then historically I haven't >>> really see a good way to share that. When I come across errors or >>> improvements I want to make to the dictionary I don?t really see how, or >>> have quite enough faith that my contributions will valued - so I make a >>> note to ?do that later? and well - don?t. >>> >>> There is a form of federated architecture for user contributions that >>> looks promising that can help. Essentially the trick is to combine both >>> that ability of people to make their own personal notes / changes and >>> contributions by forking existing material, while also making it very easy >>> to combine these contributions into an editorial synopsis. That way each >>> Livecode author wold have a tool for their own personal productivity use, >>> and the overall community gets the value of the shared content production. >>> Right now the balance between my personal space and the sharing is in an >>> unhealthy state of mediation. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Oct 23 06:27:41 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 23 Oct 2020 12:27:41 +0200 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: References: Message-ID: <48D74E8C-DE8F-4FCA-9FCA-816969BF757A@m-r-d.de> Do you have a current commercial license? If so, maybe Support is willing to give you a license for the old 5.x. Regards, Matthias > Am 23.10.2020 um 11:47 schrieb Pi Digital via use-livecode : > > Hi > > Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can get this ssl https revdb behind me so our clients don?t all go running before we upgrade the code to v9.x. I?m truly at a loss. > > Sean Cole > Pi Digital > > >> On 23 Oct 2020, at 05:48, Sean Cole (Pi) wrote: >> >> ? >> Hi all, >> >> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 stack. It worked ok in v9 but v5 throws back an error of 'error socket closed'. >> >> This is my only workaround for accessing MySQL using SSL via a 'post' command through PHP, as suggested by Mark Waddingham and others. >> >> Now I am at a total loss! From what I can see in the forums, LC locked out 'post to https' to only Enterprise users. Arrrghhh! >> >> I don't know what else I can do. Curl is not an option as this will be running as an app on clients Windows machines. But even put url("https:// returns error socket closed so that rules out setting up a server app too. Nothing works! >> >> I'm Delirious! HELP! >> >> Sean Cole >> Pi Digital > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode - Matthias Rebbe Life Is Too Short For Boring Code From david.bovill at gmail.com Fri Oct 23 07:31:13 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 23 Oct 2020 12:31:13 +0100 Subject: Livecode Podcast Player - earbud click? In-Reply-To: References: <5d162c5d-2e98-4e44-9c5c-6e4daa0d0513@Spark> <88c26575-be13-4ea1-9336-a8afc51d27d0@Spark> <1c893fe9-336f-4445-a9db-bb4df5a109ea@Spark> Message-ID: Checking the interaction between earbud clicks (trying two different types of earbud) and Livecode - no "appleEvent" message is sent to Livecode. I wonder how this interaction works across different apps? Trying on desktop at the moment. So seems like the browser widget is the only way to go. Will test on mobile. Anyone have an idea how events are sent to apps from earbuds? On 23 Oct 2020, 11:27 +0100, JeeJeeStudio via use-livecode , wrote: > From other threads and maybe on the forum similar is done for video of > which the dev also wanted to catch likewise information when played in > the browser. > > So maybe if you search the list you might find some javascript which > could help with that. From matthias_livecode_150811 at m-r-d.de Fri Oct 23 08:09:35 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 23 Oct 2020 14:09:35 +0200 Subject: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: References: <4F21567F-A5DA-43C5-BCCE-93DD75206967@rogers.com> <9F9D6CFA-A6C6-43CC-982D-81A24002D517@rogers.com> Message-ID: Martin, i am not sure if the freezes are also caused by this, but what Antivirus Software are you using. A 3rd party or Microsoft Defender? If the latter then please try to exclude the Livecode program folder and its support folders (like preferences) from realtime scanning in MS Defender. There were some reports from users that Microsoft Defender slowed down Livecode, especially when using the Script Editor. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.10.2020 um 02:30 schrieb Martin Koob via use-livecode : > > Another bit of info regarding the length of script where this happens. > > I have been going through the project browser trying to open small scripts then opening those with more and more lines. I found that a script with 53 lines opens, a script with 62 lines freezes. > > anyway. Down with this for tonight. Hope someone has some ideas as to what might be going on and how to solve it. > > Martin > > >> On Oct 22, 2020, at 8:16 PM, Martin Koob via use-livecode wrote: >> >> Hi again, >> >> Sorry just re-read my previous email and realized it is not clear. >> >> I meant to say that is that I get the same issue where the IDE stops responding when I try to edit the main stack script too. So it is not a strictly DataGrid issue. >> >> Martin >> >>> On Oct 22, 2020, at 8:05 PM, Martin Koob via use-livecode wrote: >>> >>> Hi >>> >>> Just to follow up. It is not just happening in a DataGrid group script. I just opened a main stack script. It has almost 600 lines. >>> >>> Something Odd going on. I am just new to using LiveCode on Windows as I am now working on an application for release on Mac and Windows. However I have edited many of the scripts in this project before and have never seen this. >>> >>> Again if anyone has ideas as to what might be happening or how to trouble shoot that would really be appreciated. >>> >>> Martin >>> >>>> On Oct 22, 2020, at 5:19 PM, Martin Koob wrote: >>>> >>>> Hi all >>>> >>>> Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. >>>> >>>> This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. >>>> >>>> If I click on the ?x? to close the LiveCode project I get the dialog that says. >>>> >>>> LiveCode for Windows is not responding >>>> If you close the program, you might lose information. >>>> ?>Close the Program >>>> ?>Wait for the program to respond. >>>> >>>> Eventually I just select ?Close the program? since the program never responds. >>>> >>>> I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. >>>> >>>> In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. >>>> >>>> Has anyone else experienced this? >>>> >>>> It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? >>>> >>>> >>>> Thanks in advance. >>>> >>>> >>>> Martin Koob >>>> >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at midwestcoastmedia.com Fri Oct 23 08:19:21 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Fri, 23 Oct 2020 08:19:21 -0400 Subject: DG outcomes on desktop vs mobile In-Reply-To: References: Message-ID: <89D98522-20E6-46E5-8EE2-C558942D23AE@midwestcoastmedia.com> This happened to me, twice, in a project I just launched. I was in crunch so didn?t have time to properly document but something happened where the DG wasn?t loading. I could take the same dgData or dgText and load it to another DG fine. Being on mobile made this harder to debug because even with Remote Debugger I would still have to compile and launch to the simulator each time I tried a tweak. Because I was up against a deadline and since I wasted several hours trying to troubleshoot I just replaced the DG with a brand new: everything worked. Didn?t even bother to troubleshoot the 2nd time it happened, just immediately made a new DG and moved on. Not a definitive answer to your question but an acknowledgement of your problem. ?Andrew Bell > I'm building an iPad app that reads a bunch of files into an array and > then sets the dgData of a form DG to that array. The array is > well-formed for DG use. After setting the dgData of the DG, the result > is empty. Only one problem: the DG now contains no data. (I also tried > setting the dgText of the DG to a flat version of the same data and got > the same outcome.) > > I can then create another array from custom property data and set the > dgData of the same form DG to that array and it works. > > On the desktop, however, the same DG loading process never fails. > > The data being loaded is all text - nothing esoteric. > > Does anyone have any ideas how I can find & fix the problem(s)? Or have > you run into this before? > > Thank you - > Phil Davis From rdimola at evergreeninfo.net Fri Oct 23 08:33:31 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 23 Oct 2020 08:33:31 -0400 Subject: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: <55E37FE9-5154-4B84-B322-8AE261A4FB01@rogers.com> References: <000001d6a8cb$97589240$c609b6c0$@net> <55E37FE9-5154-4B84-B322-8AE261A4FB01@rogers.com> Message-ID: <000601d6a938$baad9890$3008c9b0$@net> It was a hardcoded breakpoint in this form. If x<0 then breakpoint I wonder if inadvertently triggered "red dot" breakpoints when exiting can cause the same hang? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Martin Koob via use-livecode Sent: Thursday, October 22, 2020 7:53 PM To: How to use LiveCode Cc: Martin Koob Subject: Re: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10) Hi Ralph I generally experience IDE hang when exiting in all versions of LC 9.x i have used so far (using a Mac however). I haven?t had time to delve into figuring out a recipe I could report as a bug. I just force quit and relaunched LiveCode. That is just part of my work flow now. Sometimes it does quit with no hang. Some things I have tried is closing the script editor, or close and remove from memory before quitting. I still don?t get consistent results from this though. It happens with various stacks I work on from simple to complex. I thought it may be an extension I have installed that ties up the IDE during the quitting process. I plan one day to remove all extensions to a bare minimum and see if it still happens. Interesting idea about the breakpoint. Is it a ?red dot? soft breakpoint or hard coded ?breakpoint? in a line of the script? The behaviour of the soft breakpoints I have found inconsistent. Sometimes they don?t trigger unless I have the script open for at least the first breakpoint I want to trigger. Again I have never really tried to get to the cause, just did workarounds. I probably have way to many breakpoints left sitting around. Maybe I should just delete all breakpoints and start fresh. Thanks for the idea. Maybe that will solve the other problem I am having with the DataGrid. Martin > On Oct 22, 2020, at 7:32 PM, Ralph DiMola via use-livecode wrote: > > Martin, > > I don?t have an answer for that but this post perked my interest in a hang I was getting. I just found out why the IDE hangs in an apparently tight loop when it's closing. This happened only on one card of the stack. It had a closeCard handler in the behavior. A "breakpoint" statement triggered. It was from early debugging and does not get triggered anymore. It only triggers if all is not well. There is reference to a property in the main stack. Could that stack already be closed and the property returns as empty? Because that would trigger the breakpoint. > > Is this a bug or user error? > > Win 10 > LC 9.6.1 > > Thanks for pushing me(more like a poke) to finally solve this annoyance. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Martin Koob via use-livecode > Sent: Thursday, October 22, 2020 5:19 PM > To: use-livecode list > Cc: Martin Koob > Subject: Can't edit scripts in DataGrid group in Windows 10 > > Hi all > > Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. > > This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. > > If I click on the ?x? to close the LiveCode project I get the dialog that says. > > LiveCode for Windows is not responding > If you close the program, you might lose information. > ?>Close the Program > ?>Wait for the program to respond. > > Eventually I just select ?Close the program? since the program never responds. > > I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. > > In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. > > Has anyone else experienced this? > > It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? > > > Thanks in advance. > > > Martin Koob > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Oct 23 09:31:04 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 23 Oct 2020 14:31:04 +0100 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: <48D74E8C-DE8F-4FCA-9FCA-816969BF757A@m-r-d.de> References: <48D74E8C-DE8F-4FCA-9FCA-816969BF757A@m-r-d.de> Message-ID: <68CE323C-B06C-47F6-87F9-09AD65C95A36@pidigital.co.uk> Hi Heather Had you managed to find anything? I imagine it?s quite a task going back so far for a key generator. All the best Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 23 Oct 2020, at 11:27, matthias rebbe via use-livecode wrote: > > ?Do you have a current commercial license? If so, maybe Support is willing to give you a license for the old 5.x. > > Regards, > Matthias > > >> Am 23.10.2020 um 11:47 schrieb Pi Digital via use-livecode : >> >> Hi >> >> Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can get this ssl https revdb behind me so our clients don?t all go running before we upgrade the code to v9.x. I?m truly at a loss. >> >> Sean Cole >> Pi Digital >> >> >>>> On 23 Oct 2020, at 05:48, Sean Cole (Pi) wrote: >>> >>> ? >>> Hi all, >>> >>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 stack. It worked ok in v9 but v5 throws back an error of 'error socket closed'. >>> >>> This is my only workaround for accessing MySQL using SSL via a 'post' command through PHP, as suggested by Mark Waddingham and others. >>> >>> Now I am at a total loss! From what I can see in the forums, LC locked out 'post to https' to only Enterprise users. Arrrghhh! >>> >>> I don't know what else I can do. Curl is not an option as this will be running as an app on clients Windows machines. But even put url("https:// returns error socket closed so that rules out setting up a server app too. Nothing works! >>> >>> I'm Delirious! HELP! >>> >>> Sean Cole >>> Pi Digital >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Fri Oct 23 09:44:59 2020 From: mkoob at rogers.com (Martin Koob) Date: Fri, 23 Oct 2020 09:44:59 -0400 Subject: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: References: <4F21567F-A5DA-43C5-BCCE-93DD75206967@rogers.com> <9F9D6CFA-A6C6-43CC-982D-81A24002D517@rogers.com> Message-ID: Hi everyone. Thanks for all the suggestions. I tried them all but no joy. I figured out what caused it. I am using Monte?s lcVCS plugin to keep the project in bitbucket and I was trying to work on it on the Mac and Windows by making changes on the Mac and then updating the stacks by exporting to lcVCS, committing and pushing the changes to bitBucket and then on the Windows Machine fetching the changes and pulling them to the repo on my Windows machine and then use lcVCS to create stacks from files. I recently finished a branch and was merging it back into my version branch on the Mac. When I tried to fetch the changes on Windows there were lots of conflicts. I don?t really understand git process really well for merging etc so I kind of hacked away at it till I got the two repos back in sync with the origin so in the process I must have ended up corrupting some of the scripts in the stack so they would not load. The stack would open and run properly which was odd? So to fix it just zipped up the version on my Mac, Copied it over to the PC and opened it there and it worked. So now I am back in business. Thanks for for your time in responding. Your responses got me to look at the problem from a few different angles till I could see the light through the cracks. Martin. > On Oct 23, 2020, at 8:09 AM, matthias rebbe via use-livecode wrote: > > Martin, > i am not sure if the freezes are also caused by this, but what Antivirus Software are you using. A 3rd party or Microsoft Defender? > If the latter then please try to exclude the Livecode program folder and its support folders (like preferences) from realtime scanning in MS Defender. > > There were some reports from users that Microsoft Defender slowed down Livecode, especially when using the Script Editor. > > Regards, > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 23.10.2020 um 02:30 schrieb Martin Koob via use-livecode : >> >> Another bit of info regarding the length of script where this happens. >> >> I have been going through the project browser trying to open small scripts then opening those with more and more lines. I found that a script with 53 lines opens, a script with 62 lines freezes. >> >> anyway. Down with this for tonight. Hope someone has some ideas as to what might be going on and how to solve it. >> >> Martin >> >> >>> On Oct 22, 2020, at 8:16 PM, Martin Koob via use-livecode wrote: >>> >>> Hi again, >>> >>> Sorry just re-read my previous email and realized it is not clear. >>> >>> I meant to say that is that I get the same issue where the IDE stops responding when I try to edit the main stack script too. So it is not a strictly DataGrid issue. >>> >>> Martin >>> >>>> On Oct 22, 2020, at 8:05 PM, Martin Koob via use-livecode wrote: >>>> >>>> Hi >>>> >>>> Just to follow up. It is not just happening in a DataGrid group script. I just opened a main stack script. It has almost 600 lines. >>>> >>>> Something Odd going on. I am just new to using LiveCode on Windows as I am now working on an application for release on Mac and Windows. However I have edited many of the scripts in this project before and have never seen this. >>>> >>>> Again if anyone has ideas as to what might be happening or how to trouble shoot that would really be appreciated. >>>> >>>> Martin >>>> >>>>> On Oct 22, 2020, at 5:19 PM, Martin Koob wrote: >>>>> >>>>> Hi all >>>>> >>>>> Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. >>>>> >>>>> This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. >>>>> >>>>> If I click on the ?x? to close the LiveCode project I get the dialog that says. >>>>> >>>>> LiveCode for Windows is not responding >>>>> If you close the program, you might lose information. >>>>> ?>Close the Program >>>>> ?>Wait for the program to respond. >>>>> >>>>> Eventually I just select ?Close the program? since the program never responds. >>>>> >>>>> I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. >>>>> >>>>> In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. >>>>> >>>>> Has anyone else experienced this? >>>>> >>>>> It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? >>>>> >>>>> >>>>> Thanks in advance. >>>>> >>>>> >>>>> Martin Koob >>>>> >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From phil at pdslabs.net Fri Oct 23 13:13:31 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 23 Oct 2020 10:13:31 -0700 Subject: DG outcomes on desktop vs mobile In-Reply-To: <89D98522-20E6-46E5-8EE2-C558942D23AE@midwestcoastmedia.com> References: <89D98522-20E6-46E5-8EE2-C558942D23AE@midwestcoastmedia.com> Message-ID: Thanks Andrew - I think I'll try this for the same reasons you did. Phil On 10/23/20 5:19 AM, Andrew at MidWest Coast Media via use-livecode wrote: > This happened to me, twice, in a project I just launched. I was in crunch so didn?t have time to properly document but something happened where the DG wasn?t loading. I could take the same dgData or dgText and load it to another DG fine. Being on mobile made this harder to debug because even with Remote Debugger I would still have to compile and launch to the simulator each time I tried a tweak. > > Because I was up against a deadline and since I wasted several hours trying to troubleshoot I just replaced the DG with a brand new: everything worked. Didn?t even bother to troubleshoot the 2nd time it happened, just immediately made a new DG and moved on. > > Not a definitive answer to your question but an acknowledgement of your problem. > > ?Andrew Bell > >> I'm building an iPad app that reads a bunch of files into an array and >> then sets the dgData of a form DG to that array. The array is >> well-formed for DG use. After setting the dgData of the DG, the result >> is empty. Only one problem: the DG now contains no data. (I also tried >> setting the dgText of the DG to a flat version of the same data and got >> the same outcome.) >> >> I can then create another array from custom property data and set the >> dgData of the same form DG to that array and it works. >> >> On the desktop, however, the same DG loading process never fails. >> >> The data being loaded is all text - nothing esoteric. >> >> Does anyone have any ideas how I can find & fix the problem(s)? Or have >> you run into this before? >> >> Thank you - >> Phil Davis > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From phil at pdslabs.net Fri Oct 23 13:24:23 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 23 Oct 2020 10:24:23 -0700 Subject: DG outcomes on desktop vs mobile In-Reply-To: References: Message-ID: <8ddcffe5-342c-3fc8-5992-4433d255bc61@pdslabs.net> That's a good question. On desktop, the array variable is full of data. On the iPad it's apparently empty. I'll drill down further and see what's going on. Thanks for the idea. Phil On 10/23/20 1:03 AM, JeeJeeStudio via use-livecode wrote: > What do you see when you answer the data you set the dgdata to? Does it > show the values? > > Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode < > use-livecode at lists.runrev.com>: > >> I'm building an iPad app that reads a bunch of files into an array and >> then sets the dgData of a form DG to that array. The array is >> well-formed for DG use. After setting the dgData of the DG, the result >> is empty. Only one problem: the DG now contains no data. (I also tried >> setting the dgText of the DG to a flat version of the same data and got >> the same outcome.) >> >> I can then create another array from custom property data and set the >> dgData of the same form DG to that array and it works. >> >> On the desktop, however, the same DG loading process never fails. >> >> The data being loaded is all text - nothing esoteric. >> >> Does anyone have any ideas how I can find & fix the problem(s)? Or have >> you run into this before? >> >> Thank you - >> Phil Davis >> >> -- >> Phil Davis >> 503-307-4363 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis 503-307-4363 From dan at clearvisiontech.com Fri Oct 23 13:54:29 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 23 Oct 2020 17:54:29 +0000 Subject: DG outcomes on desktop vs mobile In-Reply-To: <8ddcffe5-342c-3fc8-5992-4433d255bc61@pdslabs.net> References: <8ddcffe5-342c-3fc8-5992-4433d255bc61@pdslabs.net> Message-ID: <229625B0-1F17-4F00-B817-64B4939EC226@clearvisiontech.com> Phil, One thing I have noticed is if you have a put command with no destination, mobile devices DO NOT LIKE THIS!! It will halt script execution completely as if it were an error. For example: put myVar This would normally put the contents of myVar into the message box. But on a real phone, it's a disaster! Maybe you have one of these put's somewhere that is halting executing and causing the DG not to be filled. Just a thought. -Dan ?On 10/23/20, 10:25 AM, "use-livecode on behalf of Phil Davis via use-livecode" wrote: That's a good question. On desktop, the array variable is full of data. On the iPad it's apparently empty. I'll drill down further and see what's going on. Thanks for the idea. Phil On 10/23/20 1:03 AM, JeeJeeStudio via use-livecode wrote: > What do you see when you answer the data you set the dgdata to? Does it > show the values? > > Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode < > use-livecode at lists.runrev.com>: > >> I'm building an iPad app that reads a bunch of files into an array and >> then sets the dgData of a form DG to that array. The array is >> well-formed for DG use. After setting the dgData of the DG, the result >> is empty. Only one problem: the DG now contains no data. (I also tried >> setting the dgText of the DG to a flat version of the same data and got >> the same outcome.) >> >> I can then create another array from custom property data and set the >> dgData of the same form DG to that array and it works. >> >> On the desktop, however, the same DG loading process never fails. >> >> The data being loaded is all text - nothing esoteric. >> >> Does anyone have any ideas how I can find & fix the problem(s)? Or have >> you run into this before? >> >> Thank you - >> Phil Davis >> >> -- >> Phil Davis >> 503-307-4363 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis 503-307-4363 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Oct 23 14:22:56 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Oct 2020 13:22:56 -0500 Subject: DG outcomes on desktop vs mobile In-Reply-To: <8ddcffe5-342c-3fc8-5992-4433d255bc61@pdslabs.net> References: <8ddcffe5-342c-3fc8-5992-4433d255bc61@pdslabs.net> Message-ID: <17556b30c00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> What is the path you use to get the files? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 23, 2020 12:26:34 PM Phil Davis via use-livecode wrote: > That's a good question. On desktop, the array variable is full of data. > On the iPad it's apparently empty. I'll drill down further and see > what's going on. > > Thanks for the idea. > Phil > > > On 10/23/20 1:03 AM, JeeJeeStudio via use-livecode wrote: >> What do you see when you answer the data you set the dgdata to? Does it >> show the values? >> >> Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode < >> use-livecode at lists.runrev.com>: >> >>> I'm building an iPad app that reads a bunch of files into an array and >>> then sets the dgData of a form DG to that array. The array is >>> well-formed for DG use. After setting the dgData of the DG, the result >>> is empty. Only one problem: the DG now contains no data. (I also tried >>> setting the dgText of the DG to a flat version of the same data and got >>> the same outcome.) >>> >>> I can then create another array from custom property data and set the >>> dgData of the same form DG to that array and it works. >>> >>> On the desktop, however, the same DG loading process never fails. >>> >>> The data being loaded is all text - nothing esoteric. >>> >>> Does anyone have any ideas how I can find & fix the problem(s)? Or have >>> you run into this before? >>> >>> Thank you - >>> Phil Davis >>> >>> -- >>> Phil Davis >>> 503-307-4363 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Phil Davis > 503-307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From phil at pdslabs.net Fri Oct 23 16:20:24 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 23 Oct 2020 13:20:24 -0700 Subject: DG outcomes on desktop vs mobile In-Reply-To: <17556b30c00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <8ddcffe5-342c-3fc8-5992-4433d255bc61@pdslabs.net> <17556b30c00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <595cb945-0a84-134d-0147-8427900a4a85@pdslabs.net> All the files are in a 'Students' subfolder of the app's Documents folder, and the path reflects that. However, your question is making me go through the handling of data with a fine-tooth comb, so that may result in something. Thanks Jacque - Phil On 10/23/20 11:22 AM, J. Landman Gay via use-livecode wrote: > What is the path you use to get the files? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 23, 2020 12:26:34 PM Phil Davis via use-livecode > wrote: > >> That's a good question. On desktop, the array variable is full of data. >> On the iPad it's apparently empty. I'll drill down further and see >> what's going on. >> >> Thanks for the idea. >> Phil >> >> >> On 10/23/20 1:03 AM, JeeJeeStudio via use-livecode wrote: >>> What do you see when you answer the data you set the dgdata to? Does it >>> show the values? >>> >>> Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode < >>> use-livecode at lists.runrev.com>: >>> >>>> I'm building an iPad app that reads a bunch of files into an array and >>>> then sets the dgData of a form DG to that array. The array is >>>> well-formed for DG use. After setting the dgData of the DG, the result >>>> is empty. Only one problem: the DG now contains no data. (I also tried >>>> setting the dgText of the DG to a flat version of the same data and >>>> got >>>> the same outcome.) >>>> >>>> I can then create another array from custom property data and set the >>>> dgData of the same form DG to that array and it works. >>>> >>>> On the desktop, however, the same DG loading process never fails. >>>> >>>> The data being loaded is all text - nothing esoteric. >>>> >>>> Does anyone have any ideas how I can find & fix the problem(s)? Or >>>> have >>>> you run into this before? >>>> >>>> Thank you - >>>> Phil Davis >>>> >>>> -- >>>> Phil Davis >>>> 503-307-4363 >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> -- >> Phil Davis >> 503-307-4363 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis 503-307-4363 From matthias_livecode_150811 at m-r-d.de Fri Oct 23 16:23:22 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 23 Oct 2020 22:23:22 +0200 Subject: POST to https in LC5.0.2 - Error socket closed In-Reply-To: References: Message-ID: Sean, i just reactivated on an VM an old "LC 5.0.2 Complete" license which was similar to the Enterprise license in earlier versions of LC on a Windows I tried to post to a https:// url in 5.0.2 and i got an SSL error. It seems that 5.0.2 does only support the old TLS V1 and newer web servers do not support that anymore. So i am not sure, if LC 5.0.2 is of any use. Just wanted to let you know. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.10.2020 um 11:47 schrieb Pi Digital via use-livecode : > > Hi > > Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can get this ssl https revdb behind me so our clients don?t all go running before we upgrade the code to v9.x. I?m truly at a loss. > > Sean Cole > Pi Digital > > >> On 23 Oct 2020, at 05:48, Sean Cole (Pi) wrote: >> >> ? >> Hi all, >> >> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 stack. It worked ok in v9 but v5 throws back an error of 'error socket closed'. >> >> This is my only workaround for accessing MySQL using SSL via a 'post' command through PHP, as suggested by Mark Waddingham and others. >> >> Now I am at a total loss! From what I can see in the forums, LC locked out 'post to https' to only Enterprise users. Arrrghhh! >> >> I don't know what else I can do. Curl is not an option as this will be running as an app on clients Windows machines. But even put url("https:// returns error socket closed so that rules out setting up a server app too. Nothing works! >> >> I'm Delirious! HELP! >> >> Sean Cole >> Pi Digital > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Fri Oct 23 16:35:42 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 23 Oct 2020 13:35:42 -0700 Subject: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: <000601d6a938$baad9890$3008c9b0$@net> References: <000001d6a8cb$97589240$c609b6c0$@net> <55E37FE9-5154-4B84-B322-8AE261A4FB01@rogers.com> <000601d6a938$baad9890$3008c9b0$@net> Message-ID: <84A935F0-04EF-412D-9F24-D5A36C15AA8B@me.com> Yesterday I had LC hang when using the red dot on the same line as the breakpoint command. LC 9.5.1 Peter > On Oct 23, 2020, at 5:33 AM, Ralph DiMola via use-livecode wrote: > > It was a hardcoded breakpoint in this form. > > If x<0 then breakpoint > > I wonder if inadvertently triggered "red dot" breakpoints when exiting can cause the same hang? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Martin Koob via use-livecode > Sent: Thursday, October 22, 2020 7:53 PM > To: How to use LiveCode > Cc: Martin Koob > Subject: Re: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10) > > Hi Ralph > > I generally experience IDE hang when exiting in all versions of LC 9.x i have used so far (using a Mac however). I haven?t had time to delve into figuring out a recipe I could report as a bug. I just force quit and relaunched LiveCode. That is just part of my work flow now. Sometimes it does quit with no hang. Some things I have tried is closing the script editor, or close and remove from memory before quitting. I still don?t get consistent results from this though. > > It happens with various stacks I work on from simple to complex. I thought it may be an extension I have installed that ties up the IDE during the quitting process. I plan one day to remove all extensions to a bare minimum and see if it still happens. > > Interesting idea about the breakpoint. Is it a ?red dot? soft breakpoint or hard coded ?breakpoint? in a line of the script? > > The behaviour of the soft breakpoints I have found inconsistent. Sometimes they don?t trigger unless I have the script open for at least the first breakpoint I want to trigger. Again I have never really tried to get to the cause, just did workarounds. > > I probably have way to many breakpoints left sitting around. Maybe I should just delete all breakpoints and start fresh. > > Thanks for the idea. Maybe that will solve the other problem I am having with the DataGrid. > > Martin > >> On Oct 22, 2020, at 7:32 PM, Ralph DiMola via use-livecode wrote: >> >> Martin, >> >> I don?t have an answer for that but this post perked my interest in a hang I was getting. I just found out why the IDE hangs in an apparently tight loop when it's closing. This happened only on one card of the stack. It had a closeCard handler in the behavior. A "breakpoint" statement triggered. It was from early debugging and does not get triggered anymore. It only triggers if all is not well. There is reference to a property in the main stack. Could that stack already be closed and the property returns as empty? Because that would trigger the breakpoint. >> >> Is this a bug or user error? >> >> Win 10 >> LC 9.6.1 >> >> Thanks for pushing me(more like a poke) to finally solve this annoyance. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Martin Koob via use-livecode >> Sent: Thursday, October 22, 2020 5:19 PM >> To: use-livecode list >> Cc: Martin Koob >> Subject: Can't edit scripts in DataGrid group in Windows 10 >> >> Hi all >> >> Maybe this is not good practice but I have DataGrids with script in the group that contains the DataGrid in addition to the behaviour script of the DataGrid. So to edit the script in the DataGrid group I just select the Datagrid group I right click on the DataGrid and select the ?Edit Script? menu item. >> >> This works fine on the mac. I just tried this on Windows 10 with LiveCode 9.6 and when I try to open the same DataGrid following the same process the script editor opens but it does not load the script. In fact LiveCode becomes unresponsive. The script editor dims as if disabled and the cursor when hovering over the script editor or any other LiveCode windows is the hour glass cursor. >> >> If I click on the ?x? to close the LiveCode project I get the dialog that says. >> >> LiveCode for Windows is not responding >> If you close the program, you might lose information. >> ?>Close the Program >> ?>Wait for the program to respond. >> >> Eventually I just select ?Close the program? since the program never responds. >> >> I created a test stack with just a DataGrid on it and a button and opened the group script and was able to add a handler and then save it and reopen it so it does work in a simple scenario. >> >> In my application I have two dataGrids that have code in the group script. On has 290 lines the other has about 480 lines. So it seems the longer code is a contributing factor. >> >> Has anyone else experienced this? >> >> It the problem that you are not supposed to have script in the DataGrid? Group script and rather put it all in the DataGrid's behaviour? >> >> >> Thanks in advance. >> >> >> Martin Koob >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Fri Oct 23 16:45:42 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 23 Oct 2020 13:45:42 -0700 Subject: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: References: <4F21567F-A5DA-43C5-BCCE-93DD75206967@rogers.com> <9F9D6CFA-A6C6-43CC-982D-81A24002D517@rogers.com> Message-ID: <50ce2658-ec18-0f6a-bca2-52fdaeb70c59@sonic.net> On 10/23/20 6:44 AM, Martin Koob via use-livecode wrote: > I figured out what caused it. I am using Monte?s lcVCS plugin to keep the project in bitbucket Try Brian Milby's Script Tracker plugin. -- Mark Wieder ahsoftware at gmail.com From mkoob at rogers.com Fri Oct 23 17:12:46 2020 From: mkoob at rogers.com (Martin Koob) Date: Fri, 23 Oct 2020 17:12:46 -0400 Subject: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10) In-Reply-To: <50ce2658-ec18-0f6a-bca2-52fdaeb70c59@sonic.net> References: <4F21567F-A5DA-43C5-BCCE-93DD75206967@rogers.com> <9F9D6CFA-A6C6-43CC-982D-81A24002D517@rogers.com> <50ce2658-ec18-0f6a-bca2-52fdaeb70c59@sonic.net> Message-ID: <140B93A2-2A2C-4182-9C3C-8B868DEEC195@rogers.com> Thanks mark I will check this out. Martin > On Oct 23, 2020, at 4:45 PM, Mark Wieder via use-livecode wrote: > > Brian Milby's Script Tracker From bobsneidar at iotecdigital.com Fri Oct 23 18:06:21 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 23 Oct 2020 22:06:21 +0000 Subject: DG outcomes on desktop vs mobile In-Reply-To: <89D98522-20E6-46E5-8EE2-C558942D23AE@midwestcoastmedia.com> References: <89D98522-20E6-46E5-8EE2-C558942D23AE@midwestcoastmedia.com> Message-ID: <8D381A0C-071D-44D0-BF7A-3177BB3C3666@iotecdigital.com> I got into the habit of setting the dgdata to empty before populating it because I ran into issues where my own code set the dgdata to something not an array, and this seems to bork the data grid. I think it was an empty array, or an empty record. This didn?t show up as a blank line however, the data displayed correctly, but the data grid became unresponsive. It didn?t show up in the text view of the property inspector either. I had to put the dgtext into the msg and then the blank line showed up. Bob S On Oct 23, 2020, at 5:19 AM, Andrew at MidWest Coast Media via use-livecode > wrote: This happened to me, twice, in a project I just launched. I was in crunch so didn?t have time to properly document but something happened where the DG wasn?t loading. I could take the same dgData or dgText and load it to another DG fine. Being on mobile made this harder to debug because even with Remote Debugger I would still have to compile and launch to the simulator each time I tried a tweak. Because I was up against a deadline and since I wasted several hours trying to troubleshoot I just replaced the DG with a brand new: everything worked. Didn?t even bother to troubleshoot the 2nd time it happened, just immediately made a new DG and moved on. Not a definitive answer to your question but an acknowledgement of your problem. ?Andrew Bell I'm building an iPad app that reads a bunch of files into an array and then sets the dgData of a form DG to that array. The array is well-formed for DG use. After setting the dgData of the DG, the result is empty. Only one problem: the DG now contains no data. (I also tried setting the dgText of the DG to a flat version of the same data and got the same outcome.) I can then create another array from custom property data and set the dgData of the same form DG to that array and it works. On the desktop, however, the same DG loading process never fails. The data being loaded is all text - nothing esoteric. Does anyone have any ideas how I can find & fix the problem(s)? Or have you run into this before? Thank you - Phil Davis From phil at pdslabs.net Fri Oct 23 22:02:37 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 23 Oct 2020 19:02:37 -0700 Subject: DG outcomes on desktop vs mobile In-Reply-To: <8D381A0C-071D-44D0-BF7A-3177BB3C3666@iotecdigital.com> References: <89D98522-20E6-46E5-8EE2-C558942D23AE@midwestcoastmedia.com> <8D381A0C-071D-44D0-BF7A-3177BB3C3666@iotecdigital.com> Message-ID: Well, I'm feeling pretty dumb about now. It's the architecture, stupid! I overlooked the fact that, unlike on desktop systems, my mobile app doesn't automagically have access to the test files that reside in the app's dev environment on my Mac. During startup on the iPad, the app has to populate its [Documents] subfolders with test files stored in the app bundle. It's my first mobile app. At least there's that. And I can pretty much guarantee I'll never again overlook the need to do this! So that part of the app is working now. Thanks for the great ideas, which will be useful when I stumble again - Phil On 10/23/20 3:06 PM, Bob Sneidar via use-livecode wrote: > I got into the habit of setting the dgdata to empty before populating it because I ran into issues where my own code set the dgdata to something not an array, and this seems to bork the data grid. I think it was an empty array, or an empty record. This didn?t show up as a blank line however, the data displayed correctly, but the data grid became unresponsive. It didn?t show up in the text view of the property inspector either. I had to put the dgtext into the msg and then the blank line showed up. > > Bob S > > > On Oct 23, 2020, at 5:19 AM, Andrew at MidWest Coast Media via use-livecode > wrote: > > This happened to me, twice, in a project I just launched. I was in crunch so didn?t have time to properly document but something happened where the DG wasn?t loading. I could take the same dgData or dgText and load it to another DG fine. Being on mobile made this harder to debug because even with Remote Debugger I would still have to compile and launch to the simulator each time I tried a tweak. > > Because I was up against a deadline and since I wasted several hours trying to troubleshoot I just replaced the DG with a brand new: everything worked. Didn?t even bother to troubleshoot the 2nd time it happened, just immediately made a new DG and moved on. > > Not a definitive answer to your question but an acknowledgement of your problem. > > ?Andrew Bell > > I'm building an iPad app that reads a bunch of files into an array and > then sets the dgData of a form DG to that array. The array is > well-formed for DG use. After setting the dgData of the DG, the result > is empty. Only one problem: the DG now contains no data. (I also tried > setting the dgText of the DG to a flat version of the same data and got > the same outcome.) > > I can then create another array from custom property data and set the > dgData of the same form DG to that array and it works. > > On the desktop, however, the same DG loading process never fails. > > The data being loaded is all text - nothing esoteric. > > Does anyone have any ideas how I can find & fix the problem(s)? Or have > you run into this before? > > Thank you - > Phil Davis > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From jacque at hyperactivesw.com Fri Oct 23 23:24:26 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Oct 2020 22:24:26 -0500 Subject: DG outcomes on desktop vs mobile In-Reply-To: References: <89D98522-20E6-46E5-8EE2-C558942D23AE@midwestcoastmedia.com> <8D381A0C-071D-44D0-BF7A-3177BB3C3666@iotecdigital.com> Message-ID: <17558a2ce10.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Well it's about time. All the rest of us have felt pretty dumb on multiple occasions and you were the only outlier. ;) But seriously, mobile apps are their own kind of animal. There's a learning curve. And each OS has its own idiosyncrasies. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 23, 2020 9:04:45 PM Phil Davis via use-livecode wrote: > Well, I'm feeling pretty dumb about now. From richmondmathewson at gmail.com Sat Oct 24 06:17:11 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 24 Oct 2020 13:17:11 +0300 Subject: Line length Message-ID: <6f2764e5-7d1a-fef1-dca5-4e592063bbec@gmail.com> Over in the Forums someone has asked a question about measuring the length of text lines. Of course one can count characters, but in most alphabetic systems different characters have different lengths. Is there a way to measure the length as in LENGTH of a line rather than count the number of characters it contains? Richmond. From klaus at major-k.de Sat Oct 24 06:35:33 2020 From: klaus at major-k.de (Klaus major-k) Date: Sat, 24 Oct 2020 12:35:33 +0200 Subject: Line length In-Reply-To: <6f2764e5-7d1a-fef1-dca5-4e592063bbec@gmail.com> References: <6f2764e5-7d1a-fef1-dca5-4e592063bbec@gmail.com> Message-ID: <5101334E-C6C8-40B6-8CFA-9398ADAC2CA5@major-k.de> Hi Richmond, > Am 24.10.2020 um 12:17 schrieb Richmond via use-livecode : > > Over in the Forums someone has asked a question about measuring the length of text lines. > Of course one can count characters, but in most alphabetic systems different characters have different lengths. > Is there a way to measure the length as in LENGTH of a line rather than count the number of characters it > contains? ... put the formattedwidth of line 1 of fld 1 ... > Richmond. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Sat Oct 24 15:14:01 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Oct 2020 12:14:01 -0700 Subject: How to resolve "unable to locate play service dependency base version 9.4.0" Message-ID: When trying to compile an app for Android I get an error: "unable to locate play service dependency base version 9.4.0" No further guidance is provided. Clues? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From livfoss at mac.com Sat Oct 24 16:05:57 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 24 Oct 2020 22:05:57 +0200 Subject: In Praise of TROZ Message-ID: <5F56D1A4-390D-4413-AA55-8FF6584988DC@mac.com> Struggling for the first time in years with using XML in LC, I dug out Sarah Reichelt?s XML tutorial. Although as far as I know, Sarah moved away from LC long ago (when it was still Revolution), this seems to me the most comprehensive explanation of the XML library we have. Sarah still appears as TrozWare and still develops apps for the Mac,and writes tutorials, for example for the Mac Swift system. That?s all I know about her - but she left us a legacy that I for one still appreciate! Graham From marksmithhfx at gmail.com Sat Oct 24 16:25:36 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Sat, 24 Oct 2020 21:25:36 +0100 Subject: In Praise of TROZ In-Reply-To: <5F56D1A4-390D-4413-AA55-8FF6584988DC@mac.com> References: <5F56D1A4-390D-4413-AA55-8FF6584988DC@mac.com> Message-ID: <66CAC528-3016-48BE-9CEF-C93B63508023@gmail.com> Nice tribute to Sarah?s work Graham. I made use of her Calendar app for many years. > On Oct 24, 2020, at 9:05 PM, Graham Samuel via use-livecode wrote: > > Struggling for the first time in years with using XML in LC, I dug out Sarah Reichelt?s XML tutorial. Although as far as I know, Sarah moved away from LC long ago (when it was still Revolution), this seems to me the most comprehensive explanation of the XML library we have. > > Sarah still appears as TrozWare and still develops apps for the Mac,and writes tutorials, for example for the Mac Swift system. That?s all I know about her - but she left us a legacy that I for one still appreciate! > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Sat Oct 24 17:56:23 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 25 Oct 2020 00:56:23 +0300 Subject: How to resolve "unable to locate play service dependency base version 9.4.0" In-Reply-To: References: Message-ID: Hello Richard, Are you trying to build an Android standalone that includes an android barcode scanner widget? Kind regards, Panos -- On Sat, 24 Oct 2020 at 22:15, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > When trying to compile an app for Android I get an error: "unable to > locate play service dependency base version 9.4.0" > > No further guidance is provided. > > Clues? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Sat Oct 24 18:01:01 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 25 Oct 2020 01:01:01 +0300 Subject: How to resolve "unable to locate play service dependency base version 9.4.0" In-Reply-To: References: Message-ID: This will probably help: https://quality.livecode.com/show_bug.cgi?id=22384 Kind regards, Panos -- On Sun, 25 Oct 2020 at 00:56, panagiotis merakos wrote: > Hello Richard, > > Are you trying to build an Android standalone that includes an android > barcode scanner widget? > > Kind regards, > Panos > -- > > On Sat, 24 Oct 2020 at 22:15, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> When trying to compile an app for Android I get an error: "unable to >> locate play service dependency base version 9.4.0" >> >> No further guidance is provided. >> >> Clues? >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From merakosp at gmail.com Sat Oct 24 18:06:05 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 25 Oct 2020 01:06:05 +0300 Subject: How to resolve "unable to locate play service dependency base version 9.4.0" In-Reply-To: References: Message-ID: If you do not use Android Studio, but you have only downloaded and installed the android sdk tools, then you just need to launch Android SDK Manager and install the missing dependency. The required dependency is the "Google Repository" package (in the "Extras" folder), and NOT the "Google Play services" package as one would have thought. Kind regards, Panos -- On Sun, 25 Oct 2020 at 01:01, panagiotis merakos wrote: > This will probably help: > > https://quality.livecode.com/show_bug.cgi?id=22384 > > Kind regards, > Panos > -- > > On Sun, 25 Oct 2020 at 00:56, panagiotis merakos > wrote: > >> Hello Richard, >> >> Are you trying to build an Android standalone that includes an android >> barcode scanner widget? >> >> Kind regards, >> Panos >> -- >> >> On Sat, 24 Oct 2020 at 22:15, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> When trying to compile an app for Android I get an error: "unable to >>> locate play service dependency base version 9.4.0" >>> >>> No further guidance is provided. >>> >>> Clues? >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> From livfoss at mac.com Sun Oct 25 13:21:03 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 25 Oct 2020 18:21:03 +0100 Subject: Naive XML questions Message-ID: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> I feel stupid, but even with Sarah Reichelt?s help, there are very very simple things I can?t do with the LC XML functions. My current problem is this: I have a series of XML files which are in fact .gpx files - a collection of GPS coordinates representing a route on the Earth?s surface. There are thousands of files around which I can use as test data, so I don?t have to roll my own. Taking just one of these examples, I can do the following in LC 1. Get the user to find the file and download it 2. Check it?s a .gpx file 3. Turn it into an LC XML data structure with an integer ID 4. Find out how many child nodes there are. Then it all goes wrong, because I don?t seem to be able to address the individual nodes. This is obviously needed for further progress, in functions like revXMLFirstChild and revXMLNodeContents. I just don?t know what format to use. Sarah?s tutorial doesn?t help because her data structure is too simplified. If you?re still with me, this is what the beginning of a typical file looks like: > > > > > > > 169.623637 > > 169.744722 > > 169.744722 > > 169.266626 > etc - there may sometimes be thousands of these ?trkpt? elements. So, suppose I want to get the first instance of the ?lon? attribute into a local variable. How do I address the first node etc in order to do it? I have attempted various common-sense methods, but none work. This must be child?s play to a lot of people, just not me. Hoping for some guidance. Graham From alex at tweedly.net Sun Oct 25 14:00:21 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 25 Oct 2020 18:00:21 +0000 Subject: Naive XML questions In-Reply-To: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> References: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> Message-ID: <55E5FACE-784B-4AC5-8B3B-E3D770F2067A@tweedly.net> I know nothing about it, so I can feel free to answer:-) Don?t care about the file format- look at the array format, probably in the IDE/debugger. That?s probably going to let you see how to address the individual nodes. Alex Sent from my iPhone > On 25 Oct 2020, at 17:21, Graham Samuel via use-livecode wrote: > > I feel stupid, but even with Sarah Reichelt?s help, there are very very simple things I can?t do with the LC XML functions. My current problem is this: > > I have a series of XML files which are in fact .gpx files - a collection of GPS coordinates representing a route on the Earth?s surface. There are thousands of files around which I can use as test data, so I don?t have to roll my own. Taking just one of these examples, I can do the following in LC > > 1. Get the user to find the file and download it > > 2. Check it?s a .gpx file > > 3. Turn it into an LC XML data structure with an integer ID > > 4. Find out how many child nodes there are. > > Then it all goes wrong, because I don?t seem to be able to address the individual nodes. This is obviously needed for further progress, in functions like revXMLFirstChild and revXMLNodeContents. > > I just don?t know what format to use. Sarah?s tutorial doesn?t help because her data structure is too simplified. > > If you?re still with me, this is what the beginning of a typical file looks like: > >> >> >> >> >> > >> >> 169.623637 > >> >> 169.744722 > >> >> 169.744722 > >> >> 169.266626 >> > etc - there may sometimes be thousands of these ?trkpt? elements. > > So, suppose I want to get the first instance of the ?lon? attribute into a local variable. How do I address the first node etc in order to do it? I have attempted various common-sense methods, but none work. > > This must be child?s play to a lot of people, just not me. > > Hoping for some guidance. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Sun Oct 25 14:51:07 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 25 Oct 2020 18:51:07 +0000 Subject: Naive XML questions In-Reply-To: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> References: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> Message-ID: In his reply to you I think Alex is suggesting you use the handlers that come with the Datagrid. These can convert xml to a LC array. You might find it easier just to deal with a familair data structure rather than learn XML. I found them here: http://revonline2.runrev.com/stack/571/XMLAndArrays But the handlers are also to be found inside the datagrid library in the IDE (I suspect they are more up to date). On Sun, Oct 25, 2020 at 5:22 PM Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > I feel stupid, but even with Sarah Reichelt?s help, there are very very > simple things I can?t do with the LC XML functions. My current problem is > this: > > I have a series of XML files which are in fact .gpx files - a collection > of GPS coordinates representing a route on the Earth?s surface. There are > thousands of files around which I can use as test data, so I don?t have to > roll my own. Taking just one of these examples, I can do the following in LC > > 1. Get the user to find the file and download it > > 2. Check it?s a .gpx file > > 3. Turn it into an LC XML data structure with an integer ID > > 4. Find out how many child nodes there are. > > Then it all goes wrong, because I don?t seem to be able to address the > individual nodes. This is obviously needed for further progress, in > functions like revXMLFirstChild and revXMLNodeContents. > > I just don?t know what format to use. Sarah?s tutorial doesn?t help > because her data structure is too simplified. > > If you?re still with me, this is what the beginning of a typical file > looks like: > > > > > version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.topografix.com/GPX/1/1 > http://www.topografix.com/GPX/1/1/gpx.xsd"> > > > > > > > > > > > 169.623637 > > > > > 169.744722 > > > > > 169.744722 > > > > > 169.266626 > > > etc - there may sometimes be thousands of these ?trkpt? elements. > > So, suppose I want to get the first instance of the ?lon? attribute into a > local variable. How do I address the first node etc in order to do > it? I have attempted various common-sense methods, but none work. > > This must be child?s play to a lot of people, just not me. > > Hoping for some guidance. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From williamdesmet at gmail.com Sun Oct 25 15:47:16 2020 From: williamdesmet at gmail.com (William de Smet) Date: Sun, 25 Oct 2020 20:47:16 +0100 Subject: iOS Emoji keyboard does not print to PDF?! Message-ID: Hi there, A simple iOS app in which the user chooses the iOS keyboard to add text and an Emoji to a standard LC text field. I use 'export snapshot' to PDF as PNG to print to PDF. When there is only text in the field all text is printed to the PDF but when an Emoji is added the Emoji is not printed to the PDF. Am I missing something? Do I need to add some code? iOS 13 LC 9,6,1 Indy greetings, William From richmondmathewson at gmail.com Sun Oct 25 16:12:44 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 25 Oct 2020 22:12:44 +0200 Subject: iOS Emoji keyboard does not print to PDF?! In-Reply-To: References: Message-ID: <272e0857-c426-876c-c642-9ccdeb3d629d@gmail.com> " 'export snapshot' to PDF as PNG" sounds a bit odd. On 25.10.20 21:47, William de Smet via use-livecode wrote: > Hi there, > > A simple iOS app in which the user chooses the iOS keyboard to add text and > an Emoji to a standard LC text field. > I use 'export snapshot' to PDF as PNG to print to PDF. > When there is only text in the field all text is printed to the PDF but > when an Emoji is added the Emoji is not printed to the PDF. > Am I missing something? > Do I need to add some code? > > iOS 13 > LC 9,6,1 Indy > > > greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Sun Oct 25 17:34:36 2020 From: williamdesmet at gmail.com (William de Smet) Date: Sun, 25 Oct 2020 22:34:36 +0100 Subject: iOS Emoji keyboard does not print to PDF?! In-Reply-To: <272e0857-c426-876c-c642-9ccdeb3d629d@gmail.com> References: <272e0857-c426-876c-c642-9ccdeb3d629d@gmail.com> Message-ID: Hi Richmond, That?s the short version of the code. Like I said it works fine as long as it is text only. When an Emoji from the iOS keyboard is added the Emoji is not printed in the PDF. > Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode het volgende geschreven: > > ?" 'export snapshot' to PDF as PNG" sounds a bit odd. > >> On 25.10.20 21:47, William de Smet via use-livecode wrote: >> Hi there, >> >> A simple iOS app in which the user chooses the iOS keyboard to add text and >> an Emoji to a standard LC text field. >> I use 'export snapshot' to PDF as PNG to print to PDF. >> When there is only text in the field all text is printed to the PDF but >> when an Emoji is added the Emoji is not printed to the PDF. >> Am I missing something? >> Do I need to add some code? >> >> iOS 13 >> LC 9,6,1 Indy >> >> >> greetings, >> >> William >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Sun Oct 25 18:29:44 2020 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 25 Oct 2020 17:29:44 -0500 Subject: Naive XML questions In-Reply-To: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> References: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> Message-ID: <8677418A-2C4B-46E8-BF98-45EFC0C304E3@sonsothunder.com> Graham, here's the basic approach (assuming your XML is in the variable 'tXML'): put revXMLCreateTree(tXML,false,true,false) into tTreeID put "/gpx/trk/trkseg/trkpt[1]" into tNode -- the brackets identify the instance of "trkpt" to work with put revXMLAttribute(tTreeID, tNode,"lon") into tLonValue put revXMLNodeContents(tTreeID,(tNode & "/ele")) into tEleValue put tLonValue && "/" && tEleValue >> 2.128369 / 169.623637 So to work with the third instance of "trkpt", you'd do: put "/gpx/trk/trkseg/trkpt[3]" into tNode Hope this helps, Ken > On Oct 25, 2020, at 12:21 PM, Graham Samuel via use-livecode wrote: > > I feel stupid, but even with Sarah Reichelt?s help, there are very very simple things I can?t do with the LC XML functions. My current problem is this: > > I have a series of XML files which are in fact .gpx files - a collection of GPS coordinates representing a route on the Earth?s surface. There are thousands of files around which I can use as test data, so I don?t have to roll my own. Taking just one of these examples, I can do the following in LC > > 1. Get the user to find the file and download it > > 2. Check it?s a .gpx file > > 3. Turn it into an LC XML data structure with an integer ID > > 4. Find out how many child nodes there are. > > Then it all goes wrong, because I don?t seem to be able to address the individual nodes. This is obviously needed for further progress, in functions like revXMLFirstChild and revXMLNodeContents. > > I just don?t know what format to use. Sarah?s tutorial doesn?t help because her data structure is too simplified. > > If you?re still with me, this is what the beginning of a typical file looks like: > >> >> >> >> >> > >> >> 169.623637 > >> >> 169.744722 > >> >> 169.744722 > >> >> 169.266626 >> > etc - there may sometimes be thousands of these ?trkpt? elements. > > So, suppose I want to get the first instance of the ?lon? attribute into a local variable. How do I address the first node etc in order to do it? I have attempted various common-sense methods, but none work. > > This must be child?s play to a lot of people, just not me. > > Hoping for some guidance. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Website: https://www.sonsothunder.com From alex at tweedly.net Sun Oct 25 19:21:44 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 25 Oct 2020 23:21:44 +0000 Subject: Naive XML questions In-Reply-To: References: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> Message-ID: <1ede9a7d-6d54-a5e8-7668-a1a94088104e@tweedly.net> On 25/10/2020 18:51, Bernard Devlin via use-livecode wrote: > In his reply to you I think Alex is suggesting you use the handlers that > come with the Datagrid. These can convert xml to a LC array. You might > find it easier just to deal with a familair data structure rather than > learn XML. > > I found them here: http://revonline2.runrev.com/stack/571/XMLAndArrays > > But the handlers are also to be found inside the datagrid library in the > IDE (I suspect they are more up to date). Or indeed on Trevor's GitHub page, which is where I could vaguely remember having seen them. But wherever you get them from, they do provide a (fairly straightforward) familiar interface of a LC array. (And give us yet another reason to say "thank you" to Trevor :-) Alex. From scott at elementarysoftware.com Sun Oct 25 22:56:36 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 25 Oct 2020 19:56:36 -0700 Subject: iOS Emoji keyboard does not print to PDF?! In-Reply-To: References: <272e0857-c426-876c-c642-9ccdeb3d629d@gmail.com> Message-ID: <6BD04126-1B2B-4142-9B8D-65ACF3D4EC5F@elementarysoftware.com> I think that emojis not rendering to PDF has been a longstanding issue? and I thought that I had filed a bug report on this but looking at bugzilla, I failed to find it. (sigh). I have code in two of my apps that alert the user, should PDF creation fail, that they should remove emojis from their text. I have on my to-do list a workaround project that would use imageSource to substitute for known emoji codes. So, while none of this is of any help, I feel your pain :- ) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Oct 25, 2020, at 2:34 PM, William de Smet via use-livecode wrote: > > Hi Richmond, > > That?s the short version of the code. > Like I said it works fine as long as it is text only. When an Emoji from the iOS keyboard is added the Emoji is not printed in the PDF. > > > > > > >> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode het volgende geschreven: >> >> ?" 'export snapshot' to PDF as PNG" sounds a bit odd. >> >>> On 25.10.20 21:47, William de Smet via use-livecode wrote: >>> Hi there, >>> >>> A simple iOS app in which the user chooses the iOS keyboard to add text and >>> an Emoji to a standard LC text field. >>> I use 'export snapshot' to PDF as PNG to print to PDF. >>> When there is only text in the field all text is printed to the PDF but >>> when an Emoji is added the Emoji is not printed to the PDF. >>> Am I missing something? >>> Do I need to add some code? >>> >>> iOS 13 >>> LC 9,6,1 Indy >>> >>> >>> greetings, >>> >>> William >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 26 01:37:13 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 25 Oct 2020 22:37:13 -0700 Subject: How to resolve "unable to locate play service dependency base version 9.4.0" In-Reply-To: References: Message-ID: <8b900dd2-5387-c67f-5e0c-8234a19df9d9@fourthworld.com> Panos wrote: > This will probably help: > > https://quality.livecode.com/show_bug.cgi?id=22384 The instructions in your comment there certainly did. Thank you. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From williamdesmet at gmail.com Mon Oct 26 05:13:10 2020 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 26 Oct 2020 10:13:10 +0100 Subject: iOS Emoji keyboard does not print to PDF?! In-Reply-To: <6BD04126-1B2B-4142-9B8D-65ACF3D4EC5F@elementarysoftware.com> References: <272e0857-c426-876c-c642-9ccdeb3d629d@gmail.com> <6BD04126-1B2B-4142-9B8D-65ACF3D4EC5F@elementarysoftware.com> Message-ID: Thanks for answering Scott! Not a big issue for me at the moment. Greetings, William Op ma 26 okt. 2020 om 03:57 schreef scott--- via use-livecode < use-livecode at lists.runrev.com>: > I think that emojis not rendering to PDF has been a longstanding issue? > and I thought that I had filed a bug report on this but looking at > bugzilla, I failed to find it. (sigh). I have code in two of my apps that > alert the user, should PDF creation fail, that they should remove emojis > from their text. I have on my to-do list a workaround project that would > use imageSource to substitute for known emoji codes. So, while none of this > is of any help, I feel your pain :- ) > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > On Oct 25, 2020, at 2:34 PM, William de Smet via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Richmond, > > > > That?s the short version of the code. > > Like I said it works fine as long as it is text only. When an Emoji from > the iOS keyboard is added the Emoji is not printed in the PDF. > > > > > > > > > > > > > >> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode < > use-livecode at lists.runrev.com> het volgende geschreven: > >> > >> ?" 'export snapshot' to PDF as PNG" sounds a bit odd. > >> > >>> On 25.10.20 21:47, William de Smet via use-livecode wrote: > >>> Hi there, > >>> > >>> A simple iOS app in which the user chooses the iOS keyboard to add > text and > >>> an Emoji to a standard LC text field. > >>> I use 'export snapshot' to PDF as PNG to print to PDF. > >>> When there is only text in the field all text is printed to the PDF but > >>> when an Emoji is added the Emoji is not printed to the PDF. > >>> Am I missing something? > >>> Do I need to add some code? > >>> > >>> iOS 13 > >>> LC 9,6,1 Indy > >>> > >>> > >>> greetings, > >>> > >>> William > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Mon Oct 26 10:46:26 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 26 Oct 2020 15:46:26 +0100 Subject: Naive XML questions In-Reply-To: <8677418A-2C4B-46E8-BF98-45EFC0C304E3@sonsothunder.com> References: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> <8677418A-2C4B-46E8-BF98-45EFC0C304E3@sonsothunder.com> Message-ID: <61B195C1-57B9-4B78-8B28-13F22F303C6E@mac.com> Thanks to all who replied, but Ken - you are spot on! I simply had no idea how to address an individual node. I am not keen to use any method other than the ones which already exist in the XML library, so this is the way for me. One can sometimes (often, if I?m honest) be stymied by some very basic lack of knowledge. It reminds me vaguely of some consumer tests which were done on (I think) early IBM PCs. The researchers wanted to know how the new users got on with the machine, how productive it was for them etc, but they soon found that the most common issue was how to switch the machine on! In explaining stuff, we neglect the basics at our peril. Graham > On 25 Oct 2020, at 23:29, Ken Ray wrote: > > Graham, here's the basic approach (assuming your XML is in the variable 'tXML'): > > put revXMLCreateTree(tXML,false,true,false) into tTreeID > put "/gpx/trk/trkseg/trkpt[1]" into tNode -- the brackets identify the instance of "trkpt" to work with > put revXMLAttribute(tTreeID, tNode,"lon") into tLonValue > put revXMLNodeContents(tTreeID,(tNode & "/ele")) into tEleValue > put tLonValue && "/" && tEleValue > > >> 2.128369 / 169.623637 > > So to work with the third instance of "trkpt", you'd do: > > put "/gpx/trk/trkseg/trkpt[3]" into tNode > > Hope this helps, > > Ken > > >> On Oct 25, 2020, at 12:21 PM, Graham Samuel via use-livecode > wrote: >> >> I feel stupid, but even with Sarah Reichelt?s help, there are very very simple things I can?t do with the LC XML functions. My current problem is this: >> >> I have a series of XML files which are in fact .gpx files - a collection of GPS coordinates representing a route on the Earth?s surface. There are thousands of files around which I can use as test data, so I don?t have to roll my own. Taking just one of these examples, I can do the following in LC >> >> 1. Get the user to find the file and download it >> >> 2. Check it?s a .gpx file >> >> 3. Turn it into an LC XML data structure with an integer ID >> >> 4. Find out how many child nodes there are. >> >> Then it all goes wrong, because I don?t seem to be able to address the individual nodes. This is obviously needed for further progress, in functions like revXMLFirstChild and revXMLNodeContents. >> >> I just don?t know what format to use. Sarah?s tutorial doesn?t help because her data structure is too simplified. >> >> If you?re still with me, this is what the beginning of a typical file looks like: >> >>> >>> >>> >>> >>> >> >>> >>> 169.623637 >> >>> >>> 169.744722 >> >>> >>> 169.744722 >> >>> >>> 169.266626 >>> >> etc - there may sometimes be thousands of these ?trkpt? elements. >> >> So, suppose I want to get the first instance of the ?lon? attribute into a local variable. How do I address the first node etc in order to do it? I have attempted various common-sense methods, but none work. >> >> This must be child?s play to a lot of people, just not me. >> >> Hoping for some guidance. >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Ken Ray > Sons of Thunder Software, Inc. > Email:?kray at sonsothunder.com > Website: https://www.sonsothunder.com > > > > From rdimola at evergreeninfo.net Mon Oct 26 11:29:18 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 26 Oct 2020 11:29:18 -0400 Subject: [OT] Users (was RE: Naive XML questions) In-Reply-To: <61B195C1-57B9-4B78-8B28-13F22F303C6E@mac.com> References: <4399018D-D432-4BA3-8C6E-E7583EBD82A1@mac.com> <8677418A-2C4B-46E8-BF98-45EFC0C304E3@sonsothunder.com> <61B195C1-57B9-4B78-8B28-13F22F303C6E@mac.com> Message-ID: <004b01d6abac$c8776200$59662600$@net> We did a off-the-street user test in NYC for a major bank in 1985. There were 10 or 20 tasks. Among other things some options were selected using F1, F2, Fn... keys. Most participants type the "F" key followed by the "1" key even though the "F" keys were separated at the top of the keyboard just like today. After we were finished being flabbergasted we regrouped and listened to the testers and changed the design. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Graham Samuel via use-livecode Sent: Monday, October 26, 2020 10:46 AM To: How to use LiveCode Cc: Graham Samuel Subject: Re: Naive XML questions Thanks to all who replied, but Ken - you are spot on! I simply had no idea how to address an individual node. I am not keen to use any method other than the ones which already exist in the XML library, so this is the way for me. One can sometimes (often, if I?m honest) be stymied by some very basic lack of knowledge. It reminds me vaguely of some consumer tests which were done on (I think) early IBM PCs. The researchers wanted to know how the new users got on with the machine, how productive it was for them etc, but they soon found that the most common issue was how to switch the machine on! In explaining stuff, we neglect the basics at our peril. Graham > On 25 Oct 2020, at 23:29, Ken Ray wrote: > > Graham, here's the basic approach (assuming your XML is in the variable 'tXML'): > > put revXMLCreateTree(tXML,false,true,false) into tTreeID > put "/gpx/trk/trkseg/trkpt[1]" into tNode -- the brackets identify the instance of "trkpt" to work with > put revXMLAttribute(tTreeID, tNode,"lon") into tLonValue > put revXMLNodeContents(tTreeID,(tNode & "/ele")) into tEleValue > put tLonValue && "/" && tEleValue > > >> 2.128369 / 169.623637 > > So to work with the third instance of "trkpt", you'd do: > > put "/gpx/trk/trkseg/trkpt[3]" into tNode > > Hope this helps, > > Ken > > >> On Oct 25, 2020, at 12:21 PM, Graham Samuel via use-livecode > wrote: >> >> I feel stupid, but even with Sarah Reichelt?s help, there are very very simple things I can?t do with the LC XML functions. My current problem is this: >> >> I have a series of XML files which are in fact .gpx files - a >> collection of GPS coordinates representing a route on the Earth?s >> surface. There are thousands of files around which I can use as test >> data, so I don?t have to roll my own. Taking just one of these >> examples, I can do the following in LC >> >> 1. Get the user to find the file and download it >> >> 2. Check it?s a .gpx file >> >> 3. Turn it into an LC XML data structure with an integer ID >> >> 4. Find out how many child nodes there are. >> >> Then it all goes wrong, because I don?t seem to be able to address the individual nodes. This is obviously needed for further progress, in functions like revXMLFirstChild and revXMLNodeContents. >> >> I just don?t know what format to use. Sarah?s tutorial doesn?t help because her data structure is too simplified. >> >> If you?re still with me, this is what the beginning of a typical file looks like: >> >>> >> xmlns="http://www.topografix.com/GPX/1/1 >>> " creator="Digital Crow" >>> version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance >>> " >>> xsi:schemaLocation="http://www.topografix.com/GPX/1/1 >>> >>> http://www.topografix.com/GPX/1/1/gpx.xsd >>> "> >>> >>> >>> >> >>> 169.623637 >>> >> >>> 169.744722 >>> >> >>> 169.744722 >>> >> >>> 169.266626 >>> >>> >> etc - there may sometimes be thousands of these ?trkpt? elements. >> >> So, suppose I want to get the first instance of the ?lon? attribute into a local variable. How do I address the first node etc in order to do it? I have attempted various common-sense methods, but none work. >> >> This must be child?s play to a lot of people, just not me. >> >> Hoping for some guidance. >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Website: https://www.sonsothunder.com > > > > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Mon Oct 26 12:43:50 2020 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 26 Oct 2020 16:43:50 +0000 Subject: Line length In-Reply-To: <5101334E-C6C8-40B6-8CFA-9398ADAC2CA5@major-k.de> References: <6f2764e5-7d1a-fef1-dca5-4e592063bbec@gmail.com> <5101334E-C6C8-40B6-8CFA-9398ADAC2CA5@major-k.de> Message-ID: <7F2A4982-2B6F-47DF-8989-C58B7216B2AC@byu.edu> There is also a measureText() function that might help. Devin > On Oct 24, 2020, at 4:35 AM, Klaus major-k via use-livecode wrote: > > Hi Richmond, > >> Am 24.10.2020 um 12:17 schrieb Richmond via use-livecode : >> >> Over in the Forums someone has asked a question about measuring the length of text lines. >> Of course one can count characters, but in most alphabetic systems different characters have different lengths. >> Is there a way to measure the length as in LENGTH of a line rather than count the number of characters it >> contains? > > ... > put the formattedwidth of line 1 of fld 1 > ... > >> Richmond. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From lfredricks at proactive-intl.com Mon Oct 26 13:01:18 2020 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 26 Oct 2020 10:01:18 -0700 Subject: Valentina Reports, DB & Server for LiveCode Updated to 10.5.5 Message-ID: <955A30AC90C244F7B44D87979CE5EB86@GATEWAY> Yes, we are still around. We just released Valentina Release 10.5.5, which included updates to Valentina Server, Valentina Studio as well as the Valentina ADKs for LiveCode. There is a new installer script for LiveCode 9.x that should work much better. Valentina DB ADK for LiveCode embeds our ultra fast database engine as well as our implementation of SQLite runtime with your LiveCode app. Valentina Reports ADK for LiveCode embeds our reporting engine runtime with your LiveCode app. Connectivity to Valentina Server for LiveCode is included free in the license of Server. Valentina Studio is our free database management tool for macOS Windows and Linux, which you can get here: https://valentina-db.net/en/get-free-valentina-studio You need Studio Pro though to use Report Designer. Stay safe! Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com --- This email has been checked for viruses by AVG. https://www.avg.com From bobsneidar at iotecdigital.com Mon Oct 26 13:17:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 26 Oct 2020 17:17:03 +0000 Subject: Line length In-Reply-To: <5101334E-C6C8-40B6-8CFA-9398ADAC2CA5@major-k.de> References: <6f2764e5-7d1a-fef1-dca5-4e592063bbec@gmail.com> <5101334E-C6C8-40B6-8CFA-9398ADAC2CA5@major-k.de> Message-ID: <254EBB6D-134B-421B-9319-6307EFBDD9BB@iotecdigital.com> I have a field on one of my apps whose width needs to change depending on content, but there is a minimum and a maximum width aspect, so that an empty field doesn?t appear like a weird tiny rectangle or stretch to overlap other objects. I use something like: if the formattedWidth of field x < tMinWidth then set the width of field x to tMinWidth else if the formattedWidth of field x > tMaxWidth then set the width of field x to tMaxWidth else set the width of field x to the formattedWidth of field x Bob S > On Oct 24, 2020, at 3:35 AM, Klaus major-k via use-livecode wrote: > > Hi Richmond, > >> Am 24.10.2020 um 12:17 schrieb Richmond via use-livecode : >> >> Over in the Forums someone has asked a question about measuring the length of text lines. >> Of course one can count characters, but in most alphabetic systems different characters have different lengths. >> Is there a way to measure the length as in LENGTH of a line rather than count the number of characters it >> contains? > > ... > put the formattedwidth of line 1 of fld 1 > ... > >> Richmond. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Mon Oct 26 13:32:24 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 26 Oct 2020 13:32:24 -0400 Subject: Slightly OT: Windows Code Signing Message-ID: My Windows Code signing cert for signing LiveCode standalones has expired. I purchased it from instantsll.com (3 year) which has become sectigo.com and it appears that they never moved over old accounts since my prior username, email, and password do not work nor does the email work for password recovery. So I bought a new one from comodosslstore.com (which turns out is also sectigo.com). Verification was quick and automate - no problem. Now my cert is ready, but the download/install instructions requires Internet Explorer 11 or Firefox 68 or older (Firefox is at version 82 and Microsoft Edge is what comes with Windows 10 not Internet Explorer 11 Their support documentation is conflicting and terrible (IMHO). It is not too late to cancel the order and buy elsewhere. Does anyone have a recommendation for a supplier of Windows Code Signing certs that have a simple and straight forward process for buying AND getting the .p12 file you ultimately need for code signing? This is kind of urgent since we are unable to sign until we get a new cert. From dan at clearvisiontech.com Mon Oct 26 13:44:16 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 26 Oct 2020 17:44:16 +0000 Subject: Line length In-Reply-To: <254EBB6D-134B-421B-9319-6307EFBDD9BB@iotecdigital.com> References: <6f2764e5-7d1a-fef1-dca5-4e592063bbec@gmail.com> <5101334E-C6C8-40B6-8CFA-9398ADAC2CA5@major-k.de> <254EBB6D-134B-421B-9319-6307EFBDD9BB@iotecdigital.com> Message-ID: <3D43929F-F3B0-4B0E-876D-5E553A8EF123@clearvisiontech.com> Bob, I do what you're talking about all the time. Here's my setObjectHeightToText command that I use (pass it the long id of the field, and the minimum height you want): on setObjectHeightToText lID,minH put the rect of lID into tRect put item 2 of tRect + the formattedHeight of lID into item 4 of tRect if minH > 1 then if item 4 of tRect - item 2 of tRect < minH then put item 2 of tRect + minH into item 4 of tRect end if end if set the rect of lID to tRect end setObjectHeightToText Hope that helps! -Dan ?On 10/26/20, 10:18 AM, "use-livecode on behalf of Bob Sneidar via use-livecode" wrote: I have a field on one of my apps whose width needs to change depending on content, but there is a minimum and a maximum width aspect, so that an empty field doesn?t appear like a weird tiny rectangle or stretch to overlap other objects. I use something like: if the formattedWidth of field x < tMinWidth then set the width of field x to tMinWidth else if the formattedWidth of field x > tMaxWidth then set the width of field x to tMaxWidth else set the width of field x to the formattedWidth of field x Bob S > On Oct 24, 2020, at 3:35 AM, Klaus major-k via use-livecode wrote: > > Hi Richmond, > >> Am 24.10.2020 um 12:17 schrieb Richmond via use-livecode : >> >> Over in the Forums someone has asked a question about measuring the length of text lines. >> Of course one can count characters, but in most alphabetic systems different characters have different lengths. >> Is there a way to measure the length as in LENGTH of a line rather than count the number of characters it >> contains? > > ... > put the formattedwidth of line 1 of fld 1 > ... > >> Richmond. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Oct 26 14:25:56 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 26 Oct 2020 19:25:56 +0100 Subject: Slightly OT: Windows Code Signing In-Reply-To: References: Message-ID: <8521848D-1117-4684-B277-CB5965F71B48@m-r-d.de> Hi Paul, first of all buying directly through Sectigo is expensive. If you purchase from one of Sectigo's partners you'll get it much cheaper. I've purchased in July a 3year code signing certificate ( not the ELV) for 207 Euro for all 3 years. The certifcate was also delivered by Sectigo. And i was able to download the certificate on my Windows 10 VM with Internet Explorer, if i remember right. I even cannot remember that a special version of Mozilla was required. They only mentioned, that you cannot fetch your certificate with MS Edge, Chrome and Safari. I've did the complete purchase process on my Windows 10 VM. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 26.10.2020 um 18:32 schrieb Paul Dupuis via use-livecode : > > My Windows Code signing cert for signing LiveCode standalones has expired. > > I purchased it from instantsll.com (3 year) which has become sectigo.com and it appears that they never moved over old accounts since my prior username, email, and password do not work nor does the email work for password recovery. > > So I bought a new one from comodosslstore.com (which turns out is also sectigo.com). Verification was quick and automate - no problem. > > Now my cert is ready, but the download/install instructions requires Internet Explorer 11 or Firefox 68 or older (Firefox is at version 82 and Microsoft Edge is what comes with Windows 10 not Internet Explorer 11 > > Their support documentation is conflicting and terrible (IMHO). > > It is not too late to cancel the order and buy elsewhere. Does anyone have a recommendation for a supplier of Windows Code Signing certs that have a simple and straight forward process for buying AND getting the .p12 file you ultimately need for code signing? > > This is kind of urgent since we are unable to sign until we get a new cert. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Oct 26 14:25:46 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 26 Oct 2020 20:25:46 +0200 Subject: [ANN] This Week in LiveCode 242 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #242 here: https://bit.ly/3opGOwd This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From paul at researchware.com Mon Oct 26 15:32:38 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 26 Oct 2020 15:32:38 -0400 Subject: Slightly OT: Windows Code Signing In-Reply-To: <8521848D-1117-4684-B277-CB5965F71B48@m-r-d.de> References: <8521848D-1117-4684-B277-CB5965F71B48@m-r-d.de> Message-ID: <8c8690a8-d343-16a5-ea5e-03ba0845ba83@researchware.com> Thank you Matthias, I did notice the unexpectedly large price on Sectigo direct and purchase a 3 year through comodosslstore.com for about $212.50 USD, so at an okay price for me. Mine is just a plain signing cert, not the EV. What I ran into that was very frustrating was the browser requirements. You would think - especially with the vagueness of browsers supporting certain features - that they would make an app to do their own CSR generation at the start of the process and the same app can do the download at the end I do not have any older version of IE (on VMs or otherwise). I did download Firefox 68 (current release is 82!, but 68 is only from early 2019) but could not get it to work. Finally I was able to download my cert via Safari under Mojave and move it to my Windows 10 via Dropbox and under Windows 10 use the MMC (Microsoft Management Console) to import it and export it in p12 (.pfk) format for use in signing Standalones. Success, but what a pain to go through. If anyone has found a Issuer that will just let you download the code signing cert as a .p12 pr .pfk file, I'd like to know. On 10/26/2020 2:25 PM, matthias rebbe via use-livecode wrote: > Hi Paul, > > first of all buying directly through Sectigo is expensive. If you purchase from one of Sectigo's partners you'll get it much cheaper. > I've purchased in July a 3year code signing certificate ( not the ELV) for 207 Euro for all 3 years. The certifcate was also delivered by Sectigo. And i was able to download the certificate on my Windows 10 VM with Internet Explorer, if i remember right. I even cannot remember that a special version of Mozilla was required. > They only mentioned, that you cannot fetch your certificate with MS Edge, Chrome and Safari. > I've did the complete purchase process on my Windows 10 VM. > > Regards, > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 26.10.2020 um 18:32 schrieb Paul Dupuis via use-livecode : >> >> My Windows Code signing cert for signing LiveCode standalones has expired. >> >> I purchased it from instantsll.com (3 year) which has become sectigo.com and it appears that they never moved over old accounts since my prior username, email, and password do not work nor does the email work for password recovery. >> >> So I bought a new one from comodosslstore.com (which turns out is also sectigo.com). Verification was quick and automate - no problem. >> >> Now my cert is ready, but the download/install instructions requires Internet Explorer 11 or Firefox 68 or older (Firefox is at version 82 and Microsoft Edge is what comes with Windows 10 not Internet Explorer 11 >> >> Their support documentation is conflicting and terrible (IMHO). >> >> It is not too late to cancel the order and buy elsewhere. Does anyone have a recommendation for a supplier of Windows Code Signing certs that have a simple and straight forward process for buying AND getting the .p12 file you ultimately need for code signing? >> >> This is kind of urgent since we are unable to sign until we get a new cert. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Mon Oct 26 21:05:25 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 26 Oct 2020 21:05:25 -0400 Subject: VPN and tsNet Message-ID: <1D8F803A-1F92-4B07-A35F-7A726221F289@milby7.com> I have a fairly simple stack that I use to get FedEx tracking data using tsNetPostSync. It has worked fine until a new VPN connection was added. The only change that I know is that it no longer allows a split tunnel so everything must go through the VPN. Assuming that is the issue, how do I configure tsNet to use the VPN instead of trying to connect directly? (I?m pretty sure that proxy is not enabled yet, but that is probably coming too). I did try to set the defaultNetworkInterface but it did not seem to have any impact. For now I am just disconnecting the VPN to pull the data. Thanks for any help/pointers, Brian From matthias_livecode_150811 at m-r-d.de Tue Oct 27 04:26:10 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 27 Oct 2020 09:26:10 +0100 Subject: VPN and tsNet In-Reply-To: <1D8F803A-1F92-4B07-A35F-7A726221F289@milby7.com> References: <1D8F803A-1F92-4B07-A35F-7A726221F289@milby7.com> Message-ID: I am not sure if this can be done/set in tsNET. As far as i know this is set on the system or router which establish the VPN connection. One would change the default route to the VPN tunnel. That would route all internet traffic through the VPN as long as the VPN connection is established. In Draytek routers for example it is set directly where the Lan2Lan or DialOut connection is configured. It is labeled "Change default route to this VPN tunnel" In the Shimo VPN client for example it is the option "route all traffic through VPN". I do not have the exact english expression, because i have here a GERMAN MacOS and i am not able to force Shimo to display the English GUI. Cannot find the proper de.lproj. Anyway. How do you establish the VPN and on which operating system are you? On MacOS for example it should be possible to use Applescript to change the default route. At least i've read about, that it is possible to disable VPN as default route. So i assume it should be also possible to set it as default. Here's a site which describes the opposite: Disabling VPN as default route. Maybe that gives you at least an idea. https://phaq.phunsites.net/2011/12/29/vpninit-applescript-override-and-restore-default-vpn-routes-on-os-x/ Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 27.10.2020 um 02:05 schrieb Brian Milby via use-livecode : > > I have a fairly simple stack that I use to get FedEx tracking data using tsNetPostSync. It has worked fine until a new VPN connection was added. The only change that I know is that it no longer allows a split tunnel so everything must go through the VPN. Assuming that is the issue, how do I configure tsNet to use the VPN instead of trying to connect directly? (I?m pretty sure that proxy is not enabled yet, but that is probably coming too). I did try to set the defaultNetworkInterface but it did not seem to have any impact. For now I am just disconnecting the VPN to pull the data. > > Thanks for any help/pointers, > Brian > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Oct 27 06:03:42 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 27 Oct 2020 10:03:42 +0000 Subject: VPN and tsNet In-Reply-To: <1D8F803A-1F92-4B07-A35F-7A726221F289@milby7.com> References: <1D8F803A-1F92-4B07-A35F-7A726221F289@milby7.com> Message-ID: <7fa9a7ee39ce2c428288d0014b7df4dd@livecode.com> On 2020-10-27 01:05, Brian Milby via use-livecode wrote: > I have a fairly simple stack that I use to get FedEx tracking data > using tsNetPostSync. It has worked fine until a new VPN connection > was added. The only change that I know is that it no longer allows a > split tunnel so everything must go through the VPN. Assuming that is > the issue, how do I configure tsNet to use the VPN instead of trying > to connect directly? (I?m pretty sure that proxy is not enabled yet, > but that is probably coming too). I did try to set the > defaultNetworkInterface but it did not seem to have any impact. For > now I am just disconnecting the VPN to pull the data. I *think* the 'interface' setting is what you want: ?interface?: (Introduced in tsNet version 1.4.0) Specify the interface, IP address or host name to be used for the outgoing connection. This should be set to the local ip address of the interface (i.e. VPN) you want the socket connection to come from on the local machine. Warmest Regards, Mark. P.S. Hopefully Charles can correct this if I'm wrong! -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From matthias_livecode_150811 at m-r-d.de Tue Oct 27 10:14:34 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 27 Oct 2020 15:14:34 +0100 Subject: VPN and tsNet In-Reply-To: <7fa9a7ee39ce2c428288d0014b7df4dd@livecode.com> References: <1D8F803A-1F92-4B07-A35F-7A726221F289@milby7.com> <7fa9a7ee39ce2c428288d0014b7df4dd@livecode.com> Message-ID: <15F90206-DDD6-45ED-8787-0C6EAA4F9ED0@m-r-d.de> Just want to confirm that using "interface" in the settings array works here. First i've called a LC Server script on a web server without using interface. The script returns the remote ip. put tsNetGetSync("https://xxxxxxxx.xx/remoteIP.lc",xHeaders,rOutHeaders,rResult,rBytes) It returned my public ip of my office. Then i called the same script, but used interface and set it with my remote VPN ip address put "192.168.1.201" into tSettings["interface"] put tsNetGetSync("https://xxxxxxxx.xx/remoteIP.lc",xHeaders,rOutHeaders,rResult,rBytes,tSettings) The script now returned the public internet ip of the remote office. Amazing! tsNET is so powerful. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 27.10.2020 um 11:03 schrieb Mark Waddingham via use-livecode : > > On 2020-10-27 01:05, Brian Milby via use-livecode wrote: >> I have a fairly simple stack that I use to get FedEx tracking data >> using tsNetPostSync. It has worked fine until a new VPN connection >> was added. The only change that I know is that it no longer allows a >> split tunnel so everything must go through the VPN. Assuming that is >> the issue, how do I configure tsNet to use the VPN instead of trying >> to connect directly? (I?m pretty sure that proxy is not enabled yet, >> but that is probably coming too). I did try to set the >> defaultNetworkInterface but it did not seem to have any impact. For >> now I am just disconnecting the VPN to pull the data. > > I *think* the 'interface' setting is what you want: > > ?interface?: (Introduced in tsNet version 1.4.0) Specify the interface, IP address or host name to be used for the outgoing connection. > > This should be set to the local ip address of the interface (i.e. VPN) you want the socket connection to come from on the local machine. > > Warmest Regards, > > Mark. > > P.S. Hopefully Charles can correct this if I'm wrong! > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Tue Oct 27 14:51:04 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 27 Oct 2020 14:51:04 -0400 Subject: VPN and tsNet In-Reply-To: <7fa9a7ee39ce2c428288d0014b7df4dd@livecode.com> References: <7fa9a7ee39ce2c428288d0014b7df4dd@livecode.com> Message-ID: Additional details: Win 10 OS / LC 9.6.1 Business Pulse Secure VPN If I do a tracert to the host name on the old VPN or no VPN then it reports 2 hops. While on the new VPN, the first 4 hops are internal IPs and then nothing else. Just using the IP that should be the VPN interface doesn?t seem to work, so I will need to do some more digging. Since I still have access to the old VPN for another week I can try on it as well (using the VPN instead of direct). Thanks for the hints so far. Sent from my iPhone > On Oct 27, 2020, at 6:04 AM, Mark Waddingham via use-livecode wrote: > > ?On 2020-10-27 01:05, Brian Milby via use-livecode wrote: >> I have a fairly simple stack that I use to get FedEx tracking data >> using tsNetPostSync. It has worked fine until a new VPN connection >> was added. The only change that I know is that it no longer allows a >> split tunnel so everything must go through the VPN. Assuming that is >> the issue, how do I configure tsNet to use the VPN instead of trying >> to connect directly? (I?m pretty sure that proxy is not enabled yet, >> but that is probably coming too). I did try to set the >> defaultNetworkInterface but it did not seem to have any impact. For >> now I am just disconnecting the VPN to pull the data. > > I *think* the 'interface' setting is what you want: > > ?interface?: (Introduced in tsNet version 1.4.0) Specify the interface, IP address or host name to be used for the outgoing connection. > > This should be set to the local ip address of the interface (i.e. VPN) you want the socket connection to come from on the local machine. > > Warmest Regards, > > Mark. > > P.S. Hopefully Charles can correct this if I'm wrong! > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Oct 27 15:06:01 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 27 Oct 2020 20:06:01 +0100 Subject: VPN and tsNet In-Reply-To: References: <7fa9a7ee39ce2c428288d0014b7df4dd@livecode.com> Message-ID: <083A9FC1-A536-41A9-98AA-00DFF17101B9@m-r-d.de> Brian, is "Pulse Secure VPN" just a client? If so, i could try test here with our existing VPN. I was on their site and they are offering a free trial, but to be honest, i am not sure what to download. ;) So if you could provide a download link for the client? Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 27.10.2020 um 19:51 schrieb Brian Milby via use-livecode : > > Additional details: > Win 10 OS / LC 9.6.1 Business > Pulse Secure VPN > > If I do a tracert to the host name on the old VPN or no VPN then it reports 2 hops. While on the new VPN, the first 4 hops are internal IPs and then nothing else. Just using the IP that should be the VPN interface doesn?t seem to work, so I will need to do some more digging. > > Since I still have access to the old VPN for another week I can try on it as well (using the VPN instead of direct). > > Thanks for the hints so far. > > Sent from my iPhone > >> On Oct 27, 2020, at 6:04 AM, Mark Waddingham via use-livecode wrote: >> >> ?On 2020-10-27 01:05, Brian Milby via use-livecode wrote: >>> I have a fairly simple stack that I use to get FedEx tracking data >>> using tsNetPostSync. It has worked fine until a new VPN connection >>> was added. The only change that I know is that it no longer allows a >>> split tunnel so everything must go through the VPN. Assuming that is >>> the issue, how do I configure tsNet to use the VPN instead of trying >>> to connect directly? (I?m pretty sure that proxy is not enabled yet, >>> but that is probably coming too). I did try to set the >>> defaultNetworkInterface but it did not seem to have any impact. For >>> now I am just disconnecting the VPN to pull the data. >> >> I *think* the 'interface' setting is what you want: >> >> ?interface?: (Introduced in tsNet version 1.4.0) Specify the interface, IP address or host name to be used for the outgoing connection. >> >> This should be set to the local ip address of the interface (i.e. VPN) you want the socket connection to come from on the local machine. >> >> Warmest Regards, >> >> Mark. >> >> P.S. Hopefully Charles can correct this if I'm wrong! >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Everyone can create apps >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Oct 28 06:28:18 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 28 Oct 2020 10:28:18 +0000 Subject: New to Get a Copy of Scaled Down Version of an Image Message-ID: Take for example [command] resizeToWidth tImage, 400 on resizeToWidth pImage,pSize local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight set the itemdel to "x" put item 1 of sCurrentGraphicRect into tOrigImgWidth put item 2 of sCurrentGraphicRect into tOrigImgHeight if tOrigImgWidth is 0 then exit resizeToWidth put pSize/tOrigImgWidth into tRatio put (tOrigImgHeight * tRatio) into tNewHeight put (tOrigImgWidth * tRatio) into tNewWidth set the rect of pImage to 0,0,tNewWidth,tNewHeight end resizeToWidth How do I get a copy, with the image scaled down, which is visible on screen? [coded] if (the width of tImage > the heigth of tImage ) then # portrait resizeToWidth tImage, 400 else # landscape resizeToHeigth tImage, 400 end if # now we set the img to the img "currentpuzzle" set the name of the last image to "currentpuzzle" # and copy the data, at 400px wide put the rect of the last image into tImageData["rect"] put the imageData of the last image into tImageData["image"] put tImageData["image"] into image "currentpuzzle" BUT the full scaled copy of the image "currentpuzzle" comes into view. I wanted to get a scaled down version? Svasti Astu ? Be Well Brahmanathaswami Get SivaSiva.app ? It free! https://www.himalayanacademy.com/view/sivasiva From brahma at hindu.org Wed Oct 28 07:04:17 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 28 Oct 2020 11:04:17 +0000 Subject: New to Get a Copy of Scaled Down Version of an Image Message-ID: Take for example [command] resizeToWidth tImage, 400 on resizeToWidth pImage,pSize local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight set the itemdel to "x" put item 1 of sCurrentGraphicRect into tOrigImgWidth put item 2 of sCurrentGraphicRect into tOrigImgHeight if tOrigImgWidth is 0 then exit resizeToWidth put pSize/tOrigImgWidth into tRatio put (tOrigImgHeight * tRatio) into tNewHeight put (tOrigImgWidth * tRatio) into tNewWidth set the rect of pImage to 0,0,tNewWidth,tNewHeight end resizeToWidth How do I get a copy, with the image scaled down, which is visible on screen? [coded] if (the width of tImage > the heigth of tImage ) then # portrait resizeToWidth tImage, 400 else # landscape resizeToHeigth tImage, 400 end if # now we set the img to the img "currentpuzzle" set the name of the last image to "currentpuzzle" # and copy the data, at 400px wide put the rect of the last image into tImageData["rect"] put the imageData of the last image into tImageData["image"] put tImageData["image"] into image "currentpuzzle" BUT the full scaled copy of the image "currentpuzzle" comes into view. I wanted to get a scaled down version? How do we implement this, from the dictionary The imageData, unlike the contents of the image container, is based on the picture as it's presented on the screen, not stored in the image object. This means that if you resize an image, the content of the image does not change, but its imageData does. If you create an image and then reduce its size, its imageData reflects the scaled-down, displayed image, not the original full-scale image. If you create a second image and set its imageData property to the imageData of the original image, resizing the first image back to the original dimensions displays the original image at full resolution, but resizing the second image does not, because setting its imageData transferred only the scaled-down version of the original. BR From richmondmathewson at gmail.com Wed Oct 28 07:34:24 2020 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 28 Oct 2020 13:34:24 +0200 Subject: New to Get a Copy of Scaled Down Version of an Image In-Reply-To: References: Message-ID: <25162da6-1f37-ef53-4129-b477bb9b5016@gmail.com> Remember that you have to lock an image to stop it popping back to its original size. Or, alternatively, you could change the order of your code. Also, you have misspelt 'height' in "resizeToHeigth". Also, while you have defined "resizeToWidth", you don't appear to have defined "resizeToHeight" in the code you have posted. The whole procedure looks a bit wonky: so I shall "go away" and try my own version. Best, Richmond. On 28.10.20 12:28, Sannyasin Brahmanathaswami via use-livecode wrote: > Take for example > > [command] resizeToWidth tImage, 400 > > on resizeToWidth pImage,pSize > local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight > set the itemdel to "x" > put item 1 of sCurrentGraphicRect into tOrigImgWidth > put item 2 of sCurrentGraphicRect into tOrigImgHeight > > if tOrigImgWidth is 0 then exit resizeToWidth > > put pSize/tOrigImgWidth into tRatio > put (tOrigImgHeight * tRatio) into tNewHeight > put (tOrigImgWidth * tRatio) into tNewWidth > > set the rect of pImage to 0,0,tNewWidth,tNewHeight > > end resizeToWidth > > How do I get a copy, with the image scaled down, which is visible on screen? > > [coded] > if (the width of tImage > the heigth of tImage ) then > # portrait > resizeToWidth tImage, 400 > else > # landscape > resizeToHeigth tImage, 400 > end if > > # now we set the img to the img "currentpuzzle" > set the name of the last image to "currentpuzzle" > > # and copy the data, at 400px wide > put the rect of the last image into tImageData["rect"] > put the imageData of the last image into tImageData["image"] > > put tImageData["image"] into image "currentpuzzle" > > > BUT the full scaled copy of the image "currentpuzzle" comes into view. I wanted to get a scaled down version? > > > Svasti Astu ? Be Well > Brahmanathaswami > > Get SivaSiva.app ? It free! > https://www.himalayanacademy.com/view/sivasiva > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Oct 28 09:29:42 2020 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 28 Oct 2020 15:29:42 +0200 Subject: New to Get a Copy of Scaled Down Version of an Image In-Reply-To: <25162da6-1f37-ef53-4129-b477bb9b5016@gmail.com> References: <25162da6-1f37-ef53-4129-b477bb9b5016@gmail.com> Message-ID: https://www.dropbox.com/s/gdrsa4git7l6war/imager.livecode.zip?dl=0 Richmond On 28.10.20 13:34, Richmond wrote: > Remember that you have to lock an image to stop it popping back to its > original size. > > Or, alternatively, you could change the order of your code. > > Also, you have misspelt 'height' in "resizeToHeigth". > > Also, while you have defined "resizeToWidth", you don't appear to have > defined "resizeToHeight" in the code you have posted. > > The whole procedure looks a bit wonky: so I shall "go away" and try my > own version. > > Best, Richmond. > > On 28.10.20 12:28, Sannyasin Brahmanathaswami via use-livecode wrote: >> Take for example >> >> [command] resizeToWidth tImage, 400 >> >> on resizeToWidth pImage,pSize >> ??? local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight >> ??? set the itemdel to "x" >> ??? put item 1 of sCurrentGraphicRect into tOrigImgWidth >> ??? put item 2 of sCurrentGraphicRect into tOrigImgHeight >> >> ??? if tOrigImgWidth is 0 then exit resizeToWidth >> >> ??? put pSize/tOrigImgWidth into tRatio >> ??? put (tOrigImgHeight * tRatio) into tNewHeight >> ??? put (tOrigImgWidth * tRatio) into? tNewWidth >> >> ??? set the rect of? pImage to 0,0,tNewWidth,tNewHeight >> >> end resizeToWidth >> >> How do I get a copy, with the image scaled down, which is visible on >> screen? >> >> [coded] >> ?? if (the width of tImage > the heigth of tImage )? then >> ?????? # portrait >> ?????? resizeToWidth tImage, 400 >> ??? else >> ?????? # landscape >> ?????? resizeToHeigth tImage, 400 >> ??? end if >> >> ??? # now we set the img to the img "currentpuzzle" >> ??? set the name of the last image to "currentpuzzle" >> >> ??? # and copy the data, at 400px wide >> ??? put the rect of the last image into tImageData["rect"] >> ??? put the imageData of the last image into tImageData["image"] >> >> ??? put tImageData["image"] into image "currentpuzzle" >> >> >> ??? BUT the full scaled copy of the image "currentpuzzle" comes into >> view. I wanted to get a scaled down version? >> >> >> Svasti Astu ? Be Well >> Brahmanathaswami >> >> Get SivaSiva.app ? It free! >> https://www.himalayanacademy.com/view/sivasiva >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Wed Oct 28 11:24:39 2020 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 28 Oct 2020 15:24:39 +0000 Subject: Livecode server UNIX version (not Linux). In-Reply-To: References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> Message-ID: On Mon, 19 Oct 2020 at 21:31, Paul McClernan via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations > > of Unix (I think is just means Linux)". > > > > I'm thinking about tinkering with a FreeBSD server and LiveCode server, > > but I didn't see a "UNIX" version, so I suppose that I have to compile > it. > > Have any of you installed LiveCode server on FreeBSD (or Solaris)? > > > > As others mentioned, this is dated information. However, last I checked > macOS (or rather the "Darwin" layer of macOS) is POSIX compliant and built > from BSD UNIX 4.4 & bits of FreeBSD. So, I would not be all that surprised > if a LiveCode for macOS GUI-less/CLI executable could run on some other > BSD. > > That is not really how this works. macOS is built on top of old NEXTSTEP and it is POSIX compliant buuuuut that doesn't mean that LC from mac can work on BSD. MacOS uses the XNU kernel, its executable file format and shared library file format are unique and not related at all to anything that a BSD can run. FreeBSD can run Linux binaries though as can be seen in the FreeBSD Handbook: https://www.freebsd.org/doc/handbook/linuxemu.html This is done through emulation and I can't vouch for the performance or correctness of it but, in theory you can install the necessary components and libraries and then be able to run the Linux version of LC in FreeBSD. Another option is trying to build from source. To be effective, this would require knowledge of the FreeBSD ports and packages system besides knowing enough of LC source and C++ to patch anything needed. I bet they'd love such a contribution if you have the chops to do it. -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From jacque at hyperactivesw.com Wed Oct 28 11:37:51 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 28 Oct 2020 10:37:51 -0500 Subject: New to Get a Copy of Scaled Down Version of an Image In-Reply-To: References: Message-ID: <1756fdbb498.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Try changing this line: put tImageData["image"] into image "currentpuzzle" to this: set the imageData of image "currentpuzzle" to tImageData["image"] -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 28, 2020 6:06:39 AM Sannyasin Brahmanathaswami via use-livecode wrote: > Take for example > > [command] resizeToWidth tImage, 400 > > on resizeToWidth pImage,pSize > local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight > set the itemdel to "x" > put item 1 of sCurrentGraphicRect into tOrigImgWidth > put item 2 of sCurrentGraphicRect into tOrigImgHeight > > if tOrigImgWidth is 0 then exit resizeToWidth > > put pSize/tOrigImgWidth into tRatio > put (tOrigImgHeight * tRatio) into tNewHeight > put (tOrigImgWidth * tRatio) into tNewWidth > > set the rect of pImage to 0,0,tNewWidth,tNewHeight > > end resizeToWidth > > How do I get a copy, with the image scaled down, which is visible on screen? > > [coded] > if (the width of tImage > the heigth of tImage ) then > # portrait > resizeToWidth tImage, 400 > else > # landscape > resizeToHeigth tImage, 400 > end if > > # now we set the img to the img "currentpuzzle" > set the name of the last image to "currentpuzzle" > > # and copy the data, at 400px wide > put the rect of the last image into tImageData["rect"] > put the imageData of the last image into tImageData["image"] > > put tImageData["image"] into image "currentpuzzle" > > > BUT the full scaled copy of the image "currentpuzzle" comes into view. I > wanted to get a scaled down version? > > How do we implement this, from the dictionary > > > The imageData, unlike the contents of the image > container, is based on the picture as it's presented on the > screen, not stored in the image object. > This means that if you resize an image, the content of the > image does not change, but its imageData does. If you create an > image and then reduce its size, its imageData reflects the > scaled-down, displayed image, not the original full-scale > image. If you create a second image and set its > imageData property to the imageData of the original > image, resizing the first image back to the > original dimensions displays the original image at full > resolution, but resizing the second image does not, because > setting its imageData transferred only the scaled-down version of the original. > > > BR > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Wed Oct 28 14:04:25 2020 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 28 Oct 2020 19:04:25 +0100 Subject: How to divide card with/in 3 vertical lines? Message-ID: Hi there, I need 3 vertical lines in my iOS app with equal distance and from top to bottom. So I use the script below. It is almost perfect but not quite. Is there a better way to do this? ------ *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2 set the loc of grc "line2" to cardWidth/2, cardHeight/2 set the loc of grc "line3" to cardWidth/1.33, cardHeight/2 set the height of grc "line1" to cardHeight set the height of grc "line2" to cardHeight set the height of grc "line3" to cardHeight ------ greetings, William From scott at elementarysoftware.com Wed Oct 28 15:53:37 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 28 Oct 2020 12:53:37 -0700 Subject: How to divide card with/in 3 vertical lines? In-Reply-To: References: Message-ID: <55E071A2-A9D8-4281-87C5-5F3B0A8DFE27@elementarysoftware.com> When you say "almost perfect but not quite? what exactly are you meaning? ?Scott > On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode wrote: > > Hi there, > > I need 3 vertical lines in my iOS app with equal distance and from top to > bottom. > So I use the script below. It is almost perfect but not quite. > Is there a better way to do this? > ------ > *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2 > set the loc of grc "line2" to cardWidth/2, cardHeight/2 > set the loc of grc "line3" to cardWidth/1.33, cardHeight/2 > > set the height of grc "line1" to cardHeight > set the height of grc "line2" to cardHeight > set the height of grc "line3" to cardHeight > ------ > > greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Wed Oct 28 15:53:46 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Wed, 28 Oct 2020 15:53:46 -0400 Subject: Livecode server UNIX version (not Linux). In-Reply-To: References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> Message-ID: <193712bd-c943-cb9d-93c1-8864e36aaeb3@networkdreams.net> Thanks Andre, I realized that BSD kernels are not the same as MacOS kernels. As you say: MacOS has a hybrid kernel based on XNU and some parts of BSD. I'm only interested in running the Livecode server version and not the IDE. So, I think that compiling could be the best solution. I have been coding with Livecode for several years almost every week. So my mind is very "Livecodized". In fact, when I have to change to PHP, JS, Python or Golang, I feel very unproductive. Everything takes much more time than doing it with Livecode. I would like not only to run Livecode server on BSD, but also on different hardware platforms. I think on the IOT field Livecode script could have a good opportunity to be a killer language. In the past, I tried to compile Livecode server for this devices, but I got several errors: https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=279 So, here is my idea: What about to create non official versions of Livecode server (for scripting purposes) for other platforms not yet supported? I think it could be good for RunRev: They won't have to work supporting those versions and Livecode language will spread to other fields. What do you guys think? Do you think we'll have enough manpower into our community to do that? Best, Hery On 10/28/20 11:24 AM, Andre Garzia via use-livecode wrote: > On Mon, 19 Oct 2020 at 21:31, Paul McClernan via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations >>> of Unix (I think is just means Linux)". >>> >>> I'm thinking about tinkering with a FreeBSD server and LiveCode server, >>> but I didn't see a "UNIX" version, so I suppose that I have to compile >> it. >>> Have any of you installed LiveCode server on FreeBSD (or Solaris)? >>> >> As others mentioned, this is dated information. However, last I checked >> macOS (or rather the "Darwin" layer of macOS) is POSIX compliant and built >> from BSD UNIX 4.4 & bits of FreeBSD. So, I would not be all that surprised >> if a LiveCode for macOS GUI-less/CLI executable could run on some other >> BSD. >> >> > That is not really how this works. > > macOS is built on top of old NEXTSTEP and it is POSIX compliant buuuuut > that doesn't mean that LC from mac can work on BSD. MacOS uses the XNU > kernel, its executable file format and shared library file format are > unique and not related at all to anything that a BSD can run. > > FreeBSD can run Linux binaries though as can be seen in the FreeBSD > Handbook: > > https://www.freebsd.org/doc/handbook/linuxemu.html > > This is done through emulation and I can't vouch for the performance or > correctness of it but, in theory you can install the necessary components > and libraries and then be able to run the Linux version of LC in FreeBSD. > > Another option is trying to build from source. To be effective, this would > require knowledge of the FreeBSD ports and packages system besides knowing > enough of LC source and C++ to patch anything needed. I bet they'd love > such a contribution if you have the chops to do it. > > From williamdesmet at gmail.com Wed Oct 28 16:15:05 2020 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 28 Oct 2020 21:15:05 +0100 Subject: How to divide card with/in 3 vertical lines? In-Reply-To: <55E071A2-A9D8-4281-87C5-5F3B0A8DFE27@elementarysoftware.com> References: <55E071A2-A9D8-4281-87C5-5F3B0A8DFE27@elementarysoftware.com> Message-ID: Hi Scott, Line 3 should be at loc 768,384 but is now at loc 770,384 (stack 1024x768). This is because 'cardWidth/1.33' is not precise enough? Greetings, William Op wo 28 okt. 2020 om 20:54 schreef scott--- via use-livecode < use-livecode at lists.runrev.com>: > When you say "almost perfect but not quite? what exactly are you meaning? > > ?Scott > > > On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi there, > > > > I need 3 vertical lines in my iOS app with equal distance and from top to > > bottom. > > So I use the script below. It is almost perfect but not quite. > > Is there a better way to do this? > > ------ > > *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2 > > set the loc of grc "line2" to cardWidth/2, cardHeight/2 > > set the loc of grc "line3" to cardWidth/1.33, cardHeight/2 > > > > set the height of grc "line1" to cardHeight > > set the height of grc "line2" to cardHeight > > set the height of grc "line3" to cardHeight > > ------ > > > > greetings, > > > > William > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at me.com Wed Oct 28 16:26:38 2020 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 28 Oct 2020 20:26:38 +0000 Subject: How to divide card with/in 3 vertical lines? In-Reply-To: References: Message-ID: Are you able to use 'CardWidth*4/3' to get 1.33 recurring? Best, Keith > On 28 Oct 2020, at 20:16, William de Smet via use-livecode wrote: > > ?Hi Scott, > > Line 3 should be at loc 768,384 but is now at loc 770,384 (stack 1024x768). > This is because 'cardWidth/1.33' is not precise enough? > > Greetings, > > William > > > > > Op wo 28 okt. 2020 om 20:54 schreef scott--- via use-livecode < > use-livecode at lists.runrev.com>: > >> When you say "almost perfect but not quite? what exactly are you meaning? >> >> ?Scott >> >>> On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi there, >>> >>> I need 3 vertical lines in my iOS app with equal distance and from top to >>> bottom. >>> So I use the script below. It is almost perfect but not quite. >>> Is there a better way to do this? >>> ------ >>> *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2 >>> set the loc of grc "line2" to cardWidth/2, cardHeight/2 >>> set the loc of grc "line3" to cardWidth/1.33, cardHeight/2 >>> >>> set the height of grc "line1" to cardHeight >>> set the height of grc "line2" to cardHeight >>> set the height of grc "line3" to cardHeight >>> ------ >>> >>> greetings, >>> >>> William >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Wed Oct 28 16:27:33 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 28 Oct 2020 16:27:33 -0400 Subject: How to divide card with/in 3 vertical lines? In-Reply-To: References: Message-ID: Need to either use 1.3333 or for exact (in this case) (cardWidth/4)*3 Sent from my iPhone > On Oct 28, 2020, at 4:16 PM, William de Smet via use-livecode wrote: > > ?Hi Scott, > > Line 3 should be at loc 768,384 but is now at loc 770,384 (stack 1024x768). > This is because 'cardWidth/1.33' is not precise enough? > > Greetings, > > William > > > > > Op wo 28 okt. 2020 om 20:54 schreef scott--- via use-livecode < > use-livecode at lists.runrev.com>: > >> When you say "almost perfect but not quite? what exactly are you meaning? >> >> ?Scott >> >>> On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi there, >>> >>> I need 3 vertical lines in my iOS app with equal distance and from top to >>> bottom. >>> So I use the script below. It is almost perfect but not quite. >>> Is there a better way to do this? >>> ------ >>> *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2 >>> set the loc of grc "line2" to cardWidth/2, cardHeight/2 >>> set the loc of grc "line3" to cardWidth/1.33, cardHeight/2 >>> >>> set the height of grc "line1" to cardHeight >>> set the height of grc "line2" to cardHeight >>> set the height of grc "line3" to cardHeight >>> ------ >>> >>> greetings, >>> >>> William >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Wed Oct 28 16:54:58 2020 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 28 Oct 2020 21:54:58 +0100 Subject: How to divide card with/in 3 vertical lines? In-Reply-To: References: Message-ID: Thanks all, The use of 1.3333 or (cardWidth/4)*3 did it! Greetings, William Op wo 28 okt. 2020 om 21:28 schreef Brian Milby via use-livecode < use-livecode at lists.runrev.com>: > Need to either use 1.3333 or for exact (in this case) (cardWidth/4)*3 > > Sent from my iPhone > > > On Oct 28, 2020, at 4:16 PM, William de Smet via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Hi Scott, > > > > Line 3 should be at loc 768,384 but is now at loc 770,384 (stack > 1024x768). > > This is because 'cardWidth/1.33' is not precise enough? > > > > Greetings, > > > > William > > > > > > > > > > Op wo 28 okt. 2020 om 20:54 schreef scott--- via use-livecode < > > use-livecode at lists.runrev.com>: > > > >> When you say "almost perfect but not quite? what exactly are you > meaning? > >> > >> ?Scott > >> > >>> On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> Hi there, > >>> > >>> I need 3 vertical lines in my iOS app with equal distance and from top > to > >>> bottom. > >>> So I use the script below. It is almost perfect but not quite. > >>> Is there a better way to do this? > >>> ------ > >>> *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2 > >>> set the loc of grc "line2" to cardWidth/2, cardHeight/2 > >>> set the loc of grc "line3" to cardWidth/1.33, cardHeight/2 > >>> > >>> set the height of grc "line1" to cardHeight > >>> set the height of grc "line2" to cardHeight > >>> set the height of grc "line3" to cardHeight > >>> ------ > >>> > >>> greetings, > >>> > >>> William > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Oct 28 17:08:35 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 28 Oct 2020 16:08:35 -0500 Subject: How to divide card with/in 3 vertical lines? In-Reply-To: References: Message-ID: On 10/28/20 1:04 PM, William de Smet via use-livecode wrote: > I need 3 vertical lines in my iOS app with equal distance and from top to > bottom. put the width of this cd/4 into tHLoc put the height of this cd/2 into tVLoc set the loc of grc "line1" to tHLoc,tVLoc set the loc of grc "line2" to tHLoc * 2,tVLoc set the loc of grc "line3" to tHLoc * 3,tVLoc This works best if the width of the card is evenly divisible by 4. Fractional locations don't always work, the engine will just round them to the nearest pixel. I also tried div instead of "/" which on my test stack worked a little better. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tore.nilsen at me.com Wed Oct 28 17:46:13 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 28 Oct 2020 22:46:13 +0100 Subject: How to divide card with/in 3 vertical lines? In-Reply-To: References: Message-ID: <44BA48F5-6B93-470D-9648-3E2C10ABCEA2@me.com> You could of course also multiply the width of the card with 0.25, 0.5 and 0.75 to get the same results. Personally I prefer multiplication to division, but the results will be the same. Best regards Tore Nilsen > 28. okt. 2020 kl. 21:54 skrev William de Smet via use-livecode : > > Thanks all, > > The use of 1.3333 or (cardWidth/4)*3 did it! > > > Greetings, > > William > > > > > Op wo 28 okt. 2020 om 21:28 schreef Brian Milby via use-livecode < > use-livecode at lists.runrev.com>: > >> Need to either use 1.3333 or for exact (in this case) (cardWidth/4)*3 >> >> Sent from my iPhone >> >>> On Oct 28, 2020, at 4:16 PM, William de Smet via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> ?Hi Scott, >>> >>> Line 3 should be at loc 768,384 but is now at loc 770,384 (stack >> 1024x768). >>> This is because 'cardWidth/1.33' is not precise enough? >>> >>> Greetings, >>> >>> William >>> >>> >>> >>> >>> Op wo 28 okt. 2020 om 20:54 schreef scott--- via use-livecode < >>> use-livecode at lists.runrev.com>: >>> >>>> When you say "almost perfect but not quite? what exactly are you >> meaning? >>>> >>>> ?Scott >>>> >>>>> On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Hi there, >>>>> >>>>> I need 3 vertical lines in my iOS app with equal distance and from top >> to >>>>> bottom. >>>>> So I use the script below. It is almost perfect but not quite. >>>>> Is there a better way to do this? >>>>> ------ >>>>> *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2 >>>>> set the loc of grc "line2" to cardWidth/2, cardHeight/2 >>>>> set the loc of grc "line3" to cardWidth/1.33, cardHeight/2 >>>>> >>>>> set the height of grc "line1" to cardHeight >>>>> set the height of grc "line2" to cardHeight >>>>> set the height of grc "line3" to cardHeight >>>>> ------ >>>>> >>>>> greetings, >>>>> >>>>> William >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Wed Oct 28 17:58:22 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 28 Oct 2020 22:58:22 +0100 Subject: Is the DateFormat read only? Message-ID: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> A quick test seems to show that the DateFormat can?t be changed by a ?set? command. How then can I force a date to be in a given format? I?m really thinking of the difference between US and European dates, i.e d/m/y versus m/d/y Obviously for some types of use, an LC program should be able to force the format for consistency?s sake, regardless of where in the world it?s being run. Can it be done? Graham From sundown.pacifier at icloud.com Wed Oct 28 18:04:55 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Wed, 28 Oct 2020 15:04:55 -0700 Subject: Is the DateFormat read only? In-Reply-To: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> Message-ID: <9134C5DC-ADC7-4903-8253-FC1A389D565E@icloud.com> You can always use a shell command for things like Dates and Calendars etc. Google it and you will get plenty of info. JB > On Oct 28, 2020, at 2:59 PM, Graham Samuel via use-livecode wrote: > > ?A quick test seems to show that the DateFormat can?t be changed by a ?set? command. > > How then can I force a date to be in a given format? I?m really thinking of the difference between US and European dates, i.e > > d/m/y versus m/d/y > > Obviously for some types of use, an LC program should be able to force the format for consistency?s sake, regardless of where in the world it?s being run. > > Can it be done? > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Wed Oct 28 18:18:03 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 28 Oct 2020 23:18:03 +0100 Subject: Is the DateFormat read only? In-Reply-To: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> Message-ID: You can convert any given date to dateItems. Then you can use dateItems to present the date in any format you like. A date converted to dateItems will give you the following list of items: the year the month number the day of the month the hour in 24-hour time the minute the second the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth All according to the Dictionary. To be sure that any valid date format is recognized as a date when you read in the date you will like to convert, it is best to ask for the system date or set the useSystemDate to true, as this will make all valid date formats convert to dateItems. Best regards Tore Nilsen > 28. okt. 2020 kl. 22:58 skrev Graham Samuel via use-livecode : > > A quick test seems to show that the DateFormat can?t be changed by a ?set? command. > > How then can I force a date to be in a given format? I?m really thinking of the difference between US and European dates, i.e > > d/m/y versus m/d/y > > Obviously for some types of use, an LC program should be able to force the format for consistency?s sake, regardless of where in the world it?s being run. > > Can it be done? > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Wed Oct 28 20:38:47 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 29 Oct 2020 00:38:47 +0000 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <193712bd-c943-cb9d-93c1-8864e36aaeb3@networkdreams.net> References: <193712bd-c943-cb9d-93c1-8864e36aaeb3@networkdreams.net> Message-ID: <59FDB330-A272-4B03-BD13-58779A0E457C@pidigital.co.uk> It?s a great idea. How do you propose it be handled? Assuming this is a build based on the current system it will likely have to be compiled in Linux as the obvious choice. Do we have anyone with the appropriate skills in coding C to look into the various server platforms to be compiled for? Someone with enough time and resources, knowledge and energy? If so, why aren?t those people helpful enough to fix what we already have? [Get?s off soap box (for the time being)] ;) Here?s my take (for what it?s worth). Although Unix is used in 71.6% (source: w3techs.com) of all known websites as of today and Linux only 29.0%, at least we have ?a? distro that works on some server. Like you, I?m currently using a CentOS web server with LC happily. But the clincher has to be that currently FreeBSD has no support for Dell,HP or IBM servers. The only advantages to having FreeBSD is a teeny bit better security, tiny performance improvement and have it in a fully fledged OS instead of just a kernel. Is it worth anyone?s time and effort building for those ?advantages?? Seriously, if anyone was considering doing this, please..., please, reconsider and put your efforts and talent into fixing what we already have. It would be far more beneficial to a much greater community population. All the very best. Sean Cole Pi Digital > On 28 Oct 2020, at 19:53, Heriberto Torrado via use-livecode wrote: > > So, here is my idea: What about to create non official versions of Livecode server (for scripting purposes) for other platforms not yet supported? > I think it could be good for RunRev: They won't have to work supporting those versions and Livecode language will spread to other fields. > > What do you guys think? Do you think we'll have enough manpower into our community to do that? > > Best, > Hery From ambassador at fourthworld.com Wed Oct 28 23:06:59 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Oct 2020 20:06:59 -0700 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <59FDB330-A272-4B03-BD13-58779A0E457C@pidigital.co.uk> References: <59FDB330-A272-4B03-BD13-58779A0E457C@pidigital.co.uk> Message-ID: <32ec2c88-8ba1-523d-a2ba-b2f06aea6d11@fourthworld.com> Heriberto Torrado wrote: > So, here is my idea: What about to create non official versions of > Livecode server (for scripting purposes) for other platforms not yet > supported? > I think it could be good for RunRev: They won't have to work > supporting those versions and Livecode language will spread to other > fields. > > What do you guys think? Do you think we'll have enough manpower into > our community to do that? Raspberry Pi, w/ Raspbian or other Debian-based Linux (Linux ARM). Home servers, school labs, IoT, and so much more - all currently lost to us by not having a build for that engine. The last build was an experiment done by a team member no longer with the company, for LC v7.1. If you could update the Server edition to v9.6 we could at least have a modern version to work with for faceless applications, and any remaining work for the GUI side would likely be relatively small (certainly smaller than one person trying to knock it all off by themselves). -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Oct 28 23:33:29 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Oct 2020 20:33:29 -0700 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <59FDB330-A272-4B03-BD13-58779A0E457C@pidigital.co.uk> References: <59FDB330-A272-4B03-BD13-58779A0E457C@pidigital.co.uk> Message-ID: Pi Digital wrote: > Here?s my take (for what it?s worth). Although Unix is used in 71.6% > (source: w3techs.com) of all known websites as of today and Linux only > 29.0%, at least we have ?a? distro that works on some server. That struck me as odd, so I took a moment to see how they derived that impressive Unix number (thanks for including the source). It turns out they're lumping Unix and Linux together under "Unix" - when you click "Unix" you get this breakdown: Subcategories of Unix This diagram shows the percentages of websites using various subcategories of Unix. How to read the diagram: Linux is used by 40.5% of all the websites who use Unix Websites who use Unix Linux 40.5% BSD 0.5% Darwin less than 0.1% HP-UX less than 0.1% Solaris less than 0.1% Minix less than 0.1% Unknown 59.0% I'd wager most of the 59% using "Unknown" are also Linux. That would line up well enough with what we see at the Wikipedia page for server OS market share: Linux FreeBSD Unknown Windows W3Cook July 2015 96.4% 1.7% 0% 1.9% W3Techs Feb 2015 35.9% 0.95% 30.9% 32.3% Security Space Feb 2014 <79.3% N/A >20.7% https://en.wikipedia.org/wiki/Usage_share_of_operating_systems#Public_servers_on_the_Internet While Windows has a strong showing in the enterprise for internal servers, public-facing servers are by far a Linux story. This is not only true for most shared and VPS hosting, but public clouds as well, with Google, Amazon, and Apple all using Linux to drive their infrastructure, and even though Azure is a Win/Linux mix there's a surprising amount of Linux going on there (with Ubuntu being the leading choice inside containers). I bring this up not just because I'm a Linux fanboy (though I am and make no apologies; I was even worse when I used to be a Mac fanboy ), but just as a long-winded way to help support your main thesis: Aside from new architectures like Linux ARM (Raspberry Pi), the most commonly-used platforms where LiveCode Serer would be used are well supported. So, as you wrote: > Seriously, if anyone was considering doing this, please..., please, > reconsider and put your efforts and talent into fixing what we already > have. It would be far more beneficial to a much greater community > population. There may be many useful requests in the bug DB worth considering to improve the performance, robustness, and feature set of LC Server. But Heriberto's up for an adventure, one enhancement that would lower RAM use and speed things up a bit is this one: https://quality.livecode.com/show_bug.cgi?id=14115 Heriberto, if that's interesting to you let me know. I have a workaround in place now, and I'll bet there's a way to move that inside the engine for a solution that's much simpler than when we discussed it here on this list earlier this year. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From livfoss at mac.com Thu Oct 29 04:29:31 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 29 Oct 2020 09:29:31 +0100 Subject: Is the DateFormat read only? In-Reply-To: References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> Message-ID: <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> Thanks Tore - I had forgotten the existence of dateItems. That of course will do the trick. BTW I was trying to create dates in standard UTC format, and now I can. Graham > On 28 Oct 2020, at 23:18, Tore Nilsen via use-livecode wrote: > > You can convert any given date to dateItems. Then you can use dateItems to present the date in any format you like. A date converted to dateItems will give you the following list of items: > > the year > the month number > the day of the month > the hour in 24-hour time > the minute > the second > the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth > All according to the Dictionary. > > To be sure that any valid date format is recognized as a date when you read in the date you will like to convert, it is best to ask for the system date or set the useSystemDate to true, as this will make all valid date formats convert to dateItems. > > Best regards > Tore Nilsen >> 28. okt. 2020 kl. 22:58 skrev Graham Samuel via use-livecode : >> >> A quick test seems to show that the DateFormat can?t be changed by a ?set? command. >> >> How then can I force a date to be in a given format? I?m really thinking of the difference between US and European dates, i.e >> >> d/m/y versus m/d/y >> >> Obviously for some types of use, an LC program should be able to force the format for consistency?s sake, regardless of where in the world it?s being run. >> >> Can it be done? >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Oct 29 07:04:02 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 29 Oct 2020 12:04:02 +0100 Subject: Is the DateFormat read only? In-Reply-To: <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> Message-ID: Just FYI, I think the dictionary is wrong or misleading in respect of what the dateItems does. If you script this in the LC Message Box: put the date into t1 convert t1 to dateItems put t1 You get, e.g. 2020,10,29,0,0,0,5 but if you script put the english time into t1 convert t1 to dateItems put t1 You get e.g. 2020,10,29,11,40,0,5 i.e if you specify the date, you only get the date; but if you specify the time, you get the date thrown in. I could not deduce this from the Dictionary, but maybe I am just poor at reading what it says. Graham > On 29 Oct 2020, at 09:29, Graham Samuel via use-livecode wrote: > > Thanks Tore - I had forgotten the existence of dateItems. That of course will do the trick. BTW I was trying to create dates in standard UTC format, and now I can. > > Graham > >> On 28 Oct 2020, at 23:18, Tore Nilsen via use-livecode wrote: >> >> You can convert any given date to dateItems. Then you can use dateItems to present the date in any format you like. A date converted to dateItems will give you the following list of items: >> >> the year >> the month number >> the day of the month >> the hour in 24-hour time >> the minute >> the second >> the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth >> All according to the Dictionary. >> >> To be sure that any valid date format is recognized as a date when you read in the date you will like to convert, it is best to ask for the system date or set the useSystemDate to true, as this will make all valid date formats convert to dateItems. >> >> Best regards >> Tore Nilsen >>> 28. okt. 2020 kl. 22:58 skrev Graham Samuel via use-livecode : >>> >>> A quick test seems to show that the DateFormat can?t be changed by a ?set? command. >>> >>> How then can I force a date to be in a given format? I?m really thinking of the difference between US and European dates, i.e >>> >>> d/m/y versus m/d/y >>> >>> Obviously for some types of use, an LC program should be able to force the format for consistency?s sake, regardless of where in the world it?s being run. >>> >>> Can it be done? >>> >>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Thu Oct 29 07:07:48 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 29 Oct 2020 12:07:48 +0100 Subject: Is the DateFormat read only? In-Reply-To: References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> Message-ID: <244C756C-77DC-4470-A646-0D38BE314902@me.com> If you only use a date and convert it, dateItems will assume the time to be midnight on that particular date. Tore > 29. okt. 2020 kl. 12:04 skrev Graham Samuel via use-livecode : > > Just FYI, I think the dictionary is wrong or misleading in respect of what the dateItems does. If you script this in the LC Message Box: > > put the date into t1 > convert t1 to dateItems > put t1 > > You get, e.g. > 2020,10,29,0,0,0,5 > > > but if you script > > put the english time into t1 > convert t1 to dateItems > put t1 > > You get e.g. > 2020,10,29,11,40,0,5 > > i.e if you specify the date, you only get the date; but if you specify the time, you get the date thrown in. I could not deduce this from the Dictionary, but maybe I am just poor at reading what it says. > > Graham > >> On 29 Oct 2020, at 09:29, Graham Samuel via use-livecode wrote: >> >> Thanks Tore - I had forgotten the existence of dateItems. That of course will do the trick. BTW I was trying to create dates in standard UTC format, and now I can. >> >> Graham >> >>> On 28 Oct 2020, at 23:18, Tore Nilsen via use-livecode wrote: >>> >>> You can convert any given date to dateItems. Then you can use dateItems to present the date in any format you like. A date converted to dateItems will give you the following list of items: >>> >>> the year >>> the month number >>> the day of the month >>> the hour in 24-hour time >>> the minute >>> the second >>> the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth >>> All according to the Dictionary. >>> >>> To be sure that any valid date format is recognized as a date when you read in the date you will like to convert, it is best to ask for the system date or set the useSystemDate to true, as this will make all valid date formats convert to dateItems. >>> >>> Best regards >>> Tore Nilsen >>>> 28. okt. 2020 kl. 22:58 skrev Graham Samuel via use-livecode : >>>> >>>> A quick test seems to show that the DateFormat can?t be changed by a ?set? command. >>>> >>>> How then can I force a date to be in a given format? I?m really thinking of the difference between US and European dates, i.e >>>> >>>> d/m/y versus m/d/y >>>> >>>> Obviously for some types of use, an LC program should be able to force the format for consistency?s sake, regardless of where in the world it?s being run. >>>> >>>> Can it be done? >>>> >>>> Graham >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Thu Oct 29 07:31:04 2020 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 29 Oct 2020 11:31:04 +0000 Subject: Livecode server UNIX version (not Linux). In-Reply-To: References: <59FDB330-A272-4B03-BD13-58779A0E457C@pidigital.co.uk> Message-ID: Hey Friends, I'm enjoying this thread a lot. I'll not be the person to tell someone not to port LC to some new ISA or OS, I think it would be great if LC would run in BSD. Personally, I don't have the time or even the skillset to help this, but I'd love to benefit from it. Incidentally this is the exact mindset that prevents good things from happening because many people want to benefit from something without actually working towards it but I really can't work on this. The work that LC HQ has done throughout the years modernizing the codebase and keeping it all working in multiple systems is amazing and a feat worth of awards but, don't let the convenience of having that funky download page with all the versions fool you, building LC is not that easy especially if you're targeting a new ISA/OS combination. The ideal way in my humble but educated opinion is for LC GPL to be added to the ports collection of FreeBSD, this is described in the FreeBSD porters handbook: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html This is probably not a weekend project and not for the faint of heart. It will require a lot of work to do this properly, but it can be done. Before dismissing someone volunteering their own time to work on a FreeBSD port based on that system's market share remember that Macs used to be a very small percentage of the market. Under the same rules, LC shouldn't have focused at all on having it working on Macs, clearly Windows was 90% of the global marketshare. FreeBSD has a ton of stuff going for it and the wave of people migrating from Linux towards a BSD experience has been growing steadily since the encroaching of systemd and other "decisions" have moved Linux away from a more traditional UNIX experience. Lots of the shiny things people are doing with Linux have been a part of day to day life of FreeBSD users much earlier and is usually provided in a more cohesive experience, such as Jails vs Docker. I advise people who haven't seen modern FreeBSD workflows to check their foundation youtube channel, there is a lot of nice in-depth videos there that might help people see it through new eyes. That being said, I don't think that LC HQ should dedicate their time to do it, they need to focus on what produces money regardless of how I or other users here feel about different operating systems. On Thu, 29 Oct 2020 at 03:57, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Pi Digital wrote: > > > Here?s my take (for what it?s worth). Although Unix is used in 71.6% > > (source: w3techs.com) of all known websites as of today and Linux only > > 29.0%, at least we have ?a? distro that works on some server. > > That struck me as odd, so I took a moment to see how they derived that > impressive Unix number (thanks for including the source). > > It turns out they're lumping Unix and Linux together under "Unix" - when > you click "Unix" you get this breakdown: > > Subcategories of Unix > > This diagram shows the percentages of websites using various > subcategories of Unix. > > How to read the diagram: > Linux is used by 40.5% of all the websites who use Unix > > Websites who use Unix > Linux 40.5% > BSD 0.5% > Darwin less than 0.1% > HP-UX less than 0.1% > Solaris less than 0.1% > Minix less than 0.1% > Unknown 59.0% > > I'd wager most of the 59% using "Unknown" are also Linux. > > That would line up well enough with what we see at the Wikipedia page > for server OS market share: > > Linux FreeBSD Unknown Windows > W3Cook July 2015 96.4% 1.7% 0% 1.9% > W3Techs Feb 2015 35.9% 0.95% 30.9% 32.3% > Security Space Feb 2014 <79.3% N/A >20.7% > > > https://en.wikipedia.org/wiki/Usage_share_of_operating_systems#Public_servers_on_the_Internet > > While Windows has a strong showing in the enterprise for internal > servers, public-facing servers are by far a Linux story. > > This is not only true for most shared and VPS hosting, but public clouds > as well, with Google, Amazon, and Apple all using Linux to drive their > infrastructure, and even though Azure is a Win/Linux mix there's a > surprising amount of Linux going on there (with Ubuntu being the leading > choice inside containers). > > I bring this up not just because I'm a Linux fanboy (though I am and > make no apologies; I was even worse when I used to be a Mac fanboy ), > but just as a long-winded way to help support your main thesis: > > Aside from new architectures like Linux ARM (Raspberry Pi), the most > commonly-used platforms where LiveCode Serer would be used are well > supported. > > So, as you wrote: > > > Seriously, if anyone was considering doing this, please..., please, > > reconsider and put your efforts and talent into fixing what we already > > have. It would be far more beneficial to a much greater community > > population. > > There may be many useful requests in the bug DB worth considering to > improve the performance, robustness, and feature set of LC Server. > > But Heriberto's up for an adventure, one enhancement that would lower > RAM use and speed things up a bit is this one: > > https://quality.livecode.com/show_bug.cgi?id=14115 > > Heriberto, if that's interesting to you let me know. I have a workaround > in place now, and I'll bet there's a way to move that inside the engine > for a solution that's much simpler than when we discussed it here on > this list earlier this year. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From livfoss at mac.com Thu Oct 29 09:19:31 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 29 Oct 2020 14:19:31 +0100 Subject: Is the DateFormat read only? In-Reply-To: <244C756C-77DC-4470-A646-0D38BE314902@me.com> References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> <244C756C-77DC-4470-A646-0D38BE314902@me.com> Message-ID: <0663717E-B59A-4864-85AD-CBDDA25D246D@mac.com> I understand it, but the Dictionary is misleading and in one case actually wrong: when it says the ?time? form gives the seconds - it doesn?t. You need to use the ?long time?, at least so it seems to me. I have submitted a bug report. I also thought that I could use the ToUniversalTime function, but that assumes you already know the time zone. Although LC has a Time Zone library, I haven?t found any documentation explaining how an app can find out which Time Zone it?s actually in. In fact my app doesn?t care that much, so will stick to UTC. The documentation around all this needs a bit of tidying up, IMHO. Graham > On 29 Oct 2020, at 12:07, Tore Nilsen via use-livecode wrote: > > If you only use a date and convert it, dateItems will assume the time to be midnight on that particular date. > > Tore > >> 29. okt. 2020 kl. 12:04 skrev Graham Samuel via use-livecode : >> >> Just FYI, I think the dictionary is wrong or misleading in respect of what the dateItems does. If you script this in the LC Message Box: >> >> put the date into t1 >> convert t1 to dateItems >> put t1 >> >> You get, e.g. >> 2020,10,29,0,0,0,5 >> >> >> but if you script >> >> put the english time into t1 >> convert t1 to dateItems >> put t1 >> >> You get e.g. >> 2020,10,29,11,40,0,5 >> >> i.e if you specify the date, you only get the date; but if you specify the time, you get the date thrown in. I could not deduce this from the Dictionary, but maybe I am just poor at reading what it says. >> >> Graham >> >>> On 29 Oct 2020, at 09:29, Graham Samuel via use-livecode wrote: >>> >>> Thanks Tore - I had forgotten the existence of dateItems. That of course will do the trick. BTW I was trying to create dates in standard UTC format, and now I can. >>> >>> Graham >>> >>>> On 28 Oct 2020, at 23:18, Tore Nilsen via use-livecode wrote: >>>> >>>> You can convert any given date to dateItems. Then you can use dateItems to present the date in any format you like. A date converted to dateItems will give you the following list of items: >>>> >>>> the year >>>> the month number >>>> the day of the month >>>> the hour in 24-hour time >>>> the minute >>>> the second >>>> the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth >>>> All according to the Dictionary. >>>> >>>> To be sure that any valid date format is recognized as a date when you read in the date you will like to convert, it is best to ask for the system date or set the useSystemDate to true, as this will make all valid date formats convert to dateItems. >>>> >>>> Best regards >>>> Tore Nilsen >>>>> 28. okt. 2020 kl. 22:58 skrev Graham Samuel via use-livecode : >>>>> >>>>> A quick test seems to show that the DateFormat can?t be changed by a ?set? command. >>>>> >>>>> How then can I force a date to be in a given format? I?m really thinking of the difference between US and European dates, i.e >>>>> >>>>> d/m/y versus m/d/y >>>>> >>>>> Obviously for some types of use, an LC program should be able to force the format for consistency?s sake, regardless of where in the world it?s being run. >>>>> >>>>> Can it be done? >>>>> >>>>> Graham >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Oct 29 09:26:10 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 29 Oct 2020 09:26:10 -0400 Subject: Livecode server UNIX version (not Linux). In-Reply-To: References: Message-ID: <1B2D06FF-2AC1-4236-BB64-DAB98E8B0D13@milby7.com> What is the workaround that you ended up using? I looked at the code once but it quickly went over my head. I couldn?t see where the fonts were pulled in, at least not where it could be cleanly intercepted. Sent from my iPhone > On Oct 28, 2020, at 11:57 PM, Richard Gaskin via use-livecode wrote: > > There may be many useful requests in the bug DB worth considering to improve the performance, robustness, and feature set of LC Server. > > But Heriberto's up for an adventure, one enhancement that would lower RAM use and speed things up a bit is this one: > > https://quality.livecode.com/show_bug.cgi?id=14115 > > Heriberto, if that's interesting to you let me know. I have a workaround in place now, and I'll bet there's a way to move that inside the engine for a solution that's much simpler than when we discussed it here on this list earlier this year. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Thu Oct 29 10:05:23 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 29 Oct 2020 10:05:23 -0400 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <1B2D06FF-2AC1-4236-BB64-DAB98E8B0D13@milby7.com> References: <1B2D06FF-2AC1-4236-BB64-DAB98E8B0D13@milby7.com> Message-ID: <002001d6adfc$8ea61060$abf23120$@net> The session lockup issue also needs to be addressed. This has been raised in the past but I found the recipe. This bug occurs when requests come too close together. My spidy sense says that this is a file locking race condition. https://quality.livecode.com/show_bug.cgi?id=22560 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode Sent: Thursday, October 29, 2020 9:26 AM To: How to use LiveCode Cc: Brian Milby; Richard Gaskin Subject: Re: Livecode server UNIX version (not Linux). What is the workaround that you ended up using? I looked at the code once but it quickly went over my head. I couldn?t see where the fonts were pulled in, at least not where it could be cleanly intercepted. Sent from my iPhone > On Oct 28, 2020, at 11:57 PM, Richard Gaskin via use-livecode wrote: > > There may be many useful requests in the bug DB worth considering to improve the performance, robustness, and feature set of LC Server. > > But Heriberto's up for an adventure, one enhancement that would lower RAM use and speed things up a bit is this one: > > https://quality.livecode.com/show_bug.cgi?id=14115 > > Heriberto, if that's interesting to you let me know. I have a workaround in place now, and I'll bet there's a way to move that inside the engine for a solution that's much simpler than when we discussed it here on this list earlier this year. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Oct 29 13:15:14 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Oct 2020 12:15:14 -0500 Subject: Is the DateFormat read only? In-Reply-To: <0663717E-B59A-4864-85AD-CBDDA25D246D@mac.com> References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> <244C756C-77DC-4470-A646-0D38BE314902@me.com> <0663717E-B59A-4864-85AD-CBDDA25D246D@mac.com> Message-ID: <175755b38d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You can get the time zone, or at least the zone offset, by using "the internet date". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 29, 2020 8:21:46 AM Graham Samuel via use-livecode wrote: > I understand it, but the Dictionary is misleading and in one case actually > wrong: when it says the ?time? form gives the seconds - it doesn?t. You > need to use the ?long time?, at least so it seems to me. I have submitted a > bug report. > > I also thought that I could use the ToUniversalTime function, but that > assumes you already know the time zone. Although LC has a Time Zone > library, I haven?t found any documentation explaining how an app can find > out which Time Zone it?s actually in. In fact my app doesn?t care that > much, so will stick to UTC. > > The documentation around all this needs a bit of tidying up, IMHO. > > Graham > >> On 29 Oct 2020, at 12:07, Tore Nilsen via use-livecode >> wrote: >> >> If you only use a date and convert it, dateItems will assume the time to >> be midnight on that particular date. >> >> Tore >> >>> 29. okt. 2020 kl. 12:04 skrev Graham Samuel via use-livecode >>> : >>> >>> Just FYI, I think the dictionary is wrong or misleading in respect of what >>> the dateItems does. If you script this in the LC Message Box: >>> >>> put the date into t1 >>> convert t1 to dateItems >>> put t1 >>> >>> You get, e.g. >>> 2020,10,29,0,0,0,5 >>> >>> >>> but if you script >>> >>> put the english time into t1 >>> convert t1 to dateItems >>> put t1 >>> >>> You get e.g. >>> 2020,10,29,11,40,0,5 >>> >>> i.e if you specify the date, you only get the date; but if you specify the >>> time, you get the date thrown in. I could not deduce this from the >>> Dictionary, but maybe I am just poor at reading what it says. >>> >>> Graham >>> >>>> On 29 Oct 2020, at 09:29, Graham Samuel via use-livecode >>>> wrote: >>>> >>>> Thanks Tore - I had forgotten the existence of dateItems. That of course >>>> will do the trick. BTW I was trying to create dates in standard UTC format, >>>> and now I can. >>>> >>>> Graham >>>> >>>>> On 28 Oct 2020, at 23:18, Tore Nilsen via use-livecode >>>>> wrote: >>>>> >>>>> You can convert any given date to dateItems. Then you can use dateItems to >>>>> present the date in any format you like. A date converted to dateItems will >>>>> give you the following list of items: >>>>> >>>>> the year >>>>> the month number >>>>> the day of the month >>>>> the hour in 24-hour time >>>>> the minute >>>>> the second >>>>> the numeric day of the week where Sunday is day 1, Monday is day 2, and so >>>>> forth >>>>> All according to the Dictionary. >>>>> >>>>> To be sure that any valid date format is recognized as a date when you read >>>>> in the date you will like to convert, it is best to ask for the system date >>>>> or set the useSystemDate to true, as this will make all valid date formats >>>>> convert to dateItems. >>>>> >>>>> Best regards >>>>> Tore Nilsen >>>>>> 28. okt. 2020 kl. 22:58 skrev Graham Samuel via use-livecode >>>>>> : >>>>>> >>>>>> A quick test seems to show that the DateFormat can?t be changed by a ?set? >>>>>> command. >>>>>> >>>>>> How then can I force a date to be in a given format? I?m really thinking of >>>>>> the difference between US and European dates, i.e >>>>>> >>>>>> d/m/y versus m/d/y >>>>>> >>>>>> Obviously for some types of use, an LC program should be able to force the >>>>>> format for consistency?s sake, regardless of where in the world it?s being run. >>>>>> >>>>>> Can it be done? >>>>>> >>>>>> Graham >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Oct 29 13:32:40 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 29 Oct 2020 17:32:40 +0000 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <193712bd-c943-cb9d-93c1-8864e36aaeb3@networkdreams.net> References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> <193712bd-c943-cb9d-93c1-8864e36aaeb3@networkdreams.net> Message-ID: <5667969B-E71B-40F1-B740-A027A965A84E@iotecdigital.com> Are we sure about this?? I thought Apple had moved completely away from BSD a long while back. Bob S > On Oct 28, 2020, at 12:53 , Heriberto Torrado via use-livecode wrote: > > Thanks Andre, > > I realized that BSD kernels are not the same as MacOS kernels. > As you say: MacOS has a hybrid kernel based on XNU and some parts of BSD. From bobsneidar at iotecdigital.com Thu Oct 29 13:41:25 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 29 Oct 2020 17:41:25 +0000 Subject: Is the DateFormat read only? In-Reply-To: References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> Message-ID: I believe that when you convert a pure time to dateitems it assumes the current date. The date has no time component so it assumes midnight of the current date. Bob S > On Oct 29, 2020, at 04:04 , Graham Samuel via use-livecode wrote: > > Just FYI, I think the dictionary is wrong or misleading in respect of what the dateItems does. If you script this in the LC Message Box: > > put the date into t1 > convert t1 to dateItems > put t1 > > You get, e.g. > 2020,10,29,0,0,0,5 > > > but if you script > > put the english time into t1 > convert t1 to dateItems > put t1 > > You get e.g. > 2020,10,29,11,40,0,5 > > i.e if you specify the date, you only get the date; but if you specify the time, you get the date thrown in. I could not deduce this from the Dictionary, but maybe I am just poor at reading what it says. > > Graham > >> On 29 Oct 2020, at 09:29, Graham Samuel via use-livecode wrote: >> >> Thanks Tore - I had forgotten the existence of dateItems. That of course will do the trick. BTW I was trying to create dates in standard UTC format, and now I can. >> >> Graham >> >>> On 28 Oct 2020, at 23:18, Tore Nilsen via use-livecode wrote: >>> >>> You can convert any given date to dateItems. Then you can use dateItems to present the date in any format you like. A date converted to dateItems will give you the following list of items: >>> >>> the year >>> the month number >>> the day of the month >>> the hour in 24-hour time >>> the minute >>> the second >>> the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth >>> All according to the Dictionary. >>> >>> To be sure that any valid date format is recognized as a date when you read in the date you will like to convert, it is best to ask for the system date or set the useSystemDate to true, as this will make all valid date formats convert to dateItems. >>> >>> Best regards >>> Tore Nilsen >>>> 28. okt. 2020 kl. 22:58 skrev Graham Samuel via use-livecode : >>>> >>>> A quick test seems to show that the DateFormat can?t be changed by a ?set? command. >>>> >>>> How then can I force a date to be in a given format? I?m really thinking of the difference between US and European dates, i.e >>>> >>>> d/m/y versus m/d/y >>>> >>>> Obviously for some types of use, an LC program should be able to force the format for consistency?s sake, regardless of where in the world it?s being run. >>>> >>>> Can it be done? >>>> >>>> Graham >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Oct 29 13:57:32 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Oct 2020 10:57:32 -0700 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <1B2D06FF-2AC1-4236-BB64-DAB98E8B0D13@milby7.com> References: <1B2D06FF-2AC1-4236-BB64-DAB98E8B0D13@milby7.com> Message-ID: <0f843fd9-c350-d384-904b-f1cfce5e10f1@fourthworld.com> Brian Milby wrote: > On Oct 28, 2020, at 11:57 PM, Richard Gaskin wrote: >> But Heriberto's up for an adventure, one enhancement that would lower >> RAM use and speed things up a bit is this one: >> >> https://quality.livecode.com/show_bug.cgi?id=14115 >> >> Heriberto, if that's interesting to you let me know. I have a >> workaround in place now... > > What is the workaround that you ended up using? I looked at the code > once but it quickly went over my head. I couldn?t see where the fonts > were pulled in, at least not where it could be cleanly intercepted. I appreciate the time you and Mark Wieder spent looking into that - thanks again. I just ran another test this morning to verify that the setup works reasonably well, and after I get some client work out of the way I'll post some notes on it. In the meantime, another option just occurred to me which may be simpler and more complete: What happens when standalones are run with -ui, and can that flag be added to LC Server? If -ui not only bypasses font init but all other graphics init (like the Skia subsystem, buffering, etc.) it should be a far better solution. And since -ui is already supported for standalones, my hope is it would be simpler to make it available for LC Server than any new flag which would require a new implementation throughout. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From livfoss at mac.com Thu Oct 29 17:33:45 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 29 Oct 2020 22:33:45 +0100 Subject: Is the DateFormat read only? In-Reply-To: <175755b38d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> <244C756C-77DC-4470-A646-0D38BE314902@me.com> <0663717E-B59A-4864-85AD-CBDDA25D246D@mac.com> <175755b38d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <04527EBE-0870-4613-9468-9F7F6AA0FCC7@mac.com> Jacque Right as usual. I had forgotten about the internet date, if I ever knew. I suppose somewhere there is a little essay about all this but if so it is buried in the LC documentation. The only souci with this format is that it gives the month in alpha, presumably according to the nationality of the OS. But it?s easy to get the numeric month in other ways. Still, it is just a little bit fiddly to create a full UTC date of the format: YYYY-MM-DDThh:mm:ssTZD Works OK now, just slightly more lines of code than I would have guessed. Thanks (again). Graham > On 29 Oct 2020, at 18:15, J. Landman Gay via use-livecode wrote: > > You can get the time zone, or at least the zone offset, by using "the internet date". > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 29, 2020 8:21:46 AM Graham Samuel via use-livecode wrote: > >> I understand it, but the Dictionary is misleading and in one case actually wrong: when it says the ?time? form gives the seconds - it doesn?t. You need to use the ?long time?, at least so it seems to me. I have submitted a bug report. >> >> I also thought that I could use the ToUniversalTime function, but that assumes you already know the time zone. Although LC has a Time Zone library, I haven?t found any documentation explaining how an app can find out which Time Zone it?s actually in. In fact my app doesn?t care that much, so will stick to UTC. >> >> The documentation around all this needs a bit of tidying up, IMHO. >> >> Graham >> >>> On 29 Oct 2020, at 12:07, Tore Nilsen via use-livecode wrote: >>> >>> If you only use a date and convert it, dateItems will assume the time to be midnight on that particular date. >>> >>> Tore >>> >>>> 29. okt. 2020 kl. 12:04 skrev Graham Samuel via use-livecode : >>>> >>>> Just FYI, I think the dictionary is wrong or misleading in respect of what the dateItems does. If you script this in the LC Message Box: >>>> >>>> put the date into t1 >>>> convert t1 to dateItems >>>> put t1 >>>> >>>> You get, e.g. >>>> 2020,10,29,0,0,0,5 >>>> >>>> >>>> but if you script >>>> >>>> put the english time into t1 >>>> convert t1 to dateItems >>>> put t1 >>>> >>>> You get e.g. >>>> 2020,10,29,11,40,0,5 >>>> >>>> i.e if you specify the date, you only get the date; but if you specify the time, you get the date thrown in. I could not deduce this from the Dictionary, but maybe I am just poor at reading what it says. >>>> >>>> Graham >>>> >>>>> On 29 Oct 2020, at 09:29, Graham Samuel via use-livecode wrote: >>>>> >>>>> Thanks Tore - I had forgotten the existence of dateItems. That of course will do the trick. BTW I was trying to create dates in standard UTC format, and now I can. >>>>> >>>>> Graham >>>>> >>>>>> On 28 Oct 2020, at 23:18, Tore Nilsen via use-livecode wrote: >>>>>> >>>>>> You can convert any given date to dateItems. Then you can use dateItems to present the date in any format you like. A date converted to dateItems will give you the following list of items: >>>>>> >>>>>> the year >>>>>> the month number >>>>>> the day of the month >>>>>> the hour in 24-hour time >>>>>> the minute >>>>>> the second >>>>>> the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth >>>>>> All according to the Dictionary. >>>>>> >>>>>> To be sure that any valid date format is recognized as a date when you read in the date you will like to convert, it is best to ask for the system date or set the useSystemDate to true, as this will make all valid date formats convert to dateItems. >>>>>> >>>>>> Best regards >>>>>> Tore Nilsen >>>>>>> 28. okt. 2020 kl. 22:58 skrev Graham Samuel via use-livecode : >>>>>>> >>>>>>> A quick test seems to show that the DateFormat can?t be changed by a ?set? command. >>>>>>> >>>>>>> How then can I force a date to be in a given format? I?m really thinking of the difference between US and European dates, i.e >>>>>>> >>>>>>> d/m/y versus m/d/y >>>>>>> >>>>>>> Obviously for some types of use, an LC program should be able to force the format for consistency?s sake, regardless of where in the world it?s being run. >>>>>>> >>>>>>> Can it be done? >>>>>>> >>>>>>> Graham >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Thu Oct 29 18:03:14 2020 From: irog at mac.com (Roger Guay) Date: Thu, 29 Oct 2020 15:03:14 -0700 Subject: Plotting Equations that Bifurcate Message-ID: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> I am trying to plot an equation that bifurcates by setting the points of a polygon as I iterate the equation. But I can?t figure how to handle the bifurcation. Any help will be greatly appreciated! Roger From alex at tweedly.net Thu Oct 29 19:06:56 2020 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 29 Oct 2020 23:06:56 +0000 Subject: Plotting Equations that Bifurcate In-Reply-To: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> Message-ID: <7ac22739-b5b3-8940-52ed-76250b321413@tweedly.net> remember that a blank line in the 'points' (aka the vertexlist) is not drawn - therefore you can put each of the branches as a subset of points, with a blank in between Alex. e.g. two Y values for each X, in a single graphic ... repeat with i = 1 to N ??? put N,2*n &CR after t1 ??? put N,3*n &CR after t2 end repeat set the points of grc "L1" to t1 &CR & t2 On 29/10/2020 22:03, Roger Guay via use-livecode wrote: > I am trying to plot an equation that bifurcates by setting the points of a polygon as I iterate the equation. But I can?t figure how to handle the bifurcation. Any help will be greatly appreciated! > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Thu Oct 29 21:00:55 2020 From: irog at mac.com (Roger Guay) Date: Thu, 29 Oct 2020 18:00:55 -0700 Subject: Plotting Equations that Bifurcate In-Reply-To: <7ac22739-b5b3-8940-52ed-76250b321413@tweedly.net> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <7ac22739-b5b3-8940-52ed-76250b321413@tweedly.net> Message-ID: <5A53CED3-8720-4C25-B815-67CCDAABEFF8@mac.com> Thank you, Alex. I am aware of the blank line causing a break, but I can?t seem to programmatically get it (or them) in the right place. I have a smooth solid line that splits in two, and I want to maintain solid lines after the split. I must have something screwy in code. Roger > On Oct 29, 2020, at 4:06 PM, Alex Tweedly via use-livecode wrote: > > remember that a blank line in the 'points' (aka the vertexlist) is not drawn - therefore you can put each of the branches as a subset of points, with a blank in between > > Alex. > > e.g. two Y values for each X, in a single graphic ... > > repeat with i = 1 to N > put N,2*n &CR after t1 > put N,3*n &CR after t2 > end repeat > set the points of grc "L1" to t1 &CR & t2 > > > On 29/10/2020 22:03, Roger Guay via use-livecode wrote: >> I am trying to plot an equation that bifurcates by setting the points of a polygon as I iterate the equation. But I can?t figure how to handle the bifurcation. Any help will be greatly appreciated! >> >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Oct 30 13:25:53 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 30 Oct 2020 17:25:53 +0000 Subject: Is the DateFormat read only? In-Reply-To: <04527EBE-0870-4613-9468-9F7F6AA0FCC7@mac.com> References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> <244C756C-77DC-4470-A646-0D38BE314902@me.com> <0663717E-B59A-4864-85AD-CBDDA25D246D@mac.com> <175755b38d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04527EBE-0870-4613-9468-9F7F6AA0FCC7@mac.com> Message-ID: I have a formatDate() function (not to be confused with dateFormat) that has a few extra formats, one I call sql date for instance which is yyyy-mm-dd (and another function for time so I can produce a datetime compatible for SQL databases). I suppose it can be expanded for other formats, but when it comes to time zones, everything gets very complicated. Someone posted an article years ago as to why calculating current date and time in any given location is so complicated, and it has mostly to do with local standards. There are so many special cases, it really takes a centrally managed database to keep track of it all. Bob S > On Oct 29, 2020, at 14:33 , Graham Samuel via use-livecode wrote: > > Jacque > > Right as usual. I had forgotten about the internet date, if I ever knew. I suppose somewhere there is a little essay about all this but if so it is buried in the LC documentation. > > The only souci with this format is that it gives the month in alpha, presumably according to the nationality of the OS. But it?s easy to get the numeric month in other ways. Still, it is just a little bit fiddly to create a full UTC date of the format: > > YYYY-MM-DDThh:mm:ssTZD > > Works OK now, just slightly more lines of code than I would have guessed. > > Thanks (again). > > Graham From bobsneidar at iotecdigital.com Fri Oct 30 13:27:15 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 30 Oct 2020 17:27:15 +0000 Subject: Plotting Equations that Bifurcate In-Reply-To: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> Message-ID: <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> Last time I plotted an equation while bifurcating, I was pretty drunk, and don't remember much. Bob S > On Oct 29, 2020, at 15:03 , Roger Guay via use-livecode wrote: > > I am trying to plot an equation that bifurcates by setting the points of a polygon as I iterate the equation. But I can?t figure how to handle the bifurcation. Any help will be greatly appreciated! > > Roger From stephen at barncard.com Fri Oct 30 13:30:14 2020 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 30 Oct 2020 10:30:14 -0700 Subject: Plotting Equations that Bifurcate In-Reply-To: <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> Message-ID: Bob, that one gets a ?LIKE?. On Fri, Oct 30, 2020 at 10:28 Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Last time I plotted an equation while bifurcating, I was pretty drunk, and > don't remember much. > > Bob S > > > > On Oct 29, 2020, at 15:03 , Roger Guay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I am trying to plot an equation that bifurcates by setting the points of > a polygon as I iterate the equation. But I can?t figure how to handle the > bifurcation. Any help will be greatly appreciated! > > > > Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From dochawk at gmail.com Fri Oct 30 15:57:37 2020 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 30 Oct 2020 12:57:37 -0700 Subject: Plotting Equations that Bifurcate In-Reply-To: <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> Message-ID: <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> bob bumbled, > > Last time I plotted an equation while bifurcating, I was pretty drunk, and don't remember much. I once wrote a program that compiled without error and executed on the very first try. And, umm, the university would not have approved of what I consumed before I went to the computer lab . . . It used random numbers to see how many landed in the circle, allowing it to compute pi as 3.2 . . . [ulp] ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From craig at starfirelighting.com Fri Oct 30 16:04:29 2020 From: craig at starfirelighting.com (Craig newman) Date: Fri, 30 Oct 2020 16:04:29 -0400 Subject: Plotting Equations that Bifurcate In-Reply-To: <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> Message-ID: <000201d6aef7$e0599250$a10cb6f0$@starfirelighting.com> Hi. Aren't the points of your two bifurcated lines comprised of the endpoint of the "main" line, a comma, and then a line containing two new items? In other words, if your main line has the points: 34,149 235,149 then one of the bifurcated lines might have points, say: 235,149 335,249 and the other, say, 235,149 335,49 Craig -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dr. Hawkins via use-livecode Sent: Friday, October 30, 2020 3:58 PM To: How to use LiveCode Cc: Dr. Hawkins Subject: Re: Plotting Equations that Bifurcate bob bumbled, > > Last time I plotted an equation while bifurcating, I was pretty drunk, and don't remember much. I once wrote a program that compiled without error and executed on the very first try. And, umm, the university would not have approved of what I consumed before I went to the computer lab . . . It used random numbers to see how many landed in the circle, allowing it to compute pi as 3.2 . . . [ulp] ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Oct 30 16:06:17 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 30 Oct 2020 15:06:17 -0500 Subject: Is the DateFormat read only? In-Reply-To: <04527EBE-0870-4613-9468-9F7F6AA0FCC7@mac.com> References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> <244C756C-77DC-4470-A646-0D38BE314902@me.com> <0663717E-B59A-4864-85AD-CBDDA25D246D@mac.com> <175755b38d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04527EBE-0870-4613-9468-9F7F6AA0FCC7@mac.com> Message-ID: On 10/29/20 4:33 PM, Graham Samuel via use-livecode wrote: > The only souci with this format is that it gives the month in alpha, presumably according to the nationality of the OS. But it?s easy to get the numeric month in other ways. Still, it is just a little bit fiddly to create a full UTC date of the format: > > YYYY-MM-DDThh:mm:ssTZD Here's something I use: put the seconds into tTime convert tTime to dateitems subtract (char 1 to -3 of last word of the internet date) from item 4 of tTime convert tTime to dateitems set the numberformat to "00" put item 1 of tTime &"-"& (item 2 of tTime)+0 &"-"& (item 3 of tTime)+0 & "T" & (item 4 of tTime)+0 &":"& \ (item 5 of tTime)+0 &":"& (item 6 of tTime)+0 & "Z" into tTimestamp -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Oct 30 16:24:01 2020 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 30 Oct 2020 20:24:01 +0000 Subject: Is the DateFormat read only? In-Reply-To: References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> <244C756C-77DC-4470-A646-0D38BE314902@me.com> <0663717E-B59A-4864-85AD-CBDDA25D246D@mac.com> <175755b38d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04527EBE-0870-4613-9468-9F7F6AA0FCC7@mac.com> Message-ID: But that will only work for those time zones whose variation from UTC is an exact number of hours. the internet date has 4 digits so that it can handle hour and minute variations - you could change ? subtract (char 1 to -3 of last word of the internet date) from item 4 of tTime to ? put the last word of the internet time into tmp ? subtract (char 1 to -3 of tmp) from item 4 of tTime ? subtract (char 1 of tmp & char -2 to -1 of tmp) ) from item 5 of tTime and then you would be handling all cases correctly. Alex. On 30/10/2020 20:06, J. Landman Gay via use-livecode wrote: > On 10/29/20 4:33 PM, Graham Samuel via use-livecode wrote: >> The only souci with this format is that it gives the month in alpha, >> presumably according to the nationality of the OS. But it?s easy to >> get the numeric month in other ways. Still, it is just a little bit >> fiddly to create a full UTC date of the format: >> >> YYYY-MM-DDThh:mm:ssTZD > > Here's something I use: > > ? put the seconds into tTime > ? convert tTime to dateitems > ? subtract (char 1 to -3 of last word of the internet date) from item > 4 of tTime > ? convert tTime to dateitems > ? set the numberformat to "00" > ? put item 1 of tTime &"-"& (item 2 of tTime)+0 &"-"& (item 3 of > tTime)+0 & "T" & (item 4 of tTime)+0 &":"& \ > ??????? (item 5 of tTime)+0 &":"& (item 6 of tTime)+0 & "Z" into > tTimestamp > From jacque at hyperactivesw.com Fri Oct 30 17:28:05 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 30 Oct 2020 16:28:05 -0500 Subject: Is the DateFormat read only? In-Reply-To: References: <537833A9-F0DA-40BF-8634-1D8FCBFB18B8@mac.com> <9CCF1ED2-1445-4FC5-931E-31D1CEB70B3E@mac.com> <244C756C-77DC-4470-A646-0D38BE314902@me.com> <0663717E-B59A-4864-85AD-CBDDA25D246D@mac.com> <175755b38d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04527EBE-0870-4613-9468-9F7F6AA0FCC7@mac.com> Message-ID: Good point. For our situation, hours were enough so I guess I ignored the rest (it was a long time ago and the code is old.) On 10/30/20 3:24 PM, Alex Tweedly via use-livecode wrote: > But that will only work for those time zones whose variation from UTC is an exact number of hours. > > the internet date has 4 digits so that it can handle hour and minute variations - you could change > > ? subtract (char 1 to -3 of last word of the internet date) from item 4 of tTime > > to > > ? put the last word of the internet time into tmp > ? subtract (char 1 to -3 of tmp) from item 4 of tTime > ? subtract (char 1 of tmp & char -2 to -1 of tmp) ) from item 5 of tTime > > and then you would be handling all cases correctly. > > Alex. > > On 30/10/2020 20:06, J. Landman Gay via use-livecode wrote: >> On 10/29/20 4:33 PM, Graham Samuel via use-livecode wrote: >>> The only souci with this format is that it gives the month in alpha, presumably according to >>> the nationality of the OS. But it?s easy to get the numeric month in other ways. Still, it >>> is just a little bit fiddly to create a full UTC date of the format: >>> >>> YYYY-MM-DDThh:mm:ssTZD >> >> Here's something I use: >> >> ? put the seconds into tTime >> ? convert tTime to dateitems >> ? subtract (char 1 to -3 of last word of the internet date) from item 4 of tTime >> ? convert tTime to dateitems >> ? set the numberformat to "00" >> ? put item 1 of tTime &"-"& (item 2 of tTime)+0 &"-"& (item 3 of tTime)+0 & "T" & (item 4 of >> tTime)+0 &":"& \ >> ??????? (item 5 of tTime)+0 &":"& (item 6 of tTime)+0 & "Z" into tTimestamp >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Fri Oct 30 18:33:10 2020 From: irog at mac.com (Roger Guay) Date: Fri, 30 Oct 2020 15:33:10 -0700 Subject: Plotting Equations that Bifurcate In-Reply-To: <000201d6aef7$e0599250$a10cb6f0$@starfirelighting.com> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> <000201d6aef7$e0599250$a10cb6f0$@starfirelighting.com> Message-ID: <94C3A5ED-98A5-47FE-81C8-EAAD0F4BA012@mac.com> Yes, yours is a good example of a bifurcated line. But now imagine producing this line programmatically with an equation that: Produces a constant y value of 149 as x progresses from 35 to 235 (no problem) Then produces 2 different but simultaneous values of y as x progresses from 235 to 335. This is the problem as you don?t want the end point of the separated lines to connect. If you place an empty line in the points after each iteration beyond x 235 then you end up with the bifurcated lines being points rather than a solid line. How to plotting programs handle this situation???? Roger > On Oct 30, 2020, at 1:04 PM, Craig newman via use-livecode wrote: > > Hi. > > Aren't the points of your two bifurcated lines comprised of the endpoint of the "main" line, a comma, and then a line containing two new items? In other words, if your main line has the points: > 34,149 > 235,149 > > then one of the bifurcated lines might have points, say: > 235,149 > 335,249 > > and the other, say, > 235,149 > 335,49 > > Craig > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dr. Hawkins via use-livecode > Sent: Friday, October 30, 2020 3:58 PM > To: How to use LiveCode > Cc: Dr. Hawkins > Subject: Re: Plotting Equations that Bifurcate > > bob bumbled, >> >> Last time I plotted an equation while bifurcating, I was pretty drunk, and don't remember much. > > > I once wrote a program that compiled without error and executed on the very first try. > > And, umm, the university would not have approved of what I consumed before I went to the computer lab . . . > > It used random numbers to see how many landed in the circle, allowing it to compute pi as 3.2 . . . > > [ulp] > > ? > Richard E. Hawkins, Esq. > The Hawkins Law Firm > 3430 E. Flamingo Rd. > Suite 232 > Las Vegas, NV 89121 > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Oct 30 18:40:09 2020 From: irog at mac.com (Roger Guay) Date: Fri, 30 Oct 2020 15:40:09 -0700 Subject: Plotting Equations that Bifurcate In-Reply-To: <94C3A5ED-98A5-47FE-81C8-EAAD0F4BA012@mac.com> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> <000201d6aef7$e0599250$a10cb6f0$@starfirelighting.com> <94C3A5ED-98A5-47FE-81C8-EAAD0F4BA012@mac.com> Message-ID: <0C18F9D7-32EF-40DA-A90D-CF45B72D1AB5@mac.com> Let?s try this again after spellchecking: Yes, yours is a good example of a bifurcated line. But now imagine producing this line programmatically with an equation that: Produces a constant y value of 149 as x progresses from 35 to 235 (no problem) Then produces 2 different but simultaneous values of y as x progresses from 235 to 335. This is the problem as you don?t want the end point of the separated lines to connect. If you place an empty line in the points after each iteration beyond x = 235 then you end up with the bifurcated lines being points rather than a solid line. How do plotting programs handle this situation???? Sorry for my inattention! Roger > On Oct 30, 2020, at 3:33 PM, Roger Guay via use-livecode wrote: > > Yes, yours is a good example of a bifurcated line. But now imagine producing this line programmatically with an equation that: > > Produces a constant y value of 149 as x progresses from 35 to 235 (no problem) > Then produces 2 different but simultaneous values of y as x progresses from 235 to 335. This is the problem as you don?t want the end point of the separated lines to connect. If you place an empty line in the points after each iteration beyond x 235 then you end up with the bifurcated lines being points rather than a solid line. > > How to plotting programs handle this situation???? > > Roger > >> On Oct 30, 2020, at 1:04 PM, Craig newman via use-livecode wrote: >> >> Hi. >> >> Aren't the points of your two bifurcated lines comprised of the endpoint of the "main" line, a comma, and then a line containing two new items? In other words, if your main line has the points: >> 34,149 >> 235,149 >> >> then one of the bifurcated lines might have points, say: >> 235,149 >> 335,249 >> >> and the other, say, >> 235,149 >> 335,49 >> >> Craig >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dr. Hawkins via use-livecode >> Sent: Friday, October 30, 2020 3:58 PM >> To: How to use LiveCode >> Cc: Dr. Hawkins >> Subject: Re: Plotting Equations that Bifurcate >> >> bob bumbled, >>> >>> Last time I plotted an equation while bifurcating, I was pretty drunk, and don't remember much. >> >> >> I once wrote a program that compiled without error and executed on the very first try. >> >> And, umm, the university would not have approved of what I consumed before I went to the computer lab . . . >> >> It used random numbers to see how many landed in the circle, allowing it to compute pi as 3.2 . . . >> >> [ulp] >> >> ? >> Richard E. Hawkins, Esq. >> The Hawkins Law Firm >> 3430 E. Flamingo Rd. >> Suite 232 >> Las Vegas, NV 89121 >> (702) 508-8462 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Fri Oct 30 19:12:38 2020 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 30 Oct 2020 23:12:38 +0000 Subject: Plotting Equations that Bifurcate In-Reply-To: <0C18F9D7-32EF-40DA-A90D-CF45B72D1AB5@mac.com> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> <000201d6aef7$e0599250$a10cb6f0$@starfirelighting.com> <94C3A5ED-98A5-47FE-81C8-EAAD0F4BA012@mac.com> <0C18F9D7-32EF-40DA-A90D-CF45B72D1AB5@mac.com> Message-ID: <2392ac57-8e49-2a90-da50-e13188d6b42a@tweedly.net> On 30/10/2020 22:40, Roger Guay via use-livecode wrote: > Let?s try this again after spellchecking: > > > Yes, yours is a good example of a bifurcated line. But now imagine producing this line programmatically with an equation that: > > Produces a constant y value of 149 as x progresses from 35 to 235 (no problem) > Then produces 2 different but simultaneous values of y as x progresses from 235 to 335. This is the problem as you don?t want the end point of the separated lines to connect. If you place an empty line in the points after each iteration beyond x = 235 then you end up with the bifurcated lines being points rather than a solid line. > > How do plotting programs handle this situation???? Here are two different ways you could do it. 1. simple - assume there would (could) be two Y values for any x, and just calculate two series, and combine them for output. 2. harder - for each x value, keep track of the previous y value for each series, and if necessary, put in a 'skip' plus new value plus skip ... NB makes for a more complex polygon; each new x value after bifurcation results in 5 lines added to the points. on mouseup ?? local tSeries1, tSeries2, thepoints ?? if the shiftkey is down then ????? -- the easy way - just allow for the possibility of two series of points all along ????? repeat with i = 35 to 335 ???????? -- calculate series 1 ???????? if i < 235 then ??????????? put i,249 &CR after tSeries1 ???????? else ??????????? put i, 249+(i-235) &CR after tSeries1 ???????? end if ???????? -- calculate series 2 ???????? if i < 235 then ??????????? -- do nothing - it's the same as series 1 ???????? else ??????????? put i, 249+2*(i-235) &CR after tSeries2 ???????? end if ????? end repeat ????? put tSeries1 &CR & tSeries2 into thePoints ????? set the points of grc "X" to thePoints ????? set the foregroundColor of grc "X" to "blue" ?? else ????? -- the harder way - multiple series ... ????? -- does each step for each series ... much more complex polygon, but ... ????? local t1, t2, tLast1, tLast2 ????? repeat with i = 35 to 335 ???????? -- calculate values ???????? if i < 235 then ??????????? put 249 into t1 ??????????? put 249 into t2 ???????? else ??????????? put 249+(i-235) into t1 ??????????? put 249+2*(i-235) into t2 ???????? end if ???????? -- put in series 1 ???????? if tLast1 is not empty then ??????????? put i-1, tLast1 &CR & i, t1 &CR after thePoints ???????? end if ???????? -- possibly put in series 2 ???????? if tLast1 <> tLast2 OR t1 <> t2 then ??????????? put CR after thePoints -- blank skip over to series 2 value ??????????? put i-1, tLast2 &CR & i, t2 &CR after thePoints ??????????? put CR after thePoints -- blank skip back to series 1 ???????? end if ???????? put t1 into tLast1 ???????? put t2 into tLast2 ????? end repeat ????? set the points of grc "X" to thePoints ????? set the foregroundColor of grc "X" to "red" ?? end if end mouseup From irog at mac.com Fri Oct 30 22:28:49 2020 From: irog at mac.com (Roger Guay) Date: Fri, 30 Oct 2020 19:28:49 -0700 Subject: Plotting Equations that Bifurcate In-Reply-To: <2392ac57-8e49-2a90-da50-e13188d6b42a@tweedly.net> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> <000201d6aef7$e0599250$a10cb6f0$@starfirelighting.com> <94C3A5ED-98A5-47FE-81C8-EAAD0F4BA012@mac.com> <0C18F9D7-32EF-40DA-A90D-CF45B72D1AB5@mac.com> <2392ac57-8e49-2a90-da50-e13188d6b42a@tweedly.net> Message-ID: Lots of clever ideas here, Alex, but I think you?re missing the point of what I ultimately want to do. I'm building a plotting program for which I want to plot any equation including those that have multiple values of y for a given x. An equation might branch at any point and might even have multiple branches both of which are unknown before plotting. Of course, there?s always the possibility that I?m not fully comprehending your suggestions??? What does NB stand for? Are you suggesting creating a new polygon every time a branch is detected? That just might work?! Roger > On Oct 30, 2020, at 4:12 PM, Alex Tweedly via use-livecode wrote: > > > On 30/10/2020 22:40, Roger Guay via use-livecode wrote: >> Let?s try this again after spellchecking: >> >> >> Yes, yours is a good example of a bifurcated line. But now imagine producing this line programmatically with an equation that: >> >> Produces a constant y value of 149 as x progresses from 35 to 235 (no problem) >> Then produces 2 different but simultaneous values of y as x progresses from 235 to 335. This is the problem as you don?t want the end point of the separated lines to connect. If you place an empty line in the points after each iteration beyond x = 235 then you end up with the bifurcated lines being points rather than a solid line. >> >> How do plotting programs handle this situation???? > > > Here are two different ways you could do it. > > 1. simple - assume there would (could) be two Y values for any x, and just calculate two series, and combine them for output. > > 2. harder - for each x value, keep track of the previous y value for each series, and if necessary, put in a 'skip' plus new value plus skip ... > > NB makes for a more complex polygon; each new x value after bifurcation results in 5 lines added to the points. > > on mouseup > local tSeries1, tSeries2, thepoints > if the shiftkey is down then > > -- the easy way - just allow for the possibility of two series of points all along > repeat with i = 35 to 335 > -- calculate series 1 > if i < 235 then > put i,249 &CR after tSeries1 > else > put i, 249+(i-235) &CR after tSeries1 > end if > -- calculate series 2 > if i < 235 then > -- do nothing - it's the same as series 1 > else > put i, 249+2*(i-235) &CR after tSeries2 > end if > end repeat > > put tSeries1 &CR & tSeries2 into thePoints > set the points of grc "X" to thePoints > set the foregroundColor of grc "X" to "blue" > else > -- the harder way - multiple series ... > -- does each step for each series ... much more complex polygon, but ... > local t1, t2, tLast1, tLast2 > repeat with i = 35 to 335 > -- calculate values > if i < 235 then > put 249 into t1 > put 249 into t2 > else > put 249+(i-235) into t1 > put 249+2*(i-235) into t2 > end if > -- put in series 1 > if tLast1 is not empty then > put i-1, tLast1 &CR & i, t1 &CR after thePoints > end if > -- possibly put in series 2 > if tLast1 <> tLast2 OR t1 <> t2 then > put CR after thePoints -- blank skip over to series 2 value > put i-1, tLast2 &CR & i, t2 &CR after thePoints > put CR after thePoints -- blank skip back to series 1 > end if > put t1 into tLast1 > put t2 into tLast2 > end repeat > set the points of grc "X" to thePoints > set the foregroundColor of grc "X" to "red" > end if > > end mouseup > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Sat Oct 31 13:27:06 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 31 Oct 2020 17:27:06 +0000 Subject: mergeJSON on server problem In-Reply-To: References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> <000201d6aef7$e0599250$a10cb6f0$@starfirelighting.com> <94C3A5ED-98A5-47FE-81C8-EAAD0F4BA012@mac.com> <0C18F9D7-32EF-40DA-A90D-CF45B72D1AB5@mac.com> <2392ac57-8e49-2a90-da50-e13188d6b42a@tweedly.net> Message-ID: I use mergeJSON to move back an forth between json and arrays for web services. It?s currently failing when I fetch json data from another source on the Ubuntu server, while the same code and data works on MacoS - presumably due to some encoding issues. It?s a large amount of data and I can?t debug where the issue is easily. Maybe I can use jsonImport/Export on the server? Not sure. Any thoughts? On 31 Oct 2020, 02:29 +0000, Roger Guay via use-livecode , wrote: > Lots of clever ideas here, Alex, but I think you?re missing the point of what I ultimately want to do. I'm building a plotting program for which I want to plot any equation including those that have multiple values of y for a given x. An equation might branch at any point and might even have multiple branches both of which are unknown before plotting. > > Of course, there?s always the possibility that I?m not fully comprehending your suggestions??? What does NB stand for? Are you suggesting creating a new polygon every time a branch is detected? That just might work?! > > Roger > > > > On Oct 30, 2020, at 4:12 PM, Alex Tweedly via use-livecode wrote: > > > > > > On 30/10/2020 22:40, Roger Guay via use-livecode wrote: > > > Let?s try this again after spellchecking: > > > > > > > > > Yes, yours is a good example of a bifurcated line. But now imagine producing this line programmatically with an equation that: > > > > > > Produces a constant y value of 149 as x progresses from 35 to 235 (no problem) > > > Then produces 2 different but simultaneous values of y as x progresses from 235 to 335. This is the problem as you don?t want the end point of the separated lines to connect. If you place an empty line in the points after each iteration beyond x = 235 then you end up with the bifurcated lines being points rather than a solid line. > > > > > > How do plotting programs handle this situation???? > > > > > > Here are two different ways you could do it. > > > > 1. simple - assume there would (could) be two Y values for any x, and just calculate two series, and combine them for output. > > > > 2. harder - for each x value, keep track of the previous y value for each series, and if necessary, put in a 'skip' plus new value plus skip ... > > > > NB makes for a more complex polygon; each new x value after bifurcation results in 5 lines added to the points. > > > > on mouseup > > local tSeries1, tSeries2, thepoints > > if the shiftkey is down then > > > > -- the easy way - just allow for the possibility of two series of points all along > > repeat with i = 35 to 335 > > -- calculate series 1 > > if i < 235 then > > put i,249 &CR after tSeries1 > > else > > put i, 249+(i-235) &CR after tSeries1 > > end if > > -- calculate series 2 > > if i < 235 then > > -- do nothing - it's the same as series 1 > > else > > put i, 249+2*(i-235) &CR after tSeries2 > > end if > > end repeat > > > > put tSeries1 &CR & tSeries2 into thePoints > > set the points of grc "X" to thePoints > > set the foregroundColor of grc "X" to "blue" > > else > > -- the harder way - multiple series ... > > -- does each step for each series ... much more complex polygon, but ... > > local t1, t2, tLast1, tLast2 > > repeat with i = 35 to 335 > > -- calculate values > > if i < 235 then > > put 249 into t1 > > put 249 into t2 > > else > > put 249+(i-235) into t1 > > put 249+2*(i-235) into t2 > > end if > > -- put in series 1 > > if tLast1 is not empty then > > put i-1, tLast1 &CR & i, t1 &CR after thePoints > > end if > > -- possibly put in series 2 > > if tLast1 <> tLast2 OR t1 <> t2 then > > put CR after thePoints -- blank skip over to series 2 value > > put i-1, tLast2 &CR & i, t2 &CR after thePoints > > put CR after thePoints -- blank skip back to series 1 > > end if > > put t1 into tLast1 > > put t2 into tLast2 > > end repeat > > set the points of grc "X" to thePoints > > set the foregroundColor of grc "X" to "red" > > end if > > > > end mouseup > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sat Oct 31 14:28:49 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 31 Oct 2020 11:28:49 -0700 Subject: mergeJSON on server problem In-Reply-To: References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> <000201d6aef7$e0599250$a10cb6f0$@starfirelighting.com> <94C3A5ED-98A5-47FE-81C8-EAAD0F4BA012@mac.com> <0C18F9D7-32EF-40DA-A90D-CF45B72D1AB5@mac.com> <2392ac57-8e49-2a90-da50-e13188d6b42a@tweedly.net> Message-ID: <0a6bce62-55b8-a70c-4ed8-fbae761780d7@sonic.net> On 10/31/20 10:27 AM, David Bovill via use-livecode wrote: > I use mergeJSON to move back an forth between json and arrays for web services. It?s currently failing when I fetch json data from another source on the Ubuntu server, while the same code and data works on MacoS - presumably due to some encoding issues. > > It?s a large amount of data and I can?t debug where the issue is easily. Maybe I can use jsonImport/Export on the server? Not sure. Any thoughts? Is this any help? Hard to tell without knowing what's failing. https://quality.livecode.com/show_bug.cgi?id=19698 -- Mark Wieder ahsoftware at gmail.com From david.bovill at gmail.com Sat Oct 31 15:21:27 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 31 Oct 2020 19:21:27 +0000 Subject: mergeJSON on server problem In-Reply-To: <0a6bce62-55b8-a70c-4ed8-fbae761780d7@sonic.net> References: <855168A4-F707-4321-AB9B-0D3A962CD2E0@mac.com> <3CB8250E-ADD5-4356-8601-D3FAA98D53BF@iotecdigital.com> <2620C4B3-20E9-4717-BB1B-0B9E84B17D82@gmail.com> <000201d6aef7$e0599250$a10cb6f0$@starfirelighting.com> <94C3A5ED-98A5-47FE-81C8-EAAD0F4BA012@mac.com> <0C18F9D7-32EF-40DA-A90D-CF45B72D1AB5@mac.com> <2392ac57-8e49-2a90-da50-e13188d6b42a@tweedly.net> <0a6bce62-55b8-a70c-4ed8-fbae761780d7@sonic.net> Message-ID: <30162a76-9166-4d35-84b8-2a1758559a5b@Spark> Thanks Mark - I may give fastjson a go. I tracked down the problem to the?"\u00a0??unicode character in the json I fetched, which was causing mergeJSON to fail. This hack fixed the issue in a temporary way. replace?"\u00a0??with empty in?episodeJson?-- hack to remove "?" Any thoughts on safe encoding of data I fetch fro jsonrpc calls so that it plays nicely with Livecode? On 31 Oct 2020, 18:29 +0000, Mark Wieder via use-livecode , wrote: > On 10/31/20 10:27 AM, David Bovill via use-livecode wrote: > > I use mergeJSON to move back an forth between json and arrays for web services. It?s currently failing when I fetch json data from another source on the Ubuntu server, while the same code and data works on MacoS - presumably due to some encoding issues. > > > > It?s a large amount of data and I can?t debug where the issue is easily. Maybe I can use jsonImport/Export on the server? Not sure. Any thoughts? > > Is this any help? Hard to tell without knowing what's failing. > > https://quality.livecode.com/show_bug.cgi?id=19698 > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Sat Oct 31 16:03:43 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Sat, 31 Oct 2020 16:03:43 -0400 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <32ec2c88-8ba1-523d-a2ba-b2f06aea6d11@fourthworld.com> References: <59FDB330-A272-4B03-BD13-58779A0E457C@pidigital.co.uk> <32ec2c88-8ba1-523d-a2ba-b2f06aea6d11@fourthworld.com> Message-ID: <0de3dcf8-3a62-9543-80fb-f4d90bdb2dc0@networkdreams.net> Hi Richard, Although I love UNIX, I think this is a much better point. Looking at the feedback comments I have realized that porting Livecode to BSD may not be worth it. However, I think it is critical for our community to be able to run Livecode scripting on IOT devices. IOT and Edge computing is the future (and the present). I dare to say that Livecode is a much simpler language for IOT than Python (although this is a personal opinion). If you learn Livecode you kill five birds with one stone: Desktop, Mobile, Scripting, Web and Server development. Have you tried developing desktop or mobile applications with Python? It is a tremendous pain. We need a much wider community to be able to extend Livecode to all areas. Can you imagine Livecode as a popular option on most the important job posting sites? I think the first step would be to have a working version of Livecode server for Raspberry. Livecode currently compiles for many ARM versions. How difficult could it be to adapt Livecode Server to these versions? On 10/28/20 11:06 PM, Richard Gaskin via use-livecode wrote: > Heriberto Torrado wrote: > > > So, here is my idea: What about to create non official versions of > > Livecode server (for scripting purposes) for other platforms not yet > > supported? > > I think it could be good for RunRev: They won't have to work > > supporting those versions and Livecode language will spread to other > > fields. > > > > What do you guys think? Do you think we'll have enough manpower into > > our community to do that? > > Raspberry Pi, w/ Raspbian or other Debian-based Linux (Linux ARM). > > Home servers, school labs, IoT, and so much more - all currently lost > to us by not having a build for that engine. > > The last build was an experiment done by a team member no longer with > the company, for LC v7.1. > > If you could update the Server edition to v9.6 we could at least have > a modern version to work with for faceless applications, and any > remaining work for the GUI side would likely be relatively small > (certainly smaller than one person trying to knock it all off by > themselves). > From htorrado at networkdreams.net Sat Oct 31 16:13:21 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Sat, 31 Oct 2020 16:13:21 -0400 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <5667969B-E71B-40F1-B740-A027A965A84E@iotecdigital.com> References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> <193712bd-c943-cb9d-93c1-8864e36aaeb3@networkdreams.net> <5667969B-E71B-40F1-B740-A027A965A84E@iotecdigital.com> Message-ID: <9b6e3078-18ac-7f2a-3058-8d52ac8359e2@networkdreams.net> Not very sure, but months ago I read this (but he seems to talk about BSD user utils more than the Kernel). https://www.quora.com/Is-macOS-considered-to-be-a-BSD-UNIX Yes, Apple?s macOS can be considered to be a BSD UNIX. ?? 1) Apple?s macOS is an officially certified UNIX, that takes care of the UNIX part of the question. ?? 2) NeXT was created by using BSD OS, the Mach microkernel and then modifying those with new modules created by NeXT. ?? 3) Today's macOS is descended from NeXT (which Apple acquired and transitioned macOS to in 1999) ?? 4) Apple replaced the NeXT user interface with the world famous Macintosh user interface ?? 5) Apple, slowly over the years removed the NeXT modules and replaced them with pure BSD modules and some Apple custom modules ?? 6) The Mach microkernel was replaced with the Appel XNU hybrid kernel ?? 7) As of macOS Catalina 10.15, there is no longer any NeXT modules in macOS, macOS is now mostly BSD with a few custom Apple modules and of course the Macintosh user interface, which has been polished over the years ?? 8) So yes, macOS is BSD and at the same time it still is Apple Macintosh ?? 9) If you go to the command line you will see that it is almost completely BSD with a few Apple commands for security, file system, etc. ?? 10) If you are using it normally, then what you see is a pure Macintosh user experience. On 10/29/20 1:32 PM, Bob Sneidar via use-livecode wrote: > Are we sure about this?? I thought Apple had moved completely away from BSD a long while back. > > Bob S > > >> On Oct 28, 2020, at 12:53 , Heriberto Torrado via use-livecode wrote: >> >> Thanks Andre, >> >> I realized that BSD kernels are not the same as MacOS kernels. >> As you say: MacOS has a hybrid kernel based on XNU and some parts of BSD. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From htorrado at networkdreams.net Sat Oct 31 16:46:14 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Sat, 31 Oct 2020 16:46:14 -0400 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <0f843fd9-c350-d384-904b-f1cfce5e10f1@fourthworld.com> References: <1B2D06FF-2AC1-4236-BB64-DAB98E8B0D13@milby7.com> <0f843fd9-c350-d384-904b-f1cfce5e10f1@fourthworld.com> Message-ID: Richard, Brian thank you very much, I read about this Livecode execution method a time ago and found it amazing. Livecode is an amazing product! So, these are my thoughts: 1) It seems we can run a Livecode headless binary on BSD using the Linux compatibility layer. Is that so? 2) How difficult could it be porting Livecode Server to ARM? I tried to do this last year using the source code but I got this error: Unknown platform. I tried to remove from the source code the target platform check but it didn't work. Best, Hery On 10/29/20 1:57 PM, Richard Gaskin via use-livecode wrote: > Brian Milby wrote: > > > On Oct 28, 2020, at 11:57 PM, Richard Gaskin wrote: > >> But Heriberto's up for an adventure, one enhancement that would lower > >> RAM use and speed things up a bit is this one: > >> > >> https://quality.livecode.com/show_bug.cgi?id=14115 > >> > >> Heriberto, if that's interesting to you let me know. I have a > >> workaround in place now... > > > > What is the workaround that you ended up using?? I looked at the code > > once but it quickly went over my head.? I couldn?t see where the fonts > > were pulled in, at least not where it could be cleanly intercepted. > > I appreciate the time you and Mark Wieder spent looking into that - > thanks again. > > I just ran another test this morning to verify that the setup works > reasonably well, and after I get some client work out of the way I'll > post some notes on it. > > In the meantime, another option just occurred to me which may be > simpler and more complete: > > > What happens when standalones are run with -ui, and can that flag be > added to LC Server? > > If -ui not only bypasses font init but all other graphics init (like > the Skia subsystem, buffering, etc.) it should be a far better solution. > > And since -ui is already supported for standalones, my hope is it > would be simpler to make it available for LC Server than any new flag > which would require a new implementation throughout. > > -- > ?Richard Gaskin > ?Fourth World Systems > ?Software Design and Development for the Desktop, Mobile, and the Web > ?____________________________________________________________________ > ?Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From dochawk at gmail.com Sat Oct 31 19:33:08 2020 From: dochawk at gmail.com (doc hawk) Date: Sat, 31 Oct 2020 16:33:08 -0700 Subject: Livecode server UNIX version (not Linux). In-Reply-To: <9b6e3078-18ac-7f2a-3058-8d52ac8359e2@networkdreams.net> References: <006a01d6a30d$45d7ef10$d187cd30$@networkdreams.net> <193712bd-c943-cb9d-93c1-8864e36aaeb3@networkdreams.net> <5667969B-E71B-40F1-B740-A027A965A84E@iotecdigital.com> <9b6e3078-18ac-7f2a-3058-8d52ac8359e2@networkdreams.net> Message-ID: heriberto harrumphed > 3) Today's macOS is descended from NeXT (which Apple acquired and transitioned macOS to in 1999) And they got a free Jobs to go with it! Or did they buy a Jobs, and get a free OS. I?ve never quite been clear . . > 6) The Mach microkernel was replaced with the Appel XNU hybrid kernel Ooh, I missed that. > 1) It seems we can run a Livecode headless binary on BSD using the Linux compatibility layer. Is that so? I?m pretty sure that I ran 5.5 both headless and X under FreeBSD. Come to think of it, I believe there are multiple threads in the archives, probably mid 2012, from when I was asking questions about it. In there would be some discussions as to how far it gets in startup before bouncing off of X when not using headless.