From panos.merakos at livecode.com Wed May 1 05:43:26 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 1 May 2019 12:43:26 +0300 Subject: [ANN] Release 9.0.4 RC-3 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.4 RC-3. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.0.4 RC-3 comes with 2 bugfixes: 21856 - not loaded Plugins are listed in Project Browser after stack is opened from disk 21984 - Android apps with accelerated rendering on do not do an initial screen refresh without interaction Since the last stable version (9.0.3), more than 35 bugs have been fixed. Known issues ================ - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_3.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From jbv at souslelogo.com Wed May 1 06:42:30 2019 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 01 May 2019 06:42:30 -0400 Subject: Question about auto-save Message-ID: <77c645c5679315b2c2100d878b938542@souslelogo.com> Hi list, I am working on a web app (with LC server-side) in which end users will be able to add & manipulate various svg elements to complete custom designs. My client asked me to implement some kind of auto-save function so that users can automatically retrieve the last step of their design each time they log on to the site. I am planing to use cgi requests to record the svg tags & attributes on the server. I was wondering : what is the best way to handle this : - send a cgi request every time the user changes something - send a cgi request every minute (for instance) and record the content of the design at that specific time - send a cgi request only when users leave the page or the site, and record only the last step of the design during a specific session... Thanks in advance for any useful tip & advice. Best, jbv From matthias_livecode_150811 at m-r-d.de Wed May 1 07:37:58 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 1 May 2019 13:37:58 +0200 Subject: Question about auto-save In-Reply-To: <77c645c5679315b2c2100d878b938542@souslelogo.com> References: <77c645c5679315b2c2100d878b938542@souslelogo.com> Message-ID: <84B5A922-2DB9-422F-A5C0-E8ABDB08FB63@m-r-d.de> Is there a Save button the user can click to save the work? If so, i would go with option 3 and save only the last state of the work. The Save button would allow the users to save their work everytime they want to, but theycan be assured that at least the last state is saved automatically. Saving after every change is a bit dangerous if you do not allow to go back to more than one state. Just imagine, the user has done much work and unfortunately does 2 "unwanted" changes and want to go back to the state before of these 2 changes. That would be impossible without several backups. But shouldn?t your customer answer this question as the customer should know what option is needed on their side? Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 01.05.2019 um 12:42 schrieb jbv via use-livecode >: > > Hi list, > I am working on a web app (with LC server-side) in which end users > will be able to add & manipulate various svg elements to complete > custom designs. > My client asked me to implement some kind of auto-save function so > that users can automatically retrieve the last step of their design > each time they log on to the site. I am planing to use cgi requests > to record the svg tags & attributes on the server. > I was wondering : what is the best way to handle this : > - send a cgi request every time the user changes something > - send a cgi request every minute (for instance) and record the > content of the design at that specific time > - send a cgi request only when users leave the page or the site, > and record only the last step of the design during a specific session... > > Thanks in advance for any useful tip & advice. > Best, > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 1 08:43:29 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 1 May 2019 15:43:29 +0300 Subject: [ANN] Release 9.0.4 RC-3 In-Reply-To: References: Message-ID: Whacko! Just what is needed to fill up the gaping hole left by having a silly work-free day on May 1. As they say, "Up the Workers!" Richmond. On 1.05.19 12:43, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.0.4 RC-3. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.0.4 RC-3 comes with 2 bugfixes: > > 21856 - not loaded Plugins are listed in Project Browser after stack is > opened from disk > 21984 - Android apps with accelerated rendering on do not do an initial > screen refresh without interaction > > Since the last stable version (9.0.3), more than 35 bugs have been fixed. > > > Known issues > ================ > > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > The full release notes are available from: > > http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_3.pdf > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > > Have fun! > The LiveCode Team > > -- > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 1 09:11:20 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 1 May 2019 13:11:20 +0000 Subject: [ANN] Release 9.0.4 RC-3 In-Reply-To: References: Message-ID: <91A3474B-F217-44D5-807E-8952BA06CA4B@hindu.org> Thanks to the team for the acceleratedRendering fix. But we can't build for iOS 12.2. So we are out of luck a) to test in our own iPhones b) to go live to the AppleApp store. Well anyway, if it works on Android, it has always worked on iPhone...I'll assume if it works on my Moto6, that we are good, for development. I am two weeks away from an interim release...I need to keep the two platforms in sync. Any chance 9.0.3 RC4 for iOS 12.2. is around the corner? ? panagiotis merakos wrote: We are pleased to announce the release of LiveCode 9.0.4 RC-3. From andrew at midwestcoastmedia.com Wed May 1 10:06:43 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Wed, 01 May 2019 14:06:43 +0000 Subject: Android needs 64 bit builds In-Reply-To: Message-ID: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> This was originally mentioned in a message at the end of January, but that thread never went anywhere. I submitted an updated app to Google Play today and noticed the warning message myself for the first time. It seems we have a few more months to prepare for this, but can't recall seeing any mention of this on the LiveCode roadmap. https://developer.android.com/distribute/best-practices/develop/64-bit --Andrew Bell From rdimola at evergreeninfo.net Wed May 1 10:49:52 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 1 May 2019 10:49:52 -0400 Subject: [ANN] Release 9.0.4 RC-3 In-Reply-To: <91A3474B-F217-44D5-807E-8952BA06CA4B@hindu.org> References: <91A3474B-F217-44D5-807E-8952BA06CA4B@hindu.org> Message-ID: <002a01d5002d$25046130$6f0d2390$@net> I have no problem running LC apps on iOS 12.2 and submitting to store using Xcode 10.1(12.1 SDK) 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 Sannyasin Brahmanathaswami via use-livecode Sent: Wednesday, May 01, 2019 9:11 AM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: [ANN] Release 9.0.4 RC-3 Thanks to the team for the acceleratedRendering fix. But we can't build for iOS 12.2. So we are out of luck a) to test in our own iPhones b) to go live to the AppleApp store. Well anyway, if it works on Android, it has always worked on iPhone...I'll assume if it works on my Moto6, that we are good, for development. I am two weeks away from an interim release...I need to keep the two platforms in sync. Any chance 9.0.3 RC4 for iOS 12.2. is around the corner? ? panagiotis merakos wrote: We are pleased to announce the release of LiveCode 9.0.4 RC-3. _______________________________________________ use-livecode mailing list use-livecode 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 May 1 11:33:14 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 May 2019 10:33:14 -0500 Subject: Android needs 64 bit builds In-Reply-To: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> Message-ID: <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I remember your question and have also been waiting for a response. Hopefully someone on the team will see this, but if not a note to support may give us an answer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 1, 2019 9:08:38 AM Andrew Bell via use-livecode wrote: > This was originally mentioned in a message at the end of January, but > that thread never went anywhere. I submitted an updated app to Google > Play today and noticed the warning message myself for the first time. > It seems we have a few more months to prepare for this, but can't > recall seeing any mention of this on the LiveCode roadmap. > > https://developer.android.com/distribute/best-practices/develop/64-bit > > --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 From jjs at krutt.org Wed May 1 16:29:08 2019 From: jjs at krutt.org (JJS) Date: Wed, 1 May 2019 22:29:08 +0200 Subject: [ANN] Release 9.0.4 RC-3 In-Reply-To: References: Message-ID: <29b21263-3e6c-88f2-cf4b-c241c3cfa15a@krutt.org> Lucky bastard! :) In Holland we are (almost) the only stupid people who go to work on Labourday. Op 1-5-2019 om 14:43 schreef Richmond via use-livecode: > Whacko! > > Just what is needed to fill up the gaping hole left by having a silly > work-free day on May 1. > > As they say, "Up the Workers!" > > Richmond. > > On 1.05.19 12:43, panagiotis merakos via use-livecode wrote: >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.0.4 RC-3. >> >> >> Getting the Release >> =================== >> You can get the release at https://downloads.livecode.com/livecode/ >> or via >> the automatic updater. >> >> >> Release Contents >> ================ >> LiveCode 9.0.4 RC-3 comes with 2 bugfixes: >> >> 21856? -? not loaded Plugins are listed in Project Browser after >> stack is >> opened from disk >> 21984? -? Android apps with accelerated rendering on do not do an >> initial >> screen refresh without interaction >> >> Since the last stable version (9.0.3), more than 35 bugs have been >> fixed. >> >> >> Known issues >> ================ >> >> - The use of the Browser widget is not supported on Ubuntu 18.04 64 >> bit LTS >> yet. >> >> The full release notes are available from: >> >> http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_3.pdf >> >> >> Feedback >> ======== >> Please report any bugs encountered on our BugZilla at >> http://quality.livecode.com/ >> >> We have a forum available for discussing LiveCode Builder at >> http://forums.livecode.com/viewforum.php?f=93 >> >> >> Have fun! >> The LiveCode Team >> >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 jjs at krutt.org Wed May 1 16:30:58 2019 From: jjs at krutt.org (JJS) Date: Wed, 1 May 2019 22:30:58 +0200 Subject: Android needs 64 bit builds In-Reply-To: <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: it will be in 9.1 Op 1-5-2019 om 17:33 schreef J. Landman Gay via use-livecode: > I remember your question and have also been waiting for a response. > Hopefully someone on the team will see this, but if not a note to > support may give us an answer. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 1, 2019 9:08:38 AM Andrew Bell via use-livecode > wrote: > >> This was originally mentioned in a message at the end of January, but >> that thread never went anywhere. I submitted an updated app to Google >> Play today and noticed the warning message myself for the first time. >> It seems we have a few more months to prepare for this, but can't >> recall seeing any mention of this on the LiveCode roadmap. >> >> https://developer.android.com/distribute/best-practices/develop/64-bit >> >> --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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 1 17:23:18 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 1 May 2019 16:23:18 -0500 Subject: Android needs 64 bit builds In-Reply-To: References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> Fantastic. Thank you. On 5/1/19 3:30 PM, JJS via use-livecode wrote: > it will be in 9.1 > > Op 1-5-2019 om 17:33 schreef J. Landman Gay via use-livecode: >> I remember your question and have also been waiting for a response. >> Hopefully someone on the team will see this, but if not a note to >> support may give us an answer. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 1, 2019 9:08:38 AM Andrew Bell via use-livecode >> wrote: >> >>> This was originally mentioned in a message at the end of January, but >>> that thread never went anywhere. I submitted an updated app to Google >>> Play today and noticed the warning message myself for the first time. >>> It seems we have a few more months to prepare for this, but can't >>> recall seeing any mention of this on the LiveCode roadmap. >>> >>> https://developer.android.com/distribute/best-practices/develop/64-bit >>> >>> --Andrew Bell -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Wed May 1 18:38:21 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 1 May 2019 22:38:21 +0000 Subject: [ANN] Release 9.0.4 RC-3 In-Reply-To: <002a01d5002d$25046130$6f0d2390$@net> References: <91A3474B-F217-44D5-807E-8952BA06CA4B@hindu.org> <002a01d5002d$25046130$6f0d2390$@net> Message-ID: <2C2CB7B9-9783-4177-9C00-02F6973BFAFE@unimelb.edu.au> Really? I ran into trouble a couple of days ago trying to install a couple of my apps onto an iPad that I had recently updated to iOS 12.2 and assumed it wasn't possible. LC 9.0.4 (rc2), Xcode 10.1. Terry... ?On 2/5/19, 12:49 am, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: I have no problem running LC apps on iOS 12.2 and submitting to store using Xcode 10.1(12.1 SDK) 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 Sannyasin Brahmanathaswami via use-livecode Sent: Wednesday, May 01, 2019 9:11 AM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: [ANN] Release 9.0.4 RC-3 Thanks to the team for the acceleratedRendering fix. But we can't build for iOS 12.2. So we are out of luck a) to test in our own iPhones b) to go live to the AppleApp store. Well anyway, if it works on Android, it has always worked on iPhone...I'll assume if it works on my Moto6, that we are good, for development. I am two weeks away from an interim release...I need to keep the two platforms in sync. Any chance 9.0.3 RC4 for iOS 12.2. is around the corner? panagiotis merakos wrote: We are pleased to announce the release of LiveCode 9.0.4 RC-3. _______________________________________________ use-livecode mailing list use-livecode 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 terry.judd at unimelb.edu.au Wed May 1 19:44:02 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 1 May 2019 23:44:02 +0000 Subject: [ANN] Release 9.0.4 RC-3 In-Reply-To: <2C2CB7B9-9783-4177-9C00-02F6973BFAFE@unimelb.edu.au> References: <91A3474B-F217-44D5-807E-8952BA06CA4B@hindu.org> <002a01d5002d$25046130$6f0d2390$@net> <2C2CB7B9-9783-4177-9C00-02F6973BFAFE@unimelb.edu.au> Message-ID: <873931A7-2AA4-4529-9DB4-B3DF4835CF2F@unimelb.edu.au> OK, you're right. Seems like something went astray on that iPad when I restored it from a backup last week. I've just done a factory reset on it and my apps now install just fine under iOS 12.2. Terry... ?On 2/5/19, 8:39 am, "use-livecode on behalf of Terry Judd via use-livecode" wrote: Really? I ran into trouble a couple of days ago trying to install a couple of my apps onto an iPad that I had recently updated to iOS 12.2 and assumed it wasn't possible. LC 9.0.4 (rc2), Xcode 10.1. Terry... On 2/5/19, 12:49 am, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: I have no problem running LC apps on iOS 12.2 and submitting to store using Xcode 10.1(12.1 SDK) 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 Sannyasin Brahmanathaswami via use-livecode Sent: Wednesday, May 01, 2019 9:11 AM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: [ANN] Release 9.0.4 RC-3 Thanks to the team for the acceleratedRendering fix. But we can't build for iOS 12.2. So we are out of luck a) to test in our own iPhones b) to go live to the AppleApp store. Well anyway, if it works on Android, it has always worked on iPhone...I'll assume if it works on my Moto6, that we are good, for development. I am two weeks away from an interim release...I need to keep the two platforms in sync. Any chance 9.0.3 RC4 for iOS 12.2. is around the corner? panagiotis merakos wrote: We are pleased to announce the release of LiveCode 9.0.4 RC-3. _______________________________________________ use-livecode mailing list use-livecode 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 Wed May 1 20:48:10 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 1 May 2019 20:48:10 -0400 Subject: [ANN] Release 9.0.4 RC-3 In-Reply-To: <873931A7-2AA4-4529-9DB4-B3DF4835CF2F@unimelb.edu.au> References: <91A3474B-F217-44D5-807E-8952BA06CA4B@hindu.org> <002a01d5002d$25046130$6f0d2390$@net> <2C2CB7B9-9783-4177-9C00-02F6973BFAFE@unimelb.edu.au> <873931A7-2AA4-4529-9DB4-B3DF4835CF2F@unimelb.edu.au> Message-ID: <005b01d50080$b9f2d210$2dd87630$@net> Great! Glad you got that resolved. 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 Terry Judd via use-livecode Sent: Wednesday, May 01, 2019 7:44 PM To: How to use LiveCode Cc: Terry Judd Subject: Re: [ANN] Release 9.0.4 RC-3 OK, you're right. Seems like something went astray on that iPad when I restored it from a backup last week. I've just done a factory reset on it and my apps now install just fine under iOS 12.2. Terry... ?On 2/5/19, 8:39 am, "use-livecode on behalf of Terry Judd via use-livecode" wrote: Really? I ran into trouble a couple of days ago trying to install a couple of my apps onto an iPad that I had recently updated to iOS 12.2 and assumed it wasn't possible. LC 9.0.4 (rc2), Xcode 10.1. Terry... On 2/5/19, 12:49 am, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: I have no problem running LC apps on iOS 12.2 and submitting to store using Xcode 10.1(12.1 SDK) 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 Sannyasin Brahmanathaswami via use-livecode Sent: Wednesday, May 01, 2019 9:11 AM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: [ANN] Release 9.0.4 RC-3 Thanks to the team for the acceleratedRendering fix. But we can't build for iOS 12.2. So we are out of luck a) to test in our own iPhones b) to go live to the AppleApp store. Well anyway, if it works on Android, it has always worked on iPhone...I'll assume if it works on my Moto6, that we are good, for development. I am two weeks away from an interim release...I need to keep the two platforms in sync. Any chance 9.0.3 RC4 for iOS 12.2. is around the corner? panagiotis merakos wrote: We are pleased to announce the release of LiveCode 9.0.4 RC-3. _______________________________________________ use-livecode mailing list use-livecode 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 jjs at krutt.org Thu May 2 13:22:21 2019 From: jjs at krutt.org (JJS) Date: Thu, 2 May 2019 19:22:21 +0200 Subject: Android needs 64 bit builds In-Reply-To: <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> Message-ID: <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> Jacque, check the image on this page : https://github.com/livecode/livecode-ide/pull/1990 :) Op 1-5-2019 om 23:23 schreef J. Landman Gay via use-livecode: > Fantastic. Thank you. > > On 5/1/19 3:30 PM, JJS via use-livecode wrote: >> it will be in 9.1 >> >> Op 1-5-2019 om 17:33 schreef J. Landman Gay via use-livecode: >>> I remember your question and have also been waiting for a response. >>> Hopefully someone on the team will see this, but if not a note to >>> support may give us an answer. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On May 1, 2019 9:08:38 AM Andrew Bell via use-livecode >>> wrote: >>> >>>> This was originally mentioned in a message at the end of January, but >>>> that thread never went anywhere. I submitted an updated app to Google >>>> Play today and noticed the warning message myself for the first time. >>>> It seems we have a few more months to prepare for this, but can't >>>> recall seeing any mention of this on the LiveCode roadmap. >>>> >>>> https://developer.android.com/distribute/best-practices/develop/64-bit >>>> >>>> --Andrew Bell > > From jacque at hyperactivesw.com Thu May 2 14:07:11 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 May 2019 13:07:11 -0500 Subject: Android needs 64 bit builds In-Reply-To: <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> Message-ID: <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Wow. X86 too! Now we can use the faster emulator. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 2, 2019 12:24:21 PM JJS via use-livecode wrote: > Jacque, check the image on this page : > https://github.com/livecode/livecode-ide/pull/1990 > > :) > > > Op 1-5-2019 om 23:23 schreef J. Landman Gay via use-livecode: >> Fantastic. Thank you. >> >> On 5/1/19 3:30 PM, JJS via use-livecode wrote: >>> it will be in 9.1 >>> >>> Op 1-5-2019 om 17:33 schreef J. Landman Gay via use-livecode: >>>> I remember your question and have also been waiting for a response. >>>> Hopefully someone on the team will see this, but if not a note to >>>> support may give us an answer. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On May 1, 2019 9:08:38 AM Andrew Bell via use-livecode >>>> wrote: >>>> >>>>> This was originally mentioned in a message at the end of January, but >>>>> that thread never went anywhere. I submitted an updated app to Google >>>>> Play today and noticed the warning message myself for the first time. >>>>> It seems we have a few more months to prepare for this, but can't >>>>> recall seeing any mention of this on the LiveCode roadmap. >>>>> >>>>> https://developer.android.com/distribute/best-practices/develop/64-bit >>>>> >>>>> --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 From ambassador at fourthworld.com Thu May 2 15:40:09 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 2 May 2019 12:40:09 -0700 Subject: SoCal LC group: CanelaDB at tonight's meeting Message-ID: <4945cffc-fa37-b0b5-e2e0-188eea289cb8@fourthworld.com> Tonight's LiveCode Developer's meetup in Pasadena, CA will have a special guest: Mark Talluto of Canela Software will be presenting CanelaDB! Meetup details: Where ----- Du-par's, back room 214 S. Lake Avenue Pasadena CA 91101 http://www.du-pars.com/dupars_locations.html When ---- Thursday, May 2, 7:00PM Who --- The meetings are open to any and all who have an interest in chatting about LiveCode. What ---- Featured for this meeting: Mark Talluto will demo CanelaDB! We should also have plenty of time for general Q&A and problem-solving, as usual. Please RSVP ----------- We're now on Meetup.com, as part of the SGV Tech group: https://www.meetup.com/SGVTech/events/zjvctlyzhbdb/ Our meeting room has limited seating, so please RSVP there to reserve a seat. -- Richard Gaskin Fourth World Systems From monte at appisle.net Thu May 2 18:38:31 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 3 May 2019 08:38:31 +1000 Subject: Android needs 64 bit builds In-Reply-To: <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> > On 3 May 2019, at 4:07 am, J. Landman Gay via use-livecode wrote: > > Wow. X86 too! Now we can use the faster emulator. :) Yes that was the main reason for us doing x86 and x86_64 although there are some devices available for those architectures they aren?t very common so you probably only want to build for arm7 and arm64 when releasing to avoid bloating your app too much. To make things simpler the Test button for android will detect the architecture of the target device/emulator and build just for that even if you don?t currently have it selected in the standalone builder. Cheers Monte From rdimola at evergreeninfo.net Thu May 2 21:25:30 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 May 2019 21:25:30 -0400 Subject: Android needs 64 bit builds In-Reply-To: <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> Message-ID: <007b01d5014f$1bbcf470$5336dd50$@net> You can upload 4 separate builds to Google Play for each the archs and when the user installs only the apk for the user's device arch will download. This alleviates having one huge apk. Some devices have apk size limits that you can hit. The only hitch is that the build number bust be different for each. I am working on a IDE build plug-in that will build all 4 to separate apks and automatically up the version number by 1 for each arch. 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 Monte Goulding via use-livecode Sent: Thursday, May 02, 2019 6:39 PM To: How to use LiveCode Cc: Monte Goulding Subject: Re: Android needs 64 bit builds > On 3 May 2019, at 4:07 am, J. Landman Gay via use-livecode wrote: > > Wow. X86 too! Now we can use the faster emulator. :) Yes that was the main reason for us doing x86 and x86_64 although there are some devices available for those architectures they aren?t very common so you probably only want to build for arm7 and arm64 when releasing to avoid bloating your app too much. To make things simpler the Test button for android will detect the architecture of the target device/emulator and build just for that even if you don?t currently have it selected in the standalone builder. Cheers Monte _______________________________________________ use-livecode mailing list use-livecode 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 Fri May 3 02:01:51 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 3 May 2019 09:01:51 +0300 Subject: Android needs 64 bit builds In-Reply-To: <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> Message-ID: <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> Time to dust off my Intel chip Android tablet.... Richmond. On 3.05.19 ?. 1:38 ?., Monte Goulding via use-livecode wrote: > >> On 3 May 2019, at 4:07 am, J. Landman Gay via use-livecode wrote: >> >> Wow. X86 too! Now we can use the faster emulator. :) > Yes that was the main reason for us doing x86 and x86_64 although there are some devices available for those architectures they aren?t very common so you probably only want to build for arm7 and arm64 when releasing to avoid bloating your app too much. > > To make things simpler the Test button for android will detect the architecture of the target device/emulator and build just for that even if you don?t currently have it selected in the standalone builder. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode 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 runrevlist at cc-mail.nl Fri May 3 11:01:22 2019 From: runrevlist at cc-mail.nl (runrevlist at cc-mail.nl) Date: Fri, 3 May 2019 17:01:22 +0200 Subject: serial speed Message-ID: Quite a few years ago I got the connection between LC and arduino properly working. Unfortunately, then the highest speed LC was capable of was 57600 Baud. Besides 3D printing, I developed quite a big delta printer, I am now also into laser engraving and of course I printed all the parts to create one myself. I have now written a LC program to generate g-Code from foto?s. That is all working quite well. LC is such a wonderfull tool. Unfortunately, universal gCode sender, a open source tool written in java chokes on big images. So I want to write my own g-Code sender, which isn?t that hard to do, except for one absolutely crucial detail. The serial speed. I had hoped that by now, about 10 years later LC would be able to use a serial speed of at least 115200 Baud. But allas. LC still can?t communicate at that speed, which is an absolute deal breaker. It is incredible that LC can?t communicate with the outside world with something resembling a reasonable speed. LC is ver well suited for all kinds of programs communicating with robots, 3D printers, milling machines etc. if only we could have a decent speed. I am not even asking for the preferred speed of 22?.. The arduino IDE can easily communicate at that speed, why not LC? Does any one have a solution or idea how to increase this silly speed limit of LC? I really need this tool and LC id the perfect choice to write it in a very short time, but as it is now, it?s a no go. Any advice is greatly appreciated. Claudi Cornaz From dan at clearvisiontech.com Fri May 3 11:08:50 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 3 May 2019 15:08:50 +0000 Subject: mobilePickPhoto on Android In-Reply-To: <5C3CCD46-1672-4E12-A07C-EBA5E40EA608@clearvisiontech.com> References: <5C3CCD46-1672-4E12-A07C-EBA5E40EA608@clearvisiontech.com> Message-ID: <30BB7533-B0CD-4928-8F98-675B031BF197@clearvisiontech.com> Panos, Here?s an update? I met in person with my client with his Samsung Galaxy S9+ running Android 9. My standalone built with 9.0.4 rc3 is failing on his device. I call mobilePickPhoto "camera", and the camera does come up. I take the picture, the screen flashes, and then the camera is ready to take another photo. The photos are being added to his photo library. It doesn?t return to the app. If I cancel the camera, it returns to the app and I get ?cancel? as the result. There must be something different about this particular device. Do you have any insight or things I might try? Anyone out there with a Samsung Galaxy S9+ running Android 9 that can confirm mobilePickPhoto is or isn?t working? -Dan From: Dan Friedman Date: Tuesday, April 30, 2019 at 10:26 AM To: panagiotis merakos , How to use LiveCode Subject: Re: mobilePickPhoto on Android Panos, Thank you for the reply. This version fixed the issue on several of our devices. However, my client is saying it?s failing on his Samsung Galaxy S9+ running Android 9. I have verified that he has the updated build (made with LC 9.0.4 rc 2) installed on his device. He says he has made no software or hardware modifications to the device but is still having the same issue. Perhaps there is a different issue with camera access with this device? -Dan From: panagiotis merakos Date: Tuesday, April 30, 2019 at 4:04 AM To: How to use LiveCode Cc: Dan Friedman Subject: Re: mobilePickPhoto on Android Hello Dan, This sounds like https://quality.livecode.com/show_bug.cgi?id=21826, affecting only specific Android devices, and has been fixed in LC 9.0.4 RC-1+ Kind regards, Panos -- On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode > wrote: Greetings! I am calling mobilePickPhoto "camera" on a Android device. If I am running Android version 7.0, everything works great. If I am running Android 8.0, then I get an empty back where length(image 1) is 0. Using LiveCode 9.0.3. Anyone know of an issue with mobilePickPhoto on late versions of Android. FWIW, mobilePickPhoto "library" works fine on all versions of Android. Thanks in advance, -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 mark at livecode.com Fri May 3 11:36:17 2019 From: mark at livecode.com (Mark Waddingham) Date: Fri, 03 May 2019 17:36:17 +0200 Subject: serial speed In-Reply-To: References: Message-ID: <5a54df5d40daf85bb944080f39b9dbcf@livecode.com> On 2019-05-03 17:01, runrevlist--- via use-livecode wrote: > LC is ver well suited for all kinds of programs communicating with > robots, 3D printers, milling machines etc. if only we could have a > decent speed. I am not even asking for the preferred speed of 22?.. > The arduino IDE can easily communicate at that speed, why not LC? Which platform are you using? On Windows, any limit in baudrate is determined by Win32: the serialControlString property is passed to the 'BuildCommDCBW' Win32 API function to parse (which doesn't explicitly mention a baudrate limit). On Mac/Linux, however, there is an 'artificial' limit - the engine parses the control string itself in those cases and maps the integer baudrate value to a system constant... So the reason it is limited to 57600 baud will be because when that code was written, the only constants which were defined by the system were those up to 57600 baud (it would appear at least. This would need a (simple) engine patch to enable speeds up to the ones which are defined (on macOS there are constants up to 230400, Linux has a few higher ones defined too) when using 'the serialControlString' property. > Does any one have a solution or idea how to increase this silly speed > limit of LC? Alternatively, you might be able to open the serial device from LC as you do now and then use the 'stty' shell command to tweak the settings: stty -F /dev/tty... Here is one which is known by the system. For Linux this appears to be a reasonably normative list (although a baudrate being there doesn't mean the device supports it). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Fri May 3 13:06:41 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 3 May 2019 20:06:41 +0300 Subject: serial speed In-Reply-To: <5a54df5d40daf85bb944080f39b9dbcf@livecode.com> References: <5a54df5d40daf85bb944080f39b9dbcf@livecode.com> Message-ID: "when that code was written" As someone who is engaged on a log, drawn-out refactoring on my main codebase; a process that involves uncovering old code (max 9 years) that ranges from 'slightly clunky' to 'utter crap' I have NO sympathy with phrases such as "when the code was written" when relating to something that is extremely antiquated. I have a list as long as your arm of new features I'd like to implement in my Devawriter Pro: but they will just have to wait until I have cleaned out the attic, the cellar, and re-papered the walls and repainted the dadoes in the main rooms . . . Richmond. On 3.05.19 18:36, Mark Waddingham via use-livecode wrote: > On 2019-05-03 17:01, runrevlist--- via use-livecode wrote: >> LC is ver well suited for all kinds of programs communicating with >> robots, 3D printers, milling machines etc. if only we could have a >> decent speed. I am not even asking for the preferred speed of 22?.. >> The arduino IDE can easily communicate at that speed, why not LC? > > Which platform are you using? > > On Windows, any limit in baudrate is determined by Win32: the > serialControlString > property is passed to the 'BuildCommDCBW' Win32 API function to parse > (which doesn't > explicitly mention a baudrate limit). > > On Mac/Linux, however, there is an 'artificial' limit - the engine > parses the control > string itself in those cases and maps the integer baudrate value to a > system constant... > > So the reason it is limited to 57600 baud will be because when that > code was written, the only constants which were defined by the system > were those up to 57600 baud (it would appear at least. > > This would need a (simple) engine patch to enable speeds up to the > ones which are defined (on macOS there are constants up to 230400, > Linux has a few higher ones defined too) when using 'the > serialControlString' property. > >> Does any one have a solution or idea how to increase this silly speed >> limit of LC? > > Alternatively, you might be able to open the serial device from LC as > you do now and then use the 'stty' shell command to tweak the settings: > > ?? stty -F /dev/tty... > > Here is one which is known by the system. For Linux this > appears to be a reasonably normative list > > (although a baudrate being there doesn't mean the device supports it). > > Warmest Regards, > > Mark. > From brahma at hindu.org Fri May 3 13:10:57 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 3 May 2019 17:10:57 +0000 Subject: [ANN] Release 9.0.4 RC-3 In-Reply-To: <005b01d50080$b9f2d210$2dd87630$@net> References: <91A3474B-F217-44D5-807E-8952BA06CA4B@hindu.org> <002a01d5002d$25046130$6f0d2390$@net> <2C2CB7B9-9783-4177-9C00-02F6973BFAFE@unimelb.edu.au> <873931A7-2AA4-4529-9DB4-B3DF4835CF2F@unimelb.edu.au> <005b01d50080$b9f2d210$2dd87630$@net> Message-ID: I took the release notes at "face value" and they did not include iOS 12.2 But, I tried it. It works! (aside)... I been doing testing an Android and rarely plug in my iPhone, because of the long build time and also due the debacle Apple created using a dongle to Mac Pro...my powered USB hub does not work either through the dongle...sheesh BR Ralph DiMola Great! Glad you got that resolved. From ahsoftware at sonic.net Fri May 3 13:26:52 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 3 May 2019 10:26:52 -0700 Subject: serial speed In-Reply-To: References: <5a54df5d40daf85bb944080f39b9dbcf@livecode.com> Message-ID: <948e91cb-6d68-9b49-b876-047a5f38d39f@sonic.net> On 5/3/19 10:06 AM, Richmond via use-livecode wrote: > As someone who is engaged on a log !!! -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Fri May 3 13:38:06 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 3 May 2019 20:38:06 +0300 Subject: serial speed In-Reply-To: <948e91cb-6d68-9b49-b876-047a5f38d39f@sonic.net> References: <5a54df5d40daf85bb944080f39b9dbcf@livecode.com> <948e91cb-6d68-9b49-b876-047a5f38d39f@sonic.net> Message-ID: Err: slightly wooden after a long day at work . . . Richmond. On 3.05.19 20:26, Mark Wieder via use-livecode wrote: > On 5/3/19 10:06 AM, Richmond via use-livecode wrote: > >> As someone who is engaged on a log > > !!! > From matthias_livecode_150811 at m-r-d.de Fri May 3 13:39:58 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 3 May 2019 19:39:58 +0200 Subject: Is Anyone using the XPDFViewer? Message-ID: <4BD7BADD-76F9-4002-8C1C-A39D89B61F88@m-r-d.de> Hi, i am using the following script to open a selected PDF file in the xpdf viewer, but i am not successful. answer file "PDF..." if it is empty then exit top put it into tFilename XPDFViewer_Open "pdfviewer", the windowID of this stack XPDFViewer_Set "pdfviewer", "filename",tFilename XPDFViewer_Set "pdfviewer", "rect", (100,100,500,500) XPDFViewer_Set "pdfviewer", "visible", TRUE put xpdfviewer_Get("pdfviewer","rect") The PDF viewer does not show up and the function pxdfviewer_get gives 0,0,0,0 back for the rect. Is there something wrong with my script? Or does anyone have working sample stack? Regards, Matthias Rebbe From jjs at krutt.org Fri May 3 13:45:44 2019 From: jjs at krutt.org (JJS) Date: Fri, 3 May 2019 19:45:44 +0200 Subject: Android needs 64 bit builds In-Reply-To: <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> Message-ID: <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> @Monte. I only see Atom x64 ARM for Android 7.1.1 in the SDK list in Android Studio. For all the higher Android versions i only see x86 and no ARM. I don't know if there are phones sold which have Android 8.x.x based on ARMx64. Do you know any details? @Ralph, i did not see that (the different builds) yet in the Play Developer Console. Or is it only available when you use the signing which is offered by Google? (upload and download there signature etcetera) It is also where your APK can be decreased in size, but i don't think it is for builds outside Android Studio? Any experience with that? Thanks, Jerry Op 3-5-2019 om 08:01 schreef Richmond via use-livecode: > Time to dust off my Intel chip Android tablet.... > > Richmond. > > On 3.05.19 ?. 1:38 ?., Monte Goulding via use-livecode wrote: >> >>> On 3 May 2019, at 4:07 am, J. Landman Gay via use-livecode >>> wrote: >>> >>> Wow. X86 too! Now we can use the faster emulator. :) >> Yes that was the main reason for us doing x86 and x86_64 although >> there are some devices available for those architectures they aren?t >> very common so you probably only want to build for arm7 and arm64 >> when releasing to avoid bloating your app too much. >> >> To make things simpler the Test button for android will detect the >> architecture of the target device/emulator and build just for that >> even if you don?t currently have it selected in the standalone builder. >> >> Cheers >> >> Monte >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 paul at researchware.com Fri May 3 13:50:11 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 3 May 2019 13:50:11 -0400 Subject: Is Anyone using the XPDFViewer? In-Reply-To: <4BD7BADD-76F9-4002-8C1C-A39D89B61F88@m-r-d.de> References: <4BD7BADD-76F9-4002-8C1C-A39D89B61F88@m-r-d.de> Message-ID: <09ec0705-6156-2b3b-cd93-a22e7946ab3c@researchware.com> I looked at my working code. Every where I set the rect, I do so by: ? XPDFViewer_Set "pdfViewer","RECT", rect of grc "pdfRect" of grp "pdfViewer" of me where the graphic "pdfRect is a rectangle that is used to to map the area the pdf viewer appears in. Try creating a graphic called whatever you want. Set the rect of it to 100,100,500,500 and then XPDFViewer_Set "pdfviewer", "rect", rect of graphic On 5/3/2019 1:39 PM, Matthias Rebbe via use-livecode wrote: > Hi, > > i am using the following script to open a selected PDF file in the xpdf viewer, but i am not successful. > > answer file "PDF..." > > if it is empty then exit top > > put it into tFilename > > XPDFViewer_Open "pdfviewer", the windowID of this stack > > XPDFViewer_Set "pdfviewer", "filename",tFilename > > XPDFViewer_Set "pdfviewer", "rect", (100,100,500,500) > > XPDFViewer_Set "pdfviewer", "visible", TRUE > > put xpdfviewer_Get("pdfviewer","rect") > > > The PDF viewer does not show up and the function pxdfviewer_get gives 0,0,0,0 back for the rect. > > Is there something wrong with my script? > Or does anyone have working sample stack? > > Regards, > > Matthias Rebbe > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri May 3 15:28:22 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 May 2019 15:28:22 -0400 Subject: Android needs 64 bit builds In-Reply-To: <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> Message-ID: <005b01d501e6$62222b50$266681f0$@net> You can have more than one apk in production as long as they target different devices. In LCs case that would be 4 apks one for each architecture. The apk for the user's device will be automatically selected when installing from PlayStore. The size decrease comes from building 4 apks. Each of the 4 apks supports 1 architecture instead of 1 huge apk with all 4 engines. If you build 1 large apk then you can limit the devices your app is compatible with. I use the signing and does not create anymore work. It seems to be transparent. 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 JJS via use-livecode Sent: Friday, May 03, 2019 1:46 PM To: Richmond via use-livecode Cc: JJS Subject: Re: Android needs 64 bit builds @Monte. I only see Atom x64 ARM for Android 7.1.1 in the SDK list in Android Studio. For all the higher Android versions i only see x86 and no ARM. I don't know if there are phones sold which have Android 8.x.x based on ARMx64. Do you know any details? @Ralph, i did not see that (the different builds) yet in the Play Developer Console. Or is it only available when you use the signing which is offered by Google? (upload and download there signature etcetera) It is also where your APK can be decreased in size, but i don't think it is for builds outside Android Studio? Any experience with that? Thanks, Jerry Op 3-5-2019 om 08:01 schreef Richmond via use-livecode: > Time to dust off my Intel chip Android tablet.... > > Richmond. > > On 3.05.19 ?. 1:38 ?., Monte Goulding via use-livecode wrote: >> >>> On 3 May 2019, at 4:07 am, J. Landman Gay via use-livecode >>> wrote: >>> >>> Wow. X86 too! Now we can use the faster emulator. :) >> Yes that was the main reason for us doing x86 and x86_64 although >> there are some devices available for those architectures they aren?t >> very common so you probably only want to build for arm7 and arm64 >> when releasing to avoid bloating your app too much. >> >> To make things simpler the Test button for android will detect the >> architecture of the target device/emulator and build just for that >> even if you don?t currently have it selected in the standalone builder. >> >> Cheers >> >> Monte >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 May 3 15:50:05 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 3 May 2019 21:50:05 +0200 Subject: Is Anyone using the XPDFViewer? In-Reply-To: <09ec0705-6156-2b3b-cd93-a22e7946ab3c@researchware.com> References: <4BD7BADD-76F9-4002-8C1C-A39D89B61F88@m-r-d.de> <09ec0705-6156-2b3b-cd93-a22e7946ab3c@researchware.com> Message-ID: <631B739C-3F2C-46CD-A538-08D06FCA14FB@m-r-d.de> Thanks Paul, for whatever reason it still does not work. I?ve found a sample stack XPDF.livecode in the Livecode bundle in LiveCode Business 9.0.4 (rc 2).app/Contents/Tools/Ext/XPDF-1.0.31 The sample stack works, so it?s my code and i might be missing something. Unfortunately the script of the sample stack is very detailed, but anyway it?s working and i just have to dig through the sample script to see how it is correctly done. Regards, Matthias Rebbe > Am 03.05.2019 um 19:50 schrieb Paul Dupuis via use-livecode : > > I looked at my working code. > > Every where I set the rect, I do so by: > > XPDFViewer_Set "pdfViewer","RECT", rect of grc "pdfRect" of grp "pdfViewer" of me > > where the graphic "pdfRect is a rectangle that is used to to map the area the pdf viewer appears in. > > Try creating a graphic called whatever you want. Set the rect of it to 100,100,500,500 and then > > XPDFViewer_Set "pdfviewer", "rect", rect of graphic > > > > > On 5/3/2019 1:39 PM, Matthias Rebbe via use-livecode wrote: >> Hi, >> >> i am using the following script to open a selected PDF file in the xpdf viewer, but i am not successful. >> >> answer file "PDF..." >> >> if it is empty then exit top >> >> put it into tFilename >> >> XPDFViewer_Open "pdfviewer", the windowID of this stack >> >> XPDFViewer_Set "pdfviewer", "filename",tFilename >> >> XPDFViewer_Set "pdfviewer", "rect", (100,100,500,500) >> >> XPDFViewer_Set "pdfviewer", "visible", TRUE >> >> put xpdfviewer_Get("pdfviewer","rect") >> >> >> The PDF viewer does not show up and the function pxdfviewer_get gives 0,0,0,0 back for the rect. >> >> Is there something wrong with my script? >> Or does anyone have working sample stack? >> >> Regards, >> >> Matthias Rebbe >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 May 3 17:07:31 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 3 May 2019 14:07:31 -0700 Subject: serial speed In-Reply-To: References: <5a54df5d40daf85bb944080f39b9dbcf@livecode.com> <948e91cb-6d68-9b49-b876-047a5f38d39f@sonic.net> Message-ID: <28d80d5a-62e5-8431-e514-e647bb986aa4@sonic.net> On 5/3/19 10:38 AM, Richmond via use-livecode wrote: > Err: slightly wooden after a long day at work . . . > > Richmond. > > On 3.05.19 20:26, Mark Wieder via use-livecode wrote: >> On 5/3/19 10:06 AM, Richmond via use-livecode wrote: >> >>> As someone who is engaged on a log >> >> !!! Must have been lumbering along all day. Now you're bored stiff. -- Mark Wieder ahsoftware at gmail.com From runrevlist at cc-mail.nl Fri May 3 17:45:26 2019 From: runrevlist at cc-mail.nl (runrevlist at cc-mail.nl) Date: Fri, 3 May 2019 23:45:26 +0200 Subject: serial speed In-Reply-To: <5a54df5d40daf85bb944080f39b9dbcf@livecode.com> References: <5a54df5d40daf85bb944080f39b9dbcf@livecode.com> Message-ID: Hi Mark, Thanks for the quick reply. It kind of sounds promising. I am on Mac so apparently I got obstructed by some old ?artificial? limit of old days. Can this 'simple engine patch? you mention be implemented and ?. preferably soon. It would really give LC a world of possibilities, think Internet of Things. The young ones could be using the modern lego with LC for instance. That would be really great. Using modem speeds in this age of 5G is kind of ridiculous. I wil certainly try your suggestion with stty shell command. I have never dabbled with shell in the context with LC. If you have some more hints they would be very welcome indeed. Thanks, Claudi > On 03 May 2019, at 17:36, Mark Waddingham via use-livecode wrote: > > On 2019-05-03 17:01, runrevlist--- via use-livecode wrote: >> LC is ver well suited for all kinds of programs communicating with >> robots, 3D printers, milling machines etc. if only we could have a >> decent speed. I am not even asking for the preferred speed of 22?.. >> The arduino IDE can easily communicate at that speed, why not LC? > > Which platform are you using? > > On Windows, any limit in baudrate is determined by Win32: the serialControlString > property is passed to the 'BuildCommDCBW' Win32 API function to parse (which doesn't > explicitly mention a baudrate limit). > > On Mac/Linux, however, there is an 'artificial' limit - the engine parses the control > string itself in those cases and maps the integer baudrate value to a system constant... > > So the reason it is limited to 57600 baud will be because when that code was written, the only constants which were defined by the system were those up to 57600 baud (it would appear at least. > > This would need a (simple) engine patch to enable speeds up to the ones which are defined (on macOS there are constants up to 230400, Linux has a few higher ones defined too) when using 'the serialControlString' property. > >> Does any one have a solution or idea how to increase this silly speed >> limit of LC? > > Alternatively, you might be able to open the serial device from LC as you do now and then use the 'stty' shell command to tweak the settings: > > stty -F /dev/tty... > > Here is one which is known by the system. For Linux this appears to be a reasonably normative list (although a baudrate being there doesn't mean the device supports 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 ahsoftware at sonic.net Fri May 3 21:46:50 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 3 May 2019 18:46:50 -0700 Subject: How big is a nanosecond? Message-ID: <331b3beb-b7f0-edee-756e-dd37eee6616f@sonic.net> https://www.youtube.com/watch?v=JEpsKnWZrJ8 -- Mark Wieder ahsoftware at gmail.com From stephen at barncard.com Fri May 3 22:33:36 2019 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 3 May 2019 19:33:36 -0700 Subject: How big is a nanosecond? In-Reply-To: <331b3beb-b7f0-edee-756e-dd37eee6616f@sonic.net> References: <331b3beb-b7f0-edee-756e-dd37eee6616f@sonic.net> Message-ID: I love this woman. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, May 3, 2019 at 6:47 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > https://www.youtube.com/watch?v=JEpsKnWZrJ8 > > -- > 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 Sat May 4 01:26:26 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 4 May 2019 08:26:26 +0300 Subject: serial speed In-Reply-To: <28d80d5a-62e5-8431-e514-e647bb986aa4@sonic.net> References: <5a54df5d40daf85bb944080f39b9dbcf@livecode.com> <948e91cb-6d68-9b49-b876-047a5f38d39f@sonic.net> <28d80d5a-62e5-8431-e514-e647bb986aa4@sonic.net> Message-ID: Well, in spite of appearing to logroll hereabouts, my initial point should not be overlooked: "As someone who is engaged on a long, drawn-out refactoring on my main codebase; a process that involves uncovering old code (max 9 years) that ranges from 'slightly clunky' to 'utter crap' I have NO sympathy with phrases such as "when the code was written" when relating to something that is extremely antiquated. " While embryos in the womb may have to rehearse their evolutionary path, LiveCode should not have to, and it would be greatly improved were its appendix and other evolutionary left-overs excised or replaced by something up-to-date. Richmond. On 4.05.19 0:07, Mark Wieder via use-livecode wrote: > On 5/3/19 10:38 AM, Richmond via use-livecode wrote: >> Err: slightly wooden after a long day at work . . . >> >> Richmond. >> >> On 3.05.19 20:26, Mark Wieder via use-livecode wrote: >>> On 5/3/19 10:06 AM, Richmond via use-livecode wrote: >>> >>>> As someone who is engaged on a log >>> >>> !!! > > Must have been lumbering along all day. > Now you're bored stiff. > From matthias_livecode_150811 at m-r-d.de Sat May 4 04:17:49 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 4 May 2019 10:17:49 +0200 Subject: Some questions about Browser Widget + Spinner Widget Message-ID: <478733CC-BBDE-4166-805B-05868A8CA911@m-r-d.de> Hi, does anyone know how can i force the browser widget to go to a previous page? The other thing is, i would like to use display the spinner widget over the browser widget while my script is processing some data. But it seems i cannot layer the spinner over the browser widget. Is there a way to do this? Regards, Matthias From klaus at major-k.de Sat May 4 04:24:28 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 4 May 2019 10:24:28 +0200 Subject: Some questions about Browser Widget + Spinner Widget In-Reply-To: <478733CC-BBDE-4166-805B-05868A8CA911@m-r-d.de> References: <478733CC-BBDE-4166-805B-05868A8CA911@m-r-d.de> Message-ID: <40F9E05F-2297-4B08-9FB1-67519D3E7E18@major-k.de> Hi Matthias, > Am 04.05.2019 um 10:17 schrieb Matthias Rebbe via use-livecode : > > Hi, > > does anyone know how can i force the browser widget to go to a previous page? ... go back in widget "your browser widget here..." ... go forth in widget "your browser widget here..." ... :-) From the docs, might be helpful at some time: ... Use the go in widget command to navigate within a widget. LiveCode sends a "OnGoBack" or "OnGoForward" message to the widget, which can then handle those messages to provide back / forward navigation. ... > The other thing is, i would like to use display the spinner widget over the browser widget while my script is processing some data. But it seems i cannot layer the spinner over the browser widget. Is there a way to do this? Sorry, no idea. > Regards, > > Matthias Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From hh at hyperhh.de Sat May 4 04:48:51 2019 From: hh at hyperhh.de (hh) Date: Sat, 4 May 2019 10:48:51 +0200 Subject: Some questions about Browser Widget + Spinner Widget Message-ID: > Matthias R. wrote: > ... force the browser widget to go to a previous page besides using "go in widget" make your own history, see http://forums.livecode.com/viewtopic.php?p=174936#p174936 > Matthias R. wrote: > ... i cannot layer the spinner over the browser widget. > Is there a way to do this? Not the widget alone. But you could, for example, put it into a system window substack. See this and other possibilities here: LC forum > LiveCode Builder > Browser Widget usage examples From hh at hyperhh.de Sat May 4 04:55:58 2019 From: hh at hyperhh.de (hh) Date: Sat, 4 May 2019 10:55:58 +0200 Subject: Some questions about Browser Widget + Spinner Widget Message-ID: <9FDDEE1A-5814-44CF-A4E4-5E9ABFE3BE6B@hyperhh.de> Forgot to mention: There is also a post "Browser widget and loading animation" http://forums.livecode.com/viewtopic.php?p=173867#p173867 From matthias_livecode_150811 at m-r-d.de Sat May 4 07:50:31 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 4 May 2019 13:50:31 +0200 Subject: Some questions about Browser Widget + Spinner Widget In-Reply-To: <40F9E05F-2297-4B08-9FB1-67519D3E7E18@major-k.de> References: <478733CC-BBDE-4166-805B-05868A8CA911@m-r-d.de> <40F9E05F-2297-4B08-9FB1-67519D3E7E18@major-k.de> Message-ID: <97C7D198-D7BB-4EC7-87CB-0DC2D4AB8CA7@m-r-d.de> Thanks Klaus, i looked explicitly for the Browser widget in the dictionary, Unfortunately the "go.... in widget" was not mentioned there anywhere. Maybe it would make sense to mention it there somewhere as a note. Anyway, it works. Now i have to look for the animation. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 04.05.2019 um 10:24 schrieb Klaus major-k via use-livecode >: > > Hi Matthias, > >> Am 04.05.2019 um 10:17 schrieb Matthias Rebbe via use-livecode >: >> >> Hi, >> >> does anyone know how can i force the browser widget to go to a previous page? > ... > go back in widget "your browser widget here..." > ... > go forth in widget "your browser widget here..." > ... > :-) > > From the docs, might be helpful at some time: > ... > Use the go in widget command to navigate within a widget. > LiveCode sends a "OnGoBack" or "OnGoForward" message to the widget, > which can then handle those messages to provide back / forward navigation. > ... > >> The other thing is, i would like to use display the spinner widget over the browser widget while my script is processing some data. But it seems i cannot layer the spinner over the browser widget. Is there a way to do this? > > Sorry, no idea. > >> Regards, >> >> Matthias > > Best > > Klaus > > -- > Klaus Major > http://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 matthias_livecode_150811 at m-r-d.de Sat May 4 07:50:57 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 4 May 2019 13:50:57 +0200 Subject: Some questions about Browser Widget + Spinner Widget In-Reply-To: <9FDDEE1A-5814-44CF-A4E4-5E9ABFE3BE6B@hyperhh.de> References: <9FDDEE1A-5814-44CF-A4E4-5E9ABFE3BE6B@hyperhh.de> Message-ID: Thanks Hermann, i will have a look. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 04.05.2019 um 10:55 schrieb hh via use-livecode >: > > Forgot to mention: > There is also a post "Browser widget and loading animation" > > http://forums.livecode.com/viewtopic.php?p=173867#p173867 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 4 22:09:39 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 May 2019 21:09:39 -0500 Subject: For git folks Message-ID: <16a85c0fad0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> No idea how prevalent this is: Mystery Git ransomware appears to blank commits, demands Bitcoin to rescue code ? The Register https://www.theregister.co.uk/AMP/2019/05/03/git_ransomware_bitcoin/ -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Sun May 5 00:09:13 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 4 May 2019 21:09:13 -0700 Subject: For git folks In-Reply-To: <16a85c0fad0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16a85c0fad0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <3fc397e8-46e0-d0b0-117a-0a58ab2340e8@sonic.net> On 5/4/19 7:09 PM, J. Landman Gay via use-livecode wrote: > No idea how prevalent this is: > Mystery Git ransomware appears to blank commits, demands Bitcoin to > rescue code ? The Register It affects github, gitlab, bitbucket, etc, and seems to stem from some folks storing their login passwords in .git/config, which is a really really really stupid thing to do. And you have to go out of your way to do it. Fortunately the "hack" just involves adding a new commit to the top of the stack, so there are some easy ways to recover. The ransom demand isn't so much a threat to keep code hidden but to make the "stolen" code public, which would really only affect private repositories. And people store some interesting things in git repos. A few years ago at work I found our AWS credentials in cleartext in a repo. A private repo, but even so we had to wipe them from the repo, force push the new repo to github, and create new credentials as environment variables. -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Sun May 5 13:37:58 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 5 May 2019 13:37:58 -0400 Subject: How big is a nanosecond? In-Reply-To: <331b3beb-b7f0-edee-756e-dd37eee6616f@sonic.net> References: <331b3beb-b7f0-edee-756e-dd37eee6616f@sonic.net> Message-ID: <002e01d50369$4a77eb00$df67c100$@net> This not a limit without real world consequences... I was hamstrung with the 1 foot per nanosecond limitation back in 1979. We had a CGI rack with a 6 foot backplane clocked at 25 MHz Of course 1 foot/ns is a theoretical limit. Although we had 40 ns we ran into not only the time it took to get from the bottom(CPU) to the top (MPU) of the 6 foot backplane but keeping 32 parallel bits in sync. We had so many errors that we had to design a repeater in the center of the backplane to re-sync the bits. The challenges of keeping parallel data in sync in a copper medium is why parallel SCSI and IDE hard drives were jettisoned for high speed serial. With present technology it's easier, cheaper and more reliable to use ultra fast serial rather than slower 32 or 64 bit wide parallel busses to achieve the same effective data rate. This is another one of those real world things that the casual bystander finds hard or refuses to believe. The fact that serial is better that parallel is not intuitive but true. 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 Mark Wieder via use-livecode Sent: Friday, May 03, 2019 9:47 PM To: use-livecode at lists.runrev.com Cc: Mark Wieder Subject: How big is a nanosecond? https://www.youtube.com/watch?v=JEpsKnWZrJ8 -- 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 nabble at mad.pink Sun May 5 15:45:31 2019 From: nabble at mad.pink (pink) Date: Sun, 5 May 2019 14:45:31 -0500 (CDT) Subject: Need Data Grid help Message-ID: <1557085531804-0.post@n4.nabble.com> Below is the script for a data grid and the stack script. The data grid times certain jobs, so if you press one, it switched to timing that job. The problem is, when I set the dgData for the grid, the rows are blank up to the row that I press, and none of the changed data appears. However, if I just set it again in a different action it shows up correctly. That is, the data doesn't seem to set correctly as part of my activateJob handler. If I then try to set it again in a different mouseUp handler, everything shows up correctly. ------------------------- Data Grid Script: on FillInData pData local tJob, tTime, tTemp, tHour, tMin put pData["jobno"] & space into tJob put pData["client"] & space after tJob put "-" && pData["jobname"] after tJob if pData["timer"] is true then set the backgroundColor of graphic "Status" of me to "green" else set the backgroundColor of graphic "Status" of me to "red" end if put pData["time"] into tTemp put trunc(tTemp/60)into tHour if tHour < 1 or tHour is empty then put 0 into tHour put tTemp - (tHour*60) into tMin if tMin < 1 or tMin is empty then put 0 into tMin put tHour & "h" && tMin & "m" into tTime put me into tX set the text of field "jobInfo" of me to tJob set the text of field "taskCode" of me to pData["taskcode"] set the text of field "currentTime" of me to tTime end FillInData setprop dgHilite pBoolean if pBoolean then set the foregroundColor of me to the dgProp["hilited text color"] of the dgControl of me else set the foregroundColor of me to empty end if end dgHilite getprop dgDataControl return the long ID of me end dgDataControl on mouseUp local tNum put char -5 to -2 of word 5 of the long name of the target into tNum put (tNum * 1) into tNum switch the short name of the target case "Edit" editJob tNum break case "Adjust" adjustJob tNum break case "Status" activateJob tNum break end switch end mouseUp ---- Stack Script local sTimer command activateJob pNum put "activate" into sTimer["settings"]["action"] if sTimer["data"][pNum]["timer"] then onEndTimer pNum else onStartTimer pNum end if set the dgData of group "jobTimers" to sTimer["data"] end activateJob command onStartTimer pNum repeat for each key tK in sTimer["data"] if sTimer["data"][tK]["timer"] is true then onEndTimer tK end if put false into sTimer["data"][tk]["timer"] put empty into sTimer["data"][tk]["starttime"] end repeat put true into sTimer["data"][pNum]["timer"] put the seconds into sTimer["data"][pNum]["starttime"] end onStartTimer command onEndTimer pNum local tCurrent put the seconds into tCurrent subtract sTimer["data"][pNum]["starttime"] from tCurrent put round(tCurrent/60) into tCurrent add tCurrent to sTimer["data"][pNum]["time"] put false into sTimer["data"][pNum]["timer"] put empty into sTimer["data"][pNum]["starttime"] end onEndTimer ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From stephen at barncard.com Sun May 5 15:58:56 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 5 May 2019 12:58:56 -0700 Subject: How big is a nanosecond? In-Reply-To: <002e01d50369$4a77eb00$df67c100$@net> References: <331b3beb-b7f0-edee-756e-dd37eee6616f@sonic.net> <002e01d50369$4a77eb00$df67c100$@net> Message-ID: I always wondered about that. This is a revelation for me. I still remember SASI and SCSI drives, And the switch to serial methods puzzled me. Of course it?s more convenient. On Sun, May 5, 2019 at 10:37 Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > This not a limit without real world consequences... > > I was hamstrung with the 1 foot per nanosecond limitation back in 1979. We > had a CGI rack with a 6 foot backplane clocked at 25 MHz Of course 1 > foot/ns > is a theoretical limit. Although we had 40 ns we ran into not only the time > it took to get from the bottom(CPU) to the top (MPU) of the 6 foot > backplane > but keeping 32 parallel bits in sync. We had so many errors that we had to > design a repeater in the center of the backplane to re-sync the bits. The > challenges of keeping parallel data in sync in a copper medium is why > parallel SCSI and IDE hard drives were jettisoned for high speed serial. > With present technology it's easier, cheaper and more reliable to use ultra > fast serial rather than slower 32 or 64 bit wide parallel busses to achieve > the same effective data rate. This is another one of those real world > things > that the casual bystander finds hard or refuses to believe. The fact that > serial is better that parallel is not intuitive but true. > > 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 Mark Wieder via use-livecode > Sent: Friday, May 03, 2019 9:47 PM > To: use-livecode at lists.runrev.com > Cc: Mark Wieder > Subject: How big is a nanosecond? > > https://www.youtube.com/watch?v=JEpsKnWZrJ8 > > -- > 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 > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From MikeKerner at roadrunner.com Sun May 5 16:46:54 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 5 May 2019 16:46:54 -0400 Subject: Is Anyone using the XPDFViewer? In-Reply-To: <631B739C-3F2C-46CD-A538-08D06FCA14FB@m-r-d.de> References: <4BD7BADD-76F9-4002-8C1C-A39D89B61F88@m-r-d.de> <09ec0705-6156-2b3b-cd93-a22e7946ab3c@researchware.com> <631B739C-3F2C-46CD-A538-08D06FCA14FB@m-r-d.de> Message-ID: Matthais, I'm using xpdf, and I have a couple repos with it working. https://github.com/macMikey/xpdf https://github.com/macMikey/scanhammer On Fri, May 3, 2019 at 3:50 PM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Paul, > > for whatever reason it still does not work. I?ve found a sample stack > XPDF.livecode in the Livecode bundle in > LiveCode Business 9.0.4 (rc 2).app/Contents/Tools/Ext/XPDF-1.0.31 > > The sample stack works, so it?s my code and i might be missing something. > Unfortunately the script of the sample stack is very detailed, but anyway > it?s working and i just have to dig through the sample script to see how it > is correctly done. > > Regards, > > Matthias Rebbe > > > Am 03.05.2019 um 19:50 schrieb Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com>: > > > > I looked at my working code. > > > > Every where I set the rect, I do so by: > > > > XPDFViewer_Set "pdfViewer","RECT", rect of grc "pdfRect" of grp > "pdfViewer" of me > > > > where the graphic "pdfRect is a rectangle that is used to to map the > area the pdf viewer appears in. > > > > Try creating a graphic called whatever you want. Set the rect of it to > 100,100,500,500 and then > > > > XPDFViewer_Set "pdfviewer", "rect", rect of graphic > > > > > > > > > > On 5/3/2019 1:39 PM, Matthias Rebbe via use-livecode wrote: > >> Hi, > >> > >> i am using the following script to open a selected PDF file in the xpdf > viewer, but i am not successful. > >> > >> answer file "PDF..." > >> > >> if it is empty then exit top > >> > >> put it into tFilename > >> > >> XPDFViewer_Open "pdfviewer", the windowID of this stack > >> > >> XPDFViewer_Set "pdfviewer", "filename",tFilename > >> > >> XPDFViewer_Set "pdfviewer", "rect", (100,100,500,500) > >> > >> XPDFViewer_Set "pdfviewer", "visible", TRUE > >> > >> put xpdfviewer_Get("pdfviewer","rect") > >> > >> > >> The PDF viewer does not show up and the function pxdfviewer_get gives > 0,0,0,0 back for the rect. > >> > >> Is there something wrong with my script? > >> Or does anyone have working sample stack? > >> > >> Regards, > >> > >> Matthias Rebbe > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 -- 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 lists at mangomultimedia.com Sun May 5 16:47:58 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 5 May 2019 15:47:58 -0500 Subject: Need Data Grid help In-Reply-To: <1557085531804-0.post@n4.nabble.com> References: <1557085531804-0.post@n4.nabble.com> Message-ID: On Sun, May 5, 2019 at 2:45 PM pink via use-livecode < use-livecode at lists.runrev.com> wrote: > Below is the script for a data grid and the stack script. > > The data grid times certain jobs, so if you press one, it switched to > timing > that job. > > The problem is, when I set the dgData for the grid, the rows are blank up > to > the row that I press, and none of the changed data appears. However, if I > just set it again in a different action it shows up correctly. That is, the > data doesn't seem to set correctly as part of my activateJob handler. If I > then try to set it again in a different mouseUp handler, everything shows > up > correctly. A LiveCode control cannot be deleted while it is running a script. That is what I think is happening here. When calling the handler that will refresh the data grid try using ?send ... in 0 seconds? so that the refresh happens after the click within the data grid. -- Trevor DeVore ScreenSteps From nabble at mad.pink Sun May 5 16:56:30 2019 From: nabble at mad.pink (pink) Date: Sun, 5 May 2019 15:56:30 -0500 (CDT) Subject: Need Data Grid help In-Reply-To: References: <1557085531804-0.post@n4.nabble.com> Message-ID: <1557089790705-0.post@n4.nabble.com> Bingo, that works perfectly JJS via use-livecode wrote > On Sun, May 5, 2019 at 2:45 PM pink via use-livecode < > use-livecode at .runrev >> wrote: > >> Below is the script for a data grid and the stack script. >> >> The data grid times certain jobs, so if you press one, it switched to >> timing >> that job. >> >> The problem is, when I set the dgData for the grid, the rows are blank up >> to >> the row that I press, and none of the changed data appears. However, if I >> just set it again in a different action it shows up correctly. That is, >> the >> data doesn't seem to set correctly as part of my activateJob handler. If >> I >> then try to set it again in a different mouseUp handler, everything shows >> up >> correctly. > > > A LiveCode control cannot be deleted while it is running a script. That is > what I think is happening here. When calling the handler that will refresh > the data grid try using ?send ... in 0 seconds? so that the refresh > happens > after the click within the data grid. > > -- > Trevor DeVore > ScreenSteps > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From matthias_livecode_150811 at m-r-d.de Sun May 5 17:27:29 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 5 May 2019 23:27:29 +0200 Subject: Is Anyone using the XPDFViewer? In-Reply-To: References: <4BD7BADD-76F9-4002-8C1C-A39D89B61F88@m-r-d.de> <09ec0705-6156-2b3b-cd93-a22e7946ab3c@researchware.com> <631B739C-3F2C-46CD-A538-08D06FCA14FB@m-r-d.de> Message-ID: <83D1D21D-01D1-4B08-AAF9-943133383DB6@m-r-d.de> Mike, thank you very much for the links. I will have a look tomorrow. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 05.05.2019 um 22:46 schrieb Mike Kerner via use-livecode >: > > Matthais, > I'm using xpdf, and I have a couple repos with it working. > https://github.com/macMikey/xpdf > https://github.com/macMikey/scanhammer > > On Fri, May 3, 2019 at 3:50 PM Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thanks Paul, >> >> for whatever reason it still does not work. I?ve found a sample stack >> XPDF.livecode in the Livecode bundle in >> LiveCode Business 9.0.4 (rc 2).app/Contents/Tools/Ext/XPDF-1.0.31 >> >> The sample stack works, so it?s my code and i might be missing something. >> Unfortunately the script of the sample stack is very detailed, but anyway >> it?s working and i just have to dig through the sample script to see how it >> is correctly done. >> >> Regards, >> >> Matthias Rebbe >> >>> Am 03.05.2019 um 19:50 schrieb Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> I looked at my working code. >>> >>> Every where I set the rect, I do so by: >>> >>> XPDFViewer_Set "pdfViewer","RECT", rect of grc "pdfRect" of grp >> "pdfViewer" of me >>> >>> where the graphic "pdfRect is a rectangle that is used to to map the >> area the pdf viewer appears in. >>> >>> Try creating a graphic called whatever you want. Set the rect of it to >> 100,100,500,500 and then >>> >>> XPDFViewer_Set "pdfviewer", "rect", rect of graphic >>> >>> >>> >>> >>> On 5/3/2019 1:39 PM, Matthias Rebbe via use-livecode wrote: >>>> Hi, >>>> >>>> i am using the following script to open a selected PDF file in the xpdf >> viewer, but i am not successful. >>>> >>>> answer file "PDF..." >>>> >>>> if it is empty then exit top >>>> >>>> put it into tFilename >>>> >>>> XPDFViewer_Open "pdfviewer", the windowID of this stack >>>> >>>> XPDFViewer_Set "pdfviewer", "filename",tFilename >>>> >>>> XPDFViewer_Set "pdfviewer", "rect", (100,100,500,500) >>>> >>>> XPDFViewer_Set "pdfviewer", "visible", TRUE >>>> >>>> put xpdfviewer_Get("pdfviewer","rect") >>>> >>>> >>>> The PDF viewer does not show up and the function pxdfviewer_get gives >> 0,0,0,0 back for the rect. >>>> >>>> Is there something wrong with my script? >>>> Or does anyone have working sample stack? >>>> >>>> Regards, >>>> >>>> Matthias Rebbe >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 5 17:36:12 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 5 May 2019 23:36:12 +0200 Subject: Browser widget - is there something similar to browserBeforeNavigate Message-ID: Hi, does anyone know how can i check the URL before the URL is loaded in the Browser widget. The old revBrowser had the message browserBeforeNavigate. Is there something similar i can use for the browser widget? Regards, Matthias Rebbe From rdimola at evergreeninfo.net Sun May 5 17:42:16 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 5 May 2019 17:42:16 -0400 Subject: Browser widget - is there something similar to browserBeforeNavigate In-Reply-To: References: Message-ID: <003801d5038b$6b7031b0$42509510$@net> browserNavigateBegin 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 Matthias Rebbe via use-livecode Sent: Sunday, May 05, 2019 5:36 PM To: How to use LiveCode Cc: Matthias Rebbe Subject: Browser widget - is there something similar to browserBeforeNavigate Hi, does anyone know how can i check the URL before the URL is loaded in the Browser widget. The old revBrowser had the message browserBeforeNavigate. Is there something similar i can use for the browser widget? Regards, Matthias Rebbe _______________________________________________ use-livecode mailing list use-livecode 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 May 5 17:57:46 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 5 May 2019 23:57:46 +0200 Subject: Browser widget - is there something similar to browserBeforeNavigate In-Reply-To: <003801d5038b$6b7031b0$42509510$@net> References: <003801d5038b$6b7031b0$42509510$@net> Message-ID: <4A5D6E5E-7034-40C6-99D6-546DADC3D095@m-r-d.de> Thanks Ralph, tried that already (should have mentioned that), but the URL is loaded right away in the widget and then the script in the message handler browserNavigateBegin is executed. This is my script on browserNavigateBegin pURL if not (pURL begins with "https://forums.livecode.com ") then answer "Forum jetzt verlassen" with "ja" or "nein" if it is "ja" then pass browserNavigateBegin else go back in widget "mrBrowser" end if end if end BrowserNavigateBegin Am i missing something? Regards Matthias > Am 05.05.2019 um 23:42 schrieb Ralph DiMola via use-livecode >: > > browserNavigateBegin > > 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 Matthias Rebbe via use-livecode > Sent: Sunday, May 05, 2019 5:36 PM > To: How to use LiveCode > Cc: Matthias Rebbe > Subject: Browser widget - is there something similar to > browserBeforeNavigate > > Hi, > does anyone know how can i check the URL before the URL is loaded in the > Browser widget. > > The old revBrowser had the message browserBeforeNavigate. > Is there something similar i can use for the browser widget? > > Regards, > Matthias Rebbe > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun May 5 18:19:04 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 6 May 2019 00:19:04 +0200 Subject: Browser widget - is there something similar to browserBeforeNavigate In-Reply-To: <4A5D6E5E-7034-40C6-99D6-546DADC3D095@m-r-d.de> References: <003801d5038b$6b7031b0$42509510$@net> <4A5D6E5E-7034-40C6-99D6-546DADC3D095@m-r-d.de> Message-ID: <382FB79E-3009-4B83-A992-A4E0A3BBB6AB@m-r-d.de> The is of course not in my scripts. > Am 05.05.2019 um 23:57 schrieb Matthias Rebbe via use-livecode >: > > Thanks Ralph, > > tried that already (should have mentioned that), but the URL is loaded right away in the widget and then the script in the message handler browserNavigateBegin is executed. > > This is my script > on browserNavigateBegin pURL > > if not (pURL begins with "https://forums.livecode.com >") > > then > > answer "Forum jetzt verlassen" with "ja" or "nein" > > if it is "ja" > > then > > pass browserNavigateBegin > > else > > go back in widget "mrBrowser" > > end if > > end if > > end BrowserNavigateBegin > > > From rdimola at evergreeninfo.net Sun May 5 18:26:46 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 5 May 2019 18:26:46 -0400 Subject: Browser widget - is there something similar to browserBeforeNavigate In-Reply-To: <4A5D6E5E-7034-40C6-99D6-546DADC3D095@m-r-d.de> References: <003801d5038b$6b7031b0$42509510$@net> <4A5D6E5E-7034-40C6-99D6-546DADC3D095@m-r-d.de> Message-ID: <003901d50391$a30a7350$e91f59f0$@net> Did you try browserDocumentLoadBegin ? 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 Matthias Rebbe via use-livecode Sent: Sunday, May 05, 2019 5:58 PM To: How to use LiveCode Cc: Matthias Rebbe Subject: Re: Browser widget - is there something similar to browserBeforeNavigate Thanks Ralph, tried that already (should have mentioned that), but the URL is loaded right away in the widget and then the script in the message handler browserNavigateBegin is executed. This is my script on browserNavigateBegin pURL if not (pURL begins with "https://forums.livecode.com ") then answer "Forum jetzt verlassen" with "ja" or "nein" if it is "ja" then pass browserNavigateBegin else go back in widget "mrBrowser" end if end if end BrowserNavigateBegin Am i missing something? Regards Matthias > Am 05.05.2019 um 23:42 schrieb Ralph DiMola via use-livecode >: > > browserNavigateBegin > > 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 Matthias Rebbe via use-livecode > Sent: Sunday, May 05, 2019 5:36 PM > To: How to use LiveCode > Cc: Matthias Rebbe > Subject: Browser widget - is there something similar to > browserBeforeNavigate > > Hi, > does anyone know how can i check the URL before the URL is loaded in > the Browser widget. > > The old revBrowser had the message browserBeforeNavigate. > Is there something similar i can use for the browser widget? > > Regards, > Matthias Rebbe > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun May 5 18:28:48 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 6 May 2019 00:28:48 +0200 Subject: Browser widget - is there something similar to browserBeforeNavigate In-Reply-To: <003901d50391$a30a7350$e91f59f0$@net> References: <003801d5038b$6b7031b0$42509510$@net> <4A5D6E5E-7034-40C6-99D6-546DADC3D095@m-r-d.de> <003901d50391$a30a7350$e91f59f0$@net> Message-ID: Yes, it?s the same. Sorry, forgot to mention that also. Seems to be little late here. Matthias > Am 06.05.2019 um 00:26 schrieb Ralph DiMola via use-livecode >: > > Did you try browserDocumentLoadBegin ? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > From monte at appisle.net Sun May 5 19:25:09 2019 From: monte at appisle.net (Monte Goulding) Date: Mon, 6 May 2019 09:25:09 +1000 Subject: Android needs 64 bit builds In-Reply-To: <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> Message-ID: > On 4 May 2019, at 3:45 am, JJS via use-livecode wrote: > > @Monte. I only see Atom x64 ARM for Android 7.1.1 in the SDK list in Android Studio. For all the higher Android versions i only see x86 and no ARM. I don't know if there are phones sold which have Android 8.x.x based on ARMx64. Do you know any details? Most new devices will be arm64 however I think what you are seeing there is the binaries that you have for use in an emulator. I have come across a few devices that have arm64 processors but did not include the arm64 OS libraries so only load armv7 binaries. These are generally low end devices. Cheers Monte From ahsoftware at sonic.net Sun May 5 22:18:27 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 5 May 2019 19:18:27 -0700 Subject: Android needs 64 bit builds In-Reply-To: References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> Message-ID: <478fd109-ea6d-856d-9a48-6a128e220764@sonic.net> On 5/5/19 4:25 PM, Monte Goulding via use-livecode wrote: > Most new devices will be arm64 however I think what you are seeing there is the binaries that you have for use in an emulator. I have come across a few devices that have arm64 processors but did not include the arm64 OS libraries so only load armv7 binaries. These are generally low end devices. Any chance we can leverage this to create a raspberry pi LC build? -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Mon May 6 00:52:49 2019 From: monte at appisle.net (Monte Goulding) Date: Mon, 6 May 2019 14:52:49 +1000 Subject: Android needs 64 bit builds In-Reply-To: <478fd109-ea6d-856d-9a48-6a128e220764@sonic.net> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> <478fd109-ea6d-856d-9a48-6a128e220764@sonic.net> Message-ID: > On 6 May 2019, at 12:18 pm, Mark Wieder via use-livecode wrote: > >> Most new devices will be arm64 however I think what you are seeing there is the binaries that you have for use in an emulator. I have come across a few devices that have arm64 processors but did not include the arm64 OS libraries so only load armv7 binaries. These are generally low end devices. > > Any chance we can leverage this to create a raspberry pi LC build? Not unless the pi is running android. Cheers Monte From jjs at krutt.org Mon May 6 00:44:27 2019 From: jjs at krutt.org (JJS) Date: Mon, 6 May 2019 06:44:27 +0200 Subject: Android needs 64 bit builds In-Reply-To: References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> Message-ID: <66a3716f-956f-f33c-834e-97c4d46140ed@krutt.org> Ah ok, that makes it clear. I thought it was related to what one was able to build for. Thanks Monte. Jerry Op 6-5-2019 om 01:25 schreef Monte Goulding via use-livecode: > >> On 4 May 2019, at 3:45 am, JJS via use-livecode wrote: >> >> @Monte. I only see Atom x64 ARM for Android 7.1.1 in the SDK list in Android Studio. For all the higher Android versions i only see x86 and no ARM. I don't know if there are phones sold which have Android 8.x.x based on ARMx64. Do you know any details? > Most new devices will be arm64 however I think what you are seeing there is the binaries that you have for use in an emulator. I have come across a few devices that have arm64 processors but did not include the arm64 OS libraries so only load armv7 binaries. These are generally low end devices. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 6 04:16:03 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 6 May 2019 11:16:03 +0300 Subject: mobilePickPhoto on Android In-Reply-To: <30BB7533-B0CD-4928-8F98-675B031BF197@clearvisiontech.com> References: <5C3CCD46-1672-4E12-A07C-EBA5E40EA608@clearvisiontech.com> <30BB7533-B0CD-4928-8F98-675B031BF197@clearvisiontech.com> Message-ID: Hello Dan, Thank you for the update. I am wondering if this is device-specific. If anyone of the folks watching this thread has a Samsung Galaxy S9+ and could test mobilePickPhoto "camera", it would be very useful. In the meanwhile, I suggest you file a new bug report so as we can track (and fix) this issue. Kind regards, Panos -- On Fri, 3 May 2019 at 18:08, Dan Friedman wrote: > Panos, > > > > Here?s an update? I met in person with my client with his Samsung Galaxy > S9+ running Android 9. My standalone built with 9.0.4 rc3 is failing on > his device. I call mobilePickPhoto "camera", and the camera does come up. > I take the picture, the screen flashes, and then the camera is ready to > take another photo. The photos are being added to his photo library. It > doesn?t return to the app. If I cancel the camera, it returns to the app > and I get ?cancel? as the result. There must be something different about > this particular device. Do you have any insight or things I might try? > > > > Anyone out there with a Samsung Galaxy S9+ running Android 9 that can > confirm mobilePickPhoto is or isn?t working? > > > > -Dan > > > > > > *From: *Dan Friedman > *Date: *Tuesday, April 30, 2019 at 10:26 AM > *To: *panagiotis merakos , How to use LiveCode < > use-livecode at lists.runrev.com> > *Subject: *Re: mobilePickPhoto on Android > > > > Panos, > > > > Thank you for the reply. This version fixed the issue on several of our > devices. However, my client is saying it?s failing on his Samsung Galaxy > S9+ running Android 9. I have verified that he has the updated build (made > with LC 9.0.4 rc 2) installed on his device. He says he has made no > software or hardware modifications to the device but is still having the > same issue. Perhaps there is a different issue with camera access with > this device? > > > > -Dan > > > > > > > > *From: *panagiotis merakos > *Date: *Tuesday, April 30, 2019 at 4:04 AM > *To: *How to use LiveCode > *Cc: *Dan Friedman > *Subject: *Re: mobilePickPhoto on Android > > > > Hello Dan, > > > > This sounds like https://quality.livecode.com/show_bug.cgi?id=21826, > affecting only specific Android devices, and has been fixed in LC 9.0.4 > RC-1+ > > > > Kind regards, > > Panos > > -- > > > > On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Greetings! I am calling mobilePickPhoto "camera" on a Android device. > If I am running Android version 7.0, everything works great. If I am > running Android 8.0, then I get an empty back where length(image 1) is 0. > Using LiveCode 9.0.3. Anyone know of an issue with mobilePickPhoto on > late versions of Android. FWIW, mobilePickPhoto "library" works fine on > all versions of Android. > > Thanks in advance, > -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 panos.merakos at livecode.com Mon May 6 06:41:56 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 6 May 2019 13:41:56 +0300 Subject: [ANN] This Week in LiveCode 177 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 #177 here: http://bit.ly/2Wv8ZeE 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 you 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 hh at hyperhh.de Mon May 6 08:24:11 2019 From: hh at hyperhh.de (hh) Date: Mon, 6 May 2019 14:24:11 +0200 Subject: Browser widget - is there something similar to browserBeforeNavigate Message-ID: <816652FA-C3B5-4AA5-8A9B-794AB517DA56@hyperhh.de> The problem is that you cannot cancel the page navigation in the widget, not even by using simple JavaScript (unbeforeunload). Find below instead a way to "revert" the navigation. If you don't want to hide the widget you can similarly use two widgets and change their layer. Or you can show a snapshot of the current page while hiding the widget that already shows the new page. local flc="forums.livecode.com", qURL on browserNavigateComplete pUrl if not (pURL contains flc) then answer "Leave the forum?" with "yes" or "no" if it is "no" then send "resetURL" to me in 3 ticks else show widget 1 end if end browserNavigateComplete on browserNavigateBegin pUrl if pURL contains flc then put the url of widget 1 into qURL else hide widget 1 end browserNavigateBegin on resetURL set the url of widget 1 to qURL show widget 1 end resetURL From ahsoftware at sonic.net Mon May 6 13:08:11 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 6 May 2019 10:08:11 -0700 Subject: Android needs 64 bit builds In-Reply-To: References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> <478fd109-ea6d-856d-9a48-6a128e220764@sonic.net> Message-ID: <013be906-eb5e-9d32-a1f7-dfa44862153d@sonic.net> On 5/5/19 9:52 PM, Monte Goulding via use-livecode wrote: > >> On 6 May 2019, at 12:18 pm, Mark Wieder via use-livecode wrote: >> >>> Most new devices will be arm64 however I think what you are seeing there is the binaries that you have for use in an emulator. I have come across a few devices that have arm64 processors but did not include the arm64 OS libraries so only load armv7 binaries. These are generally low end devices. >> >> Any chance we can leverage this to create a raspberry pi LC build? > > Not unless the pi is running android. Ah. OK. So the problem with running on the pi isn't with building form arm devices, but with interacting with the pi os? -- Mark Wieder ahsoftware at gmail.com From matthias_livecode_150811 at m-r-d.de Mon May 6 16:41:05 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 6 May 2019 22:41:05 +0200 Subject: Browser widget - is there something similar to browserBeforeNavigate In-Reply-To: <816652FA-C3B5-4AA5-8A9B-794AB517DA56@hyperhh.de> References: <816652FA-C3B5-4AA5-8A9B-794AB517DA56@hyperhh.de> Message-ID: Thanks Hermann for the sample script. Regards, Matthias > Am 06.05.2019 um 14:24 schrieb hh via use-livecode : > > The problem is that you cannot cancel the page navigation in the widget, > not even by using simple JavaScript (unbeforeunload). > > Find below instead a way to "revert" the navigation. If you don't want to > hide the widget you can similarly use two widgets and change their layer. > Or you can show a snapshot of the current page while hiding the widget > that already shows the new page. > > local flc="forums.livecode.com", qURL > > on browserNavigateComplete pUrl > if not (pURL contains flc) then > answer "Leave the forum?" with "yes" or "no" > if it is "no" then > send "resetURL" to me in 3 ticks > else show widget 1 > end if > end browserNavigateComplete > > on browserNavigateBegin pUrl > if pURL contains flc then > put the url of widget 1 into qURL > else hide widget 1 > end browserNavigateBegin > > on resetURL > set the url of widget 1 to qURL > show widget 1 > end resetURL > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 6 16:51:44 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 6 May 2019 22:51:44 +0200 Subject: Linux standalone contains the files natives_blob.bin, snapshot_blob.bin and ucidtl.dat Message-ID: <987E0B3F-DCE3-4A5A-BA52-A07544E09D1C@m-r-d.de> Hi, today i?ve created a Win,Mac and Linux standalone. The Linux folder contains among the files i?ve expected also 3 other files: natives_blob.bin (218KB) snapshot_blob.bin (1,2MB) icudtl.dat (10,2MB) The file natives_blob.bin looks like a text file The first lines look like this mirrors?? (function(a,b){ "use strict"; var c=a.Array; var d=a.isNaN; var e=a.JSON.stringify; var f=a.Map.prototype.entries; var g=(new a.Map).entries().next; var h=(new a.Set).values().next; var i=a.Set.prototype.values; var j={ UNDEFINED_TYPE:'undefined', NULL_TYPE:'null', BOOLEAN_TYPE:'boolean', NUMBER_TYPE:'number', STRING_TYPE:'string', SYMBOL_TYPE:'symbol', Does anyone know if it is correct that these file are there? Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From matthias_livecode_150811 at m-r-d.de Mon May 6 17:09:07 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 6 May 2019 23:09:07 +0200 Subject: Linux standalone contains the files natives_blob.bin, snapshot_blob.bin and ucidtl.dat In-Reply-To: <987E0B3F-DCE3-4A5A-BA52-A07544E09D1C@m-r-d.de> References: <987E0B3F-DCE3-4A5A-BA52-A07544E09D1C@m-r-d.de> Message-ID: Forget my question, just noticed that these files are also in the win standalone. Seems to be needed for the CEF browser. Regards, Matthias > Am 06.05.2019 um 22:51 schrieb Matthias Rebbe via use-livecode : > > Hi, > > today i?ve created a Win,Mac and Linux standalone. The Linux folder contains among the files i?ve expected also 3 other files: > natives_blob.bin (218KB) > snapshot_blob.bin (1,2MB) > icudtl.dat (10,2MB) > > The file natives_blob.bin looks like a text file > The first lines look like this > mirrors?? > (function(a,b){ > "use strict"; > var c=a.Array; > var d=a.isNaN; > var e=a.JSON.stringify; > var f=a.Map.prototype.entries; > var g=(new a.Map).entries().next; > var h=(new a.Set).values().next; > var i=a.Set.prototype.values; > var j={ > UNDEFINED_TYPE:'undefined', > NULL_TYPE:'null', > BOOLEAN_TYPE:'boolean', > NUMBER_TYPE:'number', > STRING_TYPE:'string', > SYMBOL_TYPE:'symbol', > > > Does anyone know if it is correct that these file are there? > > Regards, > > Matthias > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.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 monte at appisle.net Mon May 6 18:44:09 2019 From: monte at appisle.net (Monte Goulding) Date: Tue, 7 May 2019 08:44:09 +1000 Subject: Android needs 64 bit builds In-Reply-To: <013be906-eb5e-9d32-a1f7-dfa44862153d@sonic.net> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> <478fd109-ea6d-856d-9a48-6a128e220764@sonic.net> <013be906-eb5e-9d32-a1f7-dfa44862153d@sonic.net> Message-ID: <6A217A58-0CBC-4DE6-8F15-B932BB3558EC@appisle.net> > On 7 May 2019, at 3:08 am, Mark Wieder via use-livecode wrote: > > On 5/5/19 9:52 PM, Monte Goulding via use-livecode wrote: >>> On 6 May 2019, at 12:18 pm, Mark Wieder via use-livecode wrote: >>> >>>> Most new devices will be arm64 however I think what you are seeing there is the binaries that you have for use in an emulator. I have come across a few devices that have arm64 processors but did not include the arm64 OS libraries so only load armv7 binaries. These are generally low end devices. >>> >>> Any chance we can leverage this to create a raspberry pi LC build? >> Not unless the pi is running android. > > Ah. OK. So the problem with running on the pi isn't with building form arm devices, but with interacting with the pi os? I believe it is largely an issue of getting the build configuration and toolchains correct for cross compiling for armv6hf. Although given Pi 3s are arm64 but Raspbian is still armv6hf I guess we would need a build for a number of archs (armv6hf, armv7, arm64) depending on what OS people are running. For us there is the extra step of getting it all setup on vulcan to build and package etc. Cheers Monte From ahsoftware at sonic.net Mon May 6 19:26:59 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 6 May 2019 16:26:59 -0700 Subject: Android needs 64 bit builds In-Reply-To: <6A217A58-0CBC-4DE6-8F15-B932BB3558EC@appisle.net> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> <478fd109-ea6d-856d-9a48-6a128e220764@sonic.net> <013be906-eb5e-9d32-a1f7-dfa44862153d@sonic.net> <6A217A58-0CBC-4DE6-8F15-B932BB3558EC@appisle.net> Message-ID: <0e318517-725c-59ae-c0c4-09c1ab1debb0@sonic.net> On 5/6/19 3:44 PM, Monte Goulding via use-livecode wrote: >> Ah. OK. So the problem with running on the pi isn't with building form arm devices, but with interacting with the pi os? > > I believe it is largely an issue of getting the build configuration and toolchains correct for cross compiling for armv6hf. Although given Pi 3s are arm64 but Raspbian is still armv6hf I guess we would need a build for a number of archs (armv6hf, armv7, arm64) depending on what OS people are running. > > For us there is the extra step of getting it all setup on vulcan to build and package etc. Ouch. I didn't realize raspbian was still armv6hf, although it makes sense for older hardware. That thickens the plot a bit. I'd certainly settle for an arm64-only build of the LC engine, but shoehorning it into an arm6hf os seems dicey. -- Mark Wieder ahsoftware at gmail.com From alex at tweedly.net Mon May 6 20:08:52 2019 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 7 May 2019 01:08:52 +0100 Subject: OT: Hotel suggestion or recommendation for San Jose Message-ID: So, I finally figured out a way to be able to come to the Livecode conference in San Jose. Now I need to find a good (i.e. reasonably priced, fairly close - ideally walking distance), etc. hotel. I thought I remembered seeing a list of recommended ones - but can't find any trace of it. Does anyone have suggestions or recommendations ? Where is everyone else staying ? Thanks Alex. From ahsoftware at sonic.net Mon May 6 20:33:35 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 6 May 2019 17:33:35 -0700 Subject: OT: Hotel suggestion or recommendation for San Jose In-Reply-To: References: Message-ID: <2b3392f8-be12-81f5-30bc-c54e008d4b1f@sonic.net> On 5/6/19 5:08 PM, Alex Tweedly via use-livecode wrote: > > So, I finally figured out a way to be able to come to the Livecode > conference in San Jose. Yay. > Where is everyone else staying ? I picked up an AirBnB slot a few blocks away. -- Mark Wieder ahsoftware at gmail.com From alanstenhouse at hotmail.com Mon May 6 22:37:05 2019 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Tue, 7 May 2019 02:37:05 +0000 Subject: Logging for mobile simulator on iOS? Message-ID: Asked this on the forums with no response, so trying here...: Opening the "System Log" from the Debug menu in the mobile simulator opens the system log but it doesn't seem like any of our usual log messages appear there now. I think this changed some time ago but don't remember what (if any) the solution is. Can someone help? Thanks in advance! cheers, Alan From jacque at hyperactivesw.com Mon May 6 22:44:25 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 May 2019 21:44:25 -0500 Subject: OT: Hotel suggestion or recommendation for San Jose In-Reply-To: <2b3392f8-be12-81f5-30bc-c54e008d4b1f@sonic.net> References: <2b3392f8-be12-81f5-30bc-c54e008d4b1f@sonic.net> Message-ID: <16a902d8b28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Me too, AirBnB. It wasn't as cheap as I'd like but it beat out all the hotels. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 6, 2019 7:35:10 PM Mark Wieder via use-livecode wrote: > On 5/6/19 5:08 PM, Alex Tweedly via use-livecode wrote: >> >> So, I finally figured out a way to be able to come to the Livecode >> conference in San Jose. > > Yay. > >> Where is everyone else staying ? > > I picked up an AirBnB slot a few blocks away. > > -- > 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 brahma at hindu.org Mon May 6 23:38:46 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 7 May 2019 03:38:46 +0000 Subject: Apple Provisioning Profile Is Missing Message-ID: 1. I tried building with a new provisioning profile I created at the Developer.apple.com site 2. In 9.0.4 (RC3) I get a good build 3. Examine the contents of SA; we can see a "embedded.mobileprovision" file there in. Open in BBedit?.looks good 4. Put in folder "PACKAGE"; zip that; rename to myapp.ipa 5. Go the application loader. Choose the myapp.ipa 6. It recognizes that app, new build number, 7. Proceeds with metadata analysis; are returns ERROR ITMS-90174: "Missing Provision Profile - Apps must contain a provisioning profile in a file name embedded.mobileprovision" ?? Anyone else getting this? BR From kaveh at rivervalleytechnologies.com Tue May 7 04:38:58 2019 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 7 May 2019 09:38:58 +0100 Subject: OT: Hotel suggestion or recommendation for San Jose In-Reply-To: <16a902d8b28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2b3392f8-be12-81f5-30bc-c54e008d4b1f@sonic.net> <16a902d8b28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: AirBnB for me too, close to venue. I will be there from Friday night, so be good to know of others who are around over weekend too. :-) On Tue, 7 May 2019 at 03:45, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Me too, AirBnB. It wasn't as cheap as I'd like but it beat out all the > hotels. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 6, 2019 7:35:10 PM Mark Wieder via use-livecode > wrote: > > > On 5/6/19 5:08 PM, Alex Tweedly via use-livecode wrote: > >> > >> So, I finally figured out a way to be able to come to the Livecode > >> conference in San Jose. > > > > Yay. > > > >> Where is everyone else staying ? > > > > I picked up an AirBnB slot a few blocks away. > > > > -- > > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From rdimola at evergreeninfo.net Tue May 7 08:59:27 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 May 2019 08:59:27 -0400 Subject: Apple Provisioning Profile Is Missing In-Reply-To: References: Message-ID: <001501d504d4$b6b01ab0$24105010$@net> Are you sure it's a distribution profile? 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 Sannyasin Brahmanathaswami via use-livecode Sent: Monday, May 06, 2019 11:39 PM To: How LiveCode Cc: Sannyasin Brahmanathaswami Subject: Apple Provisioning Profile Is Missing 1. I tried building with a new provisioning profile I created at the Developer.apple.com site 2. In 9.0.4 (RC3) I get a good build 3. Examine the contents of SA; we can see a "embedded.mobileprovision" file there in. Open in BBedit?.looks good 4. Put in folder "PACKAGE"; zip that; rename to myapp.ipa 5. Go the application loader. Choose the myapp.ipa 6. It recognizes that app, new build number, 7. Proceeds with metadata analysis; are returns ERROR ITMS-90174: "Missing Provision Profile - Apps must contain a provisioning profile in a file name embedded.mobileprovision" ?? Anyone else getting this? 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 lists at mangomultimedia.com Tue May 7 09:35:21 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 7 May 2019 08:35:21 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference Message-ID: This is for anyone who plans on attending my workshop on using FFI in LCB at the conference. Is there any code (a macOS Framework, Windows API, DLL, dylib, etc.) that is written in Objective-C or that has a C wrapper that you are interested in wrapping with LCB in order to make it available to LiveCode? If so, let me know in a response to this thread and I can take a look at it before the workshop to see if I can include it. -- Trevor DeVore ScreenSteps www.screensteps.com From matthias_livecode_150811 at m-r-d.de Tue May 7 10:03:58 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 7 May 2019 16:03:58 +0200 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: <566943D0-ED7F-44BF-A64B-233A911417E7@m-r-d.de> Trevor, Are the workshops also available through Simulcast or are they "offline"? Would be great even if only watching would be possible w/o interaction, but i am afraid they aren?t, right? Matthias > Am 07.05.2019 um 15:35 schrieb Trevor DeVore via use-livecode >: > > This is for anyone who plans on attending my workshop on using FFI in LCB > at the conference. Is there any code (a macOS Framework, Windows API, DLL, > dylib, etc.) that is written in Objective-C or that has a C wrapper that > you are interested in wrapping with LCB in order to make it available to > LiveCode? > > If so, let me know in a response to this thread and I can take a look at it > before the workshop to see if I can include it. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.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 free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From lists at mangomultimedia.com Tue May 7 10:21:07 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 7 May 2019 09:21:07 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: <566943D0-ED7F-44BF-A64B-233A911417E7@m-r-d.de> References: <566943D0-ED7F-44BF-A64B-233A911417E7@m-r-d.de> Message-ID: On Tue, May 7, 2019 at 9:04 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Trevor, > > Are the workshops also available through Simulcast or are they "offline"? > Would be great even if only watching would be possible w/o interaction, > but i am afraid they aren?t, right? I don?t know the answer to that. I?m not sure what is being broadcast and what isn?t. -- Trevor DeVore ScreenSteps From ahsoftware at sonic.net Tue May 7 12:36:33 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 7 May 2019 09:36:33 -0700 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On 5/7/19 6:35 AM, Trevor DeVore via use-livecode wrote: > This is for anyone who plans on attending my workshop on using FFI in LCB > at the conference. Is there any code (a macOS Framework, Windows API, DLL, > dylib, etc.) that is written in Objective-C or that has a C wrapper that > you are interested in wrapping with LCB in order to make it available to > LiveCode? > > If so, let me know in a response to this thread and I can take a look at it > before the workshop to see if I can include it. Are you going to be covering foreign aggregate types? For me that's the brick wall I run into when attempting to use LCB to access APIs. I have yet to run into a case where I don't need to access an embedded buffer in a C struct. If it's an 8-byte buffer, I can use public foreign type tType binds to "CType:xxxxhhhhhhhhxxxx" but when I need a 1024-byte buffer, "CType:xxxxhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhxxxx" is just too unreadable, unmaintainable, and error-prone to deal with. -- Mark Wieder ahsoftware at gmail.com From paul at researchware.com Tue May 7 13:14:18 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 7 May 2019 13:14:18 -0400 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On 5/7/2019 9:35 AM, Trevor DeVore via use-livecode wrote: > This is for anyone who plans on attending my workshop on using FFI in LCB > at the conference. Is there any code (a macOS Framework, Windows API, DLL, > dylib, etc.) that is written in Objective-C or that has a C wrapper that > you are interested in wrapping with LCB in order to make it available to > LiveCode? > > If so, let me know in a response to this thread and I can take a look at it > before the workshop to see if I can include it. > I would love to see a sample LCB wrapper for PocketSphinx! https://cmusphinx.github.io/wiki/tutorialpocketsphinx From tom at makeshyft.com Tue May 7 13:16:48 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 7 May 2019 13:16:48 -0400 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: PocketSphinx !!!!...LC Wrapper.......Yes! On Tue, May 7, 2019 at 1:14 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/7/2019 9:35 AM, Trevor DeVore via use-livecode wrote: > > This is for anyone who plans on attending my workshop on using FFI in LCB > > at the conference. Is there any code (a macOS Framework, Windows API, > DLL, > > dylib, etc.) that is written in Objective-C or that has a C wrapper that > > you are interested in wrapping with LCB in order to make it available to > > LiveCode? > > > > If so, let me know in a response to this thread and I can take a look at > it > > before the workshop to see if I can include it. > > > > I would love to see a sample LCB wrapper for PocketSphinx! > > https://cmusphinx.github.io/wiki/tutorialpocketsphinx > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 lists at mangomultimedia.com Tue May 7 13:17:53 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 7 May 2019 12:17:53 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On Tue, May 7, 2019 at 11:37 AM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/7/19 6:35 AM, Trevor DeVore via use-livecode wrote: > > This is for anyone who plans on attending my workshop on using FFI in LCB > > at the conference. Is there any code (a macOS Framework, Windows API, > DLL, > > dylib, etc.) that is written in Objective-C or that has a C wrapper that > > you are interested in wrapping with LCB in order to make it available to > > LiveCode? > > > > If so, let me know in a response to this thread and I can take a look at > it > > before the workshop to see if I can include it. > > Are you going to be covering foreign aggregate types? For me that's the > brick wall I run into when attempting to use LCB to access APIs. I have > yet to run into a case where I don't need to access an embedded buffer > in a C struct. If it's an 8-byte buffer, I can use > > public foreign type tType binds to "CType:xxxxhhhhhhhhxxxx" > > but when I need a 1024-byte buffer, I will be introducing them but I can?t fix limitations of the engine. -- Trevor DeVore ScreenSteps > > From paul at researchware.com Tue May 7 13:21:37 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 7 May 2019 13:21:37 -0400 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: <13f5c03c-9d70-859c-e29b-237956e8d014@researchware.com> On 5/7/2019 1:14 PM, Paul Dupuis wrote: > On 5/7/2019 9:35 AM, Trevor DeVore via use-livecode wrote: >> This is for anyone who plans on attending my workshop on using FFI in >> LCB >> at the conference. Is there any code (a macOS Framework, Windows API, >> DLL, >> dylib, etc.) that is written in Objective-C or that has a C wrapper that >> you are interested in wrapping with LCB in order to make it available to >> LiveCode? >> >> If so, let me know in a response to this thread and I can take a look >> at it >> before the workshop to see if I can include it. >> > > I would love to see a sample LCB wrapper for PocketSphinx! > > https://cmusphinx.github.io/wiki/tutorialpocketsphinx > > I should have added, even just the minimal of a LCB library where I can write a script like: on mouseUp ? ask file "Please select a WAV audio file to convert to text:" with type "WAV Audio FIle|wav|WAVE" ? if it is empty then exit mouseUp ? put sphinxTranscribe(it) into fld "Text" end mouseUp where sphinxTranscribe takes a WAV file and used PocketSphinx to return the transcribed text of the audio using the default settings. Just that bit would be a boost t getting into further LCB development around pocketSphinx. From lists at mangomultimedia.com Tue May 7 13:56:45 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 7 May 2019 12:56:45 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On Tue, May 7, 2019 at 12:14 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/7/2019 9:35 AM, Trevor DeVore via use-livecode wrote: > > This is for anyone who plans on attending my workshop on using FFI in LCB > > at the conference. Is there any code (a macOS Framework, Windows API, > DLL, > > dylib, etc.) that is written in Objective-C or that has a C wrapper that > > you are interested in wrapping with LCB in order to make it available to > > LiveCode? > > > > If so, let me know in a response to this thread and I can take a look at > it > > before the workshop to see if I can include it. > > > > I would love to see a sample LCB wrapper for PocketSphinx! > > https://cmusphinx.github.io/wiki/tutorialpocketsphinx I'll take a look. -- Trevor DeVore ScreenSteps www.screensteps.com From hh at hyperhh.de Tue May 7 14:04:44 2019 From: hh at hyperhh.de (hh) Date: Tue, 7 May 2019 20:04:44 +0200 Subject: Question for LCB FFI workshop attendees at upcoming conference Message-ID: > > Matthias R. wrote: > > Are the workshops also available through Simulcast or are they "offline"? > > Would be great even if only watching would be possible w/o interaction, > > but i am afraid they aren?t, right? > > Trevor D. wrote: > I don?t know the answer to that. I?m not sure what is being broadcast and what isn?t. From a current LC offer: "Livestreaming includes track 1, track 2 and the LiveCloud workshop. Other workshops are not recorded or streamed." So the (most interesting) FFI workshop is *sadly* not even recorded. From ahsoftware at sonic.net Tue May 7 14:27:15 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 7 May 2019 11:27:15 -0700 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: <144f8914-8037-2127-5836-c2fea6a29d81@sonic.net> On 5/7/19 10:17 AM, Trevor DeVore via use-livecode wrote: > I will be introducing them but I can?t fix limitations of the engine. > Heh. Right, I was just hoping you had another way of dealing with this. No worries. -- Mark Wieder ahsoftware at gmail.com From lists at mangomultimedia.com Tue May 7 15:23:50 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 7 May 2019 14:23:50 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: <144f8914-8037-2127-5836-c2fea6a29d81@sonic.net> References: <144f8914-8037-2127-5836-c2fea6a29d81@sonic.net> Message-ID: On Tue, May 7, 2019 at 1:27 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/7/19 10:17 AM, Trevor DeVore via use-livecode wrote: > > > I will be introducing them but I can?t fix limitations of the engine. > > > > Heh. Right, I was just hoping you had another way of dealing with this. > No worries. I haven?t had to wrap code that used such a beast so I haven?t investigated other approaches myself. -- Trevor DeVore From monte at appisle.net Tue May 7 19:06:23 2019 From: monte at appisle.net (Monte Goulding) Date: Wed, 8 May 2019 09:06:23 +1000 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: > On 8 May 2019, at 2:36 am, Mark Wieder via use-livecode wrote: > > is just too unreadable, unmaintainable, and error-prone to deal with. Yes it would probably be helpful to be able to write `h1024` and have it convert to and from a CArray type which could have an element type property (in this case UInt8) and a length property (1024) and bridge to a list of the element type and syntax to move to and from Data if necessary. FWIW my talk which is on directly before Trevor?s workshop will be a whirlwind tour of LCB FFI so that anybody that feels they want a refresher/primer before entering the workshop can get one. Cheers Monte From ahsoftware at sonic.net Tue May 7 19:25:38 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 7 May 2019 16:25:38 -0700 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: <6367a289-37a5-be6e-c0f9-b458c1d1bca1@sonic.net> On 5/7/19 4:06 PM, Monte Goulding via use-livecode wrote: > > >> On 8 May 2019, at 2:36 am, Mark Wieder via use-livecode wrote: >> >> is just too unreadable, unmaintainable, and error-prone to deal with. > > Yes it would probably be helpful to be able to write `h1024` and have it convert to and from a CArray type which could have an element type property (in this case UInt8) and a length property (1024) and bridge to a list of the element type and syntax to move to and from Data if necessary. I'd prefer 1024h, but I'm good with either. I've rant^H^H^Hsuggested this several times, but it hasn't gone anywhere. > > FWIW my talk which is on directly before Trevor?s workshop will be a whirlwind tour of LCB FFI so that anybody that feels they want a refresher/primer before entering the workshop can get one. Cool. But it's opposite Ali's can't-miss morning talk. I need two of me... good thing these are getting recorded for later. -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Tue May 7 20:34:11 2019 From: monte at appisle.net (Monte Goulding) Date: Wed, 8 May 2019 10:34:11 +1000 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: <6367a289-37a5-be6e-c0f9-b458c1d1bca1@sonic.net> References: <6367a289-37a5-be6e-c0f9-b458c1d1bca1@sonic.net> Message-ID: <44371CB2-5A7B-4183-960D-7C258C004EDB@appisle.net> > On 8 May 2019, at 9:25 am, Mark Wieder via use-livecode wrote: > > On 5/7/19 4:06 PM, Monte Goulding via use-livecode wrote: >>> On 8 May 2019, at 2:36 am, Mark Wieder via use-livecode wrote: >>> >>> is just too unreadable, unmaintainable, and error-prone to deal with. >> Yes it would probably be helpful to be able to write `h1024` and have it convert to and from a CArray type which could have an element type property (in this case UInt8) and a length property (1024) and bridge to a list of the element type and syntax to move to and from Data if necessary. > > I'd prefer 1024h, but I'm good with either. I've rant^H^H^Hsuggested this several times, but it hasn't gone anywhere. I?m not really sure if the aggregate type is intended to be a stopgap solution so perhaps if it is that may be a good reason not to spend too much time handling cases like this and figuring out how best to handle unions etc. You can do what you need to do it?s just not a huge amount of fun when dealing with complex structs. Ideally we would have a foreign record type where you could specify member names and there would be syntax to support unions so they aren't so tricky to handle and the engine can figure out padding if union members are different sizes etc. Cheers Monte From brahma at hindu.org Tue May 7 22:16:25 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 8 May 2019 02:16:25 +0000 Subject: Apple Provisioning Profile Is Missing Message-ID: <7AF07135-0158-427D-BFA6-BA1DCD2E4509@hindu.org> Yes, clearly, "iOS Distribution" is the designation givem at the Provisioning Profiles in developer.apple.com. I deleted the other profiles I have on my machine. So I only have this one. BR Are you sure it's a distribution profile? Ralph DiMola BR wrote: 1. I tried building with a new provisioning profile I created at the Developer.apple.com site 2. In 9.0.4 (RC3) I get a good build 3. Examine the contents of SA; we can see a "embedded.mobileprovision" file therein. Open in BBedit?.looks good 4. Put in folder "PACKAGE"; zip that; rename to myapp.ipa 5. Go the application loader. Choose the myapp.ipa 6. It recognizes that app, new build number, 7. Proceeds with metadata analysis; and returns ERROR ITMS-90174: "Missing Provision Profile - Apps must contain a provisioning profile in a file name embedded.mobileprovision" ?? Anyone else getting this? 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 montero.je at gmail.com Wed May 8 02:34:01 2019 From: montero.je at gmail.com (Jose Enrique Montero) Date: Wed, 8 May 2019 08:34:01 +0200 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: <44371CB2-5A7B-4183-960D-7C258C004EDB@appisle.net> References: <6367a289-37a5-be6e-c0f9-b458c1d1bca1@sonic.net> <44371CB2-5A7B-4183-960D-7C258C004EDB@appisle.net> Message-ID: Hi Trevor I like to attend your workshop, but in this opportunity I can't. About the code, doy you try the use the firebase SDK https://firebase.google.com/docs/cloud-messaging/?authuser=0#implementation_paths . best regards and a successful workshop Jose El mi?., 8 de may. de 2019 a la(s) 02:34, Monte Goulding via use-livecode ( use-livecode at lists.runrev.com) escribi?: > > > > On 8 May 2019, at 9:25 am, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > On 5/7/19 4:06 PM, Monte Goulding via use-livecode wrote: > >>> On 8 May 2019, at 2:36 am, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> is just too unreadable, unmaintainable, and error-prone to deal with. > >> Yes it would probably be helpful to be able to write `h1024` and have > it convert to and from a CArray type which could have an element type > property (in this case UInt8) and a length property (1024) and bridge to a > list of the element type and syntax to move to and from Data if necessary. > > > > I'd prefer 1024h, but I'm good with either. I've rant^H^H^Hsuggested > this several times, but it hasn't gone anywhere. > > I?m not really sure if the aggregate type is intended to be a stopgap > solution so perhaps if it is that may be a good reason not to spend too > much time handling cases like this and figuring out how best to handle > unions etc. You can do what you need to do it?s just not a huge amount of > fun when dealing with complex structs. > > Ideally we would have a foreign record type where you could specify member > names and there would be syntax to support unions so they aren't so tricky > to handle and the engine can figure out padding if union members are > different sizes etc. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode 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 ludovic.thebault at laposte.net Wed May 8 05:47:48 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 8 May 2019 11:47:48 +0200 Subject: array and revExecuteSQL Message-ID: hello when you use array with revExecuteSQL like : revExecuteSQL, dbID, tSQL, "tarray" can we use array wth keys as text and not number : tarray["latitude"] vs tarray[1] i?ve some bug with first syntax. Thanks for your light ! From alanstenhouse at hotmail.com Wed May 8 06:19:18 2019 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Wed, 8 May 2019 10:19:18 +0000 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: openCV (open source Computer Vision) perhaps? https://github.com/opencv/ Sadly not attending this year though! cheers Alan On 7 May 2019, at08:35:21,Trevor DeVore > wrote: This is for anyone who plans on attending my workshop on using FFI in LCB at the conference. Is there any code (a macOS Framework, Windows API, DLL, dylib, etc.) that is written in Objective-C or that has a C wrapper that you are interested in wrapping with LCB in order to make it available to LiveCode? If so, let me know in a response to this thread and I can take a look at it before the workshop to see if I can include it. -- Trevor DeVore ScreenSteps www.screensteps.com From jjs at krutt.org Wed May 8 05:44:08 2019 From: jjs at krutt.org (JJS) Date: Wed, 8 May 2019 11:44:08 +0200 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: <3d7bc6de-de5f-04fe-9fef-a400fb9f5749@krutt.org> I'm not there, but what would be fantastic is to get TUIO running in Livecode. https://www.tuio.org/?software It's the most used protocol on big touch screens which are used in Offices, Hospitals, big companies, Workshops, Board meetings etcetera There are even screens now with integarted Windows PC's and even with integrated Android which use this protocol. On the TUIO site many program languages are supported, but not LC. Op 7-5-2019 om 15:35 schreef Trevor DeVore via use-livecode: > This is for anyone who plans on attending my workshop on using FFI in LCB > at the conference. Is there any code (a macOS Framework, Windows API, DLL, > dylib, etc.) that is written in Objective-C or that has a C wrapper that > you are interested in wrapping with LCB in order to make it available to > LiveCode? > > If so, let me know in a response to this thread and I can take a look at it > before the workshop to see if I can include it. > From brahma at hindu.org Wed May 8 09:15:28 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 8 May 2019 13:15:28 +0000 Subject: Apple Provisioning Profile Is Missing In-Reply-To: <7AF07135-0158-427D-BFA6-BA1DCD2E4509@hindu.org> References: <7AF07135-0158-427D-BFA6-BA1DCD2E4509@hindu.org> Message-ID: <346D8B0B-7462-4A1C-A45E-B44BF700DD6F@hindu.org> Jacque says she remembered the folder was named "Payload" (not "PACKAGE") Yes! This works... 1. Get a Standalone -- "myApp.app" 2. Make folder "Payload"; put "myApp.app" into that 3. Zip that folder 4. Rename to "myApp.ipa" 5. Go the Xcode--> Open Developer Tool --> Application Loader. Choose the myapp.ipa 6. It recognizes the app, new build number, and sees the "embedded.mobileprovision" I had just come from Google Play Console (about 10 min to get my app up) and had "Android" thinking on the brain when I named it "Package" BR From merakosp at gmail.com Wed May 8 09:31:31 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 8 May 2019 16:31:31 +0300 Subject: Apple Provisioning Profile Is Missing In-Reply-To: <346D8B0B-7462-4A1C-A45E-B44BF700DD6F@hindu.org> References: <7AF07135-0158-427D-BFA6-BA1DCD2E4509@hindu.org> <346D8B0B-7462-4A1C-A45E-B44BF700DD6F@hindu.org> Message-ID: Hello all, For future reference, we have a detailed lesson on how to upload your LC apps to the iOS AppStore: http://lessons.livecode.com/m/4069/l/33064-how-do-i-submit-an-ios-app-to-the-app-store Regards, Panos -- On Wed, 8 May 2019 at 16:15, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > Jacque says she remembered the folder was named "Payload" (not "PACKAGE") > > Yes! This works... > > 1. Get a Standalone -- "myApp.app" > 2. Make folder "Payload"; put "myApp.app" into that > 3. Zip that folder > 4. Rename to "myApp.ipa" > 5. Go the Xcode--> Open Developer Tool --> Application Loader. Choose the > myapp.ipa > 6. It recognizes the app, new build number, and sees the > "embedded.mobileprovision" > > I had just come from Google Play Console (about 10 min to get my app up) > and had "Android" thinking on the brain when I named it "Package" > > 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 rdimola at evergreeninfo.net Wed May 8 09:50:05 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 May 2019 09:50:05 -0400 Subject: Apple Provisioning Profile Is Missing In-Reply-To: <346D8B0B-7462-4A1C-A45E-B44BF700DD6F@hindu.org> References: <7AF07135-0158-427D-BFA6-BA1DCD2E4509@hindu.org> <346D8B0B-7462-4A1C-A45E-B44BF700DD6F@hindu.org> Message-ID: <001901d505a4$f3c99ef0$db5cdcd0$@net> BR, Sorry I did not notice that. I am hammered here and flaked out. 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 Sannyasin Brahmanathaswami via use-livecode Sent: Wednesday, May 08, 2019 9:15 AM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Apple Provisioning Profile Is Missing Jacque says she remembered the folder was named "Payload" (not "PACKAGE") Yes! This works... 1. Get a Standalone -- "myApp.app" 2. Make folder "Payload"; put "myApp.app" into that 3. Zip that folder 4. Rename to "myApp.ipa" 5. Go the Xcode--> Open Developer Tool --> Application Loader. Choose the myapp.ipa 6. It recognizes the app, new build number, and sees the "embedded.mobileprovision" I had just come from Google Play Console (about 10 min to get my app up) and had "Android" thinking on the brain when I named it "Package" 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 jacque at hyperactivesw.com Wed May 8 18:39:54 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 May 2019 17:39:54 -0500 Subject: Crash log on mobile? Message-ID: An Android app in testing has crashed a few times. Is there a way to get a crash log? There is no error, just a quit to the launcher. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Wed May 8 19:17:58 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 May 2019 19:17:58 -0400 Subject: Crash log on mobile? In-Reply-To: References: Message-ID: <006501d505f4$48fb1030$daf13090$@net> J, Using adb at the command prompt(in the platform-tools folder in the SDK)... First clear the logcat Adb logcat -c Then run your app, let it crash and then dump the logcat. This will dump to your screen. Adb logcat -d You can pipe the screen dump into a file if you need to submit a bug report. There's a lot in the logcat and not all of it will be related to the crashed launch. 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 J. Landman Gay via use-livecode Sent: Wednesday, May 08, 2019 6:40 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: Crash log on mobile? An Android app in testing has crashed a few times. Is there a way to get a crash log? There is no error, just a quit to the launcher. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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 brahma at hindu.org Thu May 9 09:20:00 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 9 May 2019 13:20:00 +0000 Subject: Apple Provisioning Profile Is Missing In-Reply-To: References: <7AF07135-0158-427D-BFA6-BA1DCD2E4509@hindu.org> <346D8B0B-7462-4A1C-A45E-B44BF700DD6F@hindu.org> Message-ID: <40A3BB28-654A-4C35-9234-13F391880CD8@hindu.org> Oh boy, I should have looked there first! Panos, there is a new requirement for any who has not done this in the last 5 months: "Third" - Factor Identification. Of course most iOS developers were forced get that, so are familiar with it (I mention this in another thread) What is not familiar, is how to enter that in the Applications Loader. Took me three support calls and ever Apple Tier 3 support -experts - did not know how to do it. They kept saying "Can't you enter at the prompt?. What? There is no prompt? We'll get back you?" (never did?) Well, mystery meat in the Application Loader UI, the first time you will be asked for a "password" There is no prompt. On a hunch I clicked on the upper left button that appears just to identify you with the developer account name. It wants you log in?. It doesn't tell you what password. First you think, it is must be your Mac admin password. Nope, doesn't work. Then you think, ahha! Must be my developer account password. Nope doesn't work? You have to enter the app-specific password you created in the Apple ID account (you can only have 25 of these.) Once it is entered, Xcode knows and you won't have to enter it again, at least it hasn't so asked me again so far. And there appears no correlation between that password and you app name. At least it is not apparent. Hopefully that will save someone several days of tearing their hair out dealing with Apple's reg's. Perhaps I should put this in as a comment on the lesson. BR From: panagiotis merakos Hello all, For future reference, we have a detailed lesson on how to upload your LC apps to the iOS AppStore: http://lessons.livecode.com/m/4069/l/33064-how-do-i-submit-an-ios-app-to-the-app-store Regards, Panos From paul at researchware.com Thu May 9 12:15:15 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 9 May 2019 12:15:15 -0400 Subject: Help with Pasting of RTL languages into a field Message-ID: <734de098-966c-e64f-b721-e74033d3f3fb@researchware.com> I have a? test stack with a single scrolling field under LC904rc2. The textDirection for the field is the default of "auto" meaning it should align LTR? languages (like English) to the Left and RTL languages (like Arabic or Hebrew) to the Right. English and other LTR test is correctly Left aligned. When I paste in RTL text (Arabic for example) it is incorrectly Left aligned. I am not sure if this is a 'paste' issue (tried the 'paste' command in a button and just using Ctrl-V in the IDE) or a field issue? Or even how to tell? Does anyone else have experience with pasting RTL text from other applications (Word, Web pages, Google Translate, etc.) into LiveCode to have it align properly? From kee.nethery at elloco.com Thu May 9 20:29:52 2019 From: kee.nethery at elloco.com (kee nethery) Date: Thu, 9 May 2019 17:29:52 -0700 Subject: Notarization & hardening for macOS non-App Store Apps? In-Reply-To: <160ec6fc-f1fa-6c49-989b-d2b26b711692@fourthworld.com> References: <81A11B55-1898-43BB-A6A1-CFB4945892ED@iotecdigital.com> <160ec6fc-f1fa-6c49-989b-d2b26b711692@fourthworld.com> Message-ID: <27EE584A-ECA4-4A6E-AC76-8CE4217794EC@elloco.com> Help. I volunteered to research this topic and present on it. I?ve documented the process to upload to the App Store, figured this would be less steps and I could figure it out and present on it at the LiveCode conference (as well as document it on the lessons web site). There are two issues I?m running into and I could sorely use some help if any of you have gone through this notarization process on a macOS app. Kee Nethery ??? TLDR ??? The developer ID certificate is the same one used to sign an app on the AppStore and it is not expired so ? I?m really stumped as to why it is not signed with a valid Developer ID. I set the ?timestamp flag in the codesign command so it should have gotten a timestamp. Again, WTF? And once those get resolved, without using Xcode, I have no idea how to ?have the hardened runtime enabled?. In specific I get the following error report. { "logFormatVersion": 1, "jobId": "44f6d3f6-520b-4993-89af-3290ae2709c5", "status": "Invalid", "statusSummary": "Archive contains critical validation errors", "statusCode": 4000, "archiveFilename": "99_Bottles.pkg", "uploadDate": "2019-05-08T00:41:02Z", "sha256": "8f51bb68f65c36beed94c717d1bb49a146e927fe591aa4f3755aba2793bab7b3", "ticketContents": null, "issues": [ { "severity": "error", "code": null, "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/revsecurity.dylib", "message": "The binary is not signed with a valid Developer ID certificate.", "docUrl": null, "architecture": "x86_64" }, { "severity": "error", "code": null, "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/revsecurity.dylib", "message": "The signature does not include a secure timestamp.", "docUrl": null, "architecture": "x86_64" }, { "severity": "error", "code": null, "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/99 Bottles", "message": "The binary is not signed with a valid Developer ID certificate.", "docUrl": null, "architecture": "x86_64" }, { "severity": "error", "code": null, "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/99 Bottles", "message": "The signature does not include a secure timestamp.", "docUrl": null, "architecture": "x86_64" }, { "severity": "error", "code": null, "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/99 Bottles", "message": "The executable does not have the hardened runtime enabled.", "docUrl": null, "architecture": "x86_64" } ] } From monte at appisle.net Thu May 9 20:42:06 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 10 May 2019 10:42:06 +1000 Subject: Notarization & hardening for macOS non-App Store Apps? In-Reply-To: <27EE584A-ECA4-4A6E-AC76-8CE4217794EC@elloco.com> References: <81A11B55-1898-43BB-A6A1-CFB4945892ED@iotecdigital.com> <160ec6fc-f1fa-6c49-989b-d2b26b711692@fourthworld.com> <27EE584A-ECA4-4A6E-AC76-8CE4217794EC@elloco.com> Message-ID: <0625A33A-EA84-4A65-B3D6-41342C057C90@appisle.net> Looks like the hardened runtime needs ?options=runtime https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution/resolving_common_notarization_issues?language=objc For the others are you using ?force ?deep to ensure you replace any existing code signatures? > On 10 May 2019, at 10:29 am, kee nethery via use-livecode wrote: > > Help. > > I volunteered to research this topic and present on it. I?ve documented the process to upload to the App Store, figured this would be less steps and I could figure it out and present on it at the LiveCode conference (as well as document it on the lessons web site). > > There are two issues I?m running into and I could sorely use some help if any of you have gone through this notarization process on a macOS app. > > Kee Nethery > > ??? TLDR ??? > > The developer ID certificate is the same one used to sign an app on the AppStore and it is not expired so ? I?m really stumped as to why it is not signed with a valid Developer ID. > > I set the ?timestamp flag in the codesign command so it should have gotten a timestamp. Again, WTF? > > And once those get resolved, without using Xcode, I have no idea how to ?have the hardened runtime enabled?. > > In specific I get the following error report. > > > > > { > "logFormatVersion": 1, > "jobId": "44f6d3f6-520b-4993-89af-3290ae2709c5", > "status": "Invalid", > "statusSummary": "Archive contains critical validation errors", > "statusCode": 4000, > "archiveFilename": "99_Bottles.pkg", > "uploadDate": "2019-05-08T00:41:02Z", > "sha256": "8f51bb68f65c36beed94c717d1bb49a146e927fe591aa4f3755aba2793bab7b3", > "ticketContents": null, > "issues": [ > { > "severity": "error", > "code": null, > "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/revsecurity.dylib", > "message": "The binary is not signed with a valid Developer ID certificate.", > "docUrl": null, > "architecture": "x86_64" > }, > { > "severity": "error", > "code": null, > "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/revsecurity.dylib", > "message": "The signature does not include a secure timestamp.", > "docUrl": null, > "architecture": "x86_64" > }, > { > "severity": "error", > "code": null, > "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/99 Bottles", > "message": "The binary is not signed with a valid Developer ID certificate.", > "docUrl": null, > "architecture": "x86_64" > }, > { > "severity": "error", > "code": null, > "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/99 Bottles", > "message": "The signature does not include a secure timestamp.", > "docUrl": null, > "architecture": "x86_64" > }, > { > "severity": "error", > "code": null, > "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/99 Bottles", > "message": "The executable does not have the hardened runtime enabled.", > "docUrl": null, > "architecture": "x86_64" > } > ] > } > _______________________________________________ > use-livecode mailing list > use-livecode 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 kee.nethery at elloco.com Thu May 9 20:49:10 2019 From: kee.nethery at elloco.com (kee nethery) Date: Thu, 9 May 2019 17:49:10 -0700 Subject: Notarization & hardening for macOS non-App Store Apps? In-Reply-To: <0625A33A-EA84-4A65-B3D6-41342C057C90@appisle.net> References: <81A11B55-1898-43BB-A6A1-CFB4945892ED@iotecdigital.com> <160ec6fc-f1fa-6c49-989b-d2b26b711692@fourthworld.com> <27EE584A-ECA4-4A6E-AC76-8CE4217794EC@elloco.com> <0625A33A-EA84-4A65-B3D6-41342C057C90@appisle.net> Message-ID: > On May 9, 2019, at 5:42 PM, Monte Goulding via use-livecode wrote: > > Looks like the hardened runtime needs ?options=runtime Which what terminal command would ?options=runtime be used? From what I can see, the only place to enable hardened runtime is with projects in Xcode and ? this is not a project in Xcode, right? > > https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution/resolving_common_notarization_issues?language=objc > > For the others are you using ?force ?deep to ensure you replace any existing code signatures? yes. Learning lots about codesign and xattr and spctl but am really just a code monkey pressing keys hoping for Shakespeare. Kee > >> On 10 May 2019, at 10:29 am, kee nethery via use-livecode wrote: >> >> Help. >> >> I volunteered to research this topic and present on it. I?ve documented the process to upload to the App Store, figured this would be less steps and I could figure it out and present on it at the LiveCode conference (as well as document it on the lessons web site). >> >> There are two issues I?m running into and I could sorely use some help if any of you have gone through this notarization process on a macOS app. >> >> Kee Nethery >> >> ??? TLDR ??? >> >> The developer ID certificate is the same one used to sign an app on the AppStore and it is not expired so ? I?m really stumped as to why it is not signed with a valid Developer ID. >> >> I set the ?timestamp flag in the codesign command so it should have gotten a timestamp. Again, WTF? >> >> And once those get resolved, without using Xcode, I have no idea how to ?have the hardened runtime enabled?. >> >> In specific I get the following error report. >> >> >> >> >> { >> "logFormatVersion": 1, >> "jobId": "44f6d3f6-520b-4993-89af-3290ae2709c5", >> "status": "Invalid", >> "statusSummary": "Archive contains critical validation errors", >> "statusCode": 4000, >> "archiveFilename": "99_Bottles.pkg", >> "uploadDate": "2019-05-08T00:41:02Z", >> "sha256": "8f51bb68f65c36beed94c717d1bb49a146e927fe591aa4f3755aba2793bab7b3", >> "ticketContents": null, >> "issues": [ >> { >> "severity": "error", >> "code": null, >> "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/revsecurity.dylib", >> "message": "The binary is not signed with a valid Developer ID certificate.", >> "docUrl": null, >> "architecture": "x86_64" >> }, >> { >> "severity": "error", >> "code": null, >> "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/revsecurity.dylib", >> "message": "The signature does not include a secure timestamp.", >> "docUrl": null, >> "architecture": "x86_64" >> }, >> { >> "severity": "error", >> "code": null, >> "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/99 Bottles", >> "message": "The binary is not signed with a valid Developer ID certificate.", >> "docUrl": null, >> "architecture": "x86_64" >> }, >> { >> "severity": "error", >> "code": null, >> "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/99 Bottles", >> "message": "The signature does not include a secure timestamp.", >> "docUrl": null, >> "architecture": "x86_64" >> }, >> { >> "severity": "error", >> "code": null, >> "path": "99_Bottles.pkg/com..99bottles.pkg Contents/Payload/99 Bottles.app/Contents/MacOS/99 Bottles", >> "message": "The executable does not have the hardened runtime enabled.", >> "docUrl": null, >> "architecture": "x86_64" >> } >> ] >> } >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 monte at appisle.net Thu May 9 21:05:55 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 10 May 2019 11:05:55 +1000 Subject: Notarization & hardening for macOS non-App Store Apps? In-Reply-To: References: <81A11B55-1898-43BB-A6A1-CFB4945892ED@iotecdigital.com> <160ec6fc-f1fa-6c49-989b-d2b26b711692@fourthworld.com> <27EE584A-ECA4-4A6E-AC76-8CE4217794EC@elloco.com> <0625A33A-EA84-4A65-B3D6-41342C057C90@appisle.net> Message-ID: <8A6B5C02-4D89-4B68-8AFD-66FCBC506803@appisle.net> > On 10 May 2019, at 10:49 am, kee nethery via use-livecode wrote: > > > >> On May 9, 2019, at 5:42 PM, Monte Goulding via use-livecode > wrote: >> >> Looks like the hardened runtime needs ?options=runtime > > Which what terminal command would ?options=runtime be used? > > From what I can see, the only place to enable hardened runtime is with projects in Xcode and ? this is not a project in Xcode, right? I?m fairly sure Xcode is just adding it when it executes codesign > >> >> https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution/resolving_common_notarization_issues?language=objc > >> >> For the others are you using ?force ?deep to ensure you replace any existing code signatures? > > yes. Learning lots about codesign and xattr and spctl but am really just a code monkey pressing keys hoping for Shakespeare. Haha? well we all feel like that sometimes! Cheers Monte From jjs at krutt.org Fri May 10 07:15:24 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Fri, 10 May 2019 11:15:24 +0000 Subject: Android needs 64 bit builds In-Reply-To: <0e318517-725c-59ae-c0c4-09c1ab1debb0@sonic.net> References: <20190501140643.Horde.RRIvr62OMJh-sz7ftF64cTn@ua850258.serversignin.com> <16a74074290.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1a9938ce-2187-0123-e3d4-2afa85339874@hyperactivesw.com> <52932b9c-56b1-2ece-8dc8-e73bf47bd7ac@krutt.org> <16a79ba9098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0CC899C5-0050-4A69-92A4-4B068A8D6894@appisle.net> <67610549-6553-56c7-8327-76f7b43262ec@gmail.com> <9c6c82ab-4e4d-09af-86e6-6258dfc87d3b@krutt.org> <478fd109-ea6d-856d-9a48-6a128e220764@sonic.net> <013be906-eb5e-9d32-a1f7-dfa44862153d@sonic.net> <6A217A58-0CBC-4DE6-8F15-B932BB3558EC@appisle.net> <0e318517-725c-59ae-c0c4-09c1ab1debb0@sonic.net> Message-ID: a minor thing probably i noticed. The 9.1.0DP1 jumped to 9.5.0DP1. Is this a typo? or do have to wait longer? Just asking. Mark Wieder via use-livecode schreef op 2019-05-06 23:26: > On 5/6/19 3:44 PM, Monte Goulding via use-livecode wrote: > >>> Ah. OK. So the problem with running on the pi isn't with building >>> form arm devices, but with interacting with the pi os? >> >> I believe it is largely an issue of getting the build configuration >> and toolchains correct for cross compiling for armv6hf. Although given >> Pi 3s are arm64 but Raspbian is still armv6hf I guess we would need a >> build for a number of archs (armv6hf, armv7, arm64) depending on what >> OS people are running. >> >> For us there is the extra step of getting it all setup on vulcan to >> build and package etc. > > Ouch. I didn't realize raspbian was still armv6hf, although it makes > sense for older hardware. That thickens the plot a bit. I'd certainly > settle for an arm64-only build of the LC engine, but shoehorning it > into an arm6hf os seems dicey. From brahma at hindu.org Fri May 10 10:07:49 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 10 May 2019 14:07:49 +0000 Subject: Resize Stack Sent Everytime a Stack Opens? Message-ID: I put a "breakpoint" into On resizestack x,y, Breakpoint [snip code] End resize stack At least on Android, this being called every time the stack opens. But it doesn't mention that in the dictionary OTHO If you turn for phone sideways (to "landscape") it is not called. Even though this is in the dictionary (which implies that it is called) The orientationChanged message is sent before any automatic interface rotation takes place thus changes to the orientation lock state and allowed set can be made at this point and still have an effect. If you wish to perform an action after the interface has been rotated, then either do so on receipt of resizeStack or by using a command.. ?? From lists at mangomultimedia.com Fri May 10 10:18:38 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 10 May 2019 09:18:38 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On Tue, May 7, 2019 at 12:14 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/7/2019 9:35 AM, Trevor DeVore via use-livecode wrote: > > This is for anyone who plans on attending my workshop on using FFI in LCB > > at the conference. Is there any code (a macOS Framework, Windows API, > DLL, > > dylib, etc.) that is written in Objective-C or that has a C wrapper that > > you are interested in wrapping with LCB in order to make it available to > > LiveCode? > > > > If so, let me know in a response to this thread and I can take a look at > it > > before the workshop to see if I can include it. > > > > I would love to see a sample LCB wrapper for PocketSphinx! > > https://cmusphinx.github.io/wiki/tutorialpocketsphinx Thanks for the suggestion Paul. This ended up being a really good example to work on. I was hoping to just grab the precompiled DLL for it but the downloadable version has a bug in it and would just exit whenever I tried to use it. With Mark Waddingham's help (a lot of it) I now have a basic version working on both macOS and Windows. Even the macOS version required some interesting steps so that the dylibs (pocketsphinx and sphinxbase) would only load the dylibs in the extension's code folder. Wrapping the code was also an educational experience and has a number of teaching points that I will bring up in the workshop. For those of you who offered up other suggestions - I took a look at the pages you sent but I didn't see any obvious C interfaces and they also look like much more involved projects. FFI will not work with C++ right now. -- Trevor DeVore ScreenSteps www.screensteps.com From brian at milby7.com Fri May 10 10:18:58 2019 From: brian at milby7.com (Brian Milby) Date: Fri, 10 May 2019 10:18:58 -0400 Subject: Resize Stack Sent Everytime a Stack Opens? In-Reply-To: References: Message-ID: <5d4e99c7-aca4-45b4-9b3f-47e4c6261960@Spark> What fullScreenMode are you in when the stack opens? ?What mode when the rotation happens? Thanks, Brian On May 10, 2019, 10:08 AM -0400, Sannyasin Brahmanathaswami via use-livecode , wrote: > I put a "breakpoint" into > > On resizestack x,y, > Breakpoint > [snip code] > > End resize stack > > At least on Android, this being called every time the stack opens. > > But it doesn't mention that in the dictionary > > OTHO > > If you turn for phone sideways (to "landscape") it is not called. > > Even though this is in the dictionary (which implies that it is called) > > The orientationChanged message is sent before any automatic interface > rotation takes place thus changes to the orientation lock state and > allowed set can be made at this point and still have an effect. If you > wish to perform an action after the interface has been rotated, then > either do so on receipt of resizeStack or by using a milliseconds(command)> command.. > > ?? > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 10 10:25:50 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 May 2019 10:25:50 -0400 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: <2baf9ac6-8f17-2cce-8dee-8e44d8cf499d@researchware.com> On 5/10/2019 10:18 AM, Trevor DeVore via use-livecode wrote: > Thanks for the suggestion Paul. This ended up being a really good example > to work on. Wow! Thank you Trevor! I have slowly (far too slowly) been trying to develop my LCB expertise to wrap Sphinx, but the C side of things (building the DLLs and where to place them was stumping me). I am pretty sure, with the files in the right places and the minimal interface working, I can add functionality to a Pocket Sphinx library widget. -- Paul From lists at mangomultimedia.com Fri May 10 10:26:03 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 10 May 2019 09:26:03 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On Fri, May 10, 2019 at 9:18 AM Trevor DeVore wrote: > > I was hoping to just grab the precompiled DLL for it but the downloadable > version has a bug in it and would just exit whenever I tried to use it. > With Mark Waddingham's help (a lot of it) I now have a basic version > working on both macOS and Windows. Even the macOS version required some > interesting steps so that the dylibs (pocketsphinx and sphinxbase) would > only load the dylibs in the extension's code folder. Wrapping the code was > also an educational experience and has a number of teaching points that I > will bring up in the workshop. > I should also point out that Monte also provided some valuable guidance on variable types to use with the API and working with variadic arguments. Lots of good stuff for the workshop. -- Trevor DeVore ScreenSteps www.screensteps.com From iphonelagi at gmail.com Fri May 10 10:59:48 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Fri, 10 May 2019 15:59:48 +0100 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: Hi, It will be sad, a great loss or even a travesty if the worshops are not recordered somehow. Even if by using a couple of mobile phones for good sound and "so so" video. The simulcast won'rt be anywhere near as useful as it could be without these Workshops. If the slides,text, resources etc ultimately become available that could go someway towards mitigating the situation, and not waste of all that programming wisdom by limiting it's access to the wider community. We still haven't got our 2000 widgets after nearly 4 years, and I will let others decide why this is - I have my own opinions. Any Workshops - whether Monty's, Marks Ali's or yours - should be recorded (I hope people in the audience don't have their phones confiscated for making "bootleg" copies). If LC wants an extra pound of flesh then so be it - but "Say it ain't so". My 2 Pence worth Lagi On Fri, 10 May 2019 at 15:26, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Fri, May 10, 2019 at 9:18 AM Trevor DeVore > wrote: > > > > > I was hoping to just grab the precompiled DLL for it but the downloadable > > version has a bug in it and would just exit whenever I tried to use it. > > With Mark Waddingham's help (a lot of it) I now have a basic version > > working on both macOS and Windows. Even the macOS version required some > > interesting steps so that the dylibs (pocketsphinx and sphinxbase) would > > only load the dylibs in the extension's code folder. Wrapping the code > was > > also an educational experience and has a number of teaching points that I > > will bring up in the workshop. > > > > I should also point out that Monte also provided some valuable guidance on > variable types to use with the API and working with variadic arguments. > Lots of good stuff for the workshop. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.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 curry at pair.com Fri May 10 12:31:42 2019 From: curry at pair.com (Curry Kenworthy) Date: Fri, 10 May 2019 12:31:42 -0400 Subject: Help with Pasting of RTL languages into a field In-Reply-To: <734de098-966c-e64f-b721-e74033d3f3fb@researchware.com> References: <734de098-966c-e64f-b721-e74033d3f3fb@researchware.com> Message-ID: Paul: > When I paste in RTL text (Arabic for example) > it is incorrectly Left aligned. The Dictionary may take a little poetic license with textDirection behavior; text renders inline per the rules, but I think par align is still up to the coder. You could detect the Unicode block when pasting. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From jacque at hyperactivesw.com Fri May 10 16:04:28 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 May 2019 15:04:28 -0500 Subject: TSNet hanging Message-ID: <742fbe3e-5538-14f4-0cf9-2c7d80d856d5@hyperactivesw.com> I have one particular file downloading from a server that hangs TSNet and freezes the IDE. It hangs on mobile too. In both, it requires a force-quit to get out. A similar file from another set loads without issues. The files are saved in UTF8 with Mac carriage returns. They are not compressed. I textDecode them and replace the returns with LF. The file that fails has some weird characters that don't translate correctly using textDecode(,"UTF8"). Firefox has no problem getting the file and displaying it as text, but does show the strange characters. The same file opened in BBEdit doesn't have a problem, the characters are translated as curly quotes. I don't know if these will come through on the list, but here are examples: ???interlude.??? -- beginning and ending curly quotes name??? -- single curly quote Would these hang a download? It's the only difference I can find between the one that works (no quotes at all) and this one. BTW, after textDecoding, LC throws an errors for codepointToNum on the second example ("error in expression"), and says the curly quotes in the first example are either 0 or 1770 (an Arabic glyph.) I'll ask the client to upload a zip file and see if that will download, but I don't think LC will translate the characters correctly anyway. If it helps, the original files were exported from FileMaker. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri May 10 17:13:54 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 May 2019 16:13:54 -0500 Subject: TSNet hanging In-Reply-To: <742fbe3e-5538-14f4-0cf9-2c7d80d856d5@hyperactivesw.com> References: <742fbe3e-5538-14f4-0cf9-2c7d80d856d5@hyperactivesw.com> Message-ID: <7b599699-5c71-8b16-32a9-dc44b8d01630@hyperactivesw.com> On 5/10/19 3:04 PM, J. Landman Gay via use-livecode wrote: > I have one particular file downloading from a server that hangs TSNet > and freezes the IDE. It hangs on mobile too. In both, it requires a > force-quit to get out. A similar file from another set loads without > issues. > > The files are saved in UTF8 with Mac carriage returns. They are not > compressed. I textDecode them and replace the returns with LF. The file > that fails has some weird characters that don't translate correctly > using textDecode(,"UTF8"). Firefox has no problem getting the > file and displaying it as text, but does show the strange characters. > The same file opened in BBEdit doesn't have a problem, the characters > are translated as curly quotes. > > I don't know if these will come through on the list, but here are examples: > > ? ???interlude.???? -- beginning and ending curly quotes > ? name??? -- single curly quote > > Would these hang a download? It's the only difference I can find between > the one that works (no quotes at all) and this one. > > BTW, after textDecoding, LC throws an errors for codepointToNum on the > second example ("error in expression"), and says the curly quotes in the > first example are either 0 or 1770 (an Arabic glyph.) > > I'll ask the client to upload a zip file and see if that will download, > but I don't think LC will translate the characters correctly anyway. If > it helps, the original files were exported from FileMaker. > Update: the error is because there are actually three codepoints. When I decode them individually I get what came through on the list: 226 - 8364 - 339 Latin Small Letter A With Circumflex - Euro Sign - Latin Small Ligature Oe Which still isn't a curly quote. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mimu at dimu.de Sat May 11 09:19:54 2019 From: mimu at dimu.de (Michael Muthmannn) Date: Sat, 11 May 2019 15:19:54 +0200 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: Hi Trevor, In the forums a couple of times there were some questions about MQTT integration into livecode. I found found a native Objective-C iOS library here: https://github.com/novastone-media/MQTT ... -Framework > Am 07.05.2019 um 15:35 schrieb Trevor DeVore via use-livecode : > > This is for anyone who plans on attending my workshop on using FFI in LCB > at the conference. Is there any code (a macOS Framework, Windows API, DLL, > dylib, etc.) that is written in Objective-C or that has a C wrapper that > you are interested in wrapping with LCB in order to make it available to > LiveCode? > > If so, let me know in a response to this thread and I can take a look at it > before the workshop to see if I can include it. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.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 alex at tweedly.net Sat May 11 13:32:42 2019 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 11 May 2019 18:32:42 +0100 Subject: OT: Hotel suggestion or recommendation for San Jose In-Reply-To: References: <2b3392f8-be12-81f5-30bc-c54e008d4b1f@sonic.net> <16a902d8b28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I'll be in the area from Thursday onwards - but busy Friday evening. How about a group dinner Saturday ? Place : TBD, but somewhere near downtown SJ Time : Sat 18th May,? 7:00 ??? or thereabouts. Let me know directly, or let Kaveh know, or the list, or .... -- Alex. P.S. cell: +44 77 66 55 53 85 but I will have a US number once I get there :-) On 07/05/2019 09:38, Kaveh Bazargan via use-livecode wrote: > AirBnB for me too, close to venue. > > I will be there from Friday night, so be good to know of others who are > around over weekend too. :-) > > > On Tue, 7 May 2019 at 03:45, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Me too, AirBnB. It wasn't as cheap as I'd like but it beat out all the >> hotels. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On May 6, 2019 7:35:10 PM Mark Wieder via use-livecode >> wrote: >> >>> On 5/6/19 5:08 PM, Alex Tweedly via use-livecode wrote: >>>> So, I finally figured out a way to be able to come to the Livecode >>>> conference in San Jose. >>> Yay. >>> >>>> Where is everyone else staying ? >>> I picked up an AirBnB slot a few blocks away. >>> >>> -- >>> 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 kaveh at rivervalleytechnologies.com Sat May 11 13:53:05 2019 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Sat, 11 May 2019 18:53:05 +0100 Subject: OT: Hotel suggestion or recommendation for San Jose In-Reply-To: References: <2b3392f8-be12-81f5-30bc-c54e008d4b1f@sonic.net> <16a902d8b28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I'm in. Email: kaveh at rivervalleytechnologies.com Phone: +44 7771 824111 On Sat, 11 May 2019 at 18:33, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > I'll be in the area from Thursday onwards - but busy Friday evening. > > How about a group dinner Saturday ? > > Place : TBD, but somewhere near downtown SJ > > Time : Sat 18th May, 7:00 ? or thereabouts. > > Let me know directly, or let Kaveh know, or the list, or .... > > -- Alex. > > P.S. cell: +44 77 66 55 53 85 but I will have a US number once I get > there :-) > > > On 07/05/2019 09:38, Kaveh Bazargan via use-livecode wrote: > > AirBnB for me too, close to venue. > > > > I will be there from Friday night, so be good to know of others who are > > around over weekend too. :-) > > > > > > On Tue, 7 May 2019 at 03:45, J. Landman Gay via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Me too, AirBnB. It wasn't as cheap as I'd like but it beat out all the > >> hotels. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> On May 6, 2019 7:35:10 PM Mark Wieder via use-livecode > >> wrote: > >> > >>> On 5/6/19 5:08 PM, Alex Tweedly via use-livecode wrote: > >>>> So, I finally figured out a way to be able to come to the Livecode > >>>> conference in San Jose. > >>> Yay. > >>> > >>>> Where is everyone else staying ? > >>> I picked up an AirBnB slot a few blocks away. > >>> > >>> -- > >>> 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 > >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From brahma at hindu.org Sat May 11 19:45:40 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 11 May 2019 23:45:40 +0000 Subject: TSNet hanging In-Reply-To: <7b599699-5c71-8b16-32a9-dc44b8d01630@hyperactivesw.com> References: <742fbe3e-5538-14f4-0cf9-2c7d80d856d5@hyperactivesw.com> <7b599699-5c71-8b16-32a9-dc44b8d01630@hyperactivesw.com> Message-ID: <1BF7E192-CD81-4B20-BAD6-FBA270CEF441@hindu.org> I have got a 'associated' error with the browser in Android. If a web page in not available it will provide an ugly error message on android (I get the text tomorrow) and the UI is frozen. I don't know. They could be related... BR ?On 5/10/19, 11:14 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: On 5/10/19 3:04 PM, J. Landman Gay via use-livecode wrote: > I have one particular file downloading from a server that hangs TSNet > and freezes the IDE. It hangs on mobile too. In both, it requires a > force-quit to get out. A similar file from another set loads without > issues. > > The files are saved in UTF8 with Mac carriage returns. They are not > compressed. I textDecode them and replace the returns with LF. The file > that fails has some weird characters that don't translate correctly > using textDecode(,"UTF8"). Firefox has no problem getting the > file and displaying it as text, but does show the strange characters. > The same file opened in BBEdit doesn't have a problem, the characters > are translated as curly quotes. > > I don't know if these will come through on the list, but here are examples: > > ???interlude.??? -- beginning and ending curly quotes > name??? -- single curly quote > > Would these hang a download? It's the only difference I can find between > the one that works (no quotes at all) and this one. > > BTW, after textDecoding, LC throws an errors for codepointToNum on the > second example ("error in expression"), and says the curly quotes in the > first example are either 0 or 1770 (an Arabic glyph.) > > I'll ask the client to upload a zip file and see if that will download, > but I don't think LC will translate the characters correctly anyway. If > it helps, the original files were exported from FileMaker. > Update: the error is because there are actually three codepoints. When I decode them individually I get what came through on the list: 226 - 8364 - 339 Latin Small Letter A With Circumflex - Euro Sign - Latin Small Ligature Oe Which still isn't a curly quote. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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 Sat May 11 22:56:14 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 May 2019 21:56:14 -0500 Subject: TSNet hanging In-Reply-To: <1BF7E192-CD81-4B20-BAD6-FBA270CEF441@hindu.org> References: <742fbe3e-5538-14f4-0cf9-2c7d80d856d5@hyperactivesw.com> <7b599699-5c71-8b16-32a9-dc44b8d01630@hyperactivesw.com> <1BF7E192-CD81-4B20-BAD6-FBA270CEF441@hindu.org> Message-ID: <16aa9f828b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It might be related somehow, but my troublesome file is available. The same url in a browser (Firefox) loads it okay. But the hang and freeze sound similar. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 11, 2019 6:47:40 PM Sannyasin Brahmanathaswami via use-livecode wrote: > I have got a 'associated' error with the browser in Android. > > If a web page in not available it will provide an ugly error message on android > (I get the text tomorrow) and the UI is frozen. I don't know. They could be > related... > > BR > > ?On 5/10/19, 11:14 AM, "use-livecode on behalf of J. Landman Gay via > use-livecode" use-livecode at lists.runrev.com> wrote: > > On 5/10/19 3:04 PM, J. Landman Gay via use-livecode wrote: > > I have one particular file downloading from a server that hangs TSNet > > and freezes the IDE. It hangs on mobile too. In both, it requires a > > force-quit to get out. A similar file from another set loads without > > issues. > > > > The files are saved in UTF8 with Mac carriage returns. They are not > > compressed. I textDecode them and replace the returns with LF. The file > > that fails has some weird characters that don't translate correctly > > using textDecode(,"UTF8"). Firefox has no problem getting the > > file and displaying it as text, but does show the strange characters. > > The same file opened in BBEdit doesn't have a problem, the characters > > are translated as curly quotes. > > > > I don't know if these will come through on the list, but here are examples: > > > > ???interlude.?? -- beginning and ending curly quotes > > name??? -- single curly quote > > > > Would these hang a download? It's the only difference I can find between > > the one that works (no quotes at all) and this one. > > > > BTW, after textDecoding, LC throws an errors for codepointToNum on the > > second example ("error in expression"), and says the curly quotes in the > > first example are either 0 or 1770 (an Arabic glyph.) > > > > I'll ask the client to upload a zip file and see if that will download, > > but I don't think LC will translate the characters correctly anyway. If > > it helps, the original files were exported from FileMaker. > > > > Update: the error is because there are actually three codepoints. When I > decode them individually I get what came through on the list: > > 226 - 8364 - 339 > Latin Small Letter A With Circumflex - Euro Sign - Latin Small Ligature Oe > > Which still isn't a curly quote. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 rdimola at evergreeninfo.net Sun May 12 00:19:46 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 12 May 2019 00:19:46 -0400 Subject: TSNet hanging In-Reply-To: <742fbe3e-5538-14f4-0cf9-2c7d80d856d5@hyperactivesw.com> References: <742fbe3e-5538-14f4-0cf9-2c7d80d856d5@hyperactivesw.com> Message-ID: <001301d50879$f21e3a70$d65aaf50$@net> Now that you come to mention it... I had a PDF that did that once like 2 years ago. By the time I started looking into it the PDF was updated and I haven't seen that hang/crash since. I'm using "binfile". I wonder what combination of characters would give a binary transfer heart failure? 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 J. Landman Gay via use-livecode Sent: Friday, May 10, 2019 4:04 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: TSNet hanging I have one particular file downloading from a server that hangs TSNet and freezes the IDE. It hangs on mobile too. In both, it requires a force-quit to get out. A similar file from another set loads without issues. The files are saved in UTF8 with Mac carriage returns. They are not compressed. I textDecode them and replace the returns with LF. The file that fails has some weird characters that don't translate correctly using textDecode(,"UTF8"). Firefox has no problem getting the file and displaying it as text, but does show the strange characters. The same file opened in BBEdit doesn't have a problem, the characters are translated as curly quotes. I don't know if these will come through on the list, but here are examples: ???interlude.??? -- beginning and ending curly quotes name??? -- single curly quote Would these hang a download? It's the only difference I can find between the one that works (no quotes at all) and this one. BTW, after textDecoding, LC throws an errors for codepointToNum on the second example ("error in expression"), and says the curly quotes in the first example are either 0 or 1770 (an Arabic glyph.) I'll ask the client to upload a zip file and see if that will download, but I don't think LC will translate the characters correctly anyway. If it helps, the original files were exported from FileMaker. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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 May 12 15:42:12 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 May 2019 14:42:12 -0500 Subject: JDK download Message-ID: <0f78540d-9d76-fde3-d229-5029cd73b554@hyperactivesw.com> Does anyone have link to the 1.8 (JDK 8) that doesn't require opening an account with Oracle? They've changed their download rules. I can get the open source JDK 12 but I don't know if that's compatible with LC 9. There are earlier versions but I don't see any for OS X. I have a working JDK on my main Mac but I don't know if there's a way to move that to another machine. I no longer have the installer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun May 12 17:46:37 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 13 May 2019 00:46:37 +0300 Subject: JDK download In-Reply-To: <0f78540d-9d76-fde3-d229-5029cd73b554@hyperactivesw.com> References: <0f78540d-9d76-fde3-d229-5029cd73b554@hyperactivesw.com> Message-ID: <4daa034a-129e-4ede-78ae-c48fa66c25e7@gmail.com> Possibly start here: https://www.digitalriser.com/jdk-offline-installer-direct-download-java.html ALL you have to do is click the accept thingy here: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html then go back and download the offline installer: Just done that itself. Love, Richmond. On 12.05.19 22:42, J. Landman Gay via use-livecode wrote: > Does anyone have link to the 1.8 (JDK 8) that doesn't require opening > an account with Oracle? They've changed their download rules. I can > get the open source JDK 12 but I don't know if that's compatible with > LC 9. There are earlier versions but I don't see any for OS X. > > I have a working JDK on my main Mac but I don't know if there's a way > to move that to another machine. I no longer have the installer. > From jacque at hyperactivesw.com Sun May 12 18:08:03 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 May 2019 17:08:03 -0500 Subject: JDK download In-Reply-To: <4daa034a-129e-4ede-78ae-c48fa66c25e7@gmail.com> References: <0f78540d-9d76-fde3-d229-5029cd73b554@hyperactivesw.com> <4daa034a-129e-4ede-78ae-c48fa66c25e7@gmail.com> Message-ID: <32fac740-de31-d4d2-79b8-1a77841cadfb@hyperactivesw.com> Thanks Richmond, I'll keep that in mind. In the mean time, someone came to my aid in private mail and I think I'm set. Boy I love this list. On 5/12/19 4:46 PM, Richmond via use-livecode wrote: > Possibly start here: > > https://www.digitalriser.com/jdk-offline-installer-direct-download-java.html > > > ALL you have to do is click the accept thingy here: > > https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html > > > then go back and download the offline installer: > > Just done that itself. > > Love, Richmond. > > On 12.05.19 22:42, J. Landman Gay via use-livecode wrote: >> Does anyone have link to the 1.8 (JDK 8) that doesn't require opening >> an account with Oracle? They've changed their download rules. I can >> get the open source JDK 12 but I don't know if that's compatible with >> LC 9. There are earlier versions but I don't see any for OS X. >> >> I have a working JDK on my main Mac but I don't know if there's a way >> to move that to another machine. I no longer have the installer. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 panos.merakos at livecode.com Mon May 13 08:28:38 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 13 May 2019 15:28:38 +0300 Subject: [ANN] Release 9.0.4 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.4 STABLE. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.0.4 contains more than 35 bugfixes and improvements compared to the previous (9.0.3) STABLE version. Known issues ================ - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From panos.merakos at livecode.com Mon May 13 10:18:31 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 13 May 2019 17:18:31 +0300 Subject: [ANN] This Week in LiveCode 178 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 #178 here: http://bit.ly/2LCYIMv 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 you 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 andrew at midwestcoastmedia.com Mon May 13 10:39:01 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Mon, 13 May 2019 14:39:01 +0000 Subject: Android needs 64 bit builds In-Reply-To: Message-ID: <20190513143901.Horde.8lGh1R-UG0etZOiO51NfPPF@ua850258.serversignin.com> Hopefully it's a type for 9.0.5DP1 since 9.0.4 was released today. I can't wait to use some new faster Android emulators! --Andrew Bell > Subject: Re: Android needs 64 bit builds > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > a minor thing probably i noticed. The 9.1.0DP1 jumped to 9.5.0DP1. Is > this a typo? or do have to wait longer? Just asking. From brahma at hindu.org Mon May 13 10:59:33 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 13 May 2019 14:59:33 +0000 Subject: Resize Stack Sent Everytime a Stack Opens? In-Reply-To: <5d4e99c7-aca4-45b4-9b3f-47e4c6261960@Spark> References: <5d4e99c7-aca4-45b4-9b3f-47e4c6261960@Spark> Message-ID: Brain Wrote What fullScreenMode are you in when the stack opens? What mode when the rotation happens? =============== BR I am trying to do dynamic geometry. Trying to deal with iPhone X (height) as well as 9 X 18 Android (my Moto6) --"fullScreenMode" interferes with your own handlers/function. Most of my screens have only a footer (task bar) and 1-5 other controls. Laying this out should not be too hard. (so I thought) Having little experience (most I do you "fullScreenMode") I was starting close to ground zero. See: See: http://wiki.hindu.org/uploads/rotation-test_r6.livecode If you can improve on this, please do! Send me a copy My initial test are keeping it simple. I have a browser and a footer that I want to keep occupy the whole screen on any device/screenrect (the "notch" is a nuisance, be leaving that for later nuances....) and changes easily from portrait to landscape layout and back again (with crashing Andriod...) Using the least amount of code as possible. The last time I worked on this intensively was circa 9.0.1 stable. I run this stack in 9.0.1 stable, I get big differences. In 9.0.4 (rc3) I have determined so far that.. NOTE: I am not trying Ralph code which he sent to me a long time ago and which in may need to trying again. But it did not work for me at the time. I am also testing to make sure that HQ get really gets it right. (sending bug reports)( What I learned the past few days -- disclaimer some of these may be false assumptions, or "expected" results, or are real bugs 1) You cannot get the coordinates of anything on start up or opencard. Andre discovered that we can you use a "loader" card, (card 1) that "goes next" in 80 milliseconds (arbitrary) to the next card, *then* the engine has coordinates (card size, screenrect) 2) The resizestack in not firing automatically in many cases. There is difference between Android and iOS. If it does, we get nothing in. x,y. You can use handler like this send "resizeStack" && the width of this stack & comma & \ the height of this stack to me in 0 milliseconds. But this is no different the one that does had it own name. send "update" && the width of this stack & comma & \ the height of this stack to me in 0 milliseconds 3) using the send 'command' [params] in 0 millisecond is now causing problems. 4) if you get the card width and height after orientationChanged. Just put then in you handler command updateUI theOrientation lock screen # get coords now after changes to screen put the width of this card into x put the height of this card into y put x into sCdWidth put y into sCdHeight 5) But, major caveat, returning for "face up" or to "unknown" has the consequence of swapping the x,y values. We get Portrait Card rect: 0,0,648,360 # on my Moto6 Android or 0,0,812,375. # iOS XR Landscape 0,0,360,648 0,0,375,812 After several days wrestling with these caveats I woke up one morning with "algorithm" case (theOrientation contains "face up") case (theOrientation contains "unknown") exit to top break case (theOrientation contains "portrait" AND x >y) swapWidthHeight x, y case (theOrientation contains "portrait") [snip] case (theOrientation contains "landscape" AND y>x) swapWidthHeight x, y case (theOrientation contains "landscape") [snip] command swapWidthHeight x, y put y into sCdWidth put x into sCdHeight end swapWidthHeight now it works 6) But... an android a case where card rect 0,0,360,649 Screen rect 0,0,360,672 # 24 point too long! And, I turn the phone form landscape to portrait, my footer is 24 pixels below screen. I have to "flick" the phone forward and back again, my update handler runs again and the foot appears again in the right place. Does anyone know about the 24 pixel difference between the cardrect and the screenrect on Android? Is there a way to "refresh" after going to landscape to portrait? BR PS The dictionary looks transparent but it is baffling once you read it. " The orientationChanged message is sent before any automatic interface rotation takes place thus changes to the orientation lock state and allowed set can be made at this point and still have an effect." Need editing to make it clear to "newbies" using of resizeStack # does fire automatically and command. # doing this create anomalous results. "If you wish to perform an action after the interface has been rotated, then either do so on receipt of resizeStack, or by using a command." From bobsneidar at iotecdigital.com Mon May 13 11:07:26 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 May 2019 15:07:26 +0000 Subject: array and revExecuteSQL In-Reply-To: References: Message-ID: No because the array form uses a substitution method for SQL statements like "custom = ':1'" the :1 being replaced by the contents of tArray [1] when the SQL statement is assembled. I don't think you can use ":lattitude" in the select statement, but that would be an SQL limitation not an LC one. Bob S > On May 8, 2019, at 02:47 , Ludovic THEBAULT via use-livecode wrote: > > hello > > when you use array with revExecuteSQL like : > > revExecuteSQL, dbID, tSQL, "tarray" > > can we use array wth keys as text and not number : > tarray["latitude"] vs tarray[1] > > i?ve some bug with first syntax. > > Thanks for your light ! From jjs at krutt.org Mon May 13 15:13:03 2019 From: jjs at krutt.org (JJS) Date: Mon, 13 May 2019 21:13:03 +0200 Subject: Android needs 64 bit builds In-Reply-To: <20190513143901.Horde.8lGh1R-UG0etZOiO51NfPPF@ua850258.serversignin.com> References: <20190513143901.Horde.8lGh1R-UG0etZOiO51NfPPF@ua850258.serversignin.com> Message-ID: <5f8ffc60-b28b-dd63-e856-c54e9fe703d8@krutt.org> there is also a 9.0.5rc1, so i think they changed it from 9.1.0dp1 to 9.5.0dp1, but unclear why Op 13-5-2019 om 16:39 schreef Andrew Bell via use-livecode: > Hopefully it's a type for 9.0.5DP1 since 9.0.4 was released today. I > can't wait to use some new faster Android emulators! > > --Andrew Bell > >> Subject: Re: Android needs 64 bit builds >> Message-ID: >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> a minor thing probably i noticed. The 9.1.0DP1 jumped to 9.5.0DP1. Is >> this a typo? or do have to wait longer? Just asking. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 13 15:20:42 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 May 2019 12:20:42 -0700 Subject: Resize Stack Sent Everytime a Stack Opens? Message-ID: <50b37254-3327-a60d-04b9-28ebb9711936@fourthworld.com> Sannyasin Brahmanathaswami wrote: > 1) You cannot get the coordinates of anything on start up or opencard. "anything" is vast. On mobile, resizeStack should be sent to your stack before it is first rendered. Its arguments are the width and height of the stack. Given a card's origin always being 0,0, this should always work: on resizeStack x,y answer "The rectangle in which you can place controls is: " \ 0,0,x,y end resizeStack If it doesn't that would need an engine fix. > 2) The resizestack in not firing automatically in many cases. There is > difference between Android and iOS. If it does, we get nothing in. > x,y. If resizeStack is not being sent before the card is rendered, and/or the expected values are not being sent, that sounds like a bug. > 3) using the send 'command' [params] in 0 millisecond is now causing > problems. Such as...? (Though you should not need to use timers for something as fundamental as layout. They are useful elsewhere, though, and if broken would need to be fixed. If the issue you've had with them is limited to layout, I suspect the cause is the message triggering the timer rather than the timer itself.) > 4) if you get the card width and height after orientationChanged. Just > put then in you handler An orientationChanged message should be accompanied by a resizeStack message. This lets you handle common layout tasks from a common resizeStack handler, while using orientationChanged for the subset of things one might want to do specifically in response to the orientation being changed. Allowing resizeStack to be the common trigger for layout adjustment keeps things simple, learnable, and predictable. If that were not the case, then doing ordinary layout tasks would become more complicated than necessary, reducing the value of using LC. > 5) But, major caveat, returning for "face up" or to "unknown" has the > consequence of swapping the x,y values. If that's by design it would seem a poor choice, given how consistently the language provides x before y. If that's not a design decision it would be a bug. > 6) But... an android a case where > > card rect > 0,0,360,649 > > Screen rect > 0,0,360,672 > # 24 point too long! > > And, I turn the phone form landscape to portrait, my footer is 24 > pixels below screen. Using card width and card height is always better for adjusting interior controls than using screenRect, on all platforms, mobile and desktop. -- 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 jacque at hyperactivesw.com Mon May 13 15:21:16 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 May 2019 14:21:16 -0500 Subject: Resize Stack Sent Everytime a Stack Opens? In-Reply-To: References: <5d4e99c7-aca4-45b4-9b3f-47e4c6261960@Spark> Message-ID: On 5/13/19 9:59 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > 2) The resizestack in not firing automatically in many cases. It normally doesn't fire if you're using fullscreenMode. But if you use mobileSetFullScreenRectForOrientations, then it does send a resizeStack message. From the dictionary: "Normally when a fullscreenMode is set the stack is not resized and does [not] receive the resizeStack message. The rect is set after the orientationChanged message is sent. If the rect for the new orientation is different to the current stack rect the resizeStack message will be sent once the new rect is applied." Note the error in the docs omitting the word "not". Confusing, yes. > Does anyone know about the 24 pixel difference between the cardrect and the screenrect on Android? > Is there a way to "refresh" after going to landscape to portrait? This sounds like the height of the status bar, and the stack is being drawn underneath it. I haven't tried it but you might be able to fix it by setting the stack height to the height of the screenrect. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Mon May 13 15:30:45 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 13 May 2019 12:30:45 -0700 Subject: Android needs 64 bit builds In-Reply-To: <5f8ffc60-b28b-dd63-e856-c54e9fe703d8@krutt.org> References: <20190513143901.Horde.8lGh1R-UG0etZOiO51NfPPF@ua850258.serversignin.com> <5f8ffc60-b28b-dd63-e856-c54e9fe703d8@krutt.org> Message-ID: On 5/13/19 12:13 PM, JJS via use-livecode wrote: > there is also a 9.0.5rc1, so i think they changed it from 9.1.0dp1 to > 9.5.0dp1, but unclear why My guess is that it was originally a typo that then propagated to several commits, and by that point it was too much trouble to fix. FWIW the last time I was able to build from source (even after the 9.5 renaming thing) it still came out externally as 9.1. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Mon May 13 15:05:22 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 13 May 2019 15:05:22 -0400 Subject: Resize Stack Sent Everytime a Stack Opens? In-Reply-To: References: <5d4e99c7-aca4-45b4-9b3f-47e4c6261960@Spark> Message-ID: <67f4c94e-fefb-45ce-a6a8-a1a3f7fb2172@Spark> It will take a bit to respond to the rest, but I am not surprised to see a resizeStack on open if the app was built at a size different than the screen size of the device. On an Amazon Fire the screen/stack delta is the header bar at the top of the screen. ?What is strange to me is that the buttons at the bottom of the screen are not included in the screen size so the portrait and landscape dimensions are not reversed as on iOS. ?I would imagine if the device had hardware buttons then it would match what I see on iOS. ?One difference with Android (at least the version on the Fire) is that you can?t draw behind the header like on iOS. Thanks, Brian On May 13, 2019, 11:00 AM -0400, Sannyasin Brahmanathaswami via use-livecode , wrote: > Brain Wrote > > What fullScreenMode are you in when the stack opens? What mode when the rotation happens? > =============== > BR > I am trying to do dynamic geometry. Trying to deal with iPhone X (height) as well as 9 X 18 Android (my Moto6) > --"fullScreenMode" interferes with your own handlers/function. Most of my screens have only a footer (task bar) and 1-5 other controls. Laying this out should not be too hard. (so I thought) > > Having little experience (most I do you "fullScreenMode") I was starting close to ground zero. See: > > See: http://wiki.hindu.org/uploads/rotation-test_r6.livecode > > If you can improve on this, please do! Send me a copy > > My initial test are keeping it simple. I have a browser and a footer that I want to keep occupy the whole screen on any device/screenrect (the "notch" is a nuisance, be leaving that for later nuances....) and changes easily from portrait to landscape layout and back again (with crashing Andriod...) Using the least amount of code as possible. > > The last time I worked on this intensively was circa 9.0.1 stable. I run this stack in 9.0.1 stable, I get big differences. In 9.0.4 (rc3) I have determined so far that.. > > NOTE: I am not trying Ralph code which he sent to me a long time ago and which in may need to trying again. But it did not work for me at the time. I am also testing to make sure that HQ get really gets it right. (sending bug reports)( > > What I learned the past few days -- disclaimer some of these may be false assumptions, or "expected" results, or are real bugs > > 1) You cannot get the coordinates of anything on start up or opencard. Andre discovered that we can you use a "loader" card, (card 1) that "goes next" in 80 milliseconds (arbitrary) to the next card, *then* the engine has coordinates (card size, screenrect) > > 2) The resizestack in not firing automatically in many cases. There is difference between Android and iOS. If it does, we get nothing in. x,y. You can use handler like this send "resizeStack" && the width of this stack & comma & \ > the height of this stack to me in 0 milliseconds. > > But this is no different the one that does had it own name. > > send "update" && the width of this stack & comma & \ > the height of this stack to me in 0 milliseconds > > 3) using the send 'command' [params] in 0 millisecond is now causing problems. > > 4) if you get the card width and height after orientationChanged. Just put then in you handler > > command updateUI theOrientation > lock screen > # get coords now after changes to screen > put the width of this card into x > put the height of this card into y > put x into sCdWidth > put y into sCdHeight > > 5) But, major caveat, returning for "face up" or to "unknown" has the consequence of swapping the x,y values. > > We get > > Portrait > Card rect: 0,0,648,360 > # on my Moto6 Android or > 0,0,812,375. > # iOS XR > > Landscape > 0,0,360,648 > 0,0,375,812 > > After several days wrestling with these caveats I woke up one morning with "algorithm" > > case (theOrientation contains "face up") > case (theOrientation contains "unknown") > exit to top > break > case (theOrientation contains "portrait" AND x >y) > swapWidthHeight x, y > case (theOrientation contains "portrait") > [snip] > case (theOrientation contains "landscape" AND y>x) > swapWidthHeight x, y > case (theOrientation contains "landscape") > [snip] > > command swapWidthHeight x, y > put y into sCdWidth > put x into sCdHeight > end swapWidthHeight > > now it works > 6) But... an android a case where > > card rect > 0,0,360,649 > > Screen rect > 0,0,360,672 > # 24 point too long! > > And, I turn the phone form landscape to portrait, my footer is 24 pixels below screen. I have to "flick" the phone forward and back again, my update handler runs again and the foot appears again in the right place. > > Does anyone know about the 24 pixel difference between the cardrect and the screenrect on Android? > Is there a way to "refresh" after going to landscape to portrait? > > BR > > PS The dictionary looks transparent but it is baffling once you read it. > > " The orientationChanged message is sent before any automatic interface > rotation takes place thus changes to the orientation lock state and > allowed set can be made at this point and still have an effect." > > Need editing to make it clear to "newbies" > > using of resizeStack # does fire automatically > and > milliseconds(command)> command. > # doing this create anomalous results. > > "If you wish to perform an action after the interface has been rotated, then > either do so on receipt of resizeStack, or by using a milliseconds(command)> command." > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 13 15:46:15 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 13 May 2019 15:46:15 -0400 Subject: Android needs 64 bit builds In-Reply-To: References: <20190513143901.Horde.8lGh1R-UG0etZOiO51NfPPF@ua850258.serversignin.com> <5f8ffc60-b28b-dd63-e856-c54e9fe703d8@krutt.org> Message-ID: <6bf92902-8305-4150-889b-b2d38383ef91@Spark> I was just able to build for the first time in Ubuntu 18.04 and it comes up 9.5 (dp 1). I never went far enough to figure out how to overcome the PIC issue myself and waited for it to make it to develop. Thanks, Brian On May 13, 2019, 3:31 PM -0400, Mark Wieder via use-livecode , wrote: > On 5/13/19 12:13 PM, JJS via use-livecode wrote: > > there is also a 9.0.5rc1, so i think they changed it from 9.1.0dp1 to > > 9.5.0dp1, but unclear why > > My guess is that it was originally a typo that then propagated to > several commits, and by that point it was too much trouble to fix. FWIW > the last time I was able to build from source (even after the 9.5 > renaming thing) it still came out externally as 9.1. > > -- > 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 paul at researchware.com Mon May 13 16:45:30 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 13 May 2019 16:45:30 -0400 Subject: Help with Pasting of RTL languages into a field In-Reply-To: <734de098-966c-e64f-b721-e74033d3f3fb@researchware.com> References: <734de098-966c-e64f-b721-e74033d3f3fb@researchware.com> Message-ID: On 5/9/2019 12:15 PM, Paul Dupuis via use-livecode wrote: > I have a? test stack with a single scrolling field under LC904rc2. The > textDirection for the field is the default of "auto" meaning it should > align LTR? languages (like English) to the Left and RTL languages > (like Arabic or Hebrew) to the Right. > > English and other LTR test is correctly Left aligned. When I paste in > RTL text (Arabic for example) it is incorrectly Left aligned. I am not > sure if this is a 'paste' issue (tried the 'paste' command in a button > and just using Ctrl-V in the IDE) or a field issue? Or even how to tell? > > Does anyone else have experience with pasting RTL text from other > applications (Word, Web pages, Google Translate, etc.) into LiveCode > to have it align properly? > Related to this, a have a vague memory of a description of the interaction of "textDirection" and "textAlign". I can find nothing in the Dictionary or Release Notes. Does anyone recall such a thing? From jjs at krutt.org Mon May 13 17:04:04 2019 From: jjs at krutt.org (JJS) Date: Mon, 13 May 2019 23:04:04 +0200 Subject: Android needs 64 bit builds In-Reply-To: <6bf92902-8305-4150-889b-b2d38383ef91@Spark> References: <20190513143901.Horde.8lGh1R-UG0etZOiO51NfPPF@ua850258.serversignin.com> <5f8ffc60-b28b-dd63-e856-c54e9fe703d8@krutt.org> <6bf92902-8305-4150-889b-b2d38383ef91@Spark> Message-ID: <10f587d3-9138-f648-e8bf-9ada3b14c995@krutt.org> I've looked thru the descriptions on how to build it your self on github, but never tried it. Maybe it gives some insights, on the other hand for me it may give to much distraction instead of developing the apps i'm working on Op 13-5-2019 om 21:46 schreef Brian Milby via use-livecode: > I was just able to build for the first time in Ubuntu 18.04 and it comes up 9.5 (dp 1). > I never went far enough to figure out how to overcome the PIC issue myself and waited for it to make it to develop. > > Thanks, > Brian > On May 13, 2019, 3:31 PM -0400, Mark Wieder via use-livecode , wrote: >> On 5/13/19 12:13 PM, JJS via use-livecode wrote: >>> there is also a 9.0.5rc1, so i think they changed it from 9.1.0dp1 to >>> 9.5.0dp1, but unclear why >> My guess is that it was originally a typo that then propagated to >> several commits, and by that point it was too much trouble to fix. FWIW >> the last time I was able to build from source (even after the 9.5 >> renaming thing) it still came out externally as 9.1. >> >> -- >> 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 richmondmathewson at gmail.com Mon May 13 17:10:18 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 May 2019 00:10:18 +0300 Subject: Help with Pasting of RTL languages into a field In-Reply-To: References: <734de098-966c-e64f-b721-e74033d3f3fb@researchware.com> Message-ID: <7f294298-1bf7-2211-ed4c-de62a0e472e0@gmail.com> I've just started playing "silly monkeys" over here: http://forums.livecode.com/viewtopic.php?f=8&t=32603 Richmond. On 13.05.19 23:45, Paul Dupuis via use-livecode wrote: > On 5/9/2019 12:15 PM, Paul Dupuis via use-livecode wrote: >> I have a? test stack with a single scrolling field under LC904rc2. >> The textDirection for the field is the default of "auto" meaning it >> should align LTR? languages (like English) to the Left and RTL >> languages (like Arabic or Hebrew) to the Right. >> >> English and other LTR test is correctly Left aligned. When I paste in >> RTL text (Arabic for example) it is incorrectly Left aligned. I am >> not sure if this is a 'paste' issue (tried the 'paste' command in a >> button and just using Ctrl-V in the IDE) or a field issue? Or even >> how to tell? >> >> Does anyone else have experience with pasting RTL text from other >> applications (Word, Web pages, Google Translate, etc.) into LiveCode >> to have it align properly? >> > > Related to this, a have a vague memory of a description of the > interaction of "textDirection" and "textAlign". I can find nothing in > the Dictionary or Release Notes. Does anyone recall such a thing? > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon May 13 17:29:47 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 13 May 2019 21:29:47 +0000 Subject: Resize Stack Sent Everytime a Stack Opens? In-Reply-To: References: <5d4e99c7-aca4-45b4-9b3f-47e4c6261960@Spark> Message-ID: <17802848-8AB2-42DA-948D-669C0A032286@hindu.org> Jacque: BR: I am not using fullscreenMode, (in just one module) more and more I'm seeing it woefully inadequate from "professional design" point of view. In any case, just for now we want the browser and in YouTube stack on fill the screen. No letter/pillarboxing etc. and the nav bar properly laid out. Brian: "I am not surprised to see a resizeStack on open if the app was built at a size different than the screen size of the device." BR: It doesn't. I build on 414,736. Both my phone are bigger. I could be doing something incredibly stupid. You have to call it. It doesn?t turn x,y of anything. So then it may as well be 'upDateUi' (my handler) and you have to fetch x,y put the width of this card into x put the height of this card into y Status bar: Going to Landscape to Portrait, the first time... button bar is below screen, but I can "forever flick" my Moto6, this triggers an orientationChanged "portrait" and the controls are properly laid out. So, some part of the engine "knows" card height as expected ? J. Landman Gay This sounds like the height of the status bar, and the stack is being drawn underneath it. I haven't tried it but you might be able to fix it by setting the stack height to the height of the screenrect. From ahsoftware at sonic.net Mon May 13 18:13:18 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 13 May 2019 15:13:18 -0700 Subject: Android needs 64 bit builds In-Reply-To: <6bf92902-8305-4150-889b-b2d38383ef91@Spark> References: <20190513143901.Horde.8lGh1R-UG0etZOiO51NfPPF@ua850258.serversignin.com> <5f8ffc60-b28b-dd63-e856-c54e9fe703d8@krutt.org> <6bf92902-8305-4150-889b-b2d38383ef91@Spark> Message-ID: <085ba1f7-a590-4727-c27e-cafc8e9965ab@sonic.net> On 5/13/19 12:46 PM, Brian Milby via use-livecode wrote: > I was just able to build for the first time in Ubuntu 18.04 and it comes up 9.5 (dp 1). > I never went far enough to figure out how to overcome the PIC issue myself and waited for it to make it to develop. It's still in progress. Are you building against the develop branch? What version of gcc are you using? https://github.com/livecode/livecode/pull/6953/ broke the current build process. I have to patch a couple of build files to get it to compile. https://github.com/livecode/livecode/pull/6897 Ian has a new PR on the way. https://github.com/livecode/livecode/pull/7032 -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Mon May 13 18:18:29 2019 From: curry at pair.com (Curry Kenworthy) Date: Mon, 13 May 2019 18:18:29 -0400 Subject: Help with Pasting of RTL languages into a field In-Reply-To: References: Message-ID: <1881aaea-bb3e-4a63-f186-7d010b6034e1@pair.com> Also it may help to relate this back to our own language: what alignment should be used consistently for English text? Left? Are you sure? :) In fact it's also common enough to align center (title), right (date), etc. Left is only the default. Each par (and even tab stops) must be able to inherit and override. It defaults for our convenience but is not chiseled in stone. Alignment is a paragraph property. Arabic and Hebrew pages can be formatted too. RTL and LTR text can even exist on the same line of text. Thus alignment is ultimately up to the user (and to some extent the app designer) just as it is with LTR text. In Richmond's experiment I assume that the Google RTL text was either implicitly right aligned or inside an aligned UI container, while the RTF source was explicitly aligned at the par level. If so, both pastes make good sense! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From matthias_livecode_150811 at m-r-d.de Mon May 13 18:57:22 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 14 May 2019 00:57:22 +0200 Subject: Mobile - Open file dialog? Message-ID: Hi, i am currently porting a desktop app to mobile. In this app the user will be able to save and open PDF files in the documents folder. For opening a file In desktop "answer file" is the way to do it. But how would you do this in Android/iOS? Would you use mobilePick for this or is there a more elegant way or "better looking" way for this? What do you think? Regards, Matthias From brian at milby7.com Mon May 13 20:25:44 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 13 May 2019 20:25:44 -0400 Subject: Android needs 64 bit builds In-Reply-To: <085ba1f7-a590-4727-c27e-cafc8e9965ab@sonic.net> References: <20190513143901.Horde.8lGh1R-UG0etZOiO51NfPPF@ua850258.serversignin.com> <5f8ffc60-b28b-dd63-e856-c54e9fe703d8@krutt.org> <6bf92902-8305-4150-889b-b2d38383ef91@Spark> <085ba1f7-a590-4727-c27e-cafc8e9965ab@sonic.net> Message-ID: Yes, building against develop. Using gcc 7.4.0 This was a laptop I setup about 8 months ago with Ubuntu 18.04. ?I loaded all of the build stuff then but ran into the PIC issue and stopped. ?I had VMs with 16.04 that I could still use to build on Linux. After all of the recent activity I decided to give a build a try and it made it through the link process this time. I just pulled everything again and now it fails. ?My guess is that I got a ?good? copy of prebuilts on my previous build somehow. ?I did notice that it downloaded several prebuilts this time. Thanks, Brian On May 13, 2019, 6:13 PM -0400, Mark Wieder via use-livecode , wrote: > On 5/13/19 12:46 PM, Brian Milby via use-livecode wrote: > > I was just able to build for the first time in Ubuntu 18.04 and it comes up 9.5 (dp 1). > > I never went far enough to figure out how to overcome the PIC issue myself and waited for it to make it to develop. > > It's still in progress. > > Are you building against the develop branch? > What version of gcc are you using? > https://github.com/livecode/livecode/pull/6953/ broke the current build > process. I have to patch a couple of build files to get it to compile. > https://github.com/livecode/livecode/pull/6897 > > Ian has a new PR on the way. > https://github.com/livecode/livecode/pull/7032 > > -- > 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 monte at appisle.net Mon May 13 21:27:24 2019 From: monte at appisle.net (Monte Goulding) Date: Tue, 14 May 2019 11:27:24 +1000 Subject: Android needs 64 bit builds In-Reply-To: References: <20190513143901.Horde.8lGh1R-UG0etZOiO51NfPPF@ua850258.serversignin.com> <5f8ffc60-b28b-dd63-e856-c54e9fe703d8@krutt.org> <6bf92902-8305-4150-889b-b2d38383ef91@Spark> <085ba1f7-a590-4727-c27e-cafc8e9965ab@sonic.net> Message-ID: <86726E0C-3600-4178-B894-364CF693C8CF@appisle.net> The PIC issue will not be resolved for dp 1 as it doesn?t impact our toolchains on travis or vulcan and as Mark pointed out there?s a workaround. > On 14 May 2019, at 10:25 am, Brian Milby via use-livecode wrote: > > Yes, building against develop. > Using gcc 7.4.0 > > This was a laptop I setup about 8 months ago with Ubuntu 18.04. I loaded all of the build stuff then but ran into the PIC issue and stopped. I had VMs with 16.04 that I could still use to build on Linux. > > After all of the recent activity I decided to give a build a try and it made it through the link process this time. > > I just pulled everything again and now it fails. My guess is that I got a ?good? copy of prebuilts on my previous build somehow. I did notice that it downloaded several prebuilts this time. > > Thanks, > Brian > On May 13, 2019, 6:13 PM -0400, Mark Wieder via use-livecode , wrote: >> On 5/13/19 12:46 PM, Brian Milby via use-livecode wrote: >>> I was just able to build for the first time in Ubuntu 18.04 and it comes up 9.5 (dp 1). >>> I never went far enough to figure out how to overcome the PIC issue myself and waited for it to make it to develop. >> >> It's still in progress. >> >> Are you building against the develop branch? >> What version of gcc are you using? >> https://github.com/livecode/livecode/pull/6953/ broke the current build >> process. I have to patch a couple of build files to get it to compile. >> https://github.com/livecode/livecode/pull/6897 >> >> Ian has a new PR on the way. >> https://github.com/livecode/livecode/pull/7032 >> >> -- >> 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 brian at milby7.com Tue May 14 00:26:03 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 14 May 2019 00:26:03 -0400 Subject: Resize Stack Sent Everytime a Stack Opens? In-Reply-To: <17802848-8AB2-42DA-948D-669C0A032286@hindu.org> References: <5d4e99c7-aca4-45b4-9b3f-47e4c6261960@Spark> <17802848-8AB2-42DA-948D-669C0A032286@hindu.org> Message-ID: I'll send a copy of the stack separately, but here are my thoughts: - Caveat that I only have an Amazon Fire available for testing - resizeStack does get called, before openCard on card Loader - no field "log" exists on card "Loader" which is probably why resizeStack was not working - I added "addLog" and "clearLog" handlers to allow for logging from any card - when launched, I get a "resizeStack 600,952,414,736" call - nav bar is never positioned off screen I made the above notes on LC 9.0.1; I then installed 9.0.4 and found different issues - there is a visible shift of the log box (corrected with below changes) - moved script locals to preOpenStack so they would be available sooner - moved orientation code to preOpenStack Thanks, Brian On Mon, May 13, 2019 at 5:30 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Jacque: > > BR: I am not using fullscreenMode, (in just one module) more and more I'm > seeing it woefully inadequate from "professional design" point of view. > > In any case, just for now we want the browser and in YouTube stack on fill > the screen. No letter/pillarboxing etc. and the nav bar properly laid out. > > Brian: "I am not surprised to see a resizeStack on open if the app was > built at a size different than the screen size of the device." > > BR: It doesn't. I build on 414,736. Both my phone are bigger. I could be > doing something incredibly stupid. > You have to call it. It doesn?t turn x,y of anything. So then it may as > well be 'upDateUi' (my handler) and you have to fetch x,y > > put the width of this card into x > put the height of this card into y > > Status bar: Going to Landscape to Portrait, the first time... button bar > is below screen, but I can "forever flick" my Moto6, this triggers an > orientationChanged "portrait" and the controls are properly laid out. So, > some part of the engine "knows" card height as expected > > > ? J. Landman Gay > > > This sounds like the height of the status bar, and the stack is being > drawn underneath it. I haven't tried it but you might be able to fix > it > by setting the stack height to the height of the screenrect. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ludovic.thebault at laposte.net Tue May 14 01:35:06 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Tue, 14 May 2019 07:35:06 +0200 Subject: Mobile - Open file dialog? In-Reply-To: References: Message-ID: > Le 14 mai 2019 ? 00:57, Matthias Rebbe via use-livecode a ?crit : > > Hi, > > i am currently porting a desktop app to mobile. In this app the user will be able to save and open PDF files in the documents folder. > For opening a file In desktop "answer file" is the way to do it. But how would you do this in Android/iOS? Would you use mobilePick for this or is there a more elegant way or "better looking" way for this? > No need to ask a path to the user. Save directly on the destination folder. For iOs : the specialfolderpath(? Documents ?) For Android, the documents folder could be inaccessible to the user, it is better to use the specialfolderpath("external documents ?). Generally the path is something like /Android/Datas/TheIdentifierOfTheApp*/files/ *The identifier is the ? com.domain.nameoftheApp ? you indicated in the standalone settings. Also, the ? write external storage ? need to be activated. Ludovic From merakosp at gmail.com Tue May 14 03:09:06 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 14 May 2019 10:09:06 +0300 Subject: mobilePickPhoto on Android In-Reply-To: References: <5C3CCD46-1672-4E12-A07C-EBA5E40EA608@clearvisiontech.com> <30BB7533-B0CD-4928-8F98-675B031BF197@clearvisiontech.com> Message-ID: Hello Dan, Looks like another user is affected by the same bug, in a Samsung s8 device: https://quality.livecode.com/show_bug.cgi?id=22054 Cheers, Panos -- On Mon, 6 May 2019 at 11:16, panagiotis merakos wrote: > Hello Dan, > > Thank you for the update. I am wondering if this is device-specific. If > anyone of the folks watching this thread has a Samsung Galaxy S9+ and could > test mobilePickPhoto "camera", it would be very useful. > > In the meanwhile, I suggest you file a new bug report so as we can track > (and fix) this issue. > > Kind regards, > Panos > -- > > On Fri, 3 May 2019 at 18:08, Dan Friedman wrote: > >> Panos, >> >> >> >> Here?s an update? I met in person with my client with his Samsung Galaxy >> S9+ running Android 9. My standalone built with 9.0.4 rc3 is failing on >> his device. I call mobilePickPhoto "camera", and the camera does come up. >> I take the picture, the screen flashes, and then the camera is ready to >> take another photo. The photos are being added to his photo library. It >> doesn?t return to the app. If I cancel the camera, it returns to the app >> and I get ?cancel? as the result. There must be something different about >> this particular device. Do you have any insight or things I might try? >> >> >> >> Anyone out there with a Samsung Galaxy S9+ running Android 9 that can >> confirm mobilePickPhoto is or isn?t working? >> >> >> >> -Dan >> >> >> >> >> >> *From: *Dan Friedman >> *Date: *Tuesday, April 30, 2019 at 10:26 AM >> *To: *panagiotis merakos , How to use LiveCode < >> use-livecode at lists.runrev.com> >> *Subject: *Re: mobilePickPhoto on Android >> >> >> >> Panos, >> >> >> >> Thank you for the reply. This version fixed the issue on several of our >> devices. However, my client is saying it?s failing on his Samsung Galaxy >> S9+ running Android 9. I have verified that he has the updated build (made >> with LC 9.0.4 rc 2) installed on his device. He says he has made no >> software or hardware modifications to the device but is still having the >> same issue. Perhaps there is a different issue with camera access with >> this device? >> >> >> >> -Dan >> >> >> >> >> >> >> >> *From: *panagiotis merakos >> *Date: *Tuesday, April 30, 2019 at 4:04 AM >> *To: *How to use LiveCode >> *Cc: *Dan Friedman >> *Subject: *Re: mobilePickPhoto on Android >> >> >> >> Hello Dan, >> >> >> >> This sounds like https://quality.livecode.com/show_bug.cgi?id=21826, >> affecting only specific Android devices, and has been fixed in LC 9.0.4 >> RC-1+ >> >> >> >> Kind regards, >> >> Panos >> >> -- >> >> >> >> On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Greetings! I am calling mobilePickPhoto "camera" on a Android device. >> If I am running Android version 7.0, everything works great. If I am >> running Android 8.0, then I get an empty back where length(image 1) is 0. >> Using LiveCode 9.0.3. Anyone know of an issue with mobilePickPhoto on >> late versions of Android. FWIW, mobilePickPhoto "library" works fine on >> all versions of Android. >> >> Thanks in advance, >> -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 info at trevix.it Tue May 14 03:51:34 2019 From: info at trevix.it (trevix) Date: Tue, 14 May 2019 09:51:34 +0200 Subject: Question for LCB FFI workshop attendees at upcoming conference Message-ID: Hi Trevor. I know that is a bit late and that I will not be able to attend anyhow (sigh). I would love to see how to implement the Flic Bluetooth button library (www.flic.io ). It is a small battery powered button that interact with iOS, Desktop and Android (1 click, 2 click, hold click) Libraries are available for Swift, ObjC and C++ here, with working xCode example: https://github.com/50ButtonsEach and a tutorial here https://partners.flic.io/partners/devel ... s-tutorial > Trevor DeVore via use-livecode Tue, 07 May 2019 06:44:56 -0700 > This is for anyone who plans on attending my workshop on using FFI in LCB > at the conference. Is there any code (a macOS Framework, Windows API, DLL, > dylib, etc.) that is written in Objective-C or that has a C wrapper that > you are interested in wrapping with LCB in order to make it available to > LiveCode? > If so, let me know in a response to this thread and I can take a look at it > before the workshop to see if I can include it. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com Regards Trevix From matthias_livecode_150811 at m-r-d.de Tue May 14 09:39:39 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 14 May 2019 15:39:39 +0200 Subject: Mobile - Open file dialog? In-Reply-To: References: Message-ID: <11916B28-7DA1-4107-84DE-4DBB6B374E82@m-r-d.de> Hi Ludovic, thanks for you answer, but i think a was not precise enough. The app allows to saves PDF files. Not only one, but many. The folder to which the files are saved is static set to the documents folder. I want to allow the users to open any of that files. As i wrote already, in Desktop i am doing this by "answer file with..... " and the users see the files in the documents folder and just have to select the one they want to open. Currently i am using mobilepick on my mobile app to show a list of all files and let the users select the one they want to open. But i was wondering if there might be an other solution that would allow this also. Matthias Rebbe > Am 14.05.2019 um 07:35 schrieb Ludovic THEBAULT via use-livecode >: > > >> Le 14 mai 2019 ? 00:57, Matthias Rebbe via use-livecode > a ?crit : >> >> Hi, >> >> i am currently porting a desktop app to mobile. In this app the user will be able to save and open PDF files in the documents folder. >> For opening a file In desktop "answer file" is the way to do it. But how would you do this in Android/iOS? Would you use mobilePick for this or is there a more elegant way or "better looking" way for this? >> > > No need to ask a path to the user. Save directly on the destination folder. > For iOs : the specialfolderpath(? Documents ?) > For Android, the documents folder could be inaccessible to the user, it is better to use the specialfolderpath("external documents ?). Generally the path is something like /Android/Datas/TheIdentifierOfTheApp*/files/ > > > *The identifier is the ? com.domain.nameoftheApp ? you indicated in the standalone settings. Also, the ? write external storage ? need to be activated. > > Ludovic > _______________________________________________ > use-livecode mailing list > use-livecode 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 ludovic.thebault at laposte.net Tue May 14 09:46:28 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Tue, 14 May 2019 15:46:28 +0200 Subject: Mobile - Open file dialog? In-Reply-To: <11916B28-7DA1-4107-84DE-4DBB6B374E82@m-r-d.de> References: <11916B28-7DA1-4107-84DE-4DBB6B374E82@m-r-d.de> Message-ID: > Le 14 mai 2019 ? 15:39, Matthias Rebbe via use-livecode a ?crit : > > Hi Ludovic, > > thanks for you answer, but i think a was not precise enough. > > The app allows to saves PDF files. Not only one, but many. The folder to which the files are saved is static set to the documents folder. > I want to allow the users to open any of that files. As i wrote already, in Desktop i am doing this by "answer file with..... " and the users see the files in the documents folder and just have to select the one they want to open. > > Currently i am using mobilepick on my mobile app to show a list of all files and let the users select the one they want to open. > But i was wondering if there might be an other solution that would allow this also. > > > Matthias Rebbe Sorry ! I think it?s better to use an data grid, or a simple field to select the file. MobilePick doesn?t display all the filename From klaus at major-k.de Tue May 14 09:53:09 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 May 2019 15:53:09 +0200 Subject: Mobile - Open file dialog? In-Reply-To: References: <11916B28-7DA1-4107-84DE-4DBB6B374E82@m-r-d.de> Message-ID: <9BFDE6C8-48C4-41EA-9230-3E32A86FBD36@major-k.de> Bonjour Ludovic, > Am 14.05.2019 um 15:46 schrieb Ludovic THEBAULT via use-livecode : > > >> Le 14 mai 2019 ? 15:39, Matthias Rebbe via use-livecode a ?crit : >> >> Hi Ludovic, >> >> thanks for you answer, but i think a was not precise enough. >> >> The app allows to saves PDF files. Not only one, but many. The folder to which the files are saved is static set to the documents folder. >> I want to allow the users to open any of that files. As i wrote already, in Desktop i am doing this by "answer file with..... " and the users see the files in the documents folder and just have to select the one they want to open. >> >> Currently i am using mobilepick on my mobile app to show a list of all files and let the users select the one they want to open. >> But i was wondering if there might be an other solution that would allow this also. >> >> >> Matthias Rebbe > > Sorry ! > > I think it?s better to use an data grid, or a simple field to select the file. MobilePick doesn?t display all the filename So something like: ... put files(specialfolderpath("documents")) into tFiles filter tFiles with "*.pdf" mobilepick tFiles ... does not work? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From james at thehales.id.au Tue May 14 10:35:53 2019 From: james at thehales.id.au (James Hale) Date: Wed, 15 May 2019 00:35:53 +1000 Subject: Dash docset for LC now at 1.76, Make_DocSet on Livecode Share updated Message-ID: I just added the docs from LC 9.04 Stable to the DASH repository. DASH users simply go to the preferences pane and update the user contributed docs. As usual, this release has some additional dictionary entries/mods. I have also updated Make_DocSet on Livecode Share. the previous version somehow lost the syntax coloring James From ludovic.thebault at laposte.net Tue May 14 10:36:32 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Tue, 14 May 2019 16:36:32 +0200 Subject: Mobile - Open file dialog? In-Reply-To: <9BFDE6C8-48C4-41EA-9230-3E32A86FBD36@major-k.de> References: <11916B28-7DA1-4107-84DE-4DBB6B374E82@m-r-d.de> <9BFDE6C8-48C4-41EA-9230-3E32A86FBD36@major-k.de> Message-ID: > Le 14 mai 2019 ? 15:53, Klaus major-k via use-livecode a ?crit : > > Bonjour Ludovic, > >> Am 14.05.2019 um 15:46 schrieb Ludovic THEBAULT via use-livecode : >> >> >>> Le 14 mai 2019 ? 15:39, Matthias Rebbe via use-livecode a ?crit : >>> >>> Hi Ludovic, >>> >>> thanks for you answer, but i think a was not precise enough. >>> >>> The app allows to saves PDF files. Not only one, but many. The folder to which the files are saved is static set to the documents folder. >>> I want to allow the users to open any of that files. As i wrote already, in Desktop i am doing this by "answer file with..... " and the users see the files in the documents folder and just have to select the one they want to open. >>> >>> Currently i am using mobilepick on my mobile app to show a list of all files and let the users select the one they want to open. >>> But i was wondering if there might be an other solution that would allow this also. >>> >>> >>> Matthias Rebbe >> >> Sorry ! >> >> I think it?s better to use an data grid, or a simple field to select the file. MobilePick doesn?t display all the filename > > So something like: > ... > put files(specialfolderpath("documents")) into tFiles > filter tFiles with "*.pdf" > mobilepick tFiles > ... > does not work? > Yes it?s work, but if the filename is not short, only the beginning of the filename is displayed with MobilePick (on iPhone, perhaps not on ipad). From klaus at major-k.de Tue May 14 10:40:18 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 May 2019 16:40:18 +0200 Subject: Mobile - Open file dialog? In-Reply-To: References: <11916B28-7DA1-4107-84DE-4DBB6B374E82@m-r-d.de> <9BFDE6C8-48C4-41EA-9230-3E32A86FBD36@major-k.de> Message-ID: <7E675894-0766-49FD-8100-F8FEA71FC758@major-k.de> > Am 14.05.2019 um 16:36 schrieb Ludovic THEBAULT via use-livecode : > ... >> >>>> Currently i am using mobilepick on my mobile app to show a list of all files and let the users select the one they want to open. >>>> But i was wondering if there might be an other solution that would allow this also. >>>> >>>> Matthias Rebbe >>> >>> Sorry ! >>> >>> I think it?s better to use an data grid, or a simple field to select the file. MobilePick doesn?t display all the filename >> >> So something like: >> ... >> put files(specialfolderpath("documents")) into tFiles >> filter tFiles with "*.pdf" >> mobilepick tFiles >> ... >> does not work? > Yes it?s work, but if the filename is not short, only the beginning of the filename is displayed with MobilePick (on iPhone, perhaps not on ipad). ah, OK, didn't know that. Well, then a listfield or something would be a better solution. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jjs at krutt.org Tue May 14 13:35:42 2019 From: jjs at krutt.org (JJS) Date: Tue, 14 May 2019 19:35:42 +0200 Subject: add win64 build support standalones, how does it work Message-ID: Hi, i saw at the notable changes for lc904 build support for win64 standalones. New LiveCode releases * LiveCode 9.0.4 Notable changes * Allow nothing as variadic argument to foreign handler * Update SQLite to v3.28.0 * Allow setting the label of a graphic from the Property Inspector * AcceleratedRendering: Add container layer modes * Ensure Android ScrollViews don?t cancel touch events * Add support for building win64 standalones * Allow infinite result in div, times and pow operations * Browser Widget: Progress, isSecure and allowUserInteraction * How does this work? Is a build standard 64 bits? As i don't see something we select, like with building for MacOs. Thanks for any enlightening on this. And if it is true it is great! Jerry From klaus at major-k.de Tue May 14 13:47:34 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 May 2019 19:47:34 +0200 Subject: LC 9.04 Message-ID: <787EBF07-59A0-47A7-8FC6-19315BA5B711@major-k.de> Hi all, I searched the dictionary, Release Notes and docs but did not find anything about these new "features": Browser Widget: Progress, isSecure and allowUserInteraction Any hints, what this is and how to use it, or if I am missing something obvious, are very appreciated, thank you. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From tom at makeshyft.com Tue May 14 13:59:33 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 14 May 2019 13:59:33 -0400 Subject: LC 9.04 In-Reply-To: <787EBF07-59A0-47A7-8FC6-19315BA5B711@major-k.de> References: <787EBF07-59A0-47A7-8FC6-19315BA5B711@major-k.de> Message-ID: where did you learn about these new features in the first place? On Tue, May 14, 2019 at 1:47 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > I searched the dictionary, Release Notes and docs but did not find > anything about these new "features": > Browser Widget: Progress, isSecure and allowUserInteraction > > Any hints, what this is and how to use it, or if I am missing something > obvious, are very appreciated, thank you. > > > Best > > Klaus > -- > Klaus Major > http://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 mark at livecode.com Tue May 14 14:02:37 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 14 May 2019 20:02:37 +0200 Subject: LC 9.04 In-Reply-To: References: <787EBF07-59A0-47A7-8FC6-19315BA5B711@major-k.de> Message-ID: On 2019-05-14 19:59, Tom Glod via use-livecode wrote: > where did you learn about these new features in the first place? > > On Tue, May 14, 2019 at 1:47 PM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> I searched the dictionary, Release Notes and docs but did not find >> anything about these new "features": >> Browser Widget: Progress, isSecure and allowUserInteraction >> >> Any hints, what this is and how to use it, or if I am missing >> something >> obvious, are very appreciated, thank you. I take it this was from TWiL? The 'Releases' and 'Notable Changes' sections are not directly related. The former lists any builds we have done, the latter lists any notable PRs which have been merged since the last TWiL - regardless of target version. To find out what is in a given release, check the release email and/or the release's release notes :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From klaus at major-k.de Tue May 14 14:10:10 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 May 2019 20:10:10 +0200 Subject: LC 9.04 In-Reply-To: References: <787EBF07-59A0-47A7-8FC6-19315BA5B711@major-k.de> Message-ID: <58F258D6-A77C-493E-979D-72E6F94CD0BE@major-k.de> Hi Tom, > Am 14.05.2019 um 19:59 schrieb Tom Glod via use-livecode : > > where did you learn about these new features in the first place? JJS mentioned this in his mail from 7:36 PM: ... New LiveCode releases * LiveCode 9.0.4 Notable changes * ... * Browser Widget: Progress, isSecure and allowUserInteraction *... Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From tom at makeshyft.com Tue May 14 14:23:04 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 14 May 2019 14:23:04 -0400 Subject: LC 9.04 In-Reply-To: <58F258D6-A77C-493E-979D-72E6F94CD0BE@major-k.de> References: <787EBF07-59A0-47A7-8FC6-19315BA5B711@major-k.de> <58F258D6-A77C-493E-979D-72E6F94CD0BE@major-k.de> Message-ID: awesome...thanks. On Tue, May 14, 2019 at 2:10 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > > Am 14.05.2019 um 19:59 schrieb Tom Glod via use-livecode < > use-livecode at lists.runrev.com>: > > > > where did you learn about these new features in the first place? > > JJS mentioned this in his mail from 7:36 PM: > ... > New LiveCode releases > > * LiveCode 9.0.4 > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=4fda503d3c&e=b1dbf07ce1 > > > > Notable changes > * ... > * Browser Widget: Progress, isSecure and allowUserInteraction > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=4453b12104&e=b1dbf07ce1 > > > *... > > > Best > > Klaus > > -- > Klaus Major > http://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 merakosp at gmail.com Tue May 14 14:26:21 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 14 May 2019 21:26:21 +0300 Subject: add win64 build support standalones, how does it work In-Reply-To: References: Message-ID: Hello Jerry, Support for 64bit Windows standalones is not included in 9.0.4. It is coming in a future LC version. Same with some other features you include in this list, such as "Browser Widget: Progress, isSecure and allowUserInteraction" The "Notable Changes" section in the newsletter contains pull requests that are merged into the various branches we currently maintain. These branches are usually the "develop-9.0" branch (--> current maintenance releases, such as 9.0.x RC-Y) and the "develop" branch (--> future DP releases, such as 9.5 DP-1) Hope this helps. Panos -- On Tue, 14 May 2019 at 20:35, JJS via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > i saw at the notable changes for lc904 build support for win64 standalones. > > > New LiveCode releases > > * LiveCode 9.0.4 > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=4fda503d3c&e=b1dbf07ce1 > > > > > Notable changes > > * Allow nothing as variadic argument to foreign handler > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=0abe25cb67&e=b1dbf07ce1 > > > * Update SQLite to v3.28.0 > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=64e75294d0&e=b1dbf07ce1 > > > * Allow setting the label of a graphic from the Property Inspector > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=a13fb4aa72&e=b1dbf07ce1 > > > * AcceleratedRendering: Add container layer modes > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=9fc8248724&e=b1dbf07ce1 > > > * Ensure Android ScrollViews don?t cancel touch events > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=6e1e6d9259&e=b1dbf07ce1 > > > * Add support for building win64 standalones > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=64a5b1a15f&e=b1dbf07ce1 > > > * Allow infinite result in div, times and pow operations > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=369d89b36d&e=b1dbf07ce1 > > > * Browser Widget: Progress, isSecure and allowUserInteraction > < > https://github.us7.list-manage.com/track/click?u=8404b344b09103bf489dd8a9a&id=4453b12104&e=b1dbf07ce1 > > > * > > How does this work? > > Is a build standard 64 bits? > > As i don't see something we select, like with building for MacOs. > > Thanks for any enlightening on this. And if it is true it is great! > > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 14 14:27:40 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 14 May 2019 14:27:40 -0400 Subject: LC 9.04 In-Reply-To: <58F258D6-A77C-493E-979D-72E6F94CD0BE@major-k.de> References: <787EBF07-59A0-47A7-8FC6-19315BA5B711@major-k.de> <58F258D6-A77C-493E-979D-72E6F94CD0BE@major-k.de> Message-ID: <56639245-c3c4-e248-c92f-496ef49bbe37@researchware.com> On 5/14/2019 2:10 PM, Klaus major-k via use-livecode wrote: > * ... > * Browser Widget: Progress, isSecure and allowUserInteraction > > *... Looking at the link above, shows that these were moved to 9.1.0dp-1 @runrevmark runrevmark modified the milestones: 9.0.4-rc-1 , 9.1.0-dp-1 on Mar 26 From klaus at major-k.de Tue May 14 14:28:35 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 May 2019 20:28:35 +0200 Subject: add win64 build support standalones, how does it work In-Reply-To: References: Message-ID: <63A61DAB-CB1C-48BE-81D4-386B284BC343@major-k.de> Hi Panos, > Am 14.05.2019 um 20:26 schrieb panagiotis merakos via use-livecode : > > Hello Jerry, > > Support for 64bit Windows standalones is not included in 9.0.4. It is > coming in a future LC version. Same with some other features you include in > this list, such as "Browser Widget: Progress, isSecure and > allowUserInteraction" aha, Ok, that explains everything! :-D > The "Notable Changes" section in the newsletter contains pull requests that > are merged into the various branches we currently maintain. These branches > are usually the "develop-9.0" branch (--> current maintenance releases, > such as 9.0.x RC-Y) and the "develop" branch (--> future DP releases, such > as 9.5 DP-1) > > Hope this helps. > Panos Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jjs at krutt.org Tue May 14 15:06:58 2019 From: jjs at krutt.org (JJS) Date: Tue, 14 May 2019 21:06:58 +0200 Subject: add win64 build support standalones, how does it work In-Reply-To: <63A61DAB-CB1C-48BE-81D4-386B284BC343@major-k.de> References: <63A61DAB-CB1C-48BE-81D4-386B284BC343@major-k.de> Message-ID: ok, thanks for explaining Panos! Regards/Groetjes, Jerry Op 14-5-2019 om 20:28 schreef Klaus major-k via use-livecode: > Hi Panos, > >> Am 14.05.2019 um 20:26 schrieb panagiotis merakos via use-livecode : >> >> Hello Jerry, >> >> Support for 64bit Windows standalones is not included in 9.0.4. It is >> coming in a future LC version. Same with some other features you include in >> this list, such as "Browser Widget: Progress, isSecure and >> allowUserInteraction" > aha, Ok, that explains everything! :-D > >> The "Notable Changes" section in the newsletter contains pull requests that >> are merged into the various branches we currently maintain. These branches >> are usually the "develop-9.0" branch (--> current maintenance releases, >> such as 9.0.x RC-Y) and the "develop" branch (--> future DP releases, such >> as 9.5 DP-1) >> >> Hope this helps. >> Panos > Best > > Klaus > > -- > Klaus Major > http://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 alain.vezina at logilangue.com Tue May 14 15:52:56 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Tue, 14 May 2019 15:52:56 -0400 Subject: play sounds in HTML5 Message-ID: <016015DC-A566-429F-B126-B905D207EF77@logilangue.com> Hi all, Is there somebody who knows how to play one sound after another using the path of each sound. I read the lesson [ How do I play sound files in HTML5? ] where I have to type the name the sound in the HTML file and to put the sound file into the standalone folder. You know, I want to use one of my sounds libraries as I did into a standalone for Mac, PC , IOS or Android : you specify once the path of the library and the name of the sound you want to be played. The sounds library is not in the app and every sound has his proper name. So I can play a sound chosen by random or chosen by the user. Alain Vezina Logilangue www.logilangue.com From sean at pidigital.co.uk Tue May 14 17:02:22 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 14 May 2019 22:02:22 +0100 Subject: play sounds in HTML5 In-Reply-To: <016015DC-A566-429F-B126-B905D207EF77@logilangue.com> References: <016015DC-A566-429F-B126-B905D207EF77@logilangue.com> Message-ID: <9BB69205-41A0-4CB9-8040-3C55FD54032A@pidigital.co.uk> Hi Alain The key here is in the line Instead of just piano-melody.wav you would put in the whole path or relative path to the file. Example, if your file structure has a folder called ?html? containing your html file and then another folder called ?audio? which contains all your audio files including one called piano-melody.wav then the code would read This points to the file in a relative path to the html file itself. Does this help or have I misunderstood your request? Regards Sean Cole Pi Digital Prod Ltd > On 14 May 2019, at 20:52, Alain Vezina via use-livecode wrote: > > Hi all, > > Is there somebody who knows how to play one sound after another using the path of each sound. > > I read the lesson [ How do I play sound files in HTML5? ] where I have to type the name the sound in the HTML file and to put the sound file into the standalone folder. > > You know, I want to use one of my sounds libraries as I did into a standalone for Mac, PC , IOS or Android : you specify once the path of the library and the name of the sound you want to be played. The sounds library is not in the app and every sound has his proper name. So I can play a sound chosen by random or chosen by the user. > > Alain Vezina > Logilangue > www.logilangue.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 MikeKerner at roadrunner.com Wed May 15 09:09:45 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 15 May 2019 09:09:45 -0400 Subject: file id/hash Message-ID: I thought I read something about being able to grab and search on the hash/id of a file. That would certainly be useful for those times where you move a file somewhere and then forget where you put it, and you can't remember the name. -- 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 axwald at gmail.com Wed May 15 09:46:00 2019 From: axwald at gmail.com (axwald) Date: Wed, 15 May 2019 08:46:00 -0500 (CDT) Subject: array and revExecuteSQL In-Reply-To: References: Message-ID: <1557927960404-0.post@n4.nabble.com> Hi, the notation for revExecuteSQL you mention only works with 1-digit numbers (in my LC 6.7.10). Named arrays and 2- or more digit entries don't work - LC doesn't translate 'em. You can easily check this with your favorite network sniffer: > put "bText" into myArr[11] > put "99" into myArr[22] > put "UPDATE `t_test` SET `Text` = :11 WHERE `Nummer` = :22;" into StrSQL sends this to the database: > UPDATE `t_test` SET `Text` = :11 WHERE `Nummer` = :22; and this fails, for sure. Correctly used: > put "bText" into myArr[1] > put "99" into myArr[2] > put "UPDATE `t_test` SET `Text` = :1 WHERE `Nummer` = :2;" into StrSQL sends this to the database: > UPDATE `t_test` SET `Text` = "bText" WHERE `Nummer` = "99"; So the error is in LC, dunno if the newer versions do better. Or the limitation just isn't mentioned in the dictionary. And since LC obviously just does a simple & limited replace, you could use merge() as well. Have fun! ----- ? Livecode programming until the cat hits the fan ? -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From bobsneidar at iotecdigital.com Wed May 15 11:40:17 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 15 May 2019 15:40:17 +0000 Subject: array and revExecuteSQL In-Reply-To: <1557927960404-0.post@n4.nabble.com> References: <1557927960404-0.post@n4.nabble.com> Message-ID: <070B767A-0FD1-4CCD-9502-CF922541EF1A@iotecdigital.com> I believe you need to surround the placeholder with single quotes. >> put "UPDATE `t_test` SET `Text` = ':11' WHERE `Nummer` = ':22';" into StrSQL Also you can lose the semicolon as LC will only execute one statement at a time. You cannot string statements. Bob S > On May 15, 2019, at 06:46 , axwald via use-livecode wrote: > > Hi, > the notation for revExecuteSQL you mention only works with 1-digit numbers > (in my LC 6.7.10). > Named arrays and 2- or more digit entries don't work - LC doesn't translate > 'em. You can easily check this with your favorite network sniffer: > >> put "bText" into myArr[11] >> put "99" into myArr[22] >> put "UPDATE `t_test` SET `Text` = :11 WHERE `Nummer` = :22;" into StrSQL > sends this to the database: >> UPDATE `t_test` SET `Text` = :11 WHERE `Nummer` = :22; > and this fails, for sure. > > Correctly used: >> put "bText" into myArr[1] >> put "99" into myArr[2] >> put "UPDATE `t_test` SET `Text` = :1 WHERE `Nummer` = :2;" into StrSQL > sends this to the database: >> UPDATE `t_test` SET `Text` = "bText" WHERE `Nummer` = "99"; > > So the error is in LC, dunno if the newer versions do better. Or the > limitation just isn't mentioned in the dictionary. > And since LC obviously just does a simple & limited replace, you could use > merge() as well. > > Have fun! > > > > ----- > ? Livecode programming until the cat hits the fan ? > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 15 16:22:14 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 May 2019 13:22:14 -0700 Subject: return with ? Message-ID: Line 264 of libURL contains: return empty with urlResult laLoadedUrls[newUrl] What is that "with" clause? I was familiar with the "for" clause", but when I went to check this in the Dictionary I found neither clause is mentioned. :( -- 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 alain.vezina at logilangue.com Wed May 15 16:44:41 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Wed, 15 May 2019 16:44:41 -0400 Subject: play sounds in HTML5 In-Reply-To: <9BB69205-41A0-4CB9-8040-3C55FD54032A@pidigital.co.uk> References: <016015DC-A566-429F-B126-B905D207EF77@logilangue.com> <9BB69205-41A0-4CB9-8040-3C55FD54032A@pidigital.co.uk> Message-ID: Thanks Sean, You did not misunderstand my request. You make me go one step forward : now I can call a sound to be played from a folder where there are several other sound. Now, how can I played a sound chosen by random your chosen by the user; in other words, how can I replace "piano-melody.wav" by the name of the chosen sound, never knowing wich sound will be chosen by the user or by a random procedure ? How my program can write in an HTML file, considering there is a list of all the soud files including the extention .WAV or .MP3 or another one? Regards Alain > Le 14 mai 2019 ? 17:02, Pi Digital via use-livecode a ?crit : > > Hi Alain > > The key here is in the line > > > > Instead of just piano-melody.wav you would put in the whole path or relative path to the file. Example, if your file structure has a folder called ?html? containing your html file and then another folder called ?audio? which contains all your audio files including one called piano-melody.wav then the code would read > > > > This points to the file in a relative path to the html file itself. > > Does this help or have I misunderstood your request? > > Regards > > Sean Cole > Pi Digital Prod Ltd > >> On 14 May 2019, at 20:52, Alain Vezina via use-livecode wrote: >> >> Hi all, >> >> Is there somebody who knows how to play one sound after another using the path of each sound. >> >> I read the lesson [ How do I play sound files in HTML5? ] where I have to type the name the sound in the HTML file and to put the sound file into the standalone folder. >> >> You know, I want to use one of my sounds libraries as I did into a standalone for Mac, PC , IOS or Android : you specify once the path of the library and the name of the sound you want to be played. The sounds library is not in the app and every sound has his proper name. So I can play a sound chosen by random or chosen by the user. >> >> Alain Vezina >> Logilangue >> www.logilangue.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 alex at tweedly.net Wed May 15 16:49:15 2019 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 15 May 2019 13:49:15 -0700 Subject: return with ? In-Reply-To: References: Message-ID: <0dcfd378-cc37-fc4e-8802-9b6a1dfab7a2@tweedly.net> Hmmmm - my dictionary (9.0.4 rc2 for Mac COmmunity) does have a description of the "for" variant. And I've now read it 10 times, and I'm not sure I'm much better informed :-)? It's a pretty tough read. I see that? "urlresult" is a reserved / key word, not in the dictionary. So I think the correct question is ? what is the??? "with urlresult"? clause ? But I have no idea what the answer is :-) Alex. On 15/05/2019 21:22, Richard Gaskin via use-livecode wrote: > Line 264 of libURL contains: > > ??? return empty? with urlResult laLoadedUrls[newUrl] > > What is that "with" clause? > > I was familiar with the "for" clause", but when I went to check this > in the Dictionary I found neither clause is mentioned. :( > From monte at appisle.net Wed May 15 18:15:43 2019 From: monte at appisle.net (Monte Goulding) Date: Thu, 16 May 2019 08:15:43 +1000 Subject: return with ? In-Reply-To: References: Message-ID: <3050B74F-D884-465D-9A41-78A7624F0389@appisle.net> > On 16 May 2019, at 6:22 am, Richard Gaskin via use-livecode wrote: > > Line 264 of libURL contains: > > return empty with urlResult laLoadedUrls[newUrl] > > What is that "with" clause? > > I was familiar with the "for" clause", but when I went to check this in the Dictionary I found neither clause is mentioned. :( The `for` clause is definitely in the dictionary and has been since it was added here https://github.com/livecode/livecode/pull/4164 The `with` clause is something specifically for libURL which ends up setting the urlResult. Cheers Monte From ambassador at fourthworld.com Wed May 15 20:25:55 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 May 2019 17:25:55 -0700 Subject: return with ? In-Reply-To: <3050B74F-D884-465D-9A41-78A7624F0389@appisle.net> References: <3050B74F-D884-465D-9A41-78A7624F0389@appisle.net> Message-ID: Monte Goulding wrote: >> On 16 May 2019, at 6:22 am, Richard Gaskin wrote: >> >> Line 264 of libURL contains: >> >> return empty with urlResult laLoadedUrls[newUrl] >> >> What is that "with" clause? >> >> I was familiar with the "for" clause", but when I went to check this >> in the Dictionary I found neither clause is mentioned. :( > > The `for` clause is definitely in the dictionary and has been since it > was added here https://github.com/livecode/livecode/pull/4164 > One of the benefits of being a Linux user choosing LiveCode is it teaches self-reliance. :) Work on Linux issues has slowed without Peter Brett and Fraser Gordon, and the Browser widget the Dictionary has become dependent on hasn't worked on that platform for a long time (years?). So we penguin fans roll up our sleeves and bookmark the API reference at the official LiveCode.com site - where the Dictionary seems to have fallen behind: https://livecode.com/resources/api/#livecode_script/return > The `with` clause is something specifically for libURL which ends up > setting the urlResult. Can it be used in other contexts, or is the engine hard-wired to put the "with" value into the urlResult only? -- 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 May 15 20:56:24 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 16 May 2019 01:56:24 +0100 Subject: play sounds in HTML5 In-Reply-To: References: <016015DC-A566-429F-B126-B905D207EF77@logilangue.com> <9BB69205-41A0-4CB9-8040-3C55FD54032A@pidigital.co.uk> Message-ID: <74246DD0-E30E-4CD8-9B2F-4D89E48E506B@pidigital.co.uk> Hi again Alain What you are talking about I think is known as a form of Dynamic HTML. Basically you use LiveCode to build your list of audio files (put the files into tFileList) and choose one (random or picked by the user via a mobilePick...) then replace out the source file pointer ( On 15 May 2019, at 21:44, Alain Vezina via use-livecode wrote: > > Thanks Sean, > > You did not misunderstand my request. > > You make me go one step forward : now I can call a sound to be played from a folder where there are several other sound. > > Now, how can I played a sound chosen by random your chosen by the user; in other words, how can I replace "piano-melody.wav" by the name of the chosen sound, never knowing wich sound will be chosen by the user or by a random procedure ? How my program can write in an HTML file, considering there is a list of all the soud files including the extention .WAV or .MP3 or another one? > > Regards > > Alain > > >> Le 14 mai 2019 ? 17:02, Pi Digital via use-livecode a ?crit : >> >> Hi Alain >> >> The key here is in the line >> >> >> >> Instead of just piano-melody.wav you would put in the whole path or relative path to the file. Example, if your file structure has a folder called ?html? containing your html file and then another folder called ?audio? which contains all your audio files including one called piano-melody.wav then the code would read >> >> >> >> This points to the file in a relative path to the html file itself. >> >> Does this help or have I misunderstood your request? >> >> Regards >> >> Sean Cole >> Pi Digital Prod Ltd >> >>> On 14 May 2019, at 20:52, Alain Vezina via use-livecode wrote: >>> >>> Hi all, >>> >>> Is there somebody who knows how to play one sound after another using the path of each sound. >>> >>> I read the lesson [ How do I play sound files in HTML5? ] where I have to type the name the sound in the HTML file and to put the sound file into the standalone folder. >>> >>> You know, I want to use one of my sounds libraries as I did into a standalone for Mac, PC , IOS or Android : you specify once the path of the library and the name of the sound you want to be played. The sounds library is not in the app and every sound has his proper name. So I can play a sound chosen by random or chosen by the user. >>> >>> Alain Vezina >>> Logilangue >>> www.logilangue.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 monte at appisle.net Wed May 15 21:36:39 2019 From: monte at appisle.net (Monte Goulding) Date: Thu, 16 May 2019 11:36:39 +1000 Subject: return with ? In-Reply-To: References: <3050B74F-D884-465D-9A41-78A7624F0389@appisle.net> Message-ID: <46E71B34-1C2C-4CF1-9CEE-A5A8A30DF87A@appisle.net> > > the API reference at the official LiveCode.com site - where the Dictionary seems to have fallen behind: > > https://livecode.com/resources/api/#livecode_script/return Seems worthy of a bug report ;-) > > > > The `with` clause is something specifically for libURL which ends up > > setting the urlResult. > > Can it be used in other contexts, or is the engine hard-wired to put the "with" value into the urlResult only? Yes it puts the `with` value into the urlResult. It is deliberately not documented so up for change if necessary so I wouldn?t recommend using it. Cheers Monte From ambassador at fourthworld.com Wed May 15 22:33:25 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 May 2019 19:33:25 -0700 Subject: return with ? In-Reply-To: <46E71B34-1C2C-4CF1-9CEE-A5A8A30DF87A@appisle.net> References: <46E71B34-1C2C-4CF1-9CEE-A5A8A30DF87A@appisle.net> Message-ID: Monte Goulding wrote: >> the API reference at the official LiveCode.com site - where the >> Dictionary seems to have fallen behind: >> >> https://livecode.com/resources/api/#livecode_script/return > > Seems worthy of a bug report ;-) Thanks - done: https://quality.livecode.com/show_bug.cgi?id=22068 >> > The `with` clause is something specifically for libURL which ends >> > up setting the urlResult. >> >> Can it be used in other contexts, or is the engine hard-wired to put >> the "with" value into the urlResult only? > > Yes it puts the `with` value into the urlResult. It is deliberately > not documented so up for change if necessary so I wouldn?t recommend > using it. Seems reasonable. Thanks. -- 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 scott at elementarysoftware.com Thu May 16 02:05:02 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 15 May 2019 23:05:02 -0700 Subject: Mobile - Open file dialog? In-Reply-To: References: <11916B28-7DA1-4107-84DE-4DBB6B374E82@m-r-d.de> <9BFDE6C8-48C4-41EA-9230-3E32A86FBD36@major-k.de> Message-ID: > Ludovic THEBAULT via use-livecode wrote: > Yes it?s work, but if the filename is not short, only the beginning of the filename is displayed with MobilePick (on iPhone, perhaps not on ipad). I have been bothered by this also. Is this a bug with LiveCode and has it been reported? (I looked but couldn?t find a bug report) ? Scott Morrow From klaus at major-k.de Thu May 16 06:20:14 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 16 May 2019 12:20:14 +0200 Subject: Innards of an APK Message-ID: Hi friends, this just came up in the german LC forum. A user wrote that de-installing an app from his Android phone did not remove database files copied to -> specialfolderpath("documents")? I always thought that this special folder is just a folder INSIDE of the apk where we are allowed to write and de-installing the complete apk would remove everything related to that app. No? Thanks for any info! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From panos.merakos at livecode.com Thu May 16 09:18:55 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 16 May 2019 16:18:55 +0300 Subject: [ANN] Release 9.0.5 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.5 RC-1. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.0.5 RC-1 comes with more than 60 bugfixes, including fixes to several memory leaks that had been around for a long time. Moreover, dozens of Dictionary entries have been corrected and enhanced. Known issues ================ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_5/LiveCodeNotes-9_0_5_rc_1.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From alain.vezina at logilangue.com Thu May 16 09:58:25 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Thu, 16 May 2019 09:58:25 -0400 Subject: play sounds in HTML5 In-Reply-To: <74246DD0-E30E-4CD8-9B2F-4D89E48E506B@pidigital.co.uk> References: <016015DC-A566-429F-B126-B905D207EF77@logilangue.com> <9BB69205-41A0-4CB9-8040-3C55FD54032A@pidigital.co.uk> <74246DD0-E30E-4CD8-9B2F-4D89E48E506B@pidigital.co.uk> Message-ID: <747DBB82-C682-4585-83BF-9A0D0FCDEAEF@logilangue.com> Thanks a lot Sean, I think you have the right solution. I will have to work hard because I am not familiar with Dynamic HTML. A few trials and errors should solve the problem. Thanks again Alain > Le 15 mai 2019 ? 20:56, Pi Digital via use-livecode a ?crit : > > Hi again Alain > > What you are talking about I think is known as a form of Dynamic HTML. Basically you use LiveCode to build your list of audio files (put the files into tFileList) and choose one (random or picked by the user via a mobilePick...) then replace out the source file pointer ( > Because you will not be able to write over the original html file included with your app package you will want to duplicate the contents of the html folder into the (specialFolderPath) ?Documents? folder. If you are downloading additional audio have these stored directly into Documents/html/audio/. > > Once you?ve changed the html file you can either refresh the page or set the htmltext of the browser to the contents of the updated html file (which is the best option. > > Sean Cole > Pi Digital Prod Ltd > >> On 15 May 2019, at 21:44, Alain Vezina via use-livecode wrote: >> >> Thanks Sean, >> >> You did not misunderstand my request. >> >> You make me go one step forward : now I can call a sound to be played from a folder where there are several other sound. >> >> Now, how can I played a sound chosen by random your chosen by the user; in other words, how can I replace "piano-melody.wav" by the name of the chosen sound, never knowing wich sound will be chosen by the user or by a random procedure ? How my program can write in an HTML file, considering there is a list of all the soud files including the extention .WAV or .MP3 or another one? >> >> Regards >> >> Alain >> >> >>> Le 14 mai 2019 ? 17:02, Pi Digital via use-livecode a ?crit : >>> >>> Hi Alain >>> >>> The key here is in the line >>> >>> >>> >>> Instead of just piano-melody.wav you would put in the whole path or relative path to the file. Example, if your file structure has a folder called ?html? containing your html file and then another folder called ?audio? which contains all your audio files including one called piano-melody.wav then the code would read >>> >>> >>> >>> This points to the file in a relative path to the html file itself. >>> >>> Does this help or have I misunderstood your request? >>> >>> Regards >>> >>> Sean Cole >>> Pi Digital Prod Ltd >>> >>>> On 14 May 2019, at 20:52, Alain Vezina via use-livecode wrote: >>>> >>>> Hi all, >>>> >>>> Is there somebody who knows how to play one sound after another using the path of each sound. >>>> >>>> I read the lesson [ How do I play sound files in HTML5? ] where I have to type the name the sound in the HTML file and to put the sound file into the standalone folder. >>>> >>>> You know, I want to use one of my sounds libraries as I did into a standalone for Mac, PC , IOS or Android : you specify once the path of the library and the name of the sound you want to be played. The sounds library is not in the app and every sound has his proper name. So I can play a sound chosen by random or chosen by the user. >>>> >>>> Alain Vezina >>>> Logilangue >>>> www.logilangue.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 > _______________________________________________ > use-livecode mailing list > use-livecode 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 axwald at gmail.com Thu May 16 10:09:19 2019 From: axwald at gmail.com (axwald) Date: Thu, 16 May 2019 09:09:19 -0500 (CDT) Subject: array and revExecuteSQL In-Reply-To: <070B767A-0FD1-4CCD-9502-CF922541EF1A@iotecdigital.com> References: <1557927960404-0.post@n4.nabble.com> <070B767A-0FD1-4CCD-9502-CF922541EF1A@iotecdigital.com> Message-ID: <1558015759985-0.post@n4.nabble.com> Hi. Paul Dupuis via use-livecode wrote > I believe you need to surround the placeholder with single quotes. Doesn't work, my LC doesn't do the replacement: > UPDATE `t_test` SET `Text` = ':11' WHERE `Nummer` = ':22'; and > UPDATE `t_test` SET `Text` = :'11' WHERE `Nummer` = :'22'; are sent to the db w/o changes. Interesting: > put "cText" into myArr[8] > put "99" into myArr[9] > put "UPDATE `t_test` SET `Text` = :8 WHERE `Nummer` = :9;" into StrSQL doesn't replace, whereas: > put "cText" into myArr[8] > put "99" into myArr[9] > put "UPDATE `t_test` SET `Text` = :1 WHERE `Nummer` = :2;" into StrSQL does - according to the order of the numbers ;-) So the placeholders in the SQL string MUST BE :1 to :9, and MUST BE used in ascending order. :0 isn't recognized. Paul Dupuis via use-livecode wrote > Also you can lose the semicolon as LC will only execute one statement at a > time. You cannot string statements. Well, it doesn't hurt either, and I'm so used to it :) Have fun! ----- ? Livecode programming until the cat hits the fan ? -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From paul at researchware.com Thu May 16 10:10:22 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2019 10:10:22 -0400 Subject: Seeking confirmation of a bug... Message-ID: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> I just filed a serious bug for LC904 that is only under OSX. When using 'asnwer file with type ' the selected type is supposed to be returned in 'the result'. This works as expected under Windows, but under OSX using LC904 STABLE, 'the result' is the same as the 'it', both contain the file path selected. Please see https://quality.livecode.com/show_bug.cgi?id=22070 If someone running LC904 STABLE under OSX could confirm this? I tested under El Capatan. Thank you in advance. From klaus at major-k.de Thu May 16 10:26:48 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 16 May 2019 16:26:48 +0200 Subject: Seeking confirmation of a bug... In-Reply-To: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> Message-ID: Hi Paul, > Am 16.05.2019 um 16:10 schrieb Paul Dupuis via use-livecode : > > I just filed a serious bug for LC904 that is only under OSX. When using 'asnwer file with type ' the selected type is supposed to be returned in 'the result'. This works as expected under Windows, but under OSX using LC904 STABLE, 'the result' is the same as the 'it', both contain the file path selected. > > Please see https://quality.livecode.com/show_bug.cgi?id=22070 > If someone running LC904 STABLE under OSX could confirm this? I tested under El Capatan. tested on macOS 10.14.5 with LC 9.04: on mouseUp answer file "sdsdds" with type "PNG, JPEG|png,jpg|" put it & CR & the result end mouseUp IT = the filename, but the result = EMPTY! However I am not sure this is really a bug!? From the dictionary about "anser file ... with type..." ... If more than one type is specified, a drop-down list containing the tags will be displayed allowing the user to select which types of files to display. (This list is always displayed on Windows systems). ... This mentioned drop-down list does not appear on macOS! I never saw it on macOS, only on Windows. > Thank you in advance. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Thu May 16 10:32:05 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 16 May 2019 16:32:05 +0200 Subject: Seeking confirmation of a bug... In-Reply-To: References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> Message-ID: <3658FE55-F475-447F-8863-684496D42764@major-k.de> ... > From the dictionary about "anser file ... with type..." > ... > If more than one type is specified, a drop-down list containing the tags will be displayed allowing the user to select which types of files to display. (This list is always displayed on Windows systems). maybe the dictionary should read: "This list is ONLY displayed on Windows systems"? -- Klaus Major http://www.major-k.de klaus at major-k.de From paul at researchware.com Thu May 16 10:35:27 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2019 10:35:27 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> Message-ID: <13cf376b-7314-97ee-6f99-f84a1f65e4aa@researchware.com> On 5/16/2019 10:26 AM, Klaus major-k via use-livecode wrote: > answer file "sdsdds" with type "PNG, JPEG|png,jpg|" You only? tested with 1 type. Download the test stack from the bug report or try answer file "sdsdds" with type ("PNG Files|png"&cr&"JPEG Files|jpg") to actually have more than one "type" specified - it goes by type tags not the extensions listed From paul at researchware.com Thu May 16 10:40:24 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2019 10:40:24 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: <3658FE55-F475-447F-8863-684496D42764@major-k.de> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3658FE55-F475-447F-8863-684496D42764@major-k.de> Message-ID: On 5/16/2019 10:32 AM, Klaus major-k via use-livecode wrote: > maybe the dictionary should read: "This list is ONLY displayed on Windows systems"? No it is displayed under OSX IF you specify more than one type (tag) not extensions. See my previous reply. Also this fails under LC903 but works as expected under LC6.7.11, so this is most definitely a regression bug (I do not have LC 7 through 9 installed to test) From klaus at major-k.de Thu May 16 11:06:59 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 16 May 2019 17:06:59 +0200 Subject: Seeking confirmation of a bug... In-Reply-To: <13cf376b-7314-97ee-6f99-f84a1f65e4aa@researchware.com> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <13cf376b-7314-97ee-6f99-f84a1f65e4aa@researchware.com> Message-ID: Hi Paul, > Am 16.05.2019 um 16:35 schrieb Paul Dupuis via use-livecode : > > On 5/16/2019 10:26 AM, Klaus major-k via use-livecode wrote: >> answer file "sdsdds" with type "PNG, JPEG|png,jpg|" > > You only tested with 1 type. Download the test stack from the bug report or try > answer file "sdsdds" with type ("PNG Files|png"&cr&"JPEG Files|jpg") > to actually have more than one "type" specified - it goes by type tags not the extensions listed since FILETYPES will be meaningless in the current and future versions of macOS, I never tried this syntax. :-) My first script ... answer file "sdsdds" with type "PNG, JPEG|png,jpg|" ... actually ONLY shows PNG and JPEG files in the dialog as exspected! Your script: ... answer file "sdsdds" with type ("PNG Files|png"&cr&"JPEG Files|jpg") ... DOES in fact show the dropdown but lets me select ANY file in the dialog, no matter what I select in that drop-down list. Hint: The correct old-style real Mac FILETYPE would be JPEG and PNG? in this case. I tried different combinations, didn't work either. Finally this one "kinda" works, but will return the filename in IT AND the result: ... answer file "sdsdds" with type ("PNG,Jpeg" & "|png" & CR & "jpg|") ... See, I left out the actual FILETYPE parameter, as it it meaningless in current macOS versions. They are leftovers from MascOS <= 9 Looks like the CR in the "extensions" parameter forces the list to appear, although I did not get it to work correctly. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From hh at hyperhh.de Thu May 16 12:11:27 2019 From: hh at hyperhh.de (hh) Date: Thu, 16 May 2019 18:11:27 +0200 Subject: play sounds in HTML5 Message-ID: <1A67B2C8-5A30-44B2-89E8-3816D5A1EAAB@hyperhh.de> > Thanks Sean. > I will have to work hard because I am not familiar with Dynamic HTML. One simple way to do that: Write, a little bit more as Sean wrote, in your html file: Then first set in LC newsound, may be randomly: put "/audio/guitar-melody.wav" into newsound Then issue from LC: do "document.getElementById('audio1').src='" & newsound & "'" in widget "browser" That's all, nothing complicated. From jjs at krutt.org Thu May 16 12:24:32 2019 From: jjs at krutt.org (JJS) Date: Thu, 16 May 2019 18:24:32 +0200 Subject: Innards of an APK In-Reply-To: References: Message-ID: Beste Klaus, nice that you bring this up. I am working on an app (changing a desktop version to mobile) that uses sqlite. And i was under a same kind of impression, but did not check out on the device itself further. (Because if i remove the app and reinsall it should come up with a question when a db does not exist.) But for android i use "engine and for iphone "home" Is it also sqlite that they use? How did they check on the device? There still was a folder or something left? Thanks, Jerry Op 16-5-2019 om 12:20 schreef Klaus major-k via use-livecode: > Hi friends, > > this just came up in the german LC forum. > A user wrote that de-installing an app from his Android phone did not > remove database files copied to -> specialfolderpath("documents")? > > I always thought that this special folder is just a folder INSIDE of the apk > where we are allowed to write and de-installing the complete apk would > remove everything related to that app. No? > > Thanks for any info! > > > Best > > Klaus > -- > Klaus Major > http://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 May 16 12:40:05 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 16 May 2019 18:40:05 +0200 Subject: Innards of an APK In-Reply-To: References: Message-ID: <8CE5CB4A-D12D-4482-AE8D-E751EE31F4FF@major-k.de> Hi Jerry > Am 16.05.2019 um 18:24 schrieb JJS via use-livecode : > > Beste Klaus, :-) "Beste Klaus" is dutch, german is -> Bester Klaus Yep, german has a lot of different cases which makes it so hard to learn, sorry only know the latin words for the cases: Nominativ -> Der beste Mann -> the best man Genitiv -> des besten Mannes -> (of) the best man Dativ -> dem besten Mann -> the best man Akkusativ -> den vbesten Mann -> the best man :-D > nice that you bring this up. I am working on an app (changing a desktop version to mobile) that uses sqlite. > And i was under a same kind of impression, but did not check out on the device itself further. > (Because if i remove the app and reinsall it should come up with a question when a db does not exist.) > But for android i use "engine and for iphone "home" Not sure what you mean? If you add the files via the "Copy files" tab in the "standalone application settings" then they will be found in the standalone in -> specialfolderpath("resources"), which works on ALL platforms and also in the IDE! And need to be copied to -> specialfolderpath("documents") before we can use them, at least the database files. > Is it also sqlite that they use? Yes. > How did they check on the device? He wrote he used -> Total-Commander Whatever that is, I do not own any mobile device. > There still was a folder or something left? Sorry, he did not tell all the details. > Thanks, Jerry > > Op 16-5-2019 om 12:20 schreef Klaus major-k via use-livecode: >> Hi friends, >> >> this just came up in the german LC forum. >> A user wrote that de-installing an app from his Android phone did not >> remove database files copied to -> specialfolderpath("documents")? >> >> I always thought that this special folder is just a folder INSIDE of the apk >> where we are allowed to write and de-installing the complete apk would >> remove everything related to that app. No? >> >> Thanks for any info! Groetjes Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jjs at krutt.org Thu May 16 13:12:44 2019 From: jjs at krutt.org (JJS) Date: Thu, 16 May 2019 19:12:44 +0200 Subject: Innards of an APK In-Reply-To: <8CE5CB4A-D12D-4482-AE8D-E751EE31F4FF@major-k.de> References: <8CE5CB4A-D12D-4482-AE8D-E751EE31F4FF@major-k.de> Message-ID: <9327cdbc-6094-3314-2c42-d5cae5cebfbf@krutt.org> Haha dass weis ich ganz genau :) i did it on purpose as you know some Niederlandisch. Total commander is a File program which is also free to use on Windows, i use it all the time. In fact it's a program i think i use the most. But now i have also Double Commander as it is available for Linux and MacOS too. It works a 1000 times better/easier/faster than any "st*pid/unusable/unfriendly" file program on Windows/linux/macos, because you see 2 drives/folder at one time, you can zip/unzip ftp with whatever. (Double COmmander works slightly different but Total Commander is not there for MacOs) Think of good old Norton Commander. It's also for Android these days. Ok i checked with a standard File app on the tablet i use for testing but i can't find any residu. Still it does not come up with the question i need. I create the sqlite DB once it is installed the first time. It works ok in IDE, when i remove the DB. Ciao! Jerry Op 16-5-2019 om 18:40 schreef Klaus major-k via use-livecode: > Hi Jerry > >> Am 16.05.2019 um 18:24 schrieb JJS via use-livecode : >> >> Beste Klaus, > :-) > > "Beste Klaus" is dutch, german is -> Bester Klaus > > Yep, german has a lot of different cases which makes it so hard to learn, sorry only know > the latin words for the cases: > Nominativ -> Der beste Mann -> the best man > Genitiv -> des besten Mannes -> (of) the best man > Dativ -> dem besten Mann -> the best man > Akkusativ -> den vbesten Mann -> the best man > :-D > >> nice that you bring this up. I am working on an app (changing a desktop version to mobile) that uses sqlite. >> And i was under a same kind of impression, but did not check out on the device itself further. >> (Because if i remove the app and reinsall it should come up with a question when a db does not exist.) >> But for android i use "engine and for iphone "home" > Not sure what you mean? If you add the files via the "Copy files" tab in the "standalone application settings" > then they will be found in the standalone in -> specialfolderpath("resources"), which works on ALL platforms > and also in the IDE! > > And need to be copied to -> specialfolderpath("documents") before we can use them, at least the database files. > >> Is it also sqlite that they use? > Yes. > >> How did they check on the device? > He wrote he used -> Total-Commander > Whatever that is, I do not own any mobile device. > >> There still was a folder or something left? > Sorry, he did not tell all the details. > >> Thanks, Jerry >> >> Op 16-5-2019 om 12:20 schreef Klaus major-k via use-livecode: >>> Hi friends, >>> >>> this just came up in the german LC forum. >>> A user wrote that de-installing an app from his Android phone did not >>> remove database files copied to -> specialfolderpath("documents")? >>> >>> I always thought that this special folder is just a folder INSIDE of the apk >>> where we are allowed to write and de-installing the complete apk would >>> remove everything related to that app. No? >>> >>> Thanks for any info! > Groetjes > > Klaus > > -- > Klaus Major > http://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 jjs at krutt.org Thu May 16 13:19:17 2019 From: jjs at krutt.org (JJS) Date: Thu, 16 May 2019 19:19:17 +0200 Subject: Innards of an APK In-Reply-To: <8CE5CB4A-D12D-4482-AE8D-E751EE31F4FF@major-k.de> References: <8CE5CB4A-D12D-4482-AE8D-E751EE31F4FF@major-k.de> Message-ID: By the way. There is one thing i noticed before. When the app is still installed and you go to Settings-->apps-->theapp then clear cache or other data before removing, then stuff related should also be gone. I noticed once with another app. They can try it. But indeed normally nothing should be left behind i guess with an LC app. Although other non-lc apps do leave stuff behind sometimes. Op 16-5-2019 om 18:40 schreef Klaus major-k via use-livecode: > Hi Jerry > >> Am 16.05.2019 um 18:24 schrieb JJS via use-livecode : >> >> Beste Klaus, > :-) > > "Beste Klaus" is dutch, german is -> Bester Klaus > > Yep, german has a lot of different cases which makes it so hard to learn, sorry only know > the latin words for the cases: > Nominativ -> Der beste Mann -> the best man > Genitiv -> des besten Mannes -> (of) the best man > Dativ -> dem besten Mann -> the best man > Akkusativ -> den vbesten Mann -> the best man > :-D > >> nice that you bring this up. I am working on an app (changing a desktop version to mobile) that uses sqlite. >> And i was under a same kind of impression, but did not check out on the device itself further. >> (Because if i remove the app and reinsall it should come up with a question when a db does not exist.) >> But for android i use "engine and for iphone "home" > Not sure what you mean? If you add the files via the "Copy files" tab in the "standalone application settings" > then they will be found in the standalone in -> specialfolderpath("resources"), which works on ALL platforms > and also in the IDE! > > And need to be copied to -> specialfolderpath("documents") before we can use them, at least the database files. > >> Is it also sqlite that they use? > Yes. > >> How did they check on the device? > He wrote he used -> Total-Commander > Whatever that is, I do not own any mobile device. > >> There still was a folder or something left? > Sorry, he did not tell all the details. > >> Thanks, Jerry >> >> Op 16-5-2019 om 12:20 schreef Klaus major-k via use-livecode: >>> Hi friends, >>> >>> this just came up in the german LC forum. >>> A user wrote that de-installing an app from his Android phone did not >>> remove database files copied to -> specialfolderpath("documents")? >>> >>> I always thought that this special folder is just a folder INSIDE of the apk >>> where we are allowed to write and de-installing the complete apk would >>> remove everything related to that app. No? >>> >>> Thanks for any info! > Groetjes > > Klaus > > -- > Klaus Major > http://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 May 16 13:21:57 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 16 May 2019 19:21:57 +0200 Subject: Innards of an APK In-Reply-To: References: <8CE5CB4A-D12D-4482-AE8D-E751EE31F4FF@major-k.de> Message-ID: <9D3E99B1-4156-49BE-A99E-F04F3369960C@major-k.de> Hi Jerry, > Am 16.05.2019 um 19:19 schrieb JJS via use-livecode : > > By the way. > > There is one thing i noticed before. > When the app is still installed and you go to Settings-->apps-->theapp then clear cache or other data before removing, then stuff related should also be gone. > I noticed once with another app. They can try it. But indeed normally nothing should be left behind i guess with an LC app. > Although other non-lc apps do leave stuff behind sometimes. ah, thanks will pass this info over to the forum user! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Thu May 16 13:30:22 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 May 2019 10:30:22 -0700 Subject: Seeking confirmation of a bug... In-Reply-To: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> Message-ID: <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> Paul Dupuis wrote: > I just filed a serious bug for LC904 that is only under OSX. When > using 'asnwer file with type ' the selected type is > supposed to be returned in 'the result'. This works as expected under > Windows, but under OSX using LC904 STABLE, 'the result' is the same as > the 'it', both contain the file path selected. > > Please see https://quality.livecode.com/show_bug.cgi?id=22070 While it will be useful to have this fixed, the current state of macOS should provide a mildly-tedious-but-not-difficult workaround: The older Finder type codes (the four-character identifiers hidden away in the file's metadata) are long deprecated, and for more than a decade macOS relies on file extensions to determine type. Since the range of type options is limited to types you set, a few minutes writing a function to match the file extension with the type categories you provided should at least get you going while waiting for an engine fix. In the odd case where you may encounter a very old (or misnamed) file that has no type extension in its name, you could extend the function to see if the old Finder type is included in info provided with "the detailed files". If you were super-thorough, you might even provide another check of file contents to confirm type. Image formats have magic numbers, and text formats have patterns identifiable within a reasonably small number of bytes. A short read can confirm the type of misnamed files even beyond what can be expected with "answer file". Psuedocode: getFileNameExtension(fileName) if absent getDetailedFilesInfo convertFourCharTypetoExtensionString end if switch fileType case "png" case "jpg" case "jpeg" return "image" break case "text" case "rtf" return "text" break end switch -- bonus: confirmTypeByReadingSomeContent The case block for your supported types is likely still in your code base. Copying it to a new function and adding the earlier step of handling missing types by Finder code (if not already there) will make short work of 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 jacque at hyperactivesw.com Thu May 16 14:04:26 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 May 2019 13:04:26 -0500 Subject: Innards of an APK In-Reply-To: References: <8CE5CB4A-D12D-4482-AE8D-E751EE31F4FF@major-k.de> Message-ID: <16ac1d11410.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Also, if the files are stored in the external documents folder, they won't be deleted. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 16, 2019 12:20:43 PM JJS via use-livecode wrote: > By the way. > > There is one thing i noticed before. > > When the app is still installed and you go to Settings-->apps-->theapp > then clear cache or other data before removing, then stuff related > should also be gone. > > I noticed once with another app. They can try it. But indeed normally > nothing should be left behind i guess with an LC app. > > Although other non-lc apps do leave stuff behind sometimes. > > > Op 16-5-2019 om 18:40 schreef Klaus major-k via use-livecode: >> Hi Jerry >> >>> Am 16.05.2019 um 18:24 schrieb JJS via use-livecode >>> : >>> >>> Beste Klaus, >> :-) >> >> "Beste Klaus" is dutch, german is -> Bester Klaus >> >> Yep, german has a lot of different cases which makes it so hard to learn, >> sorry only know >> the latin words for the cases: >> Nominativ -> Der beste Mann -> the best man >> Genitiv -> des besten Mannes -> (of) the best man >> Dativ -> dem besten Mann -> the best man >> Akkusativ -> den vbesten Mann -> the best man >> :-D >> >>> nice that you bring this up. I am working on an app (changing a desktop >>> version to mobile) that uses sqlite. >>> And i was under a same kind of impression, but did not check out on the >>> device itself further. >>> (Because if i remove the app and reinsall it should come up with a question >>> when a db does not exist.) >>> But for android i use "engine and for iphone "home" >> Not sure what you mean? If you add the files via the "Copy files" tab in >> the "standalone application settings" >> then they will be found in the standalone in -> >> specialfolderpath("resources"), which works on ALL platforms >> and also in the IDE! >> >> And need to be copied to -> specialfolderpath("documents") before we can >> use them, at least the database files. >> >>> Is it also sqlite that they use? >> Yes. >> >>> How did they check on the device? >> He wrote he used -> Total-Commander >> Whatever that is, I do not own any mobile device. >> >>> There still was a folder or something left? >> Sorry, he did not tell all the details. >> >>> Thanks, Jerry >>> >>> Op 16-5-2019 om 12:20 schreef Klaus major-k via use-livecode: >>>> Hi friends, >>>> >>>> this just came up in the german LC forum. >>>> A user wrote that de-installing an app from his Android phone did not >>>> remove database files copied to -> specialfolderpath("documents")? >>>> >>>> I always thought that this special folder is just a folder INSIDE of the apk >>>> where we are allowed to write and de-installing the complete apk would >>>> remove everything related to that app. No? >>>> >>>> Thanks for any info! >> Groetjes >> >> Klaus >> >> -- >> Klaus Major >> http://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 paul at researchware.com Thu May 16 15:26:30 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2019 15:26:30 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> Message-ID: <379ff617-b8b5-f39a-8b54-61d376ca45b7@researchware.com> Certainly there is a work around based on extensions. You and I have both written them for Researchware ;-) However, Jeanne used this feature extensively in a bunch of file i/o code she wrote for Researchware for HyperTRANSCRIBE and HyperRESEARCH exports to many formats, which is why/how I discovered it. Both HR and HT are in mid-beta on LC9 releases. I have already written work-around code. What I am really looking for is CONFIRMATION this is a bug. I have not checked LC7 yet, but it was working in LC 6.7.11 and is not working in 8.1.10 and 9.0.0 through 9.0.4. I am sometimes astonished that a bug like this can go undetected through so many releases. It causes me to worry about the adoption of LC as a serious commercial application building tool. However, ultimately, LC's many advantages outweigh an issue like the length of time this bug has gone undetected. -- Paul On 5/16/2019 1:30 PM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > I just filed a serious bug for LC904 that is only under OSX. When > > using 'asnwer file with type ' the selected type is > > supposed to be returned in 'the result'. This works as expected under > > Windows, but under OSX using LC904 STABLE, 'the result' is the same as > > the 'it', both contain the file path selected. > > > > Please see https://quality.livecode.com/show_bug.cgi?id=22070 > > While it will be useful to have this fixed, the current state of macOS > should provide a mildly-tedious-but-not-difficult workaround: > > The older Finder type codes (the four-character identifiers hidden > away in the file's metadata) are long deprecated, and for more than a > decade macOS relies on file extensions to determine type. > > Since the range of type options is limited to types you set, a few > minutes writing a function to match the file extension with the type > categories you provided should at least get you going while waiting > for an engine fix. > > In the odd case where you may encounter a very old (or misnamed) file > that has no type extension in its name, you could extend the function > to see if the old Finder type is included in info provided with "the > detailed files". > > If you were super-thorough, you might even provide another check of > file contents to confirm type.? Image formats have magic numbers, and > text formats have patterns identifiable within a reasonably small > number of bytes.? A short read can confirm the type of misnamed files > even beyond what can be expected with "answer file". > > > Psuedocode: > > ? getFileNameExtension(fileName) > ? if absent > ???? getDetailedFilesInfo > ???? convertFourCharTypetoExtensionString > ? end if > ? switch fileType > ???? case "png" > ???? case "jpg" > ???? case "jpeg" > ??????? return "image" > ??????? break > ???? case "text" > ???? case "rtf" > ??????? return "text" > ??????? break > ?? end switch > ?? -- bonus: > ?? confirmTypeByReadingSomeContent > > > The case block for your supported types is likely still in your code > base.? Copying it to a new function and adding the earlier step of > handling missing types by Finder code (if not already there) will make > short work of this. > From monte at appisle.net Thu May 16 15:43:03 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 17 May 2019 05:43:03 +1000 Subject: Seeking confirmation of a bug... In-Reply-To: <379ff617-b8b5-f39a-8b54-61d376ca45b7@researchware.com> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> <379ff617-b8b5-f39a-8b54-61d376ca45b7@researchware.com> Message-ID: <73D0DECB-438B-4252-9919-BF9DF7ABE3B7@appisle.net> Hi Paul I can confirm it is broken. I?ll patch it this morning. If it has been broken at some point during the refactor as the blame commit hash is a merge at that time. It?s an easy fix though which is good ;-) Cheers Monte > On 17 May 2019, at 5:26 am, Paul Dupuis via use-livecode wrote: > > Certainly there is a work around based on extensions. You and I have both written them for Researchware ;-) However, Jeanne used this feature extensively in a bunch of file i/o code she wrote for Researchware for HyperTRANSCRIBE and HyperRESEARCH exports to many formats, which is why/how I discovered it. Both HR and HT are in mid-beta on LC9 releases. > > I have already written work-around code. What I am really looking for is CONFIRMATION this is a bug. > > I have not checked LC7 yet, but it was working in LC 6.7.11 and is not working in 8.1.10 and 9.0.0 through 9.0.4. I am sometimes astonished that a bug like this can go undetected through so many releases. It causes me to worry about the adoption of LC as a serious commercial application building tool. However, ultimately, LC's many advantages outweigh an issue like the length of time this bug has gone undetected. > > -- Paul > > On 5/16/2019 1:30 PM, Richard Gaskin via use-livecode wrote: >> Paul Dupuis wrote: >> >> > I just filed a serious bug for LC904 that is only under OSX. When >> > using 'asnwer file with type ' the selected type is >> > supposed to be returned in 'the result'. This works as expected under >> > Windows, but under OSX using LC904 STABLE, 'the result' is the same as >> > the 'it', both contain the file path selected. >> > >> > Please see https://quality.livecode.com/show_bug.cgi?id=22070 >> >> While it will be useful to have this fixed, the current state of macOS should provide a mildly-tedious-but-not-difficult workaround: >> >> The older Finder type codes (the four-character identifiers hidden away in the file's metadata) are long deprecated, and for more than a decade macOS relies on file extensions to determine type. >> >> Since the range of type options is limited to types you set, a few minutes writing a function to match the file extension with the type categories you provided should at least get you going while waiting for an engine fix. >> >> In the odd case where you may encounter a very old (or misnamed) file that has no type extension in its name, you could extend the function to see if the old Finder type is included in info provided with "the detailed files". >> >> If you were super-thorough, you might even provide another check of file contents to confirm type. Image formats have magic numbers, and text formats have patterns identifiable within a reasonably small number of bytes. A short read can confirm the type of misnamed files even beyond what can be expected with "answer file". >> >> >> Psuedocode: >> >> getFileNameExtension(fileName) >> if absent >> getDetailedFilesInfo >> convertFourCharTypetoExtensionString >> end if >> switch fileType >> case "png" >> case "jpg" >> case "jpeg" >> return "image" >> break >> case "text" >> case "rtf" >> return "text" >> break >> end switch >> -- bonus: >> confirmTypeByReadingSomeContent >> >> >> The case block for your supported types is likely still in your code base. Copying it to a new function and adding the earlier step of handling missing types by Finder code (if not already there) will make short work of this. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 monte at appisle.net Thu May 16 15:53:01 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 17 May 2019 05:53:01 +1000 Subject: Seeking confirmation of a bug... In-Reply-To: <73D0DECB-438B-4252-9919-BF9DF7ABE3B7@appisle.net> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> <379ff617-b8b5-f39a-8b54-61d376ca45b7@researchware.com> <73D0DECB-438B-4252-9919-BF9DF7ABE3B7@appisle.net> Message-ID: https://github.com/livecode/livecode/pull/7056 > On 17 May 2019, at 5:43 am, Monte Goulding via use-livecode wrote: > > Hi Paul > > I can confirm it is broken. I?ll patch it this morning. If it has been broken at some point during the refactor as the blame commit hash is a merge at that time. It?s an easy fix though which is good ;-) > > Cheers > > Monte > >> On 17 May 2019, at 5:26 am, Paul Dupuis via use-livecode wrote: >> >> Certainly there is a work around based on extensions. You and I have both written them for Researchware ;-) However, Jeanne used this feature extensively in a bunch of file i/o code she wrote for Researchware for HyperTRANSCRIBE and HyperRESEARCH exports to many formats, which is why/how I discovered it. Both HR and HT are in mid-beta on LC9 releases. >> >> I have already written work-around code. What I am really looking for is CONFIRMATION this is a bug. >> >> I have not checked LC7 yet, but it was working in LC 6.7.11 and is not working in 8.1.10 and 9.0.0 through 9.0.4. I am sometimes astonished that a bug like this can go undetected through so many releases. It causes me to worry about the adoption of LC as a serious commercial application building tool. However, ultimately, LC's many advantages outweigh an issue like the length of time this bug has gone undetected. >> >> -- Paul >> >> On 5/16/2019 1:30 PM, Richard Gaskin via use-livecode wrote: >>> Paul Dupuis wrote: >>> >>>> I just filed a serious bug for LC904 that is only under OSX. When >>>> using 'asnwer file with type ' the selected type is >>>> supposed to be returned in 'the result'. This works as expected under >>>> Windows, but under OSX using LC904 STABLE, 'the result' is the same as >>>> the 'it', both contain the file path selected. >>>> >>>> Please see https://quality.livecode.com/show_bug.cgi?id=22070 >>> >>> While it will be useful to have this fixed, the current state of macOS should provide a mildly-tedious-but-not-difficult workaround: >>> >>> The older Finder type codes (the four-character identifiers hidden away in the file's metadata) are long deprecated, and for more than a decade macOS relies on file extensions to determine type. >>> >>> Since the range of type options is limited to types you set, a few minutes writing a function to match the file extension with the type categories you provided should at least get you going while waiting for an engine fix. >>> >>> In the odd case where you may encounter a very old (or misnamed) file that has no type extension in its name, you could extend the function to see if the old Finder type is included in info provided with "the detailed files". >>> >>> If you were super-thorough, you might even provide another check of file contents to confirm type. Image formats have magic numbers, and text formats have patterns identifiable within a reasonably small number of bytes. A short read can confirm the type of misnamed files even beyond what can be expected with "answer file". >>> >>> >>> Psuedocode: >>> >>> getFileNameExtension(fileName) >>> if absent >>> getDetailedFilesInfo >>> convertFourCharTypetoExtensionString >>> end if >>> switch fileType >>> case "png" >>> case "jpg" >>> case "jpeg" >>> return "image" >>> break >>> case "text" >>> case "rtf" >>> return "text" >>> break >>> end switch >>> -- bonus: >>> confirmTypeByReadingSomeContent >>> >>> >>> The case block for your supported types is likely still in your code base. Copying it to a new function and adding the earlier step of handling missing types by Finder code (if not already there) will make short work of this. >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 paul at researchware.com Thu May 16 16:25:51 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2019 16:25:51 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> <379ff617-b8b5-f39a-8b54-61d376ca45b7@researchware.com> <73D0DECB-438B-4252-9919-BF9DF7ABE3B7@appisle.net> Message-ID: <79791b53-2211-810f-9e35-92568700acd1@researchware.com> Thank you Monte! I just added an updated test stack that showed another issue of only a single file type is specified. If you have have a chance could you check that the fix addresses that use case too? Thanks! On 5/16/2019 3:53 PM, Monte Goulding via use-livecode wrote: > https://github.com/livecode/livecode/pull/7056 > >> On 17 May 2019, at 5:43 am, Monte Goulding via use-livecode wrote: >> >> Hi Paul >> >> I can confirm it is broken. I?ll patch it this morning. If it has been broken at some point during the refactor as the blame commit hash is a merge at that time. It?s an easy fix though which is good ;-) >> >> Cheers >> >> Monte >> >>> On 17 May 2019, at 5:26 am, Paul Dupuis via use-livecode wrote: >>> >>> Certainly there is a work around based on extensions. You and I have both written them for Researchware ;-) However, Jeanne used this feature extensively in a bunch of file i/o code she wrote for Researchware for HyperTRANSCRIBE and HyperRESEARCH exports to many formats, which is why/how I discovered it. Both HR and HT are in mid-beta on LC9 releases. >>> >>> I have already written work-around code. What I am really looking for is CONFIRMATION this is a bug. >>> >>> I have not checked LC7 yet, but it was working in LC 6.7.11 and is not working in 8.1.10 and 9.0.0 through 9.0.4. I am sometimes astonished that a bug like this can go undetected through so many releases. It causes me to worry about the adoption of LC as a serious commercial application building tool. However, ultimately, LC's many advantages outweigh an issue like the length of time this bug has gone undetected. >>> >>> -- Paul >>> >>> On 5/16/2019 1:30 PM, Richard Gaskin via use-livecode wrote: >>>> Paul Dupuis wrote: >>>> >>>>> I just filed a serious bug for LC904 that is only under OSX. When >>>>> using 'asnwer file with type ' the selected type is >>>>> supposed to be returned in 'the result'. This works as expected under >>>>> Windows, but under OSX using LC904 STABLE, 'the result' is the same as >>>>> the 'it', both contain the file path selected. >>>>> >>>>> Please see https://quality.livecode.com/show_bug.cgi?id=22070 >>>> While it will be useful to have this fixed, the current state of macOS should provide a mildly-tedious-but-not-difficult workaround: >>>> >>>> The older Finder type codes (the four-character identifiers hidden away in the file's metadata) are long deprecated, and for more than a decade macOS relies on file extensions to determine type. >>>> >>>> Since the range of type options is limited to types you set, a few minutes writing a function to match the file extension with the type categories you provided should at least get you going while waiting for an engine fix. >>>> >>>> In the odd case where you may encounter a very old (or misnamed) file that has no type extension in its name, you could extend the function to see if the old Finder type is included in info provided with "the detailed files". >>>> >>>> If you were super-thorough, you might even provide another check of file contents to confirm type. Image formats have magic numbers, and text formats have patterns identifiable within a reasonably small number of bytes. A short read can confirm the type of misnamed files even beyond what can be expected with "answer file". >>>> >>>> >>>> Psuedocode: >>>> >>>> getFileNameExtension(fileName) >>>> if absent >>>> getDetailedFilesInfo >>>> convertFourCharTypetoExtensionString >>>> end if >>>> switch fileType >>>> case "png" >>>> case "jpg" >>>> case "jpeg" >>>> return "image" >>>> break >>>> case "text" >>>> case "rtf" >>>> return "text" >>>> break >>>> end switch >>>> -- bonus: >>>> confirmTypeByReadingSomeContent >>>> >>>> >>>> The case block for your supported types is likely still in your code base. Copying it to a new function and adding the earlier step of handling missing types by Finder code (if not already there) will make short work of this. >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 brahma at hindu.org Thu May 16 16:42:53 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 16 May 2019 20:42:53 +0000 Subject: Failure to build on Android. Message-ID: <536946F6-A379-4C28-A4FB-94BE8FA4AD67@hindu.org> Less that 36 hour went by, when I could build on Android. Then today, 9.0.4 and also 9.0.5 (rc1) (# congratulations to team!) I am getting the from the Development?Test Target--> Android [id#] Installation of app failed: adb: fail to install /private/var/folders/t8/70nlq..../T/TemporaryItems/tmp.442.ljdgCONh.apk Failure [INSTALL_FAILED_VERSION_DOWNGRADE] =========== Mac, Mojave, jdk 1.8.0_171.jdk Which, according release notes, should still work (has all along) Moto6 Android 8.0.0 From ahsoftware at sonic.net Thu May 16 16:52:33 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 16 May 2019 13:52:33 -0700 Subject: Seeking confirmation of a bug... In-Reply-To: References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> <379ff617-b8b5-f39a-8b54-61d376ca45b7@researchware.com> <73D0DECB-438B-4252-9919-BF9DF7ABE3B7@appisle.net> Message-ID: <6f64c6ff-68b2-7db1-9543-25e3c7b751a0@sonic.net> On 5/16/19 12:53 PM, Monte Goulding via use-livecode wrote: > https://github.com/livecode/livecode/pull/7056 Wow! That was a fast fix! -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Thu May 16 17:23:08 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 17 May 2019 07:23:08 +1000 Subject: Failure to build on Android. In-Reply-To: <536946F6-A379-4C28-A4FB-94BE8FA4AD67@hindu.org> References: <536946F6-A379-4C28-A4FB-94BE8FA4AD67@hindu.org> Message-ID: I think it?s complaining the version of your app is lower that the installed version. Perhaps either bump it up or manually delete the installed version. > On 17 May 2019, at 6:42 am, Sannyasin Brahmanathaswami via use-livecode wrote: > > Less that 36 hour went by, when I could build on Android. > > Then today, 9.0.4 and also 9.0.5 (rc1) (# congratulations to team!) > > I am getting the from the Development?Test Target--> Android [id#] > > Installation of app failed: adb: fail to install > /private/var/folders/t8/70nlq..../T/TemporaryItems/tmp.442.ljdgCONh.apk > Failure [INSTALL_FAILED_VERSION_DOWNGRADE] > > =========== > Mac, Mojave, jdk 1.8.0_171.jdk > > Which, according release notes, should still work (has all along) > > Moto6 > Android 8.0.0 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 monte at appisle.net Thu May 16 17:29:28 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 17 May 2019 07:29:28 +1000 Subject: Seeking confirmation of a bug... In-Reply-To: <79791b53-2211-810f-9e35-92568700acd1@researchware.com> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> <379ff617-b8b5-f39a-8b54-61d376ca45b7@researchware.com> <73D0DECB-438B-4252-9919-BF9DF7ABE3B7@appisle.net> <79791b53-2211-810f-9e35-92568700acd1@researchware.com> Message-ID: > On 17 May 2019, at 6:25 am, Paul Dupuis via use-livecode wrote: > > Thank you Monte! > > I just added an updated test stack that showed another issue of only a single file type is specified. If you have have a chance could you check that the fix addresses that use case too? I think it would be best to open a separate report about the inconsistency when there?s only a single type specified. The original report is a clear regression from the refactor while the difference between mac and win when only a single type is specified was always the case I think. We need to figure out whether to document the inconsistency or fix for one platform or the other. Note that this command setting both it and the result is actually a documented anomaly so perhaps if we have the choice the result should be cleared. > On 17 May 2019, at 6:52 am, Mark Wieder via use-livecode wrote: > > On 5/16/19 12:53 PM, Monte Goulding via use-livecode wrote: >> https://github.com/livecode/livecode/pull/7056 > > Wow! That was a fast fix! Haha? well I?m shifting my body clock from Tasmanian time to San Jose time over the next few days so up today at 5AM and this seemed helpful to sort out. Tomorrow it?s 4AM ? Cheers Monte From monte at appisle.net Thu May 16 18:30:54 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 17 May 2019 08:30:54 +1000 Subject: Seeking confirmation of a bug... In-Reply-To: References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> <379ff617-b8b5-f39a-8b54-61d376ca45b7@researchware.com> <73D0DECB-438B-4252-9919-BF9DF7ABE3B7@appisle.net> <79791b53-2211-810f-9e35-92568700acd1@researchware.com> Message-ID: <74EF7A2A-81ED-43AC-BA5B-DAB6E0C378E7@appisle.net> > On 17 May 2019, at 7:29 am, Monte Goulding via use-livecode wrote: > >> I just added an updated test stack that showed another issue of only a single file type is specified. If you have have a chance could you check that the fix addresses that use case too? > > I think it would be best to open a separate report about the inconsistency when there?s only a single type specified. The original report is a clear regression from the refactor while the difference between mac and win when only a single type is specified was always the case I think. We need to figure out whether to document the inconsistency or fix for one platform or the other. Note that this command setting both it and the result is actually a documented anomaly so perhaps if we have the choice the result should be cleared. I opened this separate issue for the platform inconsistency issue which is worse on Linux as it doesn?t set the result at all https://quality.livecode.com/show_bug.cgi?id=22071 From paul at researchware.com Thu May 16 19:14:14 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2019 19:14:14 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: <74EF7A2A-81ED-43AC-BA5B-DAB6E0C378E7@appisle.net> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3458c120-155d-7651-56da-8ff7a52829c8@fourthworld.com> <379ff617-b8b5-f39a-8b54-61d376ca45b7@researchware.com> <73D0DECB-438B-4252-9919-BF9DF7ABE3B7@appisle.net> <79791b53-2211-810f-9e35-92568700acd1@researchware.com> <74EF7A2A-81ED-43AC-BA5B-DAB6E0C378E7@appisle.net> Message-ID: Thank you Monte! I just finished dinner and was sitting down to enter a new bug when I saw you had already done it! On 5/16/2019 6:30 PM, Monte Goulding via use-livecode wrote: > >> On 17 May 2019, at 7:29 am, Monte Goulding via use-livecode wrote: >> >>> I just added an updated test stack that showed another issue of only a single file type is specified. If you have have a chance could you check that the fix addresses that use case too? >> I think it would be best to open a separate report about the inconsistency when there?s only a single type specified. The original report is a clear regression from the refactor while the difference between mac and win when only a single type is specified was always the case I think. We need to figure out whether to document the inconsistency or fix for one platform or the other. Note that this command setting both it and the result is actually a documented anomaly so perhaps if we have the choice the result should be cleared. > > I opened this separate issue for the platform inconsistency issue which is worse on Linux as it doesn?t set the result at all https://quality.livecode.com/show_bug.cgi?id=22071 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 16 19:35:38 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 May 2019 16:35:38 -0700 Subject: Seeking confirmation of a bug... Message-ID: <86ccd23d-87bc-b827-9090-f594a89f7f5b@fourthworld.com> Paul Dupuis wrote: > I am sometimes astonished that a bug like this can go undetected > through so many releases. It causes me to worry about the adoption > of LC as a serious commercial application building tool. This is why I do my daily work in the latest available build, and encourage others to do the same. And it's why I'm generally happy with the progress on issues I report. When I work in the latest build, I see issues that affect my work quickly. I report them quickly. And, as we've seen here, they're often resolved quickly. LC has thousands of features, with gawdknowshowmany options for using them all, a combinatorial explosion of possibilities. The odds that someone else might happen to need the same mix of options my work relies on seem low. So I use the current version. I everyone did, issues like this would be found sooner, and resolved sooner. -- 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 brahma at hindu.org Thu May 16 19:57:52 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 16 May 2019 23:57:52 +0000 Subject: Resize Stack Sent Everytime a Stack Opens? In-Reply-To: References: <5d4e99c7-aca4-45b4-9b3f-47e4c6261960@Spark> <17802848-8AB2-42DA-948D-669C0A032286@hindu.org> Message-ID: <56DE8D9E-06FE-4B39-A0A4-62DAAC964E30@hindu.org> OK with the help of Brian off list I go something going! But I have a confession to make and a bug to report 1) in middle of the script, in logging, I used a Put "somevalue" into fld "log" Which of course removed anything before that, including a "resize" stack, which had log entries. 2) But, it not all my fault (hehe) With Brian's help (and Richard persistently point by point "what should happen, if is it not, it is a bug...,") I learned that a) orientationChanged fires first, and then b) resizestack, x,y,oldX,oldY fire next and *then* it renders. (needs to be in the dictionary!) Simple! I made a clone of the production stack, copied the new behavior script made Brian's with help (Thanks Brian!) and made a little light weight standalone for testing and it worked. So I thought "ahha gotcha now" and copied the stack into my modular framework, back in, and tested it. It did not work! But they are virtually identical? What could be wrong? The only thing was how it was opened, by the IDE and by my code? Well the reason for my going around in circles about resizestack not firing, is, because the resizestack is not fired if you "go to stack in window..." if (cardOrStackObject is not among the items of tLandScapeModeStacks) AND \ (trueword 2 of cardOrStackObject is not among the items of tLandScapeModeStacks) AND \ (oStackName is not among the items of tLandScapeModeStacks) then --go cardOrStackObject in stack oStackName # you do this, you get nothing in resizestack --close stack oStackName # I changed to this: close stack oStackName go cardOrStackObject else ntInfo "close one; open next" close stack oStackName go cardOrStackObject end if And so, I was fight my geometry handlers when it was in really the navigation, from one stack to the next. All of the above gets reduced to : ntInfo "close one; open next" close stack oStackName go cardOrStackObject BR ?On 5/13/19, 6:26 PM, "use-livecode on behalf of Brian Milby via use-livecode" wrote: I'll send a copy of the stack separately, but here are my thoughts: - Caveat that I only have an Amazon Fire available for testing - resizeStack does get called, before openCard on card Loader - no field "log" exists on card "Loader" which is probably why resizeStack was not working - I added "addLog" and "clearLog" handlers to allow for logging from any card - when launched, I get a "resizeStack 600,952,414,736" call - nav bar is never positioned off screen I made the above notes on LC 9.0.1; I then installed 9.0.4 and found different issues - there is a visible shift of the log box (corrected with below changes) - moved script locals to preOpenStack so they would be available sooner - moved orientation code to preOpenStack Thanks, Brian From paul at researchware.com Thu May 16 21:27:53 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 May 2019 21:27:53 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: <86ccd23d-87bc-b827-9090-f594a89f7f5b@fourthworld.com> References: <86ccd23d-87bc-b827-9090-f594a89f7f5b@fourthworld.com> Message-ID: <6833a257-a386-3d72-7eb1-71e7666f6a2f@researchware.com> On 5/16/2019 7:35 PM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > I am sometimes astonished that a bug like this can go undetected > > through so many releases. It causes me to worry about the adoption > > of LC as a serious commercial application building tool. > > This is why I do my daily work in the latest available build, and > encourage others to do the same. I completely agree. I am now on LC9 for everything - 904 and tomorrow (didn't have time today) I'll download 905. HT450 and HT200 are on LC9 and in mid-beta. It makes so many thing easier to be current on the engine. I had though that given how text intensive HR is, that I would have had a lot of work to adjust to "Unicode everywhere", but there was surprisingly little. Lots for the adjustment to DirectShow. And there is lots of text handling that can now be simplified under LC9, but very little I had to do becase the move from LC6.7.11 to LC9 broke something. That amazed me that the folks in Scotland made such a huge engine change that backwards compatible. > > And it's why I'm generally happy with the progress on issues I report. I have to say Monte fix for this bug may have set a new record! (Thanks again Monte!) > > When I work in the latest build, I see issues that affect my work > quickly. I report them quickly.? And, as we've seen here, they're > often resolved quickly. I find that true as well. I've reported a fair number of bugs against versions of 9 and they have all been resolved very quickly. > > LC has thousands of features, with gawdknowshowmany options for using > them all, a combinatorial explosion of possibilities. The odds that > someone else might happen to need the same mix of options my work > relies on seem low. > > So I use the current version. > > I everyone did, issues like this would be found sooner, and resolved > sooner. I wish more people who find bugs took the time to file quality bug reports - with recipes and/or test stacks. It is sometime a pain to add that to a busy day, but my experience has been it always pays off with a fix for the bug in reasonable time, sometimes fast enough that work-around code is not necessary. From brahma at hindu.org Thu May 16 23:12:56 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 17 May 2019 03:12:56 +0000 Subject: Failure to build on Android. In-Reply-To: References: <536946F6-A379-4C28-A4FB-94BE8FA4AD67@hindu.org> Message-ID: You were right, plus caveat. You cannot test, with the same development key, two different stacks. it was balking at having "rotationTest9.livecode" on the phone at the same time Once I deleted "rotationTest9.livecode", then "myApp.app" was installed without errors. BR ?On 5/16/19, 11:23 AM, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: I think it?s complaining the version of your app is lower that the installed version. Perhaps either bump it up or manually delete the installed version. From monte at appisle.net Fri May 17 00:18:26 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 17 May 2019 14:18:26 +1000 Subject: Failure to build on Android. In-Reply-To: References: <536946F6-A379-4C28-A4FB-94BE8FA4AD67@hindu.org> Message-ID: Hmm? did they have the same application identifier? > On 17 May 2019, at 1:12 pm, Sannyasin Brahmanathaswami via use-livecode wrote: > > You were right, plus caveat. You cannot test, with the same development key, two different stacks. > > it was balking at having "rotationTest9.livecode" on the phone at the same time > > Once I deleted "rotationTest9.livecode", then "myApp.app" was installed without errors. > > BR > > ?On 5/16/19, 11:23 AM, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: > > I think it?s complaining the version of your app is lower that the installed version. Perhaps either bump it up or manually delete the installed version. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 lists at mangomultimedia.com Fri May 17 09:51:59 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 May 2019 08:51:59 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On Tue, May 14, 2019 at 2:51 AM trevix via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Trevor. > I know that is a bit late and that I will not be able to attend anyhow > (sigh). > > I would love to see how to implement the Flic Bluetooth button library ( > www.flic.io ). > It is a small battery powered button that interact with iOS, Desktop and > Android (1 click, 2 click, hold click) > > Libraries are available for Swift, ObjC and C++ here, with working xCode > example: > https://github.com/50ButtonsEach > and a tutorial here > https://partners.flic.io/partners/devel ... s-tutorial < > https://partners.flic.io/partners/developers/ios-tutorial> > Thanks for the suggestion Trevix. While I won't be able to spend time on this particular library perhaps someone else will after the session! -- Trevor DeVore ScreenSteps https://www.screensteps.com From lists at mangomultimedia.com Fri May 17 10:01:39 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 May 2019 09:01:39 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On Sat, May 11, 2019 at 8:20 AM Michael Muthmannn via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Trevor, > > In the forums a couple of times there were some questions about MQTT > integration into livecode. > > I found found a native Objective-C iOS library here: > > https://github.com/novastone-media/MQTT ... -Framework > I decided to look into this further and I eventually found libMosquitto. It is a C library with an API that that could be wrapped with FFI without too much trouble (no structs within structs that I had to deal with). With Mark and Monte's help I now have a library on macOS that can connect to the test.mosquitto.org server and publish/subscribe to topics. So we should be able to send messages around to each other during the workshop! Hopefully there are no surprises on the Windows side... -- Trevor DeVore ScreenSteps https://www.screensteps.com From curry at pair.com Fri May 17 12:06:49 2019 From: curry at pair.com (Curry Kenworthy) Date: Fri, 17 May 2019 12:06:49 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: <6833a257-a386-3d72-7eb1-71e7666f6a2f@researchware.com> References: <6833a257-a386-3d72-7eb1-71e7666f6a2f@researchware.com> Message-ID: Richard: >> This is why I do my daily work in the latest available build, and >> encourage others to do the same. Paul: > I completely agree. "Latest build" is a nice catchy meme, repeated fairly often but like many memes very incomplete and therefore less effective at results, no matter how they may tug at our hearts. That's because it's only one of several ingredients necessary to find regression bugs. To find regressions (unless they are super-obvious) you may also need, for example: - at least one older LC version to compare, preferably more, and/or older standalones (although standalones will generally only test exactly what's already coded, so older IDEs are better) - enough intimacy and history with the details of LC features to notice the change - sufficient LC proficiency to realize it's an LC bug and not just assume it's a user mistake (that's what most newbies do assume) - patience and detail-oriented mindset - the proper OS (etc) since some depend on platform (etc) - often a bit of luck (or sheer thoroughness) to use that particular LC feature with the right data or params to trigger the problem - and perhaps most importantly, the time ($$$ or free time/energy) and attention to quality necessary to pursue comparison QA testing - a test stack repository helps, which is even more effective if shared So the more necessary components, the better. Maybe a better meme would be to always install the latest build AND install an older LC build AND try as many variations as possible AND try to free up some extra time in life for the effort? :) I salute those of us who do have the necessary traits and resources to find these less-obvious regressions and report them! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From paul at researchware.com Fri May 17 12:31:59 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 17 May 2019 12:31:59 -0400 Subject: Windows player playrate bug... Message-ID: <1458f976-3f2c-5a1d-fc1d-7d0bf8fcd934@researchware.com> For those doing media under Windows (if any one out there is), I just identified that the playRate property is not working under Windows (tested under Windows 10). Busted in LC904 STABLE and 905 RC1, not sure how far back it broken. See bug: https://quality.livecode.com/show_bug.cgi?id=22075 Works fine under OSX (tested on El Capatan) From ahsoftware at sonic.net Fri May 17 12:40:56 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 17 May 2019 09:40:56 -0700 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: <39ec9976-4c74-0c50-1196-2042250f7540@sonic.net> On 5/17/19 7:01 AM, Trevor DeVore via use-livecode wrote: > I decided to look into this further and I eventually found libMosquitto. It > is a C library with an API that that could be wrapped with FFI without too > much trouble (no structs within structs that I had to deal with). With Mark > and Monte's help I now have a library on macOS that can connect to the > test.mosquitto.org server and publish/subscribe to topics. So we should be > able to send messages around to each other during the workshop! Hopefully > there are no surprises on the Windows side... > That's very cool. Has anyone tried using Mosquitto to communicate with RabbitMQ? I know there at one point was a third-party RabbitMQ plugin for compatibility, but I'm not sure it ever got out of the preview stage. I'm not sure what the current status is now that RabbitMQ supports MQTT 3.11 via an included plugin. I would assume then that it just works out of the box, but you know what they say about assuming... -- Mark Wieder ahsoftware at gmail.com From lists at mangomultimedia.com Fri May 17 12:57:26 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 May 2019 11:57:26 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: <39ec9976-4c74-0c50-1196-2042250f7540@sonic.net> References: <39ec9976-4c74-0c50-1196-2042250f7540@sonic.net> Message-ID: On Fri, May 17, 2019 at 11:41 AM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/17/19 7:01 AM, Trevor DeVore via use-livecode wrote: > > > I decided to look into this further and I eventually found libMosquitto. > It > > is a C library with an API that that could be wrapped with FFI without > too > > much trouble (no structs within structs that I had to deal with). With > Mark > > and Monte's help I now have a library on macOS that can connect to the > > test.mosquitto.org server and publish/subscribe to topics. So we should > be > > able to send messages around to each other during the workshop! Hopefully > > there are no surprises on the Windows side... > > > That's very cool. Has anyone tried using Mosquitto to communicate with > RabbitMQ? I know there at one point was a third-party RabbitMQ plugin > for compatibility, but I'm not sure it ever got out of the preview > stage. I'm not sure what the current status is now that RabbitMQ > supports MQTT 3.11 via an included plugin. I would assume then that it > just works out of the box, but you know what they say about assuming... > I was reading the RabbitMQ page on the MQTT plugin earlier: https://rabbitmq.com/mqtt.html That page says you have to manually enable the plugin in order for it to work. Once it is enabled there is no reason Mosquitto wouldn't work with it. They both support MQTT 3. There is also a RabbitMQ C library that provides support for AMQP. It is available here: https://github.com/alanxz/rabbitmq-c And this page seems to have some information on using it: https://www.cloudamqp.com/docs/c.html I haven't looked over the source code to see how easy it would be to wrap in LCB though. -- Trevor DeVore ScreenSteps www.screensteps.com From lists at mangomultimedia.com Fri May 17 13:17:03 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 May 2019 12:17:03 -0500 Subject: Question on automatically generating an MSI file Message-ID: Hi all, I'm wondering about being able to create MSI installers for applications built with Levure. The goal is to help IT departments easily install and update an application using Group Policy. I have never worked with MSI files before and know nothing about them. Ideally a text file could be generated during the Levure application packaging process that could be packaged up by whatever tool on Windows creates MSI files. There are already Levure helpers that do this for Inno Setup and DropDMG. Does anyone on this list have a strong working knowledge of MSI and whether or not this is feasible? -- Trevor DeVore ScreenSteps www.screensteps.com From paul at livecode.org Fri May 17 14:42:59 2019 From: paul at livecode.org (Paul Hibbert) Date: Fri, 17 May 2019 11:42:59 -0700 Subject: Seeking confirmation of a bug... In-Reply-To: <3658FE55-F475-447F-8863-684496D42764@major-k.de> References: <8f307196-b69e-1457-62b6-72e2d79d3ed7@researchware.com> <3658FE55-F475-447F-8863-684496D42764@major-k.de> Message-ID: On May 16, 2019, at 07:32, Klaus major-k via use-livecode wrote: > ... >> From the dictionary about "anser file ... with type..." >> ... >> If more than one type is specified, a drop-down list containing the tags will be displayed allowing the user to select which types of files to display. (This list is always displayed on Windows systems). > > maybe the dictionary should read: "This list is ONLY displayed on Windows systems?? I may be a bit late to this discussion, but I?ve recently been working on a small app that works with Movie files and the following syntax works fine on macOS Mojave 10.14.4 with LC 9.0.4 Stable and does show a drop down choice list? answer file "Play Video file..." with type "mp4 File|mp4" or type "m4v File|m4v" or type "Movie File|mov" as sheet Selecting a file type in the drop down menu does isolate the appropriate files and greys out all others. However, if I use the syntax discussed, I don?t see the drop down choice menu, but other than that, it does work with all three file types being available for selection? answer file "Play Video file..." with type "mp4 File,m4v File,Movie File|mp4,m4v,mov" as sheet Paul From bobsneidar at iotecdigital.com Fri May 17 16:27:17 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2019 20:27:17 +0000 Subject: The correct way to quit a Windows standalone Message-ID: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> Hi all. I have a splash stach in a Windows Standalone. When I close (or otherwise quit) the stack which the splash stack opens (the actual application) I get a runtime error, and the Splash process continues to run. What is the proper way to cleanly exit an app of this nature? Bob S From richmondmathewson at gmail.com Fri May 17 16:37:55 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2019 23:37:55 +0300 Subject: The correct way to quit a Windows standalone In-Reply-To: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> Message-ID: <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> As your splash stack is, presumably,either a substack of your main standalone, or the main stack itself I don't think you can exit it without the whole standalone exiting. So, I suspect, you'll have to find another way of getting the splash stack out of the way. Personally I'd make the splash stack invisible: on openStack ? set the vis of stack "mySplash" to false end openStack or move it off-screen: on openStack ? set the bottom of stack "mySplash" to -100 end openStack Richmond. On 17.05.19 23:27, Bob Sneidar via use-livecode wrote: > Hi all. > > I have a splash stach in a Windows Standalone. When I close (or otherwise quit) the stack which the splash stack opens (the actual application) I get a runtime error, and the Splash process continues to run. > > What is the proper way to cleanly exit an app of this nature? > > 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 bobsneidar at iotecdigital.com Fri May 17 16:43:58 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2019 20:43:58 +0000 Subject: The correct way to quit a Windows standalone In-Reply-To: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> Message-ID: <27289FB1-CA1C-4B79-AA4F-418224A2A6D0@iotecdigital.com> The Splash Stack has the mainstack in it's stackFiles. The actual mainstack is the application the user interacts with. But by the time a standalone is created, there are not mainstacks/substacks. So the Splashstack is the standalone, which then opens the mainstack and gets the ball rolling. Yes I do hide the splash stack, not sure why someone wouldn't. When I quit, I am quitting the actual Splash application, but it doesn't wuit it tosses an error and the precess continues to run. I will have to poke around somehow to figure out why. Curious, the Apple standalone does not behave this way, so I don't think it's an error in the code. Bob S > On May 17, 2019, at 13:27 , Bob Sneidar via use-livecode wrote: > > Hi all. > > I have a splash stach in a Windows Standalone. When I close (or otherwise quit) the stack which the splash stack opens (the actual application) I get a runtime error, and the Splash process continues to run. > > What is the proper way to cleanly exit an app of this nature? > > 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 bobsneidar at iotecdigital.com Fri May 17 19:10:38 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2019 23:10:38 +0000 Subject: How to terminate connection to SQL Message-ID: Hi all. I'm using sqlYoga, very nice product once you are comfortable with it. Thanks to Trevor DeVore it's probably the main reason I went ahead with developing anything in Livecode. For those familiar with it, I am using the command dbconn_disconnect to close any open database connection I may have, but when I look in my SQL manager, I still see that I have threads open. What should I use to *really* terminate the connections? Bob S From bobsneidar at iotecdigital.com Fri May 17 19:12:58 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2019 23:12:58 +0000 Subject: The correct way to quit a Windows standalone In-Reply-To: <27289FB1-CA1C-4B79-AA4F-418224A2A6D0@iotecdigital.com> References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> <27289FB1-CA1C-4B79-AA4F-418224A2A6D0@iotecdigital.com> Message-ID: <3EF5A903-8BB1-4F14-AF53-5805370218E0@iotecdigital.com> Need a speel chekr. I meant to say, "...but it doesn't quit. It tosses an error and the processes continues to run. Bob S > On May 17, 2019, at 13:43 , Bob Sneidar via use-livecode wrote: > > but it doesn't wuit it tosses an error and the precess continues to run. From bobsneidar at iotecdigital.com Fri May 17 19:26:08 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2019 23:26:08 +0000 Subject: The correct way to quit a Windows standalone In-Reply-To: <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> Message-ID: <1BC8A5A6-A323-43BD-99E5-FA2B1D46B087@iotecdigital.com> NVM Apparently I am supposed to use lock messages to force a quit. There may be something in my code that is halting the quit process, but I don't really need to do any housekeeping, so this works. Bob S > On May 17, 2019, at 13:37 , Richmond via use-livecode wrote: > > As your splash stack is, presumably,either a substack of your main standalone, or the main stack itself > I don't think you can exit it without the whole standalone exiting. > > So, I suspect, you'll have to find another way of getting the splash stack out of the way. > > Personally I'd make the splash stack invisible: > > on openStack > set the vis of stack "mySplash" to false > end openStack > > or move it off-screen: > > on openStack > set the bottom of stack "mySplash" to -100 > end openStack > > Richmond. > > > On 17.05.19 23:27, Bob Sneidar via use-livecode wrote: >> Hi all. >> >> I have a splash stach in a Windows Standalone. When I close (or otherwise quit) the stack which the splash stack opens (the actual application) I get a runtime error, and the Splash process continues to run. >> >> What is the proper way to cleanly exit an app of this nature? >> >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 17 19:49:39 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2019 23:49:39 +0000 Subject: There is a file Message-ID: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> Hi all. When I use "there is a file tFileName" and there is no file, all goes pretty quickly. However if there IS a file it takes a great deal longer! Any idea why? MacOS every version I've used so far and same with LC version. Alternately, should I use another method for determining if there is a file? Perhaps getting some attribute of the file? Bob S From bobsneidar at iotecdigital.com Fri May 17 19:55:14 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2019 23:55:14 +0000 Subject: There is a file In-Reply-To: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> References: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> Message-ID: <951E44DE-ABA3-4B95-A91A-8058EFAF688F@iotecdigital.com> NVM That is not what is hanging it up. Bob S > On May 17, 2019, at 16:49 , Bob Sneidar via use-livecode wrote: > > Hi all. > > When I use "there is a file tFileName" and there is no file, all goes pretty quickly. However if there IS a file it takes a great deal longer! Any idea why? MacOS every version I've used so far and same with LC version. > > Alternately, should I use another method for determining if there is a file? Perhaps getting some attribute of the file? > > Bob S From bobsneidar at iotecdigital.com Fri May 17 19:59:25 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 May 2019 23:59:25 +0000 Subject: There is a file In-Reply-To: <951E44DE-ABA3-4B95-A91A-8058EFAF688F@iotecdigital.com> References: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> <951E44DE-ABA3-4B95-A91A-8058EFAF688F@iotecdigital.com> Message-ID: <15881E2D-6F5F-4778-8D4C-AE7522820A43@iotecdigital.com> Okay I am using lsof in a shell command to see if the file open flag is set. It's taking SIXTEEN SECONDS! Any ideas on a better way to check to see if a file is open? Bob S > On May 17, 2019, at 16:55 , Bob Sneidar via use-livecode wrote: > > NVM That is not what is hanging it up. > > Bob S From ahsoftware at sonic.net Fri May 17 20:07:45 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 17 May 2019 17:07:45 -0700 Subject: There is a file In-Reply-To: <15881E2D-6F5F-4778-8D4C-AE7522820A43@iotecdigital.com> References: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> <951E44DE-ABA3-4B95-A91A-8058EFAF688F@iotecdigital.com> <15881E2D-6F5F-4778-8D4C-AE7522820A43@iotecdigital.com> Message-ID: <12e55e52-7153-2717-9139-b6e7ef81b84b@sonic.net> On 5/17/19 4:59 PM, Bob Sneidar via use-livecode wrote: > Okay I am using lsof in a shell command to see if the file open flag is set. It's taking SIXTEEN SECONDS! Any ideas on a better way to check to see if a file is open? What options are you using for the lsof command? -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Fri May 17 20:44:20 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 May 2019 00:44:20 +0000 Subject: There is a file In-Reply-To: <12e55e52-7153-2717-9139-b6e7ef81b84b@sonic.net> References: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> <951E44DE-ABA3-4B95-A91A-8058EFAF688F@iotecdigital.com> <15881E2D-6F5F-4778-8D4C-AE7522820A43@iotecdigital.com> <12e55e52-7153-2717-9139-b6e7ef81b84b@sonic.net> Message-ID: <8110E3E6-C54F-41C4-B690-C1CCB20B37E9@iotecdigital.com> I've tried all of them. -n -O one other. Apparently looking at the google results, lsof is simply by nature DOG SLOW. I mean dying dog with 2 broken legs and a clowder of cats scratching it's eyes out slow. I've checked Applescript forums too. Apprently there is no damned good way to tell if a file is open on a Mac without using the API provided by the OS. Sometimes Apple takes my breath away. And not in a good way. Bob S > On May 17, 2019, at 17:07 , Mark Wieder via use-livecode wrote: > > On 5/17/19 4:59 PM, Bob Sneidar via use-livecode wrote: >> Okay I am using lsof in a shell command to see if the file open flag is set. It's taking SIXTEEN SECONDS! Any ideas on a better way to check to see if a file is open? > > What options are you using for the lsof command? > > > -- > Mark Wieder > ahsoftware at gmail.com From bobsneidar at iotecdigital.com Fri May 17 21:07:16 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 May 2019 01:07:16 +0000 Subject: There is a file In-Reply-To: <8110E3E6-C54F-41C4-B690-C1CCB20B37E9@iotecdigital.com> References: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> <951E44DE-ABA3-4B95-A91A-8058EFAF688F@iotecdigital.com> <15881E2D-6F5F-4778-8D4C-AE7522820A43@iotecdigital.com> <12e55e52-7153-2717-9139-b6e7ef81b84b@sonic.net> <8110E3E6-C54F-41C4-B690-C1CCB20B37E9@iotecdigital.com> Message-ID: <39E57B3D-3403-439C-95DE-9B15D01B85DE@iotecdigital.com> Okay for those of you who care about this sort of thing: This works to get the names of all open windows from the Process Viewer. It works in the script editor tell application "System Events" get name of every window of every process return the result end tell but when I attempt this in LC I get an execution error: on mouseUp put "tell application " & quote & "System Events" & quote & cr into tScript put tab & "get name of every window of every process" & cr after tScript put tab & "return the result" & cr after tscript put "end tell" after tscript do tscript as applescript put the result end mouseUp I had to add the LC app in accessibility the first time it ran, but afterwards I get execution error as the result. Bob S > On May 17, 2019, at 17:44 , Bob Sneidar via use-livecode wrote: > > I've tried all of them. -n -O one other. Apparently looking at the google results, lsof is simply by nature DOG SLOW. I mean dying dog with 2 broken legs and a clowder of cats scratching it's eyes out slow. I've checked Applescript forums too. Apprently there is no damned good way to tell if a file is open on a Mac without using the API provided by the OS. Sometimes Apple takes my breath away. And not in a good way. > > Bob S > > >> On May 17, 2019, at 17:07 , Mark Wieder via use-livecode wrote: >> >> On 5/17/19 4:59 PM, Bob Sneidar via use-livecode wrote: >>> Okay I am using lsof in a shell command to see if the file open flag is set. It's taking SIXTEEN SECONDS! Any ideas on a better way to check to see if a file is open? >> >> What options are you using for the lsof command? >> >> >> -- >> 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 Fri May 17 21:26:32 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 17 May 2019 18:26:32 -0700 Subject: There is a file In-Reply-To: <39E57B3D-3403-439C-95DE-9B15D01B85DE@iotecdigital.com> References: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> <951E44DE-ABA3-4B95-A91A-8058EFAF688F@iotecdigital.com> <15881E2D-6F5F-4778-8D4C-AE7522820A43@iotecdigital.com> <12e55e52-7153-2717-9139-b6e7ef81b84b@sonic.net> <8110E3E6-C54F-41C4-B690-C1CCB20B37E9@iotecdigital.com> <39E57B3D-3403-439C-95DE-9B15D01B85DE@iotecdigital.com> Message-ID: <94c44a63-b09d-b1b2-fd09-1ce6a36ea005@sonic.net> Well, wait... what are you trying to accomplish? Are you trying to see if a document file is open, or are you trying to see if a program is running? -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Fri May 17 21:32:24 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 May 2019 01:32:24 +0000 Subject: There is a file In-Reply-To: <39E57B3D-3403-439C-95DE-9B15D01B85DE@iotecdigital.com> References: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> <951E44DE-ABA3-4B95-A91A-8058EFAF688F@iotecdigital.com> <15881E2D-6F5F-4778-8D4C-AE7522820A43@iotecdigital.com> <12e55e52-7153-2717-9139-b6e7ef81b84b@sonic.net> <8110E3E6-C54F-41C4-B690-C1CCB20B37E9@iotecdigital.com> <39E57B3D-3403-439C-95DE-9B15D01B85DE@iotecdigital.com> Message-ID: <36F29D7C-8674-4A02-B4D8-208DB1B79894@iotecdigital.com> Okay for some reason now it is working. Interesting. Anyway I am getting the name of the window in Acrobat Reader returned in the result so I can now just use "is in" to determine if ANY app has it open. Nice. Still takes about 6 to 8 seconds though. In Applescript it only takes less than a second. Something is bogging down LC running as applescript. Bob S > On May 17, 2019, at 18:07 , Bob Sneidar via use-livecode wrote: > > Okay for those of you who care about this sort of thing: > > This works to get the names of all open windows from the Process Viewer. It works in the script editor > tell application "System Events" > get name of every window of every process > return the result > end tell > > but when I attempt this in LC I get an execution error: > on mouseUp > put "tell application " & quote & "System Events" & quote & cr into tScript > put tab & "get name of every window of every process" & cr after tScript > put tab & "return the result" & cr after tscript > put "end tell" after tscript > do tscript as applescript > put the result > end mouseUp > > I had to add the LC app in accessibility the first time it ran, but afterwards I get execution error as the result. > > Bob S From cubist at aol.com Fri May 17 22:57:47 2019 From: cubist at aol.com (Quentin Long) Date: Sat, 18 May 2019 02:57:47 +0000 (UTC) Subject: After the conference References: <1435794506.2465223.1558148267026.ref@mail.yahoo.com> Message-ID: <1435794506.2465223.1558148267026@mail.yahoo.com> Quentin Long here. As luck would have it, I'm going to be singing in a concert on the Friday after the LiveCode Conference. I have no idea how many LCC attendees?will still be in the Bay Area on Friday, but for the benefit of those who are: The program: Ein deutsches Requiem, by Brahms The time: 8 PM on Friday, 24 MayThe ticket price: FreeThe location: Stanford Memorial Church, in the campus of Stanford?UniversityThe googlemap:?https://goo.gl/maps/hpmagnkmUVfcEgTX6 From stephen at barncard.com Fri May 17 23:35:17 2019 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 17 May 2019 20:35:17 -0700 Subject: After the conference In-Reply-To: <1435794506.2465223.1558148267026@mail.yahoo.com> References: <1435794506.2465223.1558148267026.ref@mail.yahoo.com> <1435794506.2465223.1558148267026@mail.yahoo.com> Message-ID: wow -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, May 17, 2019 at 7:58 PM Quentin Long via use-livecode < use-livecode at lists.runrev.com> wrote: > Quentin Long here. As luck would have it, I'm going to be singing in a > concert on the Friday after the LiveCode Conference. I have no idea how > many LCC attendees will still be in the Bay Area on Friday, but for the > benefit of those who are: > The program: Ein deutsches Requiem, by Brahms > The time: 8 PM on Friday, 24 MayThe ticket price: FreeThe location: > Stanford Memorial Church, in the campus of Stanford UniversityThe > googlemap: https://goo.gl/maps/hpmagnkmUVfcEgTX6 > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat May 18 04:19:26 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 May 2019 01:19:26 -0700 Subject: Seeking confirmation of a bug... In-Reply-To: References: Message-ID: <7079a77f-26a1-94e8-4fc4-5fddc79b14d5@fourthworld.com> Curry Kenworthy wrote: > Richard: > > >> This is why I do my daily work in the latest available build, and > >> encourage others to do the same. > > Paul: > > > I completely agree. > > "Latest build" is a nice catchy meme, repeated fairly often but like > many memes very incomplete and therefore less effective at results, no > matter how they may tug at our hearts. That's because it's only one of > several ingredients necessary to find regression bugs. > > To find regressions (unless they are super-obvious) you may also need, > for example: ...[long list followed] While that would make a great work plan for a professional tester, and useful guidance for anyone who has time for that sort of detailed work, I wouldn't want to scare people away from valuable reporting with the notion that it needs to be daunting. At a minimum, all that's needed is to open a report and write down the steps needed to see the problem. Extra bonus points if you run a search first to see if it's already been reported, but I've been delightfully surprised by Bugzilla's automated prompt that does that for you when you first type the summary. And if it turns out there's a duplicate, they're easy for the team to merge. Better to err on having an issue overreported than not reported at all. The advantage to doing daily work with the latest version is that it saves having to add an extra step in the process: If you use an older version, you'll need to see if the issue has already been fixed. Testing in older versions is a nice-to-have. Testing in the version the team is currently working on is a must-have. -- 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 jjs at krutt.org Sat May 18 03:23:11 2019 From: jjs at krutt.org (JJS) Date: Sat, 18 May 2019 09:23:11 +0200 Subject: Question on automatically generating an MSI file In-Reply-To: References: Message-ID: <8554ea70-6d36-8d55-7be0-a608328bffe5@krutt.org> Nope, i use Inno Setup Compiler. It's free and very easy Op 17-5-2019 om 19:17 schreef Trevor DeVore via use-livecode: > Hi all, > > I'm wondering about being able to create MSI installers for applications > built with Levure. The goal is to help IT departments easily install and > update an application using Group Policy. > > I have never worked with MSI files before and know nothing about them. > Ideally a text file could be generated during the Levure application > packaging process that could be packaged up by whatever tool on Windows > creates MSI files. There are already Levure helpers that do this for Inno > Setup and DropDMG. > > Does anyone on this list have a strong working knowledge of MSI and whether > or not this is feasible? > From jjs at krutt.org Sat May 18 03:29:58 2019 From: jjs at krutt.org (JJS) Date: Sat, 18 May 2019 09:29:58 +0200 Subject: The correct way to quit a Windows standalone In-Reply-To: <1BC8A5A6-A323-43BD-99E5-FA2B1D46B087@iotecdigital.com> References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> <1BC8A5A6-A323-43BD-99E5-FA2B1D46B087@iotecdigital.com> Message-ID: <90ef7cf4-ff20-d0c3-a93f-56b08d03bee0@krutt.org> i use this which works ok on windows but hangs on Macos(when clicking the red x, it works when going to quit via the menu, i don't know why) if the environment is "standalone application" then ????? if the platform is "Win32" then ???????? --added /T and /F, /T Terminates process and any child processes started by it, /F Forcefully Terminate process ???????? put "taskkill.exe" & space & "/F" & space & "/T" & space & "/IM" & space & "yoursplshstack.exe" into tCommandToExec ???????? put shell? (tCommandToExec) ????? else ???????? if the platform is "MacOS" then ??????????? put "osascript -e 'quit app" & quote & "yoursplashstack" & quote & "'" into tCommandToExec ??????????? -- of pkill MFS-VendorStart ??????????? put shell (tCommandToExec) ???????? else ??????????? if the platform is "Linux" then ?????????????? put shell("killall yoursplashstack") ??????????? end if ???????? end if ????? end if the above part is in the on closestack handler of the stack that has been opened by the splashstack. something similair i have in the splash stack. so it would work whichever stack is closed by the user. i iconify the splashstack after a few seconds Op 18-5-2019 om 01:26 schreef Bob Sneidar via use-livecode: > NVM Apparently I am supposed to use lock messages to force a quit. There may be something in my code that is halting the quit process, but I don't really need to do any housekeeping, so this works. > > Bob S > > >> On May 17, 2019, at 13:37 , Richmond via use-livecode wrote: >> >> As your splash stack is, presumably,either a substack of your main standalone, or the main stack itself >> I don't think you can exit it without the whole standalone exiting. >> >> So, I suspect, you'll have to find another way of getting the splash stack out of the way. >> >> Personally I'd make the splash stack invisible: >> >> on openStack >> set the vis of stack "mySplash" to false >> end openStack >> >> or move it off-screen: >> >> on openStack >> set the bottom of stack "mySplash" to -100 >> end openStack >> >> Richmond. >> >> >> On 17.05.19 23:27, Bob Sneidar via use-livecode wrote: >>> Hi all. >>> >>> I have a splash stach in a Windows Standalone. When I close (or otherwise quit) the stack which the splash stack opens (the actual application) I get a runtime error, and the Splash process continues to run. >>> >>> What is the proper way to cleanly exit an app of this nature? >>> >>> 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 >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 lists at mangomultimedia.com Sat May 18 06:53:45 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 18 May 2019 05:53:45 -0500 Subject: Question on automatically generating an MSI file In-Reply-To: <8554ea70-6d36-8d55-7be0-a608328bffe5@krutt.org> References: <8554ea70-6d36-8d55-7be0-a608328bffe5@krutt.org> Message-ID: On Sat, May 18, 2019 at 4:23 AM JJS via use-livecode < use-livecode at lists.runrev.com> wrote: > Nope, i use Inno Setup Compiler. It's free and very easy As do I. But MSI is much easier for IT departments to roll out to all of the computers at their organization. Or so I?m told by the people in charge of IT over large organizations. Sometimes we have to do things that are more work on our end to make life easier for our customers. -- Trevor DeVore ScreenSteps > From jjs at krutt.org Sat May 18 10:56:33 2019 From: jjs at krutt.org (JJS) Date: Sat, 18 May 2019 16:56:33 +0200 Subject: Question on automatically generating an MSI file In-Reply-To: References: <8554ea70-6d36-8d55-7be0-a608328bffe5@krutt.org> Message-ID: <4bbca8a3-7270-748f-77f2-3e1fd28f363b@krutt.org> Ok i'm not aware of that either. But i totally agree, for end users it has to be a one click and go, as simple as it can be. But it counts for any platform. Making an installer for us developers--> Windows=easy, Macos=gets difficult but is doable, Linux=Even more difficult (but i found Debreate which works good) Op 18-5-2019 om 12:53 schreef Trevor DeVore via use-livecode: > On Sat, May 18, 2019 at 4:23 AM JJS via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Nope, i use Inno Setup Compiler. It's free and very easy > > As do I. But MSI is much easier for IT departments to roll out to all of > the computers at their organization. Or so I?m told by the people in charge > of IT over large organizations. Sometimes we have to do things that are > more work on our end to make life easier for our customers. > From jjs at krutt.org Sat May 18 11:03:43 2019 From: jjs at krutt.org (JJS) Date: Sat, 18 May 2019 17:03:43 +0200 Subject: Question on automatically generating an MSI file In-Reply-To: <4bbca8a3-7270-748f-77f2-3e1fd28f363b@krutt.org> References: <8554ea70-6d36-8d55-7be0-a608328bffe5@krutt.org> <4bbca8a3-7270-748f-77f2-3e1fd28f363b@krutt.org> Message-ID: By the way IT departments can useMicrosoft System Center Configuration Manager (SCCM) to deploy EXE files on their Windows computers. An executable will then be pushed to the computer and eventually be forced installed if needed. Were i do my daily job, they use it too. Op 18-5-2019 om 16:56 schreef JJS via use-livecode: > Ok i'm not aware of that either. > > But i totally agree, for end users it has to be a one click and go, as > simple as it can be. > > But it counts for any platform. Making an installer for us > developers--> Windows=easy, Macos=gets difficult but is doable, > Linux=Even more difficult (but i found Debreate which works good) > > Op 18-5-2019 om 12:53 schreef Trevor DeVore via use-livecode: >> On Sat, May 18, 2019 at 4:23 AM JJS via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Nope, i use Inno Setup Compiler. It's free and very easy >> >> As do I. But MSI is much easier for IT departments to roll out to all of >> the computers at their organization. Or so I?m told by the people in >> charge >> of IT over large organizations. Sometimes we have to do things that are >> more work on our end to make life easier for our customers. >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 curry at pair.com Sat May 18 13:49:39 2019 From: curry at pair.com (Curry Kenworthy) Date: Sat, 18 May 2019 13:49:39 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: <7079a77f-26a1-94e8-4fc4-5fddc79b14d5@fourthworld.com> References: <7079a77f-26a1-94e8-4fc4-5fddc79b14d5@fourthworld.com> Message-ID: <491345e4-c9ba-6456-896e-56570bff0fee@pair.com> Richard: > Testing in older versions is a nice-to-have. > Testing in the version the team is currently working on > is a must-have. Catchy, but potentially self-defeating. This will catch the most obvious bugs (and we already have that) but for regressions we need comparison, and that involves looking at more than one item. (Or a great memory.) How can people report a bug if they never notice it? People see these things mainly when they are working between versions. That's the crux. Here's something that's still simple enough to meme, yet targeted well enough to actually help: install the latest build AND an older version! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ambassador at fourthworld.com Sat May 18 14:51:52 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 May 2019 11:51:52 -0700 Subject: Seeking confirmation of a bug... In-Reply-To: <491345e4-c9ba-6456-896e-56570bff0fee@pair.com> References: <491345e4-c9ba-6456-896e-56570bff0fee@pair.com> Message-ID: Curry Kenworthy wrote: > Richard: > > > Testing in older versions is a nice-to-have. > > Testing in the version the team is currently working on > > is a must-have. > > Catchy, but potentially self-defeating. This will catch the most > obvious bugs (and we already have that) but for regressions we need > comparison, and that involves looking at more than one item. (Or a > great memory.) Two very different scenarios. What you describe is what I often see Panos and others deliver in the course of resolving reports, identifying the source of origin of a bug. As engine maintainers, that is indeed essential. But most of us are scripters, more responsible for our work that relies on LiveCode than maintaining the LiveCode engine itself. For us, if we encounter a bug all we need to do is to report it, along with the steps needed to see it. If we use an older version of LC, we would also have the additional step of first running the recipe in the latest version to see if a fix has already been delivered. Reporters are not required to trace a bug through all versions to determine if and when it became specifically a regression. That would be an onerous requirement that would dramatically slow down reporting, and for many it would be so cumbersome as to discourage reporting altogether. The history of a bug can be helpful if you happen to know it, but is by no means a requirement for using the bug DB. > How can people report a bug if they never notice it? People see these > things mainly when they are working between versions. That's the crux. Not for me. I don't generally spend much time reporting bugs I don't see. :) -- 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 curry at pair.com Sat May 18 16:31:16 2019 From: curry at pair.com (Curry Kenworthy) Date: Sat, 18 May 2019 16:31:16 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: References: Message-ID: <87847279-8812-60f7-788e-af708796db40@pair.com> Richard: > Two very different scenarios. What you describe is what I often > see Panos and others deliver in the course of resolving reports, > identifying the source of origin of a bug. And now three different scenarios! Not at all what I described. > For us, if we encounter a bug all we need to do is to report it You can't report what you never notice. That is, again, the crux. The first step or reporting a bug is to be aware of it. No way around it. And with regressions (except for the most obvious) that means noticing change. Therefore to actually find more regressions: Install the latest build AND an older version! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From brian at milby7.com Sat May 18 18:39:14 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 18 May 2019 18:39:14 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: <87847279-8812-60f7-788e-af708796db40@pair.com> References: <87847279-8812-60f7-788e-af708796db40@pair.com> Message-ID: <2fa07383-e97b-4132-a211-e4ddba906d42@Spark> Looking at the beginning of the thread, I think what Richard meant initially is that if everyone always moved to the latest version (bonus for testing with RC and DP versions) then regressions would probably be spotted fairly quickly since a vast surface area of the engine would be tested at once. ?Just knowing what stopped working on your app would be helpful to the dev team. Thanks, Brian On May 18, 2019, 4:31 PM -0400, Curry Kenworthy via use-livecode , wrote: > > Richard: > > > Two very different scenarios. What you describe is what I often > > see Panos and others deliver in the course of resolving reports, > > identifying the source of origin of a bug. > > And now three different scenarios! Not at all what I described. > > > For us, if we encounter a bug all we need to do is to report it > > You can't report what you never notice. That is, again, the crux. > > The first step or reporting a bug is to be aware of it. No way around > it. And with regressions (except for the most obvious) that means > noticing change. Therefore to actually find more regressions: > > Install the latest build AND an older version! :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.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 curry at pair.com Sat May 18 19:42:26 2019 From: curry at pair.com (Curry Kenworthy) Date: Sat, 18 May 2019 19:42:26 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: <2fa07383-e97b-4132-a211-e4ddba906d42@Spark> References: <2fa07383-e97b-4132-a211-e4ddba906d42@Spark> Message-ID: Brian: > Looking at the beginning of the thread, I think what Richard > meant initially is that if everyone always moved to the latest > version (bonus for testing with RC and DP versions) then > regressions would probably be spotted fairly quickly Yes, using the latest LC version is, shall we say, half the battle! :) But another big part of the solution is keeping an older LC version in the loop and on the radar for comparison. Is it ideal to promote only part of the real solution when we can just as easily promote a more complete approach? Regressions involve change. Noticing change often requires comparison. Not always - sometimes a bug is really obvious, or it noticeably affects the user's current work. But often that's not the case. Will regressions indeed be spotted fairly quickly? It often hasn't been the case. What started this discussion was an observation that one had taken a long time to be noticed. That's not so surprising when we think through it - current work varies, projects change and some get put on the back burner for a while, so people aren't running every line of their code again immediately on each DP version. Assuming all regressions will be caught in a timely fashion, fairly casually just by sticking to the current DP and that alone, is trusting a little too much in luck. The whole includes the half - promoting a more complete solution is not opposing a partial one, indeed it also promotes that piece. But the more complete solution it is likely to succeed more often, assuming that's the goal. For me that's an easy choice. Therefore: Yes by all means, install the latest build AND an older version! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From richmondmathewson at gmail.com Sun May 19 04:24:12 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 19 May 2019 11:24:12 +0300 Subject: Seeking confirmation of a bug... In-Reply-To: References: <2fa07383-e97b-4132-a211-e4ddba906d42@Spark> Message-ID: Um . . . spotting bugs. Well, I should like, first of all, to categorise bugs in LiveCode into (at least) 2 types: 1. Those that have been present in LiveCode for yonks and seem to have been overlooked, brushed-aside or forgotten. 2. Recently occurring bugs that: 2.1. Will end up in category #1? or 2.2. Be addressed quite rapidly. We can see from the problem with the Properties Palette not expanding that IF enough people "shout" loudly enough this sort of thing is sorted out quite quickly. "Yes, using the latest LC version is, shall we say, half the battle!" Yes, but it is the easier half . . . as bugs suddenly get noticed in a version that have been lurking "there" for a long time. So, if one is a dedicated bug-hunter one has to, then, work one's way back through (potentially) an awful lot of versions of LC to pin down when that bug started manifesting itself. ----- So, "for the sake of sausages": 1. I find a bug in LC 9.0.4 2. I have to trawl back through the RC versions of 9.0.4 (this is a technique termed "RC Cola"), 9.0.3, 9.0.2, 9.0.1, 9.0.0 and so on, possibly for a long, long time. 3. And, pray tell, is there any point knowing that bug No. 987654321 in LC 9.0.4 has been sitting "there" since? LC 7.1.4? Probably not. The thing needs fixing, and that's all. ------ This is all very fine and dandy if one is one of the idle rich who is not worried about the time involved in this sort of exercise because the fridge is permanently stuffed with edibles regardless of whether one does any "fruitive" work or not. ------ "install the latest build AND an older version" That begs a question: which older version? I have a Linux box that has every version of LiveCode from version 6.0.1 through to about 9.0.0. It is currently under the bed with the cat; but, unlike the cat, the hard drive is due for a reformat and a new operating system because it is so choked with things (LiveCode installs being only the part of the problem) it can hardly get out from under the bed in the morning. ------ "current work varies, projects change and some get put on the back burner for a while, so people aren't running every line of their code again immediately on each DP version." Ouch: I'd forgotten about Developer Previews. Personally (but, hey, I'm a selfish type), I tend to stick with the stable versions because I do not enjoy the sort of situation where, having been working on a stack for a week, the whole thing goes West, hosing all that time and effort. Of course, if a bug crops up I'll note it down: but, generally, I'm b*gg*red if I'm then going to run my latest stack through 57 recensions of LiveCode to find when that bug manifested itself. ------- "regressions" There's a misnomer if ever there was: it seems to imply that something in LiveCode has triggered a return to a previous situation in an earlier version. While that is possible I would not characterise that as a bug, I'd characterise that as someone somewhere having done some inadequate housekeeping. ------ "if everyone always moved to the latest version (bonus for testing with RC and DP versions) then regressions would probably be spotted fairly quickly" I can think of many powerful reasons why people wouldn't do that. At least one respondent round these parts, among others is always writing (mainly on the Forums) about how unwise it is to use beta and pre-release versions of software! Certainly, when I was running macOS 10.14.5 beta something and my mouseClicks started behaving oddly I regretted signing up to the macOS beta programme. ------- Right: I'm back off to my "Grendel" software which has a deadline for a conference on Anglo-Saxon next Sunday. No beta versions in use for that! Richmond. On 19.05.19 2:42, Curry Kenworthy via use-livecode wrote: > > Brian: > > > Looking at the beginning of the thread, I think what Richard > > meant initially is that > > Yes, using the latest LC version is, shall we say, half the battle! :) > > But another big part of the solution is keeping an older LC version in > the loop and on the radar for comparison. > > Is it ideal to promote only part of the real solution when we can just > as easily promote a more complete approach? Regressions involve > change. Noticing change often requires comparison. Not always - > sometimes a bug is really obvious, or it noticeably affects the user's > current work. > > But often that's not the case. Will regressions indeed be spotted > fairly quickly? It often hasn't been the case. What started this > discussion was an observation that one had taken a long time to be > noticed. > > That's not so surprising when we think through it - current work > varies, projects change and some get put on the back burner for a > while, so people aren't running every line of their code again > immediately on each DP version. Assuming all regressions will be > caught in a timely fashion, fairly casually just by sticking to the > current DP and that alone, is trusting a little too much in luck. > > The whole includes the half - promoting a more complete solution is > not opposing a partial one, indeed it also promotes that piece. But > the more complete solution it is likely to succeed more often, > assuming that's the goal. For me that's an easy choice. Therefore: > > Yes by all means, install the latest build AND an older version! :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.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 curry at pair.com Sun May 19 09:00:00 2019 From: curry at pair.com (Curry Kenworthy) Date: Sun, 19 May 2019 09:00:00 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: References: Message-ID: <1a1c2158-1333-46fe-f511-c988b8efe49c@pair.com> Richmond: > So, if one is a dedicated bug-hunter one has to, then, work one's > way back through (potentially) an awful lot of versions of LC to > pin down when that bug started manifesting itself. Only if one is jumping down a rabbit hole! That's a completely different matter, not related to my post. Could be a fun rabbit hole I guess, if you enjoy that sort of thing. > So, "for the sake of sausages": > 1. I find a bug in LC 9.0.4 No you don't; that's the problem. If you were the hypothetical newest-build-only type (which I've long known known that you're not) and if this bug is not in-your-face obvious, you might not notice it. You wouldn't be sneaking off to your beloved 7.1.4. Fortunately in real life you're taking the position that you're arguing against here, and therefore in better shape to catch regressions. Good job! You're all set. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Mon May 20 10:40:23 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 May 2019 14:40:23 +0000 Subject: There is a file In-Reply-To: <94c44a63-b09d-b1b2-fd09-1ce6a36ea005@sonic.net> References: <2945CE10-47DF-4011-B9F2-1FCC07BC6D97@iotecdigital.com> <951E44DE-ABA3-4B95-A91A-8058EFAF688F@iotecdigital.com> <15881E2D-6F5F-4778-8D4C-AE7522820A43@iotecdigital.com> <12e55e52-7153-2717-9139-b6e7ef81b84b@sonic.net> <8110E3E6-C54F-41C4-B690-C1CCB20B37E9@iotecdigital.com> <39E57B3D-3403-439C-95DE-9B15D01B85DE@iotecdigital.com> <94c44a63-b09d-b1b2-fd09-1ce6a36ea005@sonic.net> Message-ID: <591C3A9F-98C2-4EFC-92B8-B36CE6A2BA6A@iotecdigital.com> I'm trying to see if a PDF file is already opened. I won't know what app has it open. Might be Reader, might be Acrobat, might be PDF Pro Office etc. Bob S > On May 17, 2019, at 18:26 , Mark Wieder via use-livecode wrote: > > Well, wait... what are you trying to accomplish? > Are you trying to see if a document file is open, or are you trying to see if a program is running? > > -- > 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 jbv at souslelogo.com Mon May 20 12:03:02 2019 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 20 May 2019 12:03:02 -0400 Subject: LC and live video streaming Message-ID: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> Hi list, I have a request from a client who needs an app that would play a streaming tv continuously in the lobby of his company, and the tv stream should be interrupted from time to time to display a short corporate video, and then back to the video stream. I am wondering if this could be done with LC, may be using VLC as player... Any suggestion ? Thanks in advance. jbv From panos.merakos at livecode.com Mon May 20 13:04:22 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 20 May 2019 10:04:22 -0700 Subject: [ANN] Release 9.5.0 DP-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.5.0 DP-1. Developer Preview Release ========================= Warning: this is not a stable release. Please ensure that you back up your stacks before testing them. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more than 100 bugfixes, including several memory leak fixes, that were fixed in LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. In addition, LiveCode 9.5.0 DP-1 includes several amazing new features: - Windows 64 bit IDE & deployment support - Static linked code libraries for iOS device builds - Real boolean constants, Infinity constant - Math operation refactor - New Android Architectures - New container layer mode - New log command and logMessage property - Implement filter where clause - Progress, isSecure and allowUserInteraction features added to browser widget - New returnKeyType & keyboardType field property - Improved sort international to support lots of additional locales - Updated SQLite lib to the latest version (v3.28.0) - Added support for URI filenames and JSON storage/retrieval in SQLite DBs - Implemented modifier key state access for LCB (e.g. ?key is down?) - Implemented clip to path for LCB - Several enhancements to Tree View Widget - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers - mobileSetKeyboardReturnKey on android - PDF Widget (Business Edition) - Android Barcode Scanner widget (Business Edition) - Mac status menu library Known issues ================ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From bobsneidar at iotecdigital.com Mon May 20 13:29:13 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 May 2019 17:29:13 +0000 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: References: Message-ID: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> These features look really nice! I'll play with it. Out of curiosity, has anyone addressed the nested behaviors for datagrids issue? The latest 9.0.4 does not seem to implement this. Bob S > On May 20, 2019, at 10:04 , panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.5.0 DP-1. > > Developer Preview Release > ========================= > Warning: this is not a stable release. Please ensure that you back up your > stacks before testing them. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more than > 100 bugfixes, including several memory leak fixes, that were fixed in > LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. > > In addition, LiveCode 9.5.0 DP-1 includes several amazing new features: > > - Windows 64 bit IDE & deployment support > - Static linked code libraries for iOS device builds > - Real boolean constants, Infinity constant > - Math operation refactor > - New Android Architectures > - New container layer mode > - New log command and logMessage property > - Implement filter where clause > - Progress, isSecure and allowUserInteraction features added to browser > widget > - New returnKeyType & keyboardType field property > - Improved sort international to support lots of additional locales > - Updated SQLite lib to the latest version (v3.28.0) > - Added support for URI filenames and JSON storage/retrieval in SQLite DBs > - Implemented modifier key state access for LCB (e.g. ?key is down?) > - Implemented clip to path for LCB > - Several enhancements to Tree View Widget > - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers > - mobileSetKeyboardReturnKey on android > - PDF Widget (Business Edition) > - Android Barcode Scanner widget (Business Edition) > - Mac status menu library > > > Known issues > ================ > > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > The full release notes are available from: > > http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode 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 jjs at krutt.org Mon May 20 13:36:07 2019 From: jjs at krutt.org (JJS) Date: Mon, 20 May 2019 19:36:07 +0200 Subject: LC and live video streaming In-Reply-To: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> References: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> Message-ID: We did something similair with a simple HDMI-stick on which Android was running, with an auto-startup and then it run several AVI files from internal memory. I don't remember if a list can be made using VLC, but probably it could. Very cheap and simple to do. No need for LC, but if you want to have more fun maybe write a nice app for it Op 20-5-2019 om 18:03 schreef jbv via use-livecode: > Hi list, > > I have a request from a client who needs an app that would play > a streaming tv continuously in the lobby of his company, and the > tv stream should be interrupted from time to time to display a > short corporate video, and then back to the video stream. > > I am wondering if this could be done with LC, may be using VLC > as player... > > Any suggestion ? > Thanks in advance. > > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 20 13:37:57 2019 From: klaus at major-k.de (Klaus major-k) Date: Mon, 20 May 2019 19:37:57 +0200 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: References: Message-ID: Hi Panos, "Release Notes" page 17 The big blue headlines reads: LiveCode Indy extension changes Then next line: PDF widget However the fineprint reads: PDF Widget A PDF widget ... is available in LiveCode Business. ... It should be made clear that the PDF widget is only available in LC BUSINESS and not in INDY! > Am 20.05.2019 um 19:04 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 9.5.0 DP-1. > ... Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jjs at krutt.org Mon May 20 13:40:52 2019 From: jjs at krutt.org (JJS) Date: Mon, 20 May 2019 19:40:52 +0200 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> Message-ID: Nice, Nice, Nice! We can test x86 Emulator now, superfast :) Too bad the Android Barcode reader is Business, on Indy would be great. I don't have that kind of money to spend for business unfortunately. But thanks! great that we now can play with it. Op 20-5-2019 om 19:29 schreef Bob Sneidar via use-livecode: > These features look really nice! I'll play with it. Out of curiosity, has anyone addressed the nested behaviors for datagrids issue? The latest 9.0.4 does not seem to implement this. > > Bob S > > >> On May 20, 2019, at 10:04 , panagiotis merakos via use-livecode wrote: >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.5.0 DP-1. >> >> Developer Preview Release >> ========================= >> Warning: this is not a stable release. Please ensure that you back up your >> stacks before testing them. >> >> >> Getting the Release >> =================== >> You can get the release at https://downloads.livecode.com/livecode/ or via >> the automatic updater. >> >> >> Release Contents >> ================ >> LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more than >> 100 bugfixes, including several memory leak fixes, that were fixed in >> LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. >> >> In addition, LiveCode 9.5.0 DP-1 includes several amazing new features: >> >> - Windows 64 bit IDE & deployment support >> - Static linked code libraries for iOS device builds >> - Real boolean constants, Infinity constant >> - Math operation refactor >> - New Android Architectures >> - New container layer mode >> - New log command and logMessage property >> - Implement filter where clause >> - Progress, isSecure and allowUserInteraction features added to browser >> widget >> - New returnKeyType & keyboardType field property >> - Improved sort international to support lots of additional locales >> - Updated SQLite lib to the latest version (v3.28.0) >> - Added support for URI filenames and JSON storage/retrieval in SQLite DBs >> - Implemented modifier key state access for LCB (e.g. ?key is down?) >> - Implemented clip to path for LCB >> - Several enhancements to Tree View Widget >> - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers >> - mobileSetKeyboardReturnKey on android >> - PDF Widget (Business Edition) >> - Android Barcode Scanner widget (Business Edition) >> - Mac status menu library >> >> >> Known issues >> ================ >> >> - The Browser widget's native layer is not shown in some Linux distros with >> Cinnamon window manager. >> - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS >> yet. >> >> The full release notes are available from: >> >> http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf >> >> >> Feedback >> ======== >> Please report any bugs encountered on our BugZilla at >> http://quality.livecode.com/ >> >> We have a forum available for discussing LiveCode Builder at >> http://forums.livecode.com/viewforum.php?f=93 >> >> Have fun! >> The LiveCode Team >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 jbv at souslelogo.com Mon May 20 13:47:52 2019 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 20 May 2019 13:47:52 -0400 Subject: LC and live video streaming In-Reply-To: References: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> Message-ID: <6743cf33a820fc06ea8191e1877f6cae@souslelogo.com> Thanks for the reply. Actually the difference here would be that the app would have to switch from an online tv stream to a local AVI or MPEG file and then back to the online tv stream... Le 2019-05-20 13:36, JJS via use-livecode a ?crit?: > We did something similair with a simple HDMI-stick on which Android > was running, with an auto-startup and then it run several AVI files > from internal memory. > > I don't remember if a list can be made using VLC, but probably it > could. Very cheap and simple to do. No need for LC, but if you want to > have more fun maybe write a nice app for it > > Op 20-5-2019 om 18:03 schreef jbv via use-livecode: >> Hi list, >> >> I have a request from a client who needs an app that would play >> a streaming tv continuously in the lobby of his company, and the >> tv stream should be interrupted from time to time to display a >> short corporate video, and then back to the video stream. >> >> I am wondering if this could be done with LC, may be using VLC >> as player... >> >> Any suggestion ? >> Thanks in advance. >> >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Mon May 20 14:08:58 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 20 May 2019 21:08:58 +0300 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: References: Message-ID: I'm having a problem with my fingers and toes . . . leaping from 9.0.5 to 9.5.0 got my digits all mixed up Not that that doesn't get me all excited about 9.5.0 :) Richmond. On 20.05.19 20:04, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.5.0 DP-1. > > Developer Preview Release > ========================= > Warning: this is not a stable release. Please ensure that you back up your > stacks before testing them. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more than > 100 bugfixes, including several memory leak fixes, that were fixed in > LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. > > In addition, LiveCode 9.5.0 DP-1 includes several amazing new features: > > - Windows 64 bit IDE & deployment support > - Static linked code libraries for iOS device builds > - Real boolean constants, Infinity constant > - Math operation refactor > - New Android Architectures > - New container layer mode > - New log command and logMessage property > - Implement filter where clause > - Progress, isSecure and allowUserInteraction features added to browser > widget > - New returnKeyType & keyboardType field property > - Improved sort international to support lots of additional locales > - Updated SQLite lib to the latest version (v3.28.0) > - Added support for URI filenames and JSON storage/retrieval in SQLite DBs > - Implemented modifier key state access for LCB (e.g. ?key is down?) > - Implemented clip to path for LCB > - Several enhancements to Tree View Widget > - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers > - mobileSetKeyboardReturnKey on android > - PDF Widget (Business Edition) > - Android Barcode Scanner widget (Business Edition) > - Mac status menu library > > > Known issues > ================ > > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > The full release notes are available from: > > http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode 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 jjs at krutt.org Mon May 20 14:16:44 2019 From: jjs at krutt.org (JJS) Date: Mon, 20 May 2019 20:16:44 +0200 Subject: LC and live video streaming In-Reply-To: <6743cf33a820fc06ea8191e1877f6cae@souslelogo.com> References: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> <6743cf33a820fc06ea8191e1877f6cae@souslelogo.com> Message-ID: Ok, i believe you can do that too with VLC as it can be used for streaming too. But you could create an app with the Browser Widget and set the URL of the browser to the MPEG file or the streaming URL I use the widget to stream some YouTube videos after selection, but one at a time Op 20-5-2019 om 19:47 schreef jbv via use-livecode: > Thanks for the reply. > Actually the difference here would be that the app would have to > switch from an online tv stream to a local AVI or MPEG file and > then back to the online tv stream... > > > Le 2019-05-20 13:36, JJS via use-livecode a ?crit?: >> We did something similair with a simple HDMI-stick on which Android >> was running, with an auto-startup and then it run several AVI files >> from internal memory. >> >> I don't remember if a list can be made using VLC, but probably it >> could. Very cheap and simple to do. No need for LC, but if you want to >> have more fun maybe write a nice app for it >> >> Op 20-5-2019 om 18:03 schreef jbv via use-livecode: >>> Hi list, >>> >>> I have a request from a client who needs an app that would play >>> a streaming tv continuously in the lobby of his company, and the >>> tv stream should be interrupted from time to time to display a >>> short corporate video, and then back to the video stream. >>> >>> I am wondering if this could be done with LC, may be using VLC >>> as player... >>> >>> Any suggestion ? >>> Thanks in advance. >>> >>> jbv >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 May 20 14:30:53 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Mon, 20 May 2019 11:30:53 -0700 Subject: LC and live video streaming In-Reply-To: References: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> <6743cf33a820fc06ea8191e1877f6cae@souslelogo.com> Message-ID: Folks, I need a bit of direction. I want to download a file with either Safari or the browser widget, then read the downloaded file into a LC app (iOS, latest version of LC). This seems straightforward. But where is the downloaded file stored on the iPad? Best, Bill William Prothero http://es.earthednet.org > On May 20, 2019, at 11:16 AM, JJS via use-livecode wrote: > > Ok, i believe you can do that too with VLC as it can be used for streaming too. > > But you could create an app with the Browser Widget and set the URL of the browser to the MPEG file or the streaming URL > > I use the widget to stream some YouTube videos after selection, but one at a time > > Op 20-5-2019 om 19:47 schreef jbv via use-livecode: >> Thanks for the reply. >> Actually the difference here would be that the app would have to >> switch from an online tv stream to a local AVI or MPEG file and >> then back to the online tv stream... >> >> >> Le 2019-05-20 13:36, JJS via use-livecode a ?crit : >>> We did something similair with a simple HDMI-stick on which Android >>> was running, with an auto-startup and then it run several AVI files >>> from internal memory. >>> >>> I don't remember if a list can be made using VLC, but probably it >>> could. Very cheap and simple to do. No need for LC, but if you want to >>> have more fun maybe write a nice app for it >>> >>> Op 20-5-2019 om 18:03 schreef jbv via use-livecode: >>>> Hi list, >>>> >>>> I have a request from a client who needs an app that would play >>>> a streaming tv continuously in the lobby of his company, and the >>>> tv stream should be interrupted from time to time to display a >>>> short corporate video, and then back to the video stream. >>>> >>>> I am wondering if this could be done with LC, may be using VLC >>>> as player... >>>> >>>> Any suggestion ? >>>> Thanks in advance. >>>> >>>> jbv >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 jbv at souslelogo.com Mon May 20 14:33:18 2019 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 20 May 2019 14:33:18 -0400 Subject: LC and live video streaming In-Reply-To: References: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> <6743cf33a820fc06ea8191e1877f6cae@souslelogo.com> Message-ID: yes, that was my first guess, but unfortunately the live tv stream my client wants to display isn't available on youtube, only via a specific link (different for each ISP) and unless I'm wrong, can only be viewed with apps such as vlc, at least according to my google searches... Le 2019-05-20 14:16, JJS via use-livecode a ?crit?: > But you could create an app with the Browser Widget and set the URL of > the browser to the MPEG file or the streaming URL > > I use the widget to stream some YouTube videos after selection, but > one at a time From jjs at krutt.org Mon May 20 14:40:09 2019 From: jjs at krutt.org (JJS) Date: Mon, 20 May 2019 20:40:09 +0200 Subject: LC and live video streaming In-Reply-To: References: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> <6743cf33a820fc06ea8191e1877f6cae@souslelogo.com> Message-ID: well best thing to do is, create a simple app with a browser widget and put the url that you have from one of the isp's into the URL input of the widget settings then see what it does, if the computer where you test on has access on their (intra) network then probably it could work Is the link you talk about reachable outside their network or only internal? How does the link look like? Op 20-5-2019 om 20:33 schreef jbv via use-livecode: > yes, that was my first guess, but unfortunately the live tv stream my > client wants to display isn't available on youtube, only via a specific > link (different for each ISP) and unless I'm wrong, can only be viewed > with apps such as vlc, at least according to my google searches... > > Le 2019-05-20 14:16, JJS via use-livecode a ?crit?: > >> But you could create an app with the Browser Widget and set the URL of >> the browser to the MPEG file or the streaming URL >> >> I use the widget to stream some YouTube videos after selection, but >> one at a time > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon May 20 15:51:15 2019 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 20 May 2019 15:51:15 -0400 Subject: LC and live video streaming In-Reply-To: References: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> <6743cf33a820fc06ea8191e1877f6cae@souslelogo.com> Message-ID: <1fbd07db0de58e877928ac69ca5d258b@souslelogo.com> I don't think I made myself clear : the links I mentioned are actually a TVIP m3u list, that's why it's different for each ISP. Le 2019-05-20 14:40, JJS via use-livecode a ?crit?: > well best thing to do is, create a simple app with a browser widget > and put the url that you have from one of the isp's into the URL input > of the widget settings > > then see what it does, if the computer where you test on has access on > their (intra) network then probably it could work > > Is the link you talk about reachable outside their network or only > internal? > > How does the link look like? > > Op 20-5-2019 om 20:33 schreef jbv via use-livecode: >> yes, that was my first guess, but unfortunately the live tv stream my >> client wants to display isn't available on youtube, only via a >> specific >> link (different for each ISP) and unless I'm wrong, can only be viewed >> with apps such as vlc, at least according to my google searches... >> >> Le 2019-05-20 14:16, JJS via use-livecode a ?crit?: >> >>> But you could create an app with the Browser Widget and set the URL >>> of >>> the browser to the MPEG file or the streaming URL >>> >>> I use the widget to stream some YouTube videos after selection, but >>> one at a time >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Mon May 20 15:53:37 2019 From: waprothero at gmail.com (William Prothero) Date: Mon, 20 May 2019 12:53:37 -0700 Subject: Reading a file from icloud on ipad Message-ID: <1EB83B27-B5AF-4A3A-903C-3347EFA684AB@gmail.com> Folks: Is it possible to read a file from the iCloud drive, in iOS, using LC? I?m trying to read a csv file downloaded from my browser, into an application that will use that downloaded file. I can?t immediately see how to do this. If I use a browser widget, where will a downloaded file go? I can also download it manually using Safari, which is ok, but then I need to access the file from the iCloud drive. Any direction you can provide would be much appreciated. Best, Bill William A. Prothero http://earthlearningsolutions.org From jjs at krutt.org Mon May 20 16:19:04 2019 From: jjs at krutt.org (JJS) Date: Mon, 20 May 2019 22:19:04 +0200 Subject: LC and live video streaming In-Reply-To: <1fbd07db0de58e877928ac69ca5d258b@souslelogo.com> References: <23a5b30d3597c3f16142a71e4db9de0d@souslelogo.com> <6743cf33a820fc06ea8191e1877f6cae@souslelogo.com> <1fbd07db0de58e877928ac69ca5d258b@souslelogo.com> Message-ID: ok if i'm correct, these m3u files are text files which you could open and then use the links in it, in say a loop or something so it is not some kind of special file format, only the extension is different https://en.wikipedia.org/wiki/M3U see the examples of the wiki page how they could be build up, maybe this helps Op 20-5-2019 om 21:51 schreef jbv via use-livecode: > I don't think I made myself clear : the links I mentioned are actually > a TVIP m3u list, that's why it's different for each ISP. > > Le 2019-05-20 14:40, JJS via use-livecode a ?crit?: >> well best thing to do is, create a simple app with a browser widget >> and put the url that you have from one of the isp's into the URL input >> of the widget settings >> >> then see what it does, if the computer where you test on has access on >> their (intra) network then probably it could work >> >> Is the link you talk about reachable outside their network or only >> internal? >> >> How does the link look like? >> >> Op 20-5-2019 om 20:33 schreef jbv via use-livecode: >>> yes, that was my first guess, but unfortunately the live tv stream my >>> client wants to display isn't available on youtube, only via a specific >>> link (different for each ISP) and unless I'm wrong, can only be viewed >>> with apps such as vlc, at least according to my google searches... >>> >>> Le 2019-05-20 14:16, JJS via use-livecode a ?crit?: >>> >>>> But you could create an app with the Browser Widget and set the URL of >>>> the browser to the MPEG file or the streaming URL >>>> >>>> I use the widget to stream some YouTube videos after selection, but >>>> one at a time >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Mon May 20 17:13:29 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 May 2019 21:13:29 +0000 Subject: How to terminate connection to SQL In-Reply-To: References: Message-ID: <84C6E01B-1B45-430C-B470-F52CF0512606@iotecdigital.com> Once again, belay my last. dbconn_disconnect DOES in fact close the database connection. What I was seeing was sleeping threads created by the very utility I use to monitor sleeping threads!!! Bob S > On May 17, 2019, at 16:10 , Bob Sneidar via use-livecode wrote: > > Hi all. > > I'm using sqlYoga, very nice product once you are comfortable with it. Thanks to Trevor DeVore it's probably the main reason I went ahead with developing anything in Livecode. > > For those familiar with it, I am using the command dbconn_disconnect to close any open database connection I may have, but when I look in my SQL manager, I still see that I have threads open. What should I use to *really* terminate the connections? > > Bob S From merakosp at gmail.com Mon May 20 19:23:05 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 20 May 2019 16:23:05 -0700 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: References: Message-ID: Hello Klaus, Thank you for spotting this. This is probably a bug in our release notes builder. I'll file a bug report about it once the conference is over. Regards, Panos -- On Mon, 20 May 2019 at 10:38, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > "Release Notes" page 17 > The big blue headlines reads: > LiveCode Indy extension changes > Then next line: > PDF widget > > However the fineprint reads: > PDF Widget > A PDF widget ... is available in LiveCode Business. > ... > > It should be made clear that the PDF widget is only available in LC > BUSINESS > and not in INDY! > > > Am 20.05.2019 um 19:04 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com>: > > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.5.0 DP-1. > > ... > > Best > > Klaus > > -- > Klaus Major > http://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 tom at makeshyft.com Mon May 20 22:41:57 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 20 May 2019 22:41:57 -0400 Subject: Livecode Array Encoding / Decoding using other platforms? Message-ID: Hi Friends, I love the convenience of encoding arrays into binary chunks for saving and transport. But while doing data processing ideally I'd like to be able to decode my livecode arrays in other more high performance languages. Is there some method by which this encoding happens that is standard and can be decoded using non livecode platforms? What can I do to learn more about this encoding? I thought about using Json but I love the support for binary data in lc encded arrays, and the LC encoding and decoding speed seems very high. Thanks for any hints on this. From ambassador at fourthworld.com Mon May 20 23:18:57 2019 From: ambassador at fourthworld.com (ambassador at fourthworld.com) Date: Mon, 20 May 2019 23:18:57 -0400 Subject: Livecode Array Encoding / Decoding using other platforms? Message-ID: <69502835f03ac20063a7e914b7eacae5@fourthworld.com> Tom Glod wrote: > Hi Friends, I love the convenience of encoding arrays into binary > chunks > for saving and transport. > > But while doing data processing ideally I'd like to be able to decode > my > livecode arrays in other more high performance languages. LC's arrays are encoded and decoded in machine code. Just how fast do you need that? > Is there some method by which this encoding happens that is standard > and > can be decoded using non livecode platforms? I have some notes on the older format I can see if I can pull together, based on things Mark Waddingham had written. But that was before the code base became relicensed as open source. The current code base would seem the best place for exploring the straight dope. - rg/4w From tom at makeshyft.com Mon May 20 23:57:51 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 20 May 2019 23:57:51 -0400 Subject: Livecode Array Encoding / Decoding using other platforms? In-Reply-To: <69502835f03ac20063a7e914b7eacae5@fourthworld.com> References: <69502835f03ac20063a7e914b7eacae5@fourthworld.com> Message-ID: Hey Richard...... Thanks for that tip of undertanding about the array encoding. Explains why its really fast. Its not really the encoding / decoding speed i am thinking about. Lets see if I can explain better. I can try to read C code in the codebase to see if i can see how the data gets processed....maybe i will peek out of interest .......if i can even find the arrayencode function in the c codebase.... Its probably easier to encode into Json and baseencode any binary data......and just deal with text chunks instead of blobs. But either way I have to decide soon what to write in the specs for the service. thanks as always, don't worry about the notes, On Mon, May 20, 2019 at 11:19 PM ambassador--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > Hi Friends, I love the convenience of encoding arrays into binary > > chunks > > for saving and transport. > > > > But while doing data processing ideally I'd like to be able to decode > > my > > livecode arrays in other more high performance languages. > > LC's arrays are encoded and decoded in machine code. Just how fast do > you need that? > > > Is there some method by which this encoding happens that is standard > > and > > can be decoded using non livecode platforms? > > I have some notes on the older format I can see if I can pull together, > based on things Mark Waddingham had written. But that was before the > code base became relicensed as open source. The current code base would > seem the best place for exploring the straight dope. > > - rg/4w > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 21 03:33:09 2019 From: ambassador at fourthworld.com (ambassador at fourthworld.com) Date: Tue, 21 May 2019 03:33:09 -0400 Subject: Livecode Array Encoding / Decoding using other platforms? Message-ID: <2dd3176d42722f37d59f11641922dfb7@fourthworld.com> Tom Glod wrote: > Thanks for that tip of undertanding about the array encoding. Explains > why its really fast. > > Its not really the encoding / decoding speed i am thinking about. Lets > see if I can explain better. > > I can try to read C code in the codebase to see if i can see how the > data gets processed....maybe i will peek out of interest .......if i > can > even find the arrayencode function in the c codebase.... > > Its probably easier to encode into Json and baseencode any binary > data......and just deal with text chunks instead of blobs. What will you be doing with the data? If both producer and consumer of the data are written in LiveCode, it's really hard to beat LSON (my pet name for encoded arrays). LSON is to LiveCode what JSON is to JavaScript, as BSON is to MongoDB. It is the most efficient, most with-the-grain serialization in this language. Of course, if you need to talk to things not written in LC, you'll have to write a parser in that language. My notes could help, but there would be no benefit. For interoperability, use JSON or XML. But if both client and server are LC, just enjoy LSON without even having to worry how it's made. Efficient, robust, easy to use - what's not to love? - rg/4w From jjs at krutt.org Tue May 21 07:54:23 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Tue, 21 May 2019 11:54:23 +0000 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> Message-ID: <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> Oopsa, dis i read this wrong? and is the barcode library available for Indy? Looks like it in the releasenotes (sometimes i read to quickly) JJS schreef op 2019-05-20 17:40: > Nice, Nice, Nice! > > We can test x86 Emulator now, superfast :) > > Too bad the Android Barcode reader is Business, on Indy would be > great. I don't have that kind of money to spend for business > unfortunately. > > But thanks! great that we now can play with it. > > > Op 20-5-2019 om 19:29 schreef Bob Sneidar via use-livecode: >> These features look really nice! I'll play with it. Out of curiosity, >> has anyone addressed the nested behaviors for datagrids issue? The >> latest 9.0.4 does not seem to implement this. >> >> Bob S >> >> >>> On May 20, 2019, at 10:04 , panagiotis merakos via use-livecode >>> wrote: >>> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 9.5.0 DP-1. >>> >>> Developer Preview Release >>> ========================= >>> Warning: this is not a stable release. Please ensure that you back >>> up your >>> stacks before testing them. >>> >>> >>> Getting the Release >>> =================== >>> You can get the release at https://downloads.livecode.com/livecode/ >>> or via >>> the automatic updater. >>> >>> >>> Release Contents >>> ================ >>> LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more >>> than >>> 100 bugfixes, including several memory leak fixes, that were fixed in >>> LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. >>> >>> In addition, LiveCode 9.5.0 DP-1 includes several amazing new >>> features: >>> >>> - Windows 64 bit IDE & deployment support >>> - Static linked code libraries for iOS device builds >>> - Real boolean constants, Infinity constant >>> - Math operation refactor >>> - New Android Architectures >>> - New container layer mode >>> - New log command and logMessage property >>> - Implement filter where clause >>> - Progress, isSecure and allowUserInteraction features added to >>> browser >>> widget >>> - New returnKeyType & keyboardType field property >>> - Improved sort international to support lots of additional locales >>> - Updated SQLite lib to the latest version (v3.28.0) >>> - Added support for URI filenames and JSON storage/retrieval in >>> SQLite DBs >>> - Implemented modifier key state access for LCB (e.g. ?key is down?) >>> - Implemented clip to path for LCB >>> - Several enhancements to Tree View Widget >>> - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers >>> - mobileSetKeyboardReturnKey on android >>> - PDF Widget (Business Edition) >>> - Android Barcode Scanner widget (Business Edition) >>> - Mac status menu library >>> >>> >>> Known issues >>> ================ >>> >>> - The Browser widget's native layer is not shown in some Linux >>> distros with >>> Cinnamon window manager. >>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 >>> bit LTS >>> yet. >>> >>> The full release notes are available from: >>> >>> http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf >>> >>> >>> Feedback >>> ======== >>> Please report any bugs encountered on our BugZilla at >>> http://quality.livecode.com/ >>> >>> We have a forum available for discussing LiveCode Builder at >>> http://forums.livecode.com/viewforum.php?f=93 >>> >>> Have fun! >>> The LiveCode Team >>> -- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Tue May 21 10:08:33 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 21 May 2019 10:08:33 -0400 Subject: Livecode Array Encoding / Decoding using other platforms? In-Reply-To: <2dd3176d42722f37d59f11641922dfb7@fourthworld.com> References: <2dd3176d42722f37d59f11641922dfb7@fourthworld.com> Message-ID: My LC written client will send to cloud for long term storage on the livecloud system...... but then I will have to pull the data to aggregate, count, and analyze it to show data interesting and useful points to the customers.. As much as I love LC I really want to do the right thing and use a high performing language to do that. Something like Rust. Each new (1) customer (a school) will usually be 1500+ users who create 150,000+ records or more. So it will add up quickly. I think I will convert to JSON on its way out from the client and going to storage. That way the cost of that conversion is not paid by the cloud service but the client. Thanks RG On Tue, May 21, 2019 at 3:34 AM ambassador--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > Thanks for that tip of undertanding about the array encoding. Explains > > why its really fast. > > > > Its not really the encoding / decoding speed i am thinking about. Lets > > see if I can explain better. > > > > I can try to read C code in the codebase to see if i can see how the > > data gets processed....maybe i will peek out of interest .......if i > > can > > even find the arrayencode function in the c codebase.... > > > > Its probably easier to encode into Json and baseencode any binary > > data......and just deal with text chunks instead of blobs. > > What will you be doing with the data? > > If both producer and consumer of the data are written in LiveCode, it's > really hard to beat LSON (my pet name for encoded arrays). LSON is to > LiveCode what JSON is to JavaScript, as BSON is to MongoDB. It is the > most efficient, most with-the-grain serialization in this language. > > Of course, if you need to talk to things not written in LC, you'll have > to write a parser in that language. My notes could help, but there > would be no benefit. For interoperability, use JSON or XML. > > But if both client and server are LC, just enjoy LSON without even > having to worry how it's made. Efficient, robust, easy to use - what's > not to love? > > - rg/4w > > > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 21 10:19:43 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2019 14:19:43 +0000 Subject: Livecode Array Encoding / Decoding using other platforms? In-Reply-To: References: Message-ID: <3B6004F1-6C74-4185-AA13-F9991DD6B6EA@iotecdigital.com> You would have to convert the array itself in LC to another format, then convert it back when you need it. The LC array is obviously proprietary. The structure of the encoded array is not something that can be externally interpreted. I know, I looked into it. Bob S > On May 20, 2019, at 19:41 , Tom Glod via use-livecode wrote: > > Hi Friends, I love the convenience of encoding arrays into binary chunks > for saving and transport. > > But while doing data processing ideally I'd like to be able to decode my > livecode arrays in other more high performance languages. > > Is there some method by which this encoding happens that is standard and > can be decoded using non livecode platforms? > > What can I do to learn more about this encoding? > > I thought about using Json but I love the support for binary data in lc > encded arrays, and the LC encoding and decoding speed seems very high. > > Thanks for any hints on this. > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 21 10:23:18 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2019 14:23:18 +0000 Subject: Livecode Array Encoding / Decoding using other platforms? In-Reply-To: References: <2dd3176d42722f37d59f11641922dfb7@fourthworld.com> Message-ID: <985E2D5F-792C-435F-BEE2-ED76EB5BD032@iotecdigital.com> I have a routine that will convert an array to an sql table. That is probably going to be your best bet, but it would have to be stored that way. Bob S > On May 21, 2019, at 07:08 , Tom Glod via use-livecode wrote: > > My LC written client will send to cloud for long term storage on the > livecloud system...... but then I will have to pull the data to aggregate, > count, and analyze it to show data interesting and useful points to the > customers.. As much as I love LC I really want to do the right thing and > use a high performing language to do that. Something like Rust. > > Each new (1) customer (a school) will usually be 1500+ users who create > 150,000+ records or more. So it will add up quickly. > > I think I will convert to JSON on its way out from the client and going to > storage. That way the cost of that conversion is not paid by the cloud > service but the client. > > Thanks RG From tom at makeshyft.com Tue May 21 10:31:00 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 21 May 2019 10:31:00 -0400 Subject: Livecode Array Encoding / Decoding using other platforms? In-Reply-To: <985E2D5F-792C-435F-BEE2-ED76EB5BD032@iotecdigital.com> References: <2dd3176d42722f37d59f11641922dfb7@fourthworld.com> <985E2D5F-792C-435F-BEE2-ED76EB5BD032@iotecdigital.com> Message-ID: Bob, Yup.... got it ......i'll convert and store as Json and base encode any binary chunks i need to store as part of it. Thanks On Tue, May 21, 2019 at 10:23 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I have a routine that will convert an array to an sql table. That is > probably going to be your best bet, but it would have to be stored that > way. > > Bob S > > > > On May 21, 2019, at 07:08 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > My LC written client will send to cloud for long term storage on the > > livecloud system...... but then I will have to pull the data to > aggregate, > > count, and analyze it to show data interesting and useful points to the > > customers.. As much as I love LC I really want to do the right thing and > > use a high performing language to do that. Something like Rust. > > > > Each new (1) customer (a school) will usually be 1500+ users who create > > 150,000+ records or more. So it will add up quickly. > > > > I think I will convert to JSON on its way out from the client and going > to > > storage. That way the cost of that conversion is not paid by the cloud > > service but the client. > > > > Thanks RG > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue May 21 10:42:45 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 21 May 2019 07:42:45 -0700 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> Message-ID: Hello Jerry, Both the PDF widget and the Android Barcode widget are included in Business edition, but the release notes they are mentioned under the section "LiveCode Indy Extension Changes" too. This is because of a bug in our release notes builder. Sorry for the confusion. Regards, Panos -- On Tue, 21 May 2019 at 04:54, Sphere via use-livecode < use-livecode at lists.runrev.com> wrote: > Oopsa, dis i read this wrong? and is the barcode library available for > Indy? > Looks like it in the releasenotes (sometimes i read to quickly) > > JJS schreef op 2019-05-20 17:40: > > Nice, Nice, Nice! > > > > We can test x86 Emulator now, superfast :) > > > > Too bad the Android Barcode reader is Business, on Indy would be > > great. I don't have that kind of money to spend for business > > unfortunately. > > > > But thanks! great that we now can play with it. > > > > > > Op 20-5-2019 om 19:29 schreef Bob Sneidar via use-livecode: > >> These features look really nice! I'll play with it. Out of curiosity, > >> has anyone addressed the nested behaviors for datagrids issue? The > >> latest 9.0.4 does not seem to implement this. > >> > >> Bob S > >> > >> > >>> On May 20, 2019, at 10:04 , panagiotis merakos via use-livecode > >>> wrote: > >>> > >>> Dear list members, > >>> > >>> We are pleased to announce the release of LiveCode 9.5.0 DP-1. > >>> > >>> Developer Preview Release > >>> ========================= > >>> Warning: this is not a stable release. Please ensure that you back > >>> up your > >>> stacks before testing them. > >>> > >>> > >>> Getting the Release > >>> =================== > >>> You can get the release at https://downloads.livecode.com/livecode/ > >>> or via > >>> the automatic updater. > >>> > >>> > >>> Release Contents > >>> ================ > >>> LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more > >>> than > >>> 100 bugfixes, including several memory leak fixes, that were fixed in > >>> LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. > >>> > >>> In addition, LiveCode 9.5.0 DP-1 includes several amazing new > >>> features: > >>> > >>> - Windows 64 bit IDE & deployment support > >>> - Static linked code libraries for iOS device builds > >>> - Real boolean constants, Infinity constant > >>> - Math operation refactor > >>> - New Android Architectures > >>> - New container layer mode > >>> - New log command and logMessage property > >>> - Implement filter where clause > >>> - Progress, isSecure and allowUserInteraction features added to > >>> browser > >>> widget > >>> - New returnKeyType & keyboardType field property > >>> - Improved sort international to support lots of additional locales > >>> - Updated SQLite lib to the latest version (v3.28.0) > >>> - Added support for URI filenames and JSON storage/retrieval in > >>> SQLite DBs > >>> - Implemented modifier key state access for LCB (e.g. ?key is down?) > >>> - Implemented clip to path for LCB > >>> - Several enhancements to Tree View Widget > >>> - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers > >>> - mobileSetKeyboardReturnKey on android > >>> - PDF Widget (Business Edition) > >>> - Android Barcode Scanner widget (Business Edition) > >>> - Mac status menu library > >>> > >>> > >>> Known issues > >>> ================ > >>> > >>> - The Browser widget's native layer is not shown in some Linux > >>> distros with > >>> Cinnamon window manager. > >>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 > >>> bit LTS > >>> yet. > >>> > >>> The full release notes are available from: > >>> > >>> > http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf > >>> > >>> > >>> Feedback > >>> ======== > >>> Please report any bugs encountered on our BugZilla at > >>> http://quality.livecode.com/ > >>> > >>> We have a forum available for discussing LiveCode Builder at > >>> http://forums.livecode.com/viewforum.php?f=93 > >>> > >>> Have fun! > >>> The LiveCode Team > >>> -- > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode 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 michael-kristensen at dsa-net.dk Tue May 21 10:54:17 2019 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Tue, 21 May 2019 16:54:17 +0200 Subject: 9.5 layerClipRect Message-ID: <65390AB7-D86E-47CD-955A-BF4A96790329@dsa-net.dk> Hi there layerClipRect is a nice addition to LiveCode. Made a little experiment with the code from the Dictionary // Hide 10 pixels from the border of image "myImage" local tRect put the rect of image "myImage" into tRect add 10 to item 1 of tRect add 10 to item 2 of tRect subtract 10 from item 3 of tRect subtract 10 from item 4 of tRect set the layerClipRect of image "myImage" to tRect Had an image and a button with the code. It always toke two clicks on the button to have an effect on the image Did also put a ?lock screen? in there to force an update. Same result: Two clicks necessary Michael From iphonelagi at gmail.com Tue May 21 11:44:40 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Tue, 21 May 2019 16:44:40 +0100 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> Message-ID: It SHOULD be in INDY even though I am personally paying for the Business upgrade. LC should rethink this - there are fewer people on Business (educated guess) so you at least want a few more people on Indy. This might be what makes them upgrade - get them to Ben Nevis THEN they might climb Everest. Just my 5p worth (inflation) Lagi On Tue, 21 May 2019 at 12:54, Sphere via use-livecode < use-livecode at lists.runrev.com> wrote: > Oopsa, dis i read this wrong? and is the barcode library available for > Indy? > Looks like it in the releasenotes (sometimes i read to quickly) > > JJS schreef op 2019-05-20 17:40: > > Nice, Nice, Nice! > > > > We can test x86 Emulator now, superfast :) > > > > Too bad the Android Barcode reader is Business, on Indy would be > > great. I don't have that kind of money to spend for business > > unfortunately. > > > > But thanks! great that we now can play with it. > > > > > > Op 20-5-2019 om 19:29 schreef Bob Sneidar via use-livecode: > >> These features look really nice! I'll play with it. Out of curiosity, > >> has anyone addressed the nested behaviors for datagrids issue? The > >> latest 9.0.4 does not seem to implement this. > >> > >> Bob S > >> > >> > >>> On May 20, 2019, at 10:04 , panagiotis merakos via use-livecode > >>> wrote: > >>> > >>> Dear list members, > >>> > >>> We are pleased to announce the release of LiveCode 9.5.0 DP-1. > >>> > >>> Developer Preview Release > >>> ========================= > >>> Warning: this is not a stable release. Please ensure that you back > >>> up your > >>> stacks before testing them. > >>> > >>> > >>> Getting the Release > >>> =================== > >>> You can get the release at https://downloads.livecode.com/livecode/ > >>> or via > >>> the automatic updater. > >>> > >>> > >>> Release Contents > >>> ================ > >>> LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more > >>> than > >>> 100 bugfixes, including several memory leak fixes, that were fixed in > >>> LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. > >>> > >>> In addition, LiveCode 9.5.0 DP-1 includes several amazing new > >>> features: > >>> > >>> - Windows 64 bit IDE & deployment support > >>> - Static linked code libraries for iOS device builds > >>> - Real boolean constants, Infinity constant > >>> - Math operation refactor > >>> - New Android Architectures > >>> - New container layer mode > >>> - New log command and logMessage property > >>> - Implement filter where clause > >>> - Progress, isSecure and allowUserInteraction features added to > >>> browser > >>> widget > >>> - New returnKeyType & keyboardType field property > >>> - Improved sort international to support lots of additional locales > >>> - Updated SQLite lib to the latest version (v3.28.0) > >>> - Added support for URI filenames and JSON storage/retrieval in > >>> SQLite DBs > >>> - Implemented modifier key state access for LCB (e.g. ?key is down?) > >>> - Implemented clip to path for LCB > >>> - Several enhancements to Tree View Widget > >>> - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers > >>> - mobileSetKeyboardReturnKey on android > >>> - PDF Widget (Business Edition) > >>> - Android Barcode Scanner widget (Business Edition) > >>> - Mac status menu library > >>> > >>> > >>> Known issues > >>> ================ > >>> > >>> - The Browser widget's native layer is not shown in some Linux > >>> distros with > >>> Cinnamon window manager. > >>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 > >>> bit LTS > >>> yet. > >>> > >>> The full release notes are available from: > >>> > >>> > http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf > >>> > >>> > >>> Feedback > >>> ======== > >>> Please report any bugs encountered on our BugZilla at > >>> http://quality.livecode.com/ > >>> > >>> We have a forum available for discussing LiveCode Builder at > >>> http://forums.livecode.com/viewforum.php?f=93 > >>> > >>> Have fun! > >>> The LiveCode Team > >>> -- > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode 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 Tue May 21 12:24:10 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 21 May 2019 18:24:10 +0200 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> Message-ID: <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> Although i am on business i was also thinking that it might be good for Indy license holder to be able to use these widgets. But i understand that the LC company added this just to Business. If every new addition will be added to both license types then for many there is no reason anymore to subscribe to business. But why not offer these new widgets as additional subscriptions for Indy licenses. This would allow Indy developers to use the new widgets, but would grant LC some extra revenue for these great new additions. Matthias > Am 21.05.2019 um 17:44 schrieb Lagi Pittas via use-livecode >: > > It SHOULD be in INDY even though I am personally paying for the Business > upgrade. > LC should rethink this - there are fewer people on Business (educated > guess) so you at least want a few more people on Indy. > This might be what makes them upgrade - get them to Ben Nevis THEN they > might climb Everest. > > Just my 5p worth (inflation) > > Lagi > > > > > On Tue, 21 May 2019 at 12:54, Sphere via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> Oopsa, dis i read this wrong? and is the barcode library available for >> Indy? >> Looks like it in the releasenotes (sometimes i read to quickly) >> >> JJS schreef op 2019-05-20 17:40: >>> Nice, Nice, Nice! >>> >>> We can test x86 Emulator now, superfast :) >>> >>> Too bad the Android Barcode reader is Business, on Indy would be >>> great. I don't have that kind of money to spend for business >>> unfortunately. >>> >>> But thanks! great that we now can play with it. >>> >>> >>> Op 20-5-2019 om 19:29 schreef Bob Sneidar via use-livecode: >>>> These features look really nice! I'll play with it. Out of curiosity, >>>> has anyone addressed the nested behaviors for datagrids issue? The >>>> latest 9.0.4 does not seem to implement this. >>>> >>>> Bob S >>>> >>>> >>>>> On May 20, 2019, at 10:04 , panagiotis merakos via use-livecode >>>>> > wrote: >>>>> >>>>> Dear list members, >>>>> >>>>> We are pleased to announce the release of LiveCode 9.5.0 DP-1. >>>>> >>>>> Developer Preview Release >>>>> ========================= >>>>> Warning: this is not a stable release. Please ensure that you back >>>>> up your >>>>> stacks before testing them. >>>>> >>>>> >>>>> Getting the Release >>>>> =================== >>>>> You can get the release at https://downloads.livecode.com/livecode/ >>>>> or via >>>>> the automatic updater. >>>>> >>>>> >>>>> Release Contents >>>>> ================ >>>>> LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more >>>>> than >>>>> 100 bugfixes, including several memory leak fixes, that were fixed in >>>>> LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. >>>>> >>>>> In addition, LiveCode 9.5.0 DP-1 includes several amazing new >>>>> features: >>>>> >>>>> - Windows 64 bit IDE & deployment support >>>>> - Static linked code libraries for iOS device builds >>>>> - Real boolean constants, Infinity constant >>>>> - Math operation refactor >>>>> - New Android Architectures >>>>> - New container layer mode >>>>> - New log command and logMessage property >>>>> - Implement filter where clause >>>>> - Progress, isSecure and allowUserInteraction features added to >>>>> browser >>>>> widget >>>>> - New returnKeyType & keyboardType field property >>>>> - Improved sort international to support lots of additional locales >>>>> - Updated SQLite lib to the latest version (v3.28.0) >>>>> - Added support for URI filenames and JSON storage/retrieval in >>>>> SQLite DBs >>>>> - Implemented modifier key state access for LCB (e.g. ?key is down?) >>>>> - Implemented clip to path for LCB >>>>> - Several enhancements to Tree View Widget >>>>> - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers >>>>> - mobileSetKeyboardReturnKey on android >>>>> - PDF Widget (Business Edition) >>>>> - Android Barcode Scanner widget (Business Edition) >>>>> - Mac status menu library >>>>> >>>>> >>>>> Known issues >>>>> ================ >>>>> >>>>> - The Browser widget's native layer is not shown in some Linux >>>>> distros with >>>>> Cinnamon window manager. >>>>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 >>>>> bit LTS >>>>> yet. >>>>> >>>>> The full release notes are available from: >>>>> >>>>> >> http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf >>>>> >>>>> >>>>> Feedback >>>>> ======== >>>>> Please report any bugs encountered on our BugZilla at >>>>> http://quality.livecode.com/ >>>>> >>>>> We have a forum available for discussing LiveCode Builder at >>>>> http://forums.livecode.com/viewforum.php?f=93 >>>>> >>>>> Have fun! >>>>> The LiveCode Team >>>>> -- >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From bobsneidar at iotecdigital.com Tue May 21 12:42:26 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2019 16:42:26 +0000 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> Message-ID: This goes to my point about why certain things you want to use are bundled into version you cannot afford. I would much rather subscribe to certain add-ons but we all decided on this awhay back when the licensing model was put forth, and also I can see that someone might only purchase an add-on for the year they are developing a project that uses it. It would be a difficult system to manage. Bob S > On May 21, 2019, at 09:24 , Matthias Rebbe via use-livecode wrote: > > Although i am on business i was also thinking that it might be good for Indy license holder to be able to use these widgets. But i understand that the LC company added this just to Business. > If every new addition will be added to both license types then for many there is no reason anymore to subscribe to business. > > But why not offer these new widgets as additional subscriptions for Indy licenses. This would allow Indy developers to use the new widgets, but would grant LC some extra revenue for these great new additions. > > Matthias From iphonelagi at gmail.com Tue May 21 12:57:47 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Tue, 21 May 2019 17:57:47 +0100 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> Message-ID: Hi Mark, I meant the barcode scanner only in this case because i think that is / can be used for less "businessy" things (depending on what Businessy means) I think if they brought out a couple of widgets every few months and added some to Indy - for instance beacons in indy , fingerprint for business that sort of thing. I still think they should have a donation type page for the free community we might bring in a few shekels from the open source comminity - but what do I know? We paid for MVC in business and got the Free Levure in community and business, which is probably better anyway it was designed by somebody who had to scratch an itch. What Business should really be is a dedicated person who helps projects along and answers emails and chats in hours not days - fgets the team to fix showstoppers basically support not "knobs and Knockers" look at the pricing here - the free version has everything the enterprize version has at $98,000 less. https://haxe.org/foundation/support-plans.html Xojo's pricing is roughly teh same but it doesn't run out only the updates do https://www.xojo.com/store/ same for nearly all the others - only stop updates - I will say it again and again and again and again and ......... Forget about community plus as such - bring out separate versions for mobile that are ?99 pounds and they don't run out but updates do Apple and Google are your best friends they keep moving the goal post so anybody serious will need the update to the latest version to compile. Bring out a version that can only connect to sqlite not Mysql - that does not deactivate after a year - if you bring out worthwhile upgrades they they will come ...... Lagi On Tue, 21 May 2019 at 17:24, Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Although i am on business i was also thinking that it might be good for > Indy license holder to be able to use these widgets. But i understand that > the LC company added this just to Business. > If every new addition will be added to both license types then for many > there is no reason anymore to subscribe to business. > > But why not offer these new widgets as additional subscriptions for Indy > licenses. This would allow Indy developers to use the new widgets, but > would grant LC some extra revenue for these great new additions. > > Matthias > > > > Am 21.05.2019 um 17:44 schrieb Lagi Pittas via use-livecode < > use-livecode at lists.runrev.com >: > > > > It SHOULD be in INDY even though I am personally paying for the Business > > upgrade. > > LC should rethink this - there are fewer people on Business (educated > > guess) so you at least want a few more people on Indy. > > This might be what makes them upgrade - get them to Ben Nevis THEN they > > might climb Everest. > > > > Just my 5p worth (inflation) > > > > Lagi > > > > > > > > > > On Tue, 21 May 2019 at 12:54, Sphere via use-livecode < > > use-livecode at lists.runrev.com > > wrote: > > > >> Oopsa, dis i read this wrong? and is the barcode library available for > >> Indy? > >> Looks like it in the releasenotes (sometimes i read to quickly) > >> > >> JJS schreef op 2019-05-20 17:40: > >>> Nice, Nice, Nice! > >>> > >>> We can test x86 Emulator now, superfast :) > >>> > >>> Too bad the Android Barcode reader is Business, on Indy would be > >>> great. I don't have that kind of money to spend for business > >>> unfortunately. > >>> > >>> But thanks! great that we now can play with it. > >>> > >>> > >>> Op 20-5-2019 om 19:29 schreef Bob Sneidar via use-livecode: > >>>> These features look really nice! I'll play with it. Out of curiosity, > >>>> has anyone addressed the nested behaviors for datagrids issue? The > >>>> latest 9.0.4 does not seem to implement this. > >>>> > >>>> Bob S > >>>> > >>>> > >>>>> On May 20, 2019, at 10:04 , panagiotis merakos via use-livecode > >>>>> > > wrote: > >>>>> > >>>>> Dear list members, > >>>>> > >>>>> We are pleased to announce the release of LiveCode 9.5.0 DP-1. > >>>>> > >>>>> Developer Preview Release > >>>>> ========================= > >>>>> Warning: this is not a stable release. Please ensure that you back > >>>>> up your > >>>>> stacks before testing them. > >>>>> > >>>>> > >>>>> Getting the Release > >>>>> =================== > >>>>> You can get the release at https://downloads.livecode.com/livecode/ > > >>>>> or via > >>>>> the automatic updater. > >>>>> > >>>>> > >>>>> Release Contents > >>>>> ================ > >>>>> LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more > >>>>> than > >>>>> 100 bugfixes, including several memory leak fixes, that were fixed in > >>>>> LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. > >>>>> > >>>>> In addition, LiveCode 9.5.0 DP-1 includes several amazing new > >>>>> features: > >>>>> > >>>>> - Windows 64 bit IDE & deployment support > >>>>> - Static linked code libraries for iOS device builds > >>>>> - Real boolean constants, Infinity constant > >>>>> - Math operation refactor > >>>>> - New Android Architectures > >>>>> - New container layer mode > >>>>> - New log command and logMessage property > >>>>> - Implement filter where clause > >>>>> - Progress, isSecure and allowUserInteraction features added to > >>>>> browser > >>>>> widget > >>>>> - New returnKeyType & keyboardType field property > >>>>> - Improved sort international to support lots of additional locales > >>>>> - Updated SQLite lib to the latest version (v3.28.0) > >>>>> - Added support for URI filenames and JSON storage/retrieval in > >>>>> SQLite DBs > >>>>> - Implemented modifier key state access for LCB (e.g. ?key is down?) > >>>>> - Implemented clip to path for LCB > >>>>> - Several enhancements to Tree View Widget > >>>>> - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers > >>>>> - mobileSetKeyboardReturnKey on android > >>>>> - PDF Widget (Business Edition) > >>>>> - Android Barcode Scanner widget (Business Edition) > >>>>> - Mac status menu library > >>>>> > >>>>> > >>>>> Known issues > >>>>> ================ > >>>>> > >>>>> - The Browser widget's native layer is not shown in some Linux > >>>>> distros with > >>>>> Cinnamon window manager. > >>>>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 > >>>>> bit LTS > >>>>> yet. > >>>>> > >>>>> The full release notes are available from: > >>>>> > >>>>> > >> > http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf > > > >>>>> > >>>>> > >>>>> Feedback > >>>>> ======== > >>>>> Please report any bugs encountered on our BugZilla at > >>>>> http://quality.livecode.com/ > >>>>> > >>>>> We have a forum available for discussing LiveCode Builder at > >>>>> http://forums.livecode.com/viewforum.php?f=93 > >>>>> > >>>>> Have fun! > >>>>> The LiveCode Team > >>>>> -- > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode 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 > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.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 richmondmathewson at gmail.com Tue May 21 13:04:41 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 21 May 2019 20:04:41 +0300 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> Message-ID: Possibly I'm going gyte as I work my way towards 60 (57 and counting), but I seem to remember something floating around about modularisation and the ability to choose which modules to buy . . . Richmond. On 21.05.19 19:57, Lagi Pittas via use-livecode wrote: > Hi Mark, > > I meant the barcode scanner only in this case because i think that is / can > be used for less "businessy" things (depending on what Businessy means) > > I think if they brought out a couple of widgets every few months and added > some to Indy - for instance beacons in indy , fingerprint for business > that sort of thing. > > I still think they should have a donation type page for the free community > we might bring in a few shekels from the open source comminity - but what > do I know? > > We paid for MVC in business and got the Free Levure in community and > business, which is probably better anyway it was designed by somebody who > had to scratch an itch. > > What Business should really be is a dedicated person who helps projects > along and answers emails and chats in hours not days - fgets the team to > fix showstoppers > basically support not "knobs and Knockers" > > look at the pricing here - the free version has everything the enterprize > version has at $98,000 less. > https://haxe.org/foundation/support-plans.html > > Xojo's pricing is roughly teh same but it doesn't run out only the updates > do > https://www.xojo.com/store/ > same for nearly all the others - only stop updates - > > > I will say it again and again and again and again and ......... > > Forget about community plus as such - bring out separate versions for > mobile that are ?99 pounds and they don't run out but updates do > Apple and Google are your best friends they keep moving the goal post so > anybody serious will need the update to the latest version to compile. > Bring out a version that can only connect to sqlite not Mysql - that does > not deactivate after a year - if you bring out worthwhile upgrades they > they will come ...... > > > > > Lagi > > > On Tue, 21 May 2019 at 17:24, Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Although i am on business i was also thinking that it might be good for >> Indy license holder to be able to use these widgets. But i understand that >> the LC company added this just to Business. >> If every new addition will be added to both license types then for many >> there is no reason anymore to subscribe to business. >> >> But why not offer these new widgets as additional subscriptions for Indy >> licenses. This would allow Indy developers to use the new widgets, but >> would grant LC some extra revenue for these great new additions. >> >> Matthias >> >> >>> Am 21.05.2019 um 17:44 schrieb Lagi Pittas via use-livecode < >> use-livecode at lists.runrev.com >: >>> It SHOULD be in INDY even though I am personally paying for the Business >>> upgrade. >>> LC should rethink this - there are fewer people on Business (educated >>> guess) so you at least want a few more people on Indy. >>> This might be what makes them upgrade - get them to Ben Nevis THEN they >>> might climb Everest. >>> >>> Just my 5p worth (inflation) >>> >>> Lagi >>> >>> >>> >>> >>> On Tue, 21 May 2019 at 12:54, Sphere via use-livecode < >>> use-livecode at lists.runrev.com > >> wrote: >>>> Oopsa, dis i read this wrong? and is the barcode library available for >>>> Indy? >>>> Looks like it in the releasenotes (sometimes i read to quickly) >>>> >>>> JJS schreef op 2019-05-20 17:40: >>>>> Nice, Nice, Nice! >>>>> >>>>> We can test x86 Emulator now, superfast :) >>>>> >>>>> Too bad the Android Barcode reader is Business, on Indy would be >>>>> great. I don't have that kind of money to spend for business >>>>> unfortunately. >>>>> >>>>> But thanks! great that we now can play with it. >>>>> >>>>> >>>>> Op 20-5-2019 om 19:29 schreef Bob Sneidar via use-livecode: >>>>>> These features look really nice! I'll play with it. Out of curiosity, >>>>>> has anyone addressed the nested behaviors for datagrids issue? The >>>>>> latest 9.0.4 does not seem to implement this. >>>>>> >>>>>> Bob S >>>>>> >>>>>> >>>>>>> On May 20, 2019, at 10:04 , panagiotis merakos via use-livecode >>>>>>> > >> wrote: >>>>>>> Dear list members, >>>>>>> >>>>>>> We are pleased to announce the release of LiveCode 9.5.0 DP-1. >>>>>>> >>>>>>> Developer Preview Release >>>>>>> ========================= >>>>>>> Warning: this is not a stable release. Please ensure that you back >>>>>>> up your >>>>>>> stacks before testing them. >>>>>>> >>>>>>> >>>>>>> Getting the Release >>>>>>> =================== >>>>>>> You can get the release at https://downloads.livecode.com/livecode/ >> >>>>>>> or via >>>>>>> the automatic updater. >>>>>>> >>>>>>> >>>>>>> Release Contents >>>>>>> ================ >>>>>>> LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, more >>>>>>> than >>>>>>> 100 bugfixes, including several memory leak fixes, that were fixed in >>>>>>> LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. >>>>>>> >>>>>>> In addition, LiveCode 9.5.0 DP-1 includes several amazing new >>>>>>> features: >>>>>>> >>>>>>> - Windows 64 bit IDE & deployment support >>>>>>> - Static linked code libraries for iOS device builds >>>>>>> - Real boolean constants, Infinity constant >>>>>>> - Math operation refactor >>>>>>> - New Android Architectures >>>>>>> - New container layer mode >>>>>>> - New log command and logMessage property >>>>>>> - Implement filter where clause >>>>>>> - Progress, isSecure and allowUserInteraction features added to >>>>>>> browser >>>>>>> widget >>>>>>> - New returnKeyType & keyboardType field property >>>>>>> - Improved sort international to support lots of additional locales >>>>>>> - Updated SQLite lib to the latest version (v3.28.0) >>>>>>> - Added support for URI filenames and JSON storage/retrieval in >>>>>>> SQLite DBs >>>>>>> - Implemented modifier key state access for LCB (e.g. ?key is down?) >>>>>>> - Implemented clip to path for LCB >>>>>>> - Several enhancements to Tree View Widget >>>>>>> - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers >>>>>>> - mobileSetKeyboardReturnKey on android >>>>>>> - PDF Widget (Business Edition) >>>>>>> - Android Barcode Scanner widget (Business Edition) >>>>>>> - Mac status menu library >>>>>>> >>>>>>> >>>>>>> Known issues >>>>>>> ================ >>>>>>> >>>>>>> - The Browser widget's native layer is not shown in some Linux >>>>>>> distros with >>>>>>> Cinnamon window manager. >>>>>>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 >>>>>>> bit LTS >>>>>>> yet. >>>>>>> >>>>>>> The full release notes are available from: >>>>>>> >>>>>>> >> http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf >> >>>>>> >>>>>>> Feedback >>>>>>> ======== >>>>>>> Please report any bugs encountered on our BugZilla at >>>>>>> http://quality.livecode.com/ >>>>>>> >>>>>>> We have a forum available for discussing LiveCode Builder at >>>>>>> http://forums.livecode.com/viewforum.php?f=93 >>>>>>> >>>>>>> Have fun! >>>>>>> The LiveCode Team >>>>>>> -- >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode 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 >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.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 jjs at krutt.org Tue May 21 13:50:00 2019 From: jjs at krutt.org (JJS) Date: Tue, 21 May 2019 19:50:00 +0200 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> Message-ID: <94b29336-2637-72e4-fea6-8bbef35bb69c@krutt.org> Hi, this is a bit of a dissapointment... Because when i look at mergAVcamStartbarcodereader it is available for iOs in Indy, according the dictionary. But not for Android, then it is business. Why is there difference? Thanks. Jerry Op 21-5-2019 om 19:04 schreef Richmond via use-livecode: > Possibly I'm going gyte as I work my way towards 60 (57 and counting), > but I seem to remember something floating around about modularisation > and the ability to choose which modules to buy . . . > > Richmond. > > On 21.05.19 19:57, Lagi Pittas via use-livecode wrote: >> Hi Mark, >> >> I meant the barcode scanner only in this case because i think that is >> / can >> be used for less "businessy" things (depending on what Businessy means) >> >> I think if they brought out a couple of widgets every few months and >> added >> some to Indy - for instance beacons in indy , fingerprint for business >> that sort of thing. >> >> I still think they should have a donation type page for the free >> community >> we might bring in a few shekels from the open source comminity - but >> what >> do I know? >> >> We paid for MVC in business and got the Free Levure in community and >> business,? which is probably better anyway it was designed by >> somebody who >> had to scratch an itch. >> >> What Business should really be is a dedicated person who helps projects >> along and answers emails and chats in hours not days - fgets the team to >> fix showstoppers >> basically support not "knobs and Knockers" >> >> look at the pricing here - the free version has everything the >> enterprize >> version has at $98,000 less. >> https://haxe.org/foundation/support-plans.html >> >> Xojo's pricing is roughly teh same but it doesn't run out only the >> updates >> do >> https://www.xojo.com/store/ >> same for nearly all the others - only stop updates - >> >> >> I will say it again and again and again and again and ......... >> >> Forget about community plus as such - bring out separate versions for >> mobile that are ?99 pounds and they don't run out but? updates do >> Apple and Google are your best friends they keep moving the goal >> post? so >> anybody serious will need the update to the latest version to compile. >> Bring out a version that can only connect to sqlite not Mysql - that >> does >> not deactivate after a year - if you bring out worthwhile upgrades they >> they will come ...... >> >> ? >> >> >> Lagi >> >> >> On Tue, 21 May 2019 at 17:24, Matthias Rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Although i am on business i was also thinking that it might be good for >>> Indy license holder to be able to use these widgets. But i >>> understand that >>> the LC company added this just to Business. >>> If every new addition will be added to both license types then for many >>> there is no reason? anymore to subscribe to business. >>> >>> But why not offer these new widgets as additional subscriptions for >>> Indy >>> licenses. This would allow Indy developers to use the new widgets, but >>> would grant LC some extra revenue for these great new additions. >>> >>> Matthias >>> >>> >>>> Am 21.05.2019 um 17:44 schrieb Lagi Pittas via use-livecode < >>> use-livecode at lists.runrev.com >: >>>> It SHOULD be in INDY even though I am personally paying for the >>>> Business >>>> upgrade. >>>> LC should rethink this - there are fewer people on Business (educated >>>> guess) so you at least want a few more people on Indy. >>>> This might be what makes them upgrade - get them to Ben Nevis THEN >>>> they >>>> might climb Everest. >>>> >>>> Just my 5p worth (inflation) >>>> >>>> Lagi >>>> >>>> >>>> >>>> >>>> On Tue, 21 May 2019 at 12:54, Sphere via use-livecode < >>>> use-livecode at lists.runrev.com > >>> wrote: >>>>> Oopsa, dis i read this wrong? and is the barcode library available >>>>> for >>>>> Indy? >>>>> Looks like it in the releasenotes (sometimes i read to quickly) >>>>> >>>>> JJS schreef op 2019-05-20 17:40: >>>>>> Nice, Nice, Nice! >>>>>> >>>>>> We can test x86 Emulator now, superfast :) >>>>>> >>>>>> Too bad the Android Barcode reader is Business, on Indy would be >>>>>> great. I don't have that kind of money to spend for business >>>>>> unfortunately. >>>>>> >>>>>> But thanks! great that we now can play with it. >>>>>> >>>>>> >>>>>> Op 20-5-2019 om 19:29 schreef Bob Sneidar via use-livecode: >>>>>>> These features look really nice! I'll play with it. Out of >>>>>>> curiosity, >>>>>>> has anyone addressed the nested behaviors for datagrids issue? The >>>>>>> latest 9.0.4 does not seem to implement this. >>>>>>> >>>>>>> Bob S >>>>>>> >>>>>>> >>>>>>>> On May 20, 2019, at 10:04 , panagiotis merakos via use-livecode >>>>>>>> >>>>>>> > >>> wrote: >>>>>>>> Dear list members, >>>>>>>> >>>>>>>> We are pleased to announce the release of LiveCode 9.5.0 DP-1. >>>>>>>> >>>>>>>> Developer Preview Release >>>>>>>> ========================= >>>>>>>> Warning: this is not a stable release.? Please ensure that you >>>>>>>> back >>>>>>>> up your >>>>>>>> stacks before testing them. >>>>>>>> >>>>>>>> >>>>>>>> Getting the Release >>>>>>>> =================== >>>>>>>> You can get the release at >>>>>>>> https://downloads.livecode.com/livecode/ >>> >>>>>>>> or via >>>>>>>> the automatic updater. >>>>>>>> >>>>>>>> >>>>>>>> Release Contents >>>>>>>> ================ >>>>>>>> LiveCode 9.5.0 DP-1 comes with more than 80 bugfixes. Moreover, >>>>>>>> more >>>>>>>> than >>>>>>>> 100 bugfixes, including several memory leak fixes, that were >>>>>>>> fixed in >>>>>>>> LiveCode 9.0.x, are now merged into LiveCode 9.5.0 DP-1. >>>>>>>> >>>>>>>> In addition, LiveCode 9.5.0 DP-1 includes several amazing new >>>>>>>> features: >>>>>>>> >>>>>>>> - Windows 64 bit IDE & deployment support >>>>>>>> - Static linked code libraries for iOS device builds >>>>>>>> - Real boolean constants, Infinity constant >>>>>>>> - Math operation refactor >>>>>>>> - New Android Architectures >>>>>>>> - New container layer mode >>>>>>>> - New log command and logMessage property >>>>>>>> - Implement filter where clause >>>>>>>> - Progress, isSecure and allowUserInteraction features added to >>>>>>>> browser >>>>>>>> widget >>>>>>>> - New returnKeyType & keyboardType field property >>>>>>>> - Improved sort international to support lots of additional >>>>>>>> locales >>>>>>>> - Updated SQLite lib to the latest version (v3.28.0) >>>>>>>> - Added support for URI filenames and JSON storage/retrieval in >>>>>>>> SQLite DBs >>>>>>>> - Implemented modifier key state access for LCB (e.g. ?key is >>>>>>>> down?) >>>>>>>> - Implemented clip to path for LCB >>>>>>>> - Several enhancements to Tree View Widget >>>>>>>> - New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay >>>>>>>> handlers >>>>>>>> - mobileSetKeyboardReturnKey on android >>>>>>>> - PDF Widget (Business Edition) >>>>>>>> - Android Barcode Scanner widget (Business Edition) >>>>>>>> - Mac status menu library >>>>>>>> >>>>>>>> >>>>>>>> Known issues >>>>>>>> ================ >>>>>>>> >>>>>>>> - The Browser widget's native layer is not shown in some Linux >>>>>>>> distros with >>>>>>>> Cinnamon window manager. >>>>>>>> - The use of the Browser widget is not supported on Ubuntu >>>>>>>> 18.04 64 >>>>>>>> bit LTS >>>>>>>> yet. >>>>>>>> >>>>>>>> The full release notes are available from: >>>>>>>> >>>>>>>> >>> http://downloads.livecode.com/livecode/9_5_0/LiveCodeNotes-9_5_0_dp_1.pdf >>> >>> >> >>>>>>>> >>>>>>>> Feedback >>>>>>>> ======== >>>>>>>> Please report any bugs encountered on our BugZilla at >>>>>>>> http://quality.livecode.com/ >>>>>>>> >>>>>>>> We have a forum available for discussing LiveCode Builder at >>>>>>>> http://forums.livecode.com/viewforum.php?f=93 >>>>>>>> >>>>>>>> Have fun! >>>>>>>> The LiveCode Team >>>>>>>> -- >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode 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 >>> >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> https://instamaker.dermattes.de >>> https://winsignhelper.dermattes.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 21 14:13:34 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 May 2019 18:13:34 +0000 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: <94b29336-2637-72e4-fea6-8bbef35bb69c@krutt.org> References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> <94b29336-2637-72e4-fea6-8bbef35bb69c@krutt.org> Message-ID: <321363BF-308A-4187-8F6D-35A0A04DCA91@iotecdigital.com> It's only a Developer Preview. This is the time to get things sorted. If it gets to Release Candidate and is missing something you need, THEN be disappointed. :-) Bob S > On May 21, 2019, at 10:50 , JJS via use-livecode wrote: > > Hi, > > > this is a bit of a dissapointment... > > Because when i look at mergAVcamStartbarcodereader it is available for iOs in Indy, according the dictionary. > > But not for Android, then it is business. > > Why is there difference? > > > Thanks. > > Jerry From andrew at midwestcoastmedia.com Tue May 21 14:24:20 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Tue, 21 May 2019 18:24:20 +0000 Subject: repeat with times Message-ID: <20190521182420.Horde.K0DUQey6bWgwwvgpgHbAqvM@ua850258.serversignin.com> I'm excited to try some of the new features of LC 9.5 but found a regression that has me dead in the water. Went to file a bug report, but 9.0.5 is the newest version listed. (I realize the team is busy in San Jose this week) Now that I'm a slightly more seasoned coder I know there are more efficient ways to accomplish this, but my n00b syntax was very English-like for repeat loops like this... put the number of lines of tSomeText into tThisMany repeat with x = 1 to tThisMany times ## some code end repeat The only structure that seems to support "times" now is... put the number of lines of tSomeText into tThisMany repeat tThisMany times ## some code end repeat I make extensive use of what (I now know since I've researched the bug) was an exception that let my sloppy code work in the first place. This has worked in every version of LC I've used since learning in v6.x but now throws a "repeat: bad termination" error in 9.5dp1. While the dictionary doesn't explicitly says that "times" should work in this type of repeat structure, it just always has (and makes it slightly easier to read). I'm happy to accept the deprecation and refactor my code if there is a reason for the engine change, but wanted to check here before going through that effort. --Andrew Bell From ludovic.thebault at laposte.net Tue May 21 14:57:58 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Tue, 21 May 2019 20:57:58 +0200 Subject: repeat with times In-Reply-To: <20190521182420.Horde.K0DUQey6bWgwwvgpgHbAqvM@ua850258.serversignin.com> References: <20190521182420.Horde.K0DUQey6bWgwwvgpgHbAqvM@ua850258.serversignin.com> Message-ID: <5496762F-DB29-4759-AD9C-AD0D959FAA7F@laposte.net> > Le 21 mai 2019 ? 20:24, Andrew Bell via use-livecode a ?crit : > > I'm excited to try some of the new features of LC 9.5 but found a regression that has me dead in the water. Went to file a bug report, but 9.0.5 is the newest version listed. (I realize the team is busy in San Jose this week) > > Now that I'm a slightly more seasoned coder I know there are more efficient ways to accomplish this, but my n00b syntax was very English-like for repeat loops like this... > > put the number of lines of tSomeText into tThisMany > repeat with x = 1 to tThisMany times > ## some code > end repeat > Try just > repeat with x = 1 to tThisMany > ## some code > end repeat From jjs at krutt.org Tue May 21 15:00:13 2019 From: jjs at krutt.org (JJS) Date: Tue, 21 May 2019 21:00:13 +0200 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: <321363BF-308A-4187-8F6D-35A0A04DCA91@iotecdigital.com> References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> <94b29336-2637-72e4-fea6-8bbef35bb69c@krutt.org> <321363BF-308A-4187-8F6D-35A0A04DCA91@iotecdigital.com> Message-ID: ok i'll put my dissapointment on hold for a while :-D Op 21-5-2019 om 20:13 schreef Bob Sneidar via use-livecode: > It's only a Developer Preview. This is the time to get things sorted. If it gets to Release Candidate and is missing something you need, THEN be disappointed. :-) > > Bob S > > >> On May 21, 2019, at 10:50 , JJS via use-livecode wrote: >> >> Hi, >> >> >> this is a bit of a dissapointment... >> >> Because when i look at mergAVcamStartbarcodereader it is available for iOs in Indy, according the dictionary. >> >> But not for Android, then it is business. >> >> Why is there difference? >> >> >> Thanks. >> >> Jerry > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dunbarx at aol.com Tue May 21 15:04:58 2019 From: dunbarx at aol.com (dunbarxx) Date: Tue, 21 May 2019 14:04:58 -0500 (CDT) Subject: repeat with times In-Reply-To: <20190521182420.Horde.K0DUQey6bWgwwvgpgHbAqvM@ua850258.serversignin.com> References: <20190521182420.Horde.K0DUQey6bWgwwvgpgHbAqvM@ua850258.serversignin.com> Message-ID: <1558465498966-0.post@n4.nabble.com> Hi. What Ludovic suggests is not just a shortCut. You can say: repeat 5 or repeat 5 times but you could never say: repeat with y =1 to 5 times It is not a regression, that is, something in the latest v.9 build, it is bad syntax. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From sean at pidigital.co.uk Tue May 21 16:50:14 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 21 May 2019 21:50:14 +0100 Subject: [ANN] Release 9.5.0 DP-1 In-Reply-To: References: <7B4444C5-F629-4201-B377-20BDD166FC5A@iotecdigital.com> <846ce3f7b298597ae2dd9d41cb1fde56@krutt.org> <34CBA472-E675-4C5F-9790-8C6AB8D76BBE@m-r-d.de> <94b29336-2637-72e4-fea6-8bbef35bb69c@krutt.org> <321363BF-308A-4187-8F6D-35A0A04DCA91@iotecdigital.com> Message-ID: If it?s business only that?s the single dumbest bit of reasoning I?ve seen LC do (and I?ve seen some doozies). Stuff em. I?ll build one and make it available for all Indy users for free just to pee over their weird business decisions like this. I?ve used the iOS version by merg frequently as an Indy user and lamented the lack of android version for broader platform support. I?m convinced, though, this must be an overall typo and that it IS available for Indy users and not business only. I just can?t imagine they?ve been so short-sighted (unless theyve got a real good reason why, like licensing cost or what have you). They are not complete imbeciles! I hope. Sean Cole Pi Digital Prod Ltd > On 21 May 2019, at 20:00, JJS via use-livecode wrote: > > ok i'll put my dissapointment on hold for a while :-D > > Op 21-5-2019 om 20:13 schreef Bob Sneidar via use-livecode: >> It's only a Developer Preview. This is the time to get things sorted. If it gets to Release Candidate and is missing something you need, THEN be disappointed. :-) >> >> Bob S >> >> >>> On May 21, 2019, at 10:50 , JJS via use-livecode wrote: >>> >>> Hi, >>> >>> >>> this is a bit of a dissapointment... >>> >>> Because when i look at mergAVcamStartbarcodereader it is available for iOs in Indy, according the dictionary. >>> >>> But not for Android, then it is business. >>> >>> Why is there difference? >>> >>> >>> Thanks. >>> >>> Jerry >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 May 21 22:33:28 2019 From: ambassador at fourthworld.com (ambassador at fourthworld.com) Date: Tue, 21 May 2019 22:33:28 -0400 Subject: Livecode Array Encoding / Decoding using other platforms? Message-ID: Tom Glod wrote: > My LC written client will send to cloud for long term storage on the > livecloud system...... but then I will have to pull the data to > aggregate, > count, and analyze it to show data interesting and useful points to the > customers.. As much as I love LC I really want to do the right thing > and > use a high performing language to do that. Something like Rust. Rust has a reputation for performing on par or better than C++, but not C. If speed alone is the language determiner, why not C? > Each new (1) customer (a school) will usually be 1500+ users who create > 150,000+ records or more. So it will add up quickly. I don't know the details of the aggregate operations, but my first reaction to queries across millions of records is that storage and deserialization speed aren't as big an opportunity for performance as not brute-forcing your way through the records at all, using an index instead. -- rg/4w From jbv at souslelogo.com Wed May 22 04:45:10 2019 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 22 May 2019 04:45:10 -0400 Subject: LC and IPTV Message-ID: <47c57f0be8222d812439ccc9f9572df5@souslelogo.com> Hi list, Is there a way to handle IPTV within LC, via built-in functions or an external ? I've search this list and the forum and have found next to nothing, expect a post from 2012 on the forum about the possibility to use vlc code in an external, but that finally looked like a dead end... Thanks in advance. jbv From tom at makeshyft.com Wed May 22 10:14:35 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 22 May 2019 10:14:35 -0400 Subject: Livecode Array Encoding / Decoding using other platforms? In-Reply-To: References: Message-ID: I've started a course on rust and I am loving the idea of ownership/borrowing of data. And I've become convinced that it will have wide scale adoption over the next 20, 30 years like c++ has up until now. I feel like saving myself the money and the headaches of learning and using C++ with all its thread and memory safety issues.....which I don't even understand all that much. But rust is telling me I can learn a high performance systems language and not have to worry about things like that. I'm all game for that. Yes...index....good...... I guess when it comes time to finalizing my encoding/ decoding scheme I can do tests to see what makes the biggest difference. Thanks RG...looking forward to your talk today. On Tue, May 21, 2019 at 10:34 PM ambassador--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > My LC written client will send to cloud for long term storage on the > > livecloud system...... but then I will have to pull the data to > > aggregate, > > count, and analyze it to show data interesting and useful points to the > > customers.. As much as I love LC I really want to do the right thing > > and > > use a high performing language to do that. Something like Rust. > > Rust has a reputation for performing on par or better than C++, but not > C. If speed alone is the language determiner, why not C? > > > Each new (1) customer (a school) will usually be 1500+ users who create > > 150,000+ records or more. So it will add up quickly. > > I don't know the details of the aggregate operations, but my first > reaction to queries across millions of records is that storage and > deserialization speed aren't as big an opportunity for performance as > not brute-forcing your way through the records at all, using an index > instead. > > -- rg/4w > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed May 22 15:09:29 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Wed, 22 May 2019 19:09:29 +0000 Subject: repeat with times In-Reply-To: Message-ID: <20190522190929.Horde.qBc8UL0noCnGZB2Y2ajDZ2m@ua850258.serversignin.com> I realize there are better and more efficient ways to construct that loop, but the fact that the original code does not throw an error in 9.0.5rc1 but does throw an error in 9.5dp1 made it seem like a regression. After re-reading the release notes I think this is probably the result of bug 20951 being squashed @ https://quality.livecode.com/show_bug.cgi?id=20951 --Andrew Bell > Hi. > > What Ludovic suggests is not just a shortCut. You can say: > > repeat 5 > > or repeat 5 times > > but you could never say: > > repeat with y =1 to 5 times > > It is not a regression, that is, something in the latest v.9 build, it is > bad syntax. > > Craig From jjs at krutt.org Wed May 22 16:34:31 2019 From: jjs at krutt.org (JJS) Date: Wed, 22 May 2019 22:34:31 +0200 Subject: IDE 9.0.4 and 9.0.5rc1 getting slow again on win10? Message-ID: <48a90cd6-4bcb-80fa-1039-9c1b8f2d1027@krutt.org> Hi, anyone noticing that the IDE is getting slow again in win10-x64 after working in a few scripts? I notice it with 9.04 and 9.05rc1 while just typing, saving etcetera. I hope it's not a regression of something, because it was solved. Maybe i have to add LC again to Windows Defender. Regards, Jerry From matthias_livecode_150811 at m-r-d.de Wed May 22 17:15:00 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 22 May 2019 23:15:00 +0200 Subject: IDE 9.0.4 and 9.0.5rc1 getting slow again on win10? In-Reply-To: <48a90cd6-4bcb-80fa-1039-9c1b8f2d1027@krutt.org> References: <48a90cd6-4bcb-80fa-1039-9c1b8f2d1027@krutt.org> Message-ID: <9E93BA97-A781-4421-9EFC-D6118BE83BF9@m-r-d.de> Jerry, did you already try the LC 9.5.0 DP1 64bit Windows. In case you?ve missed it, LC released a DP of 9.5.0 which not just supports 64bit Windows standalones, but also 64bit Windows IDE. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 22.05.2019 um 22:34 schrieb JJS via use-livecode >: > > Hi, > > anyone noticing that the IDE is getting slow again in win10-x64 after working in a few scripts? > > I notice it with 9.04 and 9.05rc1 while just typing, saving etcetera. > > I hope it's not a regression of something, because it was solved. > > Maybe i have to add LC again to Windows Defender. > > > Regards, > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jjs at krutt.org Wed May 22 17:41:26 2019 From: jjs at krutt.org (JJS) Date: Wed, 22 May 2019 23:41:26 +0200 Subject: IDE 9.0.4 and 9.0.5rc1 getting slow again on win10? In-Reply-To: <9E93BA97-A781-4421-9EFC-D6118BE83BF9@m-r-d.de> References: <48a90cd6-4bcb-80fa-1039-9c1b8f2d1027@krutt.org> <9E93BA97-A781-4421-9EFC-D6118BE83BF9@m-r-d.de> Message-ID: Hi Matthias, i only tried a few things to test some stacks for mobile-android and winx64 standalone and filed a few bug reports on it. But did not extensively work with the editor yet, because of also the bugs. Will try to test some tomorrow. Regards, Jerry Op 22-5-2019 om 23:15 schreef Matthias Rebbe via use-livecode: > Jerry, did you already try the LC 9.5.0 DP1 64bit Windows. In case you?ve missed it, LC released a DP of 9.5.0 which not just supports 64bit Windows standalones, but also 64bit Windows IDE. > > Regards, > Matthias > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 22.05.2019 um 22:34 schrieb JJS via use-livecode >: >> >> Hi, >> >> anyone noticing that the IDE is getting slow again in win10-x64 after working in a few scripts? >> >> I notice it with 9.04 and 9.05rc1 while just typing, saving etcetera. >> >> I hope it's not a regression of something, because it was solved. >> >> Maybe i have to add LC again to Windows Defender. >> >> >> Regards, >> >> Jerry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 jerry at jhjensen.com Wed May 22 17:44:15 2019 From: jerry at jhjensen.com (Jerry Jensen) Date: Wed, 22 May 2019 14:44:15 -0700 Subject: IDE 9.0.4 and 9.0.5rc1 getting slow again on win10? In-Reply-To: References: <48a90cd6-4bcb-80fa-1039-9c1b8f2d1027@krutt.org> <9E93BA97-A781-4421-9EFC-D6118BE83BF9@m-r-d.de> Message-ID: I hear a lot of memory leaks were fixed in 9.5. - other Jerry > On May 22, 2019, at 2:41 PM, JJS via use-livecode wrote: > > Hi Matthias, > > > i only tried a few things to test some stacks for mobile-android and winx64 standalone and filed a few bug reports on it. > > But did not extensively work with the editor yet, because of also the bugs. > > Will try to test some tomorrow. > > > Regards, > > Jerry > > Op 22-5-2019 om 23:15 schreef Matthias Rebbe via use-livecode: >> Jerry, did you already try the LC 9.5.0 DP1 64bit Windows. In case you?ve missed it, LC released a DP of 9.5.0 which not just supports 64bit Windows standalones, but also 64bit Windows IDE. >> >> Regards, >> Matthias >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.de >> >>> Am 22.05.2019 um 22:34 schrieb JJS via use-livecode >: >>> >>> Hi, >>> >>> anyone noticing that the IDE is getting slow again in win10-x64 after working in a few scripts? >>> >>> I notice it with 9.04 and 9.05rc1 while just typing, saving etcetera. >>> >>> I hope it's not a regression of something, because it was solved. >>> >>> Maybe i have to add LC again to Windows Defender. >>> >>> >>> Regards, >>> >>> Jerry >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 ludovic.thebault at laposte.net Thu May 23 01:22:57 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Thu, 23 May 2019 07:22:57 +0200 Subject: Download file from widget browser ? Message-ID: <6D9D8C13-83A4-4AF2-B8B3-D0DF35E5DB85@laposte.net> Hello, If I go on a website to download text files within the widget browser, where I retrieve the downloaded file ? I cannot use the put URL() because there is a verification of the user agent to download the files. Thanks ! From ambassador at fourthworld.com Thu May 23 02:42:20 2019 From: ambassador at fourthworld.com (ambassador at fourthworld.com) Date: Thu, 23 May 2019 02:42:20 -0400 Subject: repeat with times Message-ID: andrew at midwestcoastmedia.com wrote: > I realize there are better and more efficient ways to construct that > loop, but the fact that the original code does not throw an error in > 9.0.5rc1 but does throw an error in 9.5dp1 made it seem like a > regression. If the syntax is invalid, flagging it as an error isn't a regression, it's a fix. > After re-reading the release notes I think this is probably the result > of bug 20951 being squashed @ > https://quality.livecode.com/show_bug.cgi?id=20951 That sounds like it. - rg/4w From richmondmathewson at gmail.com Thu May 23 02:57:49 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 23 May 2019 09:57:49 +0300 Subject: repeat with times In-Reply-To: References: Message-ID: If syntax is invalid it is WRONG, and does not need to be flagged as anything, just corrected. If I write: The dog me bit. It is wrong: it is not a bug, nor a regression. Richmond. On 23.05.19 9:42, ambassador--- via use-livecode wrote: > andrew at midwestcoastmedia.com wrote: > >> I realize there are better and more efficient ways to construct that >> loop, but the fact that the original code does not throw an error in >> 9.0.5rc1 but does throw an error in 9.5dp1 made it seem like a >> regression. > > If the syntax is invalid, flagging it as an error isn't a regression, > it's a fix. > > >> After re-reading the release notes I think this is probably the result >> of bug 20951 being squashed @ >> https://quality.livecode.com/show_bug.cgi?id=20951 > > That sounds like it. > > - rg/4w > > _______________________________________________ > use-livecode mailing list > use-livecode 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 smudge.andy at googlemail.com Thu May 23 03:04:07 2019 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 23 May 2019 02:04:07 -0500 (CDT) Subject: IDE 9.0.4 and 9.0.5rc1 getting slow again on win10? In-Reply-To: <48a90cd6-4bcb-80fa-1039-9c1b8f2d1027@krutt.org> References: <48a90cd6-4bcb-80fa-1039-9c1b8f2d1027@krutt.org> Message-ID: <1558595047360-0.post@n4.nabble.com> Using LC 9.5.0 DP1 64bit Windows on Windows 10 64bit The only slowdowns I've seen are when the message box is opened with a /put/ then each time this is done LC turns to treacle. However apart from this release is performance wise much much better than previous releases. ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From hh at hyperhh.de Thu May 23 03:28:52 2019 From: hh at hyperhh.de (hh) Date: Thu, 23 May 2019 09:28:52 +0200 Subject: Download file from widget browser ? Message-ID: <7E32CDF1-670A-433C-98DC-01ACEFF711D1@hyperhh.de> > Ludovic T. wrote: > If I go on a website to download text files within the widget browser, > where I retrieve the downloaded file ? You could try to use browserUnhandledLoadRequest. From dvglasgow at gmail.com Thu May 23 05:30:29 2019 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 23 May 2019 10:30:29 +0100 Subject: OT Re: repeat with times In-Reply-To: References: Message-ID: <80626B1A-3D95-4F8B-8AA2-82E414B6D95F@gmail.com> What if Yoda you are? > On 23 May 2019, at 7:57 am, Richmond via use-livecode wrote: > > If I write: The dog me bit. > > It is wrong: it is not a bug, nor a regression. From roland.huettmann at gmail.com Thu May 23 07:51:29 2019 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 23 May 2019 13:51:29 +0200 Subject: IDE 9.0.4 and 9.0.5rc1 getting slow again on win10? Message-ID: Well I noticed it too in 9.0.4, but did not try 9.0.5rc1 yet -- waiting to hear that it is stable enough. Script editor performance is again below normal. Crossing fingers it will be ok in the upcoming version. Roland From jjs at krutt.org Thu May 23 08:05:52 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Thu, 23 May 2019 12:05:52 +0000 Subject: IDE 9.0.4 and 9.0.5rc1 getting slow again on win10? In-Reply-To: References: <48a90cd6-4bcb-80fa-1039-9c1b8f2d1027@krutt.org> <9E93BA97-A781-4421-9EFC-D6118BE83BF9@m-r-d.de> Message-ID: Hi Jerry too, indeed, but in the previous versions too like 904 and 905. So i don't know exact if these are the same bugs or new ones which were solved. Regards, Jerry Jerry Jensen via use-livecode schreef op 2019-05-22 21:44: > I hear a lot of memory leaks were fixed in 9.5. > - other Jerry > >> On May 22, 2019, at 2:41 PM, JJS via use-livecode >> wrote: >> >> Hi Matthias, >> >> >> i only tried a few things to test some stacks for mobile-android and >> winx64 standalone and filed a few bug reports on it. >> >> But did not extensively work with the editor yet, because of also the >> bugs. >> >> Will try to test some tomorrow. >> >> >> Regards, >> >> Jerry >> >> Op 22-5-2019 om 23:15 schreef Matthias Rebbe via use-livecode: >>> Jerry, did you already try the LC 9.5.0 DP1 64bit Windows. In case >>> you?ve missed it, LC released a DP of 9.5.0 which not just supports >>> 64bit Windows standalones, but also 64bit Windows IDE. >>> >>> Regards, >>> Matthias >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> https://instamaker.dermattes.de >>> https://winsignhelper.dermattes.de >>> >>> >>>> Am 22.05.2019 um 22:34 schrieb JJS via use-livecode >>>> >>> >: >>>> >>>> Hi, >>>> >>>> anyone noticing that the IDE is getting slow again in win10-x64 >>>> after working in a few scripts? >>>> >>>> I notice it with 9.04 and 9.05rc1 while just typing, saving >>>> etcetera. >>>> >>>> I hope it's not a regression of something, because it was solved. >>>> >>>> Maybe i have to add LC again to Windows Defender. >>>> >>>> >>>> Regards, >>>> >>>> Jerry >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 gbojsza at gmail.com Thu May 23 08:56:42 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 23 May 2019 08:56:42 -0400 Subject: Why such a large external folder on Windows? Message-ID: Hello, I took a very basic app that has a browser widget and made a standalone for OS X and Windows in LC 9.0.5 I was shocked that the Windows standalone has an external folder of 116.5 MB plus the .exe file where as on OS X the single standalone file was 18MB. I cannot fathom the concept of pushing out a 116.5 MB app where its OS X version as almost a 10th the size. Is there something in the standalone features that I need to turn off? Below are the files and their sizes in the external folder... ============================ llibcef.dll 70240768 icudtl.dat 10196592 cef.pak 4209654 d3dcompiler_47.dll 3747512 cef_extensions.pak 3332471 libGLESv2.dll 3175936 d3dcompiler_43.dll 2106216 v8_context_snapshot.bin 1522008 snapshot_blob.bin 1198536 cef_200_percent.pak 681853 cef_100_percent.pak 588801 libbrowser-cefprocess.exe 561664 chrome_elf.dll 431104 natives_blob.bin 218275 libEGL.dll 79872 From brahma at hindu.org Thu May 23 09:37:15 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 23 May 2019 13:37:15 +0000 Subject: OT Re: repeat with times In-Reply-To: <80626B1A-3D95-4F8B-8AA2-82E414B6D95F@gmail.com> References: <80626B1A-3D95-4F8B-8AA2-82E414B6D95F@gmail.com> Message-ID: That's why Sanskrit pundits are working for AI at Microsoft, because Order Language Syntax matter does not BR ? David V Glasgow wrote: What if Yoda you are? From brahma at hindu.org Thu May 23 10:30:03 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 23 May 2019 14:30:03 +0000 Subject: 9.5 DP 1 Unadorned - LayerMode - Container Message-ID: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> 9.5 looks exciting. But we need a "lexicon" (or Kognition) for the dictionary. It is still written in "deep-in-the-engine-jungle-geek-speak" For us lay people, we need a few more words. E.g. layerMode What does "unadorned" mean? One could make an intuitive guess: "having no special graphic effects applied" ?? Anything else? A dictionary should not require intuitive guessing, not if you want rapid adoption by newbies: it should be transparent as possible Anyway, kudos for the team. I can't wait to use containMode after I get my head around Mark's talk... BR From roger.e.eller at sealedair.com Thu May 23 10:41:47 2019 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Thu, 23 May 2019 14:41:47 +0000 Subject: The correct way to quit a Windows standalone In-Reply-To: <90ef7cf4-ff20-d0c3-a93f-56b08d03bee0@krutt.org> References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> <1BC8A5A6-A323-43BD-99E5-FA2B1D46B087@iotecdigital.com>, <90ef7cf4-ff20-d0c3-a93f-56b08d03bee0@krutt.org> Message-ID: I do this to cleanly exit my Windows standalone, which is a splashscreen stack. Because I have used a couple of fonts that I keep with the standalone, I have to STOP USING them, else the process will still continue to run. This handler is in my visible stack, not in the standalone splashscreen stack. on closeStackRequest set the itemDel to "/" put item 1 to -2 of the effective filename of this stack & "/Resources/TrajanPro" into tPath put quote & tPath & "/TrajanPro-Regular.otf" & quote into tTrajanProRegular put quote & tPath & "/TrajanPro-Bold.otf" & quote into tTrajanProBold stop using font file tTrajanProRegular stop using font file tTrajanProBold close this stack quit end closeStackRequest ~Roger From lists at mangomultimedia.com Thu May 23 11:01:49 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 May 2019 08:01:49 -0700 Subject: 9.5 DP 1 Unadorned - LayerMode - Container In-Reply-To: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> References: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> Message-ID: On Thu, May 23, 2019 at 7:30 AM Sannyasin Brahmanathaswami via use-livecode wrote: > 9.5 looks exciting. > > But we need a "lexicon" (or Kognition) for the dictionary. > It is still written in "deep-in-the-engine-jungle-geek-speak" > > For us lay people, we need a few more words. E.g. > > layerMode > > What does "unadorned" mean? My understanding is that the group must have showborder set to false and opaque set to false. -- Trevor DeVore ScreenSteps From paul at researchware.com Thu May 23 11:13:07 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 23 May 2019 11:13:07 -0400 Subject: The correct way to quit a Windows standalone In-Reply-To: References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> <1BC8A5A6-A323-43BD-99E5-FA2B1D46B087@iotecdigital.com> <90ef7cf4-ff20-d0c3-a93f-56b08d03bee0@krutt.org> Message-ID: <7195a028-3155-abc1-f500-09c6789ee334@researchware.com> If it is a requirement for any loaded fonts to be unloaded from memory for a Standalone to actually quit under Microsoft Windows then a bug should be entered at https://quality.livecode.com/ to update the Dictionary entries for: closeStackRequest shutDownRequest quit start using font stop using font To note that any loaded font resources must be unloaded to allow a Windows standalone to properly exit. On 5/23/2019 10:41 AM, Eller, Roger via use-livecode wrote: > I do this to cleanly exit my Windows standalone, which is a splashscreen stack. > > Because I have used a couple of fonts that I keep with the standalone, I have to STOP USING them, else the process will still continue to run. > > This handler is in my visible stack, not in the standalone splashscreen stack. > > > on closeStackRequest > > set the itemDel to "/" > > put item 1 to -2 of the effective filename of this stack & "/Resources/TrajanPro" into tPath > > put quote & tPath & "/TrajanPro-Regular.otf" & quote into tTrajanProRegular > > put quote & tPath & "/TrajanPro-Bold.otf" & quote into tTrajanProBold > > stop using font file tTrajanProRegular > > stop using font file tTrajanProBold > > close this stack > > quit > > end closeStackRequest > > > ~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 bobsneidar at iotecdigital.com Thu May 23 11:38:43 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 May 2019 15:38:43 +0000 Subject: OT Re: repeat with times In-Reply-To: References: <80626B1A-3D95-4F8B-8AA2-82E414B6D95F@gmail.com> Message-ID: <6D148564-6EFF-4F2A-9B99-A6493F4FBA0C@iotecdigital.com> :-) > On May 23, 2019, at 06:37 , Sannyasin Brahmanathaswami via use-livecode wrote: > > That's why Sanskrit pundits are working for AI at Microsoft, because > > Order Language Syntax matter does not > > BR > > ? David V Glasgow wrote: > > What if Yoda you are? From jacque at hyperactivesw.com Thu May 23 11:38:45 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 May 2019 08:38:45 -0700 Subject: The correct way to quit a Windows standalone In-Reply-To: <7195a028-3155-abc1-f500-09c6789ee334@researchware.com> References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> <1BC8A5A6-A323-43BD-99E5-FA2B1D46B087@iotecdigital.com> <90ef7cf4-ff20-d0c3-a93f-56b08d03bee0@krutt.org> <7195a028-3155-abc1-f500-09c6789ee334@researchware.com> Message-ID: <16ae55833a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's not just fonts, anything that's still in use needs to be removed. Fonts, stacks in use, open processes, com ports, sockets, etc. Basically you need to shut down everything the stack opened. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 23, 2019 8:14:59 AM Paul Dupuis via use-livecode wrote: > If it is a requirement for any loaded fonts to be unloaded from memory > for a Standalone to actually quit under Microsoft Windows then a bug > should be entered at https://quality.livecode.com/ to update the > Dictionary entries for: > > closeStackRequest > shutDownRequest > quit > start using font > stop using font > > To note that any loaded font resources must be unloaded to allow a > Windows standalone to properly exit. > > > On 5/23/2019 10:41 AM, Eller, Roger via use-livecode wrote: >> I do this to cleanly exit my Windows standalone, which is a splashscreen stack. >> >> Because I have used a couple of fonts that I keep with the standalone, I >> have to STOP USING them, else the process will still continue to run. >> >> This handler is in my visible stack, not in the standalone splashscreen stack. >> >> >> on closeStackRequest >> >> set the itemDel to "/" >> >> put item 1 to -2 of the effective filename of this stack & >> "/Resources/TrajanPro" into tPath >> >> put quote & tPath & "/TrajanPro-Regular.otf" & quote into tTrajanProRegular >> >> put quote & tPath & "/TrajanPro-Bold.otf" & quote into tTrajanProBold >> >> stop using font file tTrajanProRegular >> >> stop using font file tTrajanProBold >> >> close this stack >> >> quit >> >> end closeStackRequest >> >> >> ~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 monte at appisle.net Thu May 23 11:39:07 2019 From: monte at appisle.net (Monte Goulding) Date: Thu, 23 May 2019 08:39:07 -0700 Subject: 9.5 DP 1 Unadorned - LayerMode - Container In-Reply-To: References: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> Message-ID: > On 23 May 2019, at 8:01 am, Trevor DeVore via use-livecode wrote: > > On Thu, May 23, 2019 at 7:30 AM Sannyasin Brahmanathaswami via use-livecode > wrote: > >> 9.5 looks exciting. >> >> But we need a "lexicon" (or Kognition) for the dictionary. >> It is still written in "deep-in-the-engine-jungle-geek-speak" >> >> For us lay people, we need a few more words. E.g. >> >> layerMode >> >> What does "unadorned" mean? > > > My understanding is that the group must have showborder set to false and > opaque set to false. > Also no graphic effects, blendMode etc. Cheers Monte From monte at appisle.net Thu May 23 11:41:50 2019 From: monte at appisle.net (Monte Goulding) Date: Thu, 23 May 2019 08:41:50 -0700 Subject: Why such a large external folder on Windows? In-Reply-To: References: Message-ID: <8FAEBD35-5317-4735-8E7F-0D65B153D62A@appisle.net> CEF is large. On mac we use the system browser. > On 23 May 2019, at 5:56 am, Glen Bojsza via use-livecode wrote: > > Hello, > > I took a very basic app that has a browser widget and made a standalone for > OS X and Windows in LC 9.0.5 > > I was shocked that the Windows standalone has an external folder of 116.5 > MB plus the .exe file where as on OS X the single standalone file was 18MB. > > I cannot fathom the concept of pushing out a 116.5 MB app where its OS X > version as almost a 10th the size. > > > Is there something in the standalone features that I need to turn off? > > Below are the files and their sizes in the external folder... > > ============================ > > llibcef.dll 70240768 > > icudtl.dat 10196592 > > cef.pak 4209654 > > d3dcompiler_47.dll 3747512 > > cef_extensions.pak 3332471 > > libGLESv2.dll 3175936 > > d3dcompiler_43.dll 2106216 > > v8_context_snapshot.bin 1522008 > > snapshot_blob.bin 1198536 > > cef_200_percent.pak 681853 > > cef_100_percent.pak 588801 > > libbrowser-cefprocess.exe 561664 > > chrome_elf.dll 431104 > > natives_blob.bin 218275 > > libEGL.dll 79872 > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu May 23 11:48:41 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 23 May 2019 11:48:41 -0400 Subject: The correct way to quit a Windows standalone In-Reply-To: <16ae55833a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> <1BC8A5A6-A323-43BD-99E5-FA2B1D46B087@iotecdigital.com> <90ef7cf4-ff20-d0c3-a93f-56b08d03bee0@krutt.org> <7195a028-3155-abc1-f500-09c6789ee334@researchware.com> <16ae55833a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Actually, this all seems like a Windows "bug" to me. A language like LiveCode, should, if I script 'quit', do exactly that - quit. If there are any open anythings preventing that, the engine should shut them all down for us. Now as a software developer, I agree that good programming practice is for the developer's code to close out anything they started or opened explicitly. But the spirit of LiveCode is to be forgiving and easy for non-programmers to make use of and that seems to me that it should clean up for us if we don't. On 5/23/2019 11:38 AM, J. Landman Gay via use-livecode wrote: > It's not just fonts, anything that's still in use needs to be removed. > Fonts, stacks in use, open processes, com ports, sockets, etc. > Basically you need to shut down everything the stack opened. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 23, 2019 8:14:59 AM Paul Dupuis via use-livecode > wrote: > >> If it is a requirement for any loaded fonts to be unloaded from memory >> for a Standalone to actually quit under Microsoft Windows then a bug >> should be entered at https://quality.livecode.com/ to update the >> Dictionary entries for: >> >> closeStackRequest >> shutDownRequest >> quit >> start using font >> stop using font >> >> To note that any loaded font resources must be unloaded to allow a >> Windows standalone to properly exit. >> >> >> On 5/23/2019 10:41 AM, Eller, Roger via use-livecode wrote: >>> I do this to cleanly exit my Windows standalone, which is a >>> splashscreen stack. >>> >>> Because I have used a couple of fonts that I keep with the >>> standalone, I have to STOP USING them, else the process will still >>> continue to run. >>> >>> This handler is in my visible stack, not in the standalone >>> splashscreen stack. >>> >>> >>> on closeStackRequest >>> >>> ??? set the itemDel to "/" >>> >>> ??? put item 1 to -2 of the effective filename of this stack & ??? >>> "/Resources/TrajanPro" into tPath >>> >>> ??? put quote & tPath & "/TrajanPro-Regular.otf" & quote into >>> tTrajanProRegular >>> >>> ??? put quote & tPath & "/TrajanPro-Bold.otf" & quote into >>> tTrajanProBold >>> >>> ??? stop using font file tTrajanProRegular >>> >>> ??? stop using font file tTrajanProBold >>> >>> ??? close this stack >>> >>> ??? quit >>> >>> end closeStackRequest >>> >>> >>> ~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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 lists at mangomultimedia.com Thu May 23 11:55:04 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 May 2019 10:55:04 -0500 Subject: 9.5 DP 1 Unadorned - LayerMode - Container In-Reply-To: References: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> Message-ID: On Thu, May 23, 2019 at 10:39 AM Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > > > On 23 May 2019, at 8:01 am, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > On Thu, May 23, 2019 at 7:30 AM Sannyasin Brahmanathaswami via > use-livecode > > wrote: > > > >> 9.5 looks exciting. > >> > >> But we need a "lexicon" (or Kognition) for the dictionary. > >> It is still written in "deep-in-the-engine-jungle-geek-speak" > >> > >> For us lay people, we need a few more words. E.g. > >> > >> layerMode > >> > >> What does "unadorned" mean? > > > > > > My understanding is that the group must have showborder set to false and > > opaque set to false. > > > > Also no graphic effects, blendMode etc. > And the way to verify that the group is actually working in "container" mode is to check `the effective layermode` of the group. If it isn't "container" then you have a setting that is incorrect. -- Trevor DeVore ScreenSteps From bobsneidar at iotecdigital.com Thu May 23 11:59:08 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 May 2019 15:59:08 +0000 Subject: The correct way to quit a Windows standalone In-Reply-To: <16ae55833a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> <1BC8A5A6-A323-43BD-99E5-FA2B1D46B087@iotecdigital.com> <90ef7cf4-ff20-d0c3-a93f-56b08d03bee0@krutt.org> <7195a028-3155-abc1-f500-09c6789ee334@researchware.com> <16ae55833a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: So this seems odd to me. If an executable that spawns other processes/threads (if that is what a splash stack is doing) quits, Windows should also terminate the processes/threads. I suppose, from reading various email posts here that there are different ways to implement a splash screen. As I mentioned before, I have a stack I call Splash, which is NOT the Mainstack (because I have code in the *actual* mainstack along with properties etc. that everything else depends on). In the Stack Files I have added the *actual* Mainstack which contains substacks. The splash stack simply hides itself after a few seconds and some eye candy, then opens the mainstack which gets the ball rolling. It's closing the Mainstack (which has code to close the substacks first) which was causing Windows to toss the error and strand the Splash exe process, but I think I got that sorted out. Apparently another way some do it is to make the Splash Stack the Mainstack. The reason I do not do this is because I use the splash stack for multiple projects, and I don't want to have to pry the splash stack out of a project in order to save it as something else to use in that project. I suppose a third way would be to have the splash stack a substack of the mainstack, although I don't see the advantage in this. Bob S > On May 23, 2019, at 08:38 , J. Landman Gay via use-livecode wrote: > > It's not just fonts, anything that's still in use needs to be removed. Fonts, stacks in use, open processes, com ports, sockets, etc. Basically you need to shut down everything the stack opened. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Thu May 23 12:02:19 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 May 2019 16:02:19 +0000 Subject: repeat with times In-Reply-To: References: Message-ID: Unless you were a bug, and then it might be perfectly fine. Bob S > On May 22, 2019, at 23:57 , Richmond via use-livecode wrote: > > If syntax is invalid it is WRONG, and does not need to be flagged as anything, just corrected. > > If I write: The dog me bit. > > It is wrong: it is not a bug, nor a regression. > > Richmond. From jacque at hyperactivesw.com Thu May 23 12:10:18 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 May 2019 09:10:18 -0700 Subject: 9.5 DP 1 Unadorned - LayerMode - Container In-Reply-To: References: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> Message-ID: On 5/23/19 8:39 AM, Monte Goulding via use-livecode wrote: > > >> On 23 May 2019, at 8:01 am, Trevor DeVore via use-livecode wrote: >> >> On Thu, May 23, 2019 at 7:30 AM Sannyasin Brahmanathaswami via use-livecode >> wrote: >> >>> 9.5 looks exciting. >>> >>> But we need a "lexicon" (or Kognition) for the dictionary. >>> It is still written in "deep-in-the-engine-jungle-geek-speak" >>> >>> For us lay people, we need a few more words. E.g. >>> >>> layerMode >>> >>> What does "unadorned" mean? >> >> >> My understanding is that the group must have showborder set to false and >> opaque set to false. >> > > Also no graphic effects, blendMode etc. Also no label. I wasn't aware opacity mattered. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu May 23 12:14:34 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 May 2019 16:14:34 +0000 Subject: repeat with times In-Reply-To: <1558465498966-0.post@n4.nabble.com> References: <20190521182420.Horde.K0DUQey6bWgwwvgpgHbAqvM@ua850258.serversignin.com> <1558465498966-0.post@n4.nabble.com> Message-ID: It may have passed in the past (ahem) because the engine might have thought you were trying to multiply 5 by empty, and if that is allowed (empty interpreted as 1) then the parser would go, "Okay, sure!" I just put "put 5 times empty" into the message box and got 5. "put 5 times" also gives me 5. So syntactically "repeat with y =1 to 5 times" resolves to "repeat with y = 1 to (5 * 1)" and so parses fine. That it does NOT parse in 9.5 makes me curious as to what changed in the parser. Bob S > On May 21, 2019, at 12:04 , dunbarxx via use-livecode wrote: > > Hi. > > What Ludovic suggests is not just a shortCut. You can say: > > repeat 5 > > or repeat 5 times > > but you could never say: > > repeat with y =1 to 5 times > > It is not a regression, that is, something in the latest v.9 build, it is > bad syntax. > > Craig From gcanyon at gmail.com Thu May 23 12:40:47 2019 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 23 May 2019 23:40:47 +0700 Subject: LC904rc2 Project Browser error? In-Reply-To: <3d3a10a9-a20f-a281-df89-c1e376e28a81@researchware.com> References: <75AE4FB7-F19D-4400-9C40-A229BC70D5C6@hindu.org> <3d3a10a9-a20f-a281-df89-c1e376e28a81@researchware.com> Message-ID: I installed 9.0.4 on a Mac, and it looks like there are several bugs still with drag and drop of groups. Did you file a bug for this issue? On Sat, Apr 27, 2019 at 12:17 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > Not to slight to any 3rd party tools, but I personalty would rather > identify bugs in LiveCode and report them to the LiveCode Quality > Center. My experience has been that a bug, properly reported, with a > repeatable recipe and test stack is fixed pretty rapidly these days. > > One of the first steps though is to determine whether the issue is > repeatable - can other people on other computer reproduce the observed > issue - which is why I was asking if anyone else has seen or can > reproduce this issue I observed. > > I am not sure from your reply whether that means you can also see this > specific issue (not relayering groups by drag and drop in the IDE > project browser) in LC9.0.4rc2. > > On 4/26/2019 12:26 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > It may be "many moons" before they fix the PB. > > > > I hardly use any more. > > > > Get Geoff's Navigator! > > > > BR > > > > Paul Dupuis wrote: > > > > I find that in the project browser under LC904rc2 (Windows 10), I > can > > not relayer groups. Button, fields, etc, all relayer fine by drag > and > > drop within the hierarchical list of the project browser, but not > groups. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Thu May 23 12:48:04 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 23 May 2019 17:48:04 +0100 Subject: 9.5 DP 1 Unadorned - LayerMode - Container In-Reply-To: References: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> Message-ID: Sounds like a lot of guesswork going on. Brahm is right, it needs documenting with full clarity. Sean Cole *Pi Digital Productions Ltd* eMail Ts & Cs On Thu, 23 May 2019 at 17:10, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/23/19 8:39 AM, Monte Goulding via use-livecode wrote: > > > > > >> On 23 May 2019, at 8:01 am, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> On Thu, May 23, 2019 at 7:30 AM Sannyasin Brahmanathaswami via > use-livecode > >> wrote: > >> > >>> 9.5 looks exciting. > >>> > >>> But we need a "lexicon" (or Kognition) for the dictionary. > >>> It is still written in "deep-in-the-engine-jungle-geek-speak" > >>> > >>> For us lay people, we need a few more words. E.g. > >>> > >>> layerMode > >>> > >>> What does "unadorned" mean? > >> > >> > >> My understanding is that the group must have showborder set to false and > >> opaque set to false. > >> > > > > Also no graphic effects, blendMode etc. > > Also no label. I wasn't aware opacity mattered. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 jjs at krutt.org Thu May 23 12:58:42 2019 From: jjs at krutt.org (JJS) Date: Thu, 23 May 2019 18:58:42 +0200 Subject: The correct way to quit a Windows standalone In-Reply-To: References: <4B89E181-48B3-45E1-9210-42FF42A5FEC0@iotecdigital.com> <9d8b43b3-fbc7-8ea9-1444-9a8c101a7b6a@gmail.com> <1BC8A5A6-A323-43BD-99E5-FA2B1D46B087@iotecdigital.com> <90ef7cf4-ff20-d0c3-a93f-56b08d03bee0@krutt.org> <7195a028-3155-abc1-f500-09c6789ee334@researchware.com> <16ae55833a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <55989763-9fc2-0258-217a-d921c646b37f@krutt.org> If you look at the script i posted before, then you see for windows /T and /F and so on. This will kill the application and all child processes. On 23-05-19 17:59, Bob Sneidar via use-livecode wrote: > So this seems odd to me. If an executable that spawns other processes/threads (if that is what a splash stack is doing) quits, Windows should also terminate the processes/threads. > > I suppose, from reading various email posts here that there are different ways to implement a splash screen. As I mentioned before, I have a stack I call Splash, which is NOT the Mainstack (because I have code in the *actual* mainstack along with properties etc. that everything else depends on). In the Stack Files I have added the *actual* Mainstack which contains substacks. > > The splash stack simply hides itself after a few seconds and some eye candy, then opens the mainstack which gets the ball rolling. It's closing the Mainstack (which has code to close the substacks first) which was causing Windows to toss the error and strand the Splash exe process, but I think I got that sorted out. > > Apparently another way some do it is to make the Splash Stack the Mainstack. The reason I do not do this is because I use the splash stack for multiple projects, and I don't want to have to pry the splash stack out of a project in order to save it as something else to use in that project. > > I suppose a third way would be to have the splash stack a substack of the mainstack, although I don't see the advantage in this. > > Bob S > > >> On May 23, 2019, at 08:38 , J. Landman Gay via use-livecode wrote: >> >> It's not just fonts, anything that's still in use needs to be removed. Fonts, stacks in use, open processes, com ports, sockets, etc. Basically you need to shut down everything the stack opened. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.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 lists at mangomultimedia.com Thu May 23 12:59:14 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 May 2019 11:59:14 -0500 Subject: 9.5 DP 1 Unadorned - LayerMode - Container In-Reply-To: References: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> Message-ID: On Thu, May 23, 2019 at 11:10 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/23/19 8:39 AM, Monte Goulding via use-livecode wrote: > > > >> On 23 May 2019, at 8:01 am, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> On Thu, May 23, 2019 at 7:30 AM Sannyasin Brahmanathaswami via > use-livecode > >> wrote: > >> > >>> 9.5 looks exciting. > >>> > >>> But we need a "lexicon" (or Kognition) for the dictionary. > >>> It is still written in "deep-in-the-engine-jungle-geek-speak" > >>> > >>> For us lay people, we need a few more words. E.g. > >>> > >>> layerMode > >>> > >>> What does "unadorned" mean? > >> > >> My understanding is that the group must have showborder set to false and > >> opaque set to false. > > > > Also no graphic effects, blendMode etc. > > Also no label. I wasn't aware opacity mattered. > I just did a quick test involving going through the property inspector for a group and changing properties. I have confirmed that the following properties will cause a group that is assigned the layerMode of "container" to have an effective layerMode of "static": - opaque - showBorder - showname - hscrollbar/vscrollbar - dropShadow, innderShadow, outerGlow, innerGlow, and colorOverlay In addition, the acceleratedRendering of the stack must be true or the group will always have an effective layermode of "static". -- Trevor DeVore ScreenSteps From paul at researchware.com Thu May 23 13:45:00 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 23 May 2019 13:45:00 -0400 Subject: LC904rc2 Project Browser error? In-Reply-To: References: <75AE4FB7-F19D-4400-9C40-A229BC70D5C6@hindu.org> <3d3a10a9-a20f-a281-df89-c1e376e28a81@researchware.com> Message-ID: I did not because I could not repeat the problem I was seeing in 9.0.4 stable. I also can not reproduce the issue in 905rc-1 I don't know if what I saw was a real problem or user error in the 904rc's and since I can not reproduce it, I have moved on to other issues. On 5/23/2019 12:40 PM, Geoff Canyon wrote: > I installed 9.0.4 on a Mac, and it looks like there are several bugs > still with drag and?drop of groups. Did you file a bug for this issue? > > On Sat, Apr 27, 2019 at 12:17 AM Paul Dupuis via use-livecode > > > wrote: > > Not to slight to any 3rd party tools, but I personalty would rather > identify bugs in LiveCode and report them to the LiveCode Quality > Center. My experience has been that a bug, properly reported, with a > repeatable recipe and test stack is fixed pretty rapidly these days. > > One of the first steps though is to determine whether the issue is > repeatable - can other people on other computer reproduce the > observed > issue - which is why I was asking if anyone else has seen or can > reproduce this issue I observed. > > I am not sure from your reply whether that means you can also see > this > specific issue (not relayering groups by drag and drop in the IDE > project browser) in LC9.0.4rc2. > > On 4/26/2019 12:26 PM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > It may be "many moons" before they fix the PB. > > > > I hardly use any more. > > > > Get Geoff's Navigator! > > > > BR > > > > Paul Dupuis wrote: > > > >? ? ? I find that in the project browser under LC904rc2 (Windows > 10), I can > >? ? ? not relayer groups. Button, fields, etc, all relayer fine > by drag and > >? ? ? drop within the hierarchical list of the project browser, > but not groups. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 May 23 13:55:30 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 May 2019 17:55:30 +0000 Subject: UPDATE: Nested Datagrid Behaviors Message-ID: Hi all. For those of you interested in nesting custom DataGrid behaviors, as has been discussed before, note that there was a conflict I discovered with revNavigator and folding. With Geoff's help I developed a patch for it. Comment out and paste the private function _resourceStack in your behaviorsdatagridbuttonbehavior.livecodescript with this code: local sResourceStack private function _ResourceStack local theStack, theCharNo if sResourceStack is empty then put the behavior of me into theStack repeat if trueWord -1 of theStack is "revDataGridLibrary" or \ trueword -1 of theStack is "revNavigator" or \ theStack is empty then exit repeat else put the behavior of theStack into theStack end if end repeat if theStack is not empty then put offset(" of stack", theStack) into theCharNo delete char 1 to (theCharNo + 3) of theStack end if put theStack into sResourceStack end if return sResourceStack end _ResourceStack Bob S From roland.huettmann at gmail.com Thu May 23 15:26:01 2019 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 23 May 2019 21:26:01 +0200 Subject: Dictionary Message-ID: I agree that the dictionary often leaves guess work. The biggest problem I have with the dictionary is forgetting the name of a function and trying to guess the name. If there were lots of tags to look for... but... You must know at least the beginning of a name. And how can you even search not knowing what to search for when you only know what you want to solve? (Well, search elsewhere...) But it would be really very good if editors would put themselves into the shoes of newbies assuming no prior knowledge about any of the many acronyms, and providing links for further study or simply more explanation when a function is not trivial. I know, it is hard work. If such task could be structured and we were invited as editors to contribute in a more user-friendly way? But too many editors may also spoil the soup. W3School is s great example of how to combine tutorials with reference lists (dictionary). The dictionary is a central point of focus for every developer. Probably, there is just not enough knowledgable manpower to not just do the absolute minimum. When Mark is explaining something here, then often I get a picture of what is behind the hood. He cannot be, but should be editor-in-chief... ) From dochawk at gmail.com Thu May 23 19:35:49 2019 From: dochawk at gmail.com (doc hawk) Date: Thu, 23 May 2019 16:35:49 -0700 Subject: Messages for selecting region? Message-ID: I think I used to know this, but . . . Aren?t there messages for when the mouse is held down and dragged, as if selecting an area? Or is it something we do with mosueDown, mouseStillDown, and mouseUp? Specifically, in the new pdf widget, I?m looking to, during development, selecting a region, which may or may not cause scrolling, and using the results of the drag to resize the widget to the selected area, then suppress the boarders, scrollbars, etc. From dochawk at gmail.com Thu May 23 19:38:36 2019 From: dochawk at gmail.com (doc hawk) Date: Thu, 23 May 2019 16:38:36 -0700 Subject: Messages for selecting region? In-Reply-To: References: Message-ID: <03C0A945-D82E-4796-B9A9-62600B3ABB59@gmail.com> Oh, and . . . how do I get that pulsing/sliding selection region marker around the region as I work. From brahma at hindu.org Thu May 23 23:40:01 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 24 May 2019 03:40:01 +0000 Subject: Dictionary In-Reply-To: References: Message-ID: <89001EBF-6A7F-4DA8-B53A-92121E1BF6E3@hindu.org> After a year or more getting used to GIT, I am willing help. I know somewhere, buried in this list, is a tutorial on helping with the dictionary. Can a lesson be created on the subject? I keep asking a lot of ? and get great advice from the list, and save it. I might as well try a few edits to the dictionary. BR R.H. wrote: I know, it is hard work. If such task could be structured and we were invited as editors to contribute in a more user-friendly way? But too many editors may also spoil the soup. From brahma at hindu.org Thu May 23 23:51:35 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 24 May 2019 03:51:35 +0000 Subject: 9.5 DP 1 Unadorned - LayerMode - Container In-Reply-To: References: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> Message-ID: <5EA3705D-9454-4175-936C-F568A79171B6@hindu.org> Wow, thanks Trevor for the R & D! That makes for "pretty plain" Datagrid2 forms. I understand the reasons behind it. But making "gorgeous" UI that scrolls then is not possible. I am developing youTube library that use Datagrid. So it seems we will have to sacrifice scrolling to get a shadow on the forms, or a gradient on the graphic behind each form. OR get it scrolling smoothly but, it will have a "utilitarian" look and feel. But users are looking navigation, not eye-candy. But our design team will be "pained" by such a choice. I guess we can dress up to the card and static layers.. We shall see.... I will pursue "dictionary" one the other thread. (R.H. "Dictionary") ?On 5/23/19, 6:59 AM, "use-livecode on behalf of Trevor DeVore via use-livecode" wrote: I just did a quick test involving going through the property inspector for a group and changing properties. I have confirmed that the following properties will cause a group that is assigned the layerMode of "container" to have an effective layerMode of "static": - opaque - showBorder - showname - hscrollbar/vscrollbar - dropShadow, innderShadow, outerGlow, innerGlow, and colorOverlay In addition, the acceleratedRendering of the stack must be true or the group will always have an effective layermode of "static". From richmondmathewson at gmail.com Fri May 24 02:51:53 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 24 May 2019 09:51:53 +0300 Subject: Windows 64 Message-ID: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> Err . . . here are several goofy questions from a non-Windows user. 1. Will 32-bit Windows builds work on all current deployments of the Windows OS? 2. Which current deployments of the Windows OS 'prefer' 64-bit executables? 3. Why is there only one version of LiveCode for Macintosh? Should Mac users feel hard done by? Richmond. From matthias_livecode_150811 at m-r-d.de Fri May 24 07:50:41 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 24 May 2019 13:50:41 +0200 Subject: Windows 64 In-Reply-To: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> Message-ID: <659130F5-B665-45B4-AD54-F739A376A54A@m-r-d.de> Hi Richmond, 1. Yes 2. Every 64-bit Windows is able to run 64-bit apps, but also 32-bit apps, but not vice versa. 64-bit Windows versions do not prefer 64-bit apps, but there might be reasons (e.g. memory, performance) where it would be better to use the 64-bit version of an app. It depends on the apps. 3. LC IDE is 64-bit, but could run in 32-bit mode on pre-Mojave systems. If i remember right, you had to right click on the LC IDE app bundle, select Info and then there was a 'run as 32-bit' (or so) option to check. I have just upgraded to Mojave, so i cannot describe better, as i cannot try. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 24.05.2019 um 08:51 schrieb Richmond via use-livecode >: > > Err . . . here are several goofy questions from a non-Windows user. > > 1. Will 32-bit Windows builds work on all current deployments of the Windows OS? > > 2. Which current deployments of the Windows OS 'prefer' 64-bit executables? > > 3. Why is there only one version of LiveCode for Macintosh? Should Mac users feel hard done by? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 24 07:58:38 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 24 May 2019 07:58:38 -0400 Subject: Windows 64 In-Reply-To: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> Message-ID: If I recall correctly: Windows 2000 and XP were only 32-bit Windows Vista and WIndows 7 came in both 32-bit and 64-bit versions (you have to buy the version you wanted. They were sold separately) Windows 8, 8.1, and 10 are available ONLY as 64-bit OSes So, while Microsoft maintains 32-bit compatibility and probably will for several more versions of their OSes simply to support the massive amount of old programs people still run, they have encouraged that all new apps be 64-bit for some time now. On 5/24/2019 2:51 AM, Richmond via use-livecode wrote: > Err . . . here are several goofy questions from a non-Windows user. > > 1. Will 32-bit Windows builds work on all current deployments of the > Windows OS? > > 2. Which current deployments of the Windows OS 'prefer' 64-bit > executables? > > 3. Why is there only one version of LiveCode for Macintosh? Should Mac > users feel hard done by? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 lists at mangomultimedia.com Fri May 24 08:15:04 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 May 2019 05:15:04 -0700 Subject: 9.5 DP 1 Unadorned - LayerMode - Container In-Reply-To: <5EA3705D-9454-4175-936C-F568A79171B6@hindu.org> References: <32925050-F617-4A92-96A1-385E8EE3F8E3@hindu.org> <5EA3705D-9454-4175-936C-F568A79171B6@hindu.org> Message-ID: Just apply the shadow or gradient to an object other than the DataGrid group itself. -- Trevor DeVore ScreenSteps On Thu, May 23, 2019 at 10:52 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Wow, thanks Trevor for the R & D! > > That makes for "pretty plain" Datagrid2 forms. I understand the reasons > behind it. But making "gorgeous" UI that scrolls then is not possible. > > I am developing youTube library that use Datagrid. So it seems we will > have to sacrifice scrolling to get a shadow on the forms, or a gradient on > the graphic behind each form. > > OR > > get it scrolling smoothly but, it will have a "utilitarian" look and feel. > But users are looking navigation, not eye-candy. But our design team will > be "pained" by such a choice. I guess we can dress up to the card and > static layers.. > > We shall see.... > > I will pursue "dictionary" one the other thread. (R.H. "Dictionary") > > ?On 5/23/19, 6:59 AM, "use-livecode on behalf of Trevor DeVore via > use-livecode" use-livecode at lists.runrev.com> wrote: > > I just did a quick test involving going through the property inspector > for > a group and changing properties. I have confirmed that the following > properties will cause a group that is assigned the layerMode of > "container" > to have an effective layerMode of "static": > > - opaque > - showBorder > - showname > - hscrollbar/vscrollbar > - dropShadow, innderShadow, outerGlow, innerGlow, and colorOverlay > > In addition, the acceleratedRendering of the stack must be true or the > group will always have an effective layermode of "static". > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 24 09:29:27 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 24 May 2019 13:29:27 +0000 Subject: Android Blocks LC With Browser Net Error Message-ID: <719F10A6-BF77-45C4-BB98-3D6E3CF8249D@hindu.org> When a firewall or some other "obstruction" prevents accessing a URL in the browser widget on Android, it responds with an error page, in HTML, viz. =========== [Android Green Robot Icon] "Webpage not available The webpage at https://www.youtube.copm/embed/YHs7dyN6sgM could not be loaded. Net::ERR_CONNECTION_RESET =========== And now all the buttons and the nav/task bar at the bottom (which are now SVG drawings imported as icons) cease to function. The engine is blocked. The only way out is for the user to stop the app. It's a pretty nasty bug. I will report it as such. But I was wondering, as a hack, if there is a way we could preempt the message with a TSnet command, before Android give the message. Then we could hide the browser, and give a notification: "Web Page not available. Check you net connection." And keep the engine/buttons "alive" so the user can back out to "home" BR From lists at mangomultimedia.com Fri May 24 11:00:05 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 May 2019 10:00:05 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On Tue, May 7, 2019 at 8:35 AM Trevor DeVore wrote: > This is for anyone who plans on attending my workshop on using FFI in LCB > at the conference. Is there any code (a macOS Framework, Windows API, DLL, > dylib, etc.) that is written in Objective-C or that has a C wrapper that > you are interested in wrapping with LCB in order to make it available to > LiveCode? > For those interested you can find the source code for the projects we discussed in the LCB FFI Workshop at the San Jose Conference. The pocketsphinx project is an experiment to get it working and teach some concepts. The mosquitto project is an example of wrapping an API and making it available to LiveCode. The demo stack is fully functional and you can subscribe to and publish messages with other people if they are connected to the same server. https://github.com/trevordevore/lc-pocketsphinx https://github.com/trevordevore/lc-mosquitto -- Trevor DeVore ScreenSteps From bobsneidar at iotecdigital.com Fri May 24 11:21:11 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2019 15:21:11 +0000 Subject: Windows 64 In-Reply-To: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> Message-ID: Not sure what you mean. Are you talking about 32 bit vs. 64 bit? Apple only began supporting 64 bit OS in 2006 when they began to use the Intel chipset. In 2011 the OS was exclusively 64 bit throughout, but has continued to run 32 bit apps until Mojave. Mojave is the last Mac OS that will support running 32 bit apps. A 32 bit OS can only address around the first 2 gigs of memory. Not very good for running multiple apps. I understand your financial situation living and working where you do. If all you have to work with is pre-Intel Apples, then I'm surprised... even shocked you keep them running! It's a testament to your resourcefulness, not to mention your tenacity. It's also a testament to how well Apple made their products in those days. Bob S > On May 23, 2019, at 23:51 , Richmond via use-livecode wrote: > > 3. Why is there only one version of LiveCode for Macintosh? Should Mac users feel hard done by? > > Richmond. From bobsneidar at iotecdigital.com Fri May 24 11:24:08 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2019 15:24:08 +0000 Subject: Windows 64 In-Reply-To: References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> Message-ID: Not so. You *could* get a 32 bit version of these OS. In fact if you were upgrading from a 32 bit Win 7 you HAD to upgrade to the 32 bit version of 8, and in like manner, from 8 to 10. The only way to go to 64 bit was to buy a NEW license of those OS, and do a clean install. You could not upgrade. Bob S > On May 24, 2019, at 04:58 , Paul Dupuis via use-livecode wrote: > > Windows 8, 8.1, and 10 are available ONLY as 64-bit OSes From tom at makeshyft.com Fri May 24 11:58:04 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 24 May 2019 11:58:04 -0400 Subject: App Store changes in August? Message-ID: Hi Peeps, I am not sure I heard correctly, but is there some kind of change occurring in August where the 9.0x line of LC builds will not be able to submit to the app store? I think it was the apple store that was being discussed. From paul at researchware.com Fri May 24 12:08:04 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 24 May 2019 12:08:04 -0400 Subject: Opening a stack changes it's set rect Message-ID: <590e68bd-3132-5bbb-512e-fd73e7713ade@researchware.com> I discovered today that opening a stack changes its set rect (at least under Windows 10 in LC904/905rc1 when opening a stack invisible See this little gem: https://quality.livecode.com/show_bug.cgi?id=22097 Not a problem is you are just popping up windows and then setting their positions, but if, for some reason, you want to precisely place windows (like we do) and then open them, this is a pain in the rear! Opening a window/stack should not change its rect! From hh at hyperhh.de Fri May 24 12:52:52 2019 From: hh at hyperhh.de (hh) Date: Fri, 24 May 2019 18:52:52 +0200 Subject: Question for LCB FFI workshop attendees at upcoming conference Message-ID: Thank you very much for sharing these examples. > Trevor DeV. wrote: > For those interested you can find the source code for the projects we > discussed in the LCB FFI Workshop at the San Jose Conference. The > pocketsphinx project is an experiment to get it working and teach some > concepts. The mosquitto project is an example of wrapping an API and making > it available to LiveCode. The demo stack is fully functional and you can > subscribe to and publish messages with other people if they are connected > to the same server. > > https://github.com/trevordevore/lc-pocketsphinx > https://github.com/trevordevore/lc-mosquitto From jjs at krutt.org Fri May 24 10:53:31 2019 From: jjs at krutt.org (JJS) Date: Fri, 24 May 2019 16:53:31 +0200 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: <468156b8-73ff-97c3-057f-7fcf39f763bf@krutt.org> Thank you Trevor Op 24-5-2019 om 17:00 schreef Trevor DeVore via use-livecode: > On Tue, May 7, 2019 at 8:35 AM Trevor DeVore > wrote: > >> This is for anyone who plans on attending my workshop on using FFI in LCB >> at the conference. Is there any code (a macOS Framework, Windows API, DLL, >> dylib, etc.) that is written in Objective-C or that has a C wrapper that >> you are interested in wrapping with LCB in order to make it available to >> LiveCode? >> > For those interested you can find the source code for the projects we > discussed in the LCB FFI Workshop at the San Jose Conference. The > pocketsphinx project is an experiment to get it working and teach some > concepts. The mosquitto project is an example of wrapping an API and making > it available to LiveCode. The demo stack is fully functional and you can > subscribe to and publish messages with other people if they are connected > to the same server. > > https://github.com/trevordevore/lc-pocketsphinx > > https://github.com/trevordevore/lc-mosquitto > From bobsneidar at iotecdigital.com Fri May 24 12:54:39 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2019 16:54:39 +0000 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: Bad link Bob S > On May 11, 2019, at 06:19 , Michael Muthmannn via use-livecode wrote: > > Hi Trevor, > > In the forums a couple of times there were some questions about MQTT integration into livecode. > > I found found a native Objective-C iOS library here: > > https://github.com/novastone-media/MQTT ... -Framework From ahsoftware at sonic.net Fri May 24 12:57:37 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 24 May 2019 09:57:37 -0700 Subject: repeat with times In-Reply-To: References: <20190521182420.Horde.K0DUQey6bWgwwvgpgHbAqvM@ua850258.serversignin.com> <1558465498966-0.post@n4.nabble.com> Message-ID: <83fd1bb4-7544-d539-e44a-f442b226d4c6@sonic.net> On 5/23/19 9:14 AM, Bob Sneidar via use-livecode wrote: > I just put "put 5 times empty" into the message box and got 5. I don't get that when I try it. I first of all get an error message about not finding the handler, and then it displays "5". But the displayed value is a side effect of the "put" error that just displays the wrong value in certain situations: try "put" or "put times empty" into the message box. Btw - 5 times empty should be zero, not five. :P -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Fri May 24 12:59:29 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 May 2019 09:59:29 -0700 Subject: App Store changes in August? In-Reply-To: References: Message-ID: Tom Glod wrote: > Hi Peeps, I am not sure I heard correctly, but is there some kind of > change occurring in August where the 9.0x line of LC builds will not > be able to submit to the app store? I think it was the apple store > that was being discussed. People say all sorts of things. Sometimes those things are true; sometimes they're misunderstandings. To sort out which is the case here: The app store has dozens of requirements, and LiveCode has thousands of features. Do you recall which intersection of those is affected? -- 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 paul at researchware.com Fri May 24 13:05:01 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 24 May 2019 13:05:01 -0400 Subject: App Store changes in August? In-Reply-To: References: Message-ID: <6073c981-edfb-0dbf-0928-6c0a47e38f0e@researchware.com> My guess would be the forth coming Notarization requirement by Apple? There was a lot of list discussion about that, but it has nothing to do with LiveCode. It is just another set of steps your will need to do, like Code Signing, for you OSX apps build in LiveCode or any language to run on OSX. But, Richard is right, you need to be a bit more specific... On 5/24/2019 12:59 PM, Richard Gaskin via use-livecode wrote: > Tom Glod wrote: > > > Hi Peeps, I am not sure I heard correctly, but is there some kind of > > change occurring in August where the 9.0x line of LC builds will not > > be able to submit to the app store? I think it was the apple store > > that was being discussed. > > People say all sorts of things.? Sometimes those things are true; > sometimes they're misunderstandings. > > To sort out which is the case here: > > The app store has dozens of requirements, and LiveCode has thousands > of features.? Do you recall which intersection of those is affected? > > -- > ?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 Fri May 24 13:10:57 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 24 May 2019 10:10:57 -0700 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On 5/24/19 9:54 AM, Bob Sneidar via use-livecode wrote: > Bad link lmgtfy... https://github.com/novastone-media/MQTT-Client-Framework -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Fri May 24 13:25:47 2019 From: mark at livecode.com (Mark Waddingham) Date: Fri, 24 May 2019 19:25:47 +0200 Subject: repeat with times In-Reply-To: References: Message-ID: On 2019-05-23 08:42, ambassador--- via use-livecode wrote: >> After re-reading the release notes I think this is probably the result >> of bug 20951 being squashed @ >> https://quality.livecode.com/show_bug.cgi?id=20951 > > That sounds like it. Yup - that's the one. The LCS parser is very lax, it tends not to flag incorrect syntax if it can get a reasonable interpretation of what you have written. (i.e. Some subset of the line - starting from the first char - makes sense as a LiveCode command). We tend not to fix this (usually benign) lax parsing as it can cause scripts which did compile to stop compiling (as some have discovered). However in this case the lax parsing of repeat is not benign - you can write a 'repeat with' statement which looks like it is 100% correct but does not do what you expect: i.e. repeat with i = 1 to 10 by 2 -- ignores the 'by' clause repeat with i = 1 to 10 step 2 -- this is what was meant Of course ideally the parser would only allow you to use the exact syntax the engine defines, rather than ignoring 'junk' at the end of a line... Perhaps something we should do for LC-Next... Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Fri May 24 13:30:54 2019 From: mark at livecode.com (Mark Waddingham) Date: Fri, 24 May 2019 19:30:54 +0200 Subject: Windows 64 In-Reply-To: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> Message-ID: <3af60ec4a54cf89fa76648dd0ac3a2a3@livecode.com> On 2019-05-24 08:51, Richmond via use-livecode wrote: > 1. Will 32-bit Windows builds work on all current deployments of the > Windows OS? Yes. > 2. Which current deployments of the Windows OS 'prefer' 64-bit > executables? No windows OS versions 'prefer' 64-bit exes per-se. MS did a very good job when they produced Win64 and the WoW layer - 32-bit windows apps and 64-bit windows apps coexist quite happily on a 64-bit capable version of the OS. The advantage of 64-bit windows apps is you can allocate more memory, and some things are a little faster (the internal graphics rendering functionality benefits quite significantly from the 64-bit intel architecture - maybe a 5-10% boost there). > 3. Why is there only one version of LiveCode for Macintosh? Should Mac > users feel hard done by? macOS users have had both 32-bit and 64-bit versions of LiveCode since version 8.0 - macOS has 'fat binaries' which means an executable can contain code for several different architectures. Windows (and Linux) do *not* have fat binaries and so you need to provide two distinct executables / standalones - one for 32-bit and one for 64-bit. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From brahma at hindu.org Fri May 24 13:40:09 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 24 May 2019 17:40:09 +0000 Subject: Android Blocks LC With Browser Net Error In-Reply-To: <719F10A6-BF77-45C4-BB98-3D6E3CF8249D@hindu.org> References: <719F10A6-BF77-45C4-BB98-3D6E3CF8249D@hindu.org> Message-ID: <44CC65BB-041B-4A1C-AD1B-2A087813D7D1@hindu.org> That URL should be https://www.youtube.com/embed/YHS7dyN6sgM It also crashes iOS if the phone is blocked by a firewall. ========= When a firewall or some other "obstruction" prevents accessing a URL in the browser widget on Android, it responds with an error page, in HTML, viz. =========== [Android Green Robot Icon] "Webpage not available The webpage at https://www.youtube.copm/embed/YHs7dyN6sgM could not be loaded. Net::ERR_CONNECTION_RESET =========== And now all the buttons and the nav/task bar at the bottom (which are now SVG drawings imported as icons) cease to function. The engine is blocked. The only way out is for the user to stop the app. It's a pretty nasty bug. I will report it as such. But I was wondering, as a hack, if there is a way we could preempt the message with a TSnet command, before Android give the message. Then we could hide the browser, and give a notification: "Web Page not available. Check you net connection." And keep the engine/buttons "alive" so the user can back out to "home" 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 tom at makeshyft.com Fri May 24 13:50:45 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 24 May 2019 13:50:45 -0400 Subject: App Store changes in August? In-Reply-To: <6073c981-edfb-0dbf-0928-6c0a47e38f0e@researchware.com> References: <6073c981-edfb-0dbf-0928-6c0a47e38f0e@researchware.com> Message-ID: Thats the thing I don't remember all the details that were mentioned...........with the streaming problems ....and my toddler interrupting me, I had no chance to catch all the details. But I remember having the distinct feeling of not being sure if the license & version i bought was going to be good after August. But if noting specific is coming to mind for you guys, and no one else was alarmed about it...I guess i'll just assume that my license will be good. Thanks On Fri, May 24, 2019 at 1:07 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > My guess would be the forth coming Notarization requirement by Apple? > > There was a lot of list discussion about that, but it has nothing to do > with LiveCode. It is just another set of steps your will need to do, > like Code Signing, for you OSX apps build in LiveCode or any language to > run on OSX. > > But, Richard is right, you need to be a bit more specific... > > On 5/24/2019 12:59 PM, Richard Gaskin via use-livecode wrote: > > Tom Glod wrote: > > > > > Hi Peeps, I am not sure I heard correctly, but is there some kind of > > > change occurring in August where the 9.0x line of LC builds will not > > > be able to submit to the app store? I think it was the apple store > > > that was being discussed. > > > > People say all sorts of things. Sometimes those things are true; > > sometimes they're misunderstandings. > > > > To sort out which is the case here: > > > > The app store has dozens of requirements, and LiveCode has thousands > > of features. Do you recall which intersection of those is affected? > > > > -- > > 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 tom at makeshyft.com Fri May 24 13:53:52 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 24 May 2019 13:53:52 -0400 Subject: App Store changes in August? In-Reply-To: References: <6073c981-edfb-0dbf-0928-6c0a47e38f0e@researchware.com> Message-ID: Found it..... its google play store needing 64 bit builds of the apps. The 64-bit requirement: what it means for developers Starting *August 1, 2019:* - All new apps and app updates that include native code are required to provide 64-bit versions in addition to 32-bit versions when publishing to Google Play. - *Extension:* Google Play will continue to accept 32-bit only updates to existing games that use Unity 5.6.x or older until August 2021. Does anyone know if those will be available in 9.0x? Thanks, Tom On Fri, May 24, 2019 at 1:50 PM Tom Glod wrote: > Thats the thing I don't remember all the details that were > mentioned...........with the streaming problems ....and my toddler > interrupting me, I had no chance to catch all the details. > > But I remember having the distinct feeling of not being sure if the > license & version i bought was going to be good after August. > > But if noting specific is coming to mind for you guys, and no one else was > alarmed about it...I guess i'll just assume that my license will be good. > > Thanks > > On Fri, May 24, 2019 at 1:07 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> My guess would be the forth coming Notarization requirement by Apple? >> >> There was a lot of list discussion about that, but it has nothing to do >> with LiveCode. It is just another set of steps your will need to do, >> like Code Signing, for you OSX apps build in LiveCode or any language to >> run on OSX. >> >> But, Richard is right, you need to be a bit more specific... >> >> On 5/24/2019 12:59 PM, Richard Gaskin via use-livecode wrote: >> > Tom Glod wrote: >> > >> > > Hi Peeps, I am not sure I heard correctly, but is there some kind of >> > > change occurring in August where the 9.0x line of LC builds will not >> > > be able to submit to the app store? I think it was the apple store >> > > that was being discussed. >> > >> > People say all sorts of things. Sometimes those things are true; >> > sometimes they're misunderstandings. >> > >> > To sort out which is the case here: >> > >> > The app store has dozens of requirements, and LiveCode has thousands >> > of features. Do you recall which intersection of those is affected? >> > >> > -- >> > 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 mark at livecode.com Fri May 24 14:14:26 2019 From: mark at livecode.com (Mark Waddingham) Date: Fri, 24 May 2019 20:14:26 +0200 Subject: Opening a stack changes it's set rect In-Reply-To: <590e68bd-3132-5bbb-512e-fd73e7713ade@researchware.com> References: <590e68bd-3132-5bbb-512e-fd73e7713ade@researchware.com> Message-ID: <0a543cf49ee270a3560fd5d7bd33f288@livecode.com> On 2019-05-24 18:08, Paul Dupuis via use-livecode wrote: > I discovered today that opening a stack changes its set rect (at least > under Windows 10 in LC904/905rc1 when opening a stack invisible > > See this little gem: https://quality.livecode.com/show_bug.cgi?id=22097 > > Not a problem is you are just popping up windows and then setting > their positions, but if, for some reason, you want to precisely place > windows (like we do) and then open them, this is a pain in the rear! > > Opening a window/stack should not change its rect! I'd point out here that the stack's *rect* is not being changed... It's effective rect is changing - this is a very different thing (the effective rect is only calculable after the system window object has been created). Given that the stack is being opened as invisible, then surely you can just open it invisible, then check its effective rect? Warmest Regards, Mark. P.S. A stack keeps its system window when closed unless the 'destroyWindow' property is set; if the latter is set to true, then closing the stack will cause its system window to be destroyed. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ambassador at fourthworld.com Fri May 24 14:27:16 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 May 2019 11:27:16 -0700 Subject: App Store changes in August? In-Reply-To: References: Message-ID: <56bad1d4-863b-4bf5-f609-2c99b6015a3b@fourthworld.com> Tom Glod wrote: > Found it..... its google play store needing 64 bit builds of the apps. > > The 64-bit requirement: what it means for developers Starting *August > 1 2019:* > > - All new apps and app updates that include native code are > required to provide 64-bit versions in addition to 32-bit versions > when publishing to Google Play. > - *Extension:* Google Play will continue to accept 32-bit only > updates to existing games that use Unity 5.6.x or older until August > 2021. > > Does anyone know if those will be available in 9.0x? I believe that's delivered, part of v9.5 (currently at DP1). From the Release Notes: New Android Architectures Android builds now support four architectures. Previously android was built for armv6 only.Android is now built for armv7, arm64, x86 and x86_64.Checkboxes are included on in the Android standalone settings to choose which architectures to include in the build. -- 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 tom at makeshyft.com Fri May 24 14:37:17 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 24 May 2019 14:37:17 -0400 Subject: App Store changes in August? In-Reply-To: <56bad1d4-863b-4bf5-f609-2c99b6015a3b@fourthworld.com> References: <56bad1d4-863b-4bf5-f609-2c99b6015a3b@fourthworld.com> Message-ID: yes..there it is.....thanks RG. On Fri, May 24, 2019 at 2:27 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > Found it..... its google play store needing 64 bit builds of the apps. > > > > The 64-bit requirement: what it means for developers Starting *August > > 1 2019:* > > > > - All new apps and app updates that include native code are > > required to provide 64-bit versions in addition to 32-bit versions > > when publishing to Google Play. > > - *Extension:* Google Play will continue to accept 32-bit only > > updates to existing games that use Unity 5.6.x or older until August > > 2021. > > > > Does anyone know if those will be available in 9.0x? > > > I believe that's delivered, part of v9.5 (currently at DP1). > > From the Release Notes: > > New Android Architectures > Android builds now support four architectures. Previously android > was built for armv6 only.Android is now built for armv7, arm64, > x86 and x86_64.Checkboxes are included on in the Android standalone > settings to choose which architectures to include in the build. > > > -- > 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 lists at mangomultimedia.com Fri May 24 15:24:53 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 May 2019 14:24:53 -0500 Subject: Question for LCB FFI workshop attendees at upcoming conference In-Reply-To: References: Message-ID: On Fri, May 24, 2019 at 11:53 AM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Thank you very much for sharing these examples. You?re welcome. One thing I forgot to mention - you need to have LC 9.0.5 or 9.5 installed to test the Pocketsphinx example. A bug was fixed related to passing null to variadic expressions. -- Trevor DeVore > ScreenSteps From irog at mac.com Fri May 24 15:53:06 2019 From: irog at mac.com (Roger Guay) Date: Fri, 24 May 2019 12:53:06 -0700 Subject: Dictionary In-Reply-To: References: Message-ID: Ditto on the Dictionary! Cheers, Roger > On May 23, 2019, at 12:26 PM, R.H. via use-livecode wrote: > > I agree that the dictionary often leaves guess work. > > The biggest problem I have with the dictionary is forgetting the name of a > function and trying to guess the name. If there were lots of tags to look > for... but... You must know at least the beginning of a name. > > And how can you even search not knowing what to search for when you only > know what you want to solve? (Well, search elsewhere...) > > But it would be really very good if editors would put themselves into the > shoes of newbies assuming no prior knowledge about any of the many > acronyms, and providing links for further study or simply more explanation > when a function is not trivial. > > I know, it is hard work. If such task could be structured and we were > invited as editors to contribute in a more user-friendly way? But too many > editors may also spoil the soup. > > W3School is s great example of how to combine tutorials with reference > lists (dictionary). > > The dictionary is a central point of focus for every developer. Probably, > there is just not enough knowledgable manpower to not just do the absolute > minimum. > > When Mark is explaining something here, then often I get a picture of what > is behind the hood. He cannot be, but should be editor-in-chief... ) > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 24 15:53:28 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 24 May 2019 15:53:28 -0400 Subject: Opening a stack changes it's set rect In-Reply-To: <0a543cf49ee270a3560fd5d7bd33f288@livecode.com> References: <590e68bd-3132-5bbb-512e-fd73e7713ade@researchware.com> <0a543cf49ee270a3560fd5d7bd33f288@livecode.com> Message-ID: <0ee2c047-f031-870b-f193-4dfa31b747da@researchware.com> Thank you Mark! On 5/24/2019 2:14 PM, Mark Waddingham via use-livecode wrote: > On 2019-05-24 18:08, Paul Dupuis via use-livecode wrote: >> I discovered today that opening a stack changes its set rect (at least >> under Windows 10 in LC904/905rc1 when opening a stack invisible >> >> See this little gem: https://quality.livecode.com/show_bug.cgi?id=22097 >> >> Not a problem is you are just popping up windows and then setting >> their positions, but if, for some reason, you want to precisely place >> windows (like we do) and then open them, this is a pain in the rear! >> >> Opening a window/stack should not change its rect! > > I'd point out here that the stack's *rect* is not being changed... > It's effective rect is changing - this is a very different thing (the > effective rect is only calculable after the system window object has > been created). > > Given that the stack is being opened as invisible, then surely you can > just open it invisible, then check its effective rect? > > Warmest Regards, > > Mark. > > P.S. A stack keeps its system window when closed unless the > 'destroyWindow' property is set; if the latter is set to true, then > closing the stack will cause its system window to be destroyed. > From curt at sonasoftware.com Fri May 24 16:02:20 2019 From: curt at sonasoftware.com (Curt Ford) Date: Fri, 24 May 2019 13:02:20 -0700 Subject: how to load a local file into the browser widget? Message-ID: <5CE84DCC.2070606@sonasoftware.com> Is there a trick to getting a local html file to display in the browser widget? I'm using this in a test button (in 9.0.4, on a Mac): *on*mouseUp *# set the defaultFolder to the folder containing the stackfile* *set*theitemDelimitertoslash* get*theeffectivefilenameofthisstack* set*thedefaultFoldertoitem1to-2 ofit* answer*"defaultFolder is"&& thedefaultFolder *if* thereisafile"Future.html"*then** answer*"OK, it's there"* else** answer*"not found!"* end* *if* *put*"file:/"& thedefaultFolder& slash& "Future.html"intotFile* set*theURLofwidget"Browser"totFile* answer*"the URL is"&& theURLofwidget"Browser" *end*mouseUp The .html file is in the same folder with the stack file, and in the standalone I've copied it into the bundle & the stack seems to find it, but nothing displays in the widget, both in IDE and the standalone. Loading a remote location works fine with *put*"https://nytimes.com"intotFile *set*theURLofwidget"Browser"totFile Is there something else to keep in mind when displaying a local file? Curt -- Sent from Postbox From tore.nilsen at me.com Fri May 24 16:05:37 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 24 May 2019 22:05:37 +0200 Subject: how to load a local file into the browser widget? In-Reply-To: <5CE84DCC.2070606@sonasoftware.com> References: <5CE84DCC.2070606@sonasoftware.com> Message-ID: <09F59FB9-9303-43F9-B11E-AAF0897DD4B3@me.com> You must make sure that the filePath to the html file you would like to see does not contain any invalid characters like spaces, which you will find is OK by the file system but not with the browser. Tore > 24. mai 2019 kl. 22:02 skrev Curt Ford via use-livecode : > > Is there a trick to getting a local html file to display in the browser widget? I'm using this in a test button (in 9.0.4, on a Mac): > > *on*mouseUp > > *# set the defaultFolder to the folder containing the stackfile* > > *set*theitemDelimitertoslash* > get*theeffectivefilenameofthisstack* > set*thedefaultFoldertoitem1to-2 ofit* > answer*"defaultFolder is"&& thedefaultFolder > > *if* thereisafile"Future.html"*then** > answer*"OK, it's there"* > else** > answer*"not found!"* > end* *if* > > *put*"file:/"& thedefaultFolder& slash& "Future.html"intotFile* > set*theURLofwidget"Browser"totFile* > answer*"the URL is"&& theURLofwidget"Browser" > > *end*mouseUp > > The .html file is in the same folder with the stack file, and in the standalone I've copied it into the bundle & the stack seems to find it, but nothing displays in the widget, both in IDE and the standalone. Loading a remote location works fine with > > *put*"https://nytimes.com"intotFile > > *set*theURLofwidget"Browser"totFile > > Is there something else to keep in mind when displaying a local file? > > Curt > > > -- > Sent from Postbox > _______________________________________________ > use-livecode mailing list > use-livecode 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 curt at sonasoftware.com Fri May 24 16:29:18 2019 From: curt at sonasoftware.com (Curt Ford) Date: Fri, 24 May 2019 13:29:18 -0700 Subject: how to load a local file into the browser widget? Message-ID: <5CE8541E.8070701@sonasoftware.com> > You must make sure that the filePath to the html file you would like to see does not contain any invalid characters like spaces, which you will find is OK by the file system but not with the browser. I had wondered about this; I renamed the file to "Browsertryout" and moved it to the desktop (so there were no spaces in the filePath, which is now "file://Users/cford/Desktop/Browsertryout.app/Contents/MacOS/Future.html"), but I'm still getting the same result (a blank widget). Curt -- Sent from Postbox From richmondmathewson at gmail.com Fri May 24 16:31:11 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 24 May 2019 23:31:11 +0300 Subject: Windows 64 In-Reply-To: References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> Message-ID: <94f1ca71-8fe6-ad5f-e2d9-ee887af3920d@gmail.com> Well, well; here's a reply which really needs a multi-part reply. On 24.05.19 18:21, Bob Sneidar via use-livecode wrote: > Not sure what you mean. What I mean is that LiveCode produces a "Fat" standalone which suffers from the following disadvantages: 1. It's fat, quite literally. 2. I wonder whether MacOS Somewhere_Obscure_In-California (10.15) will not object to those standalones because, as well as containing 64-bit code they also contain 32-bit code. > Are you talking about 32 bit vs. 64 bit? Apple only began supporting 64 bit OS in 2006 when they began to use the Intel chipset. In 2011 the OS was exclusively 64 bit throughout, but has continued to run 32 bit apps until Mojave. Mojave is the last Mac OS that will support running 32 bit apps. 1. I just felt a bit "funny" when my Mac Mini runing 10.14.5 beta something "made a remark" about 32-bit apps when I opened up LiveCode 9.0.4. > > A 32 bit OS can only address around the first 2 gigs of memory. Not very good for running multiple apps. Dunno about that: I've been running multiple apps ever since I bought a Macintosh LC475 running MacOS 7.0.1. > > I understand your financial situation living and working where you do. My "financial situation living and working where you do" sounds almost racist and certainly a bit condescending. You know nothing whatsoever about my financial situation (it's like most people's financial situation: plain boring). You are, if you feel the urge, most welcome to come and stay for a week to assess my standard of living; especially as I refilled the fridge yesterday. As to "working where you do," well, well, the main thing that is in anyway problematic about working where I do is the abysmal ignorance of smug types who assume , on the basis of not having been there, that where I work is an unmitigated sinkhole of iniquity. I've never seen anywhere quite as "ouch" as East St. Louis over here. I have a feeling that an awful lot of folk who stay in East St. Louis would do a lot to reach my financial situation. My wife and I have just finished watching "Homer and Eddie", which is an education in terms of financial situation and where one lives: https://www.imdb.com/title/tt0097521/ > If all you have to work with is pre-Intel Apples, then I'm surprised... even shocked you keep them running! Ha, Ha, Ha: sent out for some new underpants as mine just split! I keep PPC Macs running because of useful software (try running Bryce 4 on an Intel Mac) such as HyperCard. At home I have? all sorts of Intel Macs of varying vintages: notwithstanding my G5 PPC, G3 iMac and so on. Oddly enough I had so many lying around I gave one to a chap who works at the University last week because his previous Mac finally died: and he, having a wife and 2 teenage kids, had not the money to replace it. As to my school: I deploy very old, very cheap PCs running Xubuntu Linux. But the main reason for this is that children have sticky fingers and a tendency to muck around with things, so if a machine goes 'bang' it is a cheap exercise to replace it. Investing in expensive hardware when working with children is, as far as I am concerned, a mug's game. Also, as my school computers are not internet connected and are "only" used for my own LiveCode standalones for ESL content delivery and reinforcement, as well as running LiveCode for teaching, one does not need high-end machines. > It's a testament to your resourcefulness, not to mention your tenacity. It's also a testament to how well Apple made their products in those days. What's a testament? My asking questions about what's what with 64-bit versions of LiveCode? Nothing of the sort, old sausage. If you imagine Richmond wandering around fishing in bins (OK, OK, I have done that about 6 times to retrieve usable computer hard drives) for his living and looking like some extra from 'The Life of Brian' you are sadly wrong (even if it would have been fun to be an extra in 'Brian'). Love, Richmond. > > Bob S > > >> On May 23, 2019, at 23:51 , Richmond via use-livecode wrote: >> >> 3. Why is there only one version of LiveCode for Macintosh? Should Mac users feel hard done by? >> >> Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 alain.vezina at logilangue.com Fri May 24 16:32:17 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Fri, 24 May 2019 16:32:17 -0400 Subject: play sounds in HTML5 In-Reply-To: <1A67B2C8-5A30-44B2-89E8-3816D5A1EAAB@hyperhh.de> References: <1A67B2C8-5A30-44B2-89E8-3816D5A1EAAB@hyperhh.de> Message-ID: <09791538-A0DE-4C43-A96E-1EA6108FD389@logilangue.com> Hi, I have to admit, I'm a little confused. 1. Do I have to set the defaultFolder to specialFolderPath ("Documents") in openStack ? 2. After I copy the HTML file in the folder Documents, do I have to change it's name ? 3. Do I have to write sometihing like in both HTML files ? 4. Do I have to write it in a structure like ? I hope I'm not bothering you. I have a long experience of programming in LC, but this is the first time I have tried HTML5 and I have no knowledge of Java Script. Regards, Alain > > Le 16 mai 2019 ? 12:11, hh via use-livecode a ?crit : > >> Thanks Sean. >> I will have to work hard because I am not familiar with Dynamic HTML. > > One simple way to do that: > > Write, a little bit more as Sean wrote, in your html file: > > > Then first set in LC newsound, may be randomly: > > put "/audio/guitar-melody.wav" into newsound > > Then issue from LC: > > do "document.getElementById('audio1').src='" & newsound & "'" in widget "browser" > > That's all, nothing complicated. > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri May 24 16:33:35 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 24 May 2019 23:33:35 +0300 Subject: Windows 64 In-Reply-To: <3af60ec4a54cf89fa76648dd0ac3a2a3@livecode.com> References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> <3af60ec4a54cf89fa76648dd0ac3a2a3@livecode.com> Message-ID: Thank you for a very sensible reply that is easy to understand. Richmond. On 24.05.19 20:30, Mark Waddingham via use-livecode wrote: > On 2019-05-24 08:51, Richmond via use-livecode wrote: >> 1. Will 32-bit Windows builds work on all current deployments of the >> Windows OS? > > Yes. > >> 2. Which current deployments of the Windows OS 'prefer' 64-bit >> executables? > > No windows OS versions 'prefer' 64-bit exes per-se. MS did a very good > job when they produced Win64 and the WoW layer - 32-bit windows apps > and 64-bit windows apps coexist quite happily on a 64-bit capable > version of the OS. > > The advantage of 64-bit windows apps is you can allocate more memory, > and some things are a little faster (the internal graphics rendering > functionality benefits quite significantly from the 64-bit intel > architecture - maybe a 5-10% boost there). > >> 3. Why is there only one version of LiveCode for Macintosh? Should Mac >> users feel hard done by? > > macOS users have had both 32-bit and 64-bit versions of LiveCode since > version 8.0 - macOS has 'fat binaries' which means an executable can > contain code for several different architectures. > > Windows (and Linux) do *not* have fat binaries and so you need to > provide two distinct executables / standalones - one for 32-bit and > one for 64-bit. > > Warmest Regards, > > Mark. > From paul at researchware.com Fri May 24 16:34:23 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 24 May 2019 16:34:23 -0400 Subject: Player object controller bar Message-ID: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> I have searched the dictionary, Guides, and livecode.com but have been unable to find a annotated picture of the LC9xx player objects' controller bar and what each control does, especially in combinations with with modifier keys Clearly, some controls are obvious, like play/pause, etc., but I am looking for detailed documentation so I don't miss anything that is built into the controller bar itself. From tore.nilsen at me.com Fri May 24 17:00:57 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 24 May 2019 23:00:57 +0200 Subject: how to load a local file into the browser widget? In-Reply-To: <5CE8541E.8070701@sonasoftware.com> References: <5CE8541E.8070701@sonasoftware.com> Message-ID: Try to start the url with ?file:/// ? this is what I get at the start of the url of a browser widget when i set the url from a script using ?answer file? to navigate to any valid html file: on mouseUp answer file "Choose html file to display" set url of widget "browser" to it end mouseUp Tore > 24. mai 2019 kl. 22:29 skrev Curt Ford via use-livecode : > >> You must make sure that the filePath to the html file you would like to see does not contain any invalid characters like spaces, which you will find is OK by the file system but not with the browser. > I had wondered about this; I renamed the file to "Browsertryout" and moved it to the desktop (so there were no spaces in the filePath, which is now "file://Users/cford/Desktop/Browsertryout.app/Contents/MacOS/Future.html"), but I'm still getting the same result (a blank widget). > > Curt > > -- > Sent from Postbox > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri May 24 17:46:21 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 May 2019 23:46:21 +0200 Subject: how to load a local file into the browser widget? In-Reply-To: References: <5CE8541E.8070701@sonasoftware.com> Message-ID: <0FC152BD-2C03-453F-AC50-D8C9D5BB9542@major-k.de> Hi all, > Am 24.05.2019 um 23:00 schrieb Tore Nilsen via use-livecode : > > Try to start the url with ?file:/// ? this is what I get at the start of the url of a browser widget > when i set the url from a script using ?answer file? to navigate to any valid html file: > on mouseUp > answer file "Choose html file to display" > set url of widget "browser" to it > end mouseUp > > Tore > >> 24. mai 2019 kl. 22:29 skrev Curt Ford via use-livecode : >>> You must make sure that the filePath to the html file you would like to see does not contain any invalid characters like spaces, which you will find is OK by the file system but not with the browser. >> I had wondered about this; I renamed the file to "Browsertryout" and moved it to the desktop (so there were no spaces in the filePath, which is now "file://Users/cford/Desktop/Browsertryout.app/Contents/MacOS/Future.html"), but I'm still getting the same result (a blank widget). >> >> Curt it is TWO slashes actually -> file:// The third slash is from the actual filename -> /Users/cford/Desktop/Browsertryout.app/Contents/MacOS/Future.html But why on earth are you always messing around with the DEFAULTFOLDER when we these lovely specialfolderpath() functions? 8-) Do like this: 1. Add your files (hmtl, images, videos, sounds or whatever) to your standalone via the "Standalone Application Settings" -> "Copy files" 2. Then you will find them in your standalone in -> specialfolderpath("resources") on ANY platform You can also use -> specialfolderpath("resources") in the IDE, where it points to the folder containing the executing stack. Keep all your files (and folders) in that folder and with that and 1. above you do not need to script something different for the IDE and standalone on ANY platform! 3. Do this to display the html file in a browser widget: ... put specialfolderpath("resources") & "/Future.html" into tFile ## Important, if the pathname contains spaces: replace " " with "%20" in tFile set the url of widget "el browsero" to tFile ... Hint: Be aware that iOS and Android are case-sensitive operating systems: Future.html <> future.html So it may be a good idea to name all of your files with lowercase and your are on the safe side. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From curt at sonasoftware.com Fri May 24 17:53:27 2019 From: curt at sonasoftware.com (Curt Ford) Date: Fri, 24 May 2019 14:53:27 -0700 Subject: how to load a local file into the browser widget? Message-ID: <5CE867D7.9050107@sonasoftware.com> Ah, thanks, Tore, that was it! Using two slashes in the handler *put*"file://"& thedefaultFolder& slash& "Future.html"intotFile produced the filePath with three slashes, file:///Users/cford/Desktop/BrowserTryout/Future.html which is now working fine. :) -- Sent from Postbox From ahsoftware at sonic.net Fri May 24 18:26:40 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 24 May 2019 15:26:40 -0700 Subject: repeat with times In-Reply-To: References: Message-ID: On 5/24/19 10:25 AM, Mark Waddingham via use-livecode wrote: > However in this case the lax parsing of repeat is not benign - you can > write a 'repeat with' statement which looks like it is 100% correct but > does not do what you expect: > > ? i.e. repeat with i = 1 to 10 by 2 -- ignores the 'by' clause > ?????? repeat with i = 1 to 10 step 2 -- this is what was meant > Of course (...don't tell me you didn't see this coming) it would be very nice if "by" were a synonym for "step" in this syntax. ...just sayin' -- Mark Wieder ahsoftware at gmail.com From curt at sonasoftware.com Fri May 24 18:43:54 2019 From: curt at sonasoftware.com (Curt Ford) Date: Fri, 24 May 2019 15:43:54 -0700 Subject: how to load a local file into the browser widget? Message-ID: <5CE873AA.6040004@sonasoftware.com> Thanks Klaus, those are great tips! While I'm at it... some of the folders in the file path will be in Russian, which is breaking my current handler. Is there a way to run them through some unicode-type function to make them work in a file path? I can run those items of the file path through a quick transliteration function to change ????? into brat' etc., but thought it's worth checking... Curt -- Sent from Postbox From bobsneidar at iotecdigital.com Fri May 24 18:52:45 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2019 22:52:45 +0000 Subject: Windows 64 In-Reply-To: <94f1ca71-8fe6-ad5f-e2d9-ee887af3920d@gmail.com> References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> <94f1ca71-8fe6-ad5f-e2d9-ee887af3920d@gmail.com> Message-ID: <1CF1ED58-EEEE-41B0-A1CB-8D854CC1A155@iotecdigital.com> Sorry Richmond I got that from prior posts about the schools you were working with and you mentioned that the reason you wanted to use much older Macs and such was that they could not afford newer products there in Bulgaria. I didn't mean to cast aspersions on your status. Please forgive me. Bob S > On May 24, 2019, at 13:31 , Richmond via use-livecode wrote: > > My "financial situation living and working where you do" sounds almost racist > and certainly a bit condescending. > > You know nothing whatsoever about my financial situation (it's like most people's financial situation: > plain boring). You are, if you feel the urge, most welcome to come and stay for a week to assess > my standard of living; especially as I refilled the fridge yesterday. From bobsneidar at iotecdigital.com Fri May 24 19:25:25 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 May 2019 23:25:25 +0000 Subject: Reset a Column Behavior Message-ID: How to you reset a column behavior? I tried to add a checkbox to a datagrid and now I borked the datagrid. Bob S From kee.nethery at elloco.com Fri May 24 20:35:02 2019 From: kee.nethery at elloco.com (kee nethery) Date: Fri, 24 May 2019 17:35:02 -0700 Subject: identifying macOS folders that are considered to be files? Message-ID: <83ABFD46-A880-41A3-B375-5400AE9E2843@elloco.com> Is there any way for LiveCode to tell me that a macOS folder that gets listed with ?the folders? is actually treated as a file? For example, .app is a file where View Package Contents is an option but the OS treats it as a single thing. Same with .numbers, .pages, and various other ?files?. They can be opened up and the contents can be viewed. Is there any way to know which ?folders? are actually treated by the OS as files? Thanks, Kee Nethery From lists at mangomultimedia.com Fri May 24 21:06:11 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 May 2019 20:06:11 -0500 Subject: identifying macOS folders that are considered to be files? In-Reply-To: <83ABFD46-A880-41A3-B375-5400AE9E2843@elloco.com> References: <83ABFD46-A880-41A3-B375-5400AE9E2843@elloco.com> Message-ID: On Fri, May 24, 2019 at 7:35 PM kee nethery via use-livecode < use-livecode at lists.runrev.com> wrote: > Is there any way for LiveCode to tell me that a macOS folder that gets > listed with ?the folders? is actually treated as a file? For example, .app > is a file where View Package Contents is an option but the OS treats it as > a single thing. Same with .numbers, .pages, and various other ?files?. They > can be opened up and the contents can be viewed. > > Is there any way to know which ?folders? are actually treated by the OS as > files? > If you don't get any pure LCS solutions you could use an extension. macOS has an API for this: https://developer.apple.com/documentation/appkit/nsworkspace/1529991-isfilepackageatpath?language=objc I just tested it in my macOS test bed for extensions and it seems to work. It is the NSWorkspaceIsFilePackageAtPath() handler in this file: https://github.com/trevordevore/lc-macos-toolset/blob/master/NSWorkspace/nsworkspace.lcb -- Trevor DeVore ScreenSteps From mark at livecode.com Fri May 24 21:53:18 2019 From: mark at livecode.com (Mark Waddingham) Date: Fri, 24 May 2019 18:53:18 -0700 Subject: identifying macOS folders that are considered to be files? In-Reply-To: References: <83ABFD46-A880-41A3-B375-5400AE9E2843@elloco.com> Message-ID: <2D9BF9A3-5B6F-48F5-81A9-B57F97D75DCA@livecode.com> I?m pretty sure bundles always have a PkgInfo file in them too - so you should (alternatively to using LCB) use ?there is a file ...?. Warmest Regards, Mark. Sent from my iPhone > On 24 May 2019, at 18:06, Trevor DeVore via use-livecode wrote: > > On Fri, May 24, 2019 at 7:35 PM kee nethery via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Is there any way for LiveCode to tell me that a macOS folder that gets >> listed with ?the folders? is actually treated as a file? For example, .app >> is a file where View Package Contents is an option but the OS treats it as >> a single thing. Same with .numbers, .pages, and various other ?files?. They >> can be opened up and the contents can be viewed. >> >> Is there any way to know which ?folders? are actually treated by the OS as >> files? >> > > If you don't get any pure LCS solutions you could use an extension. macOS > has an API for this: > > https://developer.apple.com/documentation/appkit/nsworkspace/1529991-isfilepackageatpath?language=objc > > I just tested it in my macOS test bed for extensions and it seems to work. > It is the NSWorkspaceIsFilePackageAtPath() handler in this file: > > https://github.com/trevordevore/lc-macos-toolset/blob/master/NSWorkspace/nsworkspace.lcb > > -- > Trevor DeVore > ScreenSteps > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 25 02:22:34 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 25 May 2019 09:22:34 +0300 Subject: Windows 64 In-Reply-To: <1CF1ED58-EEEE-41B0-A1CB-8D854CC1A155@iotecdigital.com> References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> <94f1ca71-8fe6-ad5f-e2d9-ee887af3920d@gmail.com> <1CF1ED58-EEEE-41B0-A1CB-8D854CC1A155@iotecdigital.com> Message-ID: No worries at all: it did, after all, give me a wonderful chance to tease you a bit. Bulgaria is not a 3rd world state: it is a bit "ragged at the edges," but no more than a lot of other countries. If you want to make "big moolah" it isn't the place to be: but one can lead a perfectly decent life here. Richmond. On 25.05.19 1:52, Bob Sneidar via use-livecode wrote: > Sorry Richmond I got that from prior posts about the schools you were working with and you mentioned that the reason you wanted to use much older Macs and such was that they could not afford newer products there in Bulgaria. I didn't mean to cast aspersions on your status. Please forgive me. > > Bob S > > >> On May 24, 2019, at 13:31 , Richmond via use-livecode wrote: >> >> My "financial situation living and working where you do" sounds almost racist >> and certainly a bit condescending. >> >> You know nothing whatsoever about my financial situation (it's like most people's financial situation: >> plain boring). You are, if you feel the urge, most welcome to come and stay for a week to assess >> my standard of living; especially as I refilled the fridge yesterday. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 kee.nethery at elloco.com Sat May 25 02:45:14 2019 From: kee.nethery at elloco.com (Kee Nethery) Date: Fri, 24 May 2019 23:45:14 -0700 Subject: identifying macOS folders that are considered to be files? In-Reply-To: <2D9BF9A3-5B6F-48F5-81A9-B57F97D75DCA@livecode.com> References: <83ABFD46-A880-41A3-B375-5400AE9E2843@elloco.com> <2D9BF9A3-5B6F-48F5-81A9-B57F97D75DCA@livecode.com> Message-ID: Mark, Trevor, Thank you. Will test tomorrow. Will report back. Thanks again Kee Nethery > On May 24, 2019, at 6:53 PM, Mark Waddingham via use-livecode wrote: > > I?m pretty sure bundles always have a PkgInfo file in them too - so you should (alternatively to using LCB) use ?there is a file ...?. > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 24 May 2019, at 18:06, Trevor DeVore via use-livecode wrote: >> >> On Fri, May 24, 2019 at 7:35 PM kee nethery via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Is there any way for LiveCode to tell me that a macOS folder that gets >>> listed with ?the folders? is actually treated as a file? For example, .app >>> is a file where View Package Contents is an option but the OS treats it as >>> a single thing. Same with .numbers, .pages, and various other ?files?. They >>> can be opened up and the contents can be viewed. >>> >>> Is there any way to know which ?folders? are actually treated by the OS as >>> files? >>> >> >> If you don't get any pure LCS solutions you could use an extension. macOS >> has an API for this: >> >> https://developer.apple.com/documentation/appkit/nsworkspace/1529991-isfilepackageatpath?language=objc >> >> I just tested it in my macOS test bed for extensions and it seems to work. >> It is the NSWorkspaceIsFilePackageAtPath() handler in this file: >> >> https://github.com/trevordevore/lc-macos-toolset/blob/master/NSWorkspace/nsworkspace.lcb >> >> -- >> Trevor DeVore >> ScreenSteps >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 klaus at major-k.de Sat May 25 04:17:51 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 25 May 2019 10:17:51 +0200 Subject: how to load a local file into the browser widget? In-Reply-To: <5CE873AA.6040004@sonasoftware.com> References: <5CE873AA.6040004@sonasoftware.com> Message-ID: <6C247C7F-A62D-465C-A42F-A4E3CC988F30@major-k.de> Hi Curt, > Am 25.05.2019 um 00:43 schrieb Curt Ford via use-livecode : > > Thanks Klaus, those are great tips! you are welcome! > While I'm at it... some of the folders in the file path will be in Russian, which is breaking my current handler. Is there a way to run them through some unicode-type function to make them work in a file path? > > I can run those items of the file path through a quick transliteration function to change ????? into brat' etc., but thought it's worth checking... Sorry, I don't know, someone else needs to chime in here. Obvioulsy "Unicode, it just works" doesn't do with filenames. :-/ > Curt Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From hh at hyperhh.de Sat May 25 05:48:14 2019 From: hh at hyperhh.de (hh) Date: Sat, 25 May 2019 11:48:14 +0200 Subject: how to load a local file into the browser widget? Message-ID: >> Curt wrote: >> While I'm at it... some of the folders in the file path will >> be in Russian, which is breaking my current handler... >> I can run those items of the file path through a quick >> transliteration function to change ????? into brat' etc., but >> thought it's worth checking... > Klaus wrote: > Obvioulsy "Unicode, it just works" doesn't do with filenames. :-/ You could try to use (for example): urlEncode(textEncode("?????","UTF-8")) From hh at hyperhh.de Sat May 25 07:26:02 2019 From: hh at hyperhh.de (hh) Date: Sat, 25 May 2019 13:26:02 +0200 Subject: play sounds in HTML5 Message-ID: <29DE89B6-23A0-40C8-BCE9-63C928921E58@hyperhh.de> To avoid misunderstandings: This relates to a HTML5 standalone, not to using HTML5 in a browser widget. We could use two steps. Step 1. Use one certain audio file. Make this work from the html file containing where audio is a folder at the same location as your html file (on the server that is running your standalone. Files from other urls (CORS) may be not available due to SOP/ user's browser behaviour). Step 2. You already wrote that step 1 works for you as above (or in a similar way) with a certain audio file. You ask now how to play available sounds (which may vary) in random order. For that you can sort the available filenames in LC by random. Then set one after the other as the one you play/pause with your buttons. Using the identifiers from the tutorial this setting can be done as follows in a HTML5 standalone. -- assume "guitar-melody.wav" is the randomly chosen filename -- or the next/previous filename in a fixed order put "./audio/guitar-melody.wav" into myFile put "document.getElementById('myAudio').src=" into tScript do tScript & "'" & myFile & "'" as "JavaScript" Then use your buttons play/pause as usual. [If questions remain you could also post in the HTML5 subforum where you can add attachments.] From paul at researchware.com Sat May 25 07:47:00 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 May 2019 07:47:00 -0400 Subject: how to load a local file into the browser widget? In-Reply-To: <6C247C7F-A62D-465C-A42F-A4E3CC988F30@major-k.de> References: <5CE873AA.6040004@sonasoftware.com> <6C247C7F-A62D-465C-A42F-A4E3CC988F30@major-k.de> Message-ID: On 5/25/2019 4:17 AM, Klaus major-k via use-livecode wrote: > Sorry, I don't know, someone else needs to chime in here. > Obvioulsy "Unicode, it just works" doesn't do with filenames. :-/ > Our experience with LC90x has been that Unicode DOES just work with filename, for 'open file , there is a file , put URL into , and most other file related commands and functions. HOWEVER, I would never claim we've tested every LC file related command and function. We've done with with Russian text and Chinese (simplified and traditional) in both paths and file names. Just another data point. From paul at researchware.com Sat May 25 07:56:03 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 May 2019 07:56:03 -0400 Subject: how to load a local file into the browser widget? In-Reply-To: References: <5CE873AA.6040004@sonasoftware.com> <6C247C7F-A62D-465C-A42F-A4E3CC988F30@major-k.de> Message-ID: <623ed5e1-a2b3-f678-8eb5-f7e409a1c94e@researchware.com> On 5/25/2019 7:47 AM, Paul Dupuis via use-livecode wrote: > On 5/25/2019 4:17 AM, Klaus major-k via use-livecode wrote: >> Sorry, I don't know, someone else needs to chime in here. >> Obvioulsy "Unicode, it just works" doesn't do with filenames. :-/ >> > > Our experience with LC90x has been that Unicode DOES just work with > filename, for 'open file , there is a file , put URL > into , and most other file related commands and functions. > HOWEVER, I would never claim we've tested every LC file related > command and function. We've done with with Russian text and Chinese > (simplified and traditional) in both paths and file names. > > Just another data point. That was supposed to say: Just another data point, although we've never tested with a Browser Widget. From brahma at hindu.org Sat May 25 09:33:01 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 25 May 2019 13:33:01 +0000 Subject: Player object controller bar In-Reply-To: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> Message-ID: <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> In a related quest: I just went through the same thing yesterday... I would like to trap if a user clicks the play icon on the player controller itself. I have functions which take the current time etc. allow time based annotation in field. But they only work if the use clicks my "Play" button to initiate the handlers. Like you have a little API to the player, all run from buttons independent of the controller. But if the user click the player to start or scrubs forward and backwards, it by passes the timing currentTime function. I could hide the player, make my own progress bar to tie to my own "little player API" handlers, but that seems to be overkill. So, this requires knowing what is/can be handled in the background when the user interact with the controller, that we can track/handle "that is built into the controller bar itself." BR Paul wrote: I have searched the dictionary, Guides, and livecode.com but have been unable to find a annotated picture of the LC9xx player objects' controller bar and what each control does, especially in combinations with with modifier keys Clearly, some controls are obvious, like play/pause, etc., but I am looking for detailed documentation so I don't miss anything that is built into the controller bar itself. From harrison at all-auctions.com Sat May 25 10:08:09 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 25 May 2019 10:08:09 -0400 Subject: Player object controller bar In-Reply-To: <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> Message-ID: <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> Hi Paul and Sannyasin, My experience with player controllers is that if you just want people to be able to use the built in controls, that should work fine. The problem arises when you want to do something different that the controller on it?s own normally wouldn?t do. In that case the best solution that worked for me was to hide the normal player controls, and then make my own controller buttons and functions from scratch. That gave me full control over everything that was going on, and I was able to accomplish my goal. Was it a pain, and did it seem like there should have been an easier solution? Yes, but the at least LC allowed me to work on the problem on my own. Some things that seem like they should be easy to accomplish, just are not easy. That is the harsh reality. Good luck! Rick > On May 25, 2019, at 9:33 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > > In a related quest: I just went through the same thing yesterday... > > I would like to trap if a user clicks the play icon on the player controller itself. I have functions which take the current time etc. allow time based annotation in field. But they only work if the use clicks my "Play" button to initiate the handlers. Like you have a little API to the player, all run from buttons independent of the controller. > > But if the user click the player to start or scrubs forward and backwards, it by passes the timing currentTime function. I could hide the player, make my own progress bar to tie to my own "little player API" handlers, but that seems to be overkill. > > So, this requires knowing what is/can be handled in the background when the user interact with the controller, that we can track/handle "that is built into the controller bar itself." > > BR > > > Paul wrote: > > I have searched the dictionary, Guides, and livecode.com but have been > unable to find a annotated picture of the LC9xx player objects' > controller bar and what each control does, especially in combinations > with with modifier keys > > Clearly, some controls are obvious, like play/pause, etc., but I am > looking for detailed documentation so I don't miss anything that is > built into the controller bar itself. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat May 25 10:28:13 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 25 May 2019 14:28:13 +0000 Subject: Player object controller bar In-Reply-To: <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> Message-ID: " Some things that seem like they should be easy to accomplish, just are not easy. That is the harsh reality. " Indeed, I been working of weeks get getting the browser to respond properly. Keep on changing with every new release. I just hoping that there is a little API in the engine itself, that responds to 6 simple function of the controller Play Pause Scrub forward Scrub back Fast Rewind Fast Forward Volume ====== ? Rick Harrison wrote: The problem arises when you want to do something different that the controller on it?s own normally wouldn?t do. In that case the best solution that worked for me was to hide the normal player controls, and then make my own controller buttons and functions from scratch. ========== Ahha! __ you did it already. Can you share sample stack on the forum? From dochawk at gmail.com Sat May 25 11:00:03 2019 From: dochawk at gmail.com (doc hawk) Date: Sat, 25 May 2019 08:00:03 -0700 Subject: Windows 64 In-Reply-To: <94f1ca71-8fe6-ad5f-e2d9-ee887af3920d@gmail.com> References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> <94f1ca71-8fe6-ad5f-e2d9-ee887af3920d@gmail.com> Message-ID: <49D4C2D5-656D-45C6-AA4B-CC9D8CA11BF7@gmail.com> On May 24, 2019, at 1:31 PM, Richmond via use-livecode wrote: > >> A 32 bit OS can only address around the first 2 gigs of memory. Not very good for running multiple apps. > Dunno about that: I've been running multiple apps ever since I bought a Macintosh LC475 running MacOS 7.0.1. Newbie :) More seriously, we had something (switcher?) that let us segment the memory into multiple Macs. I remember using it on a Mac Plus with 1mb, but think I also used it on a my 128k that had been boosted to 512k. Then came multifinder in '87 (?) with system 5. From paul at researchware.com Sat May 25 11:10:05 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 May 2019 11:10:05 -0400 Subject: Player object controller bar In-Reply-To: <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> Message-ID: <5a560bc3-413d-bfb8-985f-0cff4fb7cd74@researchware.com> On 5/25/2019 10:08 AM, Rick Harrison via use-livecode wrote: > My experience with player controllers is that if you > just want people to be able to use the built in > controls, that should work fine. I just want to see a document that tell me what ALL the built in controls are. Are these all the function of the player controller bar On 5/25/2019 10:28 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > I just hoping that there is a little API in the engine itself, that responds to 6 simple function of the controller > > Play > Pause > Scrub forward > Scrub back > Fast Rewind > Fast Forward > Volume If you are on Pause, the Forward and Rewind arrows step forward or backwards by? frame If you are on Play, the Forward and Rewind arrows fast forward or rewind (currently not working under Windows in LC904/5) Play and Pause toggle between one another Dragging the thumb changes the current time However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows jumps you to the end or start respectively I'd like to know what other modifier key in combination with visible controls do what? Without having to try every possible combination of keys and clicking. From paul at researchware.com Sat May 25 11:37:30 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 May 2019 11:37:30 -0400 Subject: Player object controller bar In-Reply-To: <5a560bc3-413d-bfb8-985f-0cff4fb7cd74@researchware.com> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> <5a560bc3-413d-bfb8-985f-0cff4fb7cd74@researchware.com> Message-ID: <0ea65f85-41d3-b902-95aa-65a80ac4b5dc@researchware.com> On 5/25/2019 11:10 AM, Paul Dupuis via use-livecode wrote: > If you are on Pause, the Forward and Rewind arrows step forward or > backwards by? frame > If you are on Play, the Forward and Rewind arrows fast forward or > rewind (currently not working under Windows in LC904/5) > Play and Pause toggle between one another > Dragging the thumb changes the current time > > However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows jumps > you to the end or start respectively > > I'd like to know what other modifier key in combination with visible > controls do what? Without having to try every possible combination of > keys and clicking. > Another example, SHIFT Clicking on the Forward/Rewind area changes it to a blue slider, which does WHAT? I can find no documentation on the player's object controller bar. I assume it must exists, but I just can't find it. From klaus at major-k.de Sat May 25 11:49:03 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 25 May 2019 17:49:03 +0200 Subject: Player object controller bar In-Reply-To: <0ea65f85-41d3-b902-95aa-65a80ac4b5dc@researchware.com> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> <5a560bc3-413d-bfb8-985f-0cff4fb7cd74@researchware.com> <0ea65f85-41d3-b902-95aa-65a80ac4b5dc@researchware.com> Message-ID: <2F2518F4-34F6-4C3D-BC88-AB4BDD879661@major-k.de> Hi Paul, > Am 25.05.2019 um 17:37 schrieb Paul Dupuis via use-livecode : > > On 5/25/2019 11:10 AM, Paul Dupuis via use-livecode wrote: >> If you are on Pause, the Forward and Rewind arrows step forward or backwards by frame >> If you are on Play, the Forward and Rewind arrows fast forward or rewind (currently not working under Windows in LC904/5) >> Play and Pause toggle between one another >> Dragging the thumb changes the current time >> >> However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows jumps you to the end or start respectively >> I'd like to know what other modifier key in combination with visible controls do what? Without having to try every possible combination of keys and clicking. > > Another example, SHIFT Clicking on the Forward/Rewind area changes it to a blue slider, which does WHAT? why not try by yourself? Your machine won't exlode, promised! :-D With this slider you can control the speed of playback: playback backwards <- drag left- drag right-> playback forward Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From paul at researchware.com Sat May 25 12:13:28 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 May 2019 12:13:28 -0400 Subject: Player object controller bar In-Reply-To: <2F2518F4-34F6-4C3D-BC88-AB4BDD879661@major-k.de> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> <5a560bc3-413d-bfb8-985f-0cff4fb7cd74@researchware.com> <0ea65f85-41d3-b902-95aa-65a80ac4b5dc@researchware.com> <2F2518F4-34F6-4C3D-BC88-AB4BDD879661@major-k.de> Message-ID: <2d8aa8af-cef3-e696-654b-eef233a15dac@researchware.com> On 5/25/2019 11:49 AM, Klaus major-k via use-livecode wrote: > why not try by yourself? Your machine won't exlode, promised!:-D > > With this slider you can control the speed of playback: > playback backwards <- drag left- drag right-> playback forward You miss my point. It should be documented. A LiveCode developer should not have to "try by yourself" to learn what ALL the built in functions of the player controller bar are. From klaus at major-k.de Sat May 25 12:15:32 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 25 May 2019 18:15:32 +0200 Subject: Player object controller bar In-Reply-To: <2d8aa8af-cef3-e696-654b-eef233a15dac@researchware.com> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> <5a560bc3-413d-bfb8-985f-0cff4fb7cd74@researchware.com> <0ea65f85-41d3-b902-95aa-65a80ac4b5dc@researchware.com> <2F2518F4-34F6-4C3D-BC88-AB4BDD879661@major-k.de> <2d8aa8af-cef3-e696-654b-eef233a15dac@researchware.com> Message-ID: <464564C3-5EC6-453E-BD67-058AD0D69644@major-k.de> > Am 25.05.2019 um 18:13 schrieb Paul Dupuis via use-livecode : > > On 5/25/2019 11:49 AM, Klaus major-k via use-livecode wrote: >> why not try by yourself? Your machine won't exlode, promised!:-D >> >> With this slider you can control the speed of playback: >> playback backwards <- drag left- drag right-> playback forward > > You miss my point. It should be documented. A LiveCode developer should not have to "try by yourself" to learn what ALL the built in functions of the player controller bar are. yes, sorry, this is true of course! -- Klaus Major http://www.major-k.de klaus at major-k.de From curt at sonasoftware.com Sat May 25 12:15:35 2019 From: curt at sonasoftware.com (Curt Ford) Date: Sat, 25 May 2019 09:15:35 -0700 Subject: how to load a local file into the browser widget? Message-ID: <5CE96A27.8000805@sonasoftware.com> Thanks, hh, that does it! :) *answer*file"Choose an html file" *put*urlEncode(textEncode(it, "UTF-8")) intotPathWithCyrillic *set*theurlofwidget"Browser"totPathWithCyrillic Occasional accents & punctuation in the file names are not causing problems either (so far). But then the spaces.. *replace*" "with"%20"intPathWithCyrillic didn't work since the urlEncode was inserting "+" where it found a space. So replacing "+" with "%20" fixes that. Final version: *answer*file"Choose an html file" *put*urlEncode(textEncode(it, "UTF-8")) intotPathWithCyrillic *replace*"+"with"%20"intPathWithCyrillic *set*theurlofwidget"Browser"totPathWithCyrillic Thanks everyone! Curt > You could try to use (for example): > > urlEncode(textEncode("?????","UTF-8")) -- Sent from Postbox From paul at researchware.com Sat May 25 13:19:43 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 May 2019 13:19:43 -0400 Subject: Player object controller bar In-Reply-To: <0ea65f85-41d3-b902-95aa-65a80ac4b5dc@researchware.com> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> <5a560bc3-413d-bfb8-985f-0cff4fb7cd74@researchware.com> <0ea65f85-41d3-b902-95aa-65a80ac4b5dc@researchware.com> Message-ID: <32f2eac0-cf0b-63e2-3a21-1f44398ac25a@researchware.com> On 5/25/2019 11:37 AM, Paul Dupuis via use-livecode wrote: > On 5/25/2019 11:10 AM, Paul Dupuis via use-livecode wrote: >> If you are on Pause, the Forward and Rewind arrows step forward or >> backwards by? frame >> If you are on Play, the Forward and Rewind arrows fast forward or >> rewind (currently not working under Windows in LC904/5) >> Play and Pause toggle between one another >> Dragging the thumb changes the current time >> >> However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows >> jumps you to the end or start respectively >> >> I'd like to know what other modifier key in combination with visible >> controls do what? Without having to try every possible combination of >> keys and clicking. >> > > Another example, SHIFT Clicking on the Forward/Rewind area changes it > to a blue slider, which does WHAT? > > I can find no documentation on the player's object controller bar. I > assume it must exists, but I just can't find it. > I stand corrected (a tiny bit) as I finally found this among the LiveCode Lessons: http://lessons.livecode.com/m/4603/l/44283-using-players It actually has an annotated picture (at https://media.screensteps.com/image_assets/assets/001/160/690/original/36c81ebf-9b3a-4610-a259-fbc2eacd2843.png) of the controller and the sparse notation: "The controller that appears at the bottom of the player allows the user to start and stop play back(1), control the volume(2) and move to a certain point in the sound file or movie(3,4)." And, yea, I probably could have tried every key and click combination in the time I have spent searching for documentation :-( From mark at livecode.com Sat May 25 15:38:06 2019 From: mark at livecode.com (Mark Waddingham) Date: Sat, 25 May 2019 21:38:06 +0200 Subject: Windows 64 In-Reply-To: <94f1ca71-8fe6-ad5f-e2d9-ee887af3920d@gmail.com> References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> <94f1ca71-8fe6-ad5f-e2d9-ee887af3920d@gmail.com> Message-ID: <37ec2681a1e6b5c018027394affa72ae@livecode.com> On 2019-05-24 22:31, Richmond via use-livecode wrote: > What I mean is that LiveCode produces a "Fat" standalone which suffers > from the following disadvantages: > > 1. It's fat, quite literally. > > 2. I wonder whether MacOS Somewhere_Obscure_In-California (10.15) will > not object to those > standalones because, as well as containing 64-bit code they also > contain 32-bit code. You can choose to produce a slim standalone - the default in the S/B is to produce a standalone with both 32-bit and 64-bit slices... You can choose one, or other or both using the checkboxes at the top of the macOS specific settings pane. The default in 9.0.x and onwards is to *only* select the 64-bit option for macOS for new stacks - however, if you created a standalone from a stack in older versions it will likely have both options set. All macOS hardware which we currently support is capable of running 64-bit apps... However, the reason why we must continue to provide fat binaries, and offer the choice to build for 32-bit on macOS is that we are aware of a number of users who have 32-bit externals which they have yet to migrate (migration, unfortunately, is not necessarily a simple recompile - due to the fact that macOS's 64-bit side does not support a large number of the older, long deprecated, system APIs). In terms of the 32-bit warning that many have been noticing on Mojave, we found the culprit a month or so ago - the auto-updater sitting inside the app bundle is still 32-bit. We had intended to switch it to 64-bit for 9.5-dp-1 but ran out of time to do so. Warmest Regards, Mark. P.S. It would be *immensely* helpful for us at HQ if anyone who still relies on 32-bit externals in apps they are still maintaining (i.e. by continuing to build from the latest and greatest LiveCode versions) could drop a line to support at livecode.com so we can keep track and use that information to influence the decision of when to cut 32-bit from the macOS binaries. [ The benefit from doing this is three-fold - it halves the time taken to build the macOS binaries, halves our macOS test matrix and reduces the size of the distribution by upward of 50-60Mb ]. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Sat May 25 15:56:43 2019 From: mark at livecode.com (Mark Waddingham) Date: Sat, 25 May 2019 21:56:43 +0200 Subject: Windows 64 In-Reply-To: References: <9679a45b-0e44-951b-3538-92e530195090@gmail.com> Message-ID: <8c5d77d5e4779b0d16b404112e2630c7@livecode.com> On 2019-05-24 17:21, Bob Sneidar via use-livecode wrote: > A 32 bit OS can only address around the first 2 gigs of memory. Not > very good for running multiple apps. This was the case before OSes started to use virtual addressing and paging, but no longer. The bitness of the OS determines the maximum amount of memory any one application can access certainly, but they don't *share* this space. Specifically: - iOS/macOS 32-bit: every application has its own 4Gb (32-bit) address space - iOS/macOS 64-bit: every application has its own 256Tb (48-bit) address space* - windows 32-bit (older): every application has its own 2Gb address space - windows 32-bit (newer): every application has its own 3Gb address space - linux/android - I believe these have the same as iOS/macOS The key difference to be noticed here is between windows 32-bit and all others... UNIXy 32-bit OSes completely separate user and kernel space - a context switch between these two modes is required to invoke a system call. Windowsy 32-bit OSes have some kernel stuff in the user space address space (but protected). The difference between older and newer 32-bit OSes started in XP I believe - there is a flag you can set in the boot params for XP which means the kernel is only given 1Gb of user space. (I believe this was always on for post-XP OSes). In 64-bit, all OSes work similarly - the very very very very large address space available to any one context is split into zones. Some zones are kernel, some are user space (for applications). The kernel ones are only accessible when running in the kernel protection mode. Of course, the amount of memory you can actually have in total allocated in the system is limited by physical RAM and disk space (i.e. the paging file) - in 32-bit OSes the amount of this any one app could use was limited; in 64-bit it is still limited, but the limit is so high that it is much less likely to be hit. For most apps the 32-bit vs 64-bit address space differences probably don't make any difference - but for apps which process large amounts of data which would be more performant if they could hold all that data in RAM, 64-bit is a huge boon. Warmest Regards, Mark. * Both ARM64 (AArch64) and x86-64 processors currently only use the lower 48-bits of the 64-bit pointers. However, there is scope in both for this to be expanded in the future to the full 64-bit capability. Of course it might be that it ends up getting used for something else - for example, recent ARM architectures have added an interesting feature which makes use of the 'empty space' in 64-bit addresses - certain critical pointers can use those extra 16-bits to hold a piece of encrypted information which allows the processor to validate use and access within the processor itself. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Sat May 25 17:19:28 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 May 2019 17:19:28 -0400 Subject: windowBoundingRect on multiple monitors? Is this a bug? Message-ID: With LC90x+ we have the screenRect (for the primary monitor), the screenRects (for multiple monitors and we can even use the 'working' keyword to get the screenRect less any OS reserved space for menu bar or task bar. Thus, if you have a set up with 2 monitors, the working screenRect returns the available space on the primary monitor leef any menubar or task bar. This is also the first line of the working screenRects and the 2nd line of the working screenRects is the coordinated of the 2nd monitor. If you have resizable windows, it is logical to set the windowBoundingRect to the working screenRect, so that windows that are zoomed (OSX) or maximized (Windows) are limited to the area of the primary monitor NOT being used for a menu bar or task bar. However, there is only one windowBoundingRect, so what about a window on the second monitor that is zoomed or maximized. It ends up being constrained by the windowBoundingRect set based on the primary monitor! So if you second monitor is positioned so most of its area is outside the windowBoundingRect, you will be unable to fully maximize the window on the second display. It seems to me that with the advent of multiple monitor support in 'the working screenRects' that there should either (1) be the windowBoundingRects (plural) with each one corresponding to each line of the screenRects OR (2) the windowBoundingRect be ignored on all monitors but the primary? Anyone else run into this? From mark at livecode.com Sat May 25 20:21:33 2019 From: mark at livecode.com (Mark Waddingham) Date: Sun, 26 May 2019 02:21:33 +0200 Subject: windowBoundingRect on multiple =?UTF-8?Q?monitors=3F=20Is=20t?= =?UTF-8?Q?his=20a=20bug=3F?= In-Reply-To: References: Message-ID: <324e56f5d3f32aab5f07c4bd33768d29@livecode.com> On 2019-05-25 23:19, Paul Dupuis via use-livecode wrote: > If you have resizable windows, it is logical to set the > windowBoundingRect to the working screenRect, so that windows that are > zoomed (OSX) or maximized (Windows) are limited to the area of the > primary monitor NOT being used for a menu bar or task bar. Okay so you *shouldn't* have to do this - the windowBoundingRect does not override the platform defaults... Which is to maximise the window within the working area of the pertinent screen regardless. Indeed, if you set the windowBoundingRect to the screenRect, a window will still only maximise within the working area (i.e. the OS automatically constrains things at least that much). [ Note: You can still set windows to be where you want explicitly, this OS supplied effect only happens when you use the maximise button ] > It seems to me that with the advent of multiple monitor support in > 'the working screenRects' that there should either (1) be the > windowBoundingRects (plural) with each one corresponding to each line > of the screenRects OR (2) the windowBoundingRect be ignored on all > monitors but the primary? I think this might have been an oversight when we moved to Cocoa, there is explicit code in the windows port at least to *only* apply the WBR when the window's screen is the primary monitor. This appears to be missing in the Mac port (although the code is somewhat murky so I could be wrong). Ultimately the WBR is an edge-case feature at most - mostly there for the purposes of the IDE and similar tools and it is somewhat flawed for that. In its current incarnation it should both only apply to the primary screen, and should be able to be set to empty so that the engine does not influence what the OS tries to do with script supplied window rects at all. Warmest Regards, Mark. P.S. I think a work-around for now is to either set it to just the screenRect; and if that does not work, set it to -8192,8192,8192,8192 and see if your windows behave more appropriately. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Sat May 25 21:04:42 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 May 2019 21:04:42 -0400 Subject: windowBoundingRect on multiple monitors? Is this a bug? In-Reply-To: <324e56f5d3f32aab5f07c4bd33768d29@livecode.com> References: <324e56f5d3f32aab5f07c4bd33768d29@livecode.com> Message-ID: <4893837b-4f99-65ee-5919-42712c47b7ac@researchware.com> Mark, LiveCode, Ltd needs to put the contents of your brain in the LiveCode documentation! Wow, thank you again for the ver helpful clarification. This will make things much easier. Now, go back to bed and get some sleep! On 5/25/2019 8:21 PM, Mark Waddingham via use-livecode wrote: > On 2019-05-25 23:19, Paul Dupuis via use-livecode wrote: >> If you have resizable windows, it is logical to set the >> windowBoundingRect to the working screenRect, so that windows that are >> zoomed (OSX) or maximized (Windows) are limited to the area of the >> primary monitor NOT being used for a menu bar or task bar. > > Okay so you *shouldn't* have to do this - the windowBoundingRect does not > override the platform defaults... Which is to maximise the window within > the working area of the pertinent screen regardless. > > Indeed, if you set the windowBoundingRect to the screenRect, a window > will > still only maximise within the working area (i.e. the OS automatically > constrains things at least that much). > > [ Note: You can still set windows to be where you want explicitly, this > ? OS supplied effect only happens when you use the maximise button ] > >> It seems to me that with the advent of multiple monitor support in >> 'the working screenRects' that there should either (1) be the >> windowBoundingRects (plural) with each one corresponding to each line >> of the screenRects OR (2) the windowBoundingRect be ignored on all >> monitors but the primary? > > I think this might have been an oversight when we moved to Cocoa, there > is explicit code in the windows port at least to *only* apply the WBR > when the window's screen is the primary monitor. This appears to be > missing > in the Mac port (although the code is somewhat murky so I could be > wrong). > > Ultimately the WBR is an edge-case feature at most - mostly there for the > purposes of the IDE and similar tools and it is somewhat flawed for that. > > In its current incarnation it should both only apply to the primary > screen, > and should be able to be set to empty so that the engine does not > influence > what the OS tries to do with script supplied window rects at all. > > Warmest Regards, > > Mark. > > P.S. I think a work-around for now is to either set it to just the > screenRect; > and if that does not work, set it to -8192,8192,8192,8192 and see if your > windows behave more appropriately. > From paul at researchware.com Sat May 25 21:09:13 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 May 2019 21:09:13 -0400 Subject: windowBoundingRect on multiple monitors? Is this a bug? In-Reply-To: <4893837b-4f99-65ee-5919-42712c47b7ac@researchware.com> References: <324e56f5d3f32aab5f07c4bd33768d29@livecode.com> <4893837b-4f99-65ee-5919-42712c47b7ac@researchware.com> Message-ID: <70a0cc25-1732-e7cc-1bf8-76af2faa133f@researchware.com> Also, I just wanted to add that the windowsBoundingRect property - on the primary monitor - is helpful. We use it to limit maximize to a smaller area because we place a Toolbar palette under the menu and don't want maximized window to disappear behind the toolbar. On 5/25/2019 9:04 PM, Paul Dupuis via use-livecode wrote: > Mark, > > LiveCode, Ltd needs to put the contents of your brain in the LiveCode > documentation! > > Wow, thank you again for the ver helpful clarification. This will make > things much easier. > > Now, go back to bed and get some sleep! > > > On 5/25/2019 8:21 PM, Mark Waddingham via use-livecode wrote: >> On 2019-05-25 23:19, Paul Dupuis via use-livecode wrote: >>> If you have resizable windows, it is logical to set the >>> windowBoundingRect to the working screenRect, so that windows that are >>> zoomed (OSX) or maximized (Windows) are limited to the area of the >>> primary monitor NOT being used for a menu bar or task bar. >> >> Okay so you *shouldn't* have to do this - the windowBoundingRect does >> not >> override the platform defaults... Which is to maximise the window within >> the working area of the pertinent screen regardless. >> >> Indeed, if you set the windowBoundingRect to the screenRect, a window >> will >> still only maximise within the working area (i.e. the OS automatically >> constrains things at least that much). >> >> [ Note: You can still set windows to be where you want explicitly, this >> ? OS supplied effect only happens when you use the maximise button ] >> >>> It seems to me that with the advent of multiple monitor support in >>> 'the working screenRects' that there should either (1) be the >>> windowBoundingRects (plural) with each one corresponding to each line >>> of the screenRects OR (2) the windowBoundingRect be ignored on all >>> monitors but the primary? >> >> I think this might have been an oversight when we moved to Cocoa, there >> is explicit code in the windows port at least to *only* apply the WBR >> when the window's screen is the primary monitor. This appears to be >> missing >> in the Mac port (although the code is somewhat murky so I could be >> wrong). >> >> Ultimately the WBR is an edge-case feature at most - mostly there for >> the >> purposes of the IDE and similar tools and it is somewhat flawed for >> that. >> >> In its current incarnation it should both only apply to the primary >> screen, >> and should be able to be set to empty so that the engine does not >> influence >> what the OS tries to do with script supplied window rects at all. >> >> Warmest Regards, >> >> Mark. >> >> P.S. I think a work-around for now is to either set it to just the >> screenRect; >> and if that does not work, set it to -8192,8192,8192,8192 and see if >> your >> windows behave more appropriately. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jhurley0305 at sbcglobal.net Sun May 26 11:24:16 2019 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 26 May 2019 08:24:16 -0700 Subject: A problem with RunRev email account "sage.on-rev.com" In-Reply-To: References: Message-ID: <35C33644-07F5-48DF-9AC4-3809F326C54D@sbcglobal.net> I have an email account with RunRev: @sage.on-rev.com It has worked flawlessly for many years, but for several weeks now all email sent from this account to Microsoft addresses (for example, Hotmail and MSN) have bounced. (All addresses on my list, other than the MS addresses, go through without a problem.) I have reported this problem and Robin at RunRev is working on a resolution, but without success. Is there a chance that anyone else on this list has found a workaround? Thanks, Jim Hurley P.S. I have other email accounts, the above ?@sbcglobal,.com? for example, but only @sage.on-rev.com allows more than 100 email recipients at a time. This is something of an emergency for us. We, i.e. my neighborhood association, is attempting to deal with the wildfire threat here in rural California. So getting the word out to these MS email accounts in our neighborhood association is important. From matthias_livecode_150811 at m-r-d.de Sun May 26 16:26:57 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 26 May 2019 22:26:57 +0200 Subject: A problem with RunRev email account "sage.on-rev.com" In-Reply-To: <35C33644-07F5-48DF-9AC4-3809F326C54D@sbcglobal.net> References: <35C33644-07F5-48DF-9AC4-3809F326C54D@sbcglobal.net> Message-ID: <88660A6B-B35C-4B02-BDBC-87A359288BBE@m-r-d.de> Jim, it could be that the ip address of Sage (50.28.39.1) or maybe a whole range of ip addresses is/are blocked by Microsoft?s Email servers, because of a bad reputation. This mostly happens when the server was used for sending out Spam. This could happen, if the server is a shared systen which is uses by hundreds of customers. This could also happen by error. The exact reason could be seen in the failure e-mail you should have received. "host mx2.hotmail.com [207.46.8.199] said: 550 SC-001 (BAY004-MC6F18) Unfortunately, messages from x.x.x.x weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to mail.live.com/mail/troubleshooting.aspx . (in reply to MAIL FROM command)" Currently there is nothing you can do, if the ip addresses are blocked. Robin could use the Microsoft Blacklisting Form at https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3 to ask for removal of the ips. There are other providers, like Hostm, who offer among other features like preinstalled LivecodeServer als an optional Dedicated Outgoing Mail IP for their Webhosting accounts . This ip then is only for your account and is used for your email transmissions. So there is no risk that Spam activities of other customers will block your outgoing emails. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 26.05.2019 um 17:24 schrieb James Hurley via use-livecode >: > > I have an email account with RunRev: @sage.on-rev.com > > It has worked flawlessly for many years, but for several weeks now all email sent from this account to Microsoft addresses (for example, Hotmail and MSN) have bounced. (All addresses on my list, other than the MS addresses, go through without a problem.) > > I have reported this problem and Robin at RunRev is working on a resolution, but without success. > > Is there a chance that anyone else on this list has found a workaround? > > Thanks, Jim Hurley > > P.S. I have other email accounts, the above ?@sbcglobal,.com? for example, but only @sage.on-rev.com allows more than 100 email recipients at a time. > > This is something of an emergency for us. We, i.e. my neighborhood association, is attempting to deal with the wildfire threat here in rural California. So getting the word out to these MS email accounts in our neighborhood association is important. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 26 18:03:04 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 26 May 2019 17:03:04 -0500 Subject: Setting mobile scroller hScroll fails Message-ID: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> I want to verify this is a bug and not just me. I'm creating a mobile scroller over a group. I want the group to initially display with its hScroll all the way to the right. I'm doing this: zoom the group out to fill the screen create a mobile scroller with the same rect set the hScroll of the group to its formattedWidth set the hScroll of the scroller to the scroll of the group If I insert an answer command to show the scroller's hScroll it reports the correct number. But the scroller always acts like its scroll is 0, and it won't scroll to the left at all. But scrolling it to the right zaps both it and the group to zero and after that it scrolls normally. I've also tried not setting the group's scroll and just setting the scroller alone, thinking it might trigger the scrollerDidScroll handler, but it doesn't. If I don't set any hScroll at all on either the group or the scroller, all is well. Has anyone else seen this? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Sun May 26 20:24:54 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 27 May 2019 00:24:54 +0000 Subject: Player object controller bar In-Reply-To: <32f2eac0-cf0b-63e2-3a21-1f44398ac25a@researchware.com> References: <4b645004-ff12-de84-e6dc-1a308e3de22c@researchware.com> <60CB5A8B-1259-45E6-B5BF-81658755FE05@hindu.org> <1DBD8072-80AB-4B86-B998-0A749FBEF375@all-auctions.com> <5a560bc3-413d-bfb8-985f-0cff4fb7cd74@researchware.com> <0ea65f85-41d3-b902-95aa-65a80ac4b5dc@researchware.com> <32f2eac0-cf0b-63e2-3a21-1f44398ac25a@researchware.com> Message-ID: <6853BABA-4469-4B80-B554-B4BD7F54B800@hindu.org> Back to this list My goodness? You are right. I wasn't aware of all those options! I was puzzled by the fact that I had a tape that was speeded up. In Audition it is was normal. Huh! I must have hit fast forward button in advertently, not knowing what it did. Unfortunately, the fast forward and rewind (setting the playrate) 0nce you speed it up, there is no key that restores it. Fortunately I have a "resume" button, that set the playrate to 1. That is the only way "out" once you speed it up with the controller. Did you find a modifier key that sets the playrate to back to 1? Paul: "My goal is that a LiveCode Developer should NOT have to play around or discover or experiment to find out what the built in capabilities of a built in object are." There a "ton" of stuff unexplained in the dictionary. I struggle with it regularly on numerous so-called "features" that I have trouble with. And yes there at ton of fiddling to figure out how it should behave. In real time? it can take days of playing with a "feature" sending queries to Elanor?waiting for a response and very poor architecture you develop due knowing not the "proper" way to do something. That could be dispatched "right now" with a thorough definition, with examples, in the dictionary and we would get our code right from the "get go". I glad to hold of this now before i start on a movie annotation module. BR Paul Dupuis via use-livecode wrote: >>If you are on Pause, the Forward and Rewind arrows step forward or >>backwards by frame >>If you are on Play, the Forward and Rewind arrows fast forward or >>rewind (currently not working under Windows in LC904/5) >>Play and Pause toggle between one another >>Dragging the thumb changes the current time >> >>However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows >>jumps you to the end or start respectively >> >>I'd like to know what other modifier key in combination with visible >>controls do what? Without having to try every possible combination of >>keys and clicking. >> > >Another example, SHIFT Clicking on the Forward/Rewind area changes it >to a blue slider, which does WHAT? > >I can find no documentation on the player's object controller bar. I >assume it must exists, but I just can't find it. > I stand corrected (a tiny bit) as I finally found this among the LiveCode Lessons: http://lessons.livecode.com/m/4603/l/44283-using-players It actually has an annotated picture (at https://media.screensteps.com/image_assets/assets/001/160/690/original/36c81ebf-9b3a-4610-a259-fbc2eacd2843.png) of the controller and the sparse notation: "The controller that appears at the bottom of the player allows the user to start and stop play back(1), control the volume(2) and move to a certain point in the sound file or movie(3,4)." And, yea, I probably could have tried every key and click combination in the time I have spent searching for documentation :-( From rjearp99 at gmail.com Mon May 27 11:09:59 2019 From: rjearp99 at gmail.com (Robert J. Earp) Date: Mon, 27 May 2019 08:09:59 -0700 Subject: A problem with RunRev email account "sage.on-rev.com" Message-ID: Jim, I?ve had this before with other accounts, albeit not run-rev. It?s always a problem with the server thinking I?m sending spam when eMailing to many addresses. Even if you get the IP address removed from a blacklist you run the risk of it getting put on again without any notification. I suggest you use MailChimp, it?s free and works like a charm. best, Bob... > Date: Sun, 26 May 2019 08:24:16 -0700 > From: James Hurley > > To: use-livecode at lists.runrev.com > Subject: A problem with RunRev email account "sage.on-rev.com " > Message-ID: <35C33644-07F5-48DF-9AC4-3809F326C54D at sbcglobal.net > > Content-Type: text/plain; charset=utf-8 > > I have an email account with RunRev: @sage.on-rev.com > > It has worked flawlessly for many years, but for several weeks now all email sent from this account to Microsoft addresses (for example, Hotmail and MSN) have bounced. (All addresses on my list, other than the MS addresses, go through without a problem.) > > I have reported this problem and Robin at RunRev is working on a resolution, but without success. > > Is there a chance that anyone else on this list has found a workaround? > > Thanks, Jim Hurley > > P.S. I have other email accounts, the above ?@sbcglobal,.com? for example, but only @sage.on-rev.com allows more than 100 email recipients at a time. > > This is something of an emergency for us. We, i.e. my neighborhood association, is attempting to deal with the wildfire threat here in rural California. So getting the word out to these MS email accounts in our neighborhood association is important. > From jjs at krutt.org Mon May 27 11:36:11 2019 From: jjs at krutt.org (JJS) Date: Mon, 27 May 2019 17:36:11 +0200 Subject: Setting mobile scroller hScroll fails In-Reply-To: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> References: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> Message-ID: <19e10cf7-941a-49a2-81e4-22c2b8e20272@krutt.org> Something similair with 2 fields, of which one did scroll (vertical) and the other not, Although the script for both was the same except for some naming to distinguish them. Did not have time to upon it further. (on Android) Op 27-5-2019 om 00:03 schreef J. Landman Gay via use-livecode: > I want to verify this is a bug and not just me. > > I'm creating a mobile scroller over a group. I want the group to > initially display with its hScroll all the way to the right. I'm doing > this: > > zoom the group out to fill the screen > create a mobile scroller with the same rect > set the hScroll of the group to its formattedWidth > set the hScroll of the scroller to the scroll of the group > > If I insert an answer command to show the scroller's hScroll it > reports the correct number. But the scroller always acts like its > scroll is 0, and it won't scroll to the left at all. But scrolling it > to the right zaps both it and the group to zero and after that it > scrolls normally. > > I've also tried not setting the group's scroll and just setting the > scroller alone, thinking it might trigger the scrollerDidScroll > handler, but it doesn't. > > If I don't set any hScroll at all on either the group or the scroller, > all is well. > > Has anyone else seen this? > From andre at andregarzia.com Mon May 27 16:36:35 2019 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 27 May 2019 21:36:35 +0100 Subject: How to hide LC menubar without losing the icon on the windows taskbar? Message-ID: <119c3a28-f89d-6825-7640-431e961bba4f@andregarzia.com> I enjoy using Devolution and since my machine has 10'' I'd like to hide the menubar to free up some real estate but if I use the feature from Devolution to hide the LC menubar I end up losing the application icon on Windows 10 task bar which makes it really hard to switch between apps on the machine. So my question to you all is: "how to we enable a plugin to take over the IDE and keep the application icon there?" From ambassador at fourthworld.com Mon May 27 18:29:28 2019 From: ambassador at fourthworld.com (ambassador at fourthworld.com) Date: Mon, 27 May 2019 18:29:28 -0400 Subject: A problem with RunRev email account "sage.on-rev.com" Message-ID: <04afc6172268d2a4b4e19eb7694cc6ef@fourthworld.com> Robert J. Earp wrote: > Jim, > I?ve had this before with other accounts, albeit not run-rev. It?s > always > a problem with the server thinking I?m sending spam when eMailing to > many > addresses. Even if you get the IP address removed from a blacklist you > run > the risk of it getting put on again without any notification. I > suggest > you use MailChimp, it?s free and works like a charm. Or get a dedicated IP for your mail server, or become a mail admin and set up your own system for handling mail, or.... The other solution is to shut down vigilantism. Collective punishment is recognized by the Universal Declaration of Human Rights as flat-out wrong. Why do we tolerate it in cyberspace with spam vigilantes? I respect the difficulty of fighting spam, but knocking hundreds of legitimate accounts offline because one user of a machine is criminal is like shooting up a an entire neighborhood of families to get one bank robber. I've tried contacting some of the vigilante spam fighters to get white listed, with varying results. Many respond to such requests with a presumption of guilt, making it not only unnecessarily difficult to resolve the issue, but just plain rude as well. IP whitelisting must be made simple and straightforward. Vigilantes should recognize that it's far better to let a spammer slip through the prevention system than to risk preventing legitimate people from conducting their business through email. But they don't. So we need to take away their ropes and their hangin' trees, and turn their zeal down a few notches to rejoin a fair and just society. - rg/4w From rdimola at evergreeninfo.net Mon May 27 22:24:55 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 27 May 2019 22:24:55 -0400 Subject: A problem with RunRev email account "sage.on-rev.com" In-Reply-To: <04afc6172268d2a4b4e19eb7694cc6ef@fourthworld.com> References: <04afc6172268d2a4b4e19eb7694cc6ef@fourthworld.com> Message-ID: <00e001d514fc$8d2abc80$a7803580$@net> This smells like the early internet when SMTP servers were all open. There was a black list called ORBS that listed you if you did not comply and lock down your SMTP server. They stated that they couldn't be successfully sued and if you tried they threatened to leave you on the black list forever. Different but the same. I have no tolerance for spammers/hackers. White collar crime should be prosecuted and penalties should be draconian so the rest of us don't caught up in the net of scatter-shot lockdowns. 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 ambassador--- via use-livecode Sent: Monday, May 27, 2019 6:29 PM To: use-livecode at lists.runrev.com Cc: ambassador at fourthworld.com Subject: Re: A problem with RunRev email account "sage.on-rev.com" Robert J. Earp wrote: > Jim, > I?ve had this before with other accounts, albeit not run-rev. It?s > always a problem with the server thinking I?m sending spam when > eMailing to many addresses. Even if you get the IP address removed > from a blacklist you run the risk of it getting put on again without > any notification. I suggest you use MailChimp, it?s free and works > like a charm. Or get a dedicated IP for your mail server, or become a mail admin and set up your own system for handling mail, or.... The other solution is to shut down vigilantism. Collective punishment is recognized by the Universal Declaration of Human Rights as flat-out wrong. Why do we tolerate it in cyberspace with spam vigilantes? I respect the difficulty of fighting spam, but knocking hundreds of legitimate accounts offline because one user of a machine is criminal is like shooting up a an entire neighborhood of families to get one bank robber. I've tried contacting some of the vigilante spam fighters to get white listed, with varying results. Many respond to such requests with a presumption of guilt, making it not only unnecessarily difficult to resolve the issue, but just plain rude as well. IP whitelisting must be made simple and straightforward. Vigilantes should recognize that it's far better to let a spammer slip through the prevention system than to risk preventing legitimate people from conducting their business through email. But they don't. So we need to take away their ropes and their hangin' trees, and turn their zeal down a few notches to rejoin a fair and just society. - rg/4w _______________________________________________ use-livecode mailing list use-livecode 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 Tue May 28 09:55:37 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 28 May 2019 16:55:37 +0300 Subject: [ANN] This Week in LiveCode 179 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 #179 here: http://bit.ly/2W8LU5x 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 you 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 richmondmathewson at gmail.com Tue May 28 10:11:22 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 28 May 2019 17:11:22 +0300 Subject: Flish-flash MacOS standalone problem Message-ID: <4ce2192b-f3d4-0acb-02ad-afb87fcf03a1@gmail.com> My recent release of Devawriter Pro (2.6.2 refactor 3) was built as a "fat binary" for Macintosh and bundled it off to the Monks in Hawaii who were, justifiably, disgruntled, because the thing refused to quit, and on attempting to do flashed about on the screen and had to be 'Force Quit' to get it to go away. I built a 32-bit only with 9.0.4; flashing. I built a 32-bit only with 9.0.3; flashing. I built a 32-bit only with 8.1.10; behaved perfectly. Paused to feel relatively good that the problem was not mine. It IS, however, a problem, and I am not sure how to report it . . . . Richmond. From jjs at krutt.org Tue May 28 11:56:19 2019 From: jjs at krutt.org (JJS) Date: Tue, 28 May 2019 17:56:19 +0200 Subject: slow slower slowest scroll on Android Message-ID: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> Hi, i just received a new Android phone with an octa-core phone, so i thought let's check out my new app...especially scrolling. Well on my old phone it was dissapointing, but on the new mucho faster phone even still. I don't know how it is with others their experiences but... -Best scrolling is with a lot of text in an answer pop-up, this scrolls how it should be. -Average scrolling is a text field with a lot of text -and very slow stuttering is a DG2 with just lines of text in it (about 6000 lines of text with a single word) I still have to test another DG2 with images and text in it, but i don't expect any better. It should scroll like apps as Instagram and Facebook etcetera. Any experiences of others? Regards, Jerry From rdimola at evergreeninfo.net Tue May 28 12:10:03 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 28 May 2019 12:10:03 -0400 Subject: slow slower slowest scroll on Android In-Reply-To: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> Message-ID: <004901d5156f$d1def260$759cd720$@net> Did you try an arm64 build with 9.5.0? 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 JJS via use-livecode Sent: Tuesday, May 28, 2019 11:56 AM To: How to use LiveCode Cc: JJS Subject: slow slower slowest scroll on Android Hi, i just received a new Android phone with an octa-core phone, so i thought let's check out my new app...especially scrolling. Well on my old phone it was dissapointing, but on the new mucho faster phone even still. I don't know how it is with others their experiences but... -Best scrolling is with a lot of text in an answer pop-up, this scrolls how it should be. -Average scrolling is a text field with a lot of text -and very slow stuttering is a DG2 with just lines of text in it (about 6000 lines of text with a single word) I still have to test another DG2 with images and text in it, but i don't expect any better. It should scroll like apps as Instagram and Facebook etcetera. Any experiences of others? Regards, Jerry _______________________________________________ use-livecode mailing list use-livecode 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 Tue May 28 12:35:53 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 May 2019 11:35:53 -0500 Subject: slow slower slowest scroll on Android In-Reply-To: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> Message-ID: <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Check that acceleratedRendering is true for the stack, and that the group layermode is "scrolling". Datagrids are a slightly different case, LC 9.5 made some fixes for that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 28, 2019 10:58:07 AM JJS via use-livecode wrote: > Hi, > > > i just received a new Android phone with an octa-core phone, so i > thought let's check out my new app...especially scrolling. > > Well on my old phone it was dissapointing, but on the new mucho faster > phone even still. > > I don't know how it is with others their experiences but... > > -Best scrolling is with a lot of text in an answer pop-up, this scrolls > how it should be. > > -Average scrolling is a text field with a lot of text > > -and very slow stuttering is a DG2 with just lines of text in it (about > 6000 lines of text with a single word) > > > I still have to test another DG2 with images and text in it, but i don't > expect any better. > > > It should scroll like apps as Instagram and Facebook etcetera. > > Any experiences of others? > > > Regards, > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jjs at krutt.org Tue May 28 14:12:26 2019 From: jjs at krutt.org (JJS) Date: Tue, 28 May 2019 20:12:26 +0200 Subject: slow slower slowest scroll on Android In-Reply-To: <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque and Ralph, this was a stack build on lc904 Indy and acceleratedrendering is true as the important issues were fixed. It was already slow on the previous phone ARMv6 quad core. Oopsa i forgot to set the mentioned field and DG2's to scrolling (but i did not know if it had much influence) And the influence is minor, still it is stuttering, and even the simple field is not great. It's no comparison with an Answer pop-up. Will try a 64bit next, but then again even on a quad core it should scroll smoother. Regards, Jerry Op 28-5-2019 om 18:35 schreef J. Landman Gay via use-livecode: > Check that acceleratedRendering is true for the stack, and that the > group layermode is "scrolling". Datagrids are a slightly different > case, LC 9.5 made some fixes for that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On May 28, 2019 10:58:07 AM JJS via use-livecode > wrote: > >> Hi, >> >> >> i just received a new Android phone with an octa-core phone, so i >> thought let's check out my new app...especially scrolling. >> >> Well on my old phone it was dissapointing, but on the new mucho faster >> phone even still. >> >> I don't know how it is with others their experiences but... >> >> -Best scrolling is with a lot of text in an answer pop-up, this scrolls >> how it should be. >> >> -Average scrolling is a text field with a lot of text >> >> -and very slow stuttering is a DG2 with just lines of text in it (about >> 6000 lines of text with a single word) >> >> >> I still have to test another DG2 with images and text in it, but i don't >> expect any better. >> >> >> It should scroll like apps as Instagram and Facebook etcetera. >> >> Any experiences of others? >> >> >> Regards, >> >> Jerry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Tue May 28 14:46:51 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 28 May 2019 11:46:51 -0700 Subject: slow slower slowest scroll on Android In-Reply-To: References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: For the DG2 benefits, the containing group for the DG needs to be in container mode. ?Also, the biggest benefit will be seen with fixed height rows. ?This is something that comes with 9.5 DP 1. For the field, you may see better performance if you make it a native field. Thanks, Brian On May 28, 2019, 11:13 AM -0700, JJS via use-livecode , wrote: > Hi Jacque and Ralph, > > > this was a stack build on lc904 Indy and acceleratedrendering is true as > the important issues were fixed. > > It was already slow on the previous phone ARMv6 quad core. > > Oopsa i forgot to set the mentioned field and DG2's to scrolling (but i > did not know if it had much influence) > > And the influence is minor, still it is stuttering, and even the simple > field is not great. > > It's no comparison with an Answer pop-up. > > Will try a 64bit next, but then again even on a quad core it should > scroll smoother. > > > Regards, > > Jerry > > Op 28-5-2019 om 18:35 schreef J. Landman Gay via use-livecode: > > Check that acceleratedRendering is true for the stack, and that the > > group layermode is "scrolling". Datagrids are a slightly different > > case, LC 9.5 made some fixes for that. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > On May 28, 2019 10:58:07 AM JJS via use-livecode > > wrote: > > > > > Hi, > > > > > > > > > i just received a new Android phone with an octa-core phone, so i > > > thought let's check out my new app...especially scrolling. > > > > > > Well on my old phone it was dissapointing, but on the new mucho faster > > > phone even still. > > > > > > I don't know how it is with others their experiences but... > > > > > > -Best scrolling is with a lot of text in an answer pop-up, this scrolls > > > how it should be. > > > > > > -Average scrolling is a text field with a lot of text > > > > > > -and very slow stuttering is a DG2 with just lines of text in it (about > > > 6000 lines of text with a single word) > > > > > > > > > I still have to test another DG2 with images and text in it, but i don't > > > expect any better. > > > > > > > > > It should scroll like apps as Instagram and Facebook etcetera. > > > > > > Any experiences of others? > > > > > > > > > Regards, > > > > > > Jerry > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 jjs at krutt.org Tue May 28 15:49:05 2019 From: jjs at krutt.org (JJS) Date: Tue, 28 May 2019 21:49:05 +0200 Subject: slow slower slowest scroll on Android In-Reply-To: References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> The DG2's where in container mode, now i've set them in scroller. Made an ARM64 with LC950dp1-Indy, now it is getting faster, still not great, still stuttering but faster.. The field is a bit faster and the answer even more faster. The rows have fixed heights. I can try with a native field. On another stack i'm working on i have 2 native fields of which one is scrolling and the other not, so i have to check what is going on there. But for this one, the field is over the whole card almost with informative text. If the native field is not working well then i will change it to also an answer pop-up instead of a card. Also when swiping up when lifting up your finger it sees it as a mouseUp. Have to see what i can do about that. Regards, Jerry Op 28-5-2019 om 20:46 schreef Brian Milby via use-livecode: > For the DG2 benefits, the containing group for the DG needs to be in container mode. ?Also, the biggest benefit will be seen with fixed height rows. ?This is something that comes with 9.5 DP 1. > > For the field, you may see better performance if you make it a native field. > > Thanks, > Brian > On May 28, 2019, 11:13 AM -0700, JJS via use-livecode , wrote: >> Hi Jacque and Ralph, >> >> >> this was a stack build on lc904 Indy and acceleratedrendering is true as >> the important issues were fixed. >> >> It was already slow on the previous phone ARMv6 quad core. >> >> Oopsa i forgot to set the mentioned field and DG2's to scrolling (but i >> did not know if it had much influence) >> >> And the influence is minor, still it is stuttering, and even the simple >> field is not great. >> >> It's no comparison with an Answer pop-up. >> >> Will try a 64bit next, but then again even on a quad core it should >> scroll smoother. >> >> >> Regards, >> >> Jerry >> >> Op 28-5-2019 om 18:35 schreef J. Landman Gay via use-livecode: >>> Check that acceleratedRendering is true for the stack, and that the >>> group layermode is "scrolling". Datagrids are a slightly different >>> case, LC 9.5 made some fixes for that. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On May 28, 2019 10:58:07 AM JJS via use-livecode >>> wrote: >>> >>>> Hi, >>>> >>>> >>>> i just received a new Android phone with an octa-core phone, so i >>>> thought let's check out my new app...especially scrolling. >>>> >>>> Well on my old phone it was dissapointing, but on the new mucho faster >>>> phone even still. >>>> >>>> I don't know how it is with others their experiences but... >>>> >>>> -Best scrolling is with a lot of text in an answer pop-up, this scrolls >>>> how it should be. >>>> >>>> -Average scrolling is a text field with a lot of text >>>> >>>> -and very slow stuttering is a DG2 with just lines of text in it (about >>>> 6000 lines of text with a single word) >>>> >>>> >>>> I still have to test another DG2 with images and text in it, but i don't >>>> expect any better. >>>> >>>> >>>> It should scroll like apps as Instagram and Facebook etcetera. >>>> >>>> Any experiences of others? >>>> >>>> >>>> Regards, >>>> >>>> Jerry >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 kee.nethery at elloco.com Tue May 28 17:31:23 2019 From: kee.nethery at elloco.com (kee nethery) Date: Tue, 28 May 2019 14:31:23 -0700 Subject: identifying macOS folders that are considered to be files? In-Reply-To: References: <83ABFD46-A880-41A3-B375-5400AE9E2843@elloco.com> <2D9BF9A3-5B6F-48F5-81A9-B57F97D75DCA@livecode.com> Message-ID: <00C1C103-53B0-4965-8538-803E14B3823B@elloco.com> Wow, way more complicated than I imagined. From: https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/AboutBundles/AboutBundles.html How the System Identifies Bundles and Packages The Finder considers a directory to be a package if any of the following conditions are true: ? The directory has a known filename extension: .app, .bundle, .framework, .plugin, .kext, and so on. ? The directory has an extension that some other application claims represents a package type; see Document Packages. ? The directory has its package bit set. So to translate: We know it when we see it because we have a list of the ones we use. The application that created it defined a package/bundle type in its Info.plist file. Did you search the plist files for all the applications that everyone has on their computers to find all the file types that are not folders? good luck The folder / package has its package bit set (which doesn?t seem to be accessible with terminal commands as far as I can tell). I?m exploring terminal commands to see if this mythical package bit can be detected for directories that appear to have a file type on them. What a mess. Kee Nethery > On May 24, 2019, at 11:45 PM, Kee Nethery via use-livecode wrote: > > Mark, Trevor, > > Thank you. Will test tomorrow. Will report back. Thanks again > > Kee Nethery > >> On May 24, 2019, at 6:53 PM, Mark Waddingham via use-livecode wrote: >> >> I?m pretty sure bundles always have a PkgInfo file in them too - so you should (alternatively to using LCB) use ?there is a file ...?. >> >> Warmest Regards, >> >> Mark. >> >> Sent from my iPhone >> >>> On 24 May 2019, at 18:06, Trevor DeVore via use-livecode wrote: >>> >>> On Fri, May 24, 2019 at 7:35 PM kee nethery via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Is there any way for LiveCode to tell me that a macOS folder that gets >>>> listed with ?the folders? is actually treated as a file? For example, .app >>>> is a file where View Package Contents is an option but the OS treats it as >>>> a single thing. Same with .numbers, .pages, and various other ?files?. They >>>> can be opened up and the contents can be viewed. >>>> >>>> Is there any way to know which ?folders? are actually treated by the OS as >>>> files? >>>> >>> >>> If you don't get any pure LCS solutions you could use an extension. macOS >>> has an API for this: >>> >>> https://developer.apple.com/documentation/appkit/nsworkspace/1529991-isfilepackageatpath?language=objc >>> >>> I just tested it in my macOS test bed for extensions and it seems to work. >>> It is the NSWorkspaceIsFilePackageAtPath() handler in this file: >>> >>> https://github.com/trevordevore/lc-macos-toolset/blob/master/NSWorkspace/nsworkspace.lcb >>> >>> -- >>> Trevor DeVore >>> ScreenSteps >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 tom at makeshyft.com Tue May 28 17:49:23 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 28 May 2019 17:49:23 -0400 Subject: slow slower slowest scroll on Android In-Reply-To: <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> Message-ID: Hi Jerry..... please let us know if the scroll ever looks normal and stops being "Livecody". sigh. Its for this reason why I don't really consider Livecode a legit mobile development platform. Its THE best for desktop, but on mobile its still got too many warts. Every time i use the LC dictionary app I literally cringe at the text rendering and "scrolling". Can't wait for something that feels like its modern or at least 2010 ish. rant over. On Tue, May 28, 2019 at 3:49 PM JJS via use-livecode < use-livecode at lists.runrev.com> wrote: > The DG2's where in container mode, now i've set them in scroller. > > Made an ARM64 with LC950dp1-Indy, now it is getting faster, still not > great, still stuttering but faster.. The field is a bit faster and the > answer even more faster. > > The rows have fixed heights. > > I can try with a native field. On another stack i'm working on i have 2 > native fields of which one is scrolling and the other not, so i have to > check what is going on there. > > But for this one, the field is over the whole card almost with > informative text. If the native field is not working well then i will > change it to also an answer pop-up instead of a card. > > Also when swiping up when lifting up your finger it sees it as a > mouseUp. Have to see what i can do about that. > > > Regards, > > Jerry > > > Op 28-5-2019 om 20:46 schreef Brian Milby via use-livecode: > > For the DG2 benefits, the containing group for the DG needs to be in > container mode. Also, the biggest benefit will be seen with fixed height > rows. This is something that comes with 9.5 DP 1. > > > > For the field, you may see better performance if you make it a native > field. > > > > Thanks, > > Brian > > On May 28, 2019, 11:13 AM -0700, JJS via use-livecode < > use-livecode at lists.runrev.com>, wrote: > >> Hi Jacque and Ralph, > >> > >> > >> this was a stack build on lc904 Indy and acceleratedrendering is true as > >> the important issues were fixed. > >> > >> It was already slow on the previous phone ARMv6 quad core. > >> > >> Oopsa i forgot to set the mentioned field and DG2's to scrolling (but i > >> did not know if it had much influence) > >> > >> And the influence is minor, still it is stuttering, and even the simple > >> field is not great. > >> > >> It's no comparison with an Answer pop-up. > >> > >> Will try a 64bit next, but then again even on a quad core it should > >> scroll smoother. > >> > >> > >> Regards, > >> > >> Jerry > >> > >> Op 28-5-2019 om 18:35 schreef J. Landman Gay via use-livecode: > >>> Check that acceleratedRendering is true for the stack, and that the > >>> group layermode is "scrolling". Datagrids are a slightly different > >>> case, LC 9.5 made some fixes for that. > >>> > >>> -- > >>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>> HyperActive Software | http://www.hyperactivesw.com > >>> On May 28, 2019 10:58:07 AM JJS via use-livecode > >>> wrote: > >>> > >>>> Hi, > >>>> > >>>> > >>>> i just received a new Android phone with an octa-core phone, so i > >>>> thought let's check out my new app...especially scrolling. > >>>> > >>>> Well on my old phone it was dissapointing, but on the new mucho faster > >>>> phone even still. > >>>> > >>>> I don't know how it is with others their experiences but... > >>>> > >>>> -Best scrolling is with a lot of text in an answer pop-up, this > scrolls > >>>> how it should be. > >>>> > >>>> -Average scrolling is a text field with a lot of text > >>>> > >>>> -and very slow stuttering is a DG2 with just lines of text in it > (about > >>>> 6000 lines of text with a single word) > >>>> > >>>> > >>>> I still have to test another DG2 with images and text in it, but i > don't > >>>> expect any better. > >>>> > >>>> > >>>> It should scroll like apps as Instagram and Facebook etcetera. > >>>> > >>>> Any experiences of others? > >>>> > >>>> > >>>> Regards, > >>>> > >>>> Jerry > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode 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 lists at mangomultimedia.com Tue May 28 18:18:22 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 28 May 2019 17:18:22 -0500 Subject: identifying macOS folders that are considered to be files? In-Reply-To: <00C1C103-53B0-4965-8538-803E14B3823B@elloco.com> References: <83ABFD46-A880-41A3-B375-5400AE9E2843@elloco.com> <2D9BF9A3-5B6F-48F5-81A9-B57F97D75DCA@livecode.com> <00C1C103-53B0-4965-8538-803E14B3823B@elloco.com> Message-ID: On Tue, May 28, 2019 at 4:31 PM kee nethery via use-livecode < use-livecode at lists.runrev.com> wrote: > Wow, way more complicated than I imagined. > > From: > https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/AboutBundles/AboutBundles.html The macOS API I wrapped in the extension should take all of the into account. -- Trevor DeVore ScreenSteps From monte at appisle.net Tue May 28 19:23:48 2019 From: monte at appisle.net (Monte Goulding) Date: Wed, 29 May 2019 09:23:48 +1000 Subject: slow slower slowest scroll on Android In-Reply-To: <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> Message-ID: <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> > On 29 May 2019, at 5:49 am, JJS via use-livecode wrote: > > The DG2's where in container mode, now i've set them in scroller. > You should not fiddle with the layerMode of the datagrid. The scripts already set the correct groups to container and scrolling. The actual scrolling layerMode group in the datagroup is about 3 levels in with its parents being container. As mentioned on other posts you need to ensure the datagrid is unadorned (no border etc). Also if you have it placed inside a group then that group must also be set to container layerMode and be unadorned. Cheers Monte From monte at appisle.net Tue May 28 19:33:13 2019 From: monte at appisle.net (Monte Goulding) Date: Wed, 29 May 2019 09:33:13 +1000 Subject: Setting mobile scroller hScroll fails In-Reply-To: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> References: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> Message-ID: Hi Jacque I?m thinking you are over summarising what you are doing here. For example, I expect you mean to set the hScroll of the group to the formattedWidth - the width of the group. Are you setting the contentRect appropriately before setting the hScroll of the scroller? Cheers Monte > On 27 May 2019, at 8:03 am, J. Landman Gay via use-livecode wrote: > > I want to verify this is a bug and not just me. > > I'm creating a mobile scroller over a group. I want the group to initially display with its hScroll all the way to the right. I'm doing this: > > zoom the group out to fill the screen > create a mobile scroller with the same rect > set the hScroll of the group to its formattedWidth > set the hScroll of the scroller to the scroll of the group > > If I insert an answer command to show the scroller's hScroll it reports the correct number. But the scroller always acts like its scroll is 0, and it won't scroll to the left at all. But scrolling it to the right zaps both it and the group to zero and after that it scrolls normally. > > I've also tried not setting the group's scroll and just setting the scroller alone, thinking it might trigger the scrollerDidScroll handler, but it doesn't. > > If I don't set any hScroll at all on either the group or the scroller, all is well. > > Has anyone else seen this? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 brahma at hindu.org Tue May 28 23:07:06 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 29 May 2019 03:07:06 +0000 Subject: Ken Burns Effects - acceleratedRendering Message-ID: <4BA29C8F-F958-4051-8ECC-05696832C637@hindu.org> After listening to Mark Waddington presentation regarding the new container mode. It would seems that the layerMode -- container is for groups only. So nothing has changed with respect to doing Ken Burn effect with large image, or a parallax?effect with images placed on top of each other, or far that matter, moving an animated gif across the screen. Setting these to a dynamic layerMode, with acceleratedRendering sent to true is still "very expensive" and will block the engine. Assuming we continue to use Animated Engine (since no better tool has arrived) 1) we can change the rect and position of image over time. (expand very slowly and more the foreground going to the right....) 2) Animation Engine uses send in time, which, in theory allows for the CPU to handle other message, like a top scrolling field. Questions are 1. Can it be done? I've told off list that it can't, the engine will block so badly that performance will be "horrible" . I had this experience with "moving" an animatedGif. Android actually would crash... But I used the engine "move" command. But it may have worked better to use Animation Engine 2. Assuming something simple... like one image landscape with a KenBurn running with a scrolling field on top: Will it help to set something different in the defaults for compositorTileSize, compositorType, compositorCacheLimit to make it work better? I am assuming we need to keep the image as some as possible. But even a 136K jpg on disk become a 2.37 meg monster after it opens. Of course we would also be use prepare image so that it is in cache. Can it be done? Or are we looking at LC"12" for any modern day animations, transitions. Or maybe never because LC in single treaded... BR From monte at appisle.net Tue May 28 23:58:47 2019 From: monte at appisle.net (Monte Goulding) Date: Wed, 29 May 2019 13:58:47 +1000 Subject: Ken Burns Effects - acceleratedRendering In-Reply-To: <4BA29C8F-F958-4051-8ECC-05696832C637@hindu.org> References: <4BA29C8F-F958-4051-8ECC-05696832C637@hindu.org> Message-ID: <6D93D155-57DC-40AC-8BD5-C0DA48BF98AC@appisle.net> > On 29 May 2019, at 1:07 pm, Sannyasin Brahmanathaswami via use-livecode wrote: > > After listening to Mark Waddington presentation regarding the new container mode. It would seems that the layerMode -- container is for groups only. Yes > > So nothing has changed with respect to doing Ken Burn effect with large image, or a parallax effect with images placed on top of each other, or far that matter, moving an animated gif across the screen. Setting these to a dynamic layerMode, with acceleratedRendering sent to true is still "very expensive" and will block the engine. It would be interesting to test the performance difference between an animated gif and locking the screen, moving a button and setting its icon. The reason being is I suspect the animated gif would re-render out of sync with your animation frames. It may be helpful to understand exactly what the engine does with accelerated rendering true. Let?s say you have 10 static layerMode objects directly on a card then a dynamic layerMode object and then 2 static layerMode objects above that. This creates 3 layers (card with 10 static objects, dynamic object, 2 static objects). As long as none of the static objects are changed then the bottom layer and the top layer do not need to be re-rendered. If the dynamic object is unchanged then it too does not need to be re-rendered. If the object is moved, resized, changes properties etc that require a re-render then the layer it is drawn into is re-rendered. The engine then uses the compositor (openGL, CoreGraphics, software) to merge the layers. For scrolling layerMode it means to retain renderings outside the bounds of the currently visible controls and then clip it when the layers are merged. For container layerMode it basically just tells the engine to look inside the group for controls with non-static layerModes and again to clip it when the layers are merged. Now the use cases: - Ken Burn effect - This both sizes and moves an image. It may help to use dynamic layerMode here but if it covers the entire screen I don?t think it will make much difference. At some point in the future we may support applying transformations to dynamic layerMode objects (changing size and perhaps location) which would mean Ken Burn effect would be done by the GPU. I suspect that?s a fair way off and would definitely involve some serious Mark time ;-) - Parallax effect - This involves having multiple layers and moving them at different rates. You should be able to get good performance increases for this. Presuming a static background layer and either dynamic foreground and background objects or perhaps one or more scrolling layers which can cycle through their content at different rates. FWIW I suspect Mark may correct me on some of what I?ve said here but hopefully I?m not too far wrong. Cheers Monte From curry at pair.com Wed May 29 00:49:43 2019 From: curry at pair.com (Curry Kenworthy) Date: Wed, 29 May 2019 00:49:43 -0400 Subject: Seeking confirmation of a bug... In-Reply-To: References: Message-ID: <39de8c35-c91e-c4d3-c2c8-56a782f3ad99@pair.com> Me: >> install the latest build AND an older version Richmond: > That begs a question: which older version? Chewed on this a bit, and I'm going to say LC 6.7 because: A) LC 6.7.x versus latest build is still currently the best overall comparison to find the most regressions. B) We kinda need to find and fix the remaining bugs from the big refactoring period, yes? Still finding and reporting more.... Join the regression extermination effort! :) https://downloads.livecode.com/livecode/ https://quality.livecode.com/ Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From richmondmathewson at gmail.com Wed May 29 04:05:47 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2019 11:05:47 +0300 Subject: Seeking confirmation of a bug... In-Reply-To: <39de8c35-c91e-c4d3-c2c8-56a782f3ad99@pair.com> References: <39de8c35-c91e-c4d3-c2c8-56a782f3ad99@pair.com> Message-ID: <2be9f1f0-ba0c-0b12-55e3-d0ae11a1ceba@gmail.com> I'd love to join the regression extermination effort, but I wonder why LiveCode central seem content to churn ever-onwards into the bright, new future without contributing anything visible to rooting out bugs? Sooner rather than later I'm going to have to buy a Commercial licence again . . . But . . . Richmond. On 29.05.19 7:49, Curry Kenworthy via use-livecode wrote: > > Me: > >> install the latest build AND an older version > > Richmond: > > That begs a question: which older version? > > Chewed on this a bit, and I'm going to say LC 6.7 because: > > A) LC 6.7.x versus latest build is still currently the best overall > comparison to find the most regressions. > > B) We kinda need to find and fix the remaining bugs from the big > refactoring period, yes? Still finding and reporting more.... > > Join the regression extermination effort! :) > > https://downloads.livecode.com/livecode/ > https://quality.livecode.com/ > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.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 jjs at krutt.org Wed May 29 05:27:43 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Wed, 29 May 2019 09:27:43 +0000 Subject: slow slower slowest scroll on Android In-Reply-To: <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> Message-ID: Strange is, when i opened the stack in 950dp1 and looked at the setting to set static, dynamic, scrolling. Container was selected, but when you click on it you can only choose from the 3 previous mentioned and not container anymore. Unadorned (had to translate it first...) so no nice edge around it. Ok will test tonight. Thanks! Monte Goulding via use-livecode schreef op 2019-05-28 23:23: >> On 29 May 2019, at 5:49 am, JJS via use-livecode >> wrote: >> >> The DG2's where in container mode, now i've set them in scroller. >> > > You should not fiddle with the layerMode of the datagrid. The scripts > already set the correct groups to container and scrolling. The actual > scrolling layerMode group in the datagroup is about 3 levels in with > its parents being container. As mentioned on other posts you need to > ensure the datagrid is unadorned (no border etc). Also if you have it > placed inside a group then that group must also be set to container > layerMode and be unadorned. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 29 11:46:22 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 May 2019 10:46:22 -0500 Subject: Seeking confirmation of a bug... In-Reply-To: <2be9f1f0-ba0c-0b12-55e3-d0ae11a1ceba@gmail.com> References: <39de8c35-c91e-c4d3-c2c8-56a782f3ad99@pair.com> <2be9f1f0-ba0c-0b12-55e3-d0ae11a1ceba@gmail.com> Message-ID: <16b044558b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Read the release notes. You'll get a much better view of the number of bug fixes in each version. The last one had 2 pages of fixes. The team can both walk and chew gum, they're talented that way. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 29, 2019 3:07:39 AM Richmond via use-livecode wrote: > I'd love to join the regression extermination effort, but I wonder why > LiveCode central > seem content to churn ever-onwards into the bright, new future without > contributing > anything visible to rooting out bugs? > > Sooner rather than later I'm going to have to buy a Commercial licence > again . . . > > But . . . > > Richmond. > > On 29.05.19 7:49, Curry Kenworthy via use-livecode wrote: >> >> Me: >> >> install the latest build AND an older version >> >> Richmond: >> > That begs a question: which older version? >> >> Chewed on this a bit, and I'm going to say LC 6.7 because: >> >> A) LC 6.7.x versus latest build is still currently the best overall >> comparison to find the most regressions. >> >> B) We kinda need to find and fix the remaining bugs from the big >> refactoring period, yes? Still finding and reporting more.... >> >> Join the regression extermination effort! :) >> >> https://downloads.livecode.com/livecode/ >> https://quality.livecode.com/ >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.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 brian at milby7.com Wed May 29 12:08:10 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 29 May 2019 09:08:10 -0700 Subject: slow slower slowest scroll on Android In-Reply-To: References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> Message-ID: <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> DP2 will fix the missing option in the PI to set container mode, but it can be done from the message box now. If you need a static border or shadow behind the DG, then use a separate object for the effect behind the DG so you can get the performance boost from accelerated rendering. Thanks, Brian On May 29, 2019, 2:28 AM -0700, Sphere via use-livecode , wrote: > Strange is, when i opened the stack in 950dp1 and looked at the setting > to set static, dynamic, scrolling. Container was selected, but when you > click on it you can only choose from the 3 previous mentioned and not > container anymore. > Unadorned (had to translate it first...) so no nice edge around it. > Ok will test tonight. > > Thanks! > > Monte Goulding via use-livecode schreef op 2019-05-28 23:23: > > > On 29 May 2019, at 5:49 am, JJS via use-livecode > > > wrote: > > > > > > The DG2's where in container mode, now i've set them in scroller. > > > > > > > You should not fiddle with the layerMode of the datagrid. The scripts > > already set the correct groups to container and scrolling. The actual > > scrolling layerMode group in the datagroup is about 3 levels in with > > its parents being container. As mentioned on other posts you need to > > ensure the datagrid is unadorned (no border etc). Also if you have it > > placed inside a group then that group must also be set to container > > layerMode and be unadorned. > > > > Cheers > > > > Monte > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 May 29 13:51:48 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 29 May 2019 13:51:48 -0400 Subject: FFI & VLC Player Message-ID: Hi folks, I'm trying to wrap my mind around whether its possible to integrate VLC into Livecode via the FFI in Livecode Builder. I'm not so much asking how..... but whether..... I don't want to bark up the wrong tree because I don't yet fully understand how this integration works and what its limitations are. This is to get around the codec limitations of the included Browser CEF Builds. A Yes or a No is fine. Anything beyond that would be a bonus. Thank you From ambassador at fourthworld.com Wed May 29 14:38:23 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 May 2019 11:38:23 -0700 Subject: FFI & VLC Player In-Reply-To: References: Message-ID: Tom Glod wrote: > Hi folks, I'm trying to wrap my mind around whether its possible to > integrate VLC into Livecode via the FFI in Livecode Builder. > > I'm not so much asking how..... but whether..... I don't want to bark > up the wrong tree because I don't yet fully understand how this > integration works and what its limitations are. > > This is to get around the codec limitations of the included Browser > CEF Builds. > > A Yes or a No is fine. Anything beyond that would be a bonus. VLC has a C-based API. FFI supports, among others, C-based APIs. I'd say that should be a "yes". -- 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 tom at makeshyft.com Wed May 29 14:45:59 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 29 May 2019 14:45:59 -0400 Subject: FFI & VLC Player In-Reply-To: References: Message-ID: Thank you ...... I shall start barking up that tree then. On Wed, May 29, 2019 at 2:38 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > Hi folks, I'm trying to wrap my mind around whether its possible to > > integrate VLC into Livecode via the FFI in Livecode Builder. > > > > I'm not so much asking how..... but whether..... I don't want to bark > > up the wrong tree because I don't yet fully understand how this > > integration works and what its limitations are. > > > > This is to get around the codec limitations of the included Browser > > CEF Builds. > > > > A Yes or a No is fine. Anything beyond that would be a bonus. > > VLC has a C-based API. FFI supports, among others, C-based APIs. > > I'd say that should be a "yes". > > -- > 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 Wed May 29 15:01:05 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 May 2019 14:01:05 -0500 Subject: Setting mobile scroller hScroll fails In-Reply-To: References: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> Message-ID: Thanks Monte, I did over-summarize. I'm not sure why it's going wrong, but it sounds like it's something I'm doing. I have a standard "createScroller" handler that I've been using for years, but I've never had to set the hScroll before. It's always been zero. In this case, I set the hScroll of the group to the formattedWidth of the group, which may be wrong. The engine seems to compensate though and sets the scroll as far as it should go. Then I call "createScroller" and pass the name of the group. The handler: command createScroller pName -- pName = the long ID of a grp put the rect of control pName into tRect put the hScrollBar of control pName into tHScroller put the vScrollBar of control pName into tVScroller put the hScroll of control pName into tHScroll put the vScroll of control pName into tVScroll set the hScrollBar of control pName to false -- remove fld scrollbars on mobile set the vScrollBar of control pName to false mobileControlCreate "scroller", pName mobileControlSet pName, "rect", tRect put ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName) into tContentRect mobileControlSet pName, "contentRect", tContentRect mobileControlSet pName, "hScroll", 0 mobileControlSet pName, "vScroll", 0 mobileControlSet pName, "hIndicator", tHScroller mobileControlSet pName, "vIndicator", tVScroller mobileControlSet pName, "hScroll", tHScroll mobileControlSet pName, "vScroll", tVScroll mobileControlSet pName, "visible", true end createScroller I initialize both the group and the scroller to 0 before doing anything else, because when I wrote it I couldn't get them to align correctly otherwise. I should also probably mention that I'm using fullscreenMode "showAll" and the group is expanded beyond the borders of the card to fill the screen; i.e., it probably has a negative left margin and a wider right margin. When the scroller finally does scroll (after resetting itself) it scrolls too far at the left side by the number of pixels between the screen left and the card left, and cuts off the same amount on the right side. Can you see what I should change? On 5/28/19 6:33 PM, Monte Goulding via use-livecode wrote: > Hi Jacque > > I?m thinking you are over summarising what you are doing here. For example, I expect you mean to set the hScroll of the group to the formattedWidth - the width of the group. Are you setting the contentRect appropriately before setting the hScroll of the scroller? > > Cheers > > Monte > >> On 27 May 2019, at 8:03 am, J. Landman Gay via use-livecode wrote: >> >> I want to verify this is a bug and not just me. >> >> I'm creating a mobile scroller over a group. I want the group to initially display with its hScroll all the way to the right. I'm doing this: >> >> zoom the group out to fill the screen >> create a mobile scroller with the same rect >> set the hScroll of the group to its formattedWidth >> set the hScroll of the scroller to the scroll of the group >> >> If I insert an answer command to show the scroller's hScroll it reports the correct number. But the scroller always acts like its scroll is 0, and it won't scroll to the left at all. But scrolling it to the right zaps both it and the group to zero and after that it scrolls normally. >> >> I've also tried not setting the group's scroll and just setting the scroller alone, thinking it might trigger the scrollerDidScroll handler, but it doesn't. >> >> If I don't set any hScroll at all on either the group or the scroller, all is well. >> >> Has anyone else seen this? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed May 29 15:03:57 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 May 2019 12:03:57 -0700 Subject: Seeking confirmation of a bug... In-Reply-To: <2be9f1f0-ba0c-0b12-55e3-d0ae11a1ceba@gmail.com> References: <2be9f1f0-ba0c-0b12-55e3-d0ae11a1ceba@gmail.com> Message-ID: <5c638db1-088d-17d3-67ce-835aec94cc19@fourthworld.com> Richmond wrote: > ...I wonder why LiveCode central seem content to churn ever-onwards > into the bright, new future without contributing anything visible to > rooting out bugs? Visibility requires both observable phenomena, and an engaged observer. As described here and many times before, LiveCode Ltd can only address their half of that: https://forums.livecode.com/viewtopic.php?f=7&t=32077&p=175749#p175749 -- 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 mark at livecode.com Wed May 29 15:11:27 2019 From: mark at livecode.com (Mark Waddingham) Date: Wed, 29 May 2019 21:11:27 +0200 Subject: FFI & VLC Player In-Reply-To: References: Message-ID: <59c71e1caaecc8f2b632179764a20c64@livecode.com> On 2019-05-29 20:45, Tom Glod via use-livecode wrote: >> VLC has a C-based API. FFI supports, among others, C-based APIs. >> >> I'd say that should be a "yes". Although a slight word of warning - the reason why there are 'codec limitations' in the CEF we ship is entirely down to patent encumbrance on things like MP4. Just because you *could* use VLC for such codecs, it doesn't mean you have, or your users have, the right to do so. In particular, if your app is intended as GPL and you are intending to (essentially) distribute VLC with it (so that your app functios - thus making it a combined work) then you are on very thin ice in this regard and the combination is best avoided. On the other hand, if your app is commercial then you are fine as long as you do your homework on any necessary patent licensing - for example, if you are intending to provide access to the MP4 codecs in VLC then you must get the appropriate licensing from the MPEG4LA patent pool (there are no licensing fees for software uses up to 100,000 users IIRC). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jjs at krutt.org Wed May 29 15:24:26 2019 From: jjs at krutt.org (JJS) Date: Wed, 29 May 2019 21:24:26 +0200 Subject: slow slower slowest scroll on Android In-Reply-To: <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> Message-ID: Thanks Brian, i will do some tests and report back. Regards, Jerry Op 29-5-2019 om 18:08 schreef Brian Milby via use-livecode: > DP2 will fix the missing option in the PI to set container mode, but it can be done from the message box now. > > If you need a static border or shadow behind the DG, then use a separate object for the effect behind the DG so you can get the performance boost from accelerated rendering. > > Thanks, > Brian > On May 29, 2019, 2:28 AM -0700, Sphere via use-livecode , wrote: >> Strange is, when i opened the stack in 950dp1 and looked at the setting >> to set static, dynamic, scrolling. Container was selected, but when you >> click on it you can only choose from the 3 previous mentioned and not >> container anymore. >> Unadorned (had to translate it first...) so no nice edge around it. >> Ok will test tonight. >> >> Thanks! >> >> Monte Goulding via use-livecode schreef op 2019-05-28 23:23: >>>> On 29 May 2019, at 5:49 am, JJS via use-livecode >>>> wrote: >>>> >>>> The DG2's where in container mode, now i've set them in scroller. >>>> >>> You should not fiddle with the layerMode of the datagrid. The scripts >>> already set the correct groups to container and scrolling. The actual >>> scrolling layerMode group in the datagroup is about 3 levels in with >>> its parents being container. As mentioned on other posts you need to >>> ensure the datagrid is unadorned (no border etc). Also if you have it >>> placed inside a group then that group must also be set to container >>> layerMode and be unadorned. >>> >>> Cheers >>> >>> Monte >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 dochawk at gmail.com Wed May 29 15:32:55 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 29 May 2019 12:32:55 -0700 Subject: property that shows a group is being edited? Message-ID: <598129D7-0F03-452E-ACFE-0224A899E51B@gmail.com> This came up a few months ago, and someone mentioned a property that is set while editing a group in the IDE. I can?t find it in the dictionary or with Mr. Google. Can anyone remember the name of the property? ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From jjs at krutt.org Wed May 29 17:10:06 2019 From: jjs at krutt.org (JJS) Date: Wed, 29 May 2019 23:10:06 +0200 Subject: slow slower slowest scroll on Android In-Reply-To: References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> Message-ID: <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> Wow, what a difference does it make. I saw that the setting was container again so i let it that way. Turned off the nice border glow around the grid, turned border off and set it to zero (the latter won't make difference i guess.) This is how it should be. Thanks for pointing me to it Monte/Brian. So in standalone i only now had the ARM64 selected and then build it in dev/test mode. (What will it push to the phone if all 4 options are selected? does it check what is connected?) This looks very good. Now i want to test further with the grid containing images and text fields, see how that performs. Regards, Jerry Op 29-5-2019 om 21:24 schreef JJS via use-livecode: > Thanks Brian, > > i will do some tests and report back. > > Regards, > > Jerry > > Op 29-5-2019 om 18:08 schreef Brian Milby via use-livecode: >> DP2 will fix the missing option in the PI to set container mode, but >> it can be done from the message box now. >> >> If you need a static border or shadow behind the DG, then use a >> separate object for the effect behind the DG so you can get the >> performance boost from accelerated rendering. >> >> Thanks, >> Brian >> On May 29, 2019, 2:28 AM -0700, Sphere via use-livecode >> , wrote: >>> Strange is, when i opened the stack in 950dp1 and looked at the setting >>> to set static, dynamic, scrolling. Container was selected, but when you >>> click on it you can only choose from the 3 previous mentioned and not >>> container anymore. >>> Unadorned (had to translate it first...) so no nice edge around it. >>> Ok will test tonight. >>> >>> Thanks! >>> >>> Monte Goulding via use-livecode schreef op 2019-05-28 23:23: >>>>> On 29 May 2019, at 5:49 am, JJS via use-livecode >>>>> wrote: >>>>> >>>>> The DG2's where in container mode, now i've set them in scroller. >>>>> >>>> You should not fiddle with the layerMode of the datagrid. The scripts >>>> already set the correct groups to container and scrolling. The actual >>>> scrolling layerMode group in the datagroup is about 3 levels in with >>>> its parents being container. As mentioned on other posts you need to >>>> ensure the datagrid is unadorned (no border etc). Also if you have it >>>> placed inside a group then that group must also be set to container >>>> layerMode and be unadorned. >>>> >>>> Cheers >>>> >>>> Monte >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 May 29 17:38:46 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 May 2019 16:38:46 -0500 Subject: property that shows a group is being edited? In-Reply-To: <598129D7-0F03-452E-ACFE-0224A899E51B@gmail.com> References: <598129D7-0F03-452E-ACFE-0224A899E51B@gmail.com> Message-ID: <32b9985d-dcb5-f263-6e5c-5cb02ff55a34@hyperactivesw.com> EditBackground? On 5/29/19 2:32 PM, Dr. Hawkins via use-livecode wrote: > > This came up a few months ago, and someone mentioned a property that is set while editing a group in the IDE. > > I can?t find it in the dictionary or with Mr. Google. > > Can anyone remember the name of the property? > ? > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Wed May 29 17:50:11 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 29 May 2019 17:50:11 -0400 Subject: slow slower slowest scroll on Android In-Reply-To: <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> Message-ID: <007401d51668$809d4ce0$81d7e6a0$@net> Jerry, First of all... The armv7 will work on all architectures. The Intels have an arm emulator that in my tests are about 7-10 times slower than a native Intel build. Arm 64 will only work on 64 bit arm architectures. Intel will work on all Intel architectures and Intel 64 will work on only 64 bit Intels. (I think a have this straight) Testing: If you push all 4 types to a test device the test device will use the best architecture. This will make the apk huge and some devices have a apk size limit. The build/install also takes longer. When testing use only one architecture and pick the best for your test device. PlayStore distribution: If you build 1 apk for all 4 architectures the apk will be huge and you may exceed the max apk limit for some devices. The best way is to build 4 apks one for each architecture. Up the version code by at least 1 for each build. Upload and release all 4 apks to production on the PlayStore. When a user installs your app from the PlayStore the best apk for their device will be installed. This makes for a faster/less data install for users. The restrictions for multiple apks on the PlayStore is 1) the version codes must be different 2) the apks must not target duplicate architectures. This is why you can have 4 apks in production at the same time. 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 JJS via use-livecode Sent: Wednesday, May 29, 2019 5:10 PM To: JJS via use-livecode Cc: JJS Subject: Re: slow slower slowest scroll on Android Wow, what a difference does it make. I saw that the setting was container again so i let it that way. Turned off the nice border glow around the grid, turned border off and set it to zero (the latter won't make difference i guess.) This is how it should be. Thanks for pointing me to it Monte/Brian. So in standalone i only now had the ARM64 selected and then build it in dev/test mode. (What will it push to the phone if all 4 options are selected? does it check what is connected?) This looks very good. Now i want to test further with the grid containing images and text fields, see how that performs. Regards, Jerry Op 29-5-2019 om 21:24 schreef JJS via use-livecode: > Thanks Brian, > > i will do some tests and report back. > > Regards, > > Jerry > > Op 29-5-2019 om 18:08 schreef Brian Milby via use-livecode: >> DP2 will fix the missing option in the PI to set container mode, but >> it can be done from the message box now. >> >> If you need a static border or shadow behind the DG, then use a >> separate object for the effect behind the DG so you can get the >> performance boost from accelerated rendering. >> >> Thanks, >> Brian >> On May 29, 2019, 2:28 AM -0700, Sphere via use-livecode >> , wrote: >>> Strange is, when i opened the stack in 950dp1 and looked at the setting >>> to set static, dynamic, scrolling. Container was selected, but when you >>> click on it you can only choose from the 3 previous mentioned and not >>> container anymore. >>> Unadorned (had to translate it first...) so no nice edge around it. >>> Ok will test tonight. >>> >>> Thanks! >>> >>> Monte Goulding via use-livecode schreef op 2019-05-28 23:23: >>>>> On 29 May 2019, at 5:49 am, JJS via use-livecode >>>>> wrote: >>>>> >>>>> The DG2's where in container mode, now i've set them in scroller. >>>>> >>>> You should not fiddle with the layerMode of the datagrid. The scripts >>>> already set the correct groups to container and scrolling. The actual >>>> scrolling layerMode group in the datagroup is about 3 levels in with >>>> its parents being container. As mentioned on other posts you need to >>>> ensure the datagrid is unadorned (no border etc). Also if you have it >>>> placed inside a group then that group must also be set to container >>>> layerMode and be unadorned. >>>> >>>> Cheers >>>> >>>> Monte >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 Wed May 29 18:29:58 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 29 May 2019 17:29:58 -0500 Subject: Setting mobile scroller hScroll fails In-Reply-To: References: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> Message-ID: I think it is going to take some math but the scroller should be set for the area within the card rect since the areas left/right are not going to be responsive to the scroller. Thanks, Brian On May 29, 2019, 2:01 PM -0500, J. Landman Gay via use-livecode , wrote: > Thanks Monte, I did over-summarize. I'm not sure why it's going wrong, > but it sounds like it's something I'm doing. I have a standard > "createScroller" handler that I've been using for years, but I've never > had to set the hScroll before. It's always been zero. > > In this case, I set the hScroll of the group to the formattedWidth of > the group, which may be wrong. The engine seems to compensate though and > sets the scroll as far as it should go. Then I call "createScroller" and > pass the name of the group. The handler: > > command createScroller pName > -- pName = the long ID of a grp > put the rect of control pName into tRect > put the hScrollBar of control pName into tHScroller > put the vScrollBar of control pName into tVScroller > put the hScroll of control pName into tHScroll > put the vScroll of control pName into tVScroll > set the hScrollBar of control pName to false -- remove fld scrollbars > on mobile > set the vScrollBar of control pName to false > mobileControlCreate "scroller", pName > mobileControlSet pName, "rect", tRect > put ("0,0," & (the formattedwidth of control pName) & "," & the > formattedheight of control pName) into tContentRect > mobileControlSet pName, "contentRect", tContentRect > mobileControlSet pName, "hScroll", 0 > mobileControlSet pName, "vScroll", 0 > mobileControlSet pName, "hIndicator", tHScroller > mobileControlSet pName, "vIndicator", tVScroller > mobileControlSet pName, "hScroll", tHScroll > mobileControlSet pName, "vScroll", tVScroll > mobileControlSet pName, "visible", true > end createScroller > > I initialize both the group and the scroller to 0 before doing anything > else, because when I wrote it I couldn't get them to align correctly > otherwise. I should also probably mention that I'm using fullscreenMode > "showAll" and the group is expanded beyond the borders of the card to > fill the screen; i.e., it probably has a negative left margin and a > wider right margin. When the scroller finally does scroll (after > resetting itself) it scrolls too far at the left side by the number of > pixels between the screen left and the card left, and cuts off the same > amount on the right side. > > Can you see what I should change? > > > On 5/28/19 6:33 PM, Monte Goulding via use-livecode wrote: > > Hi Jacque > > > > I?m thinking you are over summarising what you are doing here. For example, I expect you mean to set the hScroll of the group to the formattedWidth - the width of the group. Are you setting the contentRect appropriately before setting the hScroll of the scroller? > > > > Cheers > > > > Monte > > > > > On 27 May 2019, at 8:03 am, J. Landman Gay via use-livecode wrote: > > > > > > I want to verify this is a bug and not just me. > > > > > > I'm creating a mobile scroller over a group. I want the group to initially display with its hScroll all the way to the right. I'm doing this: > > > > > > zoom the group out to fill the screen > > > create a mobile scroller with the same rect > > > set the hScroll of the group to its formattedWidth > > > set the hScroll of the scroller to the scroll of the group > > > > > > If I insert an answer command to show the scroller's hScroll it reports the correct number. But the scroller always acts like its scroll is 0, and it won't scroll to the left at all. But scrolling it to the right zaps both it and the group to zero and after that it scrolls normally. > > > > > > I've also tried not setting the group's scroll and just setting the scroller alone, thinking it might trigger the scrollerDidScroll handler, but it doesn't. > > > > > > If I don't set any hScroll at all on either the group or the scroller, all is well. > > > > > > Has anyone else seen this? > > > > > > -- > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > > HyperActive Software | http://www.hyperactivesw.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 > > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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 tom at makeshyft.com Wed May 29 19:03:19 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 29 May 2019 19:03:19 -0400 Subject: FFI & VLC Player In-Reply-To: <59c71e1caaecc8f2b632179764a20c64@livecode.com> References: <59c71e1caaecc8f2b632179764a20c64@livecode.com> Message-ID: Hi Mark, Thanks for the heads up.... I have the document package sitting on the shelf next to me. I'm looking into OpenH264 and its implementations with media players. I kind of assumed that VLC already includes it or that someone is at least made builds that include it. I haven't gone too far down the road yet, but I'm really not enjoying a standard codec being proprietary, so I want to use and support open source efforts. I am willing to go down the licensing route if its the only way. Its not that expensive and a small % of the license fee I charge. Thanks On Wed, May 29, 2019 at 3:11 PM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2019-05-29 20:45, Tom Glod via use-livecode wrote: > >> VLC has a C-based API. FFI supports, among others, C-based APIs. > >> > >> I'd say that should be a "yes". > > Although a slight word of warning - the reason why there are 'codec > limitations' in the CEF we ship is entirely down to patent encumbrance > on things like MP4. > > Just because you *could* use VLC for such codecs, it doesn't mean you > have, or your users have, the right to do so. > > In particular, if your app is intended as GPL and you are intending to > (essentially) distribute VLC with it (so that your app functios - thus > making it a combined work) then you are on very thin ice in this regard > and the combination is best avoided. > > On the other hand, if your app is commercial then you are fine as long > as > you do your homework on any necessary patent licensing - for example, if > you are intending to provide access to the MP4 codecs in VLC then you > must > get the appropriate licensing from the MPEG4LA patent pool (there are no > licensing fees for software uses up to 100,000 users IIRC). > > 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 monte at appisle.net Wed May 29 19:22:40 2019 From: monte at appisle.net (Monte Goulding) Date: Thu, 30 May 2019 09:22:40 +1000 Subject: Setting mobile scroller hScroll fails In-Reply-To: References: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> Message-ID: <2A593101-E703-4C21-8C61-92141D44DB33@appisle.net> > On 30 May 2019, at 5:01 am, J. Landman Gay via use-livecode wrote: > > Thanks Monte, I did over-summarize. I'm not sure why it's going wrong, but it sounds like it's something I'm doing. I have a standard "createScroller" handler that I've been using for years, but I've never had to set the hScroll before. It's always been zero. > > In this case, I set the hScroll of the group to the formattedWidth of the group, which may be wrong. The max scroll will be the formattedWidth of the group - the width of the group unless you have unboundedHScroll true. I _think_ if it?s false then the engine will automagically clamp that though. > The engine seems to compensate though and sets the scroll as far as it should go. Then I call "createScroller" and pass the name of the group. The handler: > > command createScroller pName > -- pName = the long ID of a grp > put the rect of control pName into tRect > put the hScrollBar of control pName into tHScroller > put the vScrollBar of control pName into tVScroller > put the hScroll of control pName into tHScroll > put the vScroll of control pName into tVScroll > set the hScrollBar of control pName to false -- remove fld scrollbars on mobile > set the vScrollBar of control pName to false > mobileControlCreate "scroller", pName > mobileControlSet pName, "rect", tRect > put ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName) into tContentRect > mobileControlSet pName, "contentRect", tContentRect > mobileControlSet pName, "hScroll", 0 > mobileControlSet pName, "vScroll", 0 > mobileControlSet pName, "hIndicator", tHScroller > mobileControlSet pName, "vIndicator", tVScroller > mobileControlSet pName, "hScroll", tHScroll > mobileControlSet pName, "vScroll", tVScroll > mobileControlSet pName, "visible", true > end createScroller > > I initialize both the group and the scroller to 0 before doing anything else, because when I wrote it I couldn't get them to align correctly otherwise. I should also probably mention that I'm using fullscreenMode "showAll" and the group is expanded beyond the borders of the card to fill the screen; i.e., it probably has a negative left margin and a wider right margin. > When the scroller finally does scroll (after resetting itself) it scrolls too far at the left side by the number of pixels between the screen left and the card left, and cuts off the same amount on the right side. > > Can you see what I should change? I?m really not sure at this stage. Have you tried logging the x,y values you get in scrollerDidScroll? This may need a simple stack to reproduce it and an email to support so we can figure out what?s up. Cheers Monte From monte at appisle.net Wed May 29 19:27:06 2019 From: monte at appisle.net (Monte Goulding) Date: Thu, 30 May 2019 09:27:06 +1000 Subject: slow slower slowest scroll on Android In-Reply-To: <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> Message-ID: <18438BE2-0ACC-49BA-99AF-ED4EAAAEE80E@appisle.net> > On 30 May 2019, at 7:10 am, JJS via use-livecode wrote: > > What will it push to the phone if all 4 options are selected? does it check what is connected? Yes the deploy library (Test button) uses an adb command to detect the target device architecture and just builds that no matter what you have selected in the standalone settings. This means you can leave armv7 and arm64 selected for release builds and the Test button will deploy x86 if you are targeting an x86 emulator. Note I just created this enhancement request to add the target architecture in parenthesis after the target name in the menu. https://quality.livecode.com/show_bug.cgi?id=22114 Cheers Monte From ahsoftware at sonic.net Wed May 29 21:54:23 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 29 May 2019 18:54:23 -0700 Subject: FFI & VLC Player In-Reply-To: References: Message-ID: <93eb875f-c18a-d954-7ac7-9faf29360a11@sonic.net> On 5/29/19 11:38 AM, Richard Gaskin via use-livecode wrote: > Tom Glod wrote: > > > Hi folks, I'm trying to wrap my mind around whether its possible to > > integrate VLC into Livecode via the FFI in Livecode Builder. > > > > I'm not so much asking how..... but whether..... I don't want to bark > > up the wrong tree because I don't yet fully understand how this > > integration works and what its limitations are. > > > > This is to get around the codec limitations of the included Browser > > CEF Builds. > > > > A Yes or a No is fine.? Anything beyond that would be a bonus. > > VLC has a C-based API.? FFI supports, among others, C-based APIs. > > I'd say that should be a "yes". > Tom- Some years ago (pre-LCB by quite a bit) I built an LC external library to wrap the VLC functions. So yes, it's possible, and would no doubt be easier in LCB. That said, just having the functions available doesn't do much for being able to use them effectively. There are a *lot* of functions you could use - if you're going to go down that rabbit hole I'd say start with the initialization routines, see if you can at least get an instance of the player, and then work out from there. -- Mark Wieder ahsoftware at gmail.com From tom at makeshyft.com Wed May 29 23:11:18 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 29 May 2019 23:11:18 -0400 Subject: FFI & VLC Player In-Reply-To: <93eb875f-c18a-d954-7ac7-9faf29360a11@sonic.net> References: <93eb875f-c18a-d954-7ac7-9faf29360a11@sonic.net> Message-ID: Yes thank you Mark, of course I would start with the most basic of outputs......I suspect the major benefit of undertaking this is to learn the FFI functionality. If you think this would be a struggle...... It may just be out of range for me personally. I keep on bumping up against this codec issue and I know my users will as well. I need to play live youtube streams. Ultimately thats my only goal here, and other video streams encoded live in h264 .. Maybe I should try my luck at a custom CEF build (???) and pay the license fees, which I don't mind doing all that much because its reasonable, esp the 100,000 freebies. This is such a pain, but I still need to find a viable solution! Thanks for taking the time to write to me. On Wed, May 29, 2019 at 9:54 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/29/19 11:38 AM, Richard Gaskin via use-livecode wrote: > > Tom Glod wrote: > > > > > Hi folks, I'm trying to wrap my mind around whether its possible to > > > integrate VLC into Livecode via the FFI in Livecode Builder. > > > > > > I'm not so much asking how..... but whether..... I don't want to bark > > > up the wrong tree because I don't yet fully understand how this > > > integration works and what its limitations are. > > > > > > This is to get around the codec limitations of the included Browser > > > CEF Builds. > > > > > > A Yes or a No is fine. Anything beyond that would be a bonus. > > > > VLC has a C-based API. FFI supports, among others, C-based APIs. > > > > I'd say that should be a "yes". > > > > Tom- > > Some years ago (pre-LCB by quite a bit) I built an LC external library > to wrap the VLC functions. So yes, it's possible, and would no doubt be > easier in LCB. That said, just having the functions available doesn't do > much for being able to use them effectively. There are a *lot* of > functions you could use - if you're going to go down that rabbit hole > I'd say start with the initialization routines, see if you can at least > get an instance of the player, and then work out from there. > > -- > 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 roland.huettmann at gmail.com Thu May 30 07:59:31 2019 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 30 May 2019 13:59:31 +0200 Subject: FFI & VLC Player Message-ID: I would be very happy if VLC could be used in LC and if we had high level access to those functions on ALL platforms. It would be a huge contribution. I would pay for it. Imagine the number of add-ons that could easily be made using LC. Roland From tom at makeshyft.com Thu May 30 11:10:25 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 May 2019 11:10:25 -0400 Subject: FFI & VLC Player In-Reply-To: References: Message-ID: Thanks Roland thats good to know, ... I have tentatively scheduled further investigation of this for July. If I decide to start I might ask the community for help and try for a team effort. While I look forward to opening up a whole new world of possibilities with FFI, I'm not looking forward to the learning curve...C++ gives me the headaches. :) On Thu, May 30, 2019 at 8:00 AM R.H. via use-livecode < use-livecode at lists.runrev.com> wrote: > I would be very happy if VLC could be used in LC and if we had high level > access to those functions on ALL platforms. It would be a huge > contribution. I would pay for it. > > Imagine the number of add-ons that could easily be made using LC. > > Roland > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu May 30 11:49:48 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 30 May 2019 11:49:48 -0400 Subject: FFI & VLC Player In-Reply-To: References: Message-ID: I am current dealing with LiveCode media headaches such as: 1) Inconsistency with media file formats supported between OSX AVF and Microsoft DirectShow 2) Very limited set of formats for DirectShow without additional 3rd party codec packs installed (we use LAV Filters) 3) Inconsistencies with the playRate property between platforms and between codecs on Windows. 4) Controller bar irregularities in rendering and function I would really like a solution that just works. To the extent we could, Researchware would help with any effort that might lead to a better solution for media playback in LiveCode. For our apps we need the following media properties to work: currentTime, startTime, endTime, playSelection, playRate (with playRates from -n.n to 0 to +n.n) for both audio and video media. Paul Dupuis Cofounder Researchware, Inc. On 5/30/2019 11:10 AM, Tom Glod via use-livecode wrote: > Thanks Roland thats good to know, ... I have tentatively scheduled further > investigation of this for July. If I decide to start I might ask the > community for help and try for a team effort. While I look forward to > opening up a whole new world of possibilities with FFI, I'm not looking > forward to the learning curve...C++ gives me the headaches. :) > > > On Thu, May 30, 2019 at 8:00 AM R.H. via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I would be very happy if VLC could be used in LC and if we had high level >> access to those functions on ALL platforms. It would be a huge >> contribution. I would pay for it. >> >> Imagine the number of add-ons that could easily be made using LC. >> >> Roland >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 May 30 13:11:25 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 30 May 2019 17:11:25 +0000 Subject: Seeking confirmation of a bug... In-Reply-To: <16b044558b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <39de8c35-c91e-c4d3-c2c8-56a782f3ad99@pair.com> <2be9f1f0-ba0c-0b12-55e3-d0ae11a1ceba@gmail.com> <16b044558b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: :-) > On May 29, 2019, at 08:46 , J. Landman Gay via use-livecode wrote: > > Read the release notes. You'll get a much better view of the number of bug fixes in each version. The last one had 2 pages of fixes. > > The team can both walk and chew gum, they're talented that way. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com From tom at makeshyft.com Thu May 30 13:19:04 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 May 2019 13:19:04 -0400 Subject: FFI & VLC Player In-Reply-To: References: Message-ID: Ok Paul...thank you dooley noted. On Thu, May 30, 2019 at 11:50 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I am current dealing with LiveCode media headaches such as: > > 1) Inconsistency with media file formats supported between OSX AVF and > Microsoft DirectShow > 2) Very limited set of formats for DirectShow without additional 3rd > party codec packs installed (we use LAV Filters) > 3) Inconsistencies with the playRate property between platforms and > between codecs on Windows. > 4) Controller bar irregularities in rendering and function > > I would really like a solution that just works. To the extent we could, > Researchware would help with any effort that might lead to a better > solution for media playback in LiveCode. > > For our apps we need the following media properties to work: > currentTime, startTime, endTime, playSelection, playRate (with playRates > from -n.n to 0 to +n.n) for both audio and video media. > > Paul Dupuis > Cofounder > Researchware, Inc. > > On 5/30/2019 11:10 AM, Tom Glod via use-livecode wrote: > > Thanks Roland thats good to know, ... I have tentatively scheduled > further > > investigation of this for July. If I decide to start I might ask the > > community for help and try for a team effort. While I look forward to > > opening up a whole new world of possibilities with FFI, I'm not looking > > forward to the learning curve...C++ gives me the headaches. :) > > > > > > On Thu, May 30, 2019 at 8:00 AM R.H. via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> I would be very happy if VLC could be used in LC and if we had high > level > >> access to those functions on ALL platforms. It would be a huge > >> contribution. I would pay for it. > >> > >> Imagine the number of add-ons that could easily be made using LC. > >> > >> Roland > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 jjs at krutt.org Thu May 30 13:54:49 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Thu, 30 May 2019 17:54:49 +0000 Subject: slow slower slowest scroll on Android In-Reply-To: <18438BE2-0ACC-49BA-99AF-ED4EAAAEE80E@appisle.net> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> <18438BE2-0ACC-49BA-99AF-ED4EAAAEE80E@appisle.net> Message-ID: <4c0ff0bc3b25b5d4d9079797b1870313@krutt.org> Thank you Ralph and Monte, i've read some things about multiple APK's on Google dev. "Lucky" we don't need to use the Google signing, it's optional. We can just use the Java keystore. There is also mentioned what you say Ralph in respect of the different cpu and other possible dependencies. Perhaps for the older ARMv6 devices we may need 5 versions, but like you said Google play will push the best APK option for the device. And yes every APK needs to have a different/higher Version Code. And keep in check which Version Code you used for which type of APK. Also when Google signing is used there is an option to have dependencies build, but probably that is only useful for users of Android Studio.So then only the parts being needed are installed, as far as i understood it. Thanks Monte for confirming it, that it will push the build upon the target architecture. Is it possible as feature, that there can be a checkbox added, so you can choose to have separate builds instead of one multiple build when more then 1 build is chosen? Indeed that would be a nice addition you proposed. Regards, Jerry Monte Goulding via use-livecode schreef op 2019-05-29 23:27: >> On 30 May 2019, at 7:10 am, JJS via use-livecode >> wrote: >> >> What will it push to the phone if all 4 options are selected? does it >> check what is connected? > > Yes the deploy library (Test button) uses an adb command to detect the > target device architecture and just builds that no matter what you > have selected in the standalone settings. This means you can leave > armv7 and arm64 selected for release builds and the Test button will > deploy x86 if you are targeting an x86 emulator. > > Note I just created this enhancement request to add the target > architecture in parenthesis after the target name in the menu. > https://quality.livecode.com/show_bug.cgi?id=22114 > > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu May 30 14:09:13 2019 From: mark at livecode.com (Mark Waddingham) Date: Thu, 30 May 2019 20:09:13 +0200 Subject: slow slower slowest scroll on Android In-Reply-To: <4c0ff0bc3b25b5d4d9079797b1870313@krutt.org> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> <18438BE2-0ACC-49BA-99AF-ED4EAAAEE80E@appisle.net> <4c0ff0bc3b25b5d4d9079797b1870313@krutt.org> Message-ID: On 2019-05-30 19:54, Sphere via use-livecode wrote: > Perhaps for the older ARMv6 devices we may need 5 versions, but like > you said Google play will push the best APK option for the device. And > yes every APK needs to have a different/higher Version Code. And keep > in check which Version Code you used for which type of APK. LiveCode only supports Android 4.x and above, and all devices which run 4.x have at the very least an ARMv7 processor - so there isn't any need for a ARMv6 device build anymore (hence why it has been removed in 9.5). > Is it possible as feature, that there can be a checkbox added, so you > can choose to have separate builds instead of one multiple build when > more then 1 build is chosen? That would be quite a useful thing to have - perhaps a check-box which 'builds separate APKs' on the standalone settings pane. It could also do something to derive a new versionCode (they all have to be different). e.g. APK-versionCode = S/B-specified-versionCode * 10 + arch-index arch-index = 0 (ARMv7), 1 (ARM64), 2 (x86), 3 (x86-64) That would save having to specify (by hand) several different versionCodes for each build. Could you file an enhancement request for such an option, and we can see what we can do. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Thu May 30 14:13:41 2019 From: mark at livecode.com (Mark Waddingham) Date: Thu, 30 May 2019 20:13:41 +0200 Subject: slow slower slowest scroll on Android In-Reply-To: <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> Message-ID: <5cf07c43ef4b356cdaf97115d16ed5d8@livecode.com> On 2019-05-29 23:10, JJS via use-livecode wrote: > Wow, what a difference does it make. *Phew* > Turned off the nice border glow around the grid, turned border off and > set it to zero (the latter won't make difference i guess.) You could experiment by fiddling with the properties of control "dgBackground" of your DataGrid group. From memory, I believe that is a graphic, which sits behind everything else (within the Datagrid). At the very least, you should be able to get the border back, if not the glow (as it would be clipped away by the datagrid's top-level group). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Thu May 30 14:20:06 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 May 2019 13:20:06 -0500 Subject: Setting mobile scroller hScroll fails In-Reply-To: References: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> Message-ID: Whenever someone says "math" my eyes kind of glaze over and my brain shuts off. I'm using your sample script to resize the group so it expands to the screen edges, which works great. I'm not sure how to change the scroller so it works with that setup, but I did wonder if scrollers were limited to the card size and that might be why it wasn't working. I think I'll write it up as Monte suggested, though I'm not sure whether to call it a bug, a feature request, or just impossible. On 5/29/19 5:29 PM, Brian Milby via use-livecode wrote: > I think it is going to take some math but the scroller should be set for the area within the card rect since the areas left/right are not going to be responsive to the scroller. > > Thanks, > Brian > On May 29, 2019, 2:01 PM -0500, J. Landman Gay via use-livecode , wrote: >> Thanks Monte, I did over-summarize. I'm not sure why it's going wrong, >> but it sounds like it's something I'm doing. I have a standard >> "createScroller" handler that I've been using for years, but I've never >> had to set the hScroll before. It's always been zero. >> >> In this case, I set the hScroll of the group to the formattedWidth of >> the group, which may be wrong. The engine seems to compensate though and >> sets the scroll as far as it should go. Then I call "createScroller" and >> pass the name of the group. The handler: >> >> command createScroller pName >> -- pName = the long ID of a grp >> put the rect of control pName into tRect >> put the hScrollBar of control pName into tHScroller >> put the vScrollBar of control pName into tVScroller >> put the hScroll of control pName into tHScroll >> put the vScroll of control pName into tVScroll >> set the hScrollBar of control pName to false -- remove fld scrollbars >> on mobile >> set the vScrollBar of control pName to false >> mobileControlCreate "scroller", pName >> mobileControlSet pName, "rect", tRect >> put ("0,0," & (the formattedwidth of control pName) & "," & the >> formattedheight of control pName) into tContentRect >> mobileControlSet pName, "contentRect", tContentRect >> mobileControlSet pName, "hScroll", 0 >> mobileControlSet pName, "vScroll", 0 >> mobileControlSet pName, "hIndicator", tHScroller >> mobileControlSet pName, "vIndicator", tVScroller >> mobileControlSet pName, "hScroll", tHScroll >> mobileControlSet pName, "vScroll", tVScroll >> mobileControlSet pName, "visible", true >> end createScroller >> >> I initialize both the group and the scroller to 0 before doing anything >> else, because when I wrote it I couldn't get them to align correctly >> otherwise. I should also probably mention that I'm using fullscreenMode >> "showAll" and the group is expanded beyond the borders of the card to >> fill the screen; i.e., it probably has a negative left margin and a >> wider right margin. When the scroller finally does scroll (after >> resetting itself) it scrolls too far at the left side by the number of >> pixels between the screen left and the card left, and cuts off the same >> amount on the right side. >> >> Can you see what I should change? >> >> >> On 5/28/19 6:33 PM, Monte Goulding via use-livecode wrote: >>> Hi Jacque >>> >>> I?m thinking you are over summarising what you are doing here. For example, I expect you mean to set the hScroll of the group to the formattedWidth - the width of the group. Are you setting the contentRect appropriately before setting the hScroll of the scroller? >>> >>> Cheers >>> >>> Monte >>> >>>> On 27 May 2019, at 8:03 am, J. Landman Gay via use-livecode wrote: >>>> >>>> I want to verify this is a bug and not just me. >>>> >>>> I'm creating a mobile scroller over a group. I want the group to initially display with its hScroll all the way to the right. I'm doing this: >>>> >>>> zoom the group out to fill the screen >>>> create a mobile scroller with the same rect >>>> set the hScroll of the group to its formattedWidth >>>> set the hScroll of the scroller to the scroll of the group >>>> >>>> If I insert an answer command to show the scroller's hScroll it reports the correct number. But the scroller always acts like its scroll is 0, and it won't scroll to the left at all. But scrolling it to the right zaps both it and the group to zero and after that it scrolls normally. >>>> >>>> I've also tried not setting the group's scroll and just setting the scroller alone, thinking it might trigger the scrollerDidScroll handler, but it doesn't. >>>> >>>> If I don't set any hScroll at all on either the group or the scroller, all is well. >>>> >>>> Has anyone else seen this? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.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 >>> >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 30 14:23:27 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 May 2019 13:23:27 -0500 Subject: Setting mobile scroller hScroll fails In-Reply-To: <2A593101-E703-4C21-8C61-92141D44DB33@appisle.net> References: <22cd857e-6ec3-f1e9-b52a-3424afe460c0@hyperactivesw.com> <2A593101-E703-4C21-8C61-92141D44DB33@appisle.net> Message-ID: On 5/29/19 6:22 PM, Monte Goulding via use-livecode wrote: > The max scroll will be the formattedWidth of the group - the width of the group unless you have unboundedHScroll true. I_think_ if it?s false then the engine will automagically clamp that though. I tried that but it didn't scroll to the far edge, so I set it back to using the formattedwidth of the group as the hscroll. I'll try to set up a sample stack later and put it in the bug database. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jjs at krutt.org Thu May 30 15:09:35 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Thu, 30 May 2019 19:09:35 +0000 Subject: slow slower slowest scroll on Android In-Reply-To: References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> <18438BE2-0ACC-49BA-99AF-ED4EAAAEE80E@appisle.net> <4c0ff0bc3b25b5d4d9079797b1870313@krutt.org> Message-ID: <25c483f0636e558d2454a3d23b2deb57@krutt.org> Thank you Mark , that makes it clear. Guess i did investigate good enough on the ARM versions. The arch index is a good idea, somtehing similair is also what i saw inthe Google explanation on multiple APK's to have a version nr where the position of the nr identifies what version and for what architecture it is, like also commonly is used with serial nr's from tv's for example. I will create a feature request. Thanks very much. Best regards, Jerry Mark Waddingham via use-livecode schreef op 2019-05-30 18:09: > On 2019-05-30 19:54, Sphere via use-livecode wrote: >> Perhaps for the older ARMv6 devices we may need 5 versions, but like >> you said Google play will push the best APK option for the device. And >> yes every APK needs to have a different/higher Version Code. And keep >> in check which Version Code you used for which type of APK. > > LiveCode only supports Android 4.x and above, and all devices which run > 4.x have at the very least an ARMv7 processor - so there isn't any need > for a ARMv6 device build anymore (hence why it has been removed in > 9.5). > >> Is it possible as feature, that there can be a checkbox added, so you >> can choose to have separate builds instead of one multiple build when >> more then 1 build is chosen? > > That would be quite a useful thing to have - perhaps a check-box which > 'builds separate APKs' on the standalone settings pane. It could also > do something to derive a new versionCode (they all have to be > different). > e.g. > > APK-versionCode = S/B-specified-versionCode * 10 + arch-index > > arch-index = 0 (ARMv7), 1 (ARM64), 2 (x86), 3 (x86-64) > > That would save having to specify (by hand) several different > versionCodes > for each build. > > Could you file an enhancement request for such an option, and we can > see what > we can do. > > Warmest Regards, > > Mark. From jjs at krutt.org Thu May 30 15:12:04 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Thu, 30 May 2019 19:12:04 +0000 Subject: slow slower slowest scroll on Android In-Reply-To: <5cf07c43ef4b356cdaf97115d16ed5d8@livecode.com> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> <5cf07c43ef4b356cdaf97115d16ed5d8@livecode.com> Message-ID: <695e60af3f51863f53c73b54313493b1@krutt.org> Thanks, i will go fiddling around to see if it works and else no glow :) Regards, Jerry Mark Waddingham via use-livecode schreef op 2019-05-30 18:13: > On 2019-05-29 23:10, JJS via use-livecode wrote: >> Wow, what a difference does it make. > > *Phew* > >> Turned off the nice border glow around the grid, turned border off and >> set it to zero (the latter won't make difference i guess.) > > You could experiment by fiddling with the properties of control > "dgBackground" of your > DataGrid group. From memory, I believe that is a graphic, which sits > behind everything > else (within the Datagrid). At the very least, you should be able to > get the border > back, if not the glow (as it would be clipped away by the datagrid's > top-level group). > > Warmest Regards, > > Mark. From jjs at krutt.org Thu May 30 15:24:58 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Thu, 30 May 2019 19:24:58 +0000 Subject: slow slower slowest scroll on Android In-Reply-To: <25c483f0636e558d2454a3d23b2deb57@krutt.org> References: <92515dbc-5a66-9f12-79b0-52313ea2b725@krutt.org> <16aff4c5228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5af68ffa-1bb3-d362-17db-73a0ae5fe06c@krutt.org> <9A274825-E65B-47DA-8611-2B75569F0FAE@appisle.net> <1b223ae3-6c72-4672-b2b2-31bc040dcf12@Spark> <1ec54d85-9129-40cd-4d7f-6c78a77af0b1@krutt.org> <18438BE2-0ACC-49BA-99AF-ED4EAAAEE80E@appisle.net> <4c0ff0bc3b25b5d4d9079797b1870313@krutt.org> <25c483f0636e558d2454a3d23b2deb57@krutt.org> Message-ID: <7745aab36208dd9b458c45305d7a3d88@krutt.org> This line: "Guess i did investigate good enough on the ARM versions." should be: "Guess i did NOT investigate good enough on the ARM versions." forgot the NOT request made: https://quality.livecode.com/show_bug.cgi?id=22118 Sphere via use-livecode schreef op 2019-05-30 19:09: > Thank you Mark , that makes it clear. > > Guess i did investigate good enough on the ARM versions. > > > The arch index is a good idea, somtehing similair is also what i saw > inthe Google explanation on multiple APK's to have a version nr where > the position of the nr identifies what version and for what > architecture it is, like also commonly is used with serial nr's from > tv's for example. > > I will create a feature request. > > Thanks very much. > > Best regards, > > Jerry > > Mark Waddingham via use-livecode schreef op 2019-05-30 18:09: >> On 2019-05-30 19:54, Sphere via use-livecode wrote: >>> Perhaps for the older ARMv6 devices we may need 5 versions, but like >>> you said Google play will push the best APK option for the device. >>> And >>> yes every APK needs to have a different/higher Version Code. And keep >>> in check which Version Code you used for which type of APK. >> >> LiveCode only supports Android 4.x and above, and all devices which >> run >> 4.x have at the very least an ARMv7 processor - so there isn't any >> need >> for a ARMv6 device build anymore (hence why it has been removed in >> 9.5). >> >>> Is it possible as feature, that there can be a checkbox added, so you >>> can choose to have separate builds instead of one multiple build when >>> more then 1 build is chosen? >> >> That would be quite a useful thing to have - perhaps a check-box which >> 'builds separate APKs' on the standalone settings pane. It could also >> do something to derive a new versionCode (they all have to be >> different). >> e.g. >> >> APK-versionCode = S/B-specified-versionCode * 10 + arch-index >> >> arch-index = 0 (ARMv7), 1 (ARM64), 2 (x86), 3 (x86-64) >> >> That would save having to specify (by hand) several different >> versionCodes >> for each build. >> >> Could you file an enhancement request for such an option, and we can >> see what >> we can do. >> >> Warmest Regards, >> >> Mark. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu May 30 22:17:23 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 31 May 2019 02:17:23 +0000 Subject: Ken Burns Effects - acceleratedRendering In-Reply-To: <6D93D155-57DC-40AC-8BD5-C0DA48BF98AC@appisle.net> References: <4BA29C8F-F958-4051-8ECC-05696832C637@hindu.org> <6D93D155-57DC-40AC-8BD5-C0DA48BF98AC@appisle.net> Message-ID: <1F013A23-6C2B-4D7F-B576-041603B1FF89@hindu.org> Monte Goulding wrote: At some point in the future we may support applying transformations to dynamic layerMode objects (changing size and perhaps location) which would mean Ken Burn effect would be done by the GPU. I suspect that?s a fair way off and would definitely involve some serious Mark time ;-) BR: that answers the question. So I'll need to learn on new language (html5) and run it in a browser. :-( From ludovic.thebault at laposte.net Fri May 31 08:24:32 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 31 May 2019 14:24:32 +0200 Subject: Notarize your app Message-ID: Hello, I think that could help ! https://latenightsw.com/sd-notary-notarizing-made-easy/ From matthias_livecode_150811 at m-r-d.de Fri May 31 10:03:49 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 31 May 2019 16:03:49 +0200 Subject: Notarize your app In-Reply-To: References: Message-ID: <594FCEDF-4698-47E3-B0EE-4F48C2864F0A@m-r-d.de> Dear Ludovic, thanks for that link. Were you successful in notarizing an app? Tried now 3 times all wihtout success 1. the log windows showed up red text telling something about the lproj folders in /contents/Resources. I used Appwrapper to sign my app and to remove all .lproj foldes except the english one. 2. i then got an error because i had to sign a new updated contract in iTunes connect. Okay, this was overdue a bit, but i do not visit iTunes Connect very often. 3. i was able to upload the file successfully, but it took about 20 minutes for an 8.8MB zip file! After upload and verifying process from apple the log window again showed some red text telling me that the ticket was downloaded successfully, but the staple and validate action failed with error 68. Although the process failed, i?ve received an email from Apple telling that my app was notarized. So it seems on Apple side everything was okay, but the tool was not able to staple and validate the app. Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 31.05.2019 um 14:24 schrieb Ludovic THEBAULT via use-livecode >: > > Hello, > > I think that could help ! > https://latenightsw.com/sd-notary-notarizing-made-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 Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From bobsneidar at iotecdigital.com Fri May 31 10:48:16 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 May 2019 14:48:16 +0000 Subject: FFI & VLC Player In-Reply-To: References: Message-ID: <801DFD40-2A44-470A-9E2B-6464F5B886CC@iotecdigital.com> Not to be one of those spell check nanny, but I think it's, "duly". Bob S > On May 30, 2019, at 10:19 , Tom Glod via use-livecode wrote: > > Ok Paul...thank you dooley noted. From gbojsza at gmail.com Fri May 31 10:54:41 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 31 May 2019 10:54:41 -0400 Subject: How to install a dependency Message-ID: Hello, I am trying to get a widget working but when I run try to install it I get the error message "Dependency com.livecode.system not available. Please install before proceeding". The lcb calls for "use com.livecode.library.scriptitems" in the dependency declarations. I am not certain how to do this... regards, Glen From klaus at major-k.de Fri May 31 10:55:42 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 31 May 2019 16:55:42 +0200 Subject: FFI & VLC Player In-Reply-To: <801DFD40-2A44-470A-9E2B-6464F5B886CC@iotecdigital.com> References: <801DFD40-2A44-470A-9E2B-6464F5B886CC@iotecdigital.com> Message-ID: <8B8E75F2-9870-4E6E-862B-5FEE1B72A868@major-k.de> > Am 31.05.2019 um 16:48 schrieb Bob Sneidar via use-livecode : > > Not to be one of those spell check nanny, but I think it's, "duly". > > Bob S you mean "...one of those spell check nannies" (plural), right? :-D >> On May 30, 2019, at 10:19 , Tom Glod via use-livecode wrote: >> >> Ok Paul...thank you dooley noted. > -- Klaus Major http://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Fri May 31 10:57:33 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 May 2019 14:57:33 +0000 Subject: FFI & VLC Player In-Reply-To: <8B8E75F2-9870-4E6E-862B-5FEE1B72A868@major-k.de> References: <801DFD40-2A44-470A-9E2B-6464F5B886CC@iotecdigital.com> <8B8E75F2-9870-4E6E-862B-5FEE1B72A868@major-k.de> Message-ID: <4E78E0C9-F7AD-4369-B558-A9452A4A4958@iotecdigital.com> I caught that right after I sent it. I was going to say, "a spell check nanny". :-) > On May 31, 2019, at 07:55 , Klaus major-k via use-livecode wrote: > >> Am 31.05.2019 um 16:48 schrieb Bob Sneidar via use-livecode : >> >> Not to be one of those spell check nanny, but I think it's, "duly". >> >> Bob S > > you mean "...one of those spell check nannies" (plural), right? :-D From bobsneidar at iotecdigital.com Fri May 31 10:58:06 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 May 2019 14:58:06 +0000 Subject: A problem with RunRev email account "sage.on-rev.com" In-Reply-To: <88660A6B-B35C-4B02-BDBC-87A359288BBE@m-r-d.de> References: <35C33644-07F5-48DF-9AC4-3809F326C54D@sbcglobal.net> <88660A6B-B35C-4B02-BDBC-87A359288BBE@m-r-d.de> Message-ID: <3676A8E2-9065-414C-913D-314D55005C85@iotecdigital.com> They may remove the blacklist entries, but unless the original issue that caused the blacklist entries to occur in the first place are dealt with, it will recur. Things that can get you blacklisted: Sending spam to many cc'd addresses spoofing a header a number of people reporting a sender as a spammer various key words or phrases in emails illegal use of peer to peer file sharing apps (distributing commercial films or music for example) Bob S > On May 26, 2019, at 13:26 , Matthias Rebbe via use-livecode wrote: > > Currently there is nothing you can do, if the ip addresses are blocked. Robin could use the Microsoft Blacklisting Form at > https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3 > to ask for removal of the ips. From brian at milby7.com Fri May 31 10:56:44 2019 From: brian at milby7.com (Brian Milby) Date: Fri, 31 May 2019 10:56:44 -0400 Subject: How to install a dependency In-Reply-To: References: Message-ID: That is an issue with 9.5DP1 that will be fixed in the next DP. ?It is a simple fix, but I?d have to look in GitHub to find where. ?Panos fixed it at the conference. Thanks, Brian On May 31, 2019, 10:55 AM -0400, Glen Bojsza via use-livecode , wrote: > Hello, > > I am trying to get a widget working but when I run try to install it I get > the error message "Dependency com.livecode.system not available. Please > install before proceeding". > > The lcb calls for "use com.livecode.library.scriptitems" in the dependency > declarations. > > I am not certain how to do this... > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri May 31 10:59:20 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 31 May 2019 16:59:20 +0200 Subject: FFI & VLC Player In-Reply-To: <4E78E0C9-F7AD-4369-B558-A9452A4A4958@iotecdigital.com> References: <801DFD40-2A44-470A-9E2B-6464F5B886CC@iotecdigital.com> <8B8E75F2-9870-4E6E-862B-5FEE1B72A868@major-k.de> <4E78E0C9-F7AD-4369-B558-A9452A4A4958@iotecdigital.com> Message-ID: <75B7DE63-291F-483F-8C97-23493932BFFE@major-k.de> > Am 31.05.2019 um 16:57 schrieb Bob Sneidar via use-livecode : > > I caught that right after I sent it. I was going to say, "a spell check nanny". :-) nice try! ;-) >> On May 31, 2019, at 07:55 , Klaus major-k via use-livecode wrote: >> >>> Am 31.05.2019 um 16:48 schrieb Bob Sneidar via use-livecode : >>> >>> Not to be one of those spell check nanny, but I think it's, "duly". >>> >>> Bob S >> >> you mean "...one of those spell check nannies" (plural), right? :-D -- Klaus Major http://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Fri May 31 11:01:11 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 May 2019 15:01:11 +0000 Subject: How to hide LC menubar without losing the icon on the windows taskbar? In-Reply-To: <119c3a28-f89d-6825-7640-431e961bba4f@andregarzia.com> References: <119c3a28-f89d-6825-7640-431e961bba4f@andregarzia.com> Message-ID: <2EE9F3CE-FA95-48EB-B609-6006E910B504@iotecdigital.com> By apps, do you mean LC projects, or apps running under the OS? Devolution has the Projects tab. Also alt-shift will cycle between open windows in all open apps. Finally, hovering over the LC App in the task bar will display mini previews of open windows for that app (Win only). Bob S > On May 27, 2019, at 13:36 , Andre Garzia via use-livecode wrote: > > I enjoy using Devolution and since my machine has 10'' I'd like to hide the menubar to free up some real estate but if I use the feature from Devolution to hide the LC menubar I end up losing the application icon on Windows 10 task bar which makes it really hard to switch between apps on the machine. > > So my question to you all is: "how to we enable a plugin to take over the IDE and keep the application icon there?" From dochawk at gmail.com Fri May 31 11:39:56 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 31 May 2019 08:39:56 -0700 Subject: critical: new pdf widget causes stack to crash when opening Message-ID: <335A8F56-0D8D-4FB2-B04D-7C299B2E1727@gmail.com> I put in the last pdf widget on a card to produce a 6 page form out of smaller pieces. With the last one, the ide crashed. Not only did it crash, but loading that card causes it to crash again. I?ve also tried opening with 9.0.3-rc1, and it also crashes trying to open the card. workaround: I was able to rescue by opening a new stack and writing a button script to copy every group on the offending card *other than* the offending one. Poor Panos and all my new bug reports :) (although Monte beat him to fixing any : ) ) ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From ahsoftware at sonic.net Fri May 31 12:32:42 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 31 May 2019 09:32:42 -0700 Subject: How to install a dependency In-Reply-To: References: Message-ID: On 5/31/19 7:56 AM, Brian Milby via use-livecode wrote: > That is an issue with 9.5DP1 that will be fixed in the next DP. ?It is a simple fix, but I?d have to look in GitHub to find where. ?Panos fixed it at the conference. Panos has been doing some awesome work lately. -- Mark Wieder ahsoftware at gmail.com From merakosp at gmail.com Fri May 31 12:38:52 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 31 May 2019 19:38:52 +0300 Subject: critical: new pdf widget causes stack to crash when opening In-Reply-To: <335A8F56-0D8D-4FB2-B04D-7C299B2E1727@gmail.com> References: <335A8F56-0D8D-4FB2-B04D-7C299B2E1727@gmail.com> Message-ID: Hello Richard, What happens if you first lock messages and then open the stack that crashes? Kind regards Panos -- On Fri, May 31, 2019, 18:40 Dr. Hawkins via use-livecode < use-livecode at lists.runrev.com> wrote: > I put in the last pdf widget on a card to produce a 6 page form out of > smaller pieces. > > With the last one, the ide crashed. > > Not only did it crash, but loading that card causes it to crash again. > > I?ve also tried opening with 9.0.3-rc1, and it also crashes trying to open > the card. > > workaround: I was able to rescue by opening a new stack and writing a > button script to copy every group on the offending card *other than* the > offending one. > > Poor Panos and all my new bug reports :) (although Monte beat him to > fixing any : ) ) > ? > 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 dochawk at gmail.com Fri May 31 12:52:48 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 31 May 2019 09:52:48 -0700 Subject: critical: new pdf widget causes stack to crash when opening In-Reply-To: References: <335A8F56-0D8D-4FB2-B04D-7C299B2E1727@gmail.com> Message-ID: <11915032-DBCE-47FB-8A31-37C365A2837F@gmail.com> On May 31, 2019, at 9:38 AM, panagiotis merakos wrote: > > Hello Richard, > > What happens if you first lock messages and then open the stack that crashes? I tried that, a and got the same result. I suspect that it has to do with attempting to render it, but . . . I also later saw a crash dragging that same pdf to a new widget in a fresh stack, but couldn?t replicate that. It?s bug 22128 I can send the stack privately (it may have stray information in it). ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From ambassador at fourthworld.com Fri May 31 13:08:24 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 May 2019 10:08:24 -0700 Subject: A problem with RunRev email account "sage.on-rev.com" In-Reply-To: <3676A8E2-9065-414C-913D-314D55005C85@iotecdigital.com> References: <3676A8E2-9065-414C-913D-314D55005C85@iotecdigital.com> Message-ID: Blacklisting would not be inappropriate if we lived in a world where every domain had a unique IP. But that's not the world we live in. Hundreds of millions of domains are hosted on shared servers, and most do not have a unique IP. So it doesn't matter whether or not you personally engage in any of those nefarious activities. Under the collective punishment regime of digital vigilantes, accounts you have no control over will be used against you. -- Richard Gaskin Fourth World Systems Bob Sneidar wrote: > They may remove the blacklist entries, but unless the original issue that caused the blacklist entries to occur in the first place are dealt with, it will recur. Things that can get you blacklisted: > > Sending spam to many cc'd addresses > spoofing a header > a number of people reporting a sender as a spammer > various key words or phrases in emails > illegal use of peer to peer file sharing apps (distributing commercial films or music for example) > > Bob S > > >> On May 26, 2019, at 13:26 , Matthias Rebbe via use-livecode wrote: >> >> Currently there is nothing you can do, if the ip addresses are blocked. Robin could use the Microsoft Blacklisting Form at >> https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3 >> to ask for removal of the ips. > From bobsneidar at iotecdigital.com Fri May 31 13:27:27 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 May 2019 17:27:27 +0000 Subject: A problem with RunRev email account "sage.on-rev.com" In-Reply-To: References: <3676A8E2-9065-414C-913D-314D55005C85@iotecdigital.com> Message-ID: I misworded that. I didn't mean to imply he was engaging in any of those activities. Only that anyone doing so using a mail domain or public IP could get the domain or IP blacklisted. I had people at a large Church I used to work for using p2p to get hi def versions of all the movies and music they wanted, AND were SHARING it with others. A cease and desist letter was not sent to us, but rather to our ISP telling them that unless the ISP shut US down, they would blacklist the ENTIRE ISP! Talk about digital vigilantes. Fortunately, I was able to find and eliminate the culprits and prove to the ISP and the legal entities involved that I had done so, and they relented. Bob S > On May 31, 2019, at 10:08 , Richard Gaskin via use-livecode wrote: > > Blacklisting would not be inappropriate if we lived in a world where every domain had a unique IP. But that's not the world we live in. > > Hundreds of millions of domains are hosted on shared servers, and most do not have a unique IP. > > So it doesn't matter whether or not you personally engage in any of those nefarious activities. > > Under the collective punishment regime of digital vigilantes, accounts you have no control over will be used against you. > > -- > Richard Gaskin > Fourth World Systems > > > Bob Sneidar wrote: > >> They may remove the blacklist entries, but unless the original issue that caused the blacklist entries to occur in the first place are dealt with, it will recur. Things that can get you blacklisted: Sending spam to many cc'd addresses >> spoofing a header >> a number of people reporting a sender as a spammer >> various key words or phrases in emails >> illegal use of peer to peer file sharing apps (distributing commercial films or music for example) >> Bob S From monte at appisle.net Fri May 31 16:29:53 2019 From: monte at appisle.net (Monte Goulding) Date: Sat, 1 Jun 2019 06:29:53 +1000 Subject: critical: new pdf widget causes stack to crash when opening In-Reply-To: <335A8F56-0D8D-4FB2-B04D-7C299B2E1727@gmail.com> References: <335A8F56-0D8D-4FB2-B04D-7C299B2E1727@gmail.com> Message-ID: <56CF411B-A6C7-44A2-A992-A1E9D1ED7444@appisle.net> Hi Richard Have you tried setting the filename or filedata of the offending widget to empty before going to the card? It sounds like there is something in one of your PDFs that PDFium doesn?t like. Either way we really need that stack to figure this one out. Cheers Monte > On 1 Jun 2019, at 1:39 am, Dr. Hawkins via use-livecode wrote: > > I put in the last pdf widget on a card to produce a 6 page form out of smaller pieces. > > With the last one, the ide crashed. > > Not only did it crash, but loading that card causes it to crash again. > > I?ve also tried opening with 9.0.3-rc1, and it also crashes trying to open the card. > > workaround: I was able to rescue by opening a new stack and writing a button script to copy every group on the offending card *other than* the offending one. > > Poor Panos and all my new bug reports :) (although Monte beat him to fixing any : ) ) > ? > 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 merakosp at gmail.com Fri May 31 16:44:46 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 31 May 2019 23:44:46 +0300 Subject: How to install a dependency In-Reply-To: References: Message-ID: Hello folks, In the conference I patched one of the "symptoms" of this bug. Monte has fixed this properly, by patching the root cause: https://github.com/livecode/livecode/pull/7070/files Best, Panos -- On Fri, 31 May 2019 at 19:33, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 5/31/19 7:56 AM, Brian Milby via use-livecode wrote: > > That is an issue with 9.5DP1 that will be fixed in the next DP. It is a > simple fix, but I?d have to look in GitHub to find where. Panos fixed it > at the conference. > > Panos has been doing some awesome work lately. > > -- > 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 gbojsza at gmail.com Fri May 31 20:37:29 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 31 May 2019 20:37:29 -0400 Subject: SQLite import Message-ID: Hello, I know LC can script SQLite database inserts but can you script an SQLite csv file import? thanks, Glen