From jacque at hyperactivesw.com Sun Dec 1 02:37:37 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 1 Dec 2019 01:37:37 -0600 Subject: Remote Debugger 9.6dp1? In-Reply-To: <77831FCB-8D0E-4C5E-BC84-CF233E752E5B@hindu.org> References: <77831FCB-8D0E-4C5E-BC84-CF233E752E5B@hindu.org> Message-ID: <0bb22296-caf9-7c39-1753-037b6119ccb7@hyperactivesw.com> I haven't tried it with a separate standalone running independently, but if I build directly to the device it works, at least on Android and the iOS simulator. On 11/30/19 8:27 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > I have Remote Debugger in the inclusions for making a mobile standalone > The Development Menu has checked "Script Debug Mode" > > I put an explicit "breakpoint" in a handler; test (target) my iPhone. > Boot the app on the phone. The app hangs where I have the breakpoint. > But the script editor does not open, allowing us to step through the rest of the handler. > > Is there something else to do? I could have sworn this worked on iOS before? > > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From e.beugelaar at me.com Sun Dec 1 05:23:33 2019 From: e.beugelaar at me.com (Erik Beugelaar) Date: Sun, 01 Dec 2019 11:23:33 +0100 Subject: iOS scrollers In-Reply-To: References: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> Message-ID: I am still wondering to read issues dealing with rendering layout issues on mobile devices anno 2019 (almost 2020!). In my opinion this should be an integrated part in the LiveCode engine. From my own experience writing your own geometric routines is never perfect and it has given me a lot of headaches... It should be no issue anymore when generating desktop, mobile or webapps from one code library with multi-platform support. If I am wrong then my apologies mention this. ?On 01/12/2019, 05:27, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: This is a blocker for us. Adding extra space to the contentRect doesn't work, Swami tested it on a real iPhone 10 and it shows the same issues as the simulator. If anyone has a workaround I need it real soon now. Meanwhile I'll put in a bug report. On 11/30/19 8:46 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Ditto that here. I still have you with handler. > > Ralph said he was added 20 the rect, so I did this. > > put ("0,0," & (the formattedwidth of control pName) & "," & \ > > the formattedheight of control pName + 20) into tRect > But on iPhone X increasing by a generic "20" in not enough. > > I don't think users will mind if there "blank" space at end of the scroll. > It going to be pain to work out a fast, accurate, algorithm--fonts and line spacing being "all over the place." > > So I'll try "50" as see what happens. > > > the formattedheight of control pName + 50) into tRect > BR > > But in iPhone X the last one or two lines are > cut off so you can't scroll to the bottom of the text. > _______________________________________________ > use-livecode mailing list > use-livecode 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 brahma at hindu.org Sun Dec 1 09:48:08 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 1 Dec 2019 14:48:08 +0000 Subject: iOS scrollers In-Reply-To: References: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> Message-ID: Bug: QA ticket #...? I believe you will use the previously confirmed number? Agreed, it?s has become "a blocker." Not that you cannot build the app. But any TOC and Indices you will have in the app don't work, from the user point of view. The last line will appear if you use scroll up, (keep your thumb on the scroller) but disappear back down on release. Now, we know as a "developer" that the "index" is only showing one line short, but the user doesn't know that. It gives an "anxiety" moment for the user as, for all she knows, there could be 1 to 20 lines, below that she cannot access. (I will put the note in the QA center when you post the number.) If anyone has a workaround I need it real soon now. Meanwhile I'll put in a bug report. From colinholgate at gmail.com Sun Dec 1 09:55:33 2019 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 1 Dec 2019 09:55:33 -0500 Subject: iOS scrollers In-Reply-To: References: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> Message-ID: <090454A0-1B74-46DA-BA53-986D51DD98B0@gmail.com> It would be good to have a simple stack to test that only is for showing the problem. One thing I would look at is how you are measuring coordinates when using ShowAll. With ShowAll and Portrait, of a card that is iPhone 4 sized, zero Y is not at the top of the iPhone 5 screen. If you are finding a way to base things off of the visible top of the screen, and not using the top of the card, then things will go wrong. From brahma at hindu.org Sun Dec 1 10:12:23 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 1 Dec 2019 15:12:23 +0000 Subject: iOS scrollers In-Reply-To: <090454A0-1B74-46DA-BA53-986D51DD98B0@gmail.com> References: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> <090454A0-1B74-46DA-BA53-986D51DD98B0@gmail.com> Message-ID: <6D1CEA86-42AA-43AB-A53A-50413A217826@hindu.org> Perhaps I misunderstand you, but IMHO, "it not rocket science" Regardless of the device or fullscreenmode. I use (and I think jacque uses) the card rect? If we set a scroller to the "formatterHeight", in any model or "mode" context, the user should be able to scroll right to the bottom, and see, its contents -- in this case a field. It a confirmed bug, but it hasn't been solved/merged yet. It would be good to have a simple stack to test that only is for showing the problem. One thing I would look at is how you are measuring coordinates when using ShowAll. With ShowAll and Portrait, of a card that is iPhone 4 sized, zero Y is not at the top of the iPhone 5 screen. If you are finding a way to base things off of the visible top of the screen, and not using the top of the card, then things will go wrong. From merakosp at gmail.com Sun Dec 1 12:05:21 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 1 Dec 2019 19:05:21 +0200 Subject: iOS scrollers In-Reply-To: <6D1CEA86-42AA-43AB-A53A-50413A217826@hindu.org> References: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> <090454A0-1B74-46DA-BA53-986D51DD98B0@gmail.com> <6D1CEA86-42AA-43AB-A53A-50413A217826@hindu.org> Message-ID: Hi all, @Jacque This sounds like bug https://quality.livecode.com/show_bug.cgi?id=21456 Kind regards, Panos -- On Sun, 1 Dec 2019 at 17:13, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > Perhaps I misunderstand you, but IMHO, "it not rocket science" > > Regardless of the device or fullscreenmode. I use (and I think jacque > uses) the card rect? > > If we set a scroller to the "formatterHeight", in any model or "mode" > context, the user should be able to scroll right to the bottom, and see, > its contents -- in this case a field. > > It a confirmed bug, but it hasn't been solved/merged yet. > > > It would be good to have a simple stack to test that only is for showing > the problem. One thing I would look at is how you are measuring coordinates > when using ShowAll. With ShowAll and Portrait, of a card that is iPhone 4 > sized, zero Y is not at the top of the iPhone 5 screen. If you are finding > a way to base things off of the visible top of the screen, and not using > the top of the card, then things will go wrong. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 1 12:57:50 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Dec 2019 11:57:50 -0600 Subject: iOS scrollers In-Reply-To: References: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> <090454A0-1B74-46DA-BA53-986D51DD98B0@gmail.com> <6D1CEA86-42AA-43AB-A53A-50413A217826@hindu.org> Message-ID: <16ec29c8d30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's exactly it, thanks Panos. I'd searched for formattedHeight and only found my older bug so I added a comment there, but the one you've referenced is more accurate. I didn't realize the problem was in the scrollerDidScroll parameters. I need a workaround in the next 2 weeks if there isn't a fix by then. We have to have a splash screen in order to support newer iPhones. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 1, 2019 11:07:31 AM panagiotis merakos via use-livecode wrote: > Hi all, > > @Jacque > This sounds like bug https://quality.livecode.com/show_bug.cgi?id=21456 > > Kind regards, > Panos > -- > > On Sun, 1 Dec 2019 at 17:13, Sannyasin Brahmanathaswami via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Perhaps I misunderstand you, but IMHO, "it not rocket science" >> >> Regardless of the device or fullscreenmode. I use (and I think jacque >> uses) the card rect? >> >> If we set a scroller to the "formatterHeight", in any model or "mode" >> context, the user should be able to scroll right to the bottom, and see, >> its contents -- in this case a field. >> >> It a confirmed bug, but it hasn't been solved/merged yet. >> >> >> It would be good to have a simple stack to test that only is for showing >> the problem. One thing I would look at is how you are measuring coordinates >> when using ShowAll. With ShowAll and Portrait, of a card that is iPhone 4 >> sized, zero Y is not at the top of the iPhone 5 screen. If you are finding >> a way to base things off of the visible top of the screen, and not using >> the top of the card, then things will go wrong. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Dec 1 17:15:48 2019 From: monte at appisle.net (Monte Goulding) Date: Mon, 2 Dec 2019 09:15:48 +1100 Subject: Remote Debugger 9.6dp1? In-Reply-To: <77831FCB-8D0E-4C5E-BC84-CF233E752E5B@hindu.org> References: <77831FCB-8D0E-4C5E-BC84-CF233E752E5B@hindu.org> Message-ID: <0492A6BE-2636-4462-BDEB-D10EA2F792CB@appisle.net> Is the iPhone on the same local network as IDE? > On 1 Dec 2019, at 1:27 pm, Sannyasin Brahmanathaswami via use-livecode wrote: > > I have Remote Debugger in the inclusions for making a mobile standalone > The Development Menu has checked "Script Debug Mode" > > I put an explicit "breakpoint" in a handler; test (target) my iPhone. > Boot the app on the phone. The app hangs where I have the breakpoint. > But the script editor does not open, allowing us to step through the rest of the handler. > > Is there something else to do? I could have sworn this worked on iOS before? > > 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 alanstenhouse at hotmail.com Sun Dec 1 19:15:01 2019 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Mon, 2 Dec 2019 00:15:01 +0000 Subject: put img into img after import snapshot Message-ID: Hi Dan Try putting a wait 50 millisecs (more or less?) after the import - pretty sure that's what I ended up with on mobile for the same issue. Not sure if it'd be device-dependent though - probably would be...? HTH cheers Alan > On 2 Dec 2019, at 3:30 am,Dan Friedman wrote: > This works perfectly on desktop. Why would it fail on mobile? > > put 0,the bottom of btn "newsHeader",the width of this stack,the top of grc "scaleRectangle" into pRect > import snapshot from rect pRect > put img 2 into img 1 // THIS LINE DOESN?T DO ANYTHING > delete img 2 > set the rect of img "editingImage" to pRect > > ?put img 2 into img 1? DOES work if it?s an image that?s not from the import snapshot command. Is there something I have to do to the image before this will work? > > Using LC 9.5.1 rc1 > > Thanks in advance! > -Dan From alanstenhouse at hotmail.com Sun Dec 1 19:20:34 2019 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Mon, 2 Dec 2019 00:20:34 +0000 Subject: iOS scrollers In-Reply-To: References: Message-ID: Hi Jacque, Does putting a CR at the end of the field contents help? Before making the mobile scroller etc. I think that was a workaround I came up with ages ago for the same (/similar?) problem. But could be that I'm misunderstanding your issue... cheers Alan On 2 Dec 2019, at 3:30 am, J. Landman Gay wrote: This is a blocker for us. Adding extra space to the contentRect doesn't work, Swami tested it on a real iPhone 10 and it shows the same issues as the simulator. If anyone has a workaround I need it real soon now. Meanwhile I'll put in a bug report. From brahma at hindu.org Sun Dec 1 19:38:04 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 2 Dec 2019 00:38:04 +0000 Subject: Remote Debugger 9.6dp1? In-Reply-To: <0492A6BE-2636-4462-BDEB-D10EA2F792CB@appisle.net> References: <77831FCB-8D0E-4C5E-BC84-CF233E752E5B@hindu.org> <0492A6BE-2636-4462-BDEB-D10EA2F792CB@appisle.net> Message-ID: Yes, same local network, via wifi, but it is also plugged into an external dock with multiple ports. The dock itself goes into the new USB "C" ports on the Mac Book Pro. (The only way I can see it among the test targets) Is the iPhone on the same local network as IDE? > On 1 Dec 2019, at 1:27 pm, Sannyasin Brahmanathaswami via use-livecode > wrote: > > I have Remote Debugger in the inclusions for making a mobile standalone > The Development Menu has checked "Script Debug Mode" > > I put an explicit "breakpoint" in a handler; test (target) my iPhone. > Boot the app on the phone. The app hangs where I have the breakpoint. > But the script editor does not open, allowing us to step through the rest of the handler. > > Is there something else to do? I could have sworn this worked on iOS before? > > BR From jacque at hyperactivesw.com Sun Dec 1 20:56:35 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Dec 2019 19:56:35 -0600 Subject: iOS scrollers In-Reply-To: References: Message-ID: <16ec452d850.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks Alan, but it doesn't really. Some of my text fields already have a couple of carriage returns after them as an attempt to fix another issue and they also have the same problem. But if the bug is what scrollerDidScroll returns, the length of the field probably doesn't matter. I do appreciate the suggestion though, given my time constraints. It's weird that it only happens if a splash png is included. If I hadn't made a dummy one for testing I wouldn't have seen the problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Dec 1 20:59:49 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Dec 2019 19:59:49 -0600 Subject: iOS scrollers In-Reply-To: References: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> Message-ID: <16ec455ce20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The bug number is the one Panos posted : https://quality.livecode.com/show_bug.cgi?id=21456 You could add yourself to the cc list to track it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 1, 2019 8:50:12 AM Sannyasin Brahmanathaswami via use-livecode wrote: > Bug: QA ticket #...? > > I believe you will use the previously confirmed number? > > Agreed, it?s has become "a blocker." Not that you cannot build the app. But > any TOC and Indices you will have in the app don't work, from the user > point of view. The last line will appear if you use scroll up, (keep your > thumb on the scroller) but disappear back down on release. > > Now, we know as a "developer" that the "index" is only showing one line > short, but the user doesn't know that. It gives an "anxiety" moment for the > user as, for all she knows, there could be 1 to 20 lines, below that she > cannot access. > > (I will put the note in the QA center when you post the number.) > > > > If anyone has a workaround I need it real soon now. Meanwhile I'll put > in a bug report. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 2 03:06:21 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 2 Dec 2019 00:06:21 -0800 Subject: iOS scrollers In-Reply-To: <16ec455ce20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16ec455ce20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <2af37dcb-d571-77cc-cc15-1ca55a9bf026@fourthworld.com> We shouldn't be scripting scrollers. If the control we placed on the card scrolls, it should scroll. Doesn't matter if it's Mac or Windows or Linux. Shouldn't matter if it's iOS or Android. Manually typing an interaction overlay is bizarre savagery better left for those with a typing fetish than developers who want to be productive using visual development tools like LiveCode. That this has not been addressed in the product -- even as so many of us have scripted libraries to take care of this automatically in script -- has always been concerning. And as we approach the 10th anniversary of iPhone, that this has never been taken care of, or even put on a road map, the concern has grown. Vision, anyone? #UserExperience #EmbraceVisualProgramming #xTalksRule #SomeoneHasToSayIt #WhyIsNoOneSayingIt -- 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 merakosp at gmail.com Mon Dec 2 04:19:14 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 2 Dec 2019 11:19:14 +0200 Subject: iOS scrollers In-Reply-To: <2af37dcb-d571-77cc-cc15-1ca55a9bf026@fourthworld.com> References: <16ec455ce20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <2af37dcb-d571-77cc-cc15-1ca55a9bf026@fourthworld.com> Message-ID: Hello all, I believe I have found a workaround to this issue - please see the bug report. Kind regards, Panos -- On Mon, 2 Dec 2019 at 10:07, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > We shouldn't be scripting scrollers. > > If the control we placed on the card scrolls, it should scroll. Doesn't > matter if it's Mac or Windows or Linux. Shouldn't matter if it's iOS or > Android. > > Manually typing an interaction overlay is bizarre savagery better left > for those with a typing fetish than developers who want to be productive > using visual development tools like LiveCode. > > That this has not been addressed in the product -- even as so many of us > have scripted libraries to take care of this automatically in script -- > has always been concerning. > > And as we approach the 10th anniversary of iPhone, that this has never > been taken care of, or even put on a road map, the concern has grown. > > Vision, anyone? > > #UserExperience > #EmbraceVisualProgramming > #xTalksRule > #SomeoneHasToSayIt > #WhyIsNoOneSayingIt > > -- > 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 andrew at midwestcoastmedia.com Mon Dec 2 09:50:17 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Mon, 02 Dec 2019 14:50:17 +0000 Subject: mergAV and AVkit In-Reply-To: Message-ID: <20191202145017.Horde.Rtal2veDSLYeucHUs2bFBHB@oa.serversignin.com> Thank you for forcing me to take another look at this! I had found the updated info last year @ https://forums.livecode.com/viewtopic.php?t=31287 but misinterpreted the change suggested. I still had this line: mergAVRequestMediaAccess "audio" Because I thought this was taking care of that issue for me: on mergAVMediaAccess pType, pGranted put "mergAVMediaAccess"&&pType, pGranted if pType is "audio" then mergAVRequestMediaAccess "video" ... end mergAVMediaAccess So I just needed to update my original request code to (duh): mergAVRequestMediaAccess "video" --Andrew Bell > Date: Thu, 28 Nov 2019 08:24:55 +1100 > From: Monte Goulding > Subject: Re: mergAV and AVkit > > mergAV has already supported this for a while. You set the > microphone to empty before creating the camera. It is in the docs > for mergAVCamCreate. > >> On 28 Nov 2019, at 5:30 am, Andrew Bell via use-livecode >> wrote: >> >> I'm excited to see that the switch to AVkit in LC 9.6 fixes the bug >> where > href="https://quality.livecode.com/show_bug.cgi?id=21438">cameraControl >> automatically configured audio and video input devices when >> created! >> >> Will these syntax changes be made to mergAV? Using the barcode >> reader on iOS still asks for microphone access which is hard to >> explain to customers. >> >> --Andrew Bell From bobsneidar at iotecdigital.com Mon Dec 2 10:42:26 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Dec 2019 15:42:26 +0000 Subject: script for standalone builder in pre-/openstack/card In-Reply-To: References: Message-ID: mt > On Nov 29, 2019, at 05:30 , Matthias Rebbe via use-livecode wrote: > > exit closesStack From MikeKerner at roadrunner.com Mon Dec 2 10:52:10 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 2 Dec 2019 10:52:10 -0500 Subject: iOS Dropbox access In-Reply-To: <3013980E-6CEC-4BA5-B5E0-66ECD02A7CA1@gmail.com> References: <3013980E-6CEC-4BA5-B5E0-66ECD02A7CA1@gmail.com> Message-ID: why not use the dropbox library? On Wed, Nov 27, 2019 at 3:08 PM Marty Knapp via use-livecode < use-livecode at lists.runrev.com> wrote: > I have a desktop app that reads data from a text file in Dropbox. I want > to create an iOS app that can also read (but not write) the same text file. > I've installed the Dropbox app on my iPhone but cannot figure out how to > access my text file from my LC app like I do on the desktop version. Is > that doable or do I need to use the LC "dropboxDownload" feature to get the > latest text file? I could switch to iCloud Drive if that would make things > easier - would specialFolderPath(?Documents?) then give me access to my > text file? > > --- > Marty K > _______________________________________________ > use-livecode mailing list > use-livecode 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 panos.merakos at livecode.com Mon Dec 2 10:59:38 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 2 Dec 2019 17:59:38 +0200 Subject: [ANN] This Week in LiveCode 204 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 #204 here: http://bit.ly/2rQlPJP 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 lfredricks at proactive-intl.com Mon Dec 2 13:01:33 2019 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 2 Dec 2019 10:01:33 -0800 Subject: Reporting for LiveCode 50% Off Last Day Cyber Monday 2019 Message-ID: This is our new bundle of: - Valentina Reports for LiveCode (all three OS) - Valentina Studio Pro (used for authoring the reports) - Free copy of Valentina Server /25 This is 50% off through today. With it, you can create template based reports that can generate any type of report with charts, graphs, barcodes and the like. Some customers use it to email rich PDF financial reports to their customers, others to create custom POS receipts and more. LiveCode can also pass strings back to the report system. You can even use the FREE Studio as a client for reports or for the new Valentina Forms system. You can also add optional tools like VDN (deploy our server royalty free) and Valentina DB ADK for LiveCode and get the 50% off. More info is here: https://valentina-db.com/en/discussions/6600-reporting-for-livecode-build,-t est-deploy-apps-with-reports,-printing,-labels-and-more If you create business applications with LiveCode, you won't find a better reporting system for turning complex data into meaningful, visual form. Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From andrew at midwestcoastmedia.com Mon Dec 2 13:40:45 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Mon, 02 Dec 2019 18:40:45 +0000 Subject: iOS scrollers In-Reply-To: Message-ID: <20191202184045.Horde.gEKjUTeW4nXbpSFrKdv1uMN@oa.serversignin.com> I can confirm this issue and have made a sample stack documenting it (but can't find the bug report @ quality.livecode.com to update). Here are the results of my testing of the data grid scroller with the various fullscreenMode options... set the fullscreenMode of me to "showAll" // CUTS OFF LAST ITEM set the fullscreenMode of me to "noBorder" // WORKS set the fullscreenMode of me to "letterbox" // CUTS OFF LAST ITEM set the fullscreenMode of me to "exactFit" // WORKS set the fullscreenMode of me to "noScale" // CUTS OFF LAST ~2.5 ITEMS set the fullscreenMode of me to EMPTY // WORKS You can download my sample stack from: https colon slash slash iu dot box dot com slash s slash sj3lca0gxcor4415f96te8stny5kqws9 --Andrew Bell > From: Sannyasin Brahmanathaswami > Subject: Re: iOS scrollers > > Perhaps I misunderstand you, but IMHO, "it not rocket science" > > Regardless of the device or fullscreenmode. I use (and I think > jacque uses) the card rect? > > If we set a scroller to the "formatterHeight", in any model or > "mode" context, the user should be able to scroll right to the > bottom, and see, its contents -- in this case a field. > > It a confirmed bug, but it hasn't been solved/merged yet. > > > It would be good to have a simple stack to test that only is for > showing the problem. One thing I would look at is how you are > measuring coordinates when using ShowAll. With ShowAll and Portrait, > of a card that is iPhone 4 sized, zero Y is not at the top of the > iPhone 5 screen. If you are finding a way to base things off of the > visible top of the screen, and not using the top of the card, then > things will go wrong. From dan at clearvisiontech.com Mon Dec 2 13:53:06 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 2 Dec 2019 18:53:06 +0000 Subject: Android Native Text Field Odd Behavior Message-ID: <557AEBE9-18DC-4C4B-AD5B-1D9CFF18D176@contoso.com> Is this a bug? Can anyone confirm? 1. On an Android device, create a text entry native mobile control. 2. Type ?test? (or any other text). 3. Type space. 4. Type back-space 5. Type any text The first word you typed gets repeated. Seems to be the same issue as this: https://github.com/AnySoftKeyboard/AnySoftKeyboard/issues/1323 Using LC9.5.1 rc1 Tested on Android 7 and 9 Thanks in advance! -Dan From jacque at hyperactivesw.com Mon Dec 2 14:25:30 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 2 Dec 2019 13:25:30 -0600 Subject: iOS scrollers In-Reply-To: <20191202184045.Horde.gEKjUTeW4nXbpSFrKdv1uMN@oa.serversignin.com> References: <20191202184045.Horde.gEKjUTeW4nXbpSFrKdv1uMN@oa.serversignin.com> Message-ID: <2cda32aa-4b19-f81d-fbb1-654c78ff5955@hyperactivesw.com> Here's the bug report: https://quality.livecode.com/show_bug.cgi?id=21456 On 12/2/19 12:40 PM, Andrew Bell via use-livecode wrote: > I can confirm this issue and have made a sample stack documenting it > (but can't find the bug report @ quality.livecode.com to update). > > Here are the results of my testing of the data grid scroller with the > various fullscreenMode options... > set the fullscreenMode of me to "showAll" // CUTS OFF LAST ITEM > set the fullscreenMode of me to "noBorder" // WORKS > set the fullscreenMode of me to "letterbox" // CUTS OFF LAST ITEM > set the fullscreenMode of me to "exactFit" // WORKS > set the fullscreenMode of me to "noScale" // CUTS OFF LAST ~2.5 ITEMS > set the fullscreenMode of me to EMPTY // WORKS > > You can download my sample stack from: > https colon slash slash > iu dot box dot com > slash s slash > sj3lca0gxcor4415f96te8stny5kqws9 > > > --Andrew Bell > > >> From: Sannyasin Brahmanathaswami >> Subject: Re: iOS scrollers >> >> Perhaps I misunderstand you, but IMHO, "it not rocket science" >> >> Regardless of the device or fullscreenmode. I use (and I think jacque >> uses) the card rect? >> >> If? we set a scroller to the "formatterHeight", in any model or "mode" >> context, the user should be able to scroll right to the bottom, and >> see, its contents -- in this case a field. >> >> It a confirmed bug, but it hasn't been solved/merged yet. >> >> >> It would be good to have a simple stack to test that only is for >> showing the problem. One thing I would look at is how you are >> measuring coordinates when using ShowAll. With ShowAll and Portrait, >> of a card that is iPhone 4 sized, zero Y is not at the top of the >> iPhone 5 screen. If you are finding a way to base things off of the >> visible top of the screen, and not using the top of the card, then >> things will go wrong. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Dec 2 18:34:56 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 2 Dec 2019 17:34:56 -0600 Subject: Android Native Text Field Odd Behavior In-Reply-To: <557AEBE9-18DC-4C4B-AD5B-1D9CFF18D176@contoso.com> References: <557AEBE9-18DC-4C4B-AD5B-1D9CFF18D176@contoso.com> Message-ID: <0de99f2b-5224-d1c8-3315-e02d11207143@hyperactivesw.com> I'm not seeing this. I used to see it when I used regular LC fields on Android instead of native ones but I think that has been fixed too. On 12/2/19 12:53 PM, Dan Friedman via use-livecode wrote: > Is this a bug? Can anyone confirm? > > 1. On an Android device, create a text entry native mobile control. > 2. Type ?test? (or any other text). > 3. Type space. > 4. Type back-space > 5. Type any text > > The first word you typed gets repeated. Seems to be the same issue as this: https://github.com/AnySoftKeyboard/AnySoftKeyboard/issues/1323 > > Using LC9.5.1 rc1 > Tested on Android 7 and 9 > > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Mon Dec 2 21:31:35 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 3 Dec 2019 02:31:35 +0000 Subject: Achilles Heel of Livecode Message-ID: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> @ richard I love LiveCode, use it every day, probably till the day I die, if I not meditating, singing or swinging kettle bells, and have invested in every offer presented by Kevin since you "turned me on Metacard" when I used Supercard and was looking for bigger solutions, and even bought into Revolution before it signed the agreement with Scott Raney -- I think that was circa 1990 when you sent that email. And now I have business license "for life" and I have a lot of respect for the team and what they try to do on some many platforms Having said that, I have been ranting on and off the past ten years, about the Achilles Heel which is the "busted ankle" in Livecode. Simply this: Smooth Motion Graphics. "We shouldn't be scripting scrollers," is merely a "symptom" of a larger problem/gap/haitus in vision for the future. Now you and I and plenty of old timers know that, e.g. the "my app" could not be duplicated by some other language or "HTML5" without spending 10 times the $ and time. I've been told that "Oh sure we could do that on "React/Elm/[or any other language]" (SivaSiva app) but... uh, we could not make that Word Puzzle thing you did, and that Module (stack) you made would take five time the money and effort work. But, ours will look so professional!" So why will "The Other Thing" look "So Professional?" Simple: scrolling, easing, bouncing, smooth scrolling, ken burns effects and cool transitions. I am not talking "animation" perse. Just the above. And scrolling is at ground zero of these "effects" . It one thing to know, after 20 years of HTML, web work, PHP, Javascript, that Livecode "will be the best tool for this project in order to bring it to completion in 1/5 the time" It's totally another thing for LC to stand alongside other languages to be tested by newbies who are a) content producers want to develop apps - photoshop, illustration, Sketch expert...-- huge market there, but they have high production values, expectations on the "look/feel" of the first card they make. Much of which could be easily fix by tweaking the IDE. b) a complete newbie e.g 17-year old whose been using a phone for three years, and the app he sees "do cool stuff" but he can't make his LC app "do cool stuff" c) old school programmer who is tired of the horrible world of JS, PHP, C++ and wants to have "fun" building solutions. All three markets have no idea what LC can do. They test drive it, and the Achilles Heel kicks in: nothing appears to "work smoothly" (we can't even run an animated GIF in LC while doing any else on the phone) and they are on to other languages. Kevin said in an interview in California, that he wanted LiveCode to be in the top ten languages... until we fix the Achilles Heel in the "look and feel of what you produce" in Livecode, it will never happen. For every 50 who register for a trial, I really wonder how many actually "sign up", maybe 1-3? They are who see the potential for doing "in house tools/behind the scenes software" that don't really care how it looks... I hope I am wrong...or wish that in 2 years, I will be "wrong" BR We shouldn't be scripting scrollers. If the control we placed on the card scrolls, it should scroll.??Doesn't? matter if it's Mac or Windows or Linux.??Shouldn't matter if it's iOS or? Android. Manually typing an interaction overlay is bizarre savagery better left? for those with a typing fetish than developers who want to be productive? using visual development tools like LiveCode. That this has not been addressed in the product -- even as so many of us? have scripted libraries to take care of this automatically in script --? has always been concerning. And as we approach the 10th anniversary of iPhone, that this has never? been taken care of, or even put on a road map, the concern has grown. Vision, anyone? #UserExperience #EmbraceVisualProgramming #xTalksRule #SomeoneHasToSayIt #WhyIsNoOneSayingIt From tom at makeshyft.com Mon Dec 2 21:50:08 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 2 Dec 2019 21:50:08 -0500 Subject: Achilles Heel of Livecode In-Reply-To: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> Message-ID: You are completely right. I just quoted a job...and knowing that the customer is going to ask me "where is the smooth scrolling?"..... i skipped over livecode entirely and quoted it using flutter....knowing I have no explanation or chance to give the customer the experience they expect. Your point exactly. On Mon, Dec 2, 2019 at 9:32 PM Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > @ richard > > I love LiveCode, use it every day, probably till the day I die, if I not > meditating, singing or swinging kettle bells, and have invested in every > offer presented by Kevin since you "turned me on Metacard" when I used > Supercard and was looking for bigger solutions, and even bought into > Revolution before it signed the agreement with Scott Raney -- I think that > was circa 1990 when you sent that email. And now I have business license > "for life" and I have a lot of respect for the team and what they try to > do on some many platforms > > Having said that, I have been ranting on and off the past ten years, about > the Achilles Heel which is the "busted ankle" in Livecode. Simply this: > > Smooth Motion Graphics. > > "We shouldn't be scripting scrollers," > > is merely a "symptom" of a larger problem/gap/haitus in vision for the > future. > > Now you and I and plenty of old timers know that, e.g. the "my app" could > not be duplicated by some other language or "HTML5" without spending 10 > times the $ and time. I've been told that > > "Oh sure we could do that on "React/Elm/[or any other language]" > (SivaSiva app) but... uh, we could not make that Word Puzzle thing you did, > and that Module (stack) you made would take five time the money and effort > work. But, ours will look so professional!" > > So why will "The Other Thing" look "So Professional?" > > Simple: scrolling, easing, bouncing, smooth scrolling, ken burns effects > and cool transitions. > > I am not talking "animation" perse. Just the above. And scrolling is at > ground zero of these "effects" . It one thing to know, after 20 years of > HTML, web work, PHP, Javascript, that Livecode "will be the best tool for > this project in order to bring it to completion in 1/5 the time" > > It's totally another thing for LC to stand alongside other languages to be > tested by newbies who are > > a) content producers want to develop apps - photoshop, illustration, > Sketch expert...-- huge market there, but they have high production > values, expectations on the "look/feel" of the first card they make. Much > of which could be easily fix by tweaking the IDE. > b) a complete newbie e.g 17-year old whose been using a phone for three > years, and the app he sees "do cool stuff" but he can't make his LC app > "do cool stuff" > c) old school programmer who is tired of the horrible world of JS, PHP, > C++ and wants to have "fun" building solutions. > > All three markets have no idea what LC can do. They test drive it, and the > Achilles Heel kicks in: nothing appears to "work smoothly" (we can't even > run an animated GIF in LC while doing any else on the phone) and they are > on to other languages. > > Kevin said in an interview in California, that he wanted LiveCode to be in > the top ten languages... until we fix the Achilles Heel in the "look and > feel of what you produce" in Livecode, it will never happen. For every 50 > who register for a trial, I really wonder how many actually "sign up", > maybe 1-3? They are who see the potential for doing "in house tools/behind > the scenes software" that don't really care how it looks... > > I hope I am wrong...or wish that in 2 years, I will be "wrong" > > BR > > > > > > We shouldn't be scripting scrollers. > > If the control we placed on the card scrolls, it should scroll. Doesn't > matter if it's Mac or Windows or Linux. Shouldn't matter if it's iOS or > Android. > > Manually typing an interaction overlay is bizarre savagery better left > for those with a typing fetish than developers who want to be productive > using visual development tools like LiveCode. > > That this has not been addressed in the product -- even as so many of us > have scripted libraries to take care of this automatically in script -- > has always been concerning. > > And as we approach the 10th anniversary of iPhone, that this has never > been taken care of, or even put on a road map, the concern has grown. > > Vision, anyone? > > #UserExperience > #EmbraceVisualProgramming > #xTalksRule > #SomeoneHasToSayIt > #WhyIsNoOneSayingIt > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From richmondmathewson at gmail.com Tue Dec 3 01:53:51 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 3 Dec 2019 08:53:51 +0200 Subject: Achilles Heel of Livecode In-Reply-To: References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> Message-ID: I, frankly, cannot be bothered by animated GIF images. My experiments over the last 5-6 with a series of images used as the *backGroundPattern* of a graphic object has shown that if one animated at 25 images per second (and this is what I might term the "Mickey Mouse rate" as it was probably worked out by Disney and/or his contemporaries) it looks like movement and does not *jerk* unless the images have been badly prepared. That is, of course, only on desktop machines as I have only dipped my toes very tentatively into mobile devices. What is the ultimate difference for the end-user (i.e. the person who is watching an animation) between that sort of animation and what Brahmanathaswami means by Smooth Scrolling? The only real downside of flashing a series of images with a graphic object frame (that I am aware of) is in terms of physical storage (a lot of images stored off-screen) Richmond. On 3.12.19 4:50, Tom Glod via use-livecode wrote: > You are completely right. > > I just quoted a job...and knowing that the customer is going to ask me > "where is the smooth scrolling?"..... i skipped over livecode entirely and > quoted it using flutter....knowing I have no explanation or chance to give > the customer the experience they expect. > > Your point exactly. > > > > On Mon, Dec 2, 2019 at 9:32 PM Sannyasin Brahmanathaswami via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> @ richard >> >> I love LiveCode, use it every day, probably till the day I die, if I not >> meditating, singing or swinging kettle bells, and have invested in every >> offer presented by Kevin since you "turned me on Metacard" when I used >> Supercard and was looking for bigger solutions, and even bought into >> Revolution before it signed the agreement with Scott Raney -- I think that >> was circa 1990 when you sent that email. And now I have business license >> "for life" and I have a lot of respect for the team and what they try to >> do on some many platforms >> >> Having said that, I have been ranting on and off the past ten years, about >> the Achilles Heel which is the "busted ankle" in Livecode. Simply this: >> >> Smooth Motion Graphics. >> >> "We shouldn't be scripting scrollers," >> >> is merely a "symptom" of a larger problem/gap/haitus in vision for the >> future. >> >> Now you and I and plenty of old timers know that, e.g. the "my app" could >> not be duplicated by some other language or "HTML5" without spending 10 >> times the $ and time. I've been told that >> >> "Oh sure we could do that on "React/Elm/[or any other language]" >> (SivaSiva app) but... uh, we could not make that Word Puzzle thing you did, >> and that Module (stack) you made would take five time the money and effort >> work. But, ours will look so professional!" >> >> So why will "The Other Thing" look "So Professional?" >> >> Simple: scrolling, easing, bouncing, smooth scrolling, ken burns effects >> and cool transitions. >> >> I am not talking "animation" perse. Just the above. And scrolling is at >> ground zero of these "effects" . It one thing to know, after 20 years of >> HTML, web work, PHP, Javascript, that Livecode "will be the best tool for >> this project in order to bring it to completion in 1/5 the time" >> >> It's totally another thing for LC to stand alongside other languages to be >> tested by newbies who are >> >> a) content producers want to develop apps - photoshop, illustration, >> Sketch expert...-- huge market there, but they have high production >> values, expectations on the "look/feel" of the first card they make. Much >> of which could be easily fix by tweaking the IDE. >> b) a complete newbie e.g 17-year old whose been using a phone for three >> years, and the app he sees "do cool stuff" but he can't make his LC app >> "do cool stuff" >> c) old school programmer who is tired of the horrible world of JS, PHP, >> C++ and wants to have "fun" building solutions. >> >> All three markets have no idea what LC can do. They test drive it, and the >> Achilles Heel kicks in: nothing appears to "work smoothly" (we can't even >> run an animated GIF in LC while doing any else on the phone) and they are >> on to other languages. >> >> Kevin said in an interview in California, that he wanted LiveCode to be in >> the top ten languages... until we fix the Achilles Heel in the "look and >> feel of what you produce" in Livecode, it will never happen. For every 50 >> who register for a trial, I really wonder how many actually "sign up", >> maybe 1-3? They are who see the potential for doing "in house tools/behind >> the scenes software" that don't really care how it looks... >> >> I hope I am wrong...or wish that in 2 years, I will be "wrong" >> >> BR >> >> >> >> >> >> We shouldn't be scripting scrollers. >> >> If the control we placed on the card scrolls, it should scroll. Doesn't >> matter if it's Mac or Windows or Linux. Shouldn't matter if it's iOS or >> Android. >> >> Manually typing an interaction overlay is bizarre savagery better left >> for those with a typing fetish than developers who want to be productive >> using visual development tools like LiveCode. >> >> That this has not been addressed in the product -- even as so many of us >> have scripted libraries to take care of this automatically in script -- >> has always been concerning. >> >> And as we approach the 10th anniversary of iPhone, that this has never >> been taken care of, or even put on a road map, the concern has grown. >> >> Vision, anyone? >> >> #UserExperience >> #EmbraceVisualProgramming >> #xTalksRule >> #SomeoneHasToSayIt >> #WhyIsNoOneSayingIt >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From toolbook at kestner.de Tue Dec 3 03:18:20 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 3 Dec 2019 09:18:20 +0100 Subject: OT: update RDS SSL/TSL certificates at aws Message-ID: <004201d5a9b2$3a820510$af860f30$@kestner.de> Hello, this is a little bit off topic, but I hope I find here some experts and hints to this issue. I have some LC programs which communicate via https to PHP programs on a webserver. Those PHP programs communicate with a RDS database on a aws server. Now I got a mail from aws, that they are going to exchange their SSL/TSL certificates on the server and I have to take action to avoid interruption of my applications. As far as I have understood, I have to do two steps. 1. I have to renew the certificate from my RDS database at aws via the aws console. Ok that seems to be some clicks at the aws console and that's it. But 2. aws says, I should test my applications in an staging environment, if everything works fine with the new certificates. And here comes my question. I have no idea, what to test and what to look for, much less, where in my PHP or even in my LC programs anything reflects to SSL certificates and where I could change anything (and if yes what), if the test would fail. Perhaps I am thinking to complex and all this isn't related to my apps at all, but it scares me, because of the aws announcement "to avoid any broken apps" Has anybody experience with this issue in relation to LC and PHP? Thanks for any hints how to handle this issue Tiemo From matthias_livecode_150811 at m-r-d.de Tue Dec 3 05:24:03 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 3 Dec 2019 11:24:03 +0100 Subject: OT: update RDS SSL/TSL certificates at aws In-Reply-To: <004201d5a9b2$3a820510$af860f30$@kestner.de> References: <004201d5a9b2$3a820510$af860f30$@kestner.de> Message-ID: <370FF497-1F19-4F85-995A-B57B024C4665@m-r-d.de> Tiemo, i have no experiences with AWS. But what i can say is, that when changing an SSL certificate on a server there should no changes be required in the frontend application created with LC. At least here i did not encounter any problems when i switched from unsecure to secure connections or when a server certificate was renewed / replaced. What i?ve encountered in one case was that i?ve received an SSL verification error. I think it was tsnet/curl error 48. As a workaround i used tsNetVerifySSLPeer false to disable verification. Regards, Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 03.12.2019 um 09:18 schrieb Tiemo Hollmann TB via use-livecode >: > > Hello, > > this is a little bit off topic, but I hope I find here some experts and > hints to this issue. > > I have some LC programs which communicate via https to PHP programs on a > webserver. Those PHP programs communicate with a RDS database on a aws > server. > > > > Now I got a mail from aws, that they are going to exchange their SSL/TSL > certificates on the server and I have to take action to avoid interruption > of my applications. As far as I have understood, I have to do two steps. 1. > I have to renew the certificate from my RDS database at aws via the aws > console. Ok that seems to be some clicks at the aws console and that's it. > > But 2. aws says, I should test my applications in an staging environment, if > everything works fine with the new certificates. And here comes my question. > I have no idea, what to test and what to look for, much less, where in my > PHP or even in my LC programs anything reflects to SSL certificates and > where I could change anything (and if yes what), if the test would fail. > > > > Perhaps I am thinking to complex and all this isn't related to my apps at > all, but it scares me, because of the aws announcement "to avoid any broken > apps" > > > > Has anybody experience with this issue in relation to LC and PHP? > > > > Thanks for any hints how to handle this issue > > > > Tiemo > > > > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 3 07:46:39 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 3 Dec 2019 07:46:39 -0500 Subject: Achilles Heel of Livecode In-Reply-To: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> Message-ID: I really am too old-fashion. I see "apps" that have fancy animated effects and spin pretty GIFs while doing some task to let me know that the task is being done.... ... and all I can think is: If they dropped ALL the cute animation crap and spent the CPU cycles on doing the task I wanted done, it would get done in HALF the time! I should probably go back to using a command line interface. From colinholgate at gmail.com Tue Dec 3 08:03:23 2019 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 3 Dec 2019 08:03:23 -0500 Subject: Achilles Heel of Livecode In-Reply-To: References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> Message-ID: <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> For Mickey Mouse, he would have been updated 12 times per second, and almost all cartoons you?ve ever watched were animated at 12 frames per second. The film was projected at 24 frames per second, and all normal movies you?ve seen in a cinema were also at 24 frame per second. PAL TV is 25 frames per second, and NTSC is 30 frame per second. So, those frame rates are clearly acceptable. But, they are animations and not scrolling. With scrolling, updates of 12 per second are very noticeable, and even 30 frame per second can be seen as not smooth. Open a browser on a mobile device and scroll the page. It?s smoothly updating at 60 frame per second. I think that?s what people are asking for, not animated GIFs. From richmondmathewson at gmail.com Tue Dec 3 08:49:47 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 3 Dec 2019 15:49:47 +0200 Subject: Achilles Heel of Livecode In-Reply-To: <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> Message-ID: <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> OK, OK . . . So, if I have a series of images being flipped-through inside a graphic 'frame' and DON'T have any *wait* statements the thing happens so quickly I cannot see the animation at all: so, to get 60 frames a second, presumably, one has to have a *wait 1 tick* statement between each frame change? That is easy to do with frame animations . . . Bit is it re scrolling? On 3.12.19 15:03, Colin Holgate via use-livecode wrote: > For Mickey Mouse, he would have been updated 12 times per second, and almost all cartoons you?ve ever watched were animated at 12 frames per second. The film was projected at 24 frames per second, and all normal movies you?ve seen in a cinema were also at 24 frame per second. PAL TV is 25 frames per second, and NTSC is 30 frame per second. So, those frame rates are clearly acceptable. > > But, they are animations and not scrolling. With scrolling, updates of 12 per second are very noticeable, and even 30 frame per second can be seen as not smooth. Open a browser on a mobile device and scroll the page. It?s smoothly updating at 60 frame per second. I think that?s what people are asking for, not animated GIFs. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From e.beugelaar at me.com Tue Dec 3 09:32:45 2019 From: e.beugelaar at me.com (Erik Beugelaar) Date: Tue, 03 Dec 2019 15:32:45 +0100 Subject: Achilles Heel of Livecode In-Reply-To: <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> Message-ID: <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> If you want to have a really sexy development with fancy animation stuff, take a look at the brochure of WinDev. It's a French based company so I don't have to add any comment ;-) https://www.pcsoft-windev-webdev.com/WX24-Features.pdf?201906121510 ?On 03/12/2019, 14:50, "use-livecode on behalf of Richmond via use-livecode" wrote: OK, OK . . . So, if I have a series of images being flipped-through inside a graphic 'frame' and DON'T have any *wait* statements the thing happens so quickly I cannot see the animation at all: so, to get 60 frames a second, presumably, one has to have a *wait 1 tick* statement between each frame change? That is easy to do with frame animations . . . Bit is it re scrolling? On 3.12.19 15:03, Colin Holgate via use-livecode wrote: > For Mickey Mouse, he would have been updated 12 times per second, and almost all cartoons you?ve ever watched were animated at 12 frames per second. The film was projected at 24 frames per second, and all normal movies you?ve seen in a cinema were also at 24 frame per second. PAL TV is 25 frames per second, and NTSC is 30 frame per second. So, those frame rates are clearly acceptable. > > But, they are animations and not scrolling. With scrolling, updates of 12 per second are very noticeable, and even 30 frame per second can be seen as not smooth. Open a browser on a mobile device and scroll the page. It?s smoothly updating at 60 frame per second. I think that?s what people are asking for, not animated GIFs. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Tue Dec 3 14:19:12 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 3 Dec 2019 14:19:12 -0500 Subject: Achilles Heel of Livecode In-Reply-To: <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> Message-ID: <8411383F-9B30-49B5-B05E-B0A6849AADF3@all-auctions.com> Try writing a serious arcade game with LiveCode. Sorry but it just isn?t up to the task as it isn?t fast enough. Remember Compile-It for Hypercard? Perhaps we need something similar for LiveCode that would run at standalone creation time, or whenever we request it for that extra-speed. I know the system took a big hit with Unicode, so how about the option to turn it off for programs requiring super speed? Just my 2 cents. :-) Enjoy your day! Rick From ambassador at fourthworld.com Tue Dec 3 14:24:32 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 3 Dec 2019 11:24:32 -0800 Subject: Achilles Heel of Livecode In-Reply-To: References: Message-ID: <8dcd1ff6-a731-a950-bf1a-e112ad336fbd@fourthworld.com> Paul Dupuis wrote: > I see "apps" that have fancy animated effects and spin pretty GIFs > while doing some task to let me know that the task is being done.... > > ... and all I can think is: If they dropped ALL the cute animation > crap and spent the CPU cycles on doing the task I wanted done, it > would get done in HALF the time! With modern multi-core systems, small independent tasks like threaded GIFs would not impair performance of core business logic. Indeed, without even the option of threaded GIF playback, it isn't possible to make a progress indicator that doesn't affect overall performance, in addition to having disturbingly jerky appearance. But consider other common UI conventions, like a swipe transition. Swipes are common in mobile apps, very satisfying on touch devices, do not impair core logic performance - and are nearly impossible to implement in LC without an engine enhancement (or obviating the benefits of the card metaphor by putting your entire UI into groups on one card and hand-crafting your swipe handling). -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Dec 3 14:29:44 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 3 Dec 2019 11:29:44 -0800 Subject: Achilles Heel of Livecode In-Reply-To: <8411383F-9B30-49B5-B05E-B0A6849AADF3@all-auctions.com> References: <8411383F-9B30-49B5-B05E-B0A6849AADF3@all-auctions.com> Message-ID: <3a1e9c1d-2400-6f27-8206-17ea19c30785@fourthworld.com> Rick Harrison wrote: > Try writing a serious arcade game with LiveCode. > Sorry but it just isn?t up to the task as it isn?t fast > enough. Agreed, but I don't know what the solution is. Maybe Mark Waddingham can chime in here with guidance. > Remember Compile-It for Hypercard? Perhaps > we need something similar for LiveCode that > would run at standalone creation time, or > whenever we request it for that extra-speed. If you've ever slugged through trying to actually build an external with Compile-It, I think you'll agree it's not the answer here. Moreover, simply having access to any compiler won't do much for the engine's rendering algo. Deep revisions at the engine level would be needed for any significant boost to *rendering* performance. > I know the system took a big hit with Unicode, > so how about the option to turn it off for programs > requiring super speed? Unicode does impact many text operations, but has minimal impact on rendering. The switch to Skia as the rendering engine is likely more relevant, and occurred during a similar time period. But since Skia is so widely used by so many apps, I'd like to believe there's a way LC can use to get results on par with other systems that use it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dunbarx at aol.com Tue Dec 3 14:38:47 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 3 Dec 2019 19:38:47 +0000 (UTC) Subject: Achilles Heel of Livecode In-Reply-To: <8411383F-9B30-49B5-B05E-B0A6849AADF3@all-auctions.com> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> <8411383F-9B30-49B5-B05E-B0A6849AADF3@all-auctions.com> Message-ID: <86556357.5492318.1575401927147@mail.yahoo.com> I used Compile-it forever. It was faster than the compiled v.2x HC by orders of magnitude. But, and this is hardly a fair test, I get over 8 million passes per second through a repeat loop in LC if I do not tax it overmuch, say, adding 1 to a variable on each pass. The point is, how much more speed can be garnered if a new complier was attached to the engine? Craig -----Original Message----- From: Rick Harrison via use-livecode To: How to use LiveCode Cc: Rick Harrison Sent: Tue, Dec 3, 2019 2:20 pm Subject: Re: Achilles Heel of Livecode Try writing a serious arcade game with LiveCode. Sorry but it just isn?t up to the task as it isn?t fast enough. Remember Compile-It for Hypercard?? Perhaps we need something similar for LiveCode that would run at standalone creation time, or whenever we request it for that extra-speed. I know the system took a big hit with Unicode, so how about the option to turn it off for programs requiring super speed? Just my 2 cents.? :-) Enjoy your day! Rick _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 3 14:43:47 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 3 Dec 2019 13:43:47 -0600 Subject: Achilles Heel of Livecode In-Reply-To: <8dcd1ff6-a731-a950-bf1a-e112ad336fbd@fourthworld.com> References: <8dcd1ff6-a731-a950-bf1a-e112ad336fbd@fourthworld.com> Message-ID: <24ae708d-51cd-6563-f7da-9072cb1d55cb@hyperactivesw.com> On 12/3/19 1:24 PM, Richard Gaskin via use-livecode wrote: > But consider other common UI conventions, like a swipe transition. This is one of my top wish-list items for mobile. Visual effects aren't the same, the swipe needs to follow the user's finger. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Tue Dec 3 15:25:40 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 3 Dec 2019 12:25:40 -0800 Subject: Achilles Heel of Livecode In-Reply-To: <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> Message-ID: On 12/3/19 6:32 AM, Erik Beugelaar via use-livecode wrote: > If you want to have a really sexy development with fancy animation stuff, take a look at the brochure of WinDev. > It's a French based company so I don't have to add any comment ;-) > > https://www.pcsoft-windev-webdev.com/WX24-Features.pdf?201906121510 Thanks. Looks interesting, but appears to be Windows-only. -- Mark Wieder ahsoftware at gmail.com From jjs at krutt.org Tue Dec 3 15:55:25 2019 From: jjs at krutt.org (JJS) Date: Tue, 3 Dec 2019 21:55:25 +0100 Subject: Achilles Heel of Livecode In-Reply-To: <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> Message-ID: Their website is terrible to see what the product actually is and does. But ok after looking for a while i thought wow, if can do all that. And you only need to pay once as far as i can see, although it might be a lot more. It offers Java, iOs, Android, Windows, Mac, PHP, Linux, Win ce, Iot... Going to test a trialversion, it downloads almost 3GB at install, let's see how it works. Op 3-12-2019 om 15:32 schreef Erik Beugelaar via use-livecode: > If you want to have a really sexy development with fancy animation stuff, take a look at the brochure of WinDev. > It's a French based company so I don't have to add any comment ;-) > > https://www.pcsoft-windev-webdev.com/WX24-Features.pdf?201906121510 > > > > ?On 03/12/2019, 14:50, "use-livecode on behalf of Richmond via use-livecode" wrote: > > OK, OK . . . > > So, if I have a series of images being flipped-through inside a graphic > 'frame' and DON'T > have any *wait* statements the thing happens so quickly I cannot see the > animation at all: so, to get > 60 frames a second, presumably, one has to have a *wait 1 tick* > statement between each frame change? > > That is easy to do with frame animations . . . > > Bit is it re scrolling? > > On 3.12.19 15:03, Colin Holgate via use-livecode wrote: > > For Mickey Mouse, he would have been updated 12 times per second, and almost all cartoons you?ve ever watched were animated at 12 frames per second. The film was projected at 24 frames per second, and all normal movies you?ve seen in a cinema were also at 24 frame per second. PAL TV is 25 frames per second, and NTSC is 30 frame per second. So, those frame rates are clearly acceptable. > > > > But, they are animations and not scrolling. With scrolling, updates of 12 per second are very noticeable, and even 30 frame per second can be seen as not smooth. Open a browser on a mobile device and scroll the page. It?s smoothly updating at 60 frame per second. I think that?s what people are asking for, not animated GIFs. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From e.beugelaar at me.com Tue Dec 3 18:40:34 2019 From: e.beugelaar at me.com (e.beugelaar at me.com) Date: Tue, 3 Dec 2019 23:40:34 +0000 (UTC) Subject: Achilles Heel of Livecode In-Reply-To: References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> Message-ID: <37B5B0467E8679C9.f5c9cf97-a0c2-4494-84ee-7638fce093ca@mail.outlook.com> My comment was meant as a joke by the way not to promote the product!The brochure was funny to me because of the used graphics. Best,Erik On Tue, Dec 3, 2019 at 9:26 PM +0100, "Mark Wieder via use-livecode" wrote: On 12/3/19 6:32 AM, Erik Beugelaar via use-livecode wrote: > If you want to have a really sexy development with fancy animation stuff, take a look at the brochure of WinDev. > It's a French based company so I don't have to add any comment ;-) > > https://www.pcsoft-windev-webdev.com/WX24-Features.pdf?201906121510 Thanks. Looks interesting, but appears to be Windows-only. -- 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 curry at pair.com Tue Dec 3 18:57:23 2019 From: curry at pair.com (Curry Kenworthy) Date: Tue, 3 Dec 2019 18:57:23 -0500 Subject: Achilles Heel of Livecode In-Reply-To: <8411383F-9B30-49B5-B05E-B0A6849AADF3@all-auctions.com> References: <8411383F-9B30-49B5-B05E-B0A6849AADF3@all-auctions.com> Message-ID: <338f0452-d916-687d-c50a-79ac7f9cb9e8@pair.com> Rick: > Try writing a serious arcade game with LiveCode. > Sorry but it just isn?t up to the task as it isn?t > fast enough. That contains both true and false elements. True: LC is FAR too slow, and despite some progress lately in partially getting back to where it was, still needs a serious ongoing effort to finish that and then get to where it should be. (Of course such efforts may be hampered by even more fundamental needs such as a sustainable net level of bugs and quality/reliability. Hasty code can be very expensive, and doubly so in the long run.) False: Because indeed you can. It's up to the coder. Games tend to push the limits of hardware and/or software, so developing games is a great way to build skills that many people lack. Not being able to write an arcade game with LiveCode means there is a big opportunity to learn and experience more about game design methods and history. Including amazing games on some very limited platforms. I think every coder should have some experience on a system with limited speed and memory; otherwise people are undisciplined and it's difficult to hone technique. Think optimization x 10, plus cunning choices. What we see in games isn't all just brute strength with first-thought design and code. I've already demo'd LC arcade game on video at least once, on a budget PC, so there's no question. And published games in the past. Too busy keeping up with other work and LC bugs to finish a new game lately, but it's not hard. FPS won't be the strongest point for anything LC, but that's why it's called game DESIGN and not "today it rained; ah yes, and also a game happened." Yes, including arcade. But I agree - LC is too slow, and it impacts what people can do with it. Games are a good example, but actually the least of my concerns in that regard! > I know the system took a big hit with Unicode Not just Unicode. The system took a big hit with 7, period. A lot of code in a short time with a lot of problems. In many areas; speed is only one. Still devoting a large portion of my life to help find, report, and workaround 7-9 bugs and changes, yes including slowdowns, but many other issues and also some new limitations. A solid IDE would help too. Previously donated many hours of my time and invested my sales proceeds back to cover time helping to debug 7 and 8. Client deadlines first, so I still haven't gotten some my own products fully in line yet with all of LC's 7-9 bugs, changes, and limits. LC is a fast-moving target in terms of bugs and breaking changes, if not in terms of FPS! Try that for a real-life arcade game shoot-em-up. :) Anyway, don't let that dampen the pre-Christmas cheer: A) Peace on earth and Goodwill toward men, hopefully. B) Some good LC features and updates in the last few years. C) Some LC speed improvements during 9. Half-way toward where it used to be in 6, although even that was way behind JS for instance. D) Some good bug fixes; just need to realize the reality of bug sustainability vs team coder hours and budget, and therefore embrace higher quality. E) Positivi-tay - Bugs? What bugs? See no evil, speak no evil. J/K of course. F) Yes, you can make games, fast LCS utilities, good animations, and other cool stuff in LCS if you hone skills and practice code discipline and improvement. This is proven fact, not opinion. G) I (and others) help people achieve such things when they have problems. LC users are releasing amazing products. H) There are other great things in the works - can't say more at this time. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Tue Dec 3 19:10:35 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 3 Dec 2019 16:10:35 -0800 Subject: Achilles Heel of Livecode In-Reply-To: <37B5B0467E8679C9.f5c9cf97-a0c2-4494-84ee-7638fce093ca@mail.outlook.com> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> <37B5B0467E8679C9.f5c9cf97-a0c2-4494-84ee-7638fce093ca@mail.outlook.com> Message-ID: On 12/3/19 3:40 PM, Erik Beugelaar via use-livecode wrote: > My comment was meant as a joke by the way not to promote the product!The brochure was funny to me because of the used graphics. Yes, I got the part about it being a joke. And that pdf is unbearably hard to read. Nonetheless, there are some *very* interesting ideas there. -- Mark Wieder ahsoftware at gmail.com From bob at bobhall.net Tue Dec 3 19:16:25 2019 From: bob at bobhall.net (bob at bobhall.net) Date: Tue, 3 Dec 2019 19:16:25 -0500 Subject: NEW cuid library stack Message-ID: <7D8220F3-5833-4ACB-8CA7-38FD8A9D9A1E@bobhall.net> I created a new library stack to create cuid compliant unique ids in Livecode. What the heck is a cuid you ask? Well, in a nutshell, a cuid is a "portable and sequentially-ordered unique identifier designed for horizontal scalability and speed". You can use a cuid just like you would a UUID. Where are cuid?s used? I ran across them when working on a couple GraphQL projects. The main reason I created the library is so Livecode apps I work on can play nicely with the GraphQL backend that uses cuid?s for record ids. There is a performance hit when using this library compared to using Livecode?s built in UUID function. On my old mac book, 10,000 cuids can be generated typically in under 500ms. For me it is plenty fast enough (typically you create 1 cuid at a time). I did come across one limitation in Livecode that made me think a bit ? cuid?s require the current milliseconds since the start of time in base 36. The current milliseconds is too large an integer for Livecode?s base conversion function but I got it worked out. I suspect this logic may be a prime candidate for optimization (see private function _base36convert in library). Of course this work is open sourced and under MIT license. Pull requests welcomed!!! https://github.com/bhall2001/cuid.livecodescript Enjoy! Bob Hall Manchester, NH From ambassador at fourthworld.com Tue Dec 3 19:49:06 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 3 Dec 2019 16:49:06 -0800 Subject: NEW cuid library stack In-Reply-To: <7D8220F3-5833-4ACB-8CA7-38FD8A9D9A1E@bobhall.net> References: <7D8220F3-5833-4ACB-8CA7-38FD8A9D9A1E@bobhall.net> Message-ID: Nice work, Bob - thanks! And thanks for the MIT License. And super-thanks for including this link in your Read Me - very helpful for understanding the goals and design of CUIDs: http://usecuid.org/ -- Richard Gaskin Fourth World Systems Bob Hall wrote: > I created a new library stack to create cuid compliant unique ids in > Livecode. > > What the heck is a cuid you ask? Well, in a nutshell, a cuid is a > "portable and sequentially-ordered unique identifier designed for > horizontal scalability and speed". You can use a cuid just like you > would a UUID. > > Where are cuid?s used? I ran across them when working on a couple > GraphQL projects. The main reason I created the library is so Livecode > apps I work on can play nicely with the GraphQL backend that uses > cuid?s for record ids. > > There is a performance hit when using this library compared to using > Livecode?s built in UUID function. On my old mac book, 10,000 cuids > can be generated typically in under 500ms. For me it is plenty fast > enough (typically you create 1 cuid at a time). > > I did come across one limitation in Livecode that made me think a bit > ? cuid?s require the current milliseconds since the start of time in > base 36. The current milliseconds is too large an integer for > Livecode?s base conversion function but I got it worked out. I suspect > this logic may be a prime candidate for optimization (see private > function _base36convert in library). > > Of course this work is open sourced and under MIT license. Pull > requests welcomed!!! > https://github.com/bhall2001/cuid.livecodescript > > Enjoy! > > Bob Hall > Manchester, NH From martyknappster at gmail.com Tue Dec 3 20:48:17 2019 From: martyknappster at gmail.com (Martin Knapp) Date: Tue, 3 Dec 2019 17:48:17 -0800 Subject: Connecting LC to Xcode Message-ID: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> I?m trying to get set up to build for iOS. I got an iOS development certificate and a provisioning profile. In my standalone setting under iOS I have selected that profile. But when I try to set up Preferences for mobile support, I locate Xcode app bundle per the instructions (version 11.2.1) and I get an error ?The chosen folder is not a valid iOS SDK. Selected Xcode must be an iOS SDK among: 8.2, 9.2, 10.2, 11.2, 12.2? I?ve tried LC version 9.0.5, 9.5.0, 9.5.1 Marty From curry at pair.com Tue Dec 3 21:31:20 2019 From: curry at pair.com (Curry Kenworthy) Date: Tue, 3 Dec 2019 21:31:20 -0500 Subject: Connecting LC to Xcode In-Reply-To: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> Message-ID: LC and Xcode are a wee bit particular which version. Bookmark this page: https://livecode.com/docs/9-5-0/faq/faq/ Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From martyknappster at gmail.com Tue Dec 3 23:16:06 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Tue, 3 Dec 2019 20:16:06 -0800 Subject: Connecting LC to Xcode In-Reply-To: References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> Message-ID: Wow, this is fun. Well thanks to Curry I got a version of Xcode that works (10.1) with LC 9.5 and Mojave. I make a simple app with one button and try to launch in the Simulator and I get an error "The simulator seems to be taking a long time to launch..." Sometimes get another error "Unable to start simulation: Time out waiting for device to start." I try launching the Simulator first, then click the "Test? button in LC and that results in "Unable to start simulation: Failed to install the requested application" > On Dec 3, 2019, at 6:31 PM, Curry Kenworthy via use-livecode wrote: > > > LC and Xcode are a wee bit particular which version. Bookmark this page: > > https://livecode.com/docs/9-5-0/faq/faq/ > > 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 scott at elementarysoftware.com Wed Dec 4 00:59:34 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 3 Dec 2019 21:59:34 -0800 Subject: Connecting LC to Xcode In-Reply-To: References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> Message-ID: <93699529-1081-4D04-915A-DCA66A00D07A@elementarysoftware.com> I found that launching the simulator and getting a device running BEFORE testing from LC often helped. As an aside, since setting up LC 9.6.0(dp1) and xCode 11.1 Ive been unable to get the simulator to load my app. I?m still fiddling to see what how to attack it differently :- ) (If I go back to LC 9.0.5 and xCode 10.1 I can get it to work.) Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Dec 3, 2019, at 8:16 PM, Marty Knapp via use-livecode wrote: > > Wow, this is fun. Well thanks to Curry I got a version of Xcode that works (10.1) with LC 9.5 and Mojave. I make a simple app with one button and try to launch in the Simulator and I get an error "The simulator seems to be taking a long time to launch..." Sometimes get another error "Unable to start simulation: Time out waiting for device to start." > > I try launching the Simulator first, then click the "Test? button in LC and that results in "Unable to start simulation: Failed to install the requested application" > >> On Dec 3, 2019, at 6:31 PM, Curry Kenworthy via use-livecode wrote: >> >> >> LC and Xcode are a wee bit particular which version. Bookmark this page: >> >> https://livecode.com/docs/9-5-0/faq/faq/ >> >> 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 merakosp at gmail.com Wed Dec 4 02:25:13 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 4 Dec 2019 09:25:13 +0200 Subject: Connecting LC to Xcode In-Reply-To: <93699529-1081-4D04-915A-DCA66A00D07A@elementarysoftware.com> References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> <93699529-1081-4D04-915A-DCA66A00D07A@elementarysoftware.com> Message-ID: Hello all, I usually follow these steps, and I almost never have problems with the simulator: (Note: these instructions are for Xcode11.1, but are applicable to any Xcode version) 0. Make sure the command line tools that will be used by LiveCode are the ones of the correct Xcode: (Launch Xcode 11.1, go to Xcode's menubar and choose Xcode-> Preferences-> Locations and in the Command Line Tools dropdown choose "Xcode 11.1") 1. Open the Simulator from Xcode11.1 (Launch Xcode, go to Xcode's menubar and choose Xcode -> Open Developer Tool -> Simulator 2. Wait until the simulator fully loads, until it shows the device's Home screen 3. You can change device by clicking on the Simulator's app menubar: Hardware -> Device -> iOS 13.1 -> 4. Again, wait until the new simulator device fully loads, until it shows the device's Home screen 5. Now go back to LiveCode, choose the iOS simulator under "Test Target" and finally press the Test button (or choose Development -> "Test") Hope this helps. Kind regards, Panos On Wed, 4 Dec 2019 at 08:00, scott--- via use-livecode < use-livecode at lists.runrev.com> wrote: > I found that launching the simulator and getting a device running BEFORE > testing from LC often helped. As an aside, since setting up LC 9.6.0(dp1) > and xCode 11.1 Ive been unable to get the simulator to load my app. I?m > still fiddling to see what how to attack it differently :- ) > (If I go back to LC 9.0.5 and xCode 10.1 I can get it to work.) > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-800-615-0867 > ------------------------------------------------------ > > On Dec 3, 2019, at 8:16 PM, Marty Knapp via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Wow, this is fun. Well thanks to Curry I got a version of Xcode that > works (10.1) with LC 9.5 and Mojave. I make a simple app with one button > and try to launch in the Simulator and I get an error "The simulator seems > to be taking a long time to launch..." Sometimes get another error "Unable > to start simulation: Time out waiting for device to start." > > > > I try launching the Simulator first, then click the "Test? button in LC > and that results in "Unable to start simulation: Failed to install the > requested application" > > > >> On Dec 3, 2019, at 6:31 PM, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> > >> LC and Xcode are a wee bit particular which version. Bookmark this page: > >> > >> https://livecode.com/docs/9-5-0/faq/faq/ > >> > >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Wed Dec 4 11:10:16 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Dec 2019 16:10:16 +0000 Subject: Connecting LC to Xcode In-Reply-To: References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> <93699529-1081-4D04-915A-DCA66A00D07A@elementarysoftware.com> Message-ID: <2D952C47-0195-49B3-80FD-994AFD504AFF@iotecdigital.com> I love the way your steps are numbered 0 - 5. Very techy. :-) Bob S > On Dec 3, 2019, at 23:25 , panagiotis merakos via use-livecode wrote: > > Hello all, > > I usually follow these steps, and I almost never have problems with the > simulator: > > (Note: these instructions are for Xcode11.1, but are applicable to any > Xcode version) > > 0. Make sure the command line tools that will be used by LiveCode are the > ones of the correct Xcode: > (Launch Xcode 11.1, go to Xcode's menubar and choose Xcode-> Preferences-> > Locations and in the Command Line Tools dropdown choose "Xcode 11.1") From martyknappster at gmail.com Wed Dec 4 12:54:11 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 4 Dec 2019 09:54:11 -0800 Subject: Connecting LC to Xcode In-Reply-To: References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> <93699529-1081-4D04-915A-DCA66A00D07A@elementarysoftware.com> Message-ID: Yes those are the steps I?ve tried, only using Xcode 10.1 (couldn?t get LC to accept 11.2). When I click the ?Test? button it starts going through the process of prepping the app then errors out with the message ?Unable to start simulation: Failed to install the requested application? If I change the test target to my actual iPhone it installs it fine, so I guess I?ll just do that. > On Dec 3, 2019, at 11:25 PM, panagiotis merakos via use-livecode wrote: > > Hello all, > > I usually follow these steps, and I almost never have problems with the > simulator: > > (Note: these instructions are for Xcode11.1, but are applicable to any > Xcode version) > > 0. Make sure the command line tools that will be used by LiveCode are the > ones of the correct Xcode: > (Launch Xcode 11.1, go to Xcode's menubar and choose Xcode-> Preferences-> > Locations and in the Command Line Tools dropdown choose "Xcode 11.1") > > 1. Open the Simulator from Xcode11.1 (Launch Xcode, go to Xcode's menubar > and choose > Xcode -> Open Developer Tool -> Simulator > > 2. Wait until the simulator fully loads, until it shows the device's Home > screen > > 3. You can change device by clicking on the Simulator's app menubar: > > Hardware -> Device -> iOS 13.1 -> > > 4. Again, wait until the new simulator device fully loads, until it shows > the > device's Home screen > > 5. Now go back to LiveCode, choose the iOS simulator under "Test Target" > and > finally press the Test button (or choose Development -> "Test") > > Hope this helps. > > Kind regards, > Panos > > > > On Wed, 4 Dec 2019 at 08:00, scott--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I found that launching the simulator and getting a device running BEFORE >> testing from LC often helped. As an aside, since setting up LC 9.6.0(dp1) >> and xCode 11.1 Ive been unable to get the simulator to load my app. I?m >> still fiddling to see what how to attack it differently :- ) >> (If I go back to LC 9.0.5 and xCode 10.1 I can get it to work.) >> >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-800-615-0867 >> ------------------------------------------------------ >>> On Dec 3, 2019, at 8:16 PM, Marty Knapp via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Wow, this is fun. Well thanks to Curry I got a version of Xcode that >> works (10.1) with LC 9.5 and Mojave. I make a simple app with one button >> and try to launch in the Simulator and I get an error "The simulator seems >> to be taking a long time to launch..." Sometimes get another error "Unable >> to start simulation: Time out waiting for device to start." >>> >>> I try launching the Simulator first, then click the "Test? button in LC >> and that results in "Unable to start simulation: Failed to install the >> requested application" >>> >>>> On Dec 3, 2019, at 6:31 PM, Curry Kenworthy via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> >>>> LC and Xcode are a wee bit particular which version. Bookmark this page: >>>> >>>> https://livecode.com/docs/9-5-0/faq/faq/ >>>> >>>> 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 4 13:03:20 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Wed, 04 Dec 2019 18:03:20 +0000 Subject: Connecting LC to Xcode In-Reply-To: Message-ID: <20191204180320.Horde.95CD66SY4ZyrGt-niKoWwsi@oa.serversignin.com> What is your virtual device? I don't have this problem any longer with Xcode 11.1 (required for LC 9.6dp1), but in older versions the default iPad was an iPad Air and the default iPhone was an iPhone 5 (or 5s?) and the Simulator wouldn't fully launch. In the device Simulator you can launch a different device (you can have multiple devices running, but can't choose which device to Test to like you can with Android emulator). Launch a different device by going to the drop-down menu in Simulator and choose Hardware > Device > iOS > That seemed to work consistently for me. YMMV --Andrew Bell > Date: Tue, 3 Dec 2019 20:16:06 -0800 > From: Marty Knapp > Subject: Re: Connecting LC to Xcode > > Wow, this is fun. Well thanks to Curry I got a version of Xcode that > works (10.1) with LC 9.5 and Mojave. I make a simple app with one > button and try to launch in the Simulator and I get an error "The > simulator seems to be taking a long time to launch..." Sometimes get > another error "Unable to start simulation: Time out waiting for > device to start." > > I try launching the Simulator first, then click the "Test? button in > LC and that results in "Unable to start simulation: Failed to > install the requested application" > From ambassador at fourthworld.com Wed Dec 4 13:42:58 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 4 Dec 2019 10:42:58 -0800 Subject: script for standalone builder in pre-/openstack/card In-Reply-To: References: Message-ID: <7e587c70-84d3-80c0-4138-dd2efe979750@fourthworld.com> Klaus wrote: > can someone plaes post the script that we need when building a > standalone so that the building process does not mess with our > pre-openXXX scripts? Know what I mean? > I don't know what to search for... Neither could any newcomer. We don't need to modify our code to account for a critical problem with the Standalone Builder. We need to fix the Standalone Builder. If the build process has become too complicated for the simple and quick binding process this platform used to enjoy, it needs to be a separate process. We discussed this on the MetaCard project some years ago. I don't believe building a standalone in a separate process is harder than what we're attempting -- and failing at -- now. Indeed, given the layers of workarounds needed for the current complexity, it should be much simpler. And a MUCH better first impression for new users. #SomeoneHasToSayIt #WhyIsNoOneSayingIt -- 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 merakosp at gmail.com Wed Dec 4 14:36:29 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 4 Dec 2019 21:36:29 +0200 Subject: Connecting LC to Xcode In-Reply-To: References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> <93699529-1081-4D04-915A-DCA66A00D07A@elementarysoftware.com> Message-ID: Hello Marty, Hehe, OK, I think I know where the problem is. I had the same problem and spent a lot of time trying to figure out the problem, as the error message from the simulator is not informative at all. So, short description of the problem: By installing xcode11.x and its additional components, a couple of new subfolders were created in /Library/Developer/* folder. These new files contain the new CoreSimulator framework (of xcode11.x), which includes some changes. One of these is that it no longer allows installing apps to the simulator that do not include a particular key in the plist. Even if you uninstall Xcode 11 and install Xcode 10.1, this file is not replaced by Xcode10.1's equivalent (because the one from Xcode11 is newer, so it does not allow older ones to overwrite it). Solution: 1. Open Finder, and choose (from Finder's menubar) Go -> Go to Folder and enter /Library/Developer/ 2. Delete the /Library/Developer/ folder (or rename it to /Library/XCode11_Developer/) 3. In the terminal, type sudo xcode-select --install and press enter. This will show a dialog asking the user to agree to xcode's terms and conditions and then to install the additional components. Click "I agree" and then "Yes install them" 4. This will create a new folder /Library/Developer/, which will contain the correct additional components (i.e. including the CoreSimulator framework) from Xcode 10.1 5. Now type in the the Terminal sudo xcode-select -s This will hopefully work. Then, make sure you follow the instructions from the previous post (i.e. to launch the simulator first and then click "Test" in LC) Kind regards, Panos -- On Wed, 4 Dec 2019 at 19:55, Marty Knapp via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes those are the steps I?ve tried, only using Xcode 10.1 (couldn?t get LC > to accept 11.2). When I click the ?Test? button it starts going through the > process of prepping the app then errors out with the message ?Unable to > start simulation: Failed to install the requested application? > > If I change the test target to my actual iPhone it installs it fine, so I > guess I?ll just do that. > > > On Dec 3, 2019, at 11:25 PM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello all, > > > > I usually follow these steps, and I almost never have problems with the > > simulator: > > > > (Note: these instructions are for Xcode11.1, but are applicable to any > > Xcode version) > > > > 0. Make sure the command line tools that will be used by LiveCode are the > > ones of the correct Xcode: > > (Launch Xcode 11.1, go to Xcode's menubar and choose Xcode-> > Preferences-> > > Locations and in the Command Line Tools dropdown choose "Xcode 11.1") > > > > 1. Open the Simulator from Xcode11.1 (Launch Xcode, go to Xcode's menubar > > and choose > > Xcode -> Open Developer Tool -> Simulator > > > > 2. Wait until the simulator fully loads, until it shows the device's Home > > screen > > > > 3. You can change device by clicking on the Simulator's app menubar: > > > > Hardware -> Device -> iOS 13.1 -> > > > > 4. Again, wait until the new simulator device fully loads, until it shows > > the > > device's Home screen > > > > 5. Now go back to LiveCode, choose the iOS simulator under "Test Target" > > and > > finally press the Test button (or choose Development -> "Test") > > > > Hope this helps. > > > > Kind regards, > > Panos > > > > > > > > On Wed, 4 Dec 2019 at 08:00, scott--- via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> I found that launching the simulator and getting a device running BEFORE > >> testing from LC often helped. As an aside, since setting up LC > 9.6.0(dp1) > >> and xCode 11.1 Ive been unable to get the simulator to load my app. I?m > >> still fiddling to see what how to attack it differently :- ) > >> (If I go back to LC 9.0.5 and xCode 10.1 I can get it to work.) > >> > >> Scott Morrow > >> > >> Elementary Software > >> (Now with 20% less chalk dust!) > >> web https://elementarysoftware.com/ > >> email scott at elementarysoftware.com > >> booth 1-800-615-0867 > >> ------------------------------------------------------ > >>> On Dec 3, 2019, at 8:16 PM, Marty Knapp via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> Wow, this is fun. Well thanks to Curry I got a version of Xcode that > >> works (10.1) with LC 9.5 and Mojave. I make a simple app with one button > >> and try to launch in the Simulator and I get an error "The simulator > seems > >> to be taking a long time to launch..." Sometimes get another error > "Unable > >> to start simulation: Time out waiting for device to start." > >>> > >>> I try launching the Simulator first, then click the "Test? button in LC > >> and that results in "Unable to start simulation: Failed to install the > >> requested application" > >>> > >>>> On Dec 3, 2019, at 6:31 PM, Curry Kenworthy via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> > >>>> LC and Xcode are a wee bit particular which version. Bookmark this > page: > >>>> > >>>> https://livecode.com/docs/9-5-0/faq/faq/ > >>>> > >>>> 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 > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 4 15:29:49 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Wed, 04 Dec 2019 20:29:49 +0000 Subject: iOS dark mode Message-ID: <20191204202949.Horde.k7O7y5ny12T_iUz6OiQOtQX@oa.serversignin.com> Is there a way to determine if an iOS device has dark mode ("Dark Appearance") enabled from within a LiveCode app? The inherited default text color of a field is black, but is changed to white by the OS when this mode is enabled (on a white background in this case which makes it appear invisible). This seems to only affect native mobile text fields, but not LC text fields. There is a feature enhancement to support dark mode for macOS, but I didn't see any reports for iOS. https://quality.livecode.com/show_bug.cgi?id=22221 I'm not asking for an engine change, just curious if there is a way to check this so I can code around it. Perhaps mergNotify? --Andrew Bell From lists at mangomultimedia.com Wed Dec 4 15:46:10 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 4 Dec 2019 14:46:10 -0600 Subject: iOS dark mode In-Reply-To: <20191204202949.Horde.k7O7y5ny12T_iUz6OiQOtQX@oa.serversignin.com> References: <20191204202949.Horde.k7O7y5ny12T_iUz6OiQOtQX@oa.serversignin.com> Message-ID: On Wed, Dec 4, 2019 at 2:30 PM Andrew Bell via use-livecode < use-livecode at lists.runrev.com> wrote: > Is there a way to determine if an iOS device has dark mode ("Dark > Appearance") enabled from within a LiveCode app? > > The inherited default text color of a field is black, but is changed > to white by the OS when this mode is enabled (on a white background in > this case which makes it appear invisible). This seems to only affect > native mobile text fields, but not LC text fields. > > There is a feature enhancement to support dark mode for macOS, but I > didn't see any reports for iOS. > https://quality.livecode.com/show_bug.cgi?id=22221 > > I'm not asking for an engine change, just curious if there is a way to > check this so I can code around it. Perhaps mergNotify? > I don't know of a way to check this from within LiveCode using existing tools. There is an API for checking which is documented here: https://developer.apple.com/documentation/uikit/uitraitcollection/1651063-userinterfacestyle?language=objc It should be possible to wrap that API using LiveCode Builder. From what I've read, I think you also need to respond to a trailCollectionDidChange message in case the user changes the setting while your app is open: https://developer.apple.com/documentation/uikit/uitraitenvironment/1623516-traitcollectiondidchange?language=objc The easier (temporary) solution would be to tell the OS to use light appearance for your app. It looks like there is an Info.plist key that you can add which will force your app to use the light appearance. Perhaps that will help in your situation? https://developer.apple.com/documentation/xcode/supporting_dark_mode_in_your_interface/choosing_a_specific_interface_style_for_your_ios_app?language=objc#3234550 -- Trevor DeVore ScreenSteps www.screensteps.com From martyknappster at gmail.com Wed Dec 4 18:48:01 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 4 Dec 2019 15:48:01 -0800 Subject: Connecting LC to Xcode In-Reply-To: References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> <93699529-1081-4D04-915A-DCA66A00D07A@elementarysoftware.com> Message-ID: <70C21CA8-F65F-4D57-AB84-F43966506B09@gmail.com> OK I took those steps but now when I launch Simulator I get this error: ?Unable to boot device because it cannot be located on disk. Us eat device manager in Xcode of the simctl command line tool to either delete the device properly or erase the contents and settings.? I try selecting a device from the Hardware menu and can sometimes get one to load but then when I test from LC I get this error: ?Unable to start simulator: 634,0,0,unknown C++ exception 573,228,1,revIPhoneSetSimulatorSDK" There is a new Developer folder (I renamed the folder for 11.2). I looked in Preferences and removed everything that looked like it belonged to Xcode. > On Dec 4, 2019, at 11:36 AM, panagiotis merakos via use-livecode wrote: > > Hello Marty, > > Hehe, OK, I think I know where the problem is. I had the same problem and > spent a lot of time trying to figure out the problem, as the error message > from the simulator is not informative at all. So, short description of the > problem: > > By installing xcode11.x and its additional components, a couple of new > subfolders were created in /Library/Developer/* folder. These new files > contain the new CoreSimulator framework (of xcode11.x), which includes some > changes. One of these is that it no longer allows installing apps to the > simulator that do not include a particular key in the plist. Even if you > uninstall Xcode 11 and install Xcode 10.1, this file is not replaced by > Xcode10.1's equivalent (because the one from Xcode11 is newer, so it does > not allow older ones to overwrite it). > > Solution: > > 1. Open Finder, and choose (from Finder's menubar) Go -> Go to Folder and > enter /Library/Developer/ > 2. Delete the /Library/Developer/ folder (or rename it to > /Library/XCode11_Developer/) > 3. In the terminal, type sudo xcode-select --install and press enter. This > will show a dialog asking the user to agree to xcode's terms and conditions > and then to install the additional components. Click "I agree" and then > "Yes install them" > 4. This will create a new folder /Library/Developer/, which will contain > the correct additional components (i.e. including the CoreSimulator > framework) from Xcode 10.1 > 5. Now type in the the Terminal sudo xcode-select -s > > This will hopefully work. Then, make sure you follow the instructions from > the previous post (i.e. to launch the simulator first and then click "Test" > in LC) > > Kind regards, > Panos > -- > > On Wed, 4 Dec 2019 at 19:55, Marty Knapp via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Yes those are the steps I?ve tried, only using Xcode 10.1 (couldn?t get LC >> to accept 11.2). When I click the ?Test? button it starts going through the >> process of prepping the app then errors out with the message ?Unable to >> start simulation: Failed to install the requested application? >> >> If I change the test target to my actual iPhone it installs it fine, so I >> guess I?ll just do that. >> >>> On Dec 3, 2019, at 11:25 PM, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hello all, >>> >>> I usually follow these steps, and I almost never have problems with the >>> simulator: >>> >>> (Note: these instructions are for Xcode11.1, but are applicable to any >>> Xcode version) >>> >>> 0. Make sure the command line tools that will be used by LiveCode are the >>> ones of the correct Xcode: >>> (Launch Xcode 11.1, go to Xcode's menubar and choose Xcode-> >> Preferences-> >>> Locations and in the Command Line Tools dropdown choose "Xcode 11.1") >>> >>> 1. Open the Simulator from Xcode11.1 (Launch Xcode, go to Xcode's menubar >>> and choose >>> Xcode -> Open Developer Tool -> Simulator >>> >>> 2. Wait until the simulator fully loads, until it shows the device's Home >>> screen >>> >>> 3. You can change device by clicking on the Simulator's app menubar: >>> >>> Hardware -> Device -> iOS 13.1 -> >>> >>> 4. Again, wait until the new simulator device fully loads, until it shows >>> the >>> device's Home screen >>> >>> 5. Now go back to LiveCode, choose the iOS simulator under "Test Target" >>> and >>> finally press the Test button (or choose Development -> "Test") >>> >>> Hope this helps. >>> >>> Kind regards, >>> Panos >>> >>> >>> >>> On Wed, 4 Dec 2019 at 08:00, scott--- via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> I found that launching the simulator and getting a device running BEFORE >>>> testing from LC often helped. As an aside, since setting up LC >> 9.6.0(dp1) >>>> and xCode 11.1 Ive been unable to get the simulator to load my app. I?m >>>> still fiddling to see what how to attack it differently :- ) >>>> (If I go back to LC 9.0.5 and xCode 10.1 I can get it to work.) >>>> >>>> Scott Morrow >>>> >>>> Elementary Software >>>> (Now with 20% less chalk dust!) >>>> web https://elementarysoftware.com/ >>>> email scott at elementarysoftware.com >>>> booth 1-800-615-0867 >>>> ------------------------------------------------------ >>>>> On Dec 3, 2019, at 8:16 PM, Marty Knapp via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Wow, this is fun. Well thanks to Curry I got a version of Xcode that >>>> works (10.1) with LC 9.5 and Mojave. I make a simple app with one button >>>> and try to launch in the Simulator and I get an error "The simulator >> seems >>>> to be taking a long time to launch..." Sometimes get another error >> "Unable >>>> to start simulation: Time out waiting for device to start." >>>>> >>>>> I try launching the Simulator first, then click the "Test? button in LC >>>> and that results in "Unable to start simulation: Failed to install the >>>> requested application" >>>>> >>>>>> On Dec 3, 2019, at 6:31 PM, Curry Kenworthy via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> >>>>>> LC and Xcode are a wee bit particular which version. Bookmark this >> page: >>>>>> >>>>>> https://livecode.com/docs/9-5-0/faq/faq/ >>>>>> >>>>>> 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 >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 4 20:37:41 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 5 Dec 2019 01:37:41 +0000 Subject: Good News! Audio Working with AVKit on iPhone 7 and 8 Message-ID: <2DB3AD93-D1E7-457E-9C7F-01C99AC1D3E1@hindu.org> Yay! Good news! A build with 9.6 dp1 with xCode 11.1 with a fix for the new use of AVKit in iOS. On Test Flight my iPhone 7 and 8 users, who had failures previously on iOS 13+ with the mobile audio player built in LC9.5 ... now report that audio is working! More Apple Caveats: FYI: Don't be surprised or dismayed be the fact that Application Loader is missing in xCode. Go the App Store on the desktop. Search for "Transporter." Now it has an "Add App" on the home screen. After that is the same behavior as Application Loader, and took my SivaSiva.ipa as before. BR From jjs at krutt.org Thu Dec 5 00:32:06 2019 From: jjs at krutt.org (Jjs) Date: Thu, 05 Dec 2019 06:32:06 +0100 Subject: Connecting LC to Xcode In-Reply-To: <70C21CA8-F65F-4D57-AB84-F43966506B09@gmail.com> References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> <93699529-1081-4D04-915A-DCA66A00D07A@elementarysoftware.com> <70C21CA8-F65F-4D57-AB84-F43966506B09@gmail.com> Message-ID: <52F16D75-DEA8-4248-92E3-612FA5612568@krutt.org> Maybe a deinstall of all xcode versions, reboot, reinstall may do a miracle. Seems like strange failures. Marty Knapp via use-livecode schreef op 5 december 2019 00:48:01 CET: >OK I took those steps but now when I launch Simulator I get this error: > >?Unable to boot device because it cannot be located on disk. Us eat >device manager in Xcode of the simctl command line tool to either >delete the device properly or erase the contents and settings.? > >I try selecting a device from the Hardware menu and can sometimes get >one to load but then when I test from LC I get this error: > >?Unable to start simulator: 634,0,0,unknown C++ exception >573,228,1,revIPhoneSetSimulatorSDK" > >There is a new Developer folder (I renamed the folder for 11.2). I >looked in Preferences and removed everything that looked like it >belonged to Xcode. > >> On Dec 4, 2019, at 11:36 AM, panagiotis merakos via use-livecode > wrote: >> >> Hello Marty, >> >> Hehe, OK, I think I know where the problem is. I had the same problem >and >> spent a lot of time trying to figure out the problem, as the error >message >> from the simulator is not informative at all. So, short description >of the >> problem: >> >> By installing xcode11.x and its additional components, a couple of >new >> subfolders were created in /Library/Developer/* folder. These new >files >> contain the new CoreSimulator framework (of xcode11.x), which >includes some >> changes. One of these is that it no longer allows installing apps to >the >> simulator that do not include a particular key in the plist. Even if >you >> uninstall Xcode 11 and install Xcode 10.1, this file is not replaced >by >> Xcode10.1's equivalent (because the one from Xcode11 is newer, so it >does >> not allow older ones to overwrite it). >> >> Solution: >> >> 1. Open Finder, and choose (from Finder's menubar) Go -> Go to Folder >and >> enter /Library/Developer/ >> 2. Delete the /Library/Developer/ folder (or rename it to >> /Library/XCode11_Developer/) >> 3. In the terminal, type sudo xcode-select --install and press enter. >This >> will show a dialog asking the user to agree to xcode's terms and >conditions >> and then to install the additional components. Click "I agree" and >then >> "Yes install them" >> 4. This will create a new folder /Library/Developer/, which will >contain >> the correct additional components (i.e. including the CoreSimulator >> framework) from Xcode 10.1 >> 5. Now type in the the Terminal sudo xcode-select -s > >> >> This will hopefully work. Then, make sure you follow the instructions >from >> the previous post (i.e. to launch the simulator first and then click >"Test" >> in LC) >> >> Kind regards, >> Panos >> -- >> >> On Wed, 4 Dec 2019 at 19:55, Marty Knapp via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Yes those are the steps I?ve tried, only using Xcode 10.1 (couldn?t >get LC >>> to accept 11.2). When I click the ?Test? button it starts going >through the >>> process of prepping the app then errors out with the message ?Unable >to >>> start simulation: Failed to install the requested application? >>> >>> If I change the test target to my actual iPhone it installs it fine, >so I >>> guess I?ll just do that. >>> >>>> On Dec 3, 2019, at 11:25 PM, panagiotis merakos via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello all, >>>> >>>> I usually follow these steps, and I almost never have problems with >the >>>> simulator: >>>> >>>> (Note: these instructions are for Xcode11.1, but are applicable to >any >>>> Xcode version) >>>> >>>> 0. Make sure the command line tools that will be used by LiveCode >are the >>>> ones of the correct Xcode: >>>> (Launch Xcode 11.1, go to Xcode's menubar and choose Xcode-> >>> Preferences-> >>>> Locations and in the Command Line Tools dropdown choose "Xcode >11.1") >>>> >>>> 1. Open the Simulator from Xcode11.1 (Launch Xcode, go to Xcode's >menubar >>>> and choose >>>> Xcode -> Open Developer Tool -> Simulator >>>> >>>> 2. Wait until the simulator fully loads, until it shows the >device's Home >>>> screen >>>> >>>> 3. You can change device by clicking on the Simulator's app >menubar: >>>> >>>> Hardware -> Device -> iOS 13.1 -> >>>> >>>> 4. Again, wait until the new simulator device fully loads, until it >shows >>>> the >>>> device's Home screen >>>> >>>> 5. Now go back to LiveCode, choose the iOS simulator under "Test >Target" >>>> and >>>> finally press the Test button (or choose Development -> "Test") >>>> >>>> Hope this helps. >>>> >>>> Kind regards, >>>> Panos >>>> >>>> >>>> >>>> On Wed, 4 Dec 2019 at 08:00, scott--- via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> I found that launching the simulator and getting a device running >BEFORE >>>>> testing from LC often helped. As an aside, since setting up LC >>> 9.6.0(dp1) >>>>> and xCode 11.1 Ive been unable to get the simulator to load my >app. I?m >>>>> still fiddling to see what how to attack it differently :- ) >>>>> (If I go back to LC 9.0.5 and xCode 10.1 I can get it to work.) >>>>> >>>>> Scott Morrow >>>>> >>>>> Elementary Software >>>>> (Now with 20% less chalk dust!) >>>>> web https://elementarysoftware.com/ >>>>> email scott at elementarysoftware.com >>>>> booth 1-800-615-0867 >>>>> ------------------------------------------------------ >>>>>> On Dec 3, 2019, at 8:16 PM, Marty Knapp via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Wow, this is fun. Well thanks to Curry I got a version of Xcode >that >>>>> works (10.1) with LC 9.5 and Mojave. I make a simple app with one >button >>>>> and try to launch in the Simulator and I get an error "The >simulator >>> seems >>>>> to be taking a long time to launch..." Sometimes get another error >>> "Unable >>>>> to start simulation: Time out waiting for device to start." >>>>>> >>>>>> I try launching the Simulator first, then click the "Test? button >in LC >>>>> and that results in "Unable to start simulation: Failed to install >the >>>>> requested application" >>>>>> >>>>>>> On Dec 3, 2019, at 6:31 PM, Curry Kenworthy via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> >>>>>>> LC and Xcode are a wee bit particular which version. Bookmark >this >>> page: >>>>>>> >>>>>>> https://livecode.com/docs/9-5-0/faq/faq/ >>>>>>> >>>>>>> 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 >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From tore.nilsen at me.com Thu Dec 5 05:37:04 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 05 Dec 2019 10:37:04 -0000 Subject: Map widget and user location Message-ID: <85301f2c-9ce7-4fbc-98f0-ffaa2b2c5439@me.com> I am trying to familiarise myself with the map widget. What I want to do is to get the coordinates for the user location and to set a pin for this location. As it is possible to show the user location in?the map widget, my original idea was to retrieve the information from the widget and apply it to a marker in a mouseUp handler.? If anyone could point me in the right direction I would be a very happy man. Best?regards Tore Nilsen From tom at makeshyft.com Thu Dec 5 07:54:42 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 5 Dec 2019 07:54:42 -0500 Subject: Achilles Heel of Livecode In-Reply-To: References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> <37B5B0467E8679C9.f5c9cf97-a0c2-4494-84ee-7638fce093ca@mail.outlook.com> Message-ID: Wow.......I have never ever seen a website like that. The PDF is the most incredible piece of typesetting the world has ever seen. On Tue, Dec 3, 2019 at 7:11 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/3/19 3:40 PM, Erik Beugelaar via use-livecode wrote: > > My comment was meant as a joke by the way not to promote the product!The > brochure was funny to me because of the used graphics. > > Yes, I got the part about it being a joke. And that pdf is unbearably > hard to read. Nonetheless, there are some *very* interesting ideas 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From e.beugelaar at me.com Thu Dec 5 08:40:46 2019 From: e.beugelaar at me.com (Erik Beugelaar) Date: Thu, 05 Dec 2019 14:40:46 +0100 Subject: Achilles Heel of Livecode In-Reply-To: References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> <37B5B0467E8679C9.f5c9cf97-a0c2-4494-84ee-7638fce093ca@mail.outlook.com> Message-ID: LOL ;-) ?On 05/12/2019, 13:56, "use-livecode on behalf of Tom Glod via use-livecode" wrote: Wow.......I have never ever seen a website like that. The PDF is the most incredible piece of typesetting the world has ever seen. On Tue, Dec 3, 2019 at 7:11 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/3/19 3:40 PM, Erik Beugelaar via use-livecode wrote: > > My comment was meant as a joke by the way not to promote the product!The > brochure was funny to me because of the used graphics. > > Yes, I got the part about it being a joke. And that pdf is unbearably > hard to read. Nonetheless, there are some *very* interesting ideas 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Dec 5 09:38:20 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 5 Dec 2019 09:38:20 -0500 Subject: Achilles Heel of Livecode In-Reply-To: References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> <37B5B0467E8679C9.f5c9cf97-a0c2-4494-84ee-7638fce093ca@mail.outlook.com> Message-ID: <32005E9E-395E-4DD0-8BAA-37E8C8589605@all-auctions.com> Hi Tom, Your comment enticed me to take a look at that PDF. Someone put a lot of work into it for sure! Apparently they wanted a magazine format for it. Perhaps that?s what they are used to doing for their old day job? My eyes still hurt from trying to look at all of the information there. Information overload for me. Rick > On Dec 5, 2019, at 7:54 AM, Tom Glod via use-livecode wrote: > > Wow.......I have never ever seen a website like that. The PDF is the most > incredible piece of typesetting the world has ever seen. From merakosp at gmail.com Thu Dec 5 10:46:30 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 5 Dec 2019 17:46:30 +0200 Subject: Connecting LC to Xcode In-Reply-To: <52F16D75-DEA8-4248-92E3-612FA5612568@krutt.org> References: <71AD7B6F-1361-45CE-AC2A-35BAFF8D6D81@gmail.com> <93699529-1081-4D04-915A-DCA66A00D07A@elementarysoftware.com> <70C21CA8-F65F-4D57-AB84-F43966506B09@gmail.com> <52F16D75-DEA8-4248-92E3-612FA5612568@krutt.org> Message-ID: Indeed, completely re-installing Xcode10.1 at this point will probably fix the problem. Another user in the forum had *exactly* the same problem after following the instructions, and re-installing Xcode10.1 fixed the issue. Kind regards, Panos -- On Thu, 5 Dec 2019 at 07:33, Jjs via use-livecode < use-livecode at lists.runrev.com> wrote: > Maybe a deinstall of all xcode versions, reboot, reinstall may do a > miracle. Seems like strange failures. > > Marty Knapp via use-livecode schreef op 5 > december 2019 00:48:01 CET: > >OK I took those steps but now when I launch Simulator I get this error: > > > >?Unable to boot device because it cannot be located on disk. Us eat > >device manager in Xcode of the simctl command line tool to either > >delete the device properly or erase the contents and settings.? > > > >I try selecting a device from the Hardware menu and can sometimes get > >one to load but then when I test from LC I get this error: > > > >?Unable to start simulator: 634,0,0,unknown C++ exception > >573,228,1,revIPhoneSetSimulatorSDK" > > > >There is a new Developer folder (I renamed the folder for 11.2). I > >looked in Preferences and removed everything that looked like it > >belonged to Xcode. > > > >> On Dec 4, 2019, at 11:36 AM, panagiotis merakos via use-livecode > > wrote: > >> > >> Hello Marty, > >> > >> Hehe, OK, I think I know where the problem is. I had the same problem > >and > >> spent a lot of time trying to figure out the problem, as the error > >message > >> from the simulator is not informative at all. So, short description > >of the > >> problem: > >> > >> By installing xcode11.x and its additional components, a couple of > >new > >> subfolders were created in /Library/Developer/* folder. These new > >files > >> contain the new CoreSimulator framework (of xcode11.x), which > >includes some > >> changes. One of these is that it no longer allows installing apps to > >the > >> simulator that do not include a particular key in the plist. Even if > >you > >> uninstall Xcode 11 and install Xcode 10.1, this file is not replaced > >by > >> Xcode10.1's equivalent (because the one from Xcode11 is newer, so it > >does > >> not allow older ones to overwrite it). > >> > >> Solution: > >> > >> 1. Open Finder, and choose (from Finder's menubar) Go -> Go to Folder > >and > >> enter /Library/Developer/ > >> 2. Delete the /Library/Developer/ folder (or rename it to > >> /Library/XCode11_Developer/) > >> 3. In the terminal, type sudo xcode-select --install and press enter. > >This > >> will show a dialog asking the user to agree to xcode's terms and > >conditions > >> and then to install the additional components. Click "I agree" and > >then > >> "Yes install them" > >> 4. This will create a new folder /Library/Developer/, which will > >contain > >> the correct additional components (i.e. including the CoreSimulator > >> framework) from Xcode 10.1 > >> 5. Now type in the the Terminal sudo xcode-select -s > > > >> > >> This will hopefully work. Then, make sure you follow the instructions > >from > >> the previous post (i.e. to launch the simulator first and then click > >"Test" > >> in LC) > >> > >> Kind regards, > >> Panos > >> -- > >> > >> On Wed, 4 Dec 2019 at 19:55, Marty Knapp via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> Yes those are the steps I?ve tried, only using Xcode 10.1 (couldn?t > >get LC > >>> to accept 11.2). When I click the ?Test? button it starts going > >through the > >>> process of prepping the app then errors out with the message ?Unable > >to > >>> start simulation: Failed to install the requested application? > >>> > >>> If I change the test target to my actual iPhone it installs it fine, > >so I > >>> guess I?ll just do that. > >>> > >>>> On Dec 3, 2019, at 11:25 PM, panagiotis merakos via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Hello all, > >>>> > >>>> I usually follow these steps, and I almost never have problems with > >the > >>>> simulator: > >>>> > >>>> (Note: these instructions are for Xcode11.1, but are applicable to > >any > >>>> Xcode version) > >>>> > >>>> 0. Make sure the command line tools that will be used by LiveCode > >are the > >>>> ones of the correct Xcode: > >>>> (Launch Xcode 11.1, go to Xcode's menubar and choose Xcode-> > >>> Preferences-> > >>>> Locations and in the Command Line Tools dropdown choose "Xcode > >11.1") > >>>> > >>>> 1. Open the Simulator from Xcode11.1 (Launch Xcode, go to Xcode's > >menubar > >>>> and choose > >>>> Xcode -> Open Developer Tool -> Simulator > >>>> > >>>> 2. Wait until the simulator fully loads, until it shows the > >device's Home > >>>> screen > >>>> > >>>> 3. You can change device by clicking on the Simulator's app > >menubar: > >>>> > >>>> Hardware -> Device -> iOS 13.1 -> > >>>> > >>>> 4. Again, wait until the new simulator device fully loads, until it > >shows > >>>> the > >>>> device's Home screen > >>>> > >>>> 5. Now go back to LiveCode, choose the iOS simulator under "Test > >Target" > >>>> and > >>>> finally press the Test button (or choose Development -> "Test") > >>>> > >>>> Hope this helps. > >>>> > >>>> Kind regards, > >>>> Panos > >>>> > >>>> > >>>> > >>>> On Wed, 4 Dec 2019 at 08:00, scott--- via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> I found that launching the simulator and getting a device running > >BEFORE > >>>>> testing from LC often helped. As an aside, since setting up LC > >>> 9.6.0(dp1) > >>>>> and xCode 11.1 Ive been unable to get the simulator to load my > >app. I?m > >>>>> still fiddling to see what how to attack it differently :- ) > >>>>> (If I go back to LC 9.0.5 and xCode 10.1 I can get it to work.) > >>>>> > >>>>> Scott Morrow > >>>>> > >>>>> Elementary Software > >>>>> (Now with 20% less chalk dust!) > >>>>> web https://elementarysoftware.com/ > >>>>> email scott at elementarysoftware.com > >>>>> booth 1-800-615-0867 > >>>>> ------------------------------------------------------ > >>>>>> On Dec 3, 2019, at 8:16 PM, Marty Knapp via use-livecode < > >>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> Wow, this is fun. Well thanks to Curry I got a version of Xcode > >that > >>>>> works (10.1) with LC 9.5 and Mojave. I make a simple app with one > >button > >>>>> and try to launch in the Simulator and I get an error "The > >simulator > >>> seems > >>>>> to be taking a long time to launch..." Sometimes get another error > >>> "Unable > >>>>> to start simulation: Time out waiting for device to start." > >>>>>> > >>>>>> I try launching the Simulator first, then click the "Test? button > >in LC > >>>>> and that results in "Unable to start simulation: Failed to install > >the > >>>>> requested application" > >>>>>> > >>>>>>> On Dec 3, 2019, at 6:31 PM, Curry Kenworthy via use-livecode < > >>>>> use-livecode at lists.runrev.com> wrote: > >>>>>>> > >>>>>>> > >>>>>>> LC and Xcode are a wee bit particular which version. Bookmark > >this > >>> page: > >>>>>>> > >>>>>>> https://livecode.com/docs/9-5-0/faq/faq/ > >>>>>>> > >>>>>>> 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 > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Verstuurd vanaf mijn Android apparaat met K-9 Mail. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Dec 5 11:47:09 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 5 Dec 2019 11:47:09 -0500 Subject: Achilles Heel of Livecode In-Reply-To: <32005E9E-395E-4DD0-8BAA-37E8C8589605@all-auctions.com> References: <85CBD939-30B4-4232-B784-41EEAB254B82@hindu.org> <6E41671D-E82D-4030-B517-1A4894411192@gmail.com> <50b1311c-6980-5965-ba73-445c0734f7b8@gmail.com> <52411AC1-2F35-4D7E-AFD2-CBD3A4FEEDDD@me.com> <37B5B0467E8679C9.f5c9cf97-a0c2-4494-84ee-7638fce093ca@mail.outlook.com> <32005E9E-395E-4DD0-8BAA-37E8C8589605@all-auctions.com> Message-ID: hehehe..... its one of those paradoxical things ...... its so bad....that its so good. On Thu, Dec 5, 2019 at 9:39 AM Rick Harrison via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > Your comment enticed me to take a look at that PDF. > Someone put a lot of work into it for sure! > > Apparently they wanted a magazine format for it. > Perhaps that?s what they are used to doing for their > old day job? > > My eyes still hurt from trying to look at all of the > information there. Information overload for me. > > Rick > > > On Dec 5, 2019, at 7:54 AM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Wow.......I have never ever seen a website like that. The PDF is the > most > > incredible piece of typesetting the world has ever seen. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From benr_mc at cogapp.com Thu Dec 5 12:32:56 2019 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 5 Dec 2019 17:32:56 -0000 Subject: scrollbars on iOS Message-ID: <1eb63dea-0a52-e0f8-e25b-559b04039f7f@cogapp.com> I'm trying to make a very simple app featuring a large browser widget in a small group. Not entirely to my surprise, the browser widget is displayed over the scrollbars of the group (it's cropped to the outer borders of the group, but not taking account of the scrollbars). That's OK I thought (this app is for my own use) - I'll tell the group not to bother displaying scrollbars, and add my own scrollbars outside it, to scroll the group. This works fine on desktop. On iOS (which is what I want it for) the scrollbars sort of work - but they have tiny 'thumbs', the draggable moving bit. I was surprised because I know I've done another iOS app on which the scrollbars seemed to behave normally (with proportional thumbs). When I went to look however, I found that this was a case where I'd had a group displaying its own scrollbars, and that seemed fine. Is there some trick to make normal scrollbars work OK on mobile (specifically iOS)? TIA, Ben From jacque at hyperactivesw.com Thu Dec 5 14:35:56 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 5 Dec 2019 13:35:56 -0600 Subject: XCode 11 requirements Message-ID: <64c63340-8986-8088-2882-3e65434451f8@hyperactivesw.com> In LC 9.6 (dp 1) I get a warning that I can't use XCode 11 (which isn't installed yet anyway) unless I update to Mac OS 10.14.3. My Mac is up to date as far as I know and there is no OS 10.14.3 available in the Mac App Store. I can't update to Catalina until some of my critical software becomes compatible. Is there a way to use XCode 10.1 in Mojave with LC 9.6? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Thu Dec 5 14:56:43 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 5 Dec 2019 21:56:43 +0200 Subject: XCode 11 requirements In-Reply-To: <64c63340-8986-8088-2882-3e65434451f8@hyperactivesw.com> References: <64c63340-8986-8088-2882-3e65434451f8@hyperactivesw.com> Message-ID: That's odd as my Mac Mini is running on MacOS 10.14.6; and as far as I remember it passed through 10.14.3 to get there. Richmond. On 5.12.19 21:35, J. Landman Gay via use-livecode wrote: > In LC 9.6 (dp 1) I get a warning that I can't use XCode 11 (which > isn't installed yet anyway) unless I update to Mac OS 10.14.3. My Mac > is up to date as far as I know and there is no OS 10.14.3 available in > the Mac App Store. I can't update to Catalina until some of my > critical software becomes compatible. > > Is there a way to use XCode 10.1 in Mojave with LC 9.6? From matthias_livecode_150811 at m-r-d.de Thu Dec 5 15:27:08 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 5 Dec 2019 21:27:08 +0100 Subject: XCode 11 requirements In-Reply-To: <64c63340-8986-8088-2882-3e65434451f8@hyperactivesw.com> References: <64c63340-8986-8088-2882-3e65434451f8@hyperactivesw.com> Message-ID: <8D85B583-CD39-4082-85A7-F4C228A31901@m-r-d.de> If your Mac runs Mojave and is up to date then you should have 10.14.6 already installed. If you still have a lower Mojave version installed then you could find the updates for the 10.14.x among the updates for older and news os here https://support.apple.com/downloads/macos Btw the update from 10.14.2 to 10.14.3 can be found here https://support.apple.com/kb/DL1991?viewlocale=en_US&locale=en_US Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 05.12.2019 um 20:35 schrieb J. Landman Gay via use-livecode >: > > In LC 9.6 (dp 1) I get a warning that I can't use XCode 11 (which isn't installed yet anyway) unless I update to Mac OS 10.14.3. My Mac is up to date as far as I know and there is no OS 10.14.3 available in the Mac App Store. I can't update to Catalina until some of my critical software becomes compatible. > > Is there a way to use XCode 10.1 in Mojave with LC 9.6? > -- > 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 andrew at midwestcoastmedia.com Thu Dec 5 15:57:56 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Thu, 05 Dec 2019 20:57:56 +0000 Subject: iOS dark mode In-Reply-To: Message-ID: <20191205205756.Horde.oVxALpy48kEzWJc791k_KyY@oa.serversignin.com> Thank you Trevor! Adding this to my info.plist opted out of Dark Mode: UIUserInterfaceStyle Light Apple's ominous note at the end of that article gives me the impression that before too long (iOS 14?) this override will get the app rejected: "Supporting Dark Mode is strongly encouraged. Use the UIUserInterfaceStyle key to opt out only temporarily while you work on improvements to your app's Dark Mode support." --Andrew Bell > Date: Wed, 4 Dec 2019 14:46:10 -0600 > From: Trevor DeVore > To: How to use LiveCode > Subject: Re: iOS dark mode > > On Wed, Dec 4, 2019 at 2:30 PM Andrew Bell via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Is there a way to determine if an iOS device has dark mode ("Dark >> Appearance") enabled from within a LiveCode app? >> >> The inherited default text color of a field is black, but is changed >> to white by the OS when this mode is enabled (on a white background in >> this case which makes it appear invisible). This seems to only affect >> native mobile text fields, but not LC text fields. >> >> There is a feature enhancement to support dark mode for macOS, but I >> didn't see any reports for iOS. >> https://quality.livecode.com/show_bug.cgi?id=22221 >> >> I'm not asking for an engine change, just curious if there is a way to >> check this so I can code around it. Perhaps mergNotify? >> > > I don't know of a way to check this from within LiveCode using existing > tools. There is an API for checking which is documented here: > > https://developer.apple.com/documentation/uikit/uitraitcollection/1651063-userinterfacestyle?language=objc > > It should be possible to wrap that API using LiveCode Builder. From what > I've read, I think you also need to respond to a trailCollectionDidChange > message in case the user changes the setting while your app is open: > > https://developer.apple.com/documentation/uikit/uitraitenvironment/1623516-traitcollectiondidchange?language=objc > > The easier (temporary) solution would be to tell the OS to use light > appearance for your app. It looks like there is an Info.plist key that you > can add which will force your app to use the light appearance. Perhaps that > will help in your situation? > > https://developer.apple.com/documentation/xcode/supporting_dark_mode_in_your_interface/choosing_a_specific_interface_style_for_your_ios_app?language=objc#3234550 > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com > From curry at pair.com Thu Dec 5 17:42:30 2019 From: curry at pair.com (Curry Kenworthy) Date: Thu, 5 Dec 2019 17:42:30 -0500 Subject: Script Editor disassociates - a lossy LC IDE bug Message-ID: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> Wondering if this bug has already been reported? I've seen a wonderful LC 9 IDE bug: sometimes the Script Editor window seems to disassociate from the object being edited. Thus after this bug is triggered, any typed script changes may not really be applied and saved, although they are shown as applied. Next LC session, those changes are gone; the stack code is still as it was prior to the bug being triggered and prior to editing the script. An alternate form is that the script changes actually are applied, but in a bad way: first the script disassociates completely and is empty, then the empty script is saved, overwriting the previous script. Nice! (I think this is my favorite variation; if we're going to cause loss of work/code, might as well do it boldly and not beat around the bush.) I suspect this happens more on Mac than Windows, but since I don't have a recipe, not sure. I've seen this happen to other people rather than on my own machine. On LC 905 for sure, and probably on 950 also. If Script Editor disassociation does happen, I advise immediate but careful no-save quit or force quit, and pray that you're already in the habit of backing up beforehand. Copy and paste the current script text to an external text editor if necessary. Of course this particular bug just might be able to defeat the safety of stack backups too in some situations, but hey, that's why it's an extra-fabulous bug! So, in addition to being a bit crashy and glitchy, the 9 IDE is a bit work-lossy. That could turn off both new and old users if they are the humor-deficient type to frown on losing some work. But shucks, ain't no thang! Only features features features (and new side projects) matter! Glad we all agree on that. Any reports or recipes on this issue? I'll post a report if there is none. Thanks.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From paul at researchware.com Thu Dec 5 18:04:23 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 5 Dec 2019 18:04:23 -0500 Subject: Script Editor disassociates - a lossy LC IDE bug In-Reply-To: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> References: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> Message-ID: <3b9b93e6-3202-f6f7-78a7-2a5380777f6d@researchware.com> On 12/5/2019 5:42 PM, Curry Kenworthy via use-livecode wrote: > > Wondering if this bug has already been reported? > > I've seen a wonderful LC 9 IDE bug: sometimes the Script Editor window > seems to disassociate from the object being edited. Thus after this > bug is triggered, any typed script changes may not really be applied > and saved, although they are shown as applied. Next LC session, those > changes are gone; the stack code is still as it was prior to the bug > being triggered and prior to editing the script. > > An alternate form is that the script changes actually are applied, but > in a bad way: first the script disassociates completely and is empty, > then the empty script is saved, overwriting the previous script. Nice! > (I think this is my favorite variation; if we're going to cause loss > of work/code, might as well do it boldly and not beat around the bush.) > > I suspect this happens more on Mac than Windows, but since I don't > have a recipe, not sure. I've seen this happen to other people rather > than on my own machine. On LC 905 for sure, and probably on 950 also. > > If Script Editor disassociation does happen, I advise immediate but > careful no-save quit or force quit, and pray that you're already in > the habit of backing up beforehand. Copy and paste the current script > text to an external text editor if necessary. Of course this > particular bug just might be able to defeat the safety of stack > backups too in some situations, but hey, that's why it's an > extra-fabulous bug! > > So, in addition to being a bit crashy and glitchy, the 9 IDE is a bit > work-lossy. That could turn off both new and old users if they are the > humor-deficient type to frown on losing some work. But shucks, ain't > no thang! Only features features features (and new side projects) > matter! Glad we all agree on that. > > Any reports or recipes on this issue? I'll post a report if there is > none. Thanks.... > I saw a similar error in earlier versions of LC9 where the script I was editing was for a different object that what was indicate the Project Browser. So the Project Browser was showing (highlighting) Object A but actually thought it was on Object B. It occurred fairly intermittently. I never developed a recipe and I have not see this in the most recent releases (9.0.5 and 9.5.1) From bobsneidar at iotecdigital.com Thu Dec 5 18:38:40 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 5 Dec 2019 23:38:40 +0000 Subject: Script Editor disassociates - a lossy LC IDE bug In-Reply-To: <3b9b93e6-3202-f6f7-78a7-2a5380777f6d@researchware.com> References: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> <3b9b93e6-3202-f6f7-78a7-2a5380777f6d@researchware.com> Message-ID: > On Dec 5, 2019, at 15:04 , Paul Dupuis via use-livecode wrote: > > On 12/5/2019 5:42 PM, Curry Kenworthy via use-livecode wrote: >> >> Wondering if this bug has already been reported? >> >> I've seen a wonderful LC 9 IDE bug: sometimes the Script Editor window seems to disassociate from the object being edited. Thus after this bug is triggered, any typed script changes may not really be applied and saved, although they are shown as applied. Next LC session, those changes are gone; the stack code is still as it was prior to the bug being triggered and prior to editing the script. >> >> An alternate form is that the script changes actually are applied, but in a bad way: first the script disassociates completely and is empty, then the empty script is saved, overwriting the previous script. Nice! (I think this is my favorite variation; if we're going to cause loss of work/code, might as well do it boldly and not beat around the bush.) >> >> I suspect this happens more on Mac than Windows, but since I don't have a recipe, not sure. I've seen this happen to other people rather than on my own machine. On LC 905 for sure, and probably on 950 also. >> >> If Script Editor disassociation does happen, I advise immediate but careful no-save quit or force quit, and pray that you're already in the habit of backing up beforehand. Copy and paste the current script text to an external text editor if necessary. Of course this particular bug just might be able to defeat the safety of stack backups too in some situations, but hey, that's why it's an extra-fabulous bug! >> >> So, in addition to being a bit crashy and glitchy, the 9 IDE is a bit work-lossy. That could turn off both new and old users if they are the humor-deficient type to frown on losing some work. But shucks, ain't no thang! Only features features features (and new side projects) matter! Glad we all agree on that. >> >> Any reports or recipes on this issue? I'll post a report if there is none. Thanks.... >> > > I saw a similar error in earlier versions of LC9 where the script I was editing was for a different object that what was indicate the Project Browser. So the Project Browser was showing (highlighting) Object A but actually thought it was on Object B. > > It occurred fairly intermittently. I never developed a recipe and I have not see this in the most recent releases (9.0.5 and 9.5.1) > Ditto. Hasn't happened for a while though. Bob S From paul at researchware.com Thu Dec 5 20:01:45 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 5 Dec 2019 20:01:45 -0500 Subject: Script Editor disassociates - a lossy LC IDE bug In-Reply-To: References: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> <3b9b93e6-3202-f6f7-78a7-2a5380777f6d@researchware.com> Message-ID: <0abaae9c-3438-56c5-c7aa-ade3e81c046a@researchware.com> On 12/5/2019 6:38 PM, Bob Sneidar via use-livecode wrote: > >> On Dec 5, 2019, at 15:04 , Paul Dupuis via use-livecode wrote: >> >> On 12/5/2019 5:42 PM, Curry Kenworthy via use-livecode wrote: >>> Wondering if this bug has already been reported? >>> >>> I've seen a wonderful LC 9 IDE bug: sometimes the Script Editor window seems to disassociate from the object being edited. Thus after this bug is triggered, any typed script changes may not really be applied and saved, although they are shown as applied. Next LC session, those changes are gone; the stack code is still as it was prior to the bug being triggered and prior to editing the script. >>> >>> An alternate form is that the script changes actually are applied, but in a bad way: first the script disassociates completely and is empty, then the empty script is saved, overwriting the previous script. Nice! (I think this is my favorite variation; if we're going to cause loss of work/code, might as well do it boldly and not beat around the bush.) >>> >>> I suspect this happens more on Mac than Windows, but since I don't have a recipe, not sure. I've seen this happen to other people rather than on my own machine. On LC 905 for sure, and probably on 950 also. >>> >>> If Script Editor disassociation does happen, I advise immediate but careful no-save quit or force quit, and pray that you're already in the habit of backing up beforehand. Copy and paste the current script text to an external text editor if necessary. Of course this particular bug just might be able to defeat the safety of stack backups too in some situations, but hey, that's why it's an extra-fabulous bug! >>> >>> So, in addition to being a bit crashy and glitchy, the 9 IDE is a bit work-lossy. That could turn off both new and old users if they are the humor-deficient type to frown on losing some work. But shucks, ain't no thang! Only features features features (and new side projects) matter! Glad we all agree on that. >>> >>> Any reports or recipes on this issue? I'll post a report if there is none. Thanks.... >>> >> I saw a similar error in earlier versions of LC9 where the script I was editing was for a different object that what was indicate the Project Browser. So the Project Browser was showing (highlighting) Object A but actually thought it was on Object B. >> >> It occurred fairly intermittently. I never developed a recipe and I have not see this in the most recent releases (9.0.5 and 9.5.1) >> > Ditto. Hasn't happened for a while though. > > Bob S > > Of course, I am not saying that the bug isn't still in the current releases, just that I have not noticed it in the current releases ;-) From tom at makeshyft.com Thu Dec 5 20:11:59 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 5 Dec 2019 20:11:59 -0500 Subject: Script Editor disassociates - a lossy LC IDE bug In-Reply-To: <0abaae9c-3438-56c5-c7aa-ade3e81c046a@researchware.com> References: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> <3b9b93e6-3202-f6f7-78a7-2a5380777f6d@researchware.com> <0abaae9c-3438-56c5-c7aa-ade3e81c046a@researchware.com> Message-ID: Are you all on Mac? This does not ring a bell. On Thu, Dec 5, 2019 at 8:02 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/5/2019 6:38 PM, Bob Sneidar via use-livecode wrote: > > > >> On Dec 5, 2019, at 15:04 , Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> On 12/5/2019 5:42 PM, Curry Kenworthy via use-livecode wrote: > >>> Wondering if this bug has already been reported? > >>> > >>> I've seen a wonderful LC 9 IDE bug: sometimes the Script Editor window > seems to disassociate from the object being edited. Thus after this bug is > triggered, any typed script changes may not really be applied and saved, > although they are shown as applied. Next LC session, those changes are > gone; the stack code is still as it was prior to the bug being triggered > and prior to editing the script. > >>> > >>> An alternate form is that the script changes actually are applied, but > in a bad way: first the script disassociates completely and is empty, then > the empty script is saved, overwriting the previous script. Nice! (I think > this is my favorite variation; if we're going to cause loss of work/code, > might as well do it boldly and not beat around the bush.) > >>> > >>> I suspect this happens more on Mac than Windows, but since I don't > have a recipe, not sure. I've seen this happen to other people rather than > on my own machine. On LC 905 for sure, and probably on 950 also. > >>> > >>> If Script Editor disassociation does happen, I advise immediate but > careful no-save quit or force quit, and pray that you're already in the > habit of backing up beforehand. Copy and paste the current script text to > an external text editor if necessary. Of course this particular bug just > might be able to defeat the safety of stack backups too in some situations, > but hey, that's why it's an extra-fabulous bug! > >>> > >>> So, in addition to being a bit crashy and glitchy, the 9 IDE is a bit > work-lossy. That could turn off both new and old users if they are the > humor-deficient type to frown on losing some work. But shucks, ain't no > thang! Only features features features (and new side projects) matter! Glad > we all agree on that. > >>> > >>> Any reports or recipes on this issue? I'll post a report if there is > none. Thanks.... > >>> > >> I saw a similar error in earlier versions of LC9 where the script I was > editing was for a different object that what was indicate the Project > Browser. So the Project Browser was showing (highlighting) Object A but > actually thought it was on Object B. > >> > >> It occurred fairly intermittently. I never developed a recipe and I > have not see this in the most recent releases (9.0.5 and 9.5.1) > >> > > Ditto. Hasn't happened for a while though. > > > > Bob S > > > > > > Of course, I am not saying that the bug isn't still in the current > releases, just that I have not noticed it in the current releases ;-) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From paul at researchware.com Thu Dec 5 20:29:44 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 5 Dec 2019 20:29:44 -0500 Subject: Script Editor disassociates - a lossy LC IDE bug In-Reply-To: References: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> <3b9b93e6-3202-f6f7-78a7-2a5380777f6d@researchware.com> <0abaae9c-3438-56c5-c7aa-ade3e81c046a@researchware.com> Message-ID: <5051d6a9-1ccf-8e31-bedc-35924d15bb0d@researchware.com> Windows 10 for me On 12/5/2019 8:11 PM, Tom Glod via use-livecode wrote: > Are you all on Mac? This does not ring a bell. > > On Thu, Dec 5, 2019 at 8:02 PM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 12/5/2019 6:38 PM, Bob Sneidar via use-livecode wrote: >>>> On Dec 5, 2019, at 15:04 , Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> On 12/5/2019 5:42 PM, Curry Kenworthy via use-livecode wrote: >>>>> Wondering if this bug has already been reported? >>>>> >>>>> I've seen a wonderful LC 9 IDE bug: sometimes the Script Editor window >> seems to disassociate from the object being edited. Thus after this bug is >> triggered, any typed script changes may not really be applied and saved, >> although they are shown as applied. Next LC session, those changes are >> gone; the stack code is still as it was prior to the bug being triggered >> and prior to editing the script. >>>>> An alternate form is that the script changes actually are applied, but >> in a bad way: first the script disassociates completely and is empty, then >> the empty script is saved, overwriting the previous script. Nice! (I think >> this is my favorite variation; if we're going to cause loss of work/code, >> might as well do it boldly and not beat around the bush.) >>>>> I suspect this happens more on Mac than Windows, but since I don't >> have a recipe, not sure. I've seen this happen to other people rather than >> on my own machine. On LC 905 for sure, and probably on 950 also. >>>>> If Script Editor disassociation does happen, I advise immediate but >> careful no-save quit or force quit, and pray that you're already in the >> habit of backing up beforehand. Copy and paste the current script text to >> an external text editor if necessary. Of course this particular bug just >> might be able to defeat the safety of stack backups too in some situations, >> but hey, that's why it's an extra-fabulous bug! >>>>> So, in addition to being a bit crashy and glitchy, the 9 IDE is a bit >> work-lossy. That could turn off both new and old users if they are the >> humor-deficient type to frown on losing some work. But shucks, ain't no >> thang! Only features features features (and new side projects) matter! Glad >> we all agree on that. >>>>> Any reports or recipes on this issue? I'll post a report if there is >> none. Thanks.... >>>> I saw a similar error in earlier versions of LC9 where the script I was >> editing was for a different object that what was indicate the Project >> Browser. So the Project Browser was showing (highlighting) Object A but >> actually thought it was on Object B. >>>> It occurred fairly intermittently. I never developed a recipe and I >> have not see this in the most recent releases (9.0.5 and 9.5.1) >>> Ditto. Hasn't happened for a while though. >>> >>> Bob S >>> >>> >> Of course, I am not saying that the bug isn't still in the current >> releases, just that I have not noticed it in the current releases ;-) >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From ahsoftware at sonic.net Thu Dec 5 20:38:36 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 5 Dec 2019 17:38:36 -0800 Subject: Script Editor disassociates - a lossy LC IDE bug In-Reply-To: References: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> <3b9b93e6-3202-f6f7-78a7-2a5380777f6d@researchware.com> <0abaae9c-3438-56c5-c7aa-ade3e81c046a@researchware.com> Message-ID: <01e5da84-7abb-0cc3-652c-80ca6af984e6@sonic.net> On 12/5/19 5:11 PM, Tom Glod via use-livecode wrote: > Are you all on Mac? This does not ring a bell. Have seen that on linux although rarely and not recently. And of course didn't notice until after I had saved the script to disk and exited, so there's no recipe. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Fri Dec 6 00:17:08 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 5 Dec 2019 23:17:08 -0600 Subject: XCode 11 requirements In-Reply-To: <8D85B583-CD39-4082-85A7-F4C228A31901@m-r-d.de> References: <64c63340-8986-8088-2882-3e65434451f8@hyperactivesw.com> <8D85B583-CD39-4082-85A7-F4C228A31901@m-r-d.de> Message-ID: <031a3fa9-26be-7921-602f-3ab48238d331@hyperactivesw.com> Thanks, I've downloaded the combo update to get me caught up. The odd thing is that I never received any notifications that OS X updates were available, and apparently I missed six of them. They weren't in the Mac App Store either when I checked. On 12/5/19 2:27 PM, Matthias Rebbe via use-livecode wrote: > If your Mac runs Mojave and is up to date then you should have 10.14.6 already installed. > If you still have a lower Mojave version installed then you could find the updates for the 10.14.x among the updates for older and news os here > > https://support.apple.com/downloads/macos > > Btw the update from 10.14.2 to 10.14.3 can be found here https://support.apple.com/kb/DL1991?viewlocale=en_US&locale=en_US > > > > Matthias Rebbe > > free tools for Livecoders: > InstaMaker > WinSignMaker Mac > >> Am 05.12.2019 um 20:35 schrieb J. Landman Gay via use-livecode >: >> >> In LC 9.6 (dp 1) I get a warning that I can't use XCode 11 (which isn't installed yet anyway) unless I update to Mac OS 10.14.3. My Mac is up to date as far as I know and there is no OS 10.14.3 available in the Mac App Store. I can't update to Catalina until some of my critical software becomes compatible. >> >> Is there a way to use XCode 10.1 in Mojave with LC 9.6? >> -- >> 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 matthias_livecode_150811 at m-r-d.de Fri Dec 6 02:27:45 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 6 Dec 2019 08:27:45 +0100 Subject: XCode 11 requirements In-Reply-To: <031a3fa9-26be-7921-602f-3ab48238d331@hyperactivesw.com> References: <64c63340-8986-8088-2882-3e65434451f8@hyperactivesw.com> <8D85B583-CD39-4082-85A7-F4C228A31901@m-r-d.de> <031a3fa9-26be-7921-602f-3ab48238d331@hyperactivesw.com> Message-ID: <87918CEB-054C-4CDE-A783-6F527E8D5763@m-r-d.de> There is a Software-Update icon in System Preferences, which should at least show up all available updates. There you can also setup if you want to search automatically for updates, load them when available, automatically install them and so on. Maybe the option to automatically search for updates is not enabled. Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 06.12.2019 um 06:17 schrieb J. Landman Gay via use-livecode >: > > Thanks, I've downloaded the combo update to get me caught up. The odd thing is that I never received any notifications that OS X updates were available, and apparently I missed six of them. They weren't in the Mac App Store either when I checked. > > On 12/5/19 2:27 PM, Matthias Rebbe via use-livecode wrote: >> If your Mac runs Mojave and is up to date then you should have 10.14.6 already installed. >> If you still have a lower Mojave version installed then you could find the updates for the 10.14.x among the updates for older and news os here >> https://support.apple.com/downloads/macos > >> Btw the update from 10.14.2 to 10.14.3 can be found here https://support.apple.com/kb/DL1991?viewlocale=en_US&locale=en_US > >> Matthias Rebbe >> free tools for Livecoders: >> InstaMaker > >> WinSignMaker Mac > >>> Am 05.12.2019 um 20:35 schrieb J. Landman Gay via use-livecode >>: >>> >>> In LC 9.6 (dp 1) I get a warning that I can't use XCode 11 (which isn't installed yet anyway) unless I update to Mac OS 10.14.3. My Mac is up to date as far as I know and there is no OS 10.14.3 available in the Mac App Store. I can't update to Catalina until some of my critical software becomes compatible. >>> >>> Is there a way to use XCode 10.1 in Mojave with LC 9.6? >>> -- >>> 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 hh at hyperhh.de Fri Dec 6 05:25:36 2019 From: hh at hyperhh.de (hh) Date: Fri, 6 Dec 2019 11:25:36 +0100 Subject: Script Editor disassociates - a lossy LC IDE bug Message-ID: <65574733-8F5C-4557-B3FE-12D09CFC0994@hyperhh.de> I reported a bug (#18688, Oct 26 - 2016) that is still there in 9.5.0 on Mac 10.15.1. It partially overlaps with your description: [1] Saving a stack while the script editor is open with an unsaved script doesn't save the script. [2] Quitting LC without closing (saved) stack window or SE doesn't save unsaved scripts. > Curry K. wrote: > Wondering if this bug has already been reported? > > I've seen a wonderful LC 9 IDE bug: sometimes the Script Editor window > seems to disassociate from the object being edited. Thus after this bug > is triggered, any typed script changes may not really be applied and > saved, although they are shown as applied. Next LC session, those > changes are gone; the stack code is still as it was prior to the bug > being triggered and prior to editing the script. > > An alternate form is that the script changes actually are applied, but > in a bad way: first the script disassociates completely and is empty, > then the empty script is saved, overwriting the previous script. Nice! > (I think this is my favorite variation; if we're going to cause loss of > work/code, might as well do it boldly and not beat around the bush.) > > I suspect this happens more on Mac than Windows, but since I don't have > a recipe, not sure. I've seen this happen to other people rather than on > my own machine. On LC 905 for sure, and probably on 950 also. > > If Script Editor disassociation does happen, I advise immediate but > careful no-save quit or force quit, and pray that you're already in the > habit of backing up beforehand. Copy and paste the current script text > to an external text editor if necessary. Of course this particular bug > just might be able to defeat the safety of stack backups too in some > situations, but hey, that's why it's an extra-fabulous bug! > > So, in addition to being a bit crashy and glitchy, the 9 IDE is a bit > work-lossy. That could turn off both new and old users if they are the > humor-deficient type to frown on losing some work. But shucks, ain't no > thang! Only features features features (and new side projects) matter! > Glad we all agree on that. > > Any reports or recipes on this issue? I'll post a report if there is > none. Thanks.... From benr_mc at cogapp.com Fri Dec 6 05:29:53 2019 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 6 Dec 2019 10:29:53 -0000 Subject: Script Editor disassociates - a lossy LC IDE bug In-Reply-To: <5051d6a9-1ccf-8e31-bedc-35924d15bb0d@researchware.com> References: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> <3b9b93e6-3202-f6f7-78a7-2a5380777f6d@researchware.com> <0abaae9c-3438-56c5-c7aa-ade3e81c046a@researchware.com> <5051d6a9-1ccf-8e31-bedc-35924d15bb0d@researchware.com> Message-ID: <1c61917b-a249-81f4-a8bf-995bb119438b@cogapp.com> I've seen something similar - on Mac - it may be the same in which case I have some hope for you. The bug I've seen is that I make some changes, run the script, am surprised that my changes haven't fixed the behaviour I'm trying to correct. Twiddle the script, swear, same. I try setting a breakpoint on the code, it doesn't fire. Then I set a breakpoint in another script, which calls this one; and step into the handler that I've been editing. At that point it seems that I am stepping into the version of the code that I've been editing - and my fixes take effect and all is well. So, my inference is that the script editor is holding on to the latest version of the script; but that 'apply' is not doing its job, and - if this is the same as the bug you've seen - the script is also not being actually saved to the object. But stepping into the script in the debugger seems to break it out of this dissociative state - so then you can save the script, and save the stack, and keep your changes. No recipe, but I've seen this a number of times, most recently yesterday. On 06/12/2019 01:29, Paul Dupuis via use-livecode wrote: > Windows 10 for me > > > On 12/5/2019 8:11 PM, Tom Glod via use-livecode wrote: >> Are you all on Mac?? This does not ring a bell. >> >> On Thu, Dec 5, 2019 at 8:02 PM Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On 12/5/2019 6:38 PM, Bob Sneidar via use-livecode wrote: >>>>> On Dec 5, 2019, at 15:04 , Paul Dupuis via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>>> On 12/5/2019 5:42 PM, Curry Kenworthy via use-livecode wrote: >>>>>> Wondering if this bug has already been reported? >>>>>> >>>>>> I've seen a wonderful LC 9 IDE bug: sometimes the Script Editor window >>> seems to disassociate from the object being edited. Thus after this bug is >>> triggered, any typed script changes may not really be applied and saved, >>> although they are shown as applied. Next LC session, those changes are >>> gone; the stack code is still as it was prior to the bug being triggered >>> and prior to editing the script. >>>>>> An alternate form is that the script changes actually are applied, but >>> in a bad way: first the script disassociates completely and is empty, then >>> the empty script is saved, overwriting the previous script. Nice! (I think >>> this is my favorite variation; if we're going to cause loss of work/code, >>> might as well do it boldly and not beat around the bush.) >>>>>> I suspect this happens more on Mac than Windows, but since I don't >>> have a recipe, not sure. I've seen this happen to other people rather than >>> on my own machine. On LC 905 for sure, and probably on 950 also. >>>>>> If Script Editor disassociation does happen, I advise immediate but >>> careful no-save quit or force quit, and pray that you're already in the >>> habit of backing up beforehand. Copy and paste the current script text to >>> an external text editor if necessary. Of course this particular bug just >>> might be able to defeat the safety of stack backups too in some situations, >>> but hey, that's why it's an extra-fabulous bug! >>>>>> So, in addition to being a bit crashy and glitchy, the 9 IDE is a bit >>> work-lossy. That could turn off both new and old users if they are the >>> humor-deficient type to frown on losing some work. But shucks, ain't no >>> thang! Only features features features (and new side projects) matter! Glad >>> we all agree on that. >>>>>> Any reports or recipes on this issue? I'll post a report if there is >>> none. Thanks.... >>>>> I saw a similar error in earlier versions of LC9 where the script I was >>> editing was for a different object that what was indicate the Project >>> Browser. So the Project Browser was showing (highlighting) Object A but >>> actually thought it was on Object B. >>>>> It occurred fairly intermittently. I never developed a recipe and I >>> have not see this in the most recent releases (9.0.5 and 9.5.1) >>>> Ditto. Hasn't happened for a while though. >>>> >>>> Bob S >>>> >>>> >>> Of course, I am not saying that the bug isn't still in the current >>> releases, just that I have not noticed it in the current releases ;-) >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Dec 6 09:42:05 2019 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 6 Dec 2019 15:42:05 +0100 Subject: Valentina -- Reporting for LiveCode 50% Off Last Day Cyber Monday 2019 Message-ID: @Lynn Fredricks I missed this message about Valentina and offer. Well, no problem. May I ask about the basic principle of Valentina database and Valentina Reports for LiveCode? I assume that the Report Engine is built on the SQL engine and not into LiveCode itself? Years ago I personally met the original developer of Valentina in Kherson in Ukraine. There are very smart people, often mathematicians by university education, and highly skilled in low-level programming, in C, C++, Assembler, and whatever. I always thought that such people could be ideal supporting the core of the LiveCode engine. I had good experiences and very happy customers in Switzerland, USA and elsewhere. So far I use LiveCode itself for printing reports. It is a lot of work, but also it is getting the job done. Many pages of reports can be created "on the fly" using as many cards as there are pages to also be able to know page numbers and programmatically format each page according to certain rules with sub summaries and a grand summary. Also, this rendering on each page allows for a good preview. It is something like the DataGrid with details of varying height. After the report is printed, all cards are deleted. But again, it is really lot of work doing it well. So, Valentina Report may be a better way. Another question: Why should we use Valentina when we have SQLite? Regards, Roland From brahma at hindu.org Fri Dec 6 09:50:09 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 6 Dec 2019 14:50:09 +0000 Subject: Android Scrolling Field - 9.6.dp1 - Receives MouseUp/Down Message-ID: On 9.6 dp 1 I was testing on iOS for a week. Then I tested on Android. Surprising new behavior in the mobileScroller: It receives the mouseDown as soon as you scroll, or mouseUp after you scroll. This does not happen on iOS, not did in happen in 9.5 on Android. How can I prevent this and only trigger a "touch" when the user is not scrolling? BR From bobsneidar at iotecdigital.com Fri Dec 6 10:32:22 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 6 Dec 2019 15:32:22 +0000 Subject: Android Scrolling Field - 9.6.dp1 - Receives MouseUp/Down In-Reply-To: References: Message-ID: <62EDB1E4-BFE2-404C-8238-9A32F0E9E180@iotecdigital.com> Is there a message sent when the scroller is used and another when it stops? Set a local script variable to true when scrolling and check for it in your mouseDown and mouseUp handlers, then set it to false when scrolling stops. Bob S > On Dec 6, 2019, at 06:50 , Sannyasin Brahmanathaswami via use-livecode wrote: > > On 9.6 dp 1 I was testing on iOS for a week. > > Then I tested on Android. Surprising new behavior in the mobileScroller: > > It receives the mouseDown as soon as you scroll, or mouseUp after you scroll. This does not happen on iOS, not did in happen in 9.5 on Android. > > How can I prevent this and only trigger a "touch" when the user is not scrolling? > > BR From bobsneidar at iotecdigital.com Fri Dec 6 10:33:58 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 6 Dec 2019 15:33:58 +0000 Subject: Script Editor disassociates - a lossy LC IDE bug In-Reply-To: References: <2ed2f5c2-571c-28a5-d713-9dfa760b3d5e@pair.com> <3b9b93e6-3202-f6f7-78a7-2a5380777f6d@researchware.com> <0abaae9c-3438-56c5-c7aa-ade3e81c046a@researchware.com> Message-ID: Yes Mac. Bob S > On Dec 5, 2019, at 17:11 , Tom Glod via use-livecode wrote: > > Are you all on Mac? This does not ring a bell. > From jacque at hyperactivesw.com Fri Dec 6 13:15:44 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 6 Dec 2019 12:15:44 -0600 Subject: XCode 11 requirements In-Reply-To: <87918CEB-054C-4CDE-A783-6F527E8D5763@m-r-d.de> References: <64c63340-8986-8088-2882-3e65434451f8@hyperactivesw.com> <8D85B583-CD39-4082-85A7-F4C228A31901@m-r-d.de> <031a3fa9-26be-7921-602f-3ab48238d331@hyperactivesw.com> <87918CEB-054C-4CDE-A783-6F527E8D5763@m-r-d.de> Message-ID: Check for updates was selected but I rarely look at that pane in the system settings. So maybe that's why I missed it. On 12/6/19 1:27 AM, Matthias Rebbe via use-livecode wrote: > There is a Software-Update icon in System Preferences, which should at least show up all available updates. There you can also setup if you want to search automatically for updates, load them when available, automatically install them and so on. Maybe the option to automatically search for updates is not enabled. > > > Matthias Rebbe > > free tools for Livecoders: > InstaMaker > WinSignMaker Mac > >> Am 06.12.2019 um 06:17 schrieb J. Landman Gay via use-livecode >: >> >> Thanks, I've downloaded the combo update to get me caught up. The odd thing is that I never received any notifications that OS X updates were available, and apparently I missed six of them. They weren't in the Mac App Store either when I checked. >> >> On 12/5/19 2:27 PM, Matthias Rebbe via use-livecode wrote: >>> If your Mac runs Mojave and is up to date then you should have 10.14.6 already installed. >>> If you still have a lower Mojave version installed then you could find the updates for the 10.14.x among the updates for older and news os here >>> https://support.apple.com/downloads/macos > >>> Btw the update from 10.14.2 to 10.14.3 can be found here https://support.apple.com/kb/DL1991?viewlocale=en_US&locale=en_US > >>> Matthias Rebbe >>> free tools for Livecoders: >>> InstaMaker > >>> WinSignMaker Mac > >>>> Am 05.12.2019 um 20:35 schrieb J. Landman Gay via use-livecode >>: >>>> >>>> In LC 9.6 (dp 1) I get a warning that I can't use XCode 11 (which isn't installed yet anyway) unless I update to Mac OS 10.14.3. My Mac is up to date as far as I know and there is no OS 10.14.3 available in the Mac App Store. I can't update to Catalina until some of my critical software becomes compatible. >>>> >>>> Is there a way to use XCode 10.1 in Mojave with LC 9.6? >>>> -- >>>> 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 lfredricks at proactive-intl.com Fri Dec 6 15:34:02 2019 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 6 Dec 2019 12:34:02 -0800 Subject: Valentina -- Reporting for LiveCode In-Reply-To: References: Message-ID: <8E172D8B21194D6D9787DF5C737DBDFB@GATEWAY> > I missed this message about Valentina and offer. Well, no problem. > > May I ask about the basic principle of Valentina database and > Valentina Reports for LiveCode? Yes, and I will also cc to the list as these are good questions that others may be interested in as well. > I assume that the Report Engine is built on the SQL engine > and not into LiveCode itself? There isn't actually a 'SQL engine' but a kind of language. The Valentina ADK includes its own SQL interpreter that is highly optimized C++ for speed. The Reporting portion works with most major databases: MS SQL Server, MySQL, MariaDB, PostgreSQL as well as SQLite and Valentina DB. A report then passes queries to database sources to pull in the data needed to populate the reports. > Years ago I personally met the original developer of > Valentina in Kherson in Ukraine. There are very smart people, > often mathematicians by university education, and highly > skilled in low-level programming, in C, C++, Assembler, and > whatever. I always thought that such people could be ideal > supporting the core of the LiveCode engine. I had good > experiences and very happy customers in Switzerland, USA and > elsewhere. The team is very talented, thanks! > So far I use LiveCode itself for printing reports. It is a > lot of work, but also it is getting the job done. Many pages > of reports can be created "on the fly" using as many cards as > there are pages to also be able to know page numbers and > programmatically format each page according to certain rules > with sub summaries and a grand summary. Also, this rendering > on each page allows for a good preview. It is something like > the DataGrid with details of varying height. After the report > is printed, all cards are deleted. But again, it is really > lot of work doing it well. LiveCode is an excellent front end for so many different kinds of apps. Like other tools, you can create a reporting system in it, as you can with other tools. As with any tool though, and this includes historic examples of solutions like FileMaker, there are many reasons why you might want to keep your data and different renderings of data outside of your application (stack). In regards to Valentina Reports though, there is a bit more to it. - You can use Valentina Reports ADK to render a report in many formats, including PDF, graphics, HTML and the like, using its own very fast, compiled engine. - You can upload a Valentina Project to Valentina Server and 'serve' the report from there, and leverage other languages in the process. Valentina Server is a very flexible and powerful solution that combines the following 'sub' servers: Valentina Reports Server Valentina DB Server (for our own ultra-fast database) Valentina SQLite Server (our own implementation of SQLite so you can easily upscale your SQLite apps to true client-server) (New) Valentina Forms Server (more on that later if you want to know more) For reports, you can use any of the external data sources mentioned as well as the sub-server databases on the server, Valentina DB Server and Valentina SQLite Server. It is also possible to use our free Valentina Studio as a 'client' for Valentina Reports (and Forms), making it possible to run a report, print it to PDF and the like, without any ADK or Server. You can build reports in Valentina Studio Pro and then share the resulting project with users of free Valentina Studio. You can also build parameters into the report to give the end user some flexibility in what is displayed within Studio. > So, Valentina Report may be a better way. Another question: > Why should we use Valentina when we have SQLite? There are a lot of different databases on the market, some of which are free and others are not. We support SQLite with Valentina SQLite Server because it is quite popular and it does what many need. In our experience, those that do may eventually switch to Valentina DB once they figure out how it would benefit them. SQLite has its own multi-user system, but by itself it really isn't optimized for it. It is sort of a logical way to add multi-user without really having to build in what most multi-user databases support in terms of administration. We don't really feel a need to 'hard sell' Valentina DB to SQLite users as SQLite has a more limited scope of use but is quite good for what it does. Valentina DB is an object-relational database, built on its own highly optimized, very fast core columnar database mechanism. What many do not realize is that you can treat it much like any other SQL standard relational database, because we support many different approaches to working with data. Many that port to Valentina DB from something else, such as MySQL, can use this methodology to do a quick porting (and then optimize later). It is jam packed with features that appeal to different vertical markets. Among our users there is a high number of medical and financial service companies that use it because it is fast enough that they can make queries that would otherwise take a very long time accessible very quickly. Imagine for example, a query that can take hours to run on some other database. That is too long to, say, run a scenario during a meeting with a client. Two considerations that also come to mind to me right now in regards to Valentina DB: - While our technology is proprietary, you don't have your data 'locked in' in a way that you can't get your data out of it without much pain - Some customers even go so far as to use Valentina DB as a native file format because of the efficiency of the storage Ruslan may want to chime in with more detail and specific questions that are beyond my scope of understanding. Best regards, Lynn Fredricks Paradigma Software From roland.huettmann at gmail.com Fri Dec 6 16:13:41 2019 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 6 Dec 2019 22:13:41 +0100 Subject: Valentina -- Reporting for LiveCode In-Reply-To: <8E172D8B21194D6D9787DF5C737DBDFB@GATEWAY> References: <8E172D8B21194D6D9787DF5C737DBDFB@GATEWAY> Message-ID: Oh, thank you Lynn. That is nice from you to write detailed. Please, my greetings to Ruslan. He may not remember me, already how man years passed? I think 16 or 17 years. I had a group of developers in Kherson. I think it will be good to address your product more strongly on the list. And people are LiveCoder's, but only some of them really know software development deeply. So, it does not hurt to assume that you are talking to non-developers. I know that Valentina is excellent. Also, I had in mind to raise the question for a little wider audience, not just for myself. In my opinion, LC needs some really good developers working on the core engine. But I do not think that there is money. ) Regards, Roland Am Fr., 6. Dez. 2019 um 21:34 Uhr schrieb Lynn Fredricks < lfredricks at proactive-intl.com>: > > I missed this message about Valentina and offer. Well, no problem. > > > > May I ask about the basic principle of Valentina database and > > Valentina Reports for LiveCode? > > Yes, and I will also cc to the list as these are good questions that others > may be interested in as well. > > > > I assume that the Report Engine is built on the SQL engine > > and not into LiveCode itself? > > There isn't actually a 'SQL engine' but a kind of language. > > The Valentina ADK includes its own SQL interpreter that is highly optimized > C++ for speed. > > The Reporting portion works with most major databases: MS SQL Server, > MySQL, > MariaDB, PostgreSQL as well as SQLite and Valentina DB. A report then > passes > queries to database sources to pull in the data needed to populate the > reports. > > > > > Years ago I personally met the original developer of > > Valentina in Kherson in Ukraine. There are very smart people, > > often mathematicians by university education, and highly > > skilled in low-level programming, in C, C++, Assembler, and > > whatever. I always thought that such people could be ideal > > supporting the core of the LiveCode engine. I had good > > experiences and very happy customers in Switzerland, USA and > > elsewhere. > > The team is very talented, thanks! > > > > So far I use LiveCode itself for printing reports. It is a > > lot of work, but also it is getting the job done. Many pages > > of reports can be created "on the fly" using as many cards as > > there are pages to also be able to know page numbers and > > programmatically format each page according to certain rules > > with sub summaries and a grand summary. Also, this rendering > > on each page allows for a good preview. It is something like > > the DataGrid with details of varying height. After the report > > is printed, all cards are deleted. But again, it is really > > lot of work doing it well. > > LiveCode is an excellent front end for so many different kinds of apps. > Like > other tools, you can create a reporting system in it, as you can with other > tools. As with any tool though, and this includes historic examples of > solutions like FileMaker, there are many reasons why you might want to keep > your data and different renderings of data outside of your application > (stack). > > In regards to Valentina Reports though, there is a bit more to it. > > - You can use Valentina Reports ADK to render a report in many formats, > including PDF, graphics, HTML and the like, using its own very fast, > compiled engine. > > - You can upload a Valentina Project to Valentina Server and 'serve' the > report from there, and leverage other languages in the process. Valentina > Server is a very flexible and powerful solution that combines the following > 'sub' servers: > > Valentina Reports Server > Valentina DB Server (for our own ultra-fast database) > Valentina SQLite Server (our own implementation of SQLite so you can easily > upscale your SQLite apps to true client-server) > (New) Valentina Forms Server (more on that later if you want to know more) > > For reports, you can use any of the external data sources mentioned as well > as the sub-server databases on the server, Valentina DB Server and > Valentina > SQLite Server. > > It is also possible to use our free Valentina Studio as a 'client' for > Valentina Reports (and Forms), making it possible to run a report, print it > to PDF and the like, without any ADK or Server. You can build reports in > Valentina Studio Pro and then share the resulting project with users of > free > Valentina Studio. You can also build parameters into the report to give the > end user some flexibility in what is displayed within Studio. > > > So, Valentina Report may be a better way. Another question: > > Why should we use Valentina when we have SQLite? > > There are a lot of different databases on the market, some of which are > free > and others are not. We support SQLite with Valentina SQLite Server because > it is quite popular and it does what many need. In our experience, those > that do may eventually switch to Valentina DB once they figure out how it > would benefit them. > > SQLite has its own multi-user system, but by itself it really isn't > optimized for it. It is sort of a logical way to add multi-user without > really having to build in what most multi-user databases support in terms > of > administration. > > We don't really feel a need to 'hard sell' Valentina DB to SQLite users as > SQLite has a more limited scope of use but is quite good for what it does. > > Valentina DB is an object-relational database, built on its own highly > optimized, very fast core columnar database mechanism. What many do not > realize is that you can treat it much like any other SQL standard > relational > database, because we support many different approaches to working with > data. > Many that port to Valentina DB from something else, such as MySQL, can use > this methodology to do a quick porting (and then optimize later). It is jam > packed with features that appeal to different vertical markets. Among our > users there is a high number of medical and financial service companies > that > use it because it is fast enough that they can make queries that would > otherwise take a very long time accessible very quickly. Imagine for > example, a query that can take hours to run on some other database. That is > too long to, say, run a scenario during a meeting with a client. Two > considerations that also come to mind to me right now in regards to > Valentina DB: > > - While our technology is proprietary, you don't have your data 'locked in' > in a way that you can't get your data out of it without much pain > - Some customers even go so far as to use Valentina DB as a native file > format because of the efficiency of the storage > > Ruslan may want to chime in with more detail and specific questions that > are > beyond my scope of understanding. > > Best regards, > > Lynn Fredricks > Paradigma Software > > From klaus at major-k.de Fri Dec 6 16:21:21 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 6 Dec 2019 22:21:21 +0100 Subject: How to revoke that bottom pane of the script editor? Message-ID: <3AC3F568-688A-4DE4-A3AA-BD3C58D2970A@major-k.de> Hi all, in the script editor we ususally have three panes: 1. List of handlers on the left 2. The actual script on the right 3. At the botton we see the content of variables when debugging etc. Now I somehow managed to make the bottom pane disappear 8-), how can I get it back without to quit LC and trash the LC prefs? Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Fri Dec 6 17:01:10 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 6 Dec 2019 22:01:10 +0000 Subject: How to revoke that bottom pane of the script editor? In-Reply-To: <3AC3F568-688A-4DE4-A3AA-BD3C58D2970A@major-k.de> References: <3AC3F568-688A-4DE4-A3AA-BD3C58D2970A@major-k.de> Message-ID: Do you see the two horizontal lines at the bottom of the window? That is the handle for those panes. Try dragging it up. If you do not see those, not sure what has happened. Bob S > On Dec 6, 2019, at 13:21 , Klaus major-k via use-livecode wrote: > > Hi all, > > in the script editor we ususally have three panes: > 1. List of handlers on the left > 2. The actual script on the right > 3. At the botton we see the content of variables when debugging etc. > > Now I somehow managed to make the bottom pane disappear 8-), > how can I get it back without to quit LC and trash the LC prefs? > > Thanks for any hint! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de From klaus at major-k.de Fri Dec 6 17:03:50 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 6 Dec 2019 23:03:50 +0100 Subject: How to revoke that bottom pane of the script editor? In-Reply-To: References: <3AC3F568-688A-4DE4-A3AA-BD3C58D2970A@major-k.de> Message-ID: <65A2FF7B-FE1B-4D5C-8981-C050359413BB@major-k.de> Hi Bob, > Am 06.12.2019 um 23:01 schrieb Bob Sneidar via use-livecode : > > Do you see the two horizontal lines at the bottom of the window? That is the handle for those panes. > Try dragging it up. If you do not see those, not sure what has happened. thanks, the latter one of course, no lines. 8-) > Bob S > >> On Dec 6, 2019, at 13:21 , Klaus major-k via use-livecode wrote: >> ... >> in the script editor we ususally have three panes: >> 1. List of handlers on the left >> 2. The actual script on the right >> 3. At the botton we see the content of variables when debugging etc. >> Now I somehow managed to make the bottom pane disappear 8-), >> how can I get it back without to quit LC and trash the LC prefs? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From martyknappster at gmail.com Fri Dec 6 17:32:32 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 6 Dec 2019 14:32:32 -0800 Subject: iOS text file download from Dropbox Message-ID: <875D7EC0-62BD-41DD-8B1A-6E2D0499AD9F@gmail.com> I'm working on my first iOS app. It needs to access a 6mb text file in Dropbox. Using "dropboxDownLoad" it works fine on my Mac. On the iPhone I'm using specialFolderPath("Documents") as the location to save but I get an error every time - 573,336,1. When I poll it to see if the file exists it comes back as true, though if it's there it's empty. Any clues for me? I have the Dropbox app installed on my iPhone but can't figure out if there's a way to access files from an LC app that way or not. Marty From richmondmathewson at gmail.com Sat Dec 7 03:22:08 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 7 Dec 2019 10:22:08 +0200 Subject: How to revoke that bottom pane of the script editor? In-Reply-To: <65A2FF7B-FE1B-4D5C-8981-C050359413BB@major-k.de> References: <3AC3F568-688A-4DE4-A3AA-BD3C58D2970A@major-k.de> <65A2FF7B-FE1B-4D5C-8981-C050359413BB@major-k.de> Message-ID: <9ab2f80b-fa4e-5e10-c2de-0788276368a8@gmail.com> I opened a scriptEditor and the MessageWatcher . . . The odd thing is that as I drag those 2 horizontal lines up and down nothing appears in the Massage Watcher: not very helpful. Richmond. On 7.12.19 0:03, Klaus major-k via use-livecode wrote: > Hi Bob, > >> Am 06.12.2019 um 23:01 schrieb Bob Sneidar via use-livecode : >> >> Do you see the two horizontal lines at the bottom of the window? That is the handle for those panes. >> Try dragging it up. If you do not see those, not sure what has happened. > thanks, the latter one of course, no lines. 8-) > >> Bob S >> >>> On Dec 6, 2019, at 13:21 , Klaus major-k via use-livecode wrote: >>> ... >>> in the script editor we ususally have three panes: >>> 1. List of handlers on the left >>> 2. The actual script on the right >>> 3. At the botton we see the content of variables when debugging etc. >>> Now I somehow managed to make the bottom pane disappear 8-), >>> how can I get it back without to quit LC and trash the LC prefs? > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sat Dec 7 06:28:18 2019 From: hh at hyperhh.de (hh) Date: Sat, 7 Dec 2019 12:28:18 +0100 Subject: How to revoke that bottom pane of the script editor? Message-ID: 1. Without killing prefs: a) open the SE b) from msg send "sePrefSet " "e&"paneHeight""e&", 500" \ to stack "revnewscripteditor" c) close the SE d) reopen the SE 2. Kill/Reset prefs. The height of the bottom pane is stored there. From klaus at major-k.de Sat Dec 7 07:56:18 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 7 Dec 2019 13:56:18 +0100 Subject: How to revoke that bottom pane of the script editor? In-Reply-To: References: Message-ID: Hi Hermann, > Am 07.12.2019 um 12:28 schrieb hh via use-livecode : > 1. Without killing prefs: > a) open the SE > b) from msg > send "sePrefSet " "e&"paneHeight""e&", 500" \ > to stack "revnewscripteditor" > c) close the SE > d) reopen the SE > > 2. Kill/Reset prefs. > The height of the bottom pane is stored there. thank you very much, stored for future use! In case I manage again to lose the bottom pane. 8-) Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jjs at krutt.org Sat Dec 7 08:45:37 2019 From: jjs at krutt.org (JJS) Date: Sat, 7 Dec 2019 14:45:37 +0100 Subject: iOS text file download from Dropbox In-Reply-To: <875D7EC0-62BD-41DD-8B1A-6E2D0499AD9F@gmail.com> References: <875D7EC0-62BD-41DD-8B1A-6E2D0499AD9F@gmail.com> Message-ID: <51fe0712-30a6-b28a-64c3-b8f9cf0082d1@krutt.org> you could use the dropbox library, so you have direct access to your dropbox Op 6-12-2019 om 23:32 schreef Marty Knapp via use-livecode: > I'm working on my first iOS app. It needs to access a 6mb text file in Dropbox. Using "dropboxDownLoad" it works fine on my Mac. On the iPhone I'm using specialFolderPath("Documents") as the location to save but I get an error every time - 573,336,1. When I poll it to see if the file exists it comes back as true, though if it's there it's empty. Any clues for me? > > I have the Dropbox app installed on my iPhone but can't figure out if there's a way to access files from an LC app that way or not. > > Marty > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 7 09:51:55 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 7 Dec 2019 08:51:55 -0600 Subject: iOS dark mode In-Reply-To: <20191205205756.Horde.oVxALpy48kEzWJc791k_KyY@oa.serversignin.com> References: <20191205205756.Horde.oVxALpy48kEzWJc791k_KyY@oa.serversignin.com> Message-ID: On Thu, Dec 5, 2019 at 2:58 PM Andrew Bell via use-livecode < use-livecode at lists.runrev.com> wrote: > Thank you Trevor! Adding this to my info.plist opted out of Dark Mode: > UIUserInterfaceStyle > Light > > Apple's ominous note at the end of that article gives me the > impression that before too long (iOS 14?) this override will get the > app rejected: > "Supporting Dark Mode is strongly encouraged. Use the > UIUserInterfaceStyle key to opt out only temporarily while you work on > improvements to your app's Dark Mode support." > I'm glad that solved the immediate problem. Looks like we will need access to the settings from within LiveCode in the future though. -- Trevor DeVore ScreenSteps www.screensteps.com From brahma at hindu.org Sat Dec 7 10:50:21 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 7 Dec 2019 15:50:21 +0000 Subject: Bail Out of Failed Connection Mobile Indicator Message-ID: on mobile, when the busy indicator in up, showing it is busy downloading, How do you stop it in the case of a failing download? For example, bandwidth to too weak, or the url can't be accessed? Use just wants to "bail" out and not hang the application? BR From martyknappster at gmail.com Sat Dec 7 13:18:51 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 7 Dec 2019 10:18:51 -0800 Subject: iOS text file download from Dropbox In-Reply-To: <875D7EC0-62BD-41DD-8B1A-6E2D0499AD9F@gmail.com> References: <875D7EC0-62BD-41DD-8B1A-6E2D0499AD9F@gmail.com> Message-ID: <742048A1-96F8-4F90-B943-CEC57F3741DA@gmail.com> A follow-up. Apparently the standalone builder was not picking up that it needed the Dropbox library (maybe because I use a script only behavior stack). So I manually included the Dropbox library. Still no joy. Then I though that maybe the Dropbox Library had some dependencies, though I could find nothing in that regard. So I included a number of other libraries that I thought might be needed and now I'm in business. Seems like overkill just to read a text file in Dropbox but it works! Marty > On Dec 6, 2019, at 2:32 PM, Marty Knapp wrote: > > I'm working on my first iOS app. It needs to access a 6mb text file in Dropbox. Using "dropboxDownLoad" it works fine on my Mac. On the iPhone I'm using specialFolderPath("Documents") as the location to save but I get an error every time - 573,336,1. When I poll it to see if the file exists it comes back as true, though if it's there it's empty. Any clues for me? > > I have the Dropbox app installed on my iPhone but can't figure out if there's a way to access files from an LC app that way or not. > > Marty > From jjs at krutt.org Sat Dec 7 17:27:32 2019 From: jjs at krutt.org (JJS) Date: Sat, 7 Dec 2019 23:27:32 +0100 Subject: iOS text file download from Dropbox In-Reply-To: <742048A1-96F8-4F90-B943-CEC57F3741DA@gmail.com> References: <875D7EC0-62BD-41DD-8B1A-6E2D0499AD9F@gmail.com> <742048A1-96F8-4F90-B943-CEC57F3741DA@gmail.com> Message-ID: <58536366-09ec-58ce-5f41-16bfd20c4e34@krutt.org> Great! Op 7-12-2019 om 19:18 schreef Marty Knapp via use-livecode: > A follow-up. Apparently the standalone builder was not picking up that it needed the Dropbox library (maybe because I use a script only behavior stack). So I manually included the Dropbox library. Still no joy. Then I though that maybe the Dropbox Library had some dependencies, though I could find nothing in that regard. So I included a number of other libraries that I thought might be needed and now I'm in business. Seems like overkill just to read a text file in Dropbox but it works! > > Marty > >> On Dec 6, 2019, at 2:32 PM, Marty Knapp wrote: >> >> I'm working on my first iOS app. It needs to access a 6mb text file in Dropbox. Using "dropboxDownLoad" it works fine on my Mac. On the iPhone I'm using specialFolderPath("Documents") as the location to save but I get an error every time - 573,336,1. When I poll it to see if the file exists it comes back as true, though if it's there it's empty. Any clues for me? >> >> I have the Dropbox app installed on my iPhone but can't figure out if there's a way to access files from an LC app that way or not. >> >> Marty >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 7 21:20:22 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 7 Dec 2019 18:20:22 -0800 Subject: LC #48 @TIOBE Message-ID: <685fc28a-38de-d017-2a2c-a929631f7d63@fourthworld.com> LiveCode has moved up to #48 on the TIOBE Index of programming language popularity: https://www.tiobe.com/tiobe-index/ It's too early to tell if this upward ranking is due to reductions in other languages or an actual trend with LC, but given that LC was #50 in October this seems a positive sign. Highlights from this month's index: - 1/3 as popular as Scratch - More than half as popular as Lua - 2/3 as popular as PowerShell - Surpassed Prolog, awk, bash, 4D, Clojure, WebAssembly, Erlang - Xojo, once seen as a competitor years ago, not even on the list -- Richard Gaskin Fourth World Systems From jacque at hyperactivesw.com Sat Dec 7 21:47:49 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Dec 2019 20:47:49 -0600 Subject: Ipad simulators Message-ID: <16ee367ec08.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Does anyone know which splash screens in the standalone settings match which iPad models in the simulator? The names available in Xcode 10.1 don't match the names in settings, and I'm not sure the designated splash dimensions match the simulator devices. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Sun Dec 8 09:45:02 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 8 Dec 2019 14:45:02 +0000 (UTC) Subject: How to revoke that bottom pane of the script editor? In-Reply-To: References: <3AC3F568-688A-4DE4-A3AA-BD3C58D2970A@major-k.de> Message-ID: <1635491161.6845222.1575816302453@mail.yahoo.com> Klaus. Type CMD-F as if you were trying to simply find something. All those lower tools will reappear. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Fri, Dec 6, 2019 5:02 pm Subject: Re: How to revoke that bottom pane of the script editor? Do you see the two horizontal lines at the bottom of the window? That is the handle for those panes. Try dragging it up. If you do not see those, not sure what has happened. Bob S > On Dec 6, 2019, at 13:21 , Klaus major-k via use-livecode wrote: > > Hi all, > > in the script editor we ususally have three panes: > 1. List of handlers on the left > 2. The actual script on the right > 3. At the botton we see the content of variables when debugging etc. > > Now I somehow managed to make the bottom pane disappear 8-), > how can I get it back without to quit LC and trash the LC prefs? > > Thanks for any hint! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Dec 8 09:47:14 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 8 Dec 2019 15:47:14 +0100 Subject: How to revoke that bottom pane of the script editor? In-Reply-To: <1635491161.6845222.1575816302453@mail.yahoo.com> References: <3AC3F568-688A-4DE4-A3AA-BD3C58D2970A@major-k.de> <1635491161.6845222.1575816302453@mail.yahoo.com> Message-ID: Hi Craig, > Am 08.12.2019 um 15:45 schrieb dunbarx--- via use-livecode : > > Klaus. > Type CMD-F as if you were trying to simply find something. All those lower tools will reappear. thanks, already tried that, no cigar... > Craig Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From brahma at hindu.org Sun Dec 8 14:55:29 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 8 Dec 2019 19:55:29 +0000 Subject: Groups in the message path: Trapping Mouseup Message-ID: I think this a old problem that is re-surfacing. Or else it is known?. 9.6 dp1, in the message path different independent groups are not encapsulated. button "starWidget" -- has no script -- is not a part of any group Stack script: on mouseup put the short name of the target put the short name of the target into tTarget switch tTarget case(s) # various button names # consolidate all UI actions that not part of a group # to the stack script end switch end mouseup # the card are several groups, # each with its own mouse handlers # I click on button "starWidget" -- nothing happens?hmm, no errors either? # start profiling scripts (new trick I found) # click on button "starWidget" # stop profiling scripts: # Voila! the mouseup was trapped by one the other groups, as if they were in the message path. Is there any way around this? Meanwhile I have to plug into every button explicit handlers. Tedious, make debugging painful? BR From dunbarx at aol.com Sun Dec 8 15:24:56 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 8 Dec 2019 20:24:56 +0000 (UTC) Subject: Groups in the message path: Trapping Mouseup In-Reply-To: References: Message-ID: <937853304.6915819.1575836696962@mail.yahoo.com> Hi. It is hard for me to understand without more info about the case statements. But when you have this: # I click on button "starWidget" -- nothing happens?hmm, no errors either? Do you really mean nothing, not even that the: ?? put the short name of the target does not fire? Craig -----Original Message----- From: Sannyasin Brahmanathaswami via use-livecode To: How LiveCode Cc: Sannyasin Brahmanathaswami Sent: Sun, Dec 8, 2019 2:56 pm Subject: Groups in the message path: Trapping Mouseup I think this a old problem that is re-surfacing. Or else it is known?. 9.6 dp1, in the message path different independent groups are not encapsulated. button "starWidget" -- has no script -- is not a part of any group Stack script: on mouseup ? ? ? ? ? put the short name of the target ? ? ? ? ? put the short name of the target into tTarget ? ? ? ? ? switch tTarget ? ? ? ? ? ? ? ? ? case(s) # various button names ? ? ? ? ? ? ? ? ? # consolidate all UI actions that not part of a group ? ? ? ? ? ? ? ? ? # to the stack script ? ? ? ? ? end switch end mouseup # the card are several groups, # each with its own mouse handlers # I click on button "starWidget" -- nothing happens?hmm, no errors either? # start profiling scripts (new trick I found) # click on button "starWidget" # stop profiling scripts: ? ? ? ? ? # Voila! the mouseup was trapped by one the other groups, as if they were in the message path. Is there any way around this? Meanwhile I have to plug into every button explicit handlers. Tedious, make debugging painful? 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 Sun Dec 8 18:24:33 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 8 Dec 2019 17:24:33 -0600 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: References: Message-ID: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> Is the group that receives the mouseUp a card group or a background group? If I remember right, messages go from the button, to all card groups, then to the card, then all background groups, then to the stack. So if it's a card group, it will get the message before the stack does. On 12/8/19 1:55 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > I think this a old problem that is re-surfacing. Or else it is known?. > > 9.6 dp1, in the message path different independent groups are not encapsulated. > > button "starWidget" > -- has no script > -- is not a part of any group > > Stack script: > > on mouseup > put the short name of the target > put the short name of the target into tTarget > switch tTarget > case(s) # various button names > # consolidate all UI actions that not part of a group > # to the stack script > end switch > end mouseup > > # the card are several groups, > # each with its own mouse handlers > > # I click on button "starWidget" > -- nothing happens?hmm, no errors either? > # start profiling scripts (new trick I found) > # click on button "starWidget" > # stop profiling scripts: > # Voila! the mouseup was trapped by one the other groups, as if they were in the message path. > > Is there any way around this? Meanwhile I have to plug into every button explicit handlers. Tedious, make debugging painful? > > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Dec 8 19:04:36 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 8 Dec 2019 18:04:36 -0600 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> Message-ID: I take that back, the card group shouldn't get the message. Sounds like something else is wrong. On 12/8/19 5:24 PM, J. Landman Gay via use-livecode wrote: > Is the group that receives the mouseUp a card group or a background > group? If I remember right, messages go from the button, to all card > groups, then to the card, then all background groups, then to the stack. > > So if it's a card group, it will get the message before the stack does. > > > On 12/8/19 1:55 PM, Sannyasin Brahmanathaswami via use-livecode wrote: >> I think this a old problem that is re-surfacing. Or else it is known?. >> >> 9.6 dp1, in the message path different independent groups are not >> encapsulated. >> >> button "starWidget" >> -- has no script >> -- is not a part of any group >> >> Stack script: >> >> on mouseup >> ?????????? put the short name of the target >> ?????????? put the short name of the target into tTarget >> ?????????? switch tTarget >> ??????????????????? case(s) # various button names >> ??????????????????? # consolidate all UI actions that not part of a group >> ??????????????????? # to the stack script >> ?????????? end switch >> end mouseup >> >> # the card are several groups, >> # each with its own mouse handlers >> >> # I click on button "starWidget" >> -- nothing happens?hmm, no errors either? >> # start profiling scripts (new trick I found) >> # click on button "starWidget" >> # stop profiling scripts: >> ?????????? # Voila! the mouseup was trapped by one the other groups, >> as if they were in the message path. >> >> Is there any way around this? Meanwhile I have to plug into every >> button explicit handlers. Tedious, make debugging painful? >> >> 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 >> > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Sun Dec 8 19:27:41 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 8 Dec 2019 16:27:41 -0800 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> Message-ID: On 12/8/19 4:04 PM, J. Landman Gay via use-livecode wrote: > I take that back, the card group shouldn't get the message. Sounds like > something else is wrong. A background group will definitely get the message before the stack script does. Also any script being used as a behavior. -- Mark Wieder ahsoftware at gmail.com From toolbook at kestner.de Mon Dec 9 08:55:42 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 9 Dec 2019 14:55:42 +0100 Subject: AW: OT: update RDS SSL/TSL certificates at aws In-Reply-To: <370FF497-1F19-4F85-995A-B57B024C4665@m-r-d.de> References: <004201d5a9b2$3a820510$af860f30$@kestner.de> <370FF497-1F19-4F85-995A-B57B024C4665@m-r-d.de> Message-ID: <00b601d5ae98$5b1f7d30$115e7790$@kestner.de> Thank you Matthias for your experience. I didn't tested yet, but I hope I won't run into an SSL verification error. And actually I think in my case the SSL change on the db server won't affect my LC programs at all, because there is PHP in between, which connects to the db. Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Matthias Rebbe via use-livecode Gesendet: Dienstag, 3. Dezember 2019 11:24 An: How to use LiveCode Cc: Matthias Rebbe Betreff: Re: OT: update RDS SSL/TSL certificates at aws Tiemo, i have no experiences with AWS. But what i can say is, that when changing an SSL certificate on a server there should no changes be required in the frontend application created with LC. At least here i did not encounter any problems when i switched from unsecure to secure connections or when a server certificate was renewed / replaced. What i?ve encountered in one case was that i?ve received an SSL verification error. I think it was tsnet/curl error 48. As a workaround i used tsNetVerifySSLPeer false to disable verification. Regards, Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 03.12.2019 um 09:18 schrieb Tiemo Hollmann TB via use-livecode >: > > Hello, > > this is a little bit off topic, but I hope I find here some experts > and hints to this issue. > > I have some LC programs which communicate via https to PHP programs on > a webserver. Those PHP programs communicate with a RDS database on a > aws server. > > > > Now I got a mail from aws, that they are going to exchange their > SSL/TSL certificates on the server and I have to take action to avoid > interruption of my applications. As far as I have understood, I have to do two steps. 1. > I have to renew the certificate from my RDS database at aws via the > aws console. Ok that seems to be some clicks at the aws console and that's it. > > But 2. aws says, I should test my applications in an staging > environment, if everything works fine with the new certificates. And here comes my question. > I have no idea, what to test and what to look for, much less, where in > my PHP or even in my LC programs anything reflects to SSL certificates > and where I could change anything (and if yes what), if the test would fail. > > > > Perhaps I am thinking to complex and all this isn't related to my apps > at all, but it scares me, because of the aws announcement "to avoid > any broken apps" > > > > Has anybody experience with this issue in relation to LC and PHP? > > > > Thanks for any hints how to handle this issue > > > > Tiemo > > > > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 9 09:30:35 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 9 Dec 2019 14:30:35 +0000 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> Message-ID: <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> In this use case, - the button "starWidget" is a "standalone" button on an independent layer on the card and not a part of any group -- @Jacque... the groups that are trapping the mouseup I are background groups using on various card. Mark Weider says "A background group will definitely get the message before the stack? script does. Also any script being used as a behavior." BR: is this "really" expected behavior? gosh, I hope not! "Encapsulation"would mean -- background groups: "encapsulated" only receive mouse/touch events from objects that are contain in "itself" -- group -- behaviors: "encapsulated": only receive mouse events for the object or group the behavior is assigned to. Isn't this a bug? Otherwise, "We have chaos on the Highway 666, total car wreck on the Message Path" From paul at researchware.com Mon Dec 9 09:52:56 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 9 Dec 2019 09:52:56 -0500 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> Message-ID: <5522c056-7659-ddba-15b5-b7abb3a436da@researchware.com> I use groups in use cases where I want a on mouseDown script in the group to respond to any mouse click anywhere in the rect of the group, so, no, groups should not ONLY respond to mouse messages passed though object contained in the group If you have groups where you need to pass a mouseDown (or mosueWhatever) mesage to the card or stack, just add a behavior to the group for a script that contain handlers like on mouseDown ? pass mouseDown end mouseDown on mouseUp ? pass mouseUp end mouseUp Although if there is no handler for the mouse event it should pass to the card and then the stack and then any library or backscripts and then the engine. ?On 12/9/2019 9:30 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > In this use case, > > - the button "starWidget" is a "standalone" button on an independent layer on the card and not a part of any group > -- @Jacque... the groups that are trapping the mouseup I are background groups using on various card. > > Mark Weider says "A background group will definitely get the message before the stack > script does. Also any script being used as a behavior." > > BR: is this "really" expected behavior? gosh, I hope not! "Encapsulation"would mean > > -- background groups: "encapsulated" only receive mouse/touch events from objects that are contain in "itself" -- group > -- behaviors: "encapsulated": only receive mouse events for the object or group the behavior is assigned to. > > Isn't this a bug? Otherwise, "We have chaos on the Highway 666, total car wreck on the Message Path" > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 9 11:04:37 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 9 Dec 2019 18:04:37 +0200 Subject: [ANN] This Week in LiveCode 205 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 #205 here: http://bit.ly/2sYLm4d 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 ahsoftware at sonic.net Mon Dec 9 12:28:48 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 9 Dec 2019 09:28:48 -0800 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> Message-ID: On 12/9/19 6:30 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > In this use case, > > - the button "starWidget" is a "standalone" button on an independent layer on the card and not a part of any group > -- @Jacque... the groups that are trapping the mouseup I are background groups using on various card. > > Mark Weider says "A background group will definitely get the message before the stack > script does. Also any script being used as a behavior." > > BR: is this "really" expected behavior? gosh, I hope not! "Encapsulation"would mean If you set a group to have background behavior then it sits above the stack layer in the message path (or below, depending on how you view the layers). At any rate, messages will hit the background group before the stack script sees them. That's the way it is, the way it has always been, and the way the path was designed from the start. If you want something different you need to rethink your stack design. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Mon Dec 9 12:34:14 2019 From: mark at livecode.com (Mark Waddingham) Date: Mon, 09 Dec 2019 17:34:14 +0000 Subject: Groups in the message path: Trapping Mouseup Message-ID: <062c7f319f9e354bea2b92d2594086c7@livecode.com> On 2019-12-09 14:30, Sannyasin Brahmanathaswami via use-livecode wrote: > -- background groups: "encapsulated" only receive mouse/touch events > from objects that are contain in "itself" -- group > -- behaviors: "encapsulated": only receive mouse events for the object > or group the behavior is assigned to. > > Isn't this a bug? Otherwise, "We have chaos on the Highway 666, total > car wreck on the Message Path" No - background groups have always worked this way (and behaviors work the way you'd expect, they receive events which the object they are attached to doesn't handle). All background groups placed on a card appear after the card in the message path. There are two settings you can apply to a group - 'Shared Group' and 'Background behavior'. The 'Shared Group' setting means it can be placed on more than one card. The 'Background Behavior' setting means it behaves like a background - rather than a normal group. If you turn 'background behavior' off, then your shared group should no longer receive messages after the card does. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From lists at mangomultimedia.com Mon Dec 9 13:28:38 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 9 Dec 2019 12:28:38 -0600 Subject: Help Wrapping HTMLTidy in LCB In-Reply-To: References: Message-ID: On Fri, Nov 22, 2019 at 10:30 AM Trevor DeVore wrote: > While looking at solutions for converting HTML into XHTML that can be > parsed by revXML I decided to test HTMLTidy which has an option to output > the input as XHTML. While I could bundle up the tidy command line tool and > include it with my app, I prefer to wrap things up in LCB if possible. > > Unfortunately I haven't gotten very far with HTMLTidy and I'm > hoping someone else might be able to figure out what I'm doing wrong. If > you are up for loading up an LCB project in LC 9 on macOS and looking at > some C files then please read on: > UPDATE: I made some progress on the HTMLTidy project and this morning Mark Waddingham and Brian Milby helped me over the last hurdle. The code base now has a tidyHTMLToXHTML() function which works on macOS. You can try it out using the test stack included in the repo. The code may also be of interest to those trying to wrap other libraries. https://github.com/trevordevore/lc-htmltidy I will be adding the Windows DLL so that the extension works on Windows and then trying to create a sensible API around HTMLTidy for my current needs. I don't plan on making it feature complete at the moment as I just need to for my own work. If someone else wanted to take that up they are welcome to. -- Trevor DeVore ScreenSteps www.screensteps.com From alex at tweedly.net Mon Dec 9 14:13:57 2019 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 9 Dec 2019 19:13:57 +0000 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> Message-ID: On 12/9/19 6:30 AM, Sannyasin Brahmanathaswami via use-livecode wrote: >> In this use case, >> >> - the button "starWidget"? is a "standalone" button on an independent >> layer on the card? and not a part of any group >> -- @Jacque... the groups that are trapping the mouseup I are >> background groups using on various card. >> ? Mark Weider says "A background group will definitely get the >> message before the stack >> script does. Also any script being used as a behavior." >> >> BR: is this "really" expected behavior? gosh, I hope not! >> "Encapsulation"would mean BR - are you maybe reading more into it than Mark meant. I think the correct (and nit-picky) statement is ... Mark Weider says "A background group will definitely get the message before the stack script does. Also any script being used as a behavior **for the background group**." Hope I'm not misconstruing it, and that's not making everything more confusing ... Alex. From ahsoftware at sonic.net Mon Dec 9 15:46:50 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 9 Dec 2019 12:46:50 -0800 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> Message-ID: <5ae83a59-6466-523b-ba72-a901c84ff835@sonic.net> On 12/9/19 11:13 AM, Alex Tweedly via use-livecode wrote: > I think the correct (and nit-picky) statement is ... > > Mark Weider says "A background group will definitely get the message > before the stack > script does. Also any script being used as a behavior **for the > background group**." **and also a behavior script for the object being clicked on** > > Hope I'm not misconstruing it, and that's not making everything more > confusing ... Thanks for clarifying. The syntax for describing the message path gets pretty gnarly. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Mon Dec 9 20:43:00 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 9 Dec 2019 17:43:00 -0800 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <5ae83a59-6466-523b-ba72-a901c84ff835@sonic.net> References: <5ae83a59-6466-523b-ba72-a901c84ff835@sonic.net> Message-ID: <940d789e-dc38-9049-a0c3-1a2f4c43bf07@fourthworld.com> Mark Wieder wrote: > The syntax for describing the message path gets > pretty gnarly. It gets somewhat simpler when we consider the origins of the object model, though admittedly this is help more for us ol' timers than newcomers. For newcomers I just don't mention backgrounds at all unless there's a specific need for it, and as long as I do that the message path is pretty easily learned, HISTORY ------- HC didn't have groups, and its background was a layer that filled the entire card. For what it was, its message path was reasonable straightforward once you learned what the background layer is and how to use it. MC had groups, far more flexible than backgrounds, and their place in the message path is consistent with everything else: starting at the control, moving on to containers the control is within. MC's groups were super-awesome for many of us HC fans who'd dreamed of such a feature for years, BUT - The MC object model had no background layer, so importing HC stacks would be a non-starter. So Dr. Raney adapted the group object so that it could also serve the role of an HC background. Once a group is made sharable, it acts like an HC group. Sounds good, but - It's counter to the rest of the MC object model's message path. So, after MC became LC, Mark Waddingham explored ways to both retain the compatibility with HC while respecting that LC is inherently a different model, and split the way shared groups are handled into two properties: sharedBehavior: allows a group to be automatically copied to new cards, retaining the simplicity of the object model in the message path, in which messages flow from the control through its containers in visual order (group then card then stack). backgroundBehavior: emulates HC by altering the position of the object in the message path per HC's convention for backgrounds (card then background then stack). CURRENT USAGE ------------- As long as we think of backgroundBehavior as a sort of HC compatibility mechanism, distinguishing its affect on the message path becomes easier. For newcomers, I don't even mention backgroundBehavior at all, introducing them only to sharedBehavior. With this orientation I find they enjoy the benefits of shared groups and they never get confused. -- Richard Gaskin Fourth World Systems From jacque at hyperactivesw.com Mon Dec 9 23:49:05 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 9 Dec 2019 22:49:05 -0600 Subject: Java update? Message-ID: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> I just received notification that Java version 8 update 231 is available. I have an older version of Java 8. Should I update? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Tue Dec 10 11:03:10 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 10 Dec 2019 11:03:10 -0500 Subject: Java update? In-Reply-To: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> References: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> Message-ID: <050E0B20-19B0-47E7-9C3A-6B28AB1DF420@all-auctions.com> What version of the operating system are you running? What is the source of the notification? (Is it a reliable source?) Many people turn off Java in their web-browsers to prevent trojans and malware from executing when they visit websites. We need more information before we can make a determination for you. Rick > On Dec 9, 2019, at 11:49 PM, J. Landman Gay via use-livecode wrote: > > I just received notification that Java version 8 update 231 is available. I have an older version of Java 8. Should I update? > > -- > 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 Tue Dec 10 11:24:20 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Dec 2019 10:24:20 -0600 Subject: Java update? In-Reply-To: <050E0B20-19B0-47E7-9C3A-6B28AB1DF420@all-auctions.com> References: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> <050E0B20-19B0-47E7-9C3A-6B28AB1DF420@all-auctions.com> Message-ID: <16ef0a02f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm running Mac OS 10.14.6 (Mojave) and the dialog popped up on my desktop while I was working in LC. I clicked the "Learn more" link in the dialog and was taken to Oracle's web site which displayed a list of changes and new features. It appeared to be a normal auto-check for updates. My main concern was whether updating would impact standalone builds for Android. Since the version I have now is working it doesn't seem crucial. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 10, 2019 10:05:28 AM Rick Harrison via use-livecode wrote: > What version of the operating system are you running? > > What is the source of the notification? (Is it a reliable source?) > > Many people turn off Java in their web-browsers to prevent > trojans and malware from executing when they visit websites. > > We need more information before we can make a determination for you. > > Rick > >> On Dec 9, 2019, at 11:49 PM, J. Landman Gay via use-livecode >> wrote: >> >> I just received notification that Java version 8 update 231 is available. I >> have an older version of Java 8. Should I update? >> >> -- >> 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 brian at milby7.com Tue Dec 10 11:30:15 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 10 Dec 2019 11:30:15 -0500 Subject: Java update? In-Reply-To: <16ef0a02f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> <050E0B20-19B0-47E7-9C3A-6B28AB1DF420@all-auctions.com> <16ef0a02f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <227da0a1-ced6-461d-8ab2-699b82877e46@Spark> I?m on Catalina and that is the version I installed. ?I?ve only done one test Android build with it though so I don?t know if there would be any negative impact as an upgrade. ?I did have to jump through the hoops to create an Oracle login. Thanks, Brian On Dec 10, 2019, 11:25 AM -0500, J. Landman Gay via use-livecode , wrote: > I'm running Mac OS 10.14.6 (Mojave) and the dialog popped up on my desktop > while I was working in LC. I clicked the "Learn more" link in the dialog > and was taken to Oracle's web site which displayed a list of changes and > new features. > > It appeared to be a normal auto-check for updates. My main concern was > whether updating would impact standalone builds for Android. Since the > version I have now is working it doesn't seem crucial. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 10, 2019 10:05:28 AM Rick Harrison via use-livecode > wrote: > > > What version of the operating system are you running? > > > > What is the source of the notification? (Is it a reliable source?) > > > > Many people turn off Java in their web-browsers to prevent > > trojans and malware from executing when they visit websites. > > > > We need more information before we can make a determination for you. > > > > Rick > > > > > On Dec 9, 2019, at 11:49 PM, J. Landman Gay via use-livecode > > > wrote: > > > > > > I just received notification that Java version 8 update 231 is available. I > > > have an older version of Java 8. Should I update? > > > > > > -- > > > 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Tue Dec 10 12:04:51 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 10 Dec 2019 12:04:51 -0500 Subject: Java update? In-Reply-To: <16ef0a02f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> <050E0B20-19B0-47E7-9C3A-6B28AB1DF420@all-auctions.com> <16ef0a02f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <75EBB1CB-9051-4505-AA52-160F9494BC99@all-auctions.com> If you go into the terminal type; java -version That will tell you if you are running java, and what version of it you are running. Compare that to what the current version is. Version 8 perhaps? I?m running Mojave, and my result tells me I am not running it and then gives me a dialog to visit Oracle if I want to install it, - which I don?t. If you are indeed running it, why are you running it? Can you live without it? Sorry, I can?t speak to the Android issue here right now. Rick > On Dec 10, 2019, at 11:24 AM, J. Landman Gay via use-livecode wrote: > > I'm running Mac OS 10.14.6 (Mojave) and the dialog popped up on my desktop while I was working in LC. I clicked the "Learn more" link in the dialog and was taken to Oracle's web site which displayed a list of changes and new features. > > It appeared to be a normal auto-check for updates. My main concern was whether updating would impact standalone builds for Android. Since the version I have now is working it doesn't seem crucial. From jacque at hyperactivesw.com Tue Dec 10 12:29:43 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Dec 2019 11:29:43 -0600 Subject: Java update? In-Reply-To: <75EBB1CB-9051-4505-AA52-160F9494BC99@all-auctions.com> References: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> <050E0B20-19B0-47E7-9C3A-6B28AB1DF420@all-auctions.com> <16ef0a02f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <75EBB1CB-9051-4505-AA52-160F9494BC99@all-auctions.com> Message-ID: <16ef0dc0b58.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm running Java 8 with a lower build number (211 if I remember right, but I'm not at my Mac to check right now.) Java is required to build LC apps for Android, which I do all the time. If you look in LC mobile preferences you'll see the place where you need to specify your Java installation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 10, 2019 11:06:55 AM Rick Harrison via use-livecode wrote: > If you go into the terminal type; java -version > > That will tell you if you are running java, and what version of it you are > running. > > Compare that to what the current version is. Version 8 perhaps? > > I?m running Mojave, and my result tells me I am not running it and then > gives me a dialog to visit Oracle if I want to install it, - which I don?t. > > If you are indeed running it, why are you running it? > Can you live without it? > > Sorry, I can?t speak to the Android issue here right now. > > Rick > > >> On Dec 10, 2019, at 11:24 AM, J. Landman Gay via use-livecode >> wrote: >> >> >> I'm running Mac OS 10.14.6 (Mojave) and the dialog popped up on my desktop >> while I was working in LC. I clicked the "Learn more" link in the dialog >> and was taken to Oracle's web site which displayed a list of changes and >> new features. >> >> >> It appeared to be a normal auto-check for updates. My main concern was >> whether updating would impact standalone builds for Android. Since the >> version I have now is working it doesn't seem crucial. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Tue Dec 10 13:02:17 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Tue, 10 Dec 2019 18:02:17 +0000 Subject: Android Scrolling Field - 9.6.dp1 - Receives MouseUp/Down In-Reply-To: References: Message-ID: Hi All I haven't seen anyone else mention this problem or even get involved in a discussion here except for Bob to confirm it. It is a FUNDAMENTAL problem. @Jacque since you deploy (if memory serves) large android apps , can you confirm the error and @Panos is there a workaround or a fix coming anytime soon? For IOS 13 we have to use the latest and it is a real pain to work out when the Android scroller went wrong within the V 9 series. - never mind having to have multiple environments to compile with. This is a SHOWSTOPPER we have been mostly testing the IOS apps that work and all of the Android stuff worked if we didn't have a "long" list that needed to scroll and select. Only noticed with "Real" data with a long list. Gone back to 9.5 and the problem is still there. will try 9.05 and see what happens. Looks from our testing that the ScrollerBeginDrag and ScrollerEndDrag are not being fired. Regards Lagi On Fri, 6 Dec 2019 at 14:51, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > On 9.6 dp 1 I was testing on iOS for a week. > > Then I tested on Android. Surprising new behavior in the mobileScroller: > > It receives the mouseDown as soon as you scroll, or mouseUp after you > scroll. This does not happen on iOS, not did in happen in 9.5 on Android. > > How can I prevent this and only trigger a "touch" when the user is not > scrolling? > > 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 Dec 10 13:06:13 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 10 Dec 2019 12:06:13 -0600 Subject: Help Wrapping HTMLTidy in LCB In-Reply-To: References: Message-ID: On Mon, Dec 9, 2019 at 12:28 PM Trevor DeVore wrote: > UPDATE: > > I made some progress on the HTMLTidy project and this morning Mark > Waddingham and Brian Milby helped me over the last hurdle. The code base > now has a tidyHTMLToXHTML() function which works on macOS. You can try it > out using the test stack included in the repo. The code may also be of > interest to those trying to wrap other libraries. > > https://github.com/trevordevore/lc-htmltidy > > I will be adding the Windows DLL so that the extension works on Windows > and then trying to create a sensible API around HTMLTidy for my current > needs. I don't plan on making it feature complete at the moment as I just > need to for my own work. If someone else wanted to take that up they are > welcome to. > I've added Windows support and the ability to pass boolean options so that you can control the behavior of htmltidy when it cleanses the HTML input. I've added some sample settings to the test stack for testing. If anybody would like to add Linux support it should just be a matter of following the build instructions provided by htmltidy and added the resulting library to an `x86-linux` folder in the code folder: https://github.com/trevordevore/lc-htmltidy/tree/master/code You can find a link to the htmltidy build instructions in the product README: https://github.com/trevordevore/lc-htmltidy -- Trevor DeVore ScreenSteps www.screensteps.com From brahma at hindu.org Tue Dec 10 14:39:43 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Dec 2019 19:39:43 +0000 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <5ae83a59-6466-523b-ba72-a901c84ff835@sonic.net> References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> <5ae83a59-6466-523b-ba72-a901c84ff835@sonic.net> Message-ID: <71D6342B-5A01-42FE-811F-D8DA84A78697@hindu.org> So then to trap "the target" in the stack script, require putting pass mousedown (or mouseWhatever) in all the background groups (all of which contain their our MouseDown) Correct? remember the use case: we do not want and script in *any* button or top object that receives a click or touch. The card becomes a pure "view" object. @paul If you have groups where you need to pass a mouseDown (or mosueWhatever) mesage to the card or stack, just add a behavior to the group for a script that contain handlers like on mouseDown pass mouseDown end mouseDown on mouseUp pass mouseUp end mouseUp Although if there is no handler for the mouse event it should pass to the card and then the stack and then any library or backscripts and then the engine. From brahma at hindu.org Tue Dec 10 14:44:45 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Dec 2019 19:44:45 +0000 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <062c7f319f9e354bea2b92d2594086c7@livecode.com> References: <062c7f319f9e354bea2b92d2594086c7@livecode.com> Message-ID: <8262A038-8CB8-45FB-AC6A-A82597F070AD@hindu.org> @ Mark Waddington That's it! Thank you! If you turn 'background behavior' off, then your shared group should no longer receive messages after the card does. From ahsoftware at sonic.net Tue Dec 10 14:56:28 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 10 Dec 2019 11:56:28 -0800 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <71D6342B-5A01-42FE-811F-D8DA84A78697@hindu.org> References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> <5ae83a59-6466-523b-ba72-a901c84ff835@sonic.net> <71D6342B-5A01-42FE-811F-D8DA84A78697@hindu.org> Message-ID: On 12/10/19 11:39 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > So then to trap "the target" in the stack script, require putting > pass mousedown (or mouseWhatever) > in all the background groups (all of which contain their our MouseDown) > > Correct? Only if you want to handle the mouseUp message *first* in the background group script and *then* in the stack script. > > remember the use case: > we do not want and script in *any* button or top object that receives a click or touch. The card becomes a pure "view" object. Q: Why do you have a background group? And mouseUp handlers in it? This will catch any mouseUp messages that aren't already captured by controls on the card, and in addition will catch mouseUp messages if you click on the card itself. Why not just have the mouseUp handler in the stack script? Or put the buttons into their own (not background) group and have the mouseUp handler there? Or have a behavior script for the buttons or group that handles the mouseUp messages? -- Mark Wieder ahsoftware at gmail.com From paul at researchware.com Tue Dec 10 14:56:34 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 10 Dec 2019 14:56:34 -0500 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <71D6342B-5A01-42FE-811F-D8DA84A78697@hindu.org> References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> <5ae83a59-6466-523b-ba72-a901c84ff835@sonic.net> <71D6342B-5A01-42FE-811F-D8DA84A78697@hindu.org> Message-ID: <1db17b01-f89b-aa19-ce9a-e13c723a1901@researchware.com> So if I have a button X with a mouseDown handler in a Group Y also with a mouseDown handler and in my card script (or stack script) also have a mouseDown handler If I click on button X and I only want button X to handle the mouseDown, I do not 'pass mouseDown' in the button X mouseDown handler If I click on button X and I also want another mouseDown handler in the message path - in addition to the one in button X - to do something in response, then I need to 'pass mouseDown' in the button script. In this example, a pass mouseDown in the button mouseDown handler passes the message to the group that contains the button. If that group's mouseDown handler also does a pass mouseDown, then the card or stack gets the mouseDown as well. If they do not pass the message its stops there. Richard Gaskin, at one point, had a really excellent diagram of the LiveCode message hierarchy. If he sees this post and still has it perhaps he could post a link to it. On 12/10/2019 2:39 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > So then to trap "the target" in the stack script, require putting > pass mousedown (or mouseWhatever) > in all the background groups (all of which contain their our MouseDown) > > Correct? > > remember the use case: > we do not want and script in *any* button or top object that receives a click or touch. The card becomes a pure "view" object. > > @paul > > If you have groups where you need to pass a mouseDown (or mosueWhatever) > mesage to the card or stack, just add a behavior to the group for a > script that contain handlers like > > on mouseDown > pass mouseDown > end mouseDown > > on mouseUp > pass mouseUp > end mouseUp > > Although if there is no handler for the mouse event it should pass to > the card and then the stack and then any library or backscripts and then > the engine. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 15:29:59 2019 From: jjs at krutt.org (JJS) Date: Tue, 10 Dec 2019 21:29:59 +0100 Subject: Java update? In-Reply-To: <75EBB1CB-9051-4505-AA52-160F9494BC99@all-auctions.com> References: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> <050E0B20-19B0-47E7-9C3A-6B28AB1DF420@all-auctions.com> <16ef0a02f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <75EBB1CB-9051-4505-AA52-160F9494BC99@all-auctions.com> Message-ID: You can't build for Android if you don't have Java on your machine Op 10-12-2019 om 18:04 schreef Rick Harrison via use-livecode: > If you go into the terminal type; java -version > > That will tell you if you are running java, and what version of it you are running. > > Compare that to what the current version is. Version 8 perhaps? > > I?m running Mojave, and my result tells me I am not running it and then > gives me a dialog to visit Oracle if I want to install it, - which I don?t. > > If you are indeed running it, why are you running it? > Can you live without it? > > Sorry, I can?t speak to the Android issue here right now. > > Rick > > >> On Dec 10, 2019, at 11:24 AM, J. Landman Gay via use-livecode wrote: >> >> I'm running Mac OS 10.14.6 (Mojave) and the dialog popped up on my desktop while I was working in LC. I clicked the "Learn more" link in the dialog and was taken to Oracle's web site which displayed a list of changes and new features. >> >> It appeared to be a normal auto-check for updates. My main concern was whether updating would impact standalone builds for Android. Since the version I have now is working it doesn't seem crucial. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 16:05:13 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Dec 2019 15:05:13 -0600 Subject: Android Scrolling Field - 9.6.dp1 - Receives MouseUp/Down In-Reply-To: References: Message-ID: I think you're seeing this bug, which was fixed in 9.0.5: Without a mouseUp message, it is impossible to detect a swipe within a scroller, which was another fundamental issue that has been corrected. Users depend on swipes, and on mobile it couldn't be done. Taps worked, but all user gestures were detected as a tap instead of a swipe. It was finally fixed. Here is what I use to detect taps and swipes on a native scroller: ****** -- behavior script, assigned to all scrolling controls: local sMouseLoc,sStartLoc on mouseDown put the mouseloc into sMouseLoc put sMouseLoc into sStartLoc end mouseDown on mouseUp put "" into sMouseLoc if abs(the mouseH - item 1 of sStartLoc) <= 10 and \ abs(the mouseV - item 2 of sStartLoc) <= 10 then send "doScrollerTap" to the target else if isSwipe(sStartLoc) then doSwipe sStartLoc -- navigate end if end mouseup on mouseMove x,y -- desktop scrolling, you can omit this if you don't need it if isMobile() or sMouseLoc = "" then exit mouseMove put abs(x - item 1 of sMouseLoc) into tHDist put abs(y - item 2 of sMouseLoc) into tVDist if item 2 of sMouseLoc > y then -- pushing up if the name of me contains "image" then set the hscroll of me to the hscroll of me + tHDist -- bgImg okay set the vscroll of me to the vscroll of me + tVDist else if item 2 of sMouseLoc < y then -- pushing down if the name of me contains "image" then set the hscroll of me to the hscroll of me - tHDist set the vscroll of me to the vscroll of me - tVDist end if put x,y into sMouseLoc end mouseMove on mouseRelease put "" into sMouseLoc put "" into sStartLoc end mouseRelease ******** This requires that a "doScrollerTap" handler is in the message path if you want to detect taps. Or you could send a different message. Here is the handler that detects swipes: ****** function isSwipe pStartLoc -- calculate if a gesture is a horizontal swipe -- called from scrollerBehavior -- pStartLoc = initial mouseloc at mouseDown put abs(the mouseH - item 1 of pStartLoc) into tHDist put abs(the mouseV - item 2 of pStartLoc) into tVDist return tHDist > tVDist -- swipe end isSwipe ****** On iOS you could also try playing with canCancelTouches and delayTouches to see if that helps. Android doesn't support those though. I did set both to false in one case and it seemed to help when used with the above handlers. On 12/10/19 12:02 PM, Lagi Pittas via use-livecode wrote: > Hi All > > I haven't seen anyone else mention this problem or even get involved in a > discussion here except for Bob to confirm it. > It is a FUNDAMENTAL problem. > > @Jacque since you deploy (if memory serves) large android apps , can you > confirm the error and @Panos is there a > workaround or a fix coming anytime soon? > > For IOS 13 we have to use the latest and it is a real pain to work out when > the Android scroller went wrong within the > V 9 series. - never mind having to have multiple environments to compile > with. > > This is a SHOWSTOPPER we have been mostly testing the IOS apps that work > and all of the Android stuff worked > if we didn't have a "long" list that needed to scroll and select. Only > noticed with "Real" data with a long list. > > Gone back to 9.5 and the problem is still there. > > will try 9.05 and see what happens. > > Looks from our testing that the ScrollerBeginDrag and ScrollerEndDrag are > not being fired. > Regards Lagi > > > > On Fri, 6 Dec 2019 at 14:51, Sannyasin Brahmanathaswami via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 9.6 dp 1 I was testing on iOS for a week. >> >> Then I tested on Android. Surprising new behavior in the mobileScroller: >> >> It receives the mouseDown as soon as you scroll, or mouseUp after you >> scroll. This does not happen on iOS, not did in happen in 9.5 on Android. >> >> How can I prevent this and only trigger a "touch" when the user is not >> scrolling? >> >> BR >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Tue Dec 10 16:33:56 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 10 Dec 2019 16:33:56 -0500 Subject: Copying cards from one stack to another Message-ID: Holy Moly Batman! I was in LC9.5.1rc1 and needed to copy some cards from the substack of one mainstack stack to the substack of another main stack. I was surprised to see there appears to be not GUI IDE option to copy a card form one stack to another, not via the clipboard or by any means I can figure out. Thinking this was a bug, I whipped up a couple 3 card test stacks A and B and started going back in LC version ony to find that as far back as I have, LC 6.7.11, you still can not copy a card from one stack to another via the IDE! The only way appears to be via the 'copy to ' script command, except, when use the copy command in the message boc in LC9.5.1rc1 to copy a card, the card appears in the tartget stack (if I have the stack open and visible). The list of cards in the Project Browser is not updated, even if I close the Project Browser and reopen it AND, even though the target stack shows a * in the title bar to indicate it has unsaved changes - the copied cards - saving the target stack and/or its mains tack does NOT save the changes. When * does not go away from the titlebar and when reopened, the copied cards are not present. The stack do NOT have 'cantModify' set to true. I can not believe something as basic as copying a card can not be done via the IDE interface or that the copy command seems broken in 9.5.1rc1. What the heck am I doing wrong?!? From paul at researchware.com Tue Dec 10 16:40:54 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 10 Dec 2019 16:40:54 -0500 Subject: Copying cards from one stack to another In-Reply-To: References: Message-ID: Of course, right after posting this, I discovered that, in the Project Browser, you can drag and drop cards from one stack to another and then saving actually saves the changes. Works in LC951rc1 and 960dp1 Still not sure why copy isn't working OR why you can not use Edit > Copy and Edit >Paste, but at leats I can move on with my work. I just do not have time to further debug the IDE/engine. On 12/10/2019 4:33 PM, Paul Dupuis via use-livecode wrote: > Holy Moly Batman! > > I was in LC9.5.1rc1 and needed to copy some cards from the substack of > one mainstack stack to the substack of another main stack. I was > surprised to see there appears to be not GUI IDE option to copy a card > form one stack to another, not via the clipboard or by any means I can > figure out. > > Thinking this was a bug, I whipped up a couple 3 card test stacks A > and B and started going back in LC version ony to find that as far > back as I have, LC 6.7.11, you still can not copy a card from one > stack to another via the IDE! > > The only way appears to be via the 'copy to ' script > command, except, when use the copy command in the message boc in > LC9.5.1rc1 to copy a card, the card appears in the tartget stack (if I > have the stack open and visible). The list of cards in the Project > Browser is not updated, even if I close the Project Browser and reopen > it AND, even though the target stack shows a * in the title bar to > indicate it has unsaved changes - the copied cards - saving the target > stack and/or its mains tack does NOT save the changes. When * does not > go away from the titlebar and when reopened, the copied cards are not > present. The stack do NOT have 'cantModify' set to true. > > I can not believe something as basic as copying a card can not be done > via the IDE interface or that the copy command seems broken in 9.5.1rc1. > > What the heck am I doing wrong?!? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 17:15:22 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Dec 2019 22:15:22 +0000 Subject: Windows Standalone Performance Message-ID: <96F149CD-49F2-4BF7-B5B2-E41BACC8E8C7@iotecdigital.com> Hi all. Just wanted to give a heads up on what I think is the greatest Windows Standalone performance killer. When I first began to develop, it was done entirely on a Mac, and before I had any thought about how a standalone would work in a multiuser environment. As such, it was easy for me to simply save anything I wanted to persist between sessions as aomething in the stack, a settings card at first, then later as properties of each stack and the main stack. To ensure that these properties persisted I saved each sub stack when I updated any of those properties. On a Mac, for whatever reason, the performance hit was insignificant. On WINDOWS however, it became painfully clear to me that the performance penalty was VERY substantial! I can watch the folder containing the standalone stacks, see the temp files being created, one mississippi, two mississippi, three mississippi, around 4 misssissippi the temp file goes away. Since I do a lot of setup, I was saving the stack(s) multiple times just launching the app! And it was killing the performance. After putting in the condition not (the platform contains "WIN") before my save statements, performance, while not up to snuff compared to the MacOS, is actually quite acceptable. If you are saving your stacks by script when opening and closing, and you are experiencing long delays, consider going a different route. In fact, consider moving all your "settings" and persistent data to a memory array or database, and then writing it to disk either occassionally during idle time, or on quit. Bob S From ahsoftware at sonic.net Tue Dec 10 17:19:28 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 10 Dec 2019 14:19:28 -0800 Subject: Copying cards from one stack to another In-Reply-To: References: Message-ID: On 12/10/19 1:40 PM, Paul Dupuis via use-livecode wrote: > Of course, right after posting this, I discovered that, in the Project > Browser, you can drag and drop cards from one stack to another and then > saving actually saves the changes. Works in LC951rc1 and 960dp1 > > Still not sure why copy isn't working OR why you can not use Edit > Copy > and Edit >Paste, but at leats I can move on with my work. I just do not > have time to further debug the IDE/engine. Yep. One of the many mysteries of the Project Browser. I just end up doing the copypasta thing via the message box to (mostly) keep out of trouble. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Tue Dec 10 17:48:51 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Dec 2019 22:48:51 +0000 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <1db17b01-f89b-aa19-ce9a-e13c723a1901@researchware.com> References: <403fdfff-c9bc-d1ce-20c6-a1d712f61e41@hyperactivesw.com> <98D2F206-8A43-4927-B51A-85EA8A8656DA@hindu.org> <5ae83a59-6466-523b-ba72-a901c84ff835@sonic.net> <71D6342B-5A01-42FE-811F-D8DA84A78697@hindu.org> <1db17b01-f89b-aa19-ce9a-e13c723a1901@researchware.com> Message-ID: <371480B8-36BD-456F-A4D9-5DD51DA12FE5@hindu.org> Mark Waddington gave the answer if need. I really want "shared groups" and not "backgroundGroups" Then the scripts are encapsulated. I turned off backgroundBehavior on all groups. A click on top layer button (no script) now registers in the stack script with its target. I tried it, Yay! After 25 years, still learning?. So if I have a button X with a mouseDown handler in a Group Y also with a mouseDown handler and in my card script (or stack script) also have a mouseDown handler From bobsneidar at iotecdigital.com Tue Dec 10 18:16:39 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Dec 2019 23:16:39 +0000 Subject: LC #48 @TIOBE In-Reply-To: <685fc28a-38de-d017-2a2c-a929631f7d63@fourthworld.com> References: <685fc28a-38de-d017-2a2c-a929631f7d63@fourthworld.com> Message-ID: Nothing in space and time is linear. ;-) Bob S > On Dec 7, 2019, at 18:20 , Richard Gaskin via use-livecode wrote: > > LiveCode has moved up to #48 on the TIOBE Index of programming language popularity: > > https://www.tiobe.com/tiobe-index/ > > It's too early to tell if this upward ranking is due to reductions in other languages or an actual trend with LC, but given that LC was #50 in October this seems a positive sign. > > Highlights from this month's index: > > - 1/3 as popular as Scratch > > - More than half as popular as Lua > > - 2/3 as popular as PowerShell > > - Surpassed Prolog, awk, bash, 4D, Clojure, WebAssembly, Erlang > > - Xojo, once seen as a competitor years ago, not even on the list > > -- > Richard Gaskin > Fourth World Systems From terry.judd at unimelb.edu.au Tue Dec 10 19:35:07 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 11 Dec 2019 00:35:07 +0000 Subject: LC #48 @TIOBE In-Reply-To: References: <685fc28a-38de-d017-2a2c-a929631f7d63@fourthworld.com> Message-ID: Some contrasting data... https://trends.google.com/trends/explore?date=today%205-y&q=%2Fm%2F0490j1 ?On 11/12/19, 10:17 am, "use-livecode on behalf of Bob Sneidar via use-livecode" wrote: Nothing in space and time is linear. ;-) Bob S > On Dec 7, 2019, at 18:20 , Richard Gaskin via use-livecode wrote: > > LiveCode has moved up to #48 on the TIOBE Index of programming language popularity: > > https://www.tiobe.com/tiobe-index/ > > It's too early to tell if this upward ranking is due to reductions in other languages or an actual trend with LC, but given that LC was #50 in October this seems a positive sign. > > Highlights from this month's index: > > - 1/3 as popular as Scratch > > - More than half as popular as Lua > > - 2/3 as popular as PowerShell > > - Surpassed Prolog, awk, bash, 4D, Clojure, WebAssembly, Erlang > > - Xojo, once seen as a competitor years ago, not even on the list > > -- > Richard Gaskin > Fourth World Systems _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Dec 10 20:25:41 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Dec 2019 19:25:41 -0600 Subject: LC #48 @TIOBE In-Reply-To: References: <685fc28a-38de-d017-2a2c-a929631f7d63@fourthworld.com> Message-ID: <16ef28fce08.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Armenia? There's also a livecode programming method, I wonder if that's conflated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 10, 2019 6:37:17 PM Terry Judd via use-livecode wrote: > Some contrasting data... > > https://trends.google.com/trends/explore?date=today%205-y&q=%2Fm%2F0490j1 > > ?On 11/12/19, 10:17 am, "use-livecode on behalf of Bob Sneidar via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Nothing in space and time is linear. ;-) > > Bob S > > > > On Dec 7, 2019, at 18:20 , Richard Gaskin via use-livecode > wrote: > > > > LiveCode has moved up to #48 on the TIOBE Index of programming language > popularity: > > > > https://www.tiobe.com/tiobe-index/ > > > > It's too early to tell if this upward ranking is due to reductions in > other languages or an actual trend with LC, but given that LC was #50 in > October this seems a positive sign. > > > > Highlights from this month's index: > > > > - 1/3 as popular as Scratch > > > > - More than half as popular as Lua > > > > - 2/3 as popular as PowerShell > > > > - Surpassed Prolog, awk, bash, 4D, Clojure, WebAssembly, Erlang > > > > - Xojo, once seen as a competitor years ago, not even on the list > > > > -- > > Richard Gaskin > > Fourth World Systems > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 10 20:44:09 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 11 Dec 2019 01:44:09 +0000 Subject: LC #48 @TIOBE In-Reply-To: <16ef28fce08.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <685fc28a-38de-d017-2a2c-a929631f7d63@fourthworld.com> <16ef28fce08.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Very similar results just with 'livecode' as the search term... https://trends.google.com/trends/explore?date=today%205-y&q=%2Fm%2F0490j1,Livecode ...and the LiveCode website is the first search result on Google and the Wikipedia page on LiveCode the second so it would seem to be a reasonable approximation of general search interest. Might be interesting to do comparative Trends searches of some of the other languages just above LC on the TIOBE index to see how they fare. Interestingly, Armenia doesn't rate a mention with livecode as a search term (vs livecode as a programming language). ?On 11/12/19, 12:26 pm, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: Armenia? There's also a livecode programming method, I wonder if that's conflated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 10, 2019 6:37:17 PM Terry Judd via use-livecode wrote: > Some contrasting data... > > https://trends.google.com/trends/explore?date=today%205-y&q=%2Fm%2F0490j1 > > ?On 11/12/19, 10:17 am, "use-livecode on behalf of Bob Sneidar via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Nothing in space and time is linear. ;-) > > Bob S > > > > On Dec 7, 2019, at 18:20 , Richard Gaskin via use-livecode > wrote: > > > > LiveCode has moved up to #48 on the TIOBE Index of programming language > popularity: > > > > https://www.tiobe.com/tiobe-index/ > > > > It's too early to tell if this upward ranking is due to reductions in > other languages or an actual trend with LC, but given that LC was #50 in > October this seems a positive sign. > > > > Highlights from this month's index: > > > > - 1/3 as popular as Scratch > > > > - More than half as popular as Lua > > > > - 2/3 as popular as PowerShell > > > > - Surpassed Prolog, awk, bash, 4D, Clojure, WebAssembly, Erlang > > > > - Xojo, once seen as a competitor years ago, not even on the list > > > > -- > > Richard Gaskin > > Fourth World Systems > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Dec 10 20:54:29 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 10 Dec 2019 17:54:29 -0800 Subject: LC #48 @TIOBE In-Reply-To: <16ef28fce08.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <685fc28a-38de-d017-2a2c-a929631f7d63@fourthworld.com> <16ef28fce08.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <674c7766-90a2-83f8-6ad3-4ad3e8cc1440@sonic.net> On 12/10/19 5:25 PM, J. Landman Gay via use-livecode wrote: > Armenia? I see a steady 50% linear decrease in interest over the last five years. That can't be good. -- Mark Wieder ahsoftware at gmail.com From capellan2000 at gmail.com Tue Dec 10 21:18:37 2019 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 Dec 2019 22:18:37 -0400 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: References: Message-ID: Just for reference, Dar Scott wrote a Primer in Message Mechanics: http://pages.swcp.com/dsc/revstacks.html Al on Tue, 10 Dec 2019, Paul Dupuis wrote: [snip] Richard Gaskin, at one point, had a really excellent diagram of the LiveCode message hierarchy. If he sees this post and still has it perhaps he could post a link to it. From curry at pair.com Tue Dec 10 21:29:13 2019 From: curry at pair.com (Curry Kenworthy) Date: Tue, 10 Dec 2019 21:29:13 -0500 Subject: Windows Standalone Performance In-Reply-To: <96F149CD-49F2-4BF7-B5B2-E41BACC8E8C7@iotecdigital.com> References: <96F149CD-49F2-4BF7-B5B2-E41BACC8E8C7@iotecdigital.com> Message-ID: <3fb33329-1c13-dd1c-562f-520ce17d36c4@pair.com> Bob: > Since I do a lot of setup, I was saving the stack(s) multiple > times just launching the app! And it was killing the performance. Behold the antivirus. One more reason to code with care.... This time it did you a favor; these habits add up to hurt Mac apps too. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From terry.judd at unimelb.edu.au Tue Dec 10 21:29:45 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 11 Dec 2019 02:29:45 +0000 Subject: LC #48 @TIOBE In-Reply-To: <674c7766-90a2-83f8-6ad3-4ad3e8cc1440@sonic.net> References: <685fc28a-38de-d017-2a2c-a929631f7d63@fourthworld.com> <16ef28fce08.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <674c7766-90a2-83f8-6ad3-4ad3e8cc1440@sonic.net> Message-ID: TIOBE is obviously measuring a bunch of other things and assigning a fair bit of weight to them - if you compare the Trends data for RUST (#31/0.37%) and LiveCode (#48/0.18%) it's chalk and cheese... https://trends.google.com/trends/explore?q=%2Fm%2F0490j1,%2Fm%2F0dsbpg6 ?On 11/12/19, 12:55 pm, "use-livecode on behalf of Mark Wieder via use-livecode" wrote: On 12/10/19 5:25 PM, J. Landman Gay via use-livecode wrote: > Armenia? I see a steady 50% linear decrease in interest over the last five years. That can't be good. -- 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 harrison at all-auctions.com Tue Dec 10 21:42:45 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 10 Dec 2019 21:42:45 -0500 Subject: Java update? In-Reply-To: References: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> <050E0B20-19B0-47E7-9C3A-6B28AB1DF420@all-auctions.com> <16ef0a02f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <75EBB1CB-9051-4505-AA52-160F9494BC99@all-auctions.com> Message-ID: <5DC0B7A7-4143-4190-A9C4-4E3CF313C84C@all-auctions.com> Well, that?s a bummer. There is your answer though. Happy updating! Rick > On Dec 10, 2019, at 3:29 PM, JJS via use-livecode wrote: > > You can't build for Android if you don't have Java on your machine > > Op 10-12-2019 om 18:04 schreef Rick Harrison via use-livecode: >> If you go into the terminal type; java -version >> >> That will tell you if you are running java, and what version of it you are running. >> >> Compare that to what the current version is. Version 8 perhaps? >> >> I?m running Mojave, and my result tells me I am not running it and then >> gives me a dialog to visit Oracle if I want to install it, - which I don?t. >> >> If you are indeed running it, why are you running it? >> Can you live without it? >> >> Sorry, I can?t speak to the Android issue here right now. >> >> Rick >> >> >>> On Dec 10, 2019, at 11:24 AM, J. Landman Gay via use-livecode wrote: >>> >>> I'm running Mac OS 10.14.6 (Mojave) and the dialog popped up on my desktop while I was working in LC. I clicked the "Learn more" link in the dialog and was taken to Oracle's web site which displayed a list of changes and new features. >>> >>> It appeared to be a normal auto-check for updates. My main concern was whether updating would impact standalone builds for Android. Since the version I have now is working it doesn't seem crucial. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Tue Dec 10 21:57:58 2019 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 10 Dec 2019 19:57:58 -0700 Subject: Java update? In-Reply-To: <5DC0B7A7-4143-4190-A9C4-4E3CF313C84C@all-auctions.com> References: <23ec6c9c-a4fe-5a6a-cbfd-e6bb8754008f@hyperactivesw.com> <050E0B20-19B0-47E7-9C3A-6B28AB1DF420@all-auctions.com> <16ef0a02f20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <75EBB1CB-9051-4505-AA52-160F9494BC99@all-auctions.com> <5DC0B7A7-4143-4190-A9C4-4E3CF313C84C@all-auctions.com> Message-ID: I don?t know if your version of LiveCode is an example, but many applications need Java 6 in particular, and macOS comes with Java 8. The solution is to install the legacy version of Java as well: https://support.apple.com/kb/dl1572?locale=en_US From brahma at hindu.org Tue Dec 10 23:11:13 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 11 Dec 2019 04:11:13 +0000 Subject: Animated Gifs - Keep them Running Message-ID: <8BD0DCDE-9B7A-4794-8B42-E19AEBB97DCD@hindu.org> I switched from the mobileIndicator to installing an animated gif for Loading. This way I have control over the load process and can let users bail out. It is a lovely gif, but it "hangs" when the processor on phone is doing something else. It there are way to keep it's frames "circling" until get we get a good download and dismiss it / vis is false? br From ambassador at fourthworld.com Tue Dec 10 23:57:27 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Dec 2019 20:57:27 -0800 Subject: Animated Gifs - Keep them Running In-Reply-To: <8BD0DCDE-9B7A-4794-8B42-E19AEBB97DCD@hindu.org> References: <8BD0DCDE-9B7A-4794-8B42-E19AEBB97DCD@hindu.org> Message-ID: <0ca6acce-15a4-efa2-fa26-eabc8b6ef6f2@fourthworld.com> Sannyasin Brahmanathaswami wrote: > I switched from the mobileIndicator to installing an animated gif for > Loading. This way I have control over the load process and can let > users bail out. > > It is a lovely gif, but it "hangs" when the processor on phone is > doing something else. It there are way to keep it's frames "circling" > until get we get a good download and dismiss it / vis is false? http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Dec 11 00:03:33 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Dec 2019 21:03:33 -0800 Subject: LC #48 @TIOBE In-Reply-To: References: Message-ID: Terry Judd wrote: > Some contrasting data... > > https://trends.google.com/trends/explore?date=today%205-y&q=%2Fm%2F0490j1 2013 was LC's massive Kickstarter campaign. For a system reflecting general searches, I would expect a decline in general attention after that. Among programmer-specific resources used for TIOBE, a modest increase is fairly consistent with what I see subjectively from new membership rates in the forums. Not that TIOBE is perfect, and it is indeed useful to use as many metrics as practical for business planning. But the industry seems to favor TIOBE for ranking programming languages, and there may be some good reasons behind its popularity for that metric. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Dec 11 00:20:39 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Dec 2019 21:20:39 -0800 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <1db17b01-f89b-aa19-ce9a-e13c723a1901@researchware.com> References: <1db17b01-f89b-aa19-ce9a-e13c723a1901@researchware.com> Message-ID: <6ec1dbe9-fe7f-f576-b6f7-1aff7fee98a2@fourthworld.com> Paul Dupuis wrote: > Richard Gaskin, at one point, had a really excellent diagram of the > LiveCode message hierarchy. If he sees this post and still has it > perhaps he could post a link to it. Still there: https://www.fourthworld.com/embassy/articles/revolution_message_path.html Since I made that back in the day (the file name hints at its age), I've discovered a pretty great resource mysteriously unknown in our community, but surprisingly comprehensive and includes a nearly identical diagram. It has more than 650 pages of comprehensive info on using LiveCode, broken down into well organized sections and subsections, often with illustrations and screen shots, all put together in a well-indexed PDF. They call it "LiveCode User Guide", and it's been secretly bundled with every release of LiveCode for several years. :) I'm having fun there, but seriously, the User Guide has been pretty good in recent years. I'm often surprised at how the answers to many forum questions are covered well in it, yet when I ask about it most people don't even notice that it's there, the second-from-the-top item in LC's Help menu. The Message Path discussion starts on p 101, with a pretty good diagram on p 102, including a distinction between Groups and Backgrounds. In fact, p 105 includes a discussion of that distinction far more concise yet no less helpful than my longish post here the other day. PS: I was going to include a link to the Github repo for anyone who might want to help with errata or enhancements to the docs, but I couldn't find the PDF sources in the /docs folder. What am I missing? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Dec 11 03:47:31 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Dec 2019 00:47:31 -0800 Subject: Windows Standalone Performance In-Reply-To: <96F149CD-49F2-4BF7-B5B2-E41BACC8E8C7@iotecdigital.com> References: <96F149CD-49F2-4BF7-B5B2-E41BACC8E8C7@iotecdigital.com> Message-ID: Bob Sneidar wrote: > Just wanted to give a heads up on what I think is the greatest Windows > Standalone performance killer. .. > On a Mac, for whatever reason, the performance hit was insignificant. > On WINDOWS however, it became painfully clear to me that the > performance penalty was VERY substantial! I can watch the folder > containing the standalone stacks, see the temp files being created, > one mississippi, two mississippi, three mississippi, around 4 > misssissippi the temp file goes away. Assuming similar storage specs, it may be that Windows is inherently slower than Unix (possibly), or maybe LC less optimized there (likely). But such a dramatic difference with that specific evidence merits another test. Windows Explorer definitely has a longer default period between automatic directory listings than the macOS Finder. You can see it in many contexts. Maybe better would be to set the cursor to watch on save, and time that. Better still might be to time the milliseconds from the beginning of the save until after the OS returns control to your script when it's done. I suspect you'll still see a difference, but not nearly as dramatic as the slower refresh rates in the file manager UI. -- 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 bobsneidar at iotecdigital.com Wed Dec 11 10:37:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Dec 2019 15:37:04 +0000 Subject: Windows Standalone Performance In-Reply-To: <3fb33329-1c13-dd1c-562f-520ce17d36c4@pair.com> References: <96F149CD-49F2-4BF7-B5B2-E41BACC8E8C7@iotecdigital.com> <3fb33329-1c13-dd1c-562f-520ce17d36c4@pair.com> Message-ID: <6FCA3F2D-8212-4291-8F5F-9B5974970CB2@iotecdigital.com> Easy enough to test. I'll do that later and get back with results. It's definitely worth exploring, but I can short cut that a bit by saying that since virtually everyone with any sense has some kind of protection, even if it's Windows Defender, but also other protection on top of that, the exercise is somewhat academic. No one is going to turn off their file AV and simply trusting the app may not be enough to disable file checking operations. Bob S > On Dec 10, 2019, at 18:29 , Curry Kenworthy via use-livecode wrote: > > > Bob: > > > Since I do a lot of setup, I was saving the stack(s) multiple > > times just launching the app! And it was killing the performance. > > Behold the antivirus. One more reason to code with care.... > > This time it did you a favor; these habits add up to hurt Mac apps too. > > 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 bobsneidar at iotecdigital.com Wed Dec 11 10:38:54 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Dec 2019 15:38:54 +0000 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <6ec1dbe9-fe7f-f576-b6f7-1aff7fee98a2@fourthworld.com> References: <1db17b01-f89b-aa19-ce9a-e13c723a1901@researchware.com> <6ec1dbe9-fe7f-f576-b6f7-1aff7fee98a2@fourthworld.com> Message-ID: Richard, I'm not sure you were posting this to the right forum. You see, this is the Livecode forum. We don't need no stinking User Guides! :-) Bob S > On Dec 10, 2019, at 21:20 , Richard Gaskin via use-livecode wrote: > > Paul Dupuis wrote: > > Richard Gaskin, at one point, had a really excellent diagram of the > > LiveCode message hierarchy. If he sees this post and still has it > > perhaps he could post a link to it. > > Still there: > https://www.fourthworld.com/embassy/articles/revolution_message_path.html > > Since I made that back in the day (the file name hints at its age), I've discovered a pretty great resource mysteriously unknown in our community, but surprisingly comprehensive and includes a nearly identical diagram. > > It has more than 650 pages of comprehensive info on using LiveCode, broken down into well organized sections and subsections, often with illustrations and screen shots, all put together in a well-indexed PDF. > > They call it "LiveCode User Guide", and it's been secretly bundled with every release of LiveCode for several years. :) > > I'm having fun there, but seriously, the User Guide has been pretty good in recent years. I'm often surprised at how the answers to many forum questions are covered well in it, yet when I ask about it most people don't even notice that it's there, the second-from-the-top item in LC's Help menu. > > The Message Path discussion starts on p 101, with a pretty good diagram on p 102, including a distinction between Groups and Backgrounds. > > In fact, p 105 includes a discussion of that distinction far more concise yet no less helpful than my longish post here the other day. > > > PS: I was going to include a link to the Github repo for anyone who might want to help with errata or enhancements to the docs, but I couldn't find the PDF sources in the /docs folder. What am I missing? > > -- > Richard Gaskin From brian at milby7.com Wed Dec 11 10:50:31 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 11 Dec 2019 10:50:31 -0500 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <6ec1dbe9-fe7f-f576-b6f7-1aff7fee98a2@fourthworld.com> References: <1db17b01-f89b-aa19-ce9a-e13c723a1901@researchware.com> <6ec1dbe9-fe7f-f576-b6f7-1aff7fee98a2@fourthworld.com> Message-ID: The PDF files are generated from .md files. The guides are split between two locations: https://github.com/livecode/livecode/tree/develop/docs/guides https://github.com/livecode/livecode-ide/tree/develop/Documentation/guides Thanks, Brian On Wed, Dec 11, 2019 at 12:21 AM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > > PS: I was going to include a link to the Github repo for anyone who > might want to help with errata or enhancements to the docs, but I > couldn't find the PDF sources in the /docs folder. What am I missing? > > -- > 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 ahsoftware at sonic.net Wed Dec 11 11:51:42 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 11 Dec 2019 08:51:42 -0800 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <6ec1dbe9-fe7f-f576-b6f7-1aff7fee98a2@fourthworld.com> References: <1db17b01-f89b-aa19-ce9a-e13c723a1901@researchware.com> <6ec1dbe9-fe7f-f576-b6f7-1aff7fee98a2@fourthworld.com> Message-ID: On 12/10/19 9:20 PM, Richard Gaskin via use-livecode wrote: > The Message Path discussion starts on p 101, with a pretty good diagram > on p 102, including a distinction between Groups and Backgrounds. OMG - there's documentation? Admittedly I haven't looked at the User Guide in quite a while. That is indeed a fair diagram of the message path, although yours is more up-to-date by including behaviors. -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Wed Dec 11 15:13:20 2019 From: curry at pair.com (Curry Kenworthy) Date: Wed, 11 Dec 2019 15:13:20 -0500 Subject: Windows Standalone Performance In-Reply-To: <6FCA3F2D-8212-4291-8F5F-9B5974970CB2@iotecdigital.com> References: <6FCA3F2D-8212-4291-8F5F-9B5974970CB2@iotecdigital.com> Message-ID: <147ab0c1-f201-c262-7225-ebdc81887637@pair.com> > No one is going to turn off their file AV LOL - yes, but that would be entirely your idea, not mine. As I said, yet another reason to code with care. Saving a stack multiple times while launching is not a good habit. Bad habits add up to hurt Mac apps too. The AV did you a favor with exaggerated symptoms to highlight that weakness in your code. Not just a Windows problem. If you applied the fix for all platforms, you now have better Mac code too. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Wed Dec 11 16:45:14 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Dec 2019 21:45:14 +0000 Subject: Windows Standalone Performance In-Reply-To: <147ab0c1-f201-c262-7225-ebdc81887637@pair.com> References: <6FCA3F2D-8212-4291-8F5F-9B5974970CB2@iotecdigital.com> <147ab0c1-f201-c262-7225-ebdc81887637@pair.com> Message-ID: I like that. Looking on the bright side. :-) And of course you are right, saving multiple times is not a good thing, but I did this back when we had that bug where saving scripts actually didn't for whatever reason, and I had some crash to desktop issues as well, prompting me to insert an auto save whenever a stack was closed. We are past that now, so I am going through my code and removing all that, saving prefs when I close the app, and when making changes to the settings, and at no other time. Bob S > On Dec 11, 2019, at 12:13 , Curry Kenworthy via use-livecode wrote: > > > No one is going to turn off their file AV > > LOL - yes, but that would be entirely your idea, not mine. > > As I said, yet another reason to code with care. > > Saving a stack multiple times while launching is not a good habit. Bad habits add up to hurt Mac apps too. > > The AV did you a favor with exaggerated symptoms to highlight that weakness in your code. Not just a Windows problem. If you applied the fix for all platforms, you now have better Mac code too. From bobsneidar at iotecdigital.com Wed Dec 11 16:48:26 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Dec 2019 21:48:26 +0000 Subject: Animated Gifs - Keep them Running In-Reply-To: <0ca6acce-15a4-efa2-fa26-eabc8b6ef6f2@fourthworld.com> References: <8BD0DCDE-9B7A-4794-8B42-E19AEBB97DCD@hindu.org> <0ca6acce-15a4-efa2-fa26-eabc8b6ef6f2@fourthworld.com> Message-ID: <6BF951A4-3147-4ECE-AA5A-84350BF8E6E1@iotecdigital.com> I read and agree. I think certain tasks ought to have independent threads separate from the code engine. That shouldn't be too hard to implement, and those tasks would not need to communicate with the main thread, since they are essentially utilitarian in nature. Bob S > On Dec 10, 2019, at 20:57 , Richard Gaskin via use-livecode wrote: > > Sannyasin Brahmanathaswami wrote: > > > I switched from the mobileIndicator to installing an animated gif for > > Loading. This way I have control over the load process and can let > > users bail out. > > > > It is a lovely gif, but it "hangs" when the processor on phone is > > doing something else. It there are way to keep it's frames "circling" > > until get we get a good download and dismiss it / vis is false? > > > http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From paul at researchware.com Wed Dec 11 18:38:37 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 11 Dec 2019 18:38:37 -0500 Subject: OT: HTML img src and Windows problem Message-ID: <98f81a62-8d21-7960-a131-5a37721bf037@researchware.com> This is not directly related to LiveCode. I amwriting a bunch of html from LiveCode to a local .html file. In it there are image tags to images in the same location as the .html file, so an image tag in the HTML might be: Not matter what browser I open the HTML file in under Windows 10 (Firefox or Chrome), the image links are broken. When I roll over one (such as the above) it shows file:///C:/Users/paul/Desktop/help/img-500227-PDF.gif My understanding of HTML src paths is that for just a file NAME, the browser should look in the same folder as the html page file? Anyone know what you need to do to get relative image source paths to work in HTML written from LiveCode? From hh at hyperhh.de Wed Dec 11 19:08:41 2019 From: hh at hyperhh.de (hh) Date: Thu, 12 Dec 2019 01:08:41 +0100 Subject: OT: HTML img src and Windows problem Message-ID: <66ACE282-FD9A-44BF-B14C-EA9C60735324@hyperhh.de> This is all OK assuming your html file is in /Users/paul/Desktop/help/. It works here with all modern browsers. The error is caused somewhere else in your webpage. Contains the char-attribute a gremlin or did you set a conflicting base url? You could use the WebInspector of the browser to see what's going on. From neville.smythe at optusnet.com.au Wed Dec 11 19:33:06 2019 From: neville.smythe at optusnet.com.au (Neville) Date: Thu, 12 Dec 2019 11:33:06 +1100 Subject: Windows Standalone Performance Message-ID: <590DEEBA-7EEB-4A98-A29E-3DA4D81D3E63@optusnet.com.au> This bug was reported some time ago https://quality.livecode.com/show_bug.cgi?id=21305 Saving a 9 megabyte stack in Windows 10 can take 10 seconds or more. It is not caused by Windows Defender or anti-virus software. From paul at researchware.com Wed Dec 11 20:04:19 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 11 Dec 2019 20:04:19 -0500 Subject: AW: Re: OT: HTML img src and Windows problem In-Reply-To: <98f81a62-8d21-7960-a131-5a37721bf037@researchware.com> References: <98f81a62-8d21-7960-a131-5a37721bf037@researchware.com> Message-ID: On 12/11/2019 6:38 PM, Paul Dupuis via use-livecode wrote: > This is not directly related to LiveCode. I amwriting a bunch of html > from LiveCode to a local .html file. In it there are image tags to > images in the same location as the .html file, so an image tag in the > HTML might be: > > > > Not matter what browser I open the HTML file in under Windows 10 > (Firefox or Chrome), the image links are broken. When I roll over one > (such as the above) it shows > > file:///C:/Users/paul/Desktop/help/img-500227-PDF.gif > > My understanding of HTML src paths is that for just a file NAME, the > browser should look in the same folder as the html page file? > > Anyone know what you need to do to get relative image source paths to > work in HTML written from LiveCode? > User error. The images were all "bad" because I was using export image .. to file tFile and forgetting the "as . I assumed that if you didn't specify the format, it would export in the format the image was in (i.e. gif to gif). From sean at pidigital.co.uk Wed Dec 11 23:21:00 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 12 Dec 2019 04:21:00 +0000 Subject: Windows Standalone Performance In-Reply-To: <590DEEBA-7EEB-4A98-A29E-3DA4D81D3E63@optusnet.com.au> References: <590DEEBA-7EEB-4A98-A29E-3DA4D81D3E63@optusnet.com.au> Message-ID: <8A634D0B-DD73-4525-9C80-E582D15CAB50@pidigital.co.uk> Hi Neville From my stance I have never seen this behaviour for any version of LC from any stack ide or standalone on Mac, Windows XP/7/8/10 native or via ParallelsDesktop. Perhaps you could do a few screen recordings using an external device like your phone and show the task manager reporting drive activity and processor activity. This would give a better understanding or your case scenario. All the best. Sean Cole Pi Digital Prod Ltd > On 12 Dec 2019, at 00:33, Neville via use-livecode wrote: > > ?This bug was reported some time ago https://quality.livecode.com/show_bug.cgi?id=21305 > > Saving a 9 megabyte stack in Windows 10 can take 10 seconds or more. > > It is not caused by Windows Defender or anti-virus software. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kurtkaufman at hotmail.com Thu Dec 12 12:16:54 2019 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Thu, 12 Dec 2019 17:16:54 +0000 Subject: LC PDF User Guide In-Reply-To: References: Message-ID: Thanks so much for bringing this to my attention. I was aware of the LC User Guide in the past, but hadn't realized (or had forgotten) that it is in the PDF format, and as such, is easy to duplicate and press into service on a tablet for browsing or when assistance is required. Kurt Richard Gaskin wrote: "... It has more than 650 pages of comprehensive info on using LiveCode, broken down into well organized sections and subsections, often with illustrations and screen shots, all put together in a well-indexed PDF. They call it "LiveCode User Guide", and it's been secretly bundled with every release of LiveCode for several years. :) I'm having fun there, but seriously, the User Guide has been pretty good in recent years. I'm often surprised at how the answers to many forum questions are covered well in it, yet when I ask about it most people don't even notice that it's there, the second-from-the-top item in LC's Help menu. ..." From brahma at hindu.org Thu Dec 12 12:38:16 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 12 Dec 2019 17:38:16 +0000 Subject: Animated Gifs - Keep them Running In-Reply-To: <0ca6acce-15a4-efa2-fa26-eabc8b6ef6f2@fourthworld.com> References: <8BD0DCDE-9B7A-4794-8B42-E19AEBB97DCD@hindu.org> <0ca6acce-15a4-efa2-fa26-eabc8b6ef6f2@fourthworld.com> Message-ID: <5847EAEC-0994-49A7-AB2D-82727240E9F5@hindu.org> Hmmm. "Indeed, without even the option of threaded GIF playback, it isn't possible to make a progress indicator that doesn't affect overall performance, in addition to having disturbingly jerky appearance." Yes, I suspected the "LC - Single thread" issue. at least the mobileIndicator while "ugly" runs smoothly as expected. > It is a lovely gif, but it "hangs" when the processor on phone is > doing something else. It there are way to keep it's frames "circling" > until get we get a good download and dismiss it / vis is false? http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html -- Richard Gaskin From brahma at hindu.org Thu Dec 12 12:38:16 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 12 Dec 2019 17:38:16 +0000 Subject: Groups in the message path: Trapping Mouseup In-Reply-To: <6ec1dbe9-fe7f-f576-b6f7-1aff7fee98a2@fourthworld.com> References: <1db17b01-f89b-aa19-ce9a-e13c723a1901@researchware.com> <6ec1dbe9-fe7f-f576-b6f7-1aff7fee98a2@fourthworld.com> Message-ID: <1A3A3023-C8D6-4E9D-893B-FCF96FE53C9C@hindu.org> User Guide: I tell myself periodically to read the whole thing (be never do?tinyDictionary has me hooked) ? here it is, as you says, clearly stated on page 105 If background behavior is false, the group is in the message path for all controls it owns, but is not in the message path of any other object. If the background behavior is true, the group is also in the message path for any cards it is placed on. If you send a message to a card control, the message passes through the control, then the card, then any background groups on the card in order of number, then the stack. Since a group owns any controls that are part of the group, if you send a message to a control within a group, the group is in the message path for its own controls, regardless of whether it?s background behavior is true or false. If a group has already received a message because it was originally sent to one of the controls in the group, the message is not sent through the group again after the card has handled it. Tip: If you want a handler in a group's script to affect only the objects in the group, place the following statement at the beginning of the handler: if the owner of the target is not me then pass message. This filters out any objects that are not part of the group. I'm having fun there, but seriously, the User Guide has been pretty good in recent years. I'm often surprised at how the answers to many forum questions are covered well in it, yet when I ask about it most people don't even notice that it's there, the second-from-the-top item in LC's Help menu. From richmondmathewson at gmail.com Thu Dec 12 14:26:27 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2019 21:26:27 +0200 Subject: Animated Gifs - Keep them Running In-Reply-To: <5847EAEC-0994-49A7-AB2D-82727240E9F5@hindu.org> References: <8BD0DCDE-9B7A-4794-8B42-E19AEBB97DCD@hindu.org> <0ca6acce-15a4-efa2-fa26-eabc8b6ef6f2@fourthworld.com> <5847EAEC-0994-49A7-AB2D-82727240E9F5@hindu.org> Message-ID: <5afb1a0b-f4a4-16d7-ac4f-055edce79968@gmail.com> Presumably you mean the mobileBusyIndicator. On 12.12.19 19:38, Sannyasin Brahmanathaswami via use-livecode wrote: > Hmmm. "Indeed, without even the option of threaded GIF playback, it isn't possible to > make a progress indicator that doesn't affect overall performance, in > addition to having disturbingly jerky appearance." > > Yes, I suspected the "LC - Single thread" issue. at least the mobileIndicator while "ugly" runs smoothly as expected. > >> It is a lovely gif, but it "hangs" when the processor on phone is >> doing something else. It there are way to keep it's frames "circling" >> until get we get a good download and dismiss it / vis is false? > > http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html > > -- > Richard Gaskin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Dec 12 15:32:48 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2019 22:32:48 +0200 Subject: Animated Gifs - Keep them Running In-Reply-To: <5847EAEC-0994-49A7-AB2D-82727240E9F5@hindu.org> References: <8BD0DCDE-9B7A-4794-8B42-E19AEBB97DCD@hindu.org> <0ca6acce-15a4-efa2-fa26-eabc8b6ef6f2@fourthworld.com> <5847EAEC-0994-49A7-AB2D-82727240E9F5@hindu.org> Message-ID: If you can convert the gif into a series of SVG images you could, possibly, import them into a widget. Richmond. On 12.12.19 19:38, Sannyasin Brahmanathaswami via use-livecode wrote: > Hmmm. "Indeed, without even the option of threaded GIF playback, it isn't possible to > make a progress indicator that doesn't affect overall performance, in > addition to having disturbingly jerky appearance." > > Yes, I suspected the "LC - Single thread" issue. at least the mobileIndicator while "ugly" runs smoothly as expected. > >> It is a lovely gif, but it "hangs" when the processor on phone is >> doing something else. It there are way to keep it's frames "circling" >> until get we get a good download and dismiss it / vis is false? > > http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html > > -- > Richard Gaskin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Dec 12 17:06:45 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 12 Dec 2019 17:06:45 -0500 Subject: Livecode field htmlText to HTML5/CSS Message-ID: Does anyone have a library? to? - as fully as possible - convert LC9 Livecode htmlText to HTML5/CSS that I could use, beg, borrow, steal, or nominally license? I have bits and pieces - a handler to convert the tag to a for font face, size, etc. and some other bits, but rather than build up a full library over however many eons it may take me, I thought I would see if anyone had something that was complete (or as complete as technically possible since) and covered all the spaceAbove, sapceBelow, etc. etc. new paragraph attributes and so on? From ambassador at fourthworld.com Thu Dec 12 17:29:00 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Dec 2019 14:29:00 -0800 Subject: Animated Gifs - Keep them Running In-Reply-To: References: Message-ID: Does the SVG widget run in a separate thread? -- Richard Gaskin Fourth World Systems Richmond wrote: > If you can convert the gif into a series of SVG images you could, > possibly, import them into a widget. > > Richmond. > > On 12.12.19 19:38, Sannyasin Brahmanathaswami via use-livecode wrote: >> Hmmm. "Indeed, without even the option of threaded GIF playback, it isn't possible to >> make a progress indicator that doesn't affect overall performance, in >> addition to having disturbingly jerky appearance." >> >> Yes, I suspected the "LC - Single thread" issue. at least the mobileIndicator while "ugly" runs smoothly as expected. >> >>> It is a lovely gif, but it "hangs" when the processor on phone is >>> doing something else. It there are way to keep it's frames "circling" >>> until get we get a good download and dismiss it / vis is false? >> >> http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html >> >> -- >> Richard Gaskin From hh at hyperhh.de Thu Dec 12 17:30:58 2019 From: hh at hyperhh.de (hh) Date: Thu, 12 Dec 2019 23:30:58 +0100 Subject: HTML5: Native PlainText Fields Message-ID: We already have HTML5: Native RichText Field https://hyperhh.de/html5/HTML5Field_v106-9.5.0X.html This is now a bit simpler (and simpler to implement): HTML5: Native PlainText Fields (basic example) The stack, downloadable from http://forums.livecode.com/viewtopic.php?p=186081#p186081 has a script of 90 lines. This includes (beside comments) ? all you need for creating a native input field (one line) and a textarea. Both display plain text only but with all usual keyboard features (UTF-8 and cmd-A/C/V/X/Z) and drag&drop. ? all you need for the UTF-8 text exchange between LC and these native fields. All you have to do (in LC 9) is to unzip the stack and hit button "TEST" from the LC toolbar. From hh at hyperhh.de Thu Dec 12 17:46:36 2019 From: hh at hyperhh.de (hh) Date: Thu, 12 Dec 2019 23:46:36 +0100 Subject: Animated Gifs - Keep them Running Message-ID: @BR Don't run the gif as animation but do your own animation by setting the (or some) frames using "send in time". By that you can control better the "animation". Using a widget for that is significantly slower (takes more CPU) than LCS with such animations. From tom at makeshyft.com Thu Dec 12 18:49:58 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 12 Dec 2019 18:49:58 -0500 Subject: Animated Gifs - Keep them Running In-Reply-To: References: Message-ID: RG....i rotate an svg using send it time and it seems to work really well. i can rotate many svgs simultaneously....so maybe svg is the answer here....as far as a progress indicator. On Thu, Dec 12, 2019 at 5:47 PM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > @BR > > Don't run the gif as animation but do your own animation > by setting the (or some) frames using "send in time". > By that you can control better the "animation". > > Using a widget for that is significantly slower (takes more > CPU) than LCS with such animations. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From neville.smythe at optusnet.com.au Thu Dec 12 20:23:41 2019 From: neville.smythe at optusnet.com.au (Neville) Date: Fri, 13 Dec 2019 12:23:41 +1100 Subject: windows standalone performance Message-ID: <519D533C-8FF1-48AE-AC94-BFEAB2AAD405@optusnet.com.au> Hi Sean The slow saving of stacks under LC9 occurs in Windows 10, native and using Parallels Desktop. https://quality.livecode.com/show_bug.cgi?id=21305 Mac, Linux and previous versions of Windows are not affected. The bug was confirmed by Quality Control although not initially; so it is evidently related to some particular configuration of Windows 10 - although my Mac Parallels setup is out-of-the-box as was the native Windows machine of the user who reported it to me. It is not affected by turning off Windows Defender and AV software. There is nothing special I can think of for the particular stack being saved (except it is large, to demonstrate the saving speed); the example stack is in the bug report. When the "save stack? handler activates you can see the temporary file created on the desktop of Explorer immediately, but then a long wait for the file write to complete. Saving a file from LC, rather than a stack, is not any slower than for other Windows apps (so sqlite performance is presumably not affected). Neville From sean at pidigital.co.uk Thu Dec 12 22:49:00 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 13 Dec 2019 03:49:00 +0000 Subject: windows standalone performance In-Reply-To: <519D533C-8FF1-48AE-AC94-BFEAB2AAD405@optusnet.com.au> References: <519D533C-8FF1-48AE-AC94-BFEAB2AAD405@optusnet.com.au> Message-ID: From what I can tell from QC is that it has not been confirmed and been marked as pending due to not being able to reproduce. Therefore the report is in limbo until further evidence or successful, consistent reproduction can be displayed. Hence, if you make a video of your findings it makes it easier for us to see your specific findings and external system conditions. That may well help us find out what causes the hang or lag. All the best. Sean Cole Pi Digital Prod Ltd > On 13 Dec 2019, at 01:23, Neville via use-livecode wrote: > > ?Hi Sean > > The slow saving of stacks under LC9 occurs in Windows 10, native and using Parallels Desktop. > https://quality.livecode.com/show_bug.cgi?id=21305 > > Mac, Linux and previous versions of Windows are not affected. > > The bug was confirmed by Quality Control although not initially; so it is evidently related to some particular configuration of Windows 10 - although my Mac Parallels setup is out-of-the-box as was the native Windows machine of the user who reported it to me. It is not affected by turning off Windows Defender and AV software. There is nothing special I can think of for the particular stack being saved (except it is large, to demonstrate the saving speed); the example stack is in the bug report. When the "save stack? handler activates you can see the temporary file created on the desktop of Explorer immediately, but then a long wait for the file write to complete. > > Saving a file from LC, rather than a stack, is not any slower than for other Windows apps (so sqlite performance is presumably not affected). > > Neville > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Dec 13 11:28:20 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 13 Dec 2019 16:28:20 +0000 Subject: Animated Gifs - Keep them Running In-Reply-To: References: Message-ID: <8EF1BF16-56BC-4758-88CD-B2CEE9306640@hindu.org> @richard: I don't think *anything* including widget, run in a different thread on LC @HH and Tom Great idea! (using send) ---------- aside fyi dictionary is confused: rotate: OS mac, windows, linux Platforms desktop, server, mobile It should say, (hopefully) iOS and Android..whatever.. ----------- I assume you can make an independent handler for each svg?or GIF and send in time? how much time do you give? Do you set flags like AnimationEngine? I found them problematic if we use repeat loops on mobile. (can't break a looping repeat if by (un)setting a flag) @tom can you send a snippet of you code? Because you have worked out the kinks. I imagine something like this, local sRotateFlag # 1 or 0 command startSpinner put 1 into sRotateFlag show widget "spinner" rotateBusySpinner end startSpinner command stopSpinner put 0 into sRotateSpinner hide widget "spinner" command stopSpinner command rotateBusySpinner if sRotateFlag = 1 then rotate widget "spinner" by -10 end if send rotateBusySpinner to me in 10 millisecond end rotateBusySpinner I suppose you can use an array to poke image names, to set them several going an once. How are you doing that? I really don't know how much the CPU for engine on mobile can take before you see performance issues. What is the minimum time "idle" time where you poke a "send" before you interfere with the engine on mobile: rotate 10 millisecond, 200 milliseconds? Of course I can try it ?. my Moto6 is good "middle" ground between high end android cpu and low end BR .i rotate an svg using send it time and it seems to work really well. i can rotate many sgs simultaneously....so maybe svg is the answer here....as far as a progress indicator. On Thu, Dec 12, 2019 at 5:47 PM hh via use-livecode < mailto:use-livecode at lists.runrev.com> wrote: > @BR > > Don't run the gif as animation but do your own animation > by setting the (or some) frames using "send in time". > By that you can control better the "animation". From bobsneidar at iotecdigital.com Fri Dec 13 11:31:45 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Dec 2019 16:31:45 +0000 Subject: Standalones and the defaultFolder Message-ID: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> Hi all. I was given to understand that in a standalone, when I open another stack it by default looks in the folder the executable is in first, and then in some other places if it doesn't find it. This used to work and now does not. When for instance I issue the command "go stack devices" where devices.rev is in the executable folder, it throws an error that it cannot find the stack. This is something new with v9.5.1 rc1. I've determined that setting the defaultFolder to the folder of the executable resolves the issue for that instance but what I am going to have to do is set the defaultFolder when I first launch the app, then go through my code and deprecate the use of setting the default folder, and using coded full paths instead. Bob S From klaus at major-k.de Fri Dec 13 11:38:53 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 13 Dec 2019 17:38:53 +0100 Subject: Animated Gifs - Keep them Running In-Reply-To: <8EF1BF16-56BC-4758-88CD-B2CEE9306640@hindu.org> References: <8EF1BF16-56BC-4758-88CD-B2CEE9306640@hindu.org> Message-ID: Hi Swami, > Am 13.12.2019 um 17:28 schrieb Sannyasin Brahmanathaswami via use-livecode : > ... > ---------- aside > fyi dictionary is confused: > rotate: > OS mac, windows, linux > Platforms desktop, server, mobile ROTATE is for IMAGE editing only and maybe lossy in that case! You should use: -> SET THE ANGLE of widget xyz to N just like with images you want to "rotate". Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Fri Dec 13 11:56:19 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Dec 2019 10:56:19 -0600 Subject: Standalones and the defaultFolder In-Reply-To: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> Message-ID: <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Would the stackfiles property help here? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 13, 2019 10:33:38 AM Bob Sneidar via use-livecode wrote: > Hi all. > > I was given to understand that in a standalone, when I open another stack > it by default looks in the folder the executable is in first, and then in > some other places if it doesn't find it. This used to work and now does > not. When for instance I issue the command "go stack devices" where > devices.rev is in the executable folder, it throws an error that it cannot > find the stack. > > This is something new with v9.5.1 rc1. I've determined that setting the > defaultFolder to the folder of the executable resolves the issue for that > instance but what I am going to have to do is set the defaultFolder when I > first launch the app, then go through my code and deprecate the use of > setting the default folder, and using coded full paths instead. > > 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 brahma at hindu.org Fri Dec 13 11:56:49 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 13 Dec 2019 16:56:49 +0000 Subject: Animated Gifs - Keep them Running In-Reply-To: References: <8EF1BF16-56BC-4758-88CD-B2CEE9306640@hindu.org> Message-ID: <0F6695B7-A993-4B55-806E-731C3CF80E51@hindu.org> Ahh.. good catch! You should use: -> SET THE ANGLE of widget xyz to N just like with images you want to "rotate". From brahma at hindu.org Fri Dec 13 12:05:39 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 13 Dec 2019 17:05:39 +0000 Subject: Remote Debugging Not Working Message-ID: Anyone who has an an indy or business licence, and has moved to Catalina? I want verify in this is my context or if is a bug? I can't do Remote debugging. My iPhone on in the same wireless network and my MacBook Pro? But if I put an "breakpoint" in a script, save, and test on an iPhone, of course the application stops where I have the breakpoint, but the script editor does not open and allow us to step through the lines BR From bobsneidar at iotecdigital.com Fri Dec 13 12:07:05 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Dec 2019 17:07:05 +0000 Subject: Standalones and the defaultFolder In-Reply-To: <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> Not sure. There have been threads in the past relating to the defaultFolder, and how it can in certain cases cause other issues, so I think my strategy for avoiding setting the defaultFolder is the way to go. I've been meaning to for a while now. I just wanted to alert everyone in case they run into the same issue. This is just with Windows BTW. I don't break out my stack files on MacOS. Bob S > On Dec 13, 2019, at 08:56 , J. Landman Gay via use-livecode wrote: > > Would the stackfiles property help here? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Fri Dec 13 13:03:35 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 13 Dec 2019 13:03:35 -0500 Subject: Standalones and the defaultFolder In-Reply-To: <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> Message-ID: I only use defaultfolder when I need to get a list of files in that folder. Otherwise its the kind of thing that comes back to haunt us ....for no real reason. On Fri, Dec 13, 2019 at 12:07 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Not sure. There have been threads in the past relating to the > defaultFolder, and how it can in certain cases cause other issues, so I > think my strategy for avoiding setting the defaultFolder is the way to go. > I've been meaning to for a while now. I just wanted to alert everyone in > case they run into the same issue. This is just with Windows BTW. I don't > break out my stack files on MacOS. > > Bob S > > > > On Dec 13, 2019, at 08:56 , J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Would the stackfiles property help here? > > -- > > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From ambassador at fourthworld.com Fri Dec 13 13:58:27 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 Dec 2019 10:58:27 -0800 Subject: Animated Gifs - Keep them Running In-Reply-To: References: Message-ID: <656cb6ce-d069-e57e-2a52-d95dfc4a234a@fourthworld.com> Tom Glod wrote: > RG....i rotate an svg using send it time and it seems to work really > well. > i can rotate many svgs simultaneously....so maybe svg is the answer > here....as far as a progress indicator. It's surprising that the vector rendering of SVG is noticeably faster for multi-frame animation than a straight blit-to-screen from GIF, but rendering time isn't the main problem with progress indicators. Without a separate thread for a progress indicator, it's bound to the same thread doing the task whose progress is being displayed. When the task happens to have steps whose increments are equivalent, it can work well enough. But many tasks have steps where it's difficult or impossible to know in advance just how long a given task will take, resulting in jerky motion of the indicator animation. See the LC Standalone Building dialog as an example. For some of the time it rotates smoothly, other times it freezes for a bit while a step finishes, not at all like the smooth motion of OS-supplied progress indicators, which run in their own thread. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From neville.smythe at optusnet.com.au Fri Dec 13 18:11:32 2019 From: neville.smythe at optusnet.com.au (Neville) Date: Sat, 14 Dec 2019 10:11:32 +1100 Subject: windows standalone performance Message-ID: <67BF670A-2BBE-4344-9B0C-DC84C4ED5A86@optusnet.com.au> > Sean wrote: From what I can tell from QC is that it has not been confirmed and been marked as pending due to not being able to reproduce. The bug is clearly marked as status CONFIRMED. There was a stage when QC could not reproduce the bug on their machines, but Panos did confirm it ?on older machines?. Brian Milby has also seen the bug, as well as of course our latest correspondent. I have just confirmed the bug still exists under LC9.5.1, in both standalone and the IDE, in Parallels Desktop on a Mac Pro running the latest Windows 10, typically taking 7 seconds to save a 8MB stack ? of course that is emulating the OS but I believe speeds on native hardware are comparable (or worse). My user who initially reported the bug to me has acquired a new PC on which the bug does not seem to happen (tho? it is a blindingly fast machine!) so as most of my users are Mac people I lost interest in the bug until this discussion. Not being a Windows user myself I am not going to research the actual processes and cannot assess on what hardware configuration the bug occurs --- clearly not all PC?s are affected. If you want to test on your own PC a test stack (actually a wrapper standalone slowSave.app and a data stack data.livecode, together with the source slowSave.livecode) can be downloaded from https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 From bobsneidar at iotecdigital.com Fri Dec 13 18:21:18 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Dec 2019 23:21:18 +0000 Subject: Standalones and the defaultFolder In-Reply-To: References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> Message-ID: Thanks for the confirmation Tom. I did see two places in my code that I have to set the default folder, so I just reset it when I am done. Same thing, getting list of files. There may have been some discussion in the past about a files command where the path could be passed, but that's not close to any priority. Bob S > On Dec 13, 2019, at 10:03 , Tom Glod via use-livecode wrote: > > I only use defaultfolder when I need to get a list of files in that > folder. Otherwise its the kind of thing that comes back to haunt us > ....for no real reason. From neville.smythe at optusnet.com.au Fri Dec 13 19:01:50 2019 From: neville.smythe at optusnet.com.au (Neville) Date: Sat, 14 Dec 2019 11:01:50 +1100 Subject: windows standalone performance Message-ID: <1F1D6D7F-9A51-4186-9D75-9E22032502F9@optusnet.com.au> > My user who initially reported the bug to me has acquired a new PC on which the bug does not seem to happen I spoke too soon ? my user's whiz-bang PC still takes 3 seconds to save my app's 9 MB data stack, when his older PC takes 10 seconds. Both should be saving in a very small fraction of a second. From sundown at pacifier.com Sat Dec 14 05:57:36 2019 From: sundown at pacifier.com (JB) Date: Sat, 14 Dec 2019 02:57:36 -0800 Subject: Standalones and the defaultFolder In-Reply-To: <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> Message-ID: <9C0736F2-2903-4F92-A85D-89528E6E585E@pacifier.com> If you know the path you need then put this code in your stack; answer question effective filename of this stack answer question defaultFolder after creating the standalone run the code above from the app and see if either of the paths provided are the path you are actually trying to use. The first code line will provide a path to the executable of your app. The second code line will be a path where the app is located. JB > On Dec 13, 2019, at 9:07 AM, Bob Sneidar via use-livecode wrote: > > Not sure. There have been threads in the past relating to the defaultFolder, and how it can in certain cases cause other issues, so I think my strategy for avoiding setting the defaultFolder is the way to go. I've been meaning to for a while now. I just wanted to alert everyone in case they run into the same issue. This is just with Windows BTW. I don't break out my stack files on MacOS. > > Bob S > > >> On Dec 13, 2019, at 08:56 , J. Landman Gay via use-livecode wrote: >> >> Would the stackfiles property help here? >> -- >> 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 sundown at pacifier.com Sat Dec 14 07:27:19 2019 From: sundown at pacifier.com (JB) Date: Sat, 14 Dec 2019 04:27:19 -0800 Subject: Standalones and the defaultFolder In-Reply-To: References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> Message-ID: <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> I am not using Windows or the version of Livecode you are using so I am not testing this but when it comes to using paths you might want to make sure what path is being provided. If the path returned includes a file name then it might not work properly for listing that directory because it is trying to list the directory of the file name instead of the folder the file is in. This behavior could also cause your program to not see something making you think the default folder is not working properly when it might be the path the default folder is using ends with the file name. JB > On Dec 13, 2019, at 3:21 PM, Bob Sneidar via use-livecode wrote: > > Thanks for the confirmation Tom. I did see two places in my code that I have to set the default folder, so I just reset it when I am done. Same thing, getting list of files. There may have been some discussion in the past about a files command where the path could be passed, but that's not close to any priority. > > Bob S > > >> On Dec 13, 2019, at 10:03 , Tom Glod via use-livecode wrote: >> >> I only use defaultfolder when I need to get a list of files in that >> folder. Otherwise its the kind of thing that comes back to haunt us >> ....for no real reason. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 14 20:33:27 2019 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 15 Dec 2019 01:33:27 +0000 Subject: Standalones and the defaultFolder In-Reply-To: <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> Message-ID: <152a8a9a-b841-51d8-ac7b-426c5a52bd2c@tweedly.net> >> On Dec 13, 2019, at 3:21 PM, Bob Sneidar via use-livecode wrote: >> >> Thanks for the confirmation Tom. I did see two places in my code that I have to set the default folder, so I just reset it when I am done. Same thing, getting list of files. There may have been some discussion in the past about a files command where the path could be passed, but that's not close to any priority. Hi Bob. Since 8.1 the files command allows the directory to be provided, e.g. ?? put files("..") into temp ?? put files("/user/alex", "detailed") into temp etc. Also works for? folders() Alex. From paul at researchware.com Sun Dec 15 08:29:05 2019 From: paul at researchware.com (Paul Dupuis) Date: Sun, 15 Dec 2019 08:29:05 -0500 Subject: Standalones and the defaultFolder In-Reply-To: <152a8a9a-b841-51d8-ac7b-426c5a52bd2c@tweedly.net> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> <152a8a9a-b841-51d8-ac7b-426c5a52bd2c@tweedly.net> Message-ID: On 12/14/2019 8:33 PM, Alex Tweedly via use-livecode wrote: > >>> On Dec 13, 2019, at 3:21 PM, Bob Sneidar via use-livecode >>> wrote: >>> >>> Thanks for the confirmation Tom. I did see two places in my code >>> that I have to set the default folder, so I just reset it when I am >>> done. Same thing, getting list of files. There may have been some >>> discussion in the past about a files command where the path could be >>> passed, but that's not close to any priority. > > Hi Bob. Since 8.1 the files command allows the directory to be > provided, e.g. > > ?? put files("..") into temp > > ?? put files("/user/alex", "detailed") into temp > > etc. Also works for? folders() > > Alex. > Just a reminder that the files(,"detailed") (i.e. the detailed files) and the detailed folders are NOT Unicode aware. If you have any Unicode characters in path or the file names, they will be returned as URLEncoded question marks making matching a specific name in the returned data difficult. https://quality.livecode.com/show_bug.cgi?id=22213 From admin at FlexibleLearning.com Mon Dec 16 04:54:47 2019 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 16 Dec 2019 09:54:47 -0000 Subject: get URL problems Message-ID: <000001d5b3f6$da967d80$8fc37880$@FlexibleLearning.com> Why can I 'launch' this url but not 'get' it? put "https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=MSFT&ap ikey=demo" into tURL launch url tURL --| Works fine, page loads entirely as expected in default web browser get url tURL --| Returns empty, nada, not a sausage put it into tJSON I am using libUrl v1.1.6 300506 Thanks peeps! Hugh From matthias_livecode_150811 at m-r-d.de Mon Dec 16 05:59:41 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 16 Dec 2019 11:59:41 +0100 Subject: get URL problems In-Reply-To: <000001d5b3f6$da967d80$8fc37880$@FlexibleLearning.com> References: <000001d5b3f6$da967d80$8fc37880$@FlexibleLearning.com> Message-ID: Hi Hugh, i cannot replicate this here with LC 9.5.0 Business on Mac. When i run your script, tJSON shows the returned data. What version of LC are you using? Regards, Matthias > Am 16.12.2019 um 10:54 schrieb FlexibleLearning.com via use-livecode : > > put > "https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=MSFT&ap > ikey=demo" into tURL > launch url tURL --| Works fine, page loads entirely as expected in default > web browser > get url tURL --| Returns empty, nada, not a sausage > put it into tJSON From panos.merakos at livecode.com Mon Dec 16 06:58:31 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 16 Dec 2019 13:58:31 +0200 Subject: [ANN] Release 9.5.1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.5.1 STABLE. ** Note 9.5.1 STABLE is the last planned release in the 9.5.x series ** Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.5.1 STABLE contains more than 20 bugfixes and improvements compared to the previous (9.5.0) STABLE version, including the long standing crash-when-debugging issue, originally fixed in 9.0.5. Notes: - Building with Xcode 11.x is *not* supported in LC 9.5.1, but in any case, you do NOT need to build your standalone with Xcode 11+ to support deployment to iOS 13+ devices. You can still use Xcode 10.1 to build the standalone app, and it will continue to run on iOS 13+ devices. The full release notes are available from: http://downloads.livecode.com/livecode/9_5_1/LiveCodeNotes-9_5_1.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ Have fun! The LiveCode Team -- From ambassador at fourthworld.com Mon Dec 16 10:52:24 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Dec 2019 07:52:24 -0800 Subject: get URL problems In-Reply-To: <000001d5b3f6$da967d80$8fc37880$@FlexibleLearning.com> References: <000001d5b3f6$da967d80$8fc37880$@FlexibleLearning.com> Message-ID: What does "the result" show when queried immediately after "get url..."? -- Richard Gaskin Fourth World Systems FlexibleLearning.com wrote: > Why can I 'launch' this url but not 'get' it? > > put > "https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=MSFT&ap > ikey=demo" into tURL > launch url tURL --| Works fine, page loads entirely as expected in default > web browser > get url tURL --| Returns empty, nada, not a sausage > put it into tJSON > > > I am using libUrl v1.1.6 300506 From bobsneidar at iotecdigital.com Mon Dec 16 10:53:09 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Dec 2019 15:53:09 +0000 Subject: Standalones and the defaultFolder In-Reply-To: <152a8a9a-b841-51d8-ac7b-426c5a52bd2c@tweedly.net> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> <152a8a9a-b841-51d8-ac7b-426c5a52bd2c@tweedly.net> Message-ID: <77622ECC-43BC-4FBB-8DAC-F9E8AD5DFAF9@iotecdigital.com> Oh sweet thanks. Bob S > On Dec 14, 2019, at 17:33 , Alex Tweedly via use-livecode wrote: > >>> >>> On Dec 13, 2019, at 3:21 PM, Bob Sneidar via use-livecode wrote: >>> >>> Thanks for the confirmation Tom. I did see two places in my code that I have to set the default folder, so I just reset it when I am done. Same thing, getting list of files. There may have been some discussion in the past about a files command where the path could be passed, but that's not close to any priority. > > Hi Bob. Since 8.1 the files command allows the directory to be provided, e.g. > > put files("..") into temp > > put files("/user/alex", "detailed") into temp > > etc. Also works for folders() > > Alex. From bobsneidar at iotecdigital.com Mon Dec 16 10:55:14 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Dec 2019 15:55:14 +0000 Subject: Standalones and the defaultFolder In-Reply-To: <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> Message-ID: <9A0A43B8-C85A-46C3-A953-56CEB2BDCACF@iotecdigital.com> Thanks JB. Getting and setting the default folder was not the issue. The issue is that in a wondows standalone, a stack in the same folder as the executable could not be opened by script eg. open stack "Devices". This seems to be a new development, as I am fairly certain this worked fine in the past. ALL stack files in a standalone ought to be discoverable no matter what the defaultFolder is. Bob S > On Dec 14, 2019, at 04:27 , JB via use-livecode wrote: > > I am not using Windows or the version of Livecode you are > using so I am not testing this but when it comes to using > paths you might want to make sure what path is being > provided. > > If the path returned includes a file name then it might > not work properly for listing that directory because it > is trying to list the directory of the file name instead > of the folder the file is in. > > This behavior could also cause your program to not > see something making you think the default folder > is not working properly when it might be the path > the default folder is using ends with the file name. > > JB From sundown at pacifier.com Mon Dec 16 11:00:54 2019 From: sundown at pacifier.com (JB) Date: Mon, 16 Dec 2019 08:00:54 -0800 Subject: Standalones and the defaultFolder In-Reply-To: <9A0A43B8-C85A-46C3-A953-56CEB2BDCACF@iotecdigital.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> <9A0A43B8-C85A-46C3-A953-56CEB2BDCACF@iotecdigital.com> Message-ID: <0C126A01-DA1A-4EB1-B35C-6C5E24FA6B56@pacifier.com> Thanks for the info! I hope you solve the problem. JB > On Dec 16, 2019, at 7:55 AM, Bob Sneidar via use-livecode wrote: > > Thanks JB. Getting and setting the default folder was not the issue. The issue is that in a wondows standalone, a stack in the same folder as the executable could not be opened by script eg. open stack "Devices". This seems to be a new development, as I am fairly certain this worked fine in the past. ALL stack files in a standalone ought to be discoverable no matter what the defaultFolder is. > > Bob S > > >> On Dec 14, 2019, at 04:27 , JB via use-livecode wrote: >> >> I am not using Windows or the version of Livecode you are >> using so I am not testing this but when it comes to using >> paths you might want to make sure what path is being >> provided. >> >> If the path returned includes a file name then it might >> not work properly for listing that directory because it >> is trying to list the directory of the file name instead >> of the folder the file is in. >> >> This behavior could also cause your program to not >> see something making you think the default folder >> is not working properly when it might be the path >> the default folder is using ends with the file name. >> >> JB > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Dec 16 11:54:31 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Dec 2019 10:54:31 -0600 Subject: Standalones and the defaultFolder In-Reply-To: <9A0A43B8-C85A-46C3-A953-56CEB2BDCACF@iotecdigital.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> <9A0A43B8-C85A-46C3-A953-56CEB2BDCACF@iotecdigital.com> Message-ID: <16f0fa1e9b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On launch, the defaultfolder is set to the folder containing the executable. On desktop this is the folder containing livecode. In a standalone it's the folder containing the app (which on Mac is inside the bundle.) But any time you change the defaultfolder it stays there, it doesn't set itself back automatically. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 16, 2019 9:57:08 AM Bob Sneidar via use-livecode wrote: > Thanks JB. Getting and setting the default folder was not the issue. The > issue is that in a wondows standalone, a stack in the same folder as the > executable could not be opened by script eg. open stack "Devices". This > seems to be a new development, as I am fairly certain this worked fine in > the past. ALL stack files in a standalone ought to be discoverable no > matter what the defaultFolder is. > > Bob S > > >> On Dec 14, 2019, at 04:27 , JB via use-livecode >> wrote: >> >> I am not using Windows or the version of Livecode you are >> using so I am not testing this but when it comes to using >> paths you might want to make sure what path is being >> provided. >> >> If the path returned includes a file name then it might >> not work properly for listing that directory because it >> is trying to list the directory of the file name instead >> of the folder the file is in. >> >> This behavior could also cause your program to not >> see something making you think the default folder >> is not working properly when it might be the path >> the default folder is using ends with the file name. >> >> JB > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 16 12:15:03 2019 From: mark at livecode.com (Mark Waddingham) Date: Mon, 16 Dec 2019 17:15:03 +0000 Subject: Standalones and the defaultFolder In-Reply-To: <16f0fa1e9b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> <9A0A43B8-C85A-46C3-A953-56CEB2BDCACF@iotecdigital.com> <16f0fa1e9b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <01fe90c0bf38aabe75482d8b8c4c95ca@livecode.com> On 2019-12-16 16:54, J. Landman Gay via use-livecode wrote: > On launch, the defaultfolder is set to the folder containing the > executable. On desktop this is the folder containing livecode. In a > standalone it's the folder containing the app (which on Mac is inside > the bundle.) But any time you change the defaultfolder it stays there, > it doesn't set itself back automatically. The latter part is true, the former isn't necessarily so :) I think the 'problem' here is that there is an expectation that the defaultFolder is something you can rely on to be known when your app is run but it isn't (nor has it ever been) - the engine doesn't touch the defaultFolder on startup, it is what the OS/environment decides it is. For example if you launch a LiveCode app from Terminal (or platform equivalent) the default folder will be that which was in place in Terminal when you launched it (i.e. what your user - not you - decided it to be). Launching from Finder (or Explorer or wherever) might make it appear like it should be a standard place - but that will depend on what OS you are running and even which version (I'm almost sure Finder changed from being the MacOS folder inside an app bundle to the folder containing the bundle at some point - or vice-versa - but don't quote me on that). If the engine did fettle with the defaultFolder at all, then writing any sort of shell command (or app launchable from the command-line) which allowed relative paths in arguments would be impossible. Upshot - never use the defaultFolder to find stackfiles - unless they are passed in by the user as arguments in a command-line context. There's 'specialFolderPath's for various places these days (most noticeable resources and engine); but you can also just grok the filename property of your mainstack too. (The stackFiles property can be useful here too - this allows mapping arbitrary stack names to filepaths, which if relative are relative to the stack on which the stackFiles property is set). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From panos.merakos at livecode.com Mon Dec 16 13:38:13 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 16 Dec 2019 20:38:13 +0200 Subject: [ANN] This Week in LiveCode 206 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 #206 here: http://bit.ly/2PSPZEK 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 bobsneidar at iotecdigital.com Mon Dec 16 14:53:10 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Dec 2019 19:53:10 +0000 Subject: Standalones and the defaultFolder In-Reply-To: <01fe90c0bf38aabe75482d8b8c4c95ca@livecode.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> <9A0A43B8-C85A-46C3-A953-56CEB2BDCACF@iotecdigital.com> <16f0fa1e9b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <01fe90c0bf38aabe75482d8b8c4c95ca@livecode.com> Message-ID: <919CC8D4-3AE6-4677-98F6-35CA1263F2E5@iotecdigital.com> I came to this conclusion over a year ago and have had refactoring away from it on the back burner. No longer. I went through my code and divorced myself from this addictive coding habit. Bob S > On Dec 16, 2019, at 09:15 , Mark Waddingham via use-livecode wrote: > > Upshot - never use the defaultFolder to find stackfiles - unless they are passed in by the user as arguments in a command-line context. There's 'specialFolderPath's for various places these days (most noticeable resources and engine); but you can also just grok the filename property of your mainstack too. (The stackFiles property can be useful here too - this allows mapping arbitrary stack names to filepaths, which if relative are relative to the stack on which the stackFiles property is set). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ From richmondmathewson at gmail.com Mon Dec 16 15:03:38 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 16 Dec 2019 22:03:38 +0200 Subject: Something wrong with LiveCode 9.5.1 Message-ID: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> I am afraid that I have to report something very odd indeed about LiveCode 9.5.1 stable, as on launching I get a windows that states: [ Mac OS 10.15.2 ] " "LiveCode Community 9.5.1" can't be opened because Apple cannot check it for malicious software. "This software needs to be updated. Contact the developer for more information." "Pretty" picture here: http://forums.livecode.com/viewtopic.php?f=4&t=33440#p186161 Best, Richmond. From matthias_livecode_150811 at m-r-d.de Mon Dec 16 15:11:09 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 16 Dec 2019 21:11:09 +0100 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> Message-ID: If i remember right you can go to System Preferences -> Security -> Firewall. There you should be able to allow the system to open the last blocked app. Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 16.12.2019 um 21:03 schrieb Richmond via use-livecode >: > > I am afraid that I have to report something very odd indeed > about LiveCode 9.5.1 stable, as on launching I get a windows that states: > > [ Mac OS 10.15.2 ] > > " "LiveCode Community 9.5.1" can't be > opened because Apple cannot check it for > malicious software. > > "This software needs to be updated. Contact the > developer for more information." > > "Pretty" picture here: > > http://forums.livecode.com/viewtopic.php?f=4&t=33440#p186161 > > Best, 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 tore.nilsen at me.com Mon Dec 16 15:11:37 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Mon, 16 Dec 2019 21:11:37 +0100 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> Message-ID: <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> This is not very odd. It is the way MacOs now handles all applications that are not notarized. I would suspect this kind of message for any dp or rc version of LiveCode, but not for a stable version. You can get around this either by right-clicking the application and choose ?Open? from the local menu. You will then have an option to choose to open this application. Once you have done, the message will not reappear when you start LiveCode. Tore Nilsen > 16. des. 2019 kl. 21:03 skrev Richmond via use-livecode : > > I am afraid that I have to report something very odd indeed > about LiveCode 9.5.1 stable, as on launching I get a windows that states: > > [ Mac OS 10.15.2 ] > > " "LiveCode Community 9.5.1" can't be > opened because Apple cannot check it for > malicious software. > > "This software needs to be updated. Contact the > developer for more information." > > "Pretty" picture here: > > http://forums.livecode.com/viewtopic.php?f=4&t=33440#p186161 > > Best, 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 richmondmathewson at gmail.com Mon Dec 16 15:19:39 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 16 Dec 2019 22:19:39 +0200 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> Message-ID: <4367972d-a3d7-d746-2c7c-02657314324e@gmail.com> Thank you for that; it was a great help. HOWEVER, that is the version of LiveCode 9.5.1 just released and labelled 'stable.' On 16.12.19 22:11, Tore Nilsen via use-livecode wrote: > This is not very odd. It is the way MacOs now handles all applications that are not notarized. I would suspect this kind of message for any dp or rc version of LiveCode, but not for a stable version. You can get around this either by right-clicking the application and choose ?Open? from the local menu. You will then have an option to choose to open this application. Once you have done, the message will not reappear when you start LiveCode. > > Tore Nilsen > >> 16. des. 2019 kl. 21:03 skrev Richmond via use-livecode : >> >> I am afraid that I have to report something very odd indeed >> about LiveCode 9.5.1 stable, as on launching I get a windows that states: >> >> [ Mac OS 10.15.2 ] >> >> " "LiveCode Community 9.5.1" can't be >> opened because Apple cannot check it for >> malicious software. >> >> "This software needs to be updated. Contact the >> developer for more information." >> >> "Pretty" picture here: >> >> http://forums.livecode.com/viewtopic.php?f=4&t=33440#p186161 >> >> Best, 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 16 15:24:53 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 16 Dec 2019 15:24:53 -0500 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> Message-ID: On 12/16/2019 3:11 PM, Tore Nilsen via use-livecode wrote: > I would suspect this kind of message for any dp or rc version of LiveCode, but not for a stable version. I think that was the point. LC, Ltd forgot to Notarize the 9.5.1 STABLE version. However, this turns into more of a problem that you might think. A notarized DMG will open under High Sierra to Catalina, but fails on any version below High Sierra, so you need to provide both Notarized and non-Notarized versions to if you support versions of the macOS before High Sierra. Technical 9.5.1 still supports Mavericks so the downloads.livecode.com page needs to change to list 2 versions - a non notarized version for Mavericks to Sierra and a Notarized version for High Sierra to Calalina. Which is probably why they did not bother to Notarize it. From brian at milby7.com Mon Dec 16 15:25:13 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 16 Dec 2019 15:25:13 -0500 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: <4367972d-a3d7-d746-2c7c-02657314324e@gmail.com> References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> <4367972d-a3d7-d746-2c7c-02657314324e@gmail.com> Message-ID: My guess is that 9.6 will be the first to officially support Catalina and get the notarization treatment. ?I think it was hinted at in the release email for the first DP. Thanks, Brian On Dec 16, 2019, 3:20 PM -0500, Richmond via use-livecode , wrote: > Thank you for that; it was a great help. > > HOWEVER, that is the version of LiveCode 9.5.1 just released and > labelled 'stable.' > > On 16.12.19 22:11, Tore Nilsen via use-livecode wrote: > > This is not very odd. It is the way MacOs now handles all applications that are not notarized. I would suspect this kind of message for any dp or rc version of LiveCode, but not for a stable version. You can get around this either by right-clicking the application and choose ?Open? from the local menu. You will then have an option to choose to open this application. Once you have done, the message will not reappear when you start LiveCode. > > > > Tore Nilsen > > > > > 16. des. 2019 kl. 21:03 skrev Richmond via use-livecode : > > > > > > I am afraid that I have to report something very odd indeed > > > about LiveCode 9.5.1 stable, as on launching I get a windows that states: > > > > > > [ Mac OS 10.15.2 ] > > > > > > " "LiveCode Community 9.5.1" can't be > > > opened because Apple cannot check it for > > > malicious software. > > > > > > "This software needs to be updated. Contact the > > > developer for more information." > > > > > > "Pretty" picture here: > > > > > > http://forums.livecode.com/viewtopic.php?f=4&t=33440#p186161 > > > > > > Best, 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 > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 16 15:58:10 2019 From: jerry at jhjensen.com (Jerry Jensen) Date: Mon, 16 Dec 2019 12:58:10 -0800 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> Message-ID: This is the first time I have heard that anything notarized will not open in Sierra. I have been watching the whole notarization topic, but apparently not closely enough. Could you point me to some info from Apple about what is -not- supported in Sierra? I support an entire flock of Sierra computers. We are preparing to roll out Mojave soon. I guess that better be done ASAP. Thanks, .Jerry > On Dec 16, 2019, at 12:24 PM, Paul Dupuis via use-livecode wrote: > I think that was the point. LC, Ltd forgot to Notarize the 9.5.1 STABLE version. However, this turns into more of a problem that you might think. A notarized DMG will open under High Sierra to Catalina, but fails on any version below High Sierra, so you need to provide both Notarized and non-Notarized versions to if you support versions of the macOS before High Sierra. Technical 9.5.1 still supports Mavericks so the downloads.livecode.com page needs to change to list 2 versions - a non notarized version for Mavericks to Sierra and a Notarized version for High Sierra to Calalina. From paul at researchware.com Mon Dec 16 16:29:11 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 16 Dec 2019 16:29:11 -0500 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> Message-ID: On 12/16/2019 3:58 PM, Jerry Jensen wrote: > This is the first time I have heard that anything notarized will not open in Sierra. I have been watching the whole notarization topic, but apparently not closely enough. Could you point me to some info from Apple about what is -not- supported in Sierra? > > I support an entire flock of Sierra computers. We are preparing to roll out Mojave soon. I guess that better be done ASAP. > I can't point you to any Apple materials as we discovered this once we notarized out DMG for Catalina and was performing final installation testing on Catalina and other versions of macOS You can download the macOS DMG for our app at http://www.researchware.com/downloads.html Scroll down the page to the download links. You will see ONE DMG for Catalina and another DNG for other version of OSX. Download the Catalina DMG and you will find the notarized DMG opens on Catalina, Mojave, and High Sierra, but throws and error on Sierra and below. We choose to Notarize the DMG rather than the installer app. I realize while Apple allows this (currently) is is not what their documentation on Notarization speaks to which is Notarizing the APP and performing drag-installs from the DMG rather than using an Installer app. Our application HyperRESEARCH, our Installer are both code signed. The Catalina DMG is code signed, notarized, and stapled. The non-Catalina DMG is not code signed (and not notarized). We used this excellent guidance to figure out how to do notarization: http://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore From jerry at jhjensen.com Mon Dec 16 16:59:26 2019 From: jerry at jhjensen.com (Jerry Jensen) Date: Mon, 16 Dec 2019 13:59:26 -0800 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> Message-ID: <578D1AD9-6A6C-42BB-A290-817294252EDA@jhjensen.com> Thanks Paul. I?ll be testing. I don?t have anything but a Sierra install handy. Yet. .Jerry > On Dec 16, 2019, at 1:29 PM, Paul Dupuis wrote: > > On 12/16/2019 3:58 PM, Jerry Jensen wrote: >> This is the first time I have heard that anything notarized will not open in Sierra. I have been watching the whole notarization topic, but apparently not closely enough. Could you point me to some info from Apple about what is -not- supported in Sierra? >> >> I support an entire flock of Sierra computers. We are preparing to roll out Mojave soon. I guess that better be done ASAP. >> > > I can't point you to any Apple materials as we discovered this once we notarized out DMG for Catalina and was performing final installation testing on Catalina and other versions of macOS > > You can download the macOS DMG for our app at http://www.researchware.com/downloads.html > > Scroll down the page to the download links. You will see ONE DMG for Catalina and another DNG for other version of OSX. Download the Catalina DMG and you will find the notarized DMG opens on Catalina, Mojave, and High Sierra, but throws and error on Sierra and below. > > We choose to Notarize the DMG rather than the installer app. I realize while Apple allows this (currently) is is not what their documentation on Notarization speaks to which is Notarizing the APP and performing drag-installs from the DMG rather than using an Installer app. > > Our application HyperRESEARCH, our Installer are both code signed. The Catalina DMG is code signed, notarized, and stapled. The non-Catalina DMG is not code signed (and not notarized). > > We used this excellent guidance to figure out how to do notarization: http://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore > From paul at researchware.com Mon Dec 16 18:06:18 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 16 Dec 2019 18:06:18 -0500 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> Message-ID: <2be31eae-a6b3-e1ad-5a48-c100939f94b2@researchware.com> Okay, I blame a LONG day and bad memory. ?I went and found our testing notes: macOS name??????? signed notarized stapled 10.9? Mavricks??? OK???? FAIL????? FAIL 10.10 Yosemite??? OK???? FAIL????? FAIL 10.11 El Capitan? OK??? ?FAIL????? FAIL 10.12 Sierra????? OK???? OK??????? OK 10.13 High Sierra OK???? OK??????? OK 10.14 Mojave????? OK???? OK??????? OK 10.15 Catalina??? *????? OK??????? OK The divider is Sierra and above: Notarized DMGs are good. El Capatan and below, Notarized DMGs are bad. My bad memory. Sorry to cause unnecessary concern. On 12/16/2019 4:29 PM, Paul Dupuis via use-livecode wrote: > On 12/16/2019 3:58 PM, Jerry Jensen wrote: >> This is the first time I have heard that anything notarized will not >> open in Sierra. I have been watching the whole notarization topic, >> but apparently not closely enough. Could you point me to some info >> from Apple about what is -not- supported in Sierra? >> >> I support an entire flock of Sierra computers. We are preparing to >> roll out Mojave soon. I guess that better be done ASAP. >> > > I can't point you to any Apple materials as we discovered this once we > notarized out DMG for Catalina and was performing final installation > testing on Catalina and other versions of macOS > > You can download the macOS DMG for our app at > http://www.researchware.com/downloads.html > > Scroll down the page to the download links. You will see ONE DMG for > Catalina and another DNG for other version of OSX. Download the > Catalina DMG and you will find the notarized DMG opens on Catalina, > Mojave, and High Sierra, but throws and error on Sierra and below. > > We choose to Notarize the DMG rather than the installer app. I realize > while Apple allows this (currently) is is not what their documentation > on Notarization speaks to which is Notarizing the APP and performing > drag-installs from the DMG rather than using an Installer app. > > Our application HyperRESEARCH, our Installer are both code signed. The > Catalina DMG is code signed, notarized, and stapled. The non-Catalina > DMG is not code signed (and not notarized). > > We used this excellent guidance to figure out how to do notarization: > http://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 02:51:28 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 17 Dec 2019 07:51:28 +0000 Subject: Standalones and the defaultFolder In-Reply-To: References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> <152a8a9a-b841-51d8-ac7b-426c5a52bd2c@tweedly.net> Message-ID: <054bbe4f2e2a991ce9034f60f0ba52c7@livecode.com> On 2019-12-15 13:29, Paul Dupuis via use-livecode wrote: > Just a reminder that the files(,"detailed") (i.e. the detailed > files) and the detailed folders are NOT Unicode aware. If you have any > Unicode characters in path or the file names, they will be returned as > URLEncoded question marks making matching a specific name in the > returned data difficult. > > https://quality.livecode.com/show_bug.cgi?id=22213 This will be resolved from 9.6-dp-2: Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From theaford at btinternet.com Tue Dec 17 03:31:02 2019 From: theaford at btinternet.com (Terence Heaford) Date: Tue, 17 Dec 2019 08:31:02 +0000 Subject: Table Text Livecode vs ..... Message-ID: Can someone explain why the text in a livecode table displays more poorly on screen than other native macos apps? Here are two screen grabs that display the difference. Thanks Terry From christer at mindcrea.com Tue Dec 17 06:59:02 2019 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Tue, 17 Dec 2019 13:59:02 +0200 Subject: Serverless Google API access Message-ID: In LiveCode (Android) is there a suitable way to access Google API's without a server - i.e. have direct request / wait / response receive method? The aim is to provide a way to use Google licensing payment services directly from the device. Christer Pyyhti? MindCrea Ltd From sean at pidigital.co.uk Tue Dec 17 07:12:21 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 17 Dec 2019 12:12:21 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: References: Message-ID: Hi Terence This list doesn?t display images in the mail. Perhaps you could provide links to the images. Sean Cole Pi Digital Prod Ltd > On 17 Dec 2019, at 08:31, Terence Heaford via use-livecode wrote: > > ?Can someone explain why the text in a livecode table displays more poorly on screen than other native macos apps? > > Here are two screen grabs that display the difference. > > Thanks > > Terry > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 08:07:16 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 17 Dec 2019 08:07:16 -0500 Subject: Standalones and the defaultFolder In-Reply-To: <054bbe4f2e2a991ce9034f60f0ba52c7@livecode.com> References: <9CBA35C2-2E6C-436A-B59A-B13F01C72BBB@iotecdigital.com> <16f00308b38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <909871BA-01CA-4FB8-B71D-C12C2F7599C4@iotecdigital.com> <5E7BDD5E-04E0-4376-95FA-446593E58C36@pacifier.com> <152a8a9a-b841-51d8-ac7b-426c5a52bd2c@tweedly.net> <054bbe4f2e2a991ce9034f60f0ba52c7@livecode.com> Message-ID: On 12/17/2019 2:51 AM, Mark Waddingham via use-livecode wrote: > On 2019-12-15 13:29, Paul Dupuis via use-livecode wrote: >> Just a reminder that the files(,"detailed") (i.e. the detailed >> files) and the detailed folders are NOT Unicode aware. If you have any >> Unicode characters in path or the file names, they will be returned as >> URLEncoded question marks making matching a specific name in the >> returned data difficult. >> >> https://quality.livecode.com/show_bug.cgi?id=22213 > > This will be resolved from 9.6-dp-2: > > > Warmest Regards, > > Mark. > Thank you! From dunbarx at aol.com Tue Dec 17 08:57:39 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 17 Dec 2019 13:57:39 +0000 (UTC) Subject: Table Text Livecode vs ..... In-Reply-To: References: Message-ID: <1484367648.171488.1576591059255@mail.yahoo.com> Or perhaps post to the forum. Craig -----Original Message----- From: Pi Digital via use-livecode To: How to use LiveCode Cc: Pi Digital Sent: Tue, Dec 17, 2019 7:13 am Subject: Re: Table Text Livecode vs ..... Hi Terence This list doesn?t display images in the mail. Perhaps you could provide links to the images. Sean Cole Pi Digital Prod Ltd > On 17 Dec 2019, at 08:31, Terence Heaford via use-livecode wrote: > > ?Can someone explain why the text in a livecode table displays more poorly on screen than other native macos apps? > > Here are two screen grabs that display the difference. > > Thanks > > Terry > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Tue Dec 17 09:41:44 2019 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Tue, 17 Dec 2019 14:41:44 +0000 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: <2be31eae-a6b3-e1ad-5a48-c100939f94b2@researchware.com> References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> , <2be31eae-a6b3-e1ad-5a48-c100939f94b2@researchware.com> Message-ID: [10.14.5] Mojave LiveCodeIndy-9_5_1_Mac The following disk images couldn't be opened. Reason: image not recognized. ________________________________ From: use-livecode on behalf of Paul Dupuis via use-livecode Sent: Monday, December 16, 2019 6:06 PM To: use-livecode at lists.runrev.com Cc: Paul Dupuis Subject: Re: Something wrong with LiveCode 9.5.1 CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Okay, I blame a LONG day and bad memory. I went and found our testing notes: macOS name signed notarized stapled 10.9 Mavricks OK FAIL FAIL 10.10 Yosemite OK FAIL FAIL 10.11 El Capitan OK FAIL FAIL 10.12 Sierra OK OK OK 10.13 High Sierra OK OK OK 10.14 Mojave OK OK OK 10.15 Catalina * OK OK The divider is Sierra and above: Notarized DMGs are good. El Capatan and below, Notarized DMGs are bad. My bad memory. Sorry to cause unnecessary concern. On 12/16/2019 4:29 PM, Paul Dupuis via use-livecode wrote: > On 12/16/2019 3:58 PM, Jerry Jensen wrote: >> This is the first time I have heard that anything notarized will not >> open in Sierra. I have been watching the whole notarization topic, >> but apparently not closely enough. Could you point me to some info >> from Apple about what is -not- supported in Sierra? >> >> I support an entire flock of Sierra computers. We are preparing to >> roll out Mojave soon. I guess that better be done ASAP. >> > > I can't point you to any Apple materials as we discovered this once we > notarized out DMG for Catalina and was performing final installation > testing on Catalina and other versions of macOS > > You can download the macOS DMG for our app at > https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.researchware.com%2Fdownloads.html&data=02%7C01%7Croger.e.eller%40sealedair.com%7Cbce8e591fd9248f6873808d7827cb200%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637121344396694305&sdata=P88a7VbY1uRIMOH0P7ysIDbb5MWRIJxRAu3Sac%2FdDa0%3D&reserved=0 > > Scroll down the page to the download links. You will see ONE DMG for > Catalina and another DNG for other version of OSX. Download the > Catalina DMG and you will find the notarized DMG opens on Catalina, > Mojave, and High Sierra, but throws and error on Sierra and below. > > We choose to Notarize the DMG rather than the installer app. I realize > while Apple allows this (currently) is is not what their documentation > on Notarization speaks to which is Notarizing the APP and performing > drag-installs from the DMG rather than using an Installer app. > > Our application HyperRESEARCH, our Installer are both code signed. The > Catalina DMG is code signed, notarized, and stapled. The non-Catalina > DMG is not code signed (and not notarized). > > We used this excellent guidance to figure out how to do notarization: > https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flessons.livecode.com%2Fm%2F4071%2Fl%2F1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore&data=02%7C01%7Croger.e.eller%40sealedair.com%7Cbce8e591fd9248f6873808d7827cb200%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637121344396694305&sdata=bfx%2B7UZqlM%2Fw4Mt82EgaKy3HlxZjz5o5yT8Jf7EH0Kg%3D&reserved=0 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=02%7C01%7Croger.e.eller%40sealedair.com%7Cbce8e591fd9248f6873808d7827cb200%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637121344396694305&sdata=AyK3tiWmORlGXodWfT%2FA2ljN%2F47NA5x6BY9NPtKlmPk%3D&reserved=0 > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=02%7C01%7Croger.e.eller%40sealedair.com%7Cbce8e591fd9248f6873808d7827cb200%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637121344396694305&sdata=AyK3tiWmORlGXodWfT%2FA2ljN%2F47NA5x6BY9NPtKlmPk%3D&reserved=0 From theaford at btinternet.com Tue Dec 17 09:55:20 2019 From: theaford at btinternet.com (Terence Heaford) Date: Tue, 17 Dec 2019 14:55:20 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: References: Message-ID: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> Here are the links. If you look closely the anti aliasing of the text seems inferior on LC. https://www.dropbox.com/s/xic5db59hh4hs4v/Livecode.png?dl=0 https://www.dropbox.com/s/nv6gws84l78n053/Other%20app%20tables.png?dl=0 Thanks Terry > On 17 Dec 2019, at 12:12, Pi Digital via use-livecode wrote: > > Hi Terence > > This list doesn?t display images in the mail. Perhaps you could provide links to the images. > > Sean Cole > Pi Digital Prod Ltd > >> On 17 Dec 2019, at 08:31, Terence Heaford via use-livecode wrote: >> >> ?Can someone explain why the text in a livecode table displays more poorly on screen than other native macos apps? >> >> Here are two screen grabs that display the difference. >> >> Thanks >> >> Terry >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 10:49:27 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Dec 2019 15:49:27 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> References: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> Message-ID: It's clear the pixels in one are much larger and that's the one where the actual letters are smaller! Are these the same font size? Bob S > On Dec 17, 2019, at 06:55 , Terence Heaford via use-livecode wrote: > > Here are the links. If you look closely the anti aliasing of the text seems inferior on LC. From paul at researchware.com Tue Dec 17 11:05:06 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 17 Dec 2019 11:05:06 -0500 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> <2be31eae-a6b3-e1ad-5a48-c100939f94b2@researchware.com> Message-ID: <60dd5902-aa2d-f995-7177-944234ecad0a@researchware.com> I believe at the time we tested the un-notarized DMG on 10.14.3 of Mojave. Although I just tested an un-notarized and notarized and stapled DMG under 10.14.6 and both opened. On 12/17/2019 9:41 AM, Eller, Roger via use-livecode wrote: > [10.14.5] Mojave > > LiveCodeIndy-9_5_1_Mac > > The following disk images couldn't be opened. Reason: image not recognized. > > > > ________________________________ > From: use-livecode on behalf of Paul Dupuis via use-livecode > Sent: Monday, December 16, 2019 6:06 PM > To: use-livecode at lists.runrev.com > Cc: Paul Dupuis > Subject: Re: Something wrong with LiveCode 9.5.1 > > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. > > > Okay, I blame a LONG day and bad memory. > > I went and found our testing notes: > > macOS name signed notarized stapled > 10.9 Mavricks OK FAIL FAIL > 10.10 Yosemite OK FAIL FAIL > 10.11 El Capitan OK FAIL FAIL > 10.12 Sierra OK OK OK > 10.13 High Sierra OK OK OK > 10.14 Mojave OK OK OK > 10.15 Catalina * OK OK > > > The divider is Sierra and above: Notarized DMGs are good. El Capatan and > below, Notarized DMGs are bad. > > My bad memory. Sorry to cause unnecessary concern. > > > On 12/16/2019 4:29 PM, Paul Dupuis via use-livecode wrote: >> On 12/16/2019 3:58 PM, Jerry Jensen wrote: >>> This is the first time I have heard that anything notarized will not >>> open in Sierra. I have been watching the whole notarization topic, >>> but apparently not closely enough. Could you point me to some info >>> from Apple about what is -not- supported in Sierra? >>> >>> I support an entire flock of Sierra computers. We are preparing to >>> roll out Mojave soon. I guess that better be done ASAP. >>> >> I can't point you to any Apple materials as we discovered this once we >> notarized out DMG for Catalina and was performing final installation >> testing on Catalina and other versions of macOS >> >> You can download the macOS DMG for our app at >> https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.researchware.com%2Fdownloads.html&data=02%7C01%7Croger.e.eller%40sealedair.com%7Cbce8e591fd9248f6873808d7827cb200%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637121344396694305&sdata=P88a7VbY1uRIMOH0P7ysIDbb5MWRIJxRAu3Sac%2FdDa0%3D&reserved=0 >> >> Scroll down the page to the download links. You will see ONE DMG for >> Catalina and another DNG for other version of OSX. Download the >> Catalina DMG and you will find the notarized DMG opens on Catalina, >> Mojave, and High Sierra, but throws and error on Sierra and below. >> >> We choose to Notarize the DMG rather than the installer app. I realize >> while Apple allows this (currently) is is not what their documentation >> on Notarization speaks to which is Notarizing the APP and performing >> drag-installs from the DMG rather than using an Installer app. >> >> Our application HyperRESEARCH, our Installer are both code signed. The >> Catalina DMG is code signed, notarized, and stapled. The non-Catalina >> DMG is not code signed (and not notarized). >> >> We used this excellent guidance to figure out how to do notarization: >> https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flessons.livecode.com%2Fm%2F4071%2Fl%2F1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore&data=02%7C01%7Croger.e.eller%40sealedair.com%7Cbce8e591fd9248f6873808d7827cb200%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637121344396694305&sdata=bfx%2B7UZqlM%2Fw4Mt82EgaKy3HlxZjz5o5yT8Jf7EH0Kg%3D&reserved=0 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=02%7C01%7Croger.e.eller%40sealedair.com%7Cbce8e591fd9248f6873808d7827cb200%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637121344396694305&sdata=AyK3tiWmORlGXodWfT%2FA2ljN%2F47NA5x6BY9NPtKlmPk%3D&reserved=0 >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=02%7C01%7Croger.e.eller%40sealedair.com%7Cbce8e591fd9248f6873808d7827cb200%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637121344396694305&sdata=AyK3tiWmORlGXodWfT%2FA2ljN%2F47NA5x6BY9NPtKlmPk%3D&reserved=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 theaford at btinternet.com Tue Dec 17 11:44:33 2019 From: theaford at btinternet.com (Terence Heaford) Date: Tue, 17 Dec 2019 16:44:33 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: References: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> Message-ID: <129EB113-3C73-47A8-AF4F-D4C2A0ABA6D2@btinternet.com> They are both Lucida Grande 13. One is Filemaker the other Livecode. All Apple?s apps and those that clearly using Native Text display the same it is only Livecode that displays differently. Does Livecode use Apple?s text rendering or another? Thanks Terry > On 17 Dec 2019, at 15:49, Bob Sneidar via use-livecode wrote: > > It's clear the pixels in one are much larger and that's the one where the actual letters are smaller! Are these the same font size? > > Bob S > > >> On Dec 17, 2019, at 06:55 , Terence Heaford via use-livecode wrote: >> >> Here are the links. If you look closely the anti aliasing of the text seems inferior on LC. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 12:05:56 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Dec 2019 17:05:56 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: <129EB113-3C73-47A8-AF4F-D4C2A0ABA6D2@btinternet.com> References: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> <129EB113-3C73-47A8-AF4F-D4C2A0ABA6D2@btinternet.com> Message-ID: <87EA6EA5-E6C9-40EF-8E83-E675D66045DD@iotecdigital.com> I have a retina display laptop and I screen shot a table and a text field. The pixels from both seem abnormally large, certainly not Retina pixels. I did the same thing with a textEdit file and got the same result! Took a screen shot of the background image for the monitor pizels are MUCH smaller. Filemaker may be taking advantage of a higher text rendering that Livecode and TextEdit are not. In fact not even Pages is rendering at Retina resolution. Bob S > On Dec 17, 2019, at 08:44 , Terence Heaford via use-livecode wrote: > > They are both Lucida Grande 13. One is Filemaker the other Livecode. > > All Apple?s apps and those that clearly using Native Text display the same it is only Livecode that displays differently. > > Does Livecode use Apple?s text rendering or another? > > Thanks > > Terry From paul at researchware.com Tue Dec 17 12:14:21 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 17 Dec 2019 12:14:21 -0500 Subject: Table Text Livecode vs ..... In-Reply-To: <87EA6EA5-E6C9-40EF-8E83-E675D66045DD@iotecdigital.com> References: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> <129EB113-3C73-47A8-AF4F-D4C2A0ABA6D2@btinternet.com> <87EA6EA5-E6C9-40EF-8E83-E675D66045DD@iotecdigital.com> Message-ID: <042b3ab7-20ce-c3b0-9f09-0b9767b7eff6@researchware.com> What version of LiveCode are you using. Older releases did not support the Retina display, but newer releases do. On 12/17/2019 12:05 PM, Bob Sneidar via use-livecode wrote: > I have a retina display laptop and I screen shot a table and a text field. The pixels from both seem abnormally large, certainly not Retina pixels. I did the same thing with a textEdit file and got the same result! Took a screen shot of the background image for the monitor pizels are MUCH smaller. Filemaker may be taking advantage of a higher text rendering that Livecode and TextEdit are not. In fact not even Pages is rendering at Retina resolution. > > Bob S > > >> On Dec 17, 2019, at 08:44 , Terence Heaford via use-livecode wrote: >> >> They are both Lucida Grande 13. One is Filemaker the other Livecode. >> >> All Apple?s apps and those that clearly using Native Text display the same it is only Livecode that displays differently. >> >> Does Livecode use Apple?s text rendering or another? >> >> Thanks >> >> Terry > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 12:54:29 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Dec 2019 17:54:29 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: <042b3ab7-20ce-c3b0-9f09-0b9767b7eff6@researchware.com> References: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> <129EB113-3C73-47A8-AF4F-D4C2A0ABA6D2@btinternet.com> <87EA6EA5-E6C9-40EF-8E83-E675D66045DD@iotecdigital.com> <042b3ab7-20ce-c3b0-9f09-0b9767b7eff6@researchware.com> Message-ID: 9.5.1 RC1 > On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode wrote: > > What version of LiveCode are you using. > > Older releases did not support the Retina display, but newer releases do. From brahma at hindu.org Tue Dec 17 14:16:51 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 17 Dec 2019 19:16:51 +0000 Subject: [ANN] Release 9.5.1 In-Reply-To: References: Message-ID: <0DFBB2CC-EA62-4238-967A-A19023FB65CF@hindu.org> I do not see the player changes with Apple going forward with AVKit. Any they only in 9.6.dp1? We are pleased to announce the release of LiveCode 9.5.1 STABLE. ** Note 9.5.1 STABLE is the last planned release in the 9.5.x series ** From theaford at btinternet.com Tue Dec 17 14:23:49 2019 From: theaford at btinternet.com (Terence Heaford) Date: Tue, 17 Dec 2019 19:23:49 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: References: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> <129EB113-3C73-47A8-AF4F-D4C2A0ABA6D2@btinternet.com> <87EA6EA5-E6C9-40EF-8E83-E675D66045DD@iotecdigital.com> <042b3ab7-20ce-c3b0-9f09-0b9767b7eff6@researchware.com> Message-ID: <57A8B2FA-7CEE-4937-BA2C-372FC857EA96@btinternet.com> Firstly I have an iMac, none retina. 1. Just checked Pages & Numbers and they both appear similar to LC. 2. Then checked TextEdit and that appears the same as Filemaker. The rendering of the text in Filemaker & TextEdit appears to my poor eyesight to be more black (if that is possible). My poor eyesight is the reason I notice this in the first place, because I have the same database in both LC & Filemaker. I prefer the scripting of LC to Filemaker but the display of the same table is much clearer in Filemaker for the same font (more blackness). Perhaps there is an anti alias setting or such like, that has not been implemented in LC. If so it would be good to get that option? There used to be (not sure if it?s there now) a terminal command defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO and probably others for this sort of thing. Perhaps they have to be implemented in app. Thanks Terry > On 17 Dec 2019, at 17:54, Bob Sneidar via use-livecode wrote: > > 9.5.1 RC1 > >> On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode wrote: >> >> What version of LiveCode are you using. >> >> Older releases did not support the Retina display, but newer releases do. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 17 15:13:31 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 17 Dec 2019 21:13:31 +0100 Subject: Missing keys in datagrid? Message-ID: Hi friends, I have a datagrid "produkte" of type Table with these 12 columns: 1. lfd_nummer 2.Titel 3.sid 4.w?hrung 5.Kupon 6.barriere 7. Verfallsdatum 8.Basiswerte 9. status 10. statusstatus 11. abruffehler 12. abruffehlermeldung But when I fire this in the messagebox: send "printkeys" to grp "produkte", I only get 10 keys? 1 Verfallsdatum: `` abruffehlermeldung: `` lfd_nummer: `0018` status: `` sid: `44` Titel: `sdsdsdds` Basiswerte: `Aktien` Kupon: `50.00%` barriere: `80.00%` w?hrung: `CHF` Same with: put the dgdata of grp "produkte" into tt;put keys of tt[1] Verfallsdatum abruffehlermeldung lfd_nummer status sid Titel Basiswerte Kupon barriere w?hrung Again only 10 keys from total 12!? What am I missing? Tested on macOS 10.14.6 with LC 9.05, 9.04 and 9.5.1 GM. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From paul at researchware.com Tue Dec 17 15:36:59 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 17 Dec 2019 15:36:59 -0500 Subject: Missing keys in datagrid? In-Reply-To: References: Message-ID: <369215de-affc-3535-294f-e2b31c0a9221@researchware.com> I am not 100% sure about the datagrid, but in regular arrays, if your d not set a key, it will not be present. So, if you never put a value into tt[1][statusstatus] then the key [statusstatus] will not be in the list of keys for tt[1]. If you want all keys to be present for each row, then you need to set them to some value, even if an empty string by 'empty' or "" On 12/17/2019 3:13 PM, Klaus major-k via use-livecode wrote: > Hi friends, > > I have a datagrid "produkte" of type Table with these 12 columns: > 1. lfd_nummer > 2.Titel > 3.sid > 4.w?hrung > 5.Kupon > 6.barriere > 7. Verfallsdatum > 8.Basiswerte > 9. status > 10. statusstatus > 11. abruffehler > 12. abruffehlermeldung > > But when I fire this in the messagebox: > send "printkeys" to grp "produkte", I only get 10 keys? > 1 > Verfallsdatum: `` > abruffehlermeldung: `` > lfd_nummer: `0018` > status: `` > sid: `44` > Titel: `sdsdsdds` > Basiswerte: `Aktien` > Kupon: `50.00%` > barriere: `80.00%` > w?hrung: `CHF` > > Same with: > put the dgdata of grp "produkte" into tt;put keys of tt[1] > Verfallsdatum > abruffehlermeldung > lfd_nummer > status > sid > Titel > Basiswerte > Kupon > barriere > w?hrung > > Again only 10 keys from total 12!? What am I missing? > Tested on macOS 10.14.6 with LC 9.05, 9.04 and 9.5.1 GM. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Tue Dec 17 14:42:12 2019 From: jjs at krutt.org (JJS) Date: Tue, 17 Dec 2019 20:42:12 +0100 Subject: Missing keys in datagrid? In-Reply-To: <369215de-affc-3535-294f-e2b31c0a9221@researchware.com> References: <369215de-affc-3535-294f-e2b31c0a9221@researchware.com> Message-ID: <5d485676-9b94-5dfd-19f9-7608cbb27e2f@krutt.org> Ein sch?ne guten abend Klaus, i don't know exactly what your trying to accomplish, but maybe this helps, or give a further idea. I use this to export column names and data: put the dgProp[ "columns" ] of group "DataGrid 1" into tColumnTitles ???? replace return with comma in tColumnTitles ???? put the dgText of group "DataGrid 1" into tData ???? replace tab with comma in tData ???? put tColumnTitles & return & tData into URL ("file:" & tFileName & ".csv") i get it all Ciao! Jerry Op 17-12-2019 om 21:36 schreef Paul Dupuis via use-livecode: > I am not 100% sure about the datagrid, but in regular arrays, if your > d not set a key, it will not be present. > > So, if you never put a value into tt[1][statusstatus] then the key > [statusstatus] will not be in the list of keys for tt[1]. If you want > all keys to be present for each row, then you need to set them to some > value, even if an empty string by 'empty' or "" > > > On 12/17/2019 3:13 PM, Klaus major-k via use-livecode wrote: >> Hi friends, >> >> I have a datagrid "produkte" of type Table with these 12 columns: >> 1. lfd_nummer >> 2.Titel >> 3.sid >> 4.w?hrung >> 5.Kupon >> 6.barriere >> 7. Verfallsdatum >> 8.Basiswerte >> 9. status >> 10. statusstatus >> 11. abruffehler >> 12. abruffehlermeldung >> >> But when I fire this in the messagebox: >> send "printkeys" to grp "produkte", I only get 10 keys? >> 1 >> Verfallsdatum: `` >> abruffehlermeldung: `` >> lfd_nummer: `0018` >> status: `` >> sid: `44` >> Titel: `sdsdsdds` >> Basiswerte: `Aktien` >> Kupon: `50.00%` >> barriere: `80.00%` >> w?hrung: `CHF` >> >> Same with: >> put the dgdata of grp "produkte" into tt;put keys of tt[1] >> Verfallsdatum >> abruffehlermeldung >> lfd_nummer >> status >> sid >> Titel >> Basiswerte >> Kupon >> barriere >> w?hrung >> >> Again only 10 keys from total 12!? What am I missing? >> Tested on macOS 10.14.6 with LC 9.05, 9.04 and 9.5.1 GM. >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Dec 17 15:43:09 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 17 Dec 2019 21:43:09 +0100 Subject: Missing keys in datagrid? In-Reply-To: <369215de-affc-3535-294f-e2b31c0a9221@researchware.com> References: <369215de-affc-3535-294f-e2b31c0a9221@researchware.com> Message-ID: <76E1ED7F-F0A1-4472-AF76-1EE3F581838B@major-k.de> Hi Paul, > Am 17.12.2019 um 21:36 schrieb Paul Dupuis via use-livecode : > > I am not 100% sure about the datagrid, but in regular arrays, if your d not set a key, it will not be present. > > So, if you never put a value into tt[1][statusstatus] then the key [statusstatus] will not be in the list of keys for tt[1]. If you want all keys to be present for each row, then you need to set them to some value, even if an empty string by 'empty' or "" but "printkeys" DOES in fact list empty keys, see below, three empty keys: Verfallsdatum: `` abruffehlermeldung: `` status: `` And "put the keys ..." does also not omit empty keys. > On 12/17/2019 3:13 PM, Klaus major-k via use-livecode wrote: >> Hi friends, >> >> I have a datagrid "produkte" of type Table with these 12 columns: >> 1. lfd_nummer >> 2.Titel >> 3.sid >> 4.w?hrung >> 5.Kupon >> 6.barriere >> 7. Verfallsdatum >> 8.Basiswerte >> 9. status >> 10. statusstatus >> 11. abruffehler >> 12. abruffehlermeldung >> >> But when I fire this in the messagebox: >> send "printkeys" to grp "produkte", I only get 10 keys? >> 1 >> Verfallsdatum: `` >> abruffehlermeldung: `` >> lfd_nummer: `0018` >> status: `` >> sid: `44` >> Titel: `sdsdsdds` >> Basiswerte: `Aktien` >> Kupon: `50.00%` >> barriere: `80.00%` >> w?hrung: `CHF` >> >> Same with: >> put the dgdata of grp "produkte" into tt;put keys of tt[1] >> Verfallsdatum >> abruffehlermeldung >> lfd_nummer >> status >> sid >> Titel >> Basiswerte >> Kupon >> barriere >> w?hrung >> >> Again only 10 keys from total 12!? What am I missing? >> Tested on macOS 10.14.6 with LC 9.05, 9.04 and 9.5.1 GM. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Tue Dec 17 15:46:32 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 17 Dec 2019 21:46:32 +0100 Subject: Missing keys in datagrid? In-Reply-To: <5d485676-9b94-5dfd-19f9-7608cbb27e2f@krutt.org> References: <369215de-affc-3535-294f-e2b31c0a9221@researchware.com> <5d485676-9b94-5dfd-19f9-7608cbb27e2f@krutt.org> Message-ID: <752353F4-5582-49BD-A6A3-11C3A152BC1E@major-k.de> Hi Jerry, > Am 17.12.2019 um 20:42 schrieb JJS via use-livecode : > > Ein sch?ne guten abend Klaus, > i don't know exactly what your trying to accomplish, I need to do lots of: repeat for each key tKey in... And now I am a bit irritated that some key may be missing in my loop!? > but maybe this helps, or give a further idea. I use this to export column names and data: > put the dgProp[ "columns" ] of group "DataGrid 1" into tColumnTitles Yes, this does in fact show all of my 12 keys > replace return with comma in tColumnTitles > put the dgText of group "DataGrid 1" into tData > replace tab with comma in tData > put tColumnTitles & return & tData into URL ("file:" & tFileName & ".csv") > i get it all I need to mess around with: the dgdata... > Ciao! > > Jerry Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Tue Dec 17 15:51:04 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 17 Dec 2019 21:51:04 +0100 Subject: Table Text Livecode vs ..... In-Reply-To: <57A8B2FA-7CEE-4937-BA2C-372FC857EA96@btinternet.com> References: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> <129EB113-3C73-47A8-AF4F-D4C2A0ABA6D2@btinternet.com> <87EA6EA5-E6C9-40EF-8E83-E675D66045DD@iotecdigital.com> <042b3ab7-20ce-c3b0-9f09-0b9767b7eff6@researchware.com> <57A8B2FA-7CEE-4937-BA2C-372FC857EA96@btinternet.com> Message-ID: <11E642AA-63A9-47F1-8E0D-368274F0320F@m-r-d.de> I ran into something similar in Windows, but also something other... I wanted to use a BarcodeFont, in my case 2of5i, in a Windows application i?ve created with LC. When i displayed a barcode in the Windows text editor, the barcode was displayed correctly. Even when i increased or decreased the font size, the barcode was correctly displayed. The black and blank narrow and wide bars showed all the correct size. When i did the same in an LC field, the same barcode was also displayed, but the wide and narrow black bars and the spaces were not correct in size. The proportion of some of the black bars and the blank spaces were not correct. When i changed the font size, then other bars and spaces showed this behaviour. I did not file a bug report, as i was not sure, if this really was a bug. Is LC using native text fields in Windows? To get finished i went another way and used a barcode sdk which creates images of the barcode. But that?s an other story. ;) Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 17.12.2019 um 20:23 schrieb Terence Heaford via use-livecode >: > > Firstly I have an iMac, none retina. > > 1. Just checked Pages & Numbers and they both appear similar to LC. > > 2. Then checked TextEdit and that appears the same as Filemaker. > > The rendering of the text in Filemaker & TextEdit appears to my poor eyesight to be more black (if that is possible). > My poor eyesight is the reason I notice this in the first place, because I have the same database in both LC & Filemaker. > I prefer the scripting of LC to Filemaker but the display of the same table is much clearer in Filemaker for the same font (more blackness). > > Perhaps there is an anti alias setting or such like, that has not been implemented in LC. > > If so it would be good to get that option? > > There used to be (not sure if it?s there now) a terminal command > > defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO > > and probably others for this sort of thing. Perhaps they have to be implemented in app. > > > > Thanks > > Terry > > > >> On 17 Dec 2019, at 17:54, Bob Sneidar via use-livecode > wrote: >> >> 9.5.1 RC1 >> >>> On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode > wrote: >>> >>> What version of LiveCode are you using. >>> >>> Older releases did not support the Retina display, but newer releases do. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 14:53:17 2019 From: jjs at krutt.org (JJS) Date: Tue, 17 Dec 2019 20:53:17 +0100 Subject: Missing keys in datagrid? In-Reply-To: <752353F4-5582-49BD-A6A3-11C3A152BC1E@major-k.de> References: <369215de-affc-3535-294f-e2b31c0a9221@researchware.com> <5d485676-9b94-5dfd-19f9-7608cbb27e2f@krutt.org> <752353F4-5582-49BD-A6A3-11C3A152BC1E@major-k.de> Message-ID: <2c00a095-14e0-4c62-d704-e8f1982a6a49@krutt.org> indeed, maybe this helps too for a selected line Data of a selected line: *if the dgHilitedLine of group "DataGrid 1" is not empty then put the dgHilitedLine of group "DataGrid 1" into theLine * *put the dgDataOfLine[theLine] of group "DataGrid 1" into tEdit** * *put tEdit["Nummer"] into field"Nummer" --etcetera* *end if* *Regards,* *JErry * Op 17-12-2019 om 21:46 schreef Klaus major-k via use-livecode: > Hi Jerry, > >> Am 17.12.2019 um 20:42 schrieb JJS via use-livecode : >> >> Ein sch?ne guten abend Klaus, >> i don't know exactly what your trying to accomplish, > I need to do lots of: repeat for each key tKey in... > And now I am a bit irritated that some key may be missing in my loop!? > >> but maybe this helps, or give a further idea. I use this to export column names and data: >> put the dgProp[ "columns" ] of group "DataGrid 1" into tColumnTitles > Yes, this does in fact show all of my 12 keys > >> replace return with comma in tColumnTitles >> put the dgText of group "DataGrid 1" into tData >> replace tab with comma in tData >> put tColumnTitles & return & tData into URL ("file:" & tFileName & ".csv") >> i get it all > I need to mess around with: the dgdata... > >> Ciao! >> >> Jerry > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Tue Dec 17 16:04:03 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Tue, 17 Dec 2019 13:04:03 -0800 Subject: Table Text Livecode vs ..... In-Reply-To: <11E642AA-63A9-47F1-8E0D-368274F0320F@m-r-d.de> References: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> <129EB113-3C73-47A8-AF4F-D4C2A0ABA6D2@btinternet.com> <87EA6EA5-E6C9-40EF-8E83-E675D66045DD@iotecdigital.com> <042b3ab7-20ce-c3b0-9f09-0b9767b7eff6@researchware.com> <57A8B2FA-7CEE-4937-BA2C-372FC857EA96@btinternet.com> <11E642AA-63A9-47F1-8E0D-368274F0320F@m-r-d.de> Message-ID: <98F46E09-3AA3-49F0-A938-0EBD9FD6354D@gmail.com> On Windows could the ?formatForPrinting? property be effecting this? Windows apparently uses different fonts for screen display vs printing. Marty > On Dec 17, 2019, at 12:51 PM, Matthias Rebbe via use-livecode wrote: > > I ran into something similar in Windows, but also something other... > > I wanted to use a BarcodeFont, in my case 2of5i, in a Windows application i?ve created with LC. > > When i displayed a barcode in the Windows text editor, the barcode was displayed correctly. Even when i increased or decreased the font size, the barcode was correctly displayed. The black and blank narrow and wide bars showed all the correct size. > > When i did the same in an LC field, the same barcode was also displayed, but the wide and narrow black bars and the spaces were not correct in size. The proportion of some of the black bars and the blank spaces were not correct. When i changed the font size, then other bars and spaces showed this behaviour. > > I did not file a bug report, as i was not sure, if this really was a bug. Is LC using native text fields in Windows? > > To get finished i went another way and used a barcode sdk which creates images of the barcode. But that?s an other story. ;) > > Matthias > > > > > > Matthias Rebbe > > free tools for Livecoders: > InstaMaker > WinSignMaker Mac > >> Am 17.12.2019 um 20:23 schrieb Terence Heaford via use-livecode >: >> >> Firstly I have an iMac, none retina. >> >> 1. Just checked Pages & Numbers and they both appear similar to LC. >> >> 2. Then checked TextEdit and that appears the same as Filemaker. >> >> The rendering of the text in Filemaker & TextEdit appears to my poor eyesight to be more black (if that is possible). >> My poor eyesight is the reason I notice this in the first place, because I have the same database in both LC & Filemaker. >> I prefer the scripting of LC to Filemaker but the display of the same table is much clearer in Filemaker for the same font (more blackness). >> >> Perhaps there is an anti alias setting or such like, that has not been implemented in LC. >> >> If so it would be good to get that option? >> >> There used to be (not sure if it?s there now) a terminal command >> >> defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO >> >> and probably others for this sort of thing. Perhaps they have to be implemented in app. >> >> >> >> Thanks >> >> Terry >> >> >> >>> On 17 Dec 2019, at 17:54, Bob Sneidar via use-livecode > wrote: >>> >>> 9.5.1 RC1 >>> >>>> On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode > wrote: >>>> >>>> What version of LiveCode are you using. >>>> >>>> Older releases did not support the Retina display, but newer releases do. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 16:42:50 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 17 Dec 2019 22:42:50 +0100 Subject: Table Text Livecode vs ..... In-Reply-To: <98F46E09-3AA3-49F0-A938-0EBD9FD6354D@gmail.com> References: <02413505-411A-4A28-9751-254ADDEDA290@btinternet.com> <129EB113-3C73-47A8-AF4F-D4C2A0ABA6D2@btinternet.com> <87EA6EA5-E6C9-40EF-8E83-E675D66045DD@iotecdigital.com> <042b3ab7-20ce-c3b0-9f09-0b9767b7eff6@researchware.com> <57A8B2FA-7CEE-4937-BA2C-372FC857EA96@btinternet.com> <11E642AA-63A9-47F1-8E0D-368274F0320F@m-r-d.de> <98F46E09-3AA3-49F0-A938-0EBD9FD6354D@gmail.com> Message-ID: You?ve asked me that already last year on the 28.09.2018 when i posted about this behaviour the first time. ;) Did not make a difference. Regards, Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 17.12.2019 um 22:04 schrieb Marty Knapp via use-livecode >: > > On Windows could the ?formatForPrinting? property be effecting this? Windows apparently uses different fonts for screen display vs printing. > > Marty > >> On Dec 17, 2019, at 12:51 PM, Matthias Rebbe via use-livecode > wrote: >> >> I ran into something similar in Windows, but also something other... >> >> I wanted to use a BarcodeFont, in my case 2of5i, in a Windows application i?ve created with LC. >> >> When i displayed a barcode in the Windows text editor, the barcode was displayed correctly. Even when i increased or decreased the font size, the barcode was correctly displayed. The black and blank narrow and wide bars showed all the correct size. >> >> When i did the same in an LC field, the same barcode was also displayed, but the wide and narrow black bars and the spaces were not correct in size. The proportion of some of the black bars and the blank spaces were not correct. When i changed the font size, then other bars and spaces showed this behaviour. >> >> I did not file a bug report, as i was not sure, if this really was a bug. Is LC using native text fields in Windows? >> >> To get finished i went another way and used a barcode sdk which creates images of the barcode. But that?s an other story. ;) >> >> Matthias >> >> >> >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> InstaMaker > >> WinSignMaker Mac > >> >>> Am 17.12.2019 um 20:23 schrieb Terence Heaford via use-livecode >>: >>> >>> Firstly I have an iMac, none retina. >>> >>> 1. Just checked Pages & Numbers and they both appear similar to LC. >>> >>> 2. Then checked TextEdit and that appears the same as Filemaker. >>> >>> The rendering of the text in Filemaker & TextEdit appears to my poor eyesight to be more black (if that is possible). >>> My poor eyesight is the reason I notice this in the first place, because I have the same database in both LC & Filemaker. >>> I prefer the scripting of LC to Filemaker but the display of the same table is much clearer in Filemaker for the same font (more blackness). >>> >>> Perhaps there is an anti alias setting or such like, that has not been implemented in LC. >>> >>> If so it would be good to get that option? >>> >>> There used to be (not sure if it?s there now) a terminal command >>> >>> defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO >>> >>> and probably others for this sort of thing. Perhaps they have to be implemented in app. >>> >>> >>> >>> Thanks >>> >>> Terry >>> >>> >>> >>>> On 17 Dec 2019, at 17:54, Bob Sneidar via use-livecode >> wrote: >>>> >>>> 9.5.1 RC1 >>>> >>>>> On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode >> wrote: >>>>> >>>>> What version of LiveCode are you using. >>>>> >>>>> Older releases did not support the Retina display, but newer releases do. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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: InstaMaker WinSignMaker Mac From bobsneidar at iotecdigital.com Tue Dec 17 19:13:47 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Dec 2019 00:13:47 +0000 Subject: Missing keys in datagrid? In-Reply-To: References: Message-ID: <8F3B79FE-98D4-49D9-9EBE-D7EF8E9A69D3@iotecdigital.com> If I recall a long time ago speaking with Trevor, printkeys() does not necessarily return ALL keys. Your array does not look that large though. I have an array function that may prove more helpful. I designed it so that you could "search" or filter an array for a key and/or a value. It will return text looking something like: [1] ["lastupdate"] 2016-09-07 13:56:01,[1] ["contactcell"] ,[1] ["siteidlist"] ,[1] ["contactid"] 409,[1] ["contactname"] Stonehill Technical Solutions,[1] ["contactphone"] 949-218-1258,[1] ["updateby"] Robert Sneidar,[1] ["itidlist"] |396|,[1] ["custid"] 340,[1] ["contactemail"] ,[1] ["contacttype"] |customer|site|it|,[1] ["position"] [2] ["lastupdate"] 2016-09-07 13:56:01,[2] ["contactcell"] ,[2] ["siteidlist"] |397|,[2] ["contactid"] 410,[2] ["contactname"] Jackie Silventez,[2] ["contactphone"] 951-943-2223,[2] ["updateby"] Robert Sneidar,[2] ["itidlist"] ,[2] ["custid"] 340,[2] ["contactemail"] ,[2] ["contacttype"] |site|,[2] ["position"] etc. It has the format [first root key] [first child key] [next child key] [next child key] (etc.)"key value",[first root key] [second child key]... and so on. The value to this format is you can use the filter lines command to, for example find every line containing *["custid"]340*. Each line will then contain the actual array keys for that entry, which you can use to reference the original array. In this case the root key is 1, the first child key is "custid" the value is 340. It seems complicated at first but it's not. Try it with a 3 deep multi key array. It gives you the ability using the filter lines command to find every matching array key with a single statement. Bob S function altPrintKeys @pArray put numtochar(11) into vertTab put numtochar(30) into altCr put the keys of pArray into theKeys sort theKeys numeric repeat FOR each line theKey in theKeys put "[" & theKey & "] " after theKeyList if theKey is not a number then replace "[" & theKey & "]" WITH "[" & quote & theKey & quote & "]" in theKeyList end if if pArray[theKey] is an array then put pArray[theKey] into theTempArray put altPrintKeys(theTempArray, theKeyList, pFullData) after theText put empty into the last word of theKeyList delete the last char of theKeyList put cr into the last char of theText else put "pArray " & the last word of theKeyList into theKeyName -- put "put " & theKeyName & " into theValue" into theCommand -- do theCommand put value(theKeyName) into theValue replace tab WITH vertTab in theValue replace return WITH altCr in theValue put theKeyList & tab & theValue & comma after theText put empty into the last word of theKeyList delete the last char of theKeyList end if end repeat return theText end altPrintKeys Bob S > On Dec 17, 2019, at 12:13 , Klaus major-k via use-livecode wrote: > > Hi friends, > > I have a datagrid "produkte" of type Table with these 12 columns: > 1. lfd_nummer > 2.Titel > 3.sid > 4.w?hrung > 5.Kupon > 6.barriere > 7. Verfallsdatum > 8.Basiswerte > 9. status > 10. statusstatus > 11. abruffehler > 12. abruffehlermeldung > > But when I fire this in the messagebox: > send "printkeys" to grp "produkte", I only get 10 keys? > 1 > Verfallsdatum: `` > abruffehlermeldung: `` > lfd_nummer: `0018` > status: `` > sid: `44` > Titel: `sdsdsdds` > Basiswerte: `Aktien` > Kupon: `50.00%` > barriere: `80.00%` > w?hrung: `CHF` > > Same with: > put the dgdata of grp "produkte" into tt;put keys of tt[1] > Verfallsdatum > abruffehlermeldung > lfd_nummer > status > sid > Titel > Basiswerte > Kupon > barriere > w?hrung > > Again only 10 keys from total 12!? What am I missing? > Tested on macOS 10.14.6 with LC 9.05, 9.04 and 9.5.1 GM. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Dec 17 19:31:40 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Dec 2019 16:31:40 -0800 Subject: Missing keys in datagrid? In-Reply-To: <8F3B79FE-98D4-49D9-9EBE-D7EF8E9A69D3@iotecdigital.com> References: <8F3B79FE-98D4-49D9-9EBE-D7EF8E9A69D3@iotecdigital.com> Message-ID: <0b0adbaf-8805-02c0-16c8-d252f7937d7b@fourthworld.com> The easiest way to view arrays in LC these days is with the tree widget. 1. Drop a tree widget on your card 2. Set the widget's arrayStyle to true 3. Set the widget's arrayData to your array. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Tue Dec 17 22:08:47 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 18 Dec 2019 03:08:47 +0000 Subject: Missing keys in datagrid? In-Reply-To: References: Message-ID: Hey Klaus The first thing that grabs my attention is that the two missing keys, statusstatus and abruffehler, are very similar to two other keys, status and abruffehlermeldung. I wonder if this similarity is where printKeys is pulling incomplete results. It would certainly be my initial route of examination. although why it chose the smaller and earlier of one and the larger and later of the other is a bit inconsistent. Hmmm, very interesting. All the best Sean Cole Pi Digital Prod Ltd > On 17 Dec 2019, at 20:13, Klaus major-k via use-livecode wrote: > > ?Hi friends, > > I have a datagrid "produkte" of type Table with these 12 columns: > 1. lfd_nummer > 2.Titel > 3.sid > 4.w?hrung > 5.Kupon > 6.barriere > 7. Verfallsdatum > 8.Basiswerte > 9. status > 10. statusstatus > 11. abruffehler > 12. abruffehlermeldung > > But when I fire this in the messagebox: > send "printkeys" to grp "produkte", I only get 10 keys? > 1 > Verfallsdatum: `` > abruffehlermeldung: `` > lfd_nummer: `0018` > status: `` > sid: `44` > Titel: `sdsdsdds` > Basiswerte: `Aktien` > Kupon: `50.00%` > barriere: `80.00%` > w?hrung: `CHF` > > Same with: > put the dgdata of grp "produkte" into tt;put keys of tt[1] > Verfallsdatum > abruffehlermeldung > lfd_nummer > status > sid > Titel > Basiswerte > Kupon > barriere > w?hrung > > Again only 10 keys from total 12!? What am I missing? > Tested on macOS 10.14.6 with LC 9.05, 9.04 and 9.5.1 GM. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Tue Dec 17 22:13:58 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 18 Dec 2019 03:13:58 +0000 Subject: [ANN] Release 9.5.1 In-Reply-To: <0DFBB2CC-EA62-4238-967A-A19023FB65CF@hindu.org> References: <0DFBB2CC-EA62-4238-967A-A19023FB65CF@hindu.org> Message-ID: <5353D24B-1EF9-4B8F-93BC-ECCBB47C693C@pidigital.co.uk> Heh, spoke too soon. I saw a pull request for 9.5.2 build so I I guess 9.5.1 won?t be the last release in the 9.5.x series. Unless it goes as the first ?unplanned? of the series. ;) Sean Cole Pi > ** Note 9.5.1 STABLE is the last planned release in the 9.5.x series ** From sean at pidigital.co.uk Tue Dec 17 22:39:19 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 18 Dec 2019 03:39:19 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: <57A8B2FA-7CEE-4937-BA2C-372FC857EA96@btinternet.com> References: <57A8B2FA-7CEE-4937-BA2C-372FC857EA96@btinternet.com> Message-ID: This to do with the sharpness setting for the fonts. If you have Photoshop you have the ability to set the levels of this in the character parameters. The same principle is available to Mac developers in font smoothing. This adds levels of clarity to the fill of the typeface. Here?s Apples guide: https://developer.apple.com/documentation/coregraphics/cgcontext/1454767-setallowsfontsmoothing There?s listed there other parameters that play a part like quantisation and smoothing. So LC and FM just use differing methods. But they?re not far off each other. I?m currently upgrading a stack from 5.0.2 up to 9.5 and the text difference is far more distinct. I?m assuming this is to do with Unicode. So be thankful your issue is not nearly as tiresome requiring the reformatting of every card in a humungous stack like the one I?m dealing with! All the best. Sean Cole Pi Digital Prod Ltd > On 17 Dec 2019, at 19:23, Terence Heaford via use-livecode wrote: > > ?Firstly I have an iMac, none retina. > > 1. Just checked Pages & Numbers and they both appear similar to LC. > > 2. Then checked TextEdit and that appears the same as Filemaker. > > The rendering of the text in Filemaker & TextEdit appears to my poor eyesight to be more black (if that is possible). > My poor eyesight is the reason I notice this in the first place, because I have the same database in both LC & Filemaker. > I prefer the scripting of LC to Filemaker but the display of the same table is much clearer in Filemaker for the same font (more blackness). > > Perhaps there is an anti alias setting or such like, that has not been implemented in LC. > > If so it would be good to get that option? > > There used to be (not sure if it?s there now) a terminal command > > defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO > > and probably others for this sort of thing. Perhaps they have to be implemented in app. > > > > Thanks > > Terry > > > >> On 17 Dec 2019, at 17:54, Bob Sneidar via use-livecode wrote: >> >> 9.5.1 RC1 >> >>>> On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode wrote: >>> >>> What version of LiveCode are you using. >>> >>> Older releases did not support the Retina display, but newer releases do. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 17 22:49:35 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 18 Dec 2019 03:49:35 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: References: Message-ID: Some have reported noticing the difference (generally I mean, not just in LC) all the way back as far as 2007. Retina came to the MacBook in 2012. Sean Cole Pi Digital Prod Ltd > On 17 Dec 2019, at 21:42, Matthias Rebbe via use-livecode wrote: > > ?You?ve asked me that already last year on the 28.09.2018 when i posted about this behaviour the first time. ;) > > Did not make a difference. > > Regards, > > Matthias > > Matthias Rebbe > > free tools for Livecoders: > InstaMaker > WinSignMaker Mac > >> Am 17.12.2019 um 22:04 schrieb Marty Knapp via use-livecode >: >> >> On Windows could the ?formatForPrinting? property be effecting this? Windows apparently uses different fonts for screen display vs printing. >> >> Marty >> >>>> On Dec 17, 2019, at 12:51 PM, Matthias Rebbe via use-livecode > wrote: >>> >>> I ran into something similar in Windows, but also something other... >>> >>> I wanted to use a BarcodeFont, in my case 2of5i, in a Windows application i?ve created with LC. >>> >>> When i displayed a barcode in the Windows text editor, the barcode was displayed correctly. Even when i increased or decreased the font size, the barcode was correctly displayed. The black and blank narrow and wide bars showed all the correct size. >>> >>> When i did the same in an LC field, the same barcode was also displayed, but the wide and narrow black bars and the spaces were not correct in size. The proportion of some of the black bars and the blank spaces were not correct. When i changed the font size, then other bars and spaces showed this behaviour. >>> >>> I did not file a bug report, as i was not sure, if this really was a bug. Is LC using native text fields in Windows? >>> >>> To get finished i went another way and used a barcode sdk which creates images of the barcode. But that?s an other story. ;) >>> >>> Matthias >>> >>> >>> >>> >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> InstaMaker > >>> WinSignMaker Mac > >>> >>>> Am 17.12.2019 um 20:23 schrieb Terence Heaford via use-livecode >>: >>>> >>>> Firstly I have an iMac, none retina. >>>> >>>> 1. Just checked Pages & Numbers and they both appear similar to LC. >>>> >>>> 2. Then checked TextEdit and that appears the same as Filemaker. >>>> >>>> The rendering of the text in Filemaker & TextEdit appears to my poor eyesight to be more black (if that is possible). >>>> My poor eyesight is the reason I notice this in the first place, because I have the same database in both LC & Filemaker. >>>> I prefer the scripting of LC to Filemaker but the display of the same table is much clearer in Filemaker for the same font (more blackness). >>>> >>>> Perhaps there is an anti alias setting or such like, that has not been implemented in LC. >>>> >>>> If so it would be good to get that option? >>>> >>>> There used to be (not sure if it?s there now) a terminal command >>>> >>>> defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO >>>> >>>> and probably others for this sort of thing. Perhaps they have to be implemented in app. >>>> >>>> >>>> >>>> Thanks >>>> >>>> Terry >>>> >>>> >>>> >>>>> On 17 Dec 2019, at 17:54, Bob Sneidar via use-livecode >> wrote: >>>>> >>>>> 9.5.1 RC1 >>>>> >>>>>> On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode >> wrote: >>>>>> >>>>>> What version of LiveCode are you using. >>>>>> >>>>>> Older releases did not support the Retina display, but newer releases do. >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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: > InstaMaker > WinSignMaker Mac > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Wed Dec 18 03:00:17 2019 From: theaford at btinternet.com (Terence Heaford) Date: Wed, 18 Dec 2019 08:00:17 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: References: <57A8B2FA-7CEE-4937-BA2C-372FC857EA96@btinternet.com> Message-ID: <39AA7541-40AC-47C9-BA8F-0AEAFF7996D8@btinternet.com> The setAllowsFontSmoothing function states "Font are smoothed if they are antialiased when drawn and if font smoothing is both allowed and enabled. For information on how to enable font smoothing, see the setShouldSmoothFonts(_:) function. It is not usually necessary to make changes to both parameters at the same time; either can be used to disable font smoothing.? I have the "use font smoothing when available" checkbox ticked in the General Preferences. The above suggests that LC does not have these settings enabled. As I said previously a user function to set this would be beneficial I believe. What about it mothership? I wonder if there would be a performance hit for providing this functionality? Thanks Terry > On 18 Dec 2019, at 03:39, Pi Digital via use-livecode wrote: > > This to do with the sharpness setting for the fonts. If you have Photoshop you have the ability to set the levels of this in the character parameters. The same principle is available to Mac developers in font smoothing. This adds levels of clarity to the fill of the typeface. Here?s Apples guide: > > https://developer.apple.com/documentation/coregraphics/cgcontext/1454767-setallowsfontsmoothing > > There?s listed there other parameters that play a part like quantisation and smoothing. > > So LC and FM just use differing methods. But they?re not far off each other. > > I?m currently upgrading a stack from 5.0.2 up to 9.5 and the text difference is far more distinct. I?m assuming this is to do with Unicode. So be thankful your issue is not nearly as tiresome requiring the reformatting of every card in a humungous stack like the one I?m dealing with! > > All the best. > > Sean Cole > Pi Digital Prod Ltd > >> On 17 Dec 2019, at 19:23, Terence Heaford via use-livecode wrote: >> >> ?Firstly I have an iMac, none retina. >> >> 1. Just checked Pages & Numbers and they both appear similar to LC. >> >> 2. Then checked TextEdit and that appears the same as Filemaker. >> >> The rendering of the text in Filemaker & TextEdit appears to my poor eyesight to be more black (if that is possible). >> My poor eyesight is the reason I notice this in the first place, because I have the same database in both LC & Filemaker. >> I prefer the scripting of LC to Filemaker but the display of the same table is much clearer in Filemaker for the same font (more blackness). >> >> Perhaps there is an anti alias setting or such like, that has not been implemented in LC. >> >> If so it would be good to get that option? >> >> There used to be (not sure if it?s there now) a terminal command >> >> defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO >> >> and probably others for this sort of thing. Perhaps they have to be implemented in app. >> >> >> >> Thanks >> >> Terry >> >> >> >>> On 17 Dec 2019, at 17:54, Bob Sneidar via use-livecode wrote: >>> >>> 9.5.1 RC1 >>> >>>>> On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode wrote: >>>> >>>> What version of LiveCode are you using. >>>> >>>> Older releases did not support the Retina display, but newer releases do. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Dec 18 03:38:26 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 18 Dec 2019 09:38:26 +0100 Subject: Missing keys in datagrid? In-Reply-To: <8F3B79FE-98D4-49D9-9EBE-D7EF8E9A69D3@iotecdigital.com> References: <8F3B79FE-98D4-49D9-9EBE-D7EF8E9A69D3@iotecdigital.com> Message-ID: Hi Bob, > Am 18.12.2019 um 01:13 schrieb Bob Sneidar via use-livecode : > > If I recall a long time ago speaking with Trevor, printkeys() does not necessarily return ALL keys. AHA! OK, that explains something, but not all. Empty or not, this SHOULD list all keys, but doesn't? ... put the dgdata of grp "produkte" into tt put keys of tt[1] ... > Your array does not look that large though. ... I really do not need to have a working "printkeys", I am just irritated to not see all of my keys. > Bob S > > function altPrintKeys @pArray > ... > end altPrintKeys > > Bob S Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From theaford at btinternet.com Wed Dec 18 05:33:58 2019 From: theaford at btinternet.com (Terence Heaford) Date: Wed, 18 Dec 2019 10:33:58 +0000 Subject: Table Text Livecode vs ..... In-Reply-To: <39AA7541-40AC-47C9-BA8F-0AEAFF7996D8@btinternet.com> References: <57A8B2FA-7CEE-4937-BA2C-372FC857EA96@btinternet.com> <39AA7541-40AC-47C9-BA8F-0AEAFF7996D8@btinternet.com> Message-ID: Here?s another interesting observation. My table is set to Lucida Grande 13 I have some popup menus on the card set to Lucida Grande 13 Why does the text in the popup menus appear larger than the text in the Table? Thanks Terry > On 18 Dec 2019, at 08:00, Terence Heaford via use-livecode wrote: > > The setAllowsFontSmoothing function states > > "Font are smoothed if they are antialiased when drawn and if font smoothing is both allowed and enabled. For information on how to enable font smoothing, see the setShouldSmoothFonts(_:) function. It is not usually necessary to make changes to both parameters at the same time; either can be used to disable font smoothing.? > > I have the "use font smoothing when available" checkbox ticked in the General Preferences. The above suggests that LC does not have these settings enabled. > > As I said previously a user function to set this would be beneficial I believe. > > What about it mothership? > > I wonder if there would be a performance hit for providing this functionality? > > Thanks > > Terry > > > >> On 18 Dec 2019, at 03:39, Pi Digital via use-livecode wrote: >> >> This to do with the sharpness setting for the fonts. If you have Photoshop you have the ability to set the levels of this in the character parameters. The same principle is available to Mac developers in font smoothing. This adds levels of clarity to the fill of the typeface. Here?s Apples guide: >> >> https://developer.apple.com/documentation/coregraphics/cgcontext/1454767-setallowsfontsmoothing >> >> There?s listed there other parameters that play a part like quantisation and smoothing. >> >> So LC and FM just use differing methods. But they?re not far off each other. >> >> I?m currently upgrading a stack from 5.0.2 up to 9.5 and the text difference is far more distinct. I?m assuming this is to do with Unicode. So be thankful your issue is not nearly as tiresome requiring the reformatting of every card in a humungous stack like the one I?m dealing with! >> >> All the best. >> >> Sean Cole >> Pi Digital Prod Ltd >> >>> On 17 Dec 2019, at 19:23, Terence Heaford via use-livecode wrote: >>> >>> ?Firstly I have an iMac, none retina. >>> >>> 1. Just checked Pages & Numbers and they both appear similar to LC. >>> >>> 2. Then checked TextEdit and that appears the same as Filemaker. >>> >>> The rendering of the text in Filemaker & TextEdit appears to my poor eyesight to be more black (if that is possible). >>> My poor eyesight is the reason I notice this in the first place, because I have the same database in both LC & Filemaker. >>> I prefer the scripting of LC to Filemaker but the display of the same table is much clearer in Filemaker for the same font (more blackness). >>> >>> Perhaps there is an anti alias setting or such like, that has not been implemented in LC. >>> >>> If so it would be good to get that option? >>> >>> There used to be (not sure if it?s there now) a terminal command >>> >>> defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO >>> >>> and probably others for this sort of thing. Perhaps they have to be implemented in app. >>> >>> >>> >>> Thanks >>> >>> Terry >>> >>> >>> >>>> On 17 Dec 2019, at 17:54, Bob Sneidar via use-livecode wrote: >>>> >>>> 9.5.1 RC1 >>>> >>>>>> On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode wrote: >>>>> >>>>> What version of LiveCode are you using. >>>>> >>>>> Older releases did not support the Retina display, but newer releases do. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Dec 18 05:50:13 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 18 Dec 2019 11:50:13 +0100 Subject: Make LC fully localizable! Message-ID: <68F3D46D-58B5-4970-A365-E9E3E0D02020@major-k.de> Hi all (non-english) LC developers, FYI: I just filed an enhancement request to make LC fully localizable, which is currently not the case! Feel free to add a comment: Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From panos.merakos at livecode.com Wed Dec 18 06:09:10 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 18 Dec 2019 13:09:10 +0200 Subject: [ANN] Release 9.6.0 DP-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.0 DP-2. 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.6.0 DP-2 comes with more than 15 issues resolved, including: - The ability to pass "detailed-utf8" to the files() and folders() function to preserve unicode filenames has been added. - A regression where the new iOS native browser control did not resize/redraw is now fixed - A regression where setting the htmlText of the browser widget could fail on Windows is now fixed - Support for merging activity attributes is added in the Android Manifest Merging mechanism - An issue where the cameraControl could show a rotated preview in landscape orientation is now fixed Known issues ================ - This build (for Mac) is not notarized yet, so if your Mac is running MacOS Catalina (10.15.x) you will get a warning dialog saying that the app cannot be opened. In this case, you have to whitelist LiveCode in the System Settings -> Security and Privacy, and then right-click on LiveCode and choose "Open" from the contextual menu. Just double-clicking to open it will not work. Note that you'll only need to do this once, the very first time you open LiveCode 9.6 DP-2. For more details and instructions see here: https://support.apple.com/en-gb/HT202491 - 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_6_0/LiveCodeNotes-9_6_0_dp_2.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 lists at mangomultimedia.com Wed Dec 18 07:28:46 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 18 Dec 2019 06:28:46 -0600 Subject: Missing keys in datagrid? In-Reply-To: References: <8F3B79FE-98D4-49D9-9EBE-D7EF8E9A69D3@iotecdigital.com> Message-ID: On Wed, Dec 18, 2019 at 2:38 AM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bob, > > > Am 18.12.2019 um 01:13 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > > > > If I recall a long time ago speaking with Trevor, printkeys() does not > necessarily return ALL keys. > > AHA! > OK, that explains something, but not all. > > Empty or not, this SHOULD list all keys, but doesn't? > One nice aspect of LiveCode is that you can inspect all of the code to see what is going on behind the scenes. For PrintKeys you can get to the script that has it in one of two ways: edit script of behavior of behavior of selobj() edit script of stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior" This is the PrintKeys handler: ``` command PrintKeys pArray if pArray is not an array then put sDataArray into pArray put _PrintKeys(pArray) end PrintKeys ``` And here is the _PrintKeys() function: ``` private function _PrintKeys @pArray, pDimension if pDimension is empty then put 0 into pDimension local theKeys, theText, theTempArray put the keys of pArray into theKeys sort theKeys numeric repeat for each line theKey in theKeys if pArray[theKey] is an array then put _printCharXTimes(space, pDimension * 5) & theKey & cr after theText put pArray[theKey] into theTempArray put _PrintKeys(theTempArray, pDimension + 1) after theText else put _printCharXTimes(space, pDimension * 5) & theKey & ":" && "`" & pArray[theKey] & "`" & cr after theText end if end repeat return theText end _PrintKeys ``` As you can see, PrintKeys prints off every key and value in the sDataArray array. sDataArray contains the array that you, the developer, assigned to the DataGrid using a property such as dgData or dgText. PrintKeys doesn't take into account the columns you've created in your DataGrid. That is a separate property. So my guess is that you are populating the DataGrid with data that only has 10 columns. Could that be the case? -- Trevor DeVore ScreenSteps www.screensteps.com From klaus at major-k.de Wed Dec 18 07:40:05 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 18 Dec 2019 13:40:05 +0100 Subject: Missing keys in datagrid? In-Reply-To: References: <8F3B79FE-98D4-49D9-9EBE-D7EF8E9A69D3@iotecdigital.com> Message-ID: <40DEFEE0-FBA2-4576-9DAD-044A24B42591@major-k.de> Hi Trevor, thanks for chiming in! > Am 18.12.2019 um 13:28 schrieb Trevor DeVore via use-livecode : > > On Wed, Dec 18, 2019 at 2:38 AM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > ... > So my guess is that you are populating the DataGrid with data that only has > 10 columns. Could that be the case? No, I really provide an array with all my columns in it, empty or not. > -- > Trevor DeVore Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From lists at mangomultimedia.com Wed Dec 18 07:51:10 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 18 Dec 2019 06:51:10 -0600 Subject: Missing keys in datagrid? In-Reply-To: <40DEFEE0-FBA2-4576-9DAD-044A24B42591@major-k.de> References: <8F3B79FE-98D4-49D9-9EBE-D7EF8E9A69D3@iotecdigital.com> <40DEFEE0-FBA2-4576-9DAD-044A24B42591@major-k.de> Message-ID: On Wed, Dec 18, 2019 at 6:40 AM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Trevor, > > thanks for chiming in! > > > Am 18.12.2019 um 13:28 schrieb Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com>: > > > > On Wed, Dec 18, 2019 at 2:38 AM Klaus major-k via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > ... > > So my guess is that you are populating the DataGrid with data that only > has > > 10 columns. Could that be the case? > > No, I really provide an array with all my columns in it, empty or not. > Given how PrintKeys works it would appear that the keys are being removed from the internal sDataArray array. You can inspect the array yourself by putting the dgData of the DataGrid into a variable and setting a breakpoint. Or assign the dgData to a tree widget as Richard suggested. -- Trevor DeVore ScreenSteps www.screensteps.com From klaus at major-k.de Wed Dec 18 08:19:44 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 18 Dec 2019 14:19:44 +0100 Subject: Missing keys in datagrid? In-Reply-To: References: <8F3B79FE-98D4-49D9-9EBE-D7EF8E9A69D3@iotecdigital.com> <40DEFEE0-FBA2-4576-9DAD-044A24B42591@major-k.de> Message-ID: <462AD251-555A-4056-802E-7B2223DB360C@major-k.de> Hi Trevor, > Am 18.12.2019 um 13:51 schrieb Trevor DeVore via use-livecode : > On Wed, Dec 18, 2019 at 6:40 AM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: >>> ... >>> So my guess is that you are populating the DataGrid with data that only >> has >>> 10 columns. Could that be the case? >> No, I really provide an array with all my columns in it, empty or not. > > Given how PrintKeys works it would appear that the keys are being removed > from the internal sDataArray array. You can inspect the array yourself by > putting the dgData of the DataGrid into a variable and setting a > breakpoint. Or assign the dgData to a tree widget as Richard suggested. yes, already did and ALL columns are visible when viewed in a TREE View widget!? So everything looks OK, I was just a bit unsure due to the discrepany of the different "views", Thanks to all! > -- > Trevor DeVore Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sundown at pacifier.com Wed Dec 18 10:01:04 2019 From: sundown at pacifier.com (JB) Date: Wed, 18 Dec 2019 07:01:04 -0800 Subject: using stdout Message-ID: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> This isn?t something I need but I read in a older manual you can write to the terminal using stdout. It said the terminal needs to be open and you use code like below to log or write to the terminal; put "Hello world." into tMessage write tMessage && the long time & return to stdout When I run this code nothing happens even though I have the terminal open. Does anyone know how to use stdout with the terminal from within a stack? JB From paul at researchware.com Wed Dec 18 11:16:00 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 18 Dec 2019 11:16:00 -0500 Subject: Make LC fully localizable! In-Reply-To: <68F3D46D-58B5-4970-A365-E9E3E0D02020@major-k.de> References: <68F3D46D-58B5-4970-A365-E9E3E0D02020@major-k.de> Message-ID: <82911fa0-94fd-d93c-1e1b-dd263280a52a@researchware.com> On 12/18/2019 5:50 AM, Klaus major-k via use-livecode wrote: > Hi all (non-english) LC developers, > > FYI: > I just filed an enhancement request to make LC fully localizable, > which is currently not the case! > > Feel free to add a comment: > > > Perhaps modifying the ask command syntax: Currently: ask [iconType] prompt [with defaultResponse] [titled windowTitle] [as sheet] Suggested: ask [iconType] prompt [with defaultResponse] [titled windowTitle] [as sheet] using cancel "cancel string" ok "ok string" From ahsoftware at sonic.net Wed Dec 18 12:24:34 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 18 Dec 2019 09:24:34 -0800 Subject: using stdout In-Reply-To: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> Message-ID: On 12/18/19 7:01 AM, JB via use-livecode wrote: > This isn?t something I need but I read in a older manual > you can write to the terminal using stdout. It said the > terminal needs to be open and you use code like > below to log or write to the terminal; > > put "Hello world." into tMessage > write tMessage && the long time & return to stdout > > When I run this code nothing happens even though > I have the terminal open. > > Does anyone know how to use stdout with the terminal > from within a stack? Works here, on linux at least. Launch LC from a commandline, then from the messagebox type write "hello, world" to stdout -- Mark Wieder ahsoftware at gmail.com From sundown at pacifier.com Wed Dec 18 12:36:20 2019 From: sundown at pacifier.com (JB) Date: Wed, 18 Dec 2019 09:36:20 -0800 Subject: using stdout In-Reply-To: References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> Message-ID: <3D19CECA-B830-4944-A456-09610D422332@pacifier.com> I didn?t know you needed to launch it from the command line. Thanks, JB > On Dec 18, 2019, at 9:24 AM, Mark Wieder via use-livecode wrote: > > On 12/18/19 7:01 AM, JB via use-livecode wrote: >> This isn?t something I need but I read in a older manual >> you can write to the terminal using stdout. It said the >> terminal needs to be open and you use code like >> below to log or write to the terminal; >> put "Hello world." into tMessage >> write tMessage && the long time & return to stdout >> When I run this code nothing happens even though >> I have the terminal open. >> Does anyone know how to use stdout with the terminal >> from within a stack? > > Works here, on linux at least. > Launch LC from a commandline, then from the messagebox type > write "hello, world" to stdout > > -- > 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 sundown at pacifier.com Wed Dec 18 12:49:38 2019 From: sundown at pacifier.com (JB) Date: Wed, 18 Dec 2019 09:49:38 -0800 Subject: using stdout In-Reply-To: References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> Message-ID: <8FC05F13-2EE9-4730-94C4-1D5D7C9F2724@pacifier.com> Well I tried it on OS X 10.11 using Livecode 4.6.2 and the application launches then I create a new main stack and use the message box to enter your code and nothing happens. JB > On Dec 18, 2019, at 9:24 AM, Mark Wieder via use-livecode wrote: > > On 12/18/19 7:01 AM, JB via use-livecode wrote: >> This isn?t something I need but I read in a older manual >> you can write to the terminal using stdout. It said the >> terminal needs to be open and you use code like >> below to log or write to the terminal; >> put "Hello world." into tMessage >> write tMessage && the long time & return to stdout >> When I run this code nothing happens even though >> I have the terminal open. >> Does anyone know how to use stdout with the terminal >> from within a stack? > > Works here, on linux at least. > Launch LC from a commandline, then from the messagebox type > write "hello, world" to stdout > > -- > 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 dochawk at gmail.com Wed Dec 18 14:02:26 2019 From: dochawk at gmail.com (doc hawk) Date: Wed, 18 Dec 2019 11:02:26 -0800 Subject: using stdout In-Reply-To: <3D19CECA-B830-4944-A456-09610D422332@pacifier.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <3D19CECA-B830-4944-A456-09610D422332@pacifier.com> Message-ID: <5CF401B4-AA9C-41E4-9E0E-5425A4A38145@gmail.com> On Dec 18, 2019, at 9:36 AM, JB via use-livecode wrote: > > I didn?t know you needed to launch it from > the command line. Without that, I don?t think that livecode could be associated with any particular terminal. In fact, I suspect that OSX would block any attempt from any non-descendent application trying to write to a terminal (or at least hope so . . .) And are you you using ?open?, or actual using a direct command such as /Applications/LiveCode\ Business\ 9.5.0.app/Contents/MacOS/LiveCode-Business ? From bobsneidar at iotecdigital.com Wed Dec 18 14:06:33 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Dec 2019 19:06:33 +0000 Subject: using stdout In-Reply-To: <5CF401B4-AA9C-41E4-9E0E-5425A4A38145@gmail.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <3D19CECA-B830-4944-A456-09610D422332@pacifier.com> <5CF401B4-AA9C-41E4-9E0E-5425A4A38145@gmail.com> Message-ID: <6F768008-4D09-44FF-85E9-C5563C957AA2@iotecdigital.com> Well, sudo already offers a mechanism to prevent volatile teminal activity. Bob S > On Dec 18, 2019, at 11:02 , doc hawk via use-livecode wrote: > >> I didn?t know you needed to launch it from >> the command line. > > Without that, I don?t think that livecode could be associated with any particular terminal. > > In fact, I suspect that OSX would block any attempt from any non-descendent application trying to write to a terminal (or at least hope so . . .) From ahsoftware at sonic.net Wed Dec 18 14:25:11 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 18 Dec 2019 11:25:11 -0800 Subject: using stdout In-Reply-To: <8FC05F13-2EE9-4730-94C4-1D5D7C9F2724@pacifier.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <8FC05F13-2EE9-4730-94C4-1D5D7C9F2724@pacifier.com> Message-ID: <4c623e68-01b3-e6c4-ec93-8642689a7ce9@sonic.net> On 12/18/19 9:49 AM, JB via use-livecode wrote: > Well I tried it on OS X 10.11 using Livecode 4.6.2 > and the application launches then I create a new > main stack and use the message box to enter > your code and nothing happens. I don't have anything that old to test with, but it works with OSX 10.14 and LC 9.x. Granted, launching via commandline on OSX is a bit awkward. -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Wed Dec 18 14:28:08 2019 From: dochawk at gmail.com (doc hawk) Date: Wed, 18 Dec 2019 11:28:08 -0800 Subject: using stdout In-Reply-To: <6F768008-4D09-44FF-85E9-C5563C957AA2@iotecdigital.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <3D19CECA-B830-4944-A456-09610D422332@pacifier.com> <5CF401B4-AA9C-41E4-9E0E-5425A4A38145@gmail.com> <6F768008-4D09-44FF-85E9-C5563C957AA2@iotecdigital.com> Message-ID: On Dec 18, 2019, at 11:06 AM, Bob Sneidar via use-livecode wrote: > > Well, sudo already offers a mechanism to prevent volatile teminal activity. But that?s a privilege restriction about superuser. Generally, I would think that a process shouldn?t be able to write to a random other process, even if owned by the same user. Unix keeps the tree of which process spawns what. From sundown at pacifier.com Wed Dec 18 14:38:42 2019 From: sundown at pacifier.com (JB) Date: Wed, 18 Dec 2019 11:38:42 -0800 Subject: using stdout In-Reply-To: <4c623e68-01b3-e6c4-ec93-8642689a7ce9@sonic.net> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <8FC05F13-2EE9-4730-94C4-1D5D7C9F2724@pacifier.com> <4c623e68-01b3-e6c4-ec93-8642689a7ce9@sonic.net> Message-ID: I really don?t use the shell or terminal much. When you say it is awkward I suspect I did not do it right. All I did was open the terminal and use open with the path and it opened live code. Should I have written something else? Am I supposed to launch a process? JB > On Dec 18, 2019, at 11:25 AM, Mark Wieder via use-livecode wrote: > > On 12/18/19 9:49 AM, JB via use-livecode wrote: >> Well I tried it on OS X 10.11 using Livecode 4.6.2 >> and the application launches then I create a new >> main stack and use the message box to enter >> your code and nothing happens. > > I don't have anything that old to test with, but it works with OSX 10.14 and LC 9.x. Granted, launching via commandline on OSX is a bit awkward. > > -- > 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 sundown at pacifier.com Wed Dec 18 15:38:06 2019 From: sundown at pacifier.com (JB) Date: Wed, 18 Dec 2019 12:38:06 -0800 Subject: using stdout In-Reply-To: References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> Message-ID: <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> So I run the following code in live code after I have opened the terminal app. and from the message box I enter, open process "/Applications/Utilities/Terminal.app" for write write tMessage && the long time & return to stdout I get nothing. JB > On Dec 18, 2019, at 9:24 AM, Mark Wieder via use-livecode wrote: > > On 12/18/19 7:01 AM, JB via use-livecode wrote: >> This isn?t something I need but I read in a older manual >> you can write to the terminal using stdout. It said the >> terminal needs to be open and you use code like >> below to log or write to the terminal; >> put "Hello world." into tMessage >> write tMessage && the long time & return to stdout >> When I run this code nothing happens even though >> I have the terminal open. >> Does anyone know how to use stdout with the terminal >> from within a stack? > > Works here, on linux at least. > Launch LC from a commandline, then from the messagebox type > write "hello, world" to stdout > > -- > 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 dochawk at gmail.com Wed Dec 18 15:47:36 2019 From: dochawk at gmail.com (doc hawk) Date: Wed, 18 Dec 2019 12:47:36 -0800 Subject: using stdout In-Reply-To: <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> Message-ID: <05AE2A9A-1E31-4A40-9147-E317794FE4BE@gmail.com> On Dec 18, 2019, at 12:38 PM, JB via use-livecode wrote: > > open process "/Applications/Utilities/Terminal.app" for write > write tMessage && the long time & return to stdout *That* is the problem. If you open a terminal from within livecode, that doesn?t turn it into stdout, which already existed (even if null). In a terminal, /Applications/LiveCode\ Business\ 9.5.0.app/Contents/MacOS/LiveCode-Business (Or whatever). That terminal will be stdout for livecode, at which you can write to it. There might be a way to open a terminal from lived ode to which it could write, but it won?t become stdout. If you look through the archives (or maybe it?s on the message board due to attachments), you should be able to find my master/slave pair which open a socket to one another and can talk. It?s been a few years, though. From sundown at pacifier.com Wed Dec 18 15:51:01 2019 From: sundown at pacifier.com (JB) Date: Wed, 18 Dec 2019 12:51:01 -0800 Subject: using stdout In-Reply-To: <05AE2A9A-1E31-4A40-9147-E317794FE4BE@gmail.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> <05AE2A9A-1E31-4A40-9147-E317794FE4BE@gmail.com> Message-ID: <19B30436-6793-421E-8168-5EA6665D2F7A@pacifier.com> A year or so ago I was messing around with the terminal in c code and found some code that opens two terminals and they talk to each other. Is that something I can use to communicate with live code too? JB > On Dec 18, 2019, at 12:47 PM, doc hawk via use-livecode wrote: > > > On Dec 18, 2019, at 12:38 PM, JB via use-livecode wrote: >> >> open process "/Applications/Utilities/Terminal.app" for write >> write tMessage && the long time & return to stdout > > *That* is the problem. > > If you open a terminal from within livecode, that doesn?t turn it into stdout, which already existed (even if null). > > > In a terminal, > > /Applications/LiveCode\ Business\ 9.5.0.app/Contents/MacOS/LiveCode-Business > > (Or whatever). > > That terminal will be stdout for livecode, at which you can write to it. > > There might be a way to open a terminal from lived ode to which it could write, but it won?t become stdout. > > If you look through the archives (or maybe it?s on the message board due to attachments), you should be able to find my master/slave pair which open a socket to one another and can talk. It?s been a few years, though. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 18 15:56:17 2019 From: dochawk at gmail.com (doc hawk) Date: Wed, 18 Dec 2019 12:56:17 -0800 Subject: using stdout In-Reply-To: <19B30436-6793-421E-8168-5EA6665D2F7A@pacifier.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> <05AE2A9A-1E31-4A40-9147-E317794FE4BE@gmail.com> <19B30436-6793-421E-8168-5EA6665D2F7A@pacifier.com> Message-ID: On Dec 18, 2019, at 12:51 PM, JB via use-livecode wrote: > > A year or so ago I was messing around with the terminal in c code > and found some code that opens two terminals and they talk to > each other. > > Is that something I can use to communicate with live code too? Conceivably, but you?re going to have to know how to launch Terminal with options (and I haven?t a clue how to do that). If you can open them so that they have a known socket, livecode can deal with that. Why the interest in Terminal for this? It?s pretty straightforward to create your own standalone if all you want to do is write to a second application for output. From sundown at pacifier.com Wed Dec 18 16:03:17 2019 From: sundown at pacifier.com (JB) Date: Wed, 18 Dec 2019 13:03:17 -0800 Subject: using stdout In-Reply-To: References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> <05AE2A9A-1E31-4A40-9147-E317794FE4BE@gmail.com> <19B30436-6793-421E-8168-5EA6665D2F7A@pacifier.com> Message-ID: <2C9D7E0A-90E4-4109-BB8E-E6E6F6691D83@pacifier.com> Actually as I said in the first post I do not really need it. I was reading the manual about something else which I have already forgot and I ran across the code so I tried it. But I am interested in messing around with writing to another application if you have any examples. Also if you needed the c code let me know and I can probably dig it out for you. JB > On Dec 18, 2019, at 12:56 PM, doc hawk via use-livecode wrote: > > > On Dec 18, 2019, at 12:51 PM, JB via use-livecode wrote: >> >> A year or so ago I was messing around with the terminal in c code >> and found some code that opens two terminals and they talk to >> each other. >> >> Is that something I can use to communicate with live code too? > > Conceivably, but you?re going to have to know how to launch Terminal with options (and I haven?t a clue how to do that). > > If you can open them so that they have a known socket, livecode can deal with that. > > Why the interest in Terminal for this? It?s pretty straightforward to create your own standalone if all you want to do is write to a second application for output. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 18 16:20:38 2019 From: dochawk at gmail.com (doc hawk) Date: Wed, 18 Dec 2019 13:20:38 -0800 Subject: using stdout In-Reply-To: <2C9D7E0A-90E4-4109-BB8E-E6E6F6691D83@pacifier.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> <05AE2A9A-1E31-4A40-9147-E317794FE4BE@gmail.com> <19B30436-6793-421E-8168-5EA6665D2F7A@pacifier.com> <2C9D7E0A-90E4-4109-BB8E-E6E6F6691D83@pacifier.com> Message-ID: <423FF103-E096-4373-BCA2-445B675BB445@gmail.com> On Dec 18, 2019, at 1:03 PM, JB via use-livecode wrote: > > Actually as I said in the first post I do not really need it. I was > reading the manual about something else which I have already > forgot and I ran across the code so I tried it. Investigate ?sockets? in the dictionary. > > But I am interested in messing around with writing to another > application if you have any examples. Also if you needed > the c code let me know and I can probably dig it out for you. > I emailed you master and slave, since we can?t attach to the list. It?s by no means an example of how to do it; it?s my partway-done experiment from when I wanted a helper application to allow non-blocking database actions. Switching from mySQL to postgreSQL solved my problem far more cleanly (I don?t know if it?s still the case, but LiveCode could only send a single mySQL transaction at the time, and startup took several hundred sequential commands . . .). I may use it again someday, but not for now. Anyway, it really doesn?t do much more than take something from the input window in one application, encrypt it, and send it across a socket to the other. I *want* to say that master launches slave when it starts up, but it?s been a few years. From sundown at pacifier.com Wed Dec 18 16:24:27 2019 From: sundown at pacifier.com (JB) Date: Wed, 18 Dec 2019 13:24:27 -0800 Subject: using stdout In-Reply-To: <423FF103-E096-4373-BCA2-445B675BB445@gmail.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> <05AE2A9A-1E31-4A40-9147-E317794FE4BE@gmail.com> <19B30436-6793-421E-8168-5EA6665D2F7A@pacifier.com> <2C9D7E0A-90E4-4109-BB8E-E6E6F6691D83@pacifier.com> <423FF103-E096-4373-BCA2-445B675BB445@gmail.com> Message-ID: <407A5821-B542-4F0B-97E4-35904357002C@pacifier.com> Thank you very much! I will be playing around with these a lot. JB > On Dec 18, 2019, at 1:20 PM, doc hawk via use-livecode wrote: > > > On Dec 18, 2019, at 1:03 PM, JB via use-livecode wrote: >> >> Actually as I said in the first post I do not really need it. I was >> reading the manual about something else which I have already >> forgot and I ran across the code so I tried it. > > Investigate ?sockets? in the dictionary. > >> >> But I am interested in messing around with writing to another >> application if you have any examples. Also if you needed >> the c code let me know and I can probably dig it out for you. >> > > I emailed you master and slave, since we can?t attach to the list. > > It?s by no means an example of how to do it; it?s my partway-done experiment from when I wanted a helper application to allow non-blocking database actions. Switching from mySQL to postgreSQL solved my problem far more cleanly (I don?t know if it?s still the case, but LiveCode could only send a single mySQL transaction at the time, and startup took several hundred sequential commands . . .). I may use it again someday, but not for now. > > Anyway, it really doesn?t do much more than take something from the input window in one application, encrypt it, and send it across a socket to the other. > > I *want* to say that master launches slave when it starts up, but it?s been a few years. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 18 16:29:45 2019 From: dochawk at gmail.com (doc hawk) Date: Wed, 18 Dec 2019 13:29:45 -0800 Subject: using stdout In-Reply-To: <407A5821-B542-4F0B-97E4-35904357002C@pacifier.com> References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> <05AE2A9A-1E31-4A40-9147-E317794FE4BE@gmail.com> <19B30436-6793-421E-8168-5EA6665D2F7A@pacifier.com> <2C9D7E0A-90E4-4109-BB8E-E6E6F6691D83@pacifier.com> <423FF103-E096-4373-BCA2-445B675BB445@gmail.com> <407A5821-B542-4F0B-97E4-35904357002C@pacifier.com> Message-ID: On Dec 18, 2019, at 1:24 PM, JB via use-livecode wrote: > > Thank you very much! > You?re quite welcome. > I will be playing around with these a lot. > I?m interested to see what you do with it. Also, at the conference this year, I asked panagiotis, who bounced me to Mark on the question (?if *anyone* knows, it would be mark?), who immediately gave the answer. I was interested in the slave not showing up in the dock. Mark replied that there is a simple visibility option in the, o heck, I forget the name, but the ?dossier? of options/declarations that happens in the build. So it?s a one line edit. From sundown at pacifier.com Wed Dec 18 17:11:20 2019 From: sundown at pacifier.com (JB) Date: Wed, 18 Dec 2019 14:11:20 -0800 Subject: using stdout In-Reply-To: References: <54BD9B51-EAD1-4267-BE31-1F2885A8B5B7@pacifier.com> <697DE560-0A09-4C9A-91A9-C5E75DD2D975@pacifier.com> <05AE2A9A-1E31-4A40-9147-E317794FE4BE@gmail.com> <19B30436-6793-421E-8168-5EA6665D2F7A@pacifier.com> Message-ID: <9610C346-3408-4215-9446-543C5CB95EBE@pacifier.com> I found that c code. It is for a server-socket and client-socket. Two separate programs which we could call from live code with a shell command and give arguments if needed. JB > On Dec 18, 2019, at 12:56 PM, doc hawk via use-livecode wrote: > > > On Dec 18, 2019, at 12:51 PM, JB via use-livecode wrote: >> >> A year or so ago I was messing around with the terminal in c code >> and found some code that opens two terminals and they talk to >> each other. >> >> Is that something I can use to communicate with live code too? > > Conceivably, but you?re going to have to know how to launch Terminal with options (and I haven?t a clue how to do that). > > If you can open them so that they have a known socket, livecode can deal with that. > > Why the interest in Terminal for this? It?s pretty straightforward to create your own standalone if all you want to do is write to a second application for output. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Dec 18 19:30:33 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 19 Dec 2019 00:30:33 +0000 Subject: DataGrid Crash to Desktop Revisited Message-ID: Hi all. I have isolated the issue I presented some time ago, where selecting a record in a datagrid crashed Livecode to desktop. It can be reproduced easily enough. Create a stack with a single datagrid, add 2 records. In the script of the datagrid have a selectionChanged handler like so: on selectionChanged put the dgHilitedIndex of me into tHilitedIndex put the dgDataOfIndex [tHilitedIndex] of me into aDGData [1] set the dgData of me to aDGData end selectionChanged This demonstrates that a datagrid's selectionChanged handler cannot set it's own dgData! Neither can any other handler in the executionContexts that selectionChanged calls, while that selectionChanged is still in the executionContexts. (That's too confusing.) In other words, while a datagrid's selectionChanged handler is "running" nothing can change the contents of the datagrid. I'm not sure why this is, but I think it's because the datagrid library does something internernally that triggers another selectionChanged, causing an infiinite loop, forcing the engine to bail out. Any ideas? Bob S From bobsneidar at iotecdigital.com Wed Dec 18 19:45:51 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 19 Dec 2019 00:45:51 +0000 Subject: DataGrid Crash to Desktop Revisited In-Reply-To: References: Message-ID: This is likely the culprit in the datagrid library. There are a number of places where it is called: private command _SelectionChanged pPreviouslyHilitedIndexes dispatch "selectionChanged" with sHilitedIndexes, pPreviouslyHilitedIndexes end _SelectionChanged I think what is needed is a way to discern that a selectionChanged handler is already in progress when setting the dgData. I could trace all the way through the datagrid library, but it's late, and I was hoping someone could quick fix this for me. I do this a LOT, strange as it seems. Bob S > On Dec 18, 2019, at 16:30 , Bob Sneidar via use-livecode wrote: > > Hi all. > > I have isolated the issue I presented some time ago, where selecting a record in a datagrid crashed Livecode to desktop. It can be reproduced easily enough. > > Create a stack with a single datagrid, add 2 records. In the script of the datagrid have a selectionChanged handler like so: > > on selectionChanged > put the dgHilitedIndex of me into tHilitedIndex > put the dgDataOfIndex [tHilitedIndex] of me into aDGData [1] > set the dgData of me to aDGData > end selectionChanged > > This demonstrates that a datagrid's selectionChanged handler cannot set it's own dgData! Neither can any other handler in the executionContexts that selectionChanged calls, while that selectionChanged is still in the executionContexts. (That's too confusing.) > > In other words, while a datagrid's selectionChanged handler is "running" nothing can change the contents of the datagrid. > > I'm not sure why this is, but I think it's because the datagrid library does something internernally that triggers another selectionChanged, causing an infiinite loop, forcing the engine to bail out. > > Any ideas? > > Bob S From ahsoftware at sonic.net Wed Dec 18 20:28:14 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 18 Dec 2019 17:28:14 -0800 Subject: DataGrid Crash to Desktop Revisited In-Reply-To: References: Message-ID: On 12/18/19 4:30 PM, Bob Sneidar via use-livecode wrote: > I'm not sure why this is, but I think it's because the datagrid library does something internernally that triggers another selectionChanged, causing an infiinite loop, forcing the engine to bail out. Yes, that's what I would expect. Selecting different data *should* cause another selectionChanged event. > Any ideas? on selectionChanged put the dgHilitedIndex of me into tHilitedIndex put the dgDataOfIndex [tHilitedIndex] of me into aDGData [1] lock messages set the dgData of me to aDGData unlock messages end selectionChanged -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Wed Dec 18 21:22:30 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 18 Dec 2019 18:22:30 -0800 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <1efcf811-c36d-416d-a0d4-c97c9f5d41dc@Spark> References: <9B6FB36A-B8FB-47DF-B35D-7E5ED0D0F25F@hyperhh.de> <1efcf811-c36d-416d-a0d4-c97c9f5d41dc@Spark> Message-ID: <466f8c90-f675-cc56-541c-af1849d090fb@sonic.net> On 11/26/19 3:26 PM, Brian Milby via use-livecode wrote: > I have a couple and at least one is directly targeted at mobile (7154). ?6404 is Vulcan reviewed but not yet merged (and is the oldest one I have outstanding). ?Both are widget updates. > > For the IDE I only have 1987 which had a conflict that I just resolved (allow nesting of DG behaviors). Since the beginning of July 2019 I have: 15 sitting in the IDE queue waiting for review. And 5 in the engine queue, 4 waiting for review, 1 that for some reason failed the Travis check for not having environment variables set (#7157). Not sure how to force a rebuild on Travis without a bogus commit. One of my engine pull requests, though, (#7127) is waiting on the team's use of a modern linux version, and that apparently is waiting on CEF support. -- Mark Wieder ahsoftware at gmail.com From theaford at btinternet.com Thu Dec 19 03:24:28 2019 From: theaford at btinternet.com (Terence Heaford) Date: Thu, 19 Dec 2019 08:24:28 +0000 Subject: Object Fonts Message-ID: <17EB105B-5F50-4751-9048-00D2236BC9DB@btinternet.com> Why can?t I choose Helvetica Neue as an object font? Whenever I do it turns out italic. Can someone point me in the right direction please. MacOS Catalina , LC 9.5.1, Community. Thanks Terry From theaford at btinternet.com Thu Dec 19 03:41:51 2019 From: theaford at btinternet.com (Terence Heaford) Date: Thu, 19 Dec 2019 08:41:51 +0000 Subject: Object Fonts In-Reply-To: <17EB105B-5F50-4751-9048-00D2236BC9DB@btinternet.com> References: <17EB105B-5F50-4751-9048-00D2236BC9DB@btinternet.com> Message-ID: I may have found the problem. Datagrid helper. When I used that it changed to my selection. Does this mean Datagrid Helper changes the font in a different place than LC IDE? Thanks Terry > On 19 Dec 2019, at 08:24, Terence Heaford via use-livecode wrote: > > Why can?t I choose Helvetica Neue as an object font? > > Whenever I do it turns out italic. > > Can someone point me in the right direction please. > > MacOS Catalina , LC 9.5.1, Community. > > > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 19 10:47:01 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 19 Dec 2019 15:47:01 +0000 Subject: DataGrid Crash to Desktop Revisited In-Reply-To: References: Message-ID: Yeah tried that. Data doesn't get set. My problem is that I have been using SelectionChanged to do a lot of things, like populate the card objects (I call it a form). I was thinking that there might be some way to discern that an existing SelectionChaged handler was in effect in the datagrid library, but then what? If I could pull that off, it would have to be in the dgdata custom property before it calls anything that might call selectionChanged. I suspect it would unravel something else though. What I will do instead is put all the code I need in another handler, and then call that handler in time. That is what I have done with all my other forms, but I thought I would revisit this in the hopes of a more comprehensive solution. Bob S > On Dec 18, 2019, at 17:28 , Mark Wieder via use-livecode wrote: > >> I'm not sure why this is, but I think it's because the datagrid library does something internernally that triggers another selectionChanged, causing an infiinite loop, forcing the engine to bail out. > > Yes, that's what I would expect. Selecting different data *should* cause another selectionChanged event. > >> Any ideas? > > on selectionChanged > put the dgHilitedIndex of me into tHilitedIndex > put the dgDataOfIndex [tHilitedIndex] of me into aDGData [1] > lock messages > set the dgData of me to aDGData > unlock messages > end selectionChanged > > -- > Mark Wieder > ahsoftware at gmail.com From tom at makeshyft.com Thu Dec 19 15:17:05 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 19 Dec 2019 15:17:05 -0500 Subject: DataGrid Crash to Desktop Revisited In-Reply-To: References: Message-ID: Hey Bob.... When you set the data of a grid, the selection IS changed to empty. thats all you need to know..... triggering another handler in this is the correct way to do it. On Thu, Dec 19, 2019 at 10:48 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Yeah tried that. Data doesn't get set. > > My problem is that I have been using SelectionChanged to do a lot of > things, like populate the card objects (I call it a form). I was thinking > that there might be some way to discern that an existing SelectionChaged > handler was in effect in the datagrid library, but then what? If I could > pull that off, it would have to be in the dgdata custom property before it > calls anything that might call selectionChanged. I suspect it would unravel > something else though. > > What I will do instead is put all the code I need in another handler, and > then call that handler in time. That is what I have done with all my other > forms, but I thought I would revisit this in the hopes of a more > comprehensive solution. > > Bob S > > > > On Dec 18, 2019, at 17:28 , Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> I'm not sure why this is, but I think it's because the datagrid library > does something internernally that triggers another selectionChanged, > causing an infiinite loop, forcing the engine to bail out. > > > > Yes, that's what I would expect. Selecting different data *should* cause > another selectionChanged event. > > > >> Any ideas? > > > > on selectionChanged > > put the dgHilitedIndex of me into tHilitedIndex > > put the dgDataOfIndex [tHilitedIndex] of me into aDGData [1] > > lock messages > > set the dgData of me to aDGData > > unlock messages > > end selectionChanged > > > > -- > > Mark Wieder > > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From bobsneidar at iotecdigital.com Thu Dec 19 16:56:06 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 19 Dec 2019 21:56:06 +0000 Subject: DataGrid Crash to Desktop Revisited In-Reply-To: References: Message-ID: <1EA64DE1-B120-4D55-8701-DDB420A6DB8D@iotecdigital.com> Thanks for the confirmation Tom. Bob S > On Dec 19, 2019, at 12:17 , Tom Glod via use-livecode wrote: > > Hey Bob.... > > When you set the data of a grid, the selection IS changed to empty. thats > all you need to know..... triggering another handler in this is the correct > way to do it. From tom at makeshyft.com Thu Dec 19 17:05:16 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 19 Dec 2019 17:05:16 -0500 Subject: DataGrid Crash to Desktop Revisited In-Reply-To: <1EA64DE1-B120-4D55-8701-DDB420A6DB8D@iotecdigital.com> References: <1EA64DE1-B120-4D55-8701-DDB420A6DB8D@iotecdigital.com> Message-ID: Np, if you've tried my toolbox, I've been to hell and back with the datagrid, and made every error imaginable...including this one. There is still one that I need to try to replicate ...because the result was bonkers. On Thu, Dec 19, 2019 at 4:57 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for the confirmation Tom. > > Bob S > > > > On Dec 19, 2019, at 12:17 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hey Bob.... > > > > When you set the data of a grid, the selection IS changed to empty. thats > > all you need to know..... triggering another handler in this is the > correct > > way to do it. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From martyknappster at gmail.com Fri Dec 20 14:45:25 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 20 Dec 2019 11:45:25 -0800 Subject: Something wrong with LiveCode 9.5.1 In-Reply-To: <60dd5902-aa2d-f995-7177-944234ecad0a@researchware.com> References: <33f9fb8f-b2d9-a5cc-70a9-b6cc33cbfaff@gmail.com> <4560C576-F190-4A15-8755-E3B7ED0CEFD5@me.com> <2be31eae-a6b3-e1ad-5a48-c100939f94b2@researchware.com> <60dd5902-aa2d-f995-7177-944234ecad0a@researchware.com> Message-ID: <7450F502-D10C-40D8-8237-7694D17DA8D8@gmail.com> I just created a virtual machine and installed Yosemite (10.10) and successfully opened a signed, notarized and staple DMG/app. No hint of a problem. I?ve been advertising my app as compatible with Mac 10.9 or newer. After reading Paul?s test I was worried about this, though have not had any complaints at all. Anybody else tested notarized apps on older Mac OSes? I used AppWrapper 3 to do my signing and notarizing. Marty > On Dec 17, 2019, at 8:05 AM, Paul Dupuis via use-livecode wrote: > > I believe at the time we tested the un-notarized DMG on 10.14.3 of Mojave. Although I just tested an un-notarized and notarized and stapled DMG under 10.14.6 and both opened. > > > On 12/17/2019 9:41 AM, Eller, Roger via use-livecode wrote: >> [10.14.5] Mojave >> >> LiveCodeIndy-9_5_1_Mac >> >> The following disk images couldn't be opened. Reason: image not recognized. >> >> >> >> ________________________________ >> From: use-livecode on behalf of Paul Dupuis via use-livecode >> Sent: Monday, December 16, 2019 6:06 PM >> To: use-livecode at lists.runrev.com >> Cc: Paul Dupuis >> Subject: Re: Something wrong with LiveCode 9.5.1 >> >> >> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. >> >> >> Okay, I blame a LONG day and bad memory. >> >> I went and found our testing notes: >> >> macOS name signed notarized stapled >> 10.9 Mavricks OK FAIL FAIL >> 10.10 Yosemite OK FAIL FAIL >> 10.11 El Capitan OK FAIL FAIL >> 10.12 Sierra OK OK OK >> 10.13 High Sierra OK OK OK >> 10.14 Mojave OK OK OK >> 10.15 Catalina * OK OK >> >> >> The divider is Sierra and above: Notarized DMGs are good. El Capatan and >> below, Notarized DMGs are bad. >> >> My bad memory. Sorry to cause unnecessary concern. From tom at makeshyft.com Mon Dec 23 10:42:31 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 23 Dec 2019 10:42:31 -0500 Subject: a windows 10 wtf Message-ID: Hi Peeeps, So I have a standalone running 24/7 that was built with LiveCode. When I use Livecode the IDE to work on the application (that I am also running as a standalone), and the IDE locks up for whatever reason...being busy or whatever..... my standalone application also locks up (window become unresponsive). As soon as the IDE is responsive again, so is my standalone window. I have a 4 core machine...and nothing else seems to be locking up.... just the IDE and the standalone. Why is the OS insisting on the 2 processes sharing a core? Has anyone come across this before? Happy Holidays and Merry Christmas to all those who celebrate it. -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From jacque at hyperactivesw.com Mon Dec 23 11:46:09 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Dec 2019 10:46:09 -0600 Subject: a windows 10 wtf In-Reply-To: References: Message-ID: <16f33a6d468.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Just a wild guess, did you include the remote debugger in the standalone? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 23, 2019 9:44:49 AM Tom Glod via use-livecode wrote: > Hi Peeeps, > > So I have a standalone running 24/7 that was built with LiveCode. > > When I use Livecode the IDE to work on the application (that I am also > running as a standalone), and the IDE locks up for whatever reason...being > busy or whatever..... my standalone application also locks up (window > become unresponsive). As soon as the IDE is responsive again, so is my > standalone window. > > I have a 4 core machine...and nothing else seems to be locking up.... just > the IDE and the standalone. > > Why is the OS insisting on the 2 processes sharing a core? > > Has anyone come across this before? > > Happy Holidays and Merry Christmas to all those who celebrate it. > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 23 14:45:14 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 23 Dec 2019 14:45:14 -0500 Subject: a windows 10 wtf In-Reply-To: <16f33a6d468.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16f33a6d468.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacqueline...nope...I don't even see that on the list of inclusions. *scratch head* On Mon, Dec 23, 2019 at 11:47 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Just a wild guess, did you include the remote debugger in the standalone? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 23, 2019 9:44:49 AM Tom Glod via use-livecode > wrote: > > > Hi Peeeps, > > > > So I have a standalone running 24/7 that was built with LiveCode. > > > > When I use Livecode the IDE to work on the application (that I am also > > running as a standalone), and the IDE locks up for whatever > reason...being > > busy or whatever..... my standalone application also locks up (window > > become unresponsive). As soon as the IDE is responsive again, so is my > > standalone window. > > > > I have a 4 core machine...and nothing else seems to be locking up.... > just > > the IDE and the standalone. > > > > Why is the OS insisting on the 2 processes sharing a core? > > > > Has anyone come across this before? > > > > Happy Holidays and Merry Christmas to all those who celebrate it. > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Office:226-706-9339 > > Mobile:226-706-9793 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From bobsneidar at iotecdigital.com Mon Dec 23 18:42:39 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 23 Dec 2019 23:42:39 +0000 Subject: Adobe Eschews Applescript Message-ID: <4FBD2A47-74D0-4EA9-AD75-76FFDF5E7162@iotecdigital.com> Hi all. Just a heads up. If you have a Mac and use Adobe Reader, and you use Applescript to send events to it, Acrobat Reader DC no longer supports Applescript. You cannot even send activate (launch and/or bring to front). Bob S From tom at makeshyft.com Mon Dec 23 19:51:54 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 23 Dec 2019 19:51:54 -0500 Subject: Adobe Eschews Applescript In-Reply-To: <4FBD2A47-74D0-4EA9-AD75-76FFDF5E7162@iotecdigital.com> References: <4FBD2A47-74D0-4EA9-AD75-76FFDF5E7162@iotecdigital.com> Message-ID: good to know. thanks bob On Mon, Dec 23, 2019 at 6:43 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all. > > Just a heads up. If you have a Mac and use Adobe Reader, and you use > Applescript to send events to it, Acrobat Reader DC no longer supports > Applescript. You cannot even send activate (launch and/or bring to front). > > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From preid at reidit.co.uk Tue Dec 24 05:50:32 2019 From: preid at reidit.co.uk (Peter Reid) Date: Tue, 24 Dec 2019 10:50:32 +0000 Subject: A Windows 10 WTF In-Reply-To: References: Message-ID: Hi Tom I'm not sure about Windows 10 behaviour but I had a similar problem with Windows 7. It seemed that my LC app was not releasing the processor long enough to handle basic user I/O. The solution was to add the following to all my tight loops: wait 0 milliseconds with messages The 'with messages' is the key element, this made the LC app hand back control to Windows to handle other system activities. I add this line to all my loops when running under Windows. Give this a try and let me know whether this helps. Peter -- Peter Reid Loughborough, UK > On 23 Dec 2019, at 5:00pm, use-livecode-request at lists.runrev.com wrote: > > Date: Mon, 23 Dec 2019 10:42:31 -0500 > From: Tom Glod > > To: How to use LiveCode > > Subject: a windows 10 wtf > Message-ID: > > > Content-Type: text/plain; charset="UTF-8" > > Hi Peeeps, > > So I have a standalone running 24/7 that was built with LiveCode. > > When I use Livecode the IDE to work on the application (that I am also > running as a standalone), and the IDE locks up for whatever reason...being > busy or whatever..... my standalone application also locks up (window > become unresponsive). As soon as the IDE is responsive again, so is my > standalone window. > > I have a 4 core machine...and nothing else seems to be locking up.... just > the IDE and the standalone. > > Why is the OS insisting on the 2 processes sharing a core? > > Has anyone come across this before? > > Happy Holidays and Merry Christmas to all those who celebrate it. > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com ) > Office:226-706-9339 > Mobile:226-706-9793 From ambassador at fourthworld.com Tue Dec 24 11:18:20 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Dec 2019 08:18:20 -0800 Subject: Adobe Eschews Applescript In-Reply-To: <4FBD2A47-74D0-4EA9-AD75-76FFDF5E7162@iotecdigital.com> References: <4FBD2A47-74D0-4EA9-AD75-76FFDF5E7162@iotecdigital.com> Message-ID: <039f4e4b-2a0f-76dd-60f2-c4d09688fa27@fourthworld.com> Bob Sneidar wrote: > Just a heads up. If you have a Mac and use Adobe Reader, and you use > Applescript to send events to it, Acrobat Reader DC no longer supports > Applescript. You cannot even send activate (launch and/or bring to > front). I had thought 'oapp' and 'odoc' were required events. Has Adobe killed all AE support for the app, or just the AppleScript interface to AE? -- 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 bobsneidar at iotecdigital.com Tue Dec 24 12:05:01 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 24 Dec 2019 17:05:01 +0000 Subject: Adobe Eschews Applescript In-Reply-To: <039f4e4b-2a0f-76dd-60f2-c4d09688fa27@fourthworld.com> References: <4FBD2A47-74D0-4EA9-AD75-76FFDF5E7162@iotecdigital.com> <039f4e4b-2a0f-76dd-60f2-c4d09688fa27@fourthworld.com> Message-ID: <531EDCA6-4EF4-4143-8EEB-4D2C2445117E@iotecdigital.com> Updating Reader to the most recent version killed my ability to open and fill forms. Upon further inspection it may be that Reader NEVER supported Apple Events, but it DID support data import via javascript actions. This is what I do for Windows, as of course Microsoft does not have Apple Events. The way to tell if a Mac app supports apple events is to open Script Editor, then select Open Dictionary from the File menu. Apps that are greyed out do not publish a dictionary, which doesn't necessarily absolutely PROVE they won't respond to Apple Events, but I've never seen an app without a dictionary that did. I managed to get my hands on Adobe Reader XI for Mac and now it works again. Adobe ONLY provides Reader DC now. I have never understood what would possess a software developer to REMOVE functionality from a product in the guise of an inline upgrade. Bob S > On Dec 24, 2019, at 08:18 , Richard Gaskin via use-livecode wrote: > > Bob Sneidar wrote: > > > Just a heads up. If you have a Mac and use Adobe Reader, and you use > > Applescript to send events to it, Acrobat Reader DC no longer supports > > Applescript. You cannot even send activate (launch and/or bring to > > front). > > I had thought 'oapp' and 'odoc' were required events. > > Has Adobe killed all AE support for the app, or just the AppleScript interface to AE? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From tom at makeshyft.com Tue Dec 24 14:04:26 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 24 Dec 2019 14:04:26 -0500 Subject: A Windows 10 WTF In-Reply-To: References: Message-ID: Hi Peter, thanks, you are right the wait command does eliminate the window lock up.... but my question was more so about why the Livecode IDE (with open file A)...seems forced to share the same cpu core with Standalone of file A.... and if anyone else has come across that before....they lock up in tandem...when the OS should be designating cores more intelligently than that. *shrug* On Tue, Dec 24, 2019 at 5:51 AM Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom > > I'm not sure about Windows 10 behaviour but I had a similar problem with > Windows 7. It seemed that my LC app was not releasing the processor long > enough to handle basic user I/O. The solution was to add the following to > all my tight loops: > > wait 0 milliseconds with messages > > The 'with messages' is the key element, this made the LC app hand back > control to Windows to handle other system activities. I add this line to > all my loops when running under Windows. Give this a try and let me know > whether this helps. > > Peter > -- > Peter Reid > Loughborough, UK > > > On 23 Dec 2019, at 5:00pm, use-livecode-request at lists.runrev.com wrote: > > > > Date: Mon, 23 Dec 2019 10:42:31 -0500 > > From: Tom Glod > > > To: How to use LiveCode use-livecode at lists.runrev.com>> > > Subject: a windows 10 wtf > > Message-ID: > > < > CAPzQJL+5Oej4SteQR702aW2LYx-qtH25oc8phkn_sMm94jf3hA at mail.gmail.com > >> > > Content-Type: text/plain; charset="UTF-8" > > > > Hi Peeeps, > > > > So I have a standalone running 24/7 that was built with LiveCode. > > > > When I use Livecode the IDE to work on the application (that I am also > > running as a standalone), and the IDE locks up for whatever > reason...being > > busy or whatever..... my standalone application also locks up (window > > become unresponsive). As soon as the IDE is responsive again, so is my > > standalone window. > > > > I have a 4 core machine...and nothing else seems to be locking up.... > just > > the IDE and the standalone. > > > > Why is the OS insisting on the 2 processes sharing a core? > > > > Has anyone come across this before? > > > > Happy Holidays and Merry Christmas to all those who celebrate it. > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com ) > > Office:226-706-9339 > > Mobile:226-706-9793 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From curry at pair.com Wed Dec 25 16:41:39 2019 From: curry at pair.com (Curry Kenworthy) Date: Wed, 25 Dec 2019 16:41:39 -0500 Subject: Happy Birthday Message-ID: <28b6dc87-8400-0612-d55a-103e15831817@pair.com> ... and many returns. Best wishes, Curry K. From jacque at hyperactivesw.com Thu Dec 26 14:16:13 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Dec 2019 13:16:13 -0600 Subject: A Windows 10 WTF In-Reply-To: References: Message-ID: <03dcc77c-9642-b8d5-a5dd-c0968c77969e@hyperactivesw.com> It may be the issue with repeat loops that do not yield to the engine periodically. This was an issue all the way back to MetaCard and I am not sure if it has been changed since then. Basicaly, running a lengthy repeat loop locks up the entire CPU until the loop exits. If this is the problem then it isn't just your standalone that comes to a halt, it's everything currently running on the machine. The first couple of paragraphs here describe the problem: On 12/24/19 1:04 PM, Tom Glod via use-livecode wrote: > Hi Peter, thanks, you are right the wait command does eliminate the window > lock up.... but my question was more so about why the Livecode IDE (with > open file A)...seems forced to share the same cpu core with Standalone of > file A.... and if anyone else has come across that before....they lock up > in tandem...when the OS should be designating cores more intelligently than > that. *shrug* > > > On Tue, Dec 24, 2019 at 5:51 AM Peter Reid via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Tom >> >> I'm not sure about Windows 10 behaviour but I had a similar problem with >> Windows 7. It seemed that my LC app was not releasing the processor long >> enough to handle basic user I/O. The solution was to add the following to >> all my tight loops: >> >> wait 0 milliseconds with messages >> >> The 'with messages' is the key element, this made the LC app hand back >> control to Windows to handle other system activities. I add this line to >> all my loops when running under Windows. Give this a try and let me know >> whether this helps. >> >> Peter >> -- >> Peter Reid >> Loughborough, UK >> >>> On 23 Dec 2019, at 5:00pm, use-livecode-request at lists.runrev.com wrote: >>> >>> Date: Mon, 23 Dec 2019 10:42:31 -0500 >>> From: Tom Glod > >>> To: How to use LiveCode > use-livecode at lists.runrev.com>> >>> Subject: a windows 10 wtf >>> Message-ID: >>> < >> CAPzQJL+5Oej4SteQR702aW2LYx-qtH25oc8phkn_sMm94jf3hA at mail.gmail.com >> >>> >>> Content-Type: text/plain; charset="UTF-8" >>> >>> Hi Peeeps, >>> >>> So I have a standalone running 24/7 that was built with LiveCode. >>> >>> When I use Livecode the IDE to work on the application (that I am also >>> running as a standalone), and the IDE locks up for whatever >> reason...being >>> busy or whatever..... my standalone application also locks up (window >>> become unresponsive). As soon as the IDE is responsive again, so is my >>> standalone window. >>> >>> I have a 4 core machine...and nothing else seems to be locking up.... >> just >>> the IDE and the standalone. >>> >>> Why is the OS insisting on the 2 processes sharing a core? >>> >>> Has anyone come across this before? >>> >>> Happy Holidays and Merry Christmas to all those who celebrate it. >>> >>> -- >>> Tom Glod >>> Founder & Developer >>> MakeShyft R.D.A (www.makeshyft.com ) >>> Office:226-706-9339 >>> Mobile:226-706-9793 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bobsneidar at iotecdigital.com Thu Dec 26 17:14:51 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 26 Dec 2019 22:14:51 +0000 Subject: A Windows 10 WTF In-Reply-To: <03dcc77c-9642-b8d5-a5dd-c0968c77969e@hyperactivesw.com> References: <03dcc77c-9642-b8d5-a5dd-c0968c77969e@hyperactivesw.com> Message-ID: <9C19BE4F-9B38-4A30-9431-D2E084DA328A@iotecdigital.com> On the machine, or on the core? LC should only be using a single core on Multi-core systems. Any other process using that core may be affected, but not necessarily processes using the other core. It may be academic though, as most apps today are probably using both cores simultaneously. Bob S > On Dec 26, 2019, at 11:16 , J. Landman Gay via use-livecode wrote: > > It may be the issue with repeat loops that do not yield to the engine periodically. This was an issue all the way back to MetaCard and I am not sure if it has been changed since then. > > Basicaly, running a lengthy repeat loop locks up the entire CPU until the loop exits. If this is the problem then it isn't just your standalone that comes to a halt, it's everything currently running on the machine. From bobsneidar at iotecdigital.com Thu Dec 26 18:31:19 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 26 Dec 2019 23:31:19 +0000 Subject: A Windows 10 WTF In-Reply-To: <9C19BE4F-9B38-4A30-9431-D2E084DA328A@iotecdigital.com> References: <03dcc77c-9642-b8d5-a5dd-c0968c77969e@hyperactivesw.com> <9C19BE4F-9B38-4A30-9431-D2E084DA328A@iotecdigital.com> Message-ID: I ahould have saif multiple cores not both. > On Dec 26, 2019, at 14:14 , Bob Sneidar via use-livecode wrote: > > On the machine, or on the core? LC should only be using a single core on Multi-core systems. Any other process using that core may be affected, but not necessarily processes using the other core. It may be academic though, as most apps today are probably using both cores simultaneously. > > Bob S > > >> On Dec 26, 2019, at 11:16 , J. Landman Gay via use-livecode wrote: >> >> It may be the issue with repeat loops that do not yield to the engine periodically. This was an issue all the way back to MetaCard and I am not sure if it has been changed since then. >> >> Basicaly, running a lengthy repeat loop locks up the entire CPU until the loop exits. If this is the problem then it isn't just your standalone that comes to a halt, it's everything currently running on the machine. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Thu Dec 26 19:15:53 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 26 Dec 2019 16:15:53 -0800 Subject: A Windows 10 WTF In-Reply-To: References: <03dcc77c-9642-b8d5-a5dd-c0968c77969e@hyperactivesw.com> <9C19BE4F-9B38-4A30-9431-D2E084DA328A@iotecdigital.com> Message-ID: <5395FD44-2C7E-4D66-8817-5B34A8193396@me.com> I?m on a quad-core Intel Xeon E5 (Mac Pro) and LC 8 could definitely lock up the machine. Only with difficulty could I eventually force LC to quit. Peter Bogdanoff > On Dec 26, 2019, at 3:31 PM, Bob Sneidar via use-livecode wrote: > > I ahould have saif multiple cores not both. > >> On Dec 26, 2019, at 14:14 , Bob Sneidar via use-livecode wrote: >> >> On the machine, or on the core? LC should only be using a single core on Multi-core systems. Any other process using that core may be affected, but not necessarily processes using the other core. It may be academic though, as most apps today are probably using both cores simultaneously. >> >> Bob S >> >> >>> On Dec 26, 2019, at 11:16 , J. Landman Gay via use-livecode wrote: >>> >>> It may be the issue with repeat loops that do not yield to the engine periodically. This was an issue all the way back to MetaCard and I am not sure if it has been changed since then. >>> >>> Basicaly, running a lengthy repeat loop locks up the entire CPU until the loop exits. If this is the problem then it isn't just your standalone that comes to a halt, it's everything currently running on the machine. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Dec 26 20:40:35 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 26 Dec 2019 20:40:35 -0500 Subject: A Windows 10 WTF In-Reply-To: <5395FD44-2C7E-4D66-8817-5B34A8193396@me.com> References: <03dcc77c-9642-b8d5-a5dd-c0968c77969e@hyperactivesw.com> <9C19BE4F-9B38-4A30-9431-D2E084DA328A@iotecdigital.com> <5395FD44-2C7E-4D66-8817-5B34A8193396@me.com> Message-ID: I've tested this by locking up a core using the IDE by putting it in a loop. But no other process gets locked up, because my OS correctly does not assign the busy core to any other process. So all other applications and windows are still responsive. EXCEPT in a situation when the Livecode IDE is running a particular stack AND there is a Standalone version of that stack running at the same time. (these 2 are seperate processes BUT......) In that case .... the system is assigning both the standalone and the IDE (and its running stack) to the same core.....and both of them become unresponsive. My question is why there is a correlation between the two, and why the standalone isn't being assigned one of the other 3 available cores....but always the same core as the IDE. If its a different stack open in the IDE....... the standalone is correctly assigned to another core. I don't know how else to explain the problem. Forgive me if I am not clearly explaining it. On Thu, Dec 26, 2019 at 7:15 PM Peter Bogdanoff via use-livecode < use-livecode at lists.runrev.com> wrote: > I?m on a quad-core Intel Xeon E5 (Mac Pro) and LC 8 could definitely lock > up the machine. Only with difficulty could I eventually force LC to quit. > > Peter Bogdanoff > > > > On Dec 26, 2019, at 3:31 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I ahould have saif multiple cores not both. > > > >> On Dec 26, 2019, at 14:14 , Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> On the machine, or on the core? LC should only be using a single core > on Multi-core systems. Any other process using that core may be affected, > but not necessarily processes using the other core. It may be academic > though, as most apps today are probably using both cores simultaneously. > >> > >> Bob S > >> > >> > >>> On Dec 26, 2019, at 11:16 , J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> It may be the issue with repeat loops that do not yield to the engine > periodically. This was an issue all the way back to MetaCard and I am not > sure if it has been changed since then. > >>> > >>> Basicaly, running a lengthy repeat loop locks up the entire CPU until > the loop exits. If this is the problem then it isn't just your standalone > that comes to a halt, it's everything currently running on the machine. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From rdimola at evergreeninfo.net Fri Dec 27 08:35:54 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 27 Dec 2019 08:35:54 -0500 Subject: A Windows 10 WTF In-Reply-To: References: <03dcc77c-9642-b8d5-a5dd-c0968c77969e@hyperactivesw.com> <9C19BE4F-9B38-4A30-9431-D2E084DA328A@iotecdigital.com> <5395FD44-2C7E-4D66-8817-5B34A8193396@me.com> Message-ID: <000a01d5bcba$92f5aa10$b8e0fe30$@net> Is there a common resource that both processes are using? Maybe there on 2 different cores but a file locking, database or some similar issue is causing the standalone to lock up. 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 Tom Glod via use-livecode Sent: Thursday, December 26, 2019 8:41 PM To: How to use LiveCode Cc: Tom Glod Subject: Re: A Windows 10 WTF I've tested this by locking up a core using the IDE by putting it in a loop. But no other process gets locked up, because my OS correctly does not assign the busy core to any other process. So all other applications and windows are still responsive. EXCEPT in a situation when the Livecode IDE is running a particular stack AND there is a Standalone version of that stack running at the same time. (these 2 are seperate processes BUT......) In that case .... the system is assigning both the standalone and the IDE (and its running stack) to the same core.....and both of them become unresponsive. My question is why there is a correlation between the two, and why the standalone isn't being assigned one of the other 3 available cores....but always the same core as the IDE. If its a different stack open in the IDE....... the standalone is correctly assigned to another core. I don't know how else to explain the problem. Forgive me if I am not clearly explaining it. On Thu, Dec 26, 2019 at 7:15 PM Peter Bogdanoff via use-livecode < use-livecode at lists.runrev.com> wrote: > I?m on a quad-core Intel Xeon E5 (Mac Pro) and LC 8 could definitely > lock up the machine. Only with difficulty could I eventually force LC to quit. > > Peter Bogdanoff > > > > On Dec 26, 2019, at 3:31 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I ahould have saif multiple cores not both. > > > >> On Dec 26, 2019, at 14:14 , Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> On the machine, or on the core? LC should only be using a single > >> core > on Multi-core systems. Any other process using that core may be > affected, but not necessarily processes using the other core. It may > be academic though, as most apps today are probably using both cores simultaneously. > >> > >> Bob S > >> > >> > >>> On Dec 26, 2019, at 11:16 , J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> It may be the issue with repeat loops that do not yield to the > >>> engine > periodically. This was an issue all the way back to MetaCard and I am > not sure if it has been changed since then. > >>> > >>> Basicaly, running a lengthy repeat loop locks up the entire CPU > >>> until > the loop exits. If this is the problem then it isn't just your > standalone that comes to a halt, it's everything currently running on the machine. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 27 08:58:34 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 27 Dec 2019 13:58:34 +0000 Subject: How to "save" the IDE stack Message-ID: <7753A88C-CCB3-4FCF-9AB2-CFC012387A5E@hindu.org> Suddenly on my multi-monitor set up RevMenuBar appears left monitor: topLeft -1023,200 RevNavigator appear left monitor: topLeft -420,442 RevTool on the "bottom" monitor: topLeft 43,1456 OK so I can, from the message box, do this: set the topleft of stack revMenubar to 0,20 and it works. but save stack revMenubar Doesn't do anything, and, on reboot, the IDE stack still show up on different monitors at the same place BR From richmondmathewson at gmail.com Fri Dec 27 09:02:24 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Dec 2019 16:02:24 +0200 Subject: How to "save" the IDE stack In-Reply-To: <7753A88C-CCB3-4FCF-9AB2-CFC012387A5E@hindu.org> References: <7753A88C-CCB3-4FCF-9AB2-CFC012387A5E@hindu.org> Message-ID: <2d9102bb-0824-5b76-65dc-5a3b8efff8a2@gmail.com> Probably the best thing to do is to store those instructions in a stack which you save as a plugin to run at every start up of LiveCode. Yes, I know that's a bother . . . Richmond. On 27.12.19 15:58, Sannyasin Brahmanathaswami via use-livecode wrote: > Suddenly on my multi-monitor set up > > RevMenuBar appears left monitor: topLeft -1023,200 > RevNavigator appear left monitor: topLeft -420,442 > RevTool on the "bottom" monitor: topLeft 43,1456 > > OK so I can, from the message box, do this: > > set the topleft of stack revMenubar to 0,20 > > and it works. but > > save stack revMenubar > > Doesn't do anything, and, on reboot, the IDE stack still show up on different monitors at the same place > > BR > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Dec 27 10:30:34 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 27 Dec 2019 15:30:34 +0000 Subject: Polygon Side Does Note Match to Polygon rect Message-ID: <91EBEB21-51E7-4538-ADA4-BD8CBAE66E66@hindu.org> Regular Polygon Tool: If you create a triangle grc and set its width and height to 243pt the tool positions the top of the triangle to center of the top line of the rect and leaves margins on the left and right sides. Thus, the triangle itself doesn't take the width of 243pt. It like ist has margins left and right? how to does have precise control over the size of the triangle (not the rect)? right now I have to build a "measuring grc/ruler" underneath, set it width to 243, and fiddle with the triangle until it matches my "ruler" BR From brian at milby7.com Fri Dec 27 11:06:18 2019 From: brian at milby7.com (Brian Milby) Date: Fri, 27 Dec 2019 11:06:18 -0500 Subject: Polygon Side Does Note Match to Polygon rect In-Reply-To: <91EBEB21-51E7-4538-ADA4-BD8CBAE66E66@hindu.org> References: <91EBEB21-51E7-4538-ADA4-BD8CBAE66E66@hindu.org> Message-ID: The center (loc) of the rect is the center of the triangle. ?So to get a triangle of width W, you need to set the height and width of the grc to 2*W/sqrt(3). Thanks, Brian On Dec 27, 2019, 10:31 AM -0500, Sannyasin Brahmanathaswami via use-livecode , wrote: > Regular Polygon Tool: > > If you create a triangle grc and set its width and height to 243pt > > the tool positions the top of the triangle to center of the top line of the rect and leaves margins on the left and right sides. Thus, the triangle itself doesn't take the width of 243pt. It like ist has margins left and right? > > how to does have precise control over the size of the triangle (not the rect)? > > right now I have to build a "measuring grc/ruler" underneath, set it width to 243, and fiddle with the triangle until it matches my "ruler" > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Dec 27 11:14:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Dec 2019 16:14:04 +0000 Subject: Polygon Side Does Note Match to Polygon rect In-Reply-To: <91EBEB21-51E7-4538-ADA4-BD8CBAE66E66@hindu.org> References: <91EBEB21-51E7-4538-ADA4-BD8CBAE66E66@hindu.org> Message-ID: <688B2F0A-D9D9-421A-901C-5C1EDAAD9AE4@iotecdigital.com> Can you set the margins to 0? Bob S > On Dec 27, 2019, at 07:30 , Sannyasin Brahmanathaswami via use-livecode wrote: > > Regular Polygon Tool: > > If you create a triangle grc and set its width and height to 243pt > > the tool positions the top of the triangle to center of the top line of the rect and leaves margins on the left and right sides. Thus, the triangle itself doesn't take the width of 243pt. It like ist has margins left and right? > > how to does have precise control over the size of the triangle (not the rect)? > > right now I have to build a "measuring grc/ruler" underneath, set it width to 243, and fiddle with the triangle until it matches my "ruler" > > BR From bobsneidar at iotecdigital.com Fri Dec 27 11:16:41 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Dec 2019 16:16:41 +0000 Subject: A Windows 10 WTF In-Reply-To: <5395FD44-2C7E-4D66-8817-5B34A8193396@me.com> References: <03dcc77c-9642-b8d5-a5dd-c0968c77969e@hyperactivesw.com> <9C19BE4F-9B38-4A30-9431-D2E084DA328A@iotecdigital.com> <5395FD44-2C7E-4D66-8817-5B34A8193396@me.com> Message-ID: <88253146-8EC5-42D6-AD8B-9B5CC58E51A2@iotecdigital.com> That's a thought. Also, there used to be a way to set the affinity of an application to prefer or only run on one core. This was in the early days of multi-cores where apps might not be multicore aware. Not sure if this is a thing anymore. Bob S > On Dec 26, 2019, at 16:15 , Peter Bogdanoff via use-livecode wrote: > > I?m on a quad-core Intel Xeon E5 (Mac Pro) and LC 8 could definitely lock up the machine. Only with difficulty could I eventually force LC to quit. > > Peter Bogdanoff > > >> On Dec 26, 2019, at 3:31 PM, Bob Sneidar via use-livecode wrote: >> >> I ahould have saif multiple cores not both. >> >>> On Dec 26, 2019, at 14:14 , Bob Sneidar via use-livecode wrote: >>> >>> On the machine, or on the core? LC should only be using a single core on Multi-core systems. Any other process using that core may be affected, but not necessarily processes using the other core. It may be academic though, as most apps today are probably using both cores simultaneously. >>> >>> Bob S >>> >>> >>>> On Dec 26, 2019, at 11:16 , J. Landman Gay via use-livecode wrote: >>>> >>>> It may be the issue with repeat loops that do not yield to the engine periodically. This was an issue all the way back to MetaCard and I am not sure if it has been changed since then. >>>> >>>> Basicaly, running a lengthy repeat loop locks up the entire CPU until the loop exits. If this is the problem then it isn't just your standalone that comes to a halt, it's everything currently running on the machine. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Fri Dec 27 11:22:51 2019 From: hh at hyperhh.de (hh) Date: Fri, 27 Dec 2019 17:22:51 +0100 Subject: Polygon Side Does Note Match to Polygon rect Message-ID: A triangle with width=height is NOT a regular polygon (it doesn't have equal side length). To have what you want create a grc of type "polygon" and then set points of grc 1 to "0,0,10,-10,20,0,0,0" set width of grc 1 to 243 set height of grc 1 to 243 To have equal sideLength you set the width to 243/sin(pi/3). From paul at researchware.com Fri Dec 27 12:19:11 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 27 Dec 2019 12:19:11 -0500 Subject: Doc bug OR htmlText bug? Message-ID: LC List Hive Mind: See https://quality.livecode.com/show_bug.cgi?id=22517 - a reported discrepancy between teh Dictionary documentation on htmlText and what is actually returned by getting "the effective htmlText" of a field. I think for an attempt at consistency with HTML attributes, what is returned should be changed to match what is documented. Of course, it would be less disruptive and easier to change the docs. Folks who work with parsing htmltext from an LC field by tags and attributes may want to weight in. From richmondmathewson at gmail.com Fri Dec 27 14:53:34 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Dec 2019 21:53:34 +0200 Subject: Polygon Side Does Note Match to Polygon rect In-Reply-To: <91EBEB21-51E7-4538-ADA4-BD8CBAE66E66@hindu.org> References: <91EBEB21-51E7-4538-ADA4-BD8CBAE66E66@hindu.org> Message-ID: <1e0c1791-dc22-3e55-c84d-18b611b69802@gmail.com> This is similar to a problem I've had with hexagons. Probably the best thing is NOT to use the Regular Polygon Tool but to define your own triangles using a Polygon Graphic where you set the points. Richmond. On 27.12.19 17:30, Sannyasin Brahmanathaswami via use-livecode wrote: > Regular Polygon Tool: > > If you create a triangle grc and set its width and height to 243pt > > the tool positions the top of the triangle to center of the top line of the rect and leaves margins on the left and right sides. Thus, the triangle itself doesn't take the width of 243pt. It like ist has margins left and right? > > how to does have precise control over the size of the triangle (not the rect)? > > right now I have to build a "measuring grc/ruler" underneath, set it width to 243, and fiddle with the triangle until it matches my "ruler" > > 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 ahsoftware at sonic.net Fri Dec 27 15:52:09 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 27 Dec 2019 12:52:09 -0800 Subject: How to "save" the IDE stack In-Reply-To: <7753A88C-CCB3-4FCF-9AB2-CFC012387A5E@hindu.org> References: <7753A88C-CCB3-4FCF-9AB2-CFC012387A5E@hindu.org> Message-ID: On 12/27/19 5:58 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > Suddenly on my multi-monitor set up > > RevMenuBar appears left monitor: topLeft -1023,200 > RevNavigator appear left monitor: topLeft -420,442 > RevTool on the "bottom" monitor: topLeft 43,1456 > > OK so I can, from the message box, do this: > > set the topleft of stack revMenubar to 0,20 > > and it works. but > > save stack revMenubar > > Doesn't do anything, and, on reboot, the IDE stack still show up on different monitors at the same place Toss the preferences stack and let lc rebuild it. -- Mark Wieder ahsoftware at gmail.com From bvlahos at mac.com Fri Dec 27 17:51:02 2019 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 27 Dec 2019 14:51:02 -0800 Subject: LiveCode won't recognize my stack Message-ID: List, Version 9.x of LiveCode doesn?t recognize stacks unless the file name ends with either .rev or .livecode. Previous versions (I don?t know when this changed) were able to. I use a stack file as the Preferences file for InfoWallet but the file name is ?LicenseKey.IW?. When I execute the following command to read custom properties in the stack it fails with an error. Type: Chunk: can't find stack put the uDefaultWallet of stack "LicenseKey.IW" into vDefault I can also see this when opening a stack from LiveCode. the LicenseKey.IW file is greyed out unless I look for All Files when then opens it correctly. How can I open the stack file in LiveCode 9.5.1 without changing the name of the file? Thank you, Bill Vlahos From hh at hyperhh.de Fri Dec 27 18:23:18 2019 From: hh at hyperhh.de (hh) Date: Sat, 28 Dec 2019 00:23:18 +0100 Subject: LiveCode won't recognize my stack Message-ID: <99587481-FA6C-47AA-B920-9346A2641D71@hyperhh.de> This works here: go stack url("binfile:/Users/admin/xstacks/selectiveGray6789.IW") From bogdanoff at me.com Fri Dec 27 19:28:05 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 27 Dec 2019 19:28:05 -0500 Subject: LiveCode won't recognize my stack In-Reply-To: References: Message-ID: <45A64896-557D-4E3A-A7B4-CB81C2BCAA3E@me.com> Hi Bill, In LC 9.04 issue a command go stack tURL where tURL is the directory path and it opens the stacks. My stacks don?t have a suffix at all. Peter Bogdanoff > On Dec 27, 2019, at 5:51 PM, Bill Vlahos via use-livecode wrote: > > List, > > Version 9.x of LiveCode doesn?t recognize stacks unless the file name ends with either .rev or .livecode. Previous versions (I don?t know when this changed) were able to. > > I use a stack file as the Preferences file for InfoWallet but the file name is ?LicenseKey.IW?. When I execute the following command to read custom properties in the stack it fails with an error. Type: Chunk: can't find stack > > put the uDefaultWallet of stack "LicenseKey.IW" into vDefault > > > I can also see this when opening a stack from LiveCode. the LicenseKey.IW file is greyed out unless I look for All Files when then opens it correctly. > > How can I open the stack file in LiveCode 9.5.1 without changing the name of the file? > > Thank you, > Bill Vlahos > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Fri Dec 27 19:49:06 2019 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 27 Dec 2019 16:49:06 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: <45A64896-557D-4E3A-A7B4-CB81C2BCAA3E@me.com> References: <45A64896-557D-4E3A-A7B4-CB81C2BCAA3E@me.com> Message-ID: Peter, I don?t want to open or go to that stack. It is like a preferences stack. I want to get and set custom properties of it. Regards, Bill > On Dec 27, 2019, at 4:28 PM, Peter Bogdanoff via use-livecode wrote: > > Hi Bill, > > In LC 9.04 issue a command > > go stack tURL > > where tURL is the directory path and it opens the stacks. My stacks don?t have a suffix at all. > > Peter Bogdanoff > > > >> On Dec 27, 2019, at 5:51 PM, Bill Vlahos via use-livecode wrote: >> >> List, >> >> Version 9.x of LiveCode doesn?t recognize stacks unless the file name ends with either .rev or .livecode. Previous versions (I don?t know when this changed) were able to. >> >> I use a stack file as the Preferences file for InfoWallet but the file name is ?LicenseKey.IW?. When I execute the following command to read custom properties in the stack it fails with an error. Type: Chunk: can't find stack >> >> put the uDefaultWallet of stack "LicenseKey.IW" into vDefault >> >> >> I can also see this when opening a stack from LiveCode. the LicenseKey.IW file is greyed out unless I look for All Files when then opens it correctly. >> >> How can I open the stack file in LiveCode 9.5.1 without changing the name of the file? >> >> Thank you, >> Bill Vlahos >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 27 20:03:53 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 27 Dec 2019 20:03:53 -0500 Subject: A Windows 10 WTF In-Reply-To: <88253146-8EC5-42D6-AD8B-9B5CC58E51A2@iotecdigital.com> References: <03dcc77c-9642-b8d5-a5dd-c0968c77969e@hyperactivesw.com> <9C19BE4F-9B38-4A30-9431-D2E084DA328A@iotecdigital.com> <5395FD44-2C7E-4D66-8817-5B34A8193396@me.com> <88253146-8EC5-42D6-AD8B-9B5CC58E51A2@iotecdigital.com> Message-ID: Nope..its not sharing any resources, each one runs isolated in its own folder. Yep... you can set affinity manually using the task manager. The only thing shared between them is the name of the stack window...I guess I'll test that first. This is weird and I don't like it ..... but it only affects me I guess. :) Thanks everyone for trying. On Fri, Dec 27, 2019 at 11:17 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > That's a thought. Also, there used to be a way to set the affinity of an > application to prefer or only run on one core. This was in the early days > of multi-cores where apps might not be multicore aware. Not sure if this is > a thing anymore. > > Bob S > > > > On Dec 26, 2019, at 16:15 , Peter Bogdanoff via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I?m on a quad-core Intel Xeon E5 (Mac Pro) and LC 8 could definitely > lock up the machine. Only with difficulty could I eventually force LC to > quit. > > > > Peter Bogdanoff > > > > > >> On Dec 26, 2019, at 3:31 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I ahould have saif multiple cores not both. > >> > >>> On Dec 26, 2019, at 14:14 , Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> On the machine, or on the core? LC should only be using a single core > on Multi-core systems. Any other process using that core may be affected, > but not necessarily processes using the other core. It may be academic > though, as most apps today are probably using both cores simultaneously. > >>> > >>> Bob S > >>> > >>> > >>>> On Dec 26, 2019, at 11:16 , J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> It may be the issue with repeat loops that do not yield to the engine > periodically. This was an issue all the way back to MetaCard and I am not > sure if it has been changed since then. > >>>> > >>>> Basicaly, running a lengthy repeat loop locks up the entire CPU until > the loop exits. If this is the problem then it isn't just your standalone > that comes to a halt, it's everything currently running on the machine. > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From ahsoftware at sonic.net Fri Dec 27 20:08:07 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 27 Dec 2019 17:08:07 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: References: Message-ID: On 12/27/19 2:51 PM, Bill Vlahos via use-livecode wrote: > List, > > Version 9.x of LiveCode doesn?t recognize stacks unless the file name ends with either .rev or .livecode. Previous versions (I don?t know when this changed) were able to. > > I use a stack file as the Preferences file for InfoWallet but the file name is ?LicenseKey.IW?. When I execute the following command to read custom properties in the stack it fails with an error. Type: Chunk: can't find stack > > put the uDefaultWallet of stack "LicenseKey.IW" into vDefault Is that the name of the stack or the stack *file*? If it's a filename then you'll have to load it into memory, change it, and save it. It's things like this that got me to store preferences in text files. -- Mark Wieder ahsoftware at gmail.com From tom at makeshyft.com Fri Dec 27 21:35:09 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 27 Dec 2019 21:35:09 -0500 Subject: mobile dev confusion Message-ID: Hi folks, I'm following this tutorial http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio and i've installed android 8.0 SDK as specified .... the distribution chart says that only 6% of devices have this version of android. Does this mean only 6% of devices will be able to correctly install my application? ????????????? -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From tom at makeshyft.com Fri Dec 27 22:09:16 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 27 Dec 2019 22:09:16 -0500 Subject: mobile dev confusion In-Reply-To: References: Message-ID: "The Spiritual Workout" app was created in LiveCode...and I'm running it on Android 7.0 phones .... and it works fine. And as far as I can tell that is a recently built app. Sooo...what must I do to have my app run on older versions of android (and iOS I guess)??? So confused..... From bvlahos at mac.com Sat Dec 28 00:09:08 2019 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 27 Dec 2019 21:09:08 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: References: Message-ID: <683EF826-6DFE-442E-93C3-5D66F8D26ABA@mac.com> Mark, It is both the name of the stack and file name. I?d really rather not have to rename the license key file name. It would be better to figure out how LiveCode could work like it used to. Thanks, Bill > On Dec 27, 2019, at 5:08 PM, Mark Wieder via use-livecode wrote: > > On 12/27/19 2:51 PM, Bill Vlahos via use-livecode wrote: >> List, >> Version 9.x of LiveCode doesn?t recognize stacks unless the file name ends with either .rev or .livecode. Previous versions (I don?t know when this changed) were able to. >> I use a stack file as the Preferences file for InfoWallet but the file name is ?LicenseKey.IW?. When I execute the following command to read custom properties in the stack it fails with an error. Type: Chunk: can't find stack >> put the uDefaultWallet of stack "LicenseKey.IW" into vDefault > > Is that the name of the stack or the stack *file*? > If it's a filename then you'll have to load it into memory, change it, and save it. > > It's things like this that got me to store preferences in text files. > > -- > 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 jjs at krutt.org Sat Dec 28 01:43:11 2019 From: jjs at krutt.org (Jjs) Date: Sat, 28 Dec 2019 07:43:11 +0100 Subject: mobile dev confusion In-Reply-To: References: Message-ID: <0E57AE23-99C6-437D-8D57-7055BE091878@krutt.org> Choose Android 4.1.2 in the build settings then it will probably be 99% of all devices. But 6% is very low. Did you also provide an apk for armv8, arm64? If i'm correct the x86 are not of interest anymore, it was a short wave of intel mobile processors, correct me if i'm wrong. Tom Glod via use-livecode schreef op 28 december 2019 04:09:16 CET: >"The Spiritual Workout" app was created in LiveCode...and I'm running >it on >Android 7.0 phones .... and it works fine. And as far as I can tell >that is >a recently built app. > >Sooo...what must I do to have my app run on older versions of android >(and >iOS I guess)??? > >So confused..... >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From ambassador at fourthworld.com Sat Dec 28 02:26:18 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 27 Dec 2019 23:26:18 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: <683EF826-6DFE-442E-93C3-5D66F8D26ABA@mac.com> References: <683EF826-6DFE-442E-93C3-5D66F8D26ABA@mac.com> Message-ID: <26a235a2-71fc-c538-c2ee-40456bcb05c9@fourthworld.com> LiveCode will recognize any stack file of the same or earlier version of the engine attempting to access it, regardless of file extension. Must be something else going on with that... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Sat Dec 28 09:49:45 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 28 Dec 2019 14:49:45 +0000 Subject: How to "save" the IDE stack In-Reply-To: References: <7753A88C-CCB3-4FCF-9AB2-CFC012387A5E@hindu.org> Message-ID: <948CA2E7-B380-4D44-9A06-9CC749BC3252@hindu.org> @Mark Right, I figured that was the only solution. One gets tired setting the prefs again each time you to do that @Richard, Good idea to store as a plug-in stack. I already have CollectMyStacks. This would be the "same thing" but for the IDE Toss the peferences stack and let lc rebuild it. From brahma at hindu.org Sat Dec 28 09:54:48 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 28 Dec 2019 14:54:48 +0000 Subject: Polygon Side Does Note Match to Polygon rect In-Reply-To: References: Message-ID: @HH @brian Ha! You math genius are wonderful! But this is a one off design process, so I will still with my "ruler" grc rect?. A triangle with width=height is NOT a regular polygon (it doesn't have equal side length). To have what you want create a grc of type "polygon" and then set points of grc 1 to "0,0,10,-10,20,0,0,0" set width of grc 1 to 243 set height of grc 1 to 243 To have equal sideLength you set the width to 243/sin(pi/3). From jacque at hyperactivesw.com Sat Dec 28 11:46:49 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 28 Dec 2019 10:46:49 -0600 Subject: mobile dev confusion In-Reply-To: References: Message-ID: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> LC uses the SDK primarily for its build tools, which allow the IDE to create standalones for Android. The SDK does not affect the versions of Android your app will require. For years we built apks using SDK 6, and apps built using those tools still run on Android 10 today. A while back the SDK 6 build tools no longer worked with the current version of LC and we had to update to SDK 8 for compatibility. I am building apks with that SDK that run on all versions of Android from 4.x on up to 10. The Android versions you want to support are set in standalone settings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 27, 2019 8:37:23 PM Tom Glod via use-livecode wrote: > Hi folks, I'm following this tutorial > > http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio > > and i've installed android 8.0 SDK as specified .... > > the distribution chart says that only 6% of devices have this version of > android. > > Does this mean only 6% of devices will be able to correctly install my > application? > > ????????????? > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 28 13:12:16 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 28 Dec 2019 13:12:16 -0500 Subject: mobile dev confusion In-Reply-To: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I'm so relieved. Thank you. It didn't make sense to me, but I saw no explanation about that part of it anywhere. Full speed ahead. (ish) I am struggling a bit getting it to work in the emulator.... it seems like I can only do ARM architecture on V7 or below in the emulator. And using an X86 emulator gives me the "NO_MATCHING_ABM" error when I hit test. But at least there are no permanent obstacles. :) Thanks again. On Sat, Dec 28, 2019 at 11:47 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > LC uses the SDK primarily for its build tools, which allow the IDE to > create standalones for Android. The SDK does not affect the versions of > Android your app will require. For years we built apks using SDK 6, and > apps built using those tools still run on Android 10 today. > > A while back the SDK 6 build tools no longer worked with the current > version of LC and we had to update to SDK 8 for compatibility. I am > building apks with that SDK that run on all versions of Android from 4.x > on > up to 10. > > The Android versions you want to support are set in standalone settings. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 27, 2019 8:37:23 PM Tom Glod via use-livecode > wrote: > > > Hi folks, I'm following this tutorial > > > > http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio > > > > and i've installed android 8.0 SDK as specified .... > > > > the distribution chart says that only 6% of devices have this version of > > android. > > > > Does this mean only 6% of devices will be able to correctly install my > > application? > > > > ????????????? > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Office:226-706-9339 > > Mobile:226-706-9793 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From jjs at krutt.org Sat Dec 28 14:11:25 2019 From: jjs at krutt.org (JJS) Date: Sat, 28 Dec 2019 20:11:25 +0100 Subject: mobile dev confusion In-Reply-To: References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <012cf036-9b6e-1f1a-94b7-e2db47f6651f@krutt.org> That error depends on what version of LC you use. Use LC 9.5.1 and it can build for ARMv8-ARM64-X86 and x86-64, then lc will build the correct one to the emultaor ones you press the test button in LC ide. But for uploading to the Google play store ARMv8 and ARM64 will be sufficient Op 28-12-2019 om 19:12 schreef Tom Glod via use-livecode: > I'm so relieved. Thank you. > > It didn't make sense to me, but I saw no explanation about that part of it > anywhere. > > Full speed ahead. (ish) > > I am struggling a bit getting it to work in the emulator.... it seems like > I can only do ARM architecture on V7 or below in the emulator. And using > an X86 emulator gives me the "NO_MATCHING_ABM" error when I hit test. > > But at least there are no permanent obstacles. > > :) Thanks again. > > On Sat, Dec 28, 2019 at 11:47 AM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> LC uses the SDK primarily for its build tools, which allow the IDE to >> create standalones for Android. The SDK does not affect the versions of >> Android your app will require. For years we built apks using SDK 6, and >> apps built using those tools still run on Android 10 today. >> >> A while back the SDK 6 build tools no longer worked with the current >> version of LC and we had to update to SDK 8 for compatibility. I am >> building apks with that SDK that run on all versions of Android from 4.x >> on >> up to 10. >> >> The Android versions you want to support are set in standalone settings. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On December 27, 2019 8:37:23 PM Tom Glod via use-livecode >> wrote: >> >>> Hi folks, I'm following this tutorial >>> >>> http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio >>> >>> and i've installed android 8.0 SDK as specified .... >>> >>> the distribution chart says that only 6% of devices have this version of >>> android. >>> >>> Does this mean only 6% of devices will be able to correctly install my >>> application? >>> >>> ????????????? >>> >>> -- >>> Tom Glod >>> Founder & Developer >>> MakeShyft R.D.A (www.makeshyft.com) >>> Office:226-706-9339 >>> Mobile:226-706-9793 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Dec 28 14:48:14 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 28 Dec 2019 13:48:14 -0600 Subject: mobile dev confusion In-Reply-To: References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Actually after some research, I've decided not to bother with x86 builds. There are only one or two models that support it and those are very old. The current user base is a fraction of one percent according to some charts. Support for x86 chips on mobile devices apparently was dropped some years ago. One stackOverflow comment implied that x86 would be useful if we wanted to support Chromebooks, but those machines work well with 32-bit Android apps and LC doesn't officially support Chromebooks anyway. If anyone has other info, hopefully they'll chime in here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 28, 2019 12:14:29 PM Tom Glod via use-livecode wrote: > I'm so relieved. Thank you. > > It didn't make sense to me, but I saw no explanation about that part of it > anywhere. > > Full speed ahead. (ish) > > I am struggling a bit getting it to work in the emulator.... it seems like > I can only do ARM architecture on V7 or below in the emulator. And using > an X86 emulator gives me the "NO_MATCHING_ABM" error when I hit test. > > But at least there are no permanent obstacles. > > :) Thanks again. > > On Sat, Dec 28, 2019 at 11:47 AM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> LC uses the SDK primarily for its build tools, which allow the IDE to >> create standalones for Android. The SDK does not affect the versions of >> Android your app will require. For years we built apks using SDK 6, and >> apps built using those tools still run on Android 10 today. >> >> A while back the SDK 6 build tools no longer worked with the current >> version of LC and we had to update to SDK 8 for compatibility. I am >> building apks with that SDK that run on all versions of Android from 4.x >> on >> up to 10. >> >> The Android versions you want to support are set in standalone settings. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On December 27, 2019 8:37:23 PM Tom Glod via use-livecode >> wrote: >> >> > Hi folks, I'm following this tutorial >> > >> > http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio >> > >> > and i've installed android 8.0 SDK as specified .... >> > >> > the distribution chart says that only 6% of devices have this version of >> > android. >> > >> > Does this mean only 6% of devices will be able to correctly install my >> > application? >> > >> > ????????????? >> > >> > -- >> > Tom Glod >> > Founder & Developer >> > MakeShyft R.D.A (www.makeshyft.com) >> > Office:226-706-9339 >> > Mobile:226-706-9793 >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sat Dec 28 16:00:35 2019 From: hh at hyperhh.de (hh) Date: Sat, 28 Dec 2019 22:00:35 +0100 Subject: Polygon Side Does Note Match to Polygon rect Message-ID: <8E9F272B-1B40-4536-B21A-481DBC23C4A5@hyperhh.de> > BR wrote: > But this is a one off design process, so I will still with my "ruler" grc rect?. Obviously you want an evenly sided triangle with fixed width W? So use put 243 into W -- for example set points of grc 1 to "0,0,10,-10,20,0,0,0" -- these are start-values only set width of grc 1 to W set height of grc 1 to W*sin(pi/3) -- note: 243*sin(pi/3)=210 set loc of grc 1 to 150,150 -- adjust to your needs What's easier than that? From tom at makeshyft.com Sat Dec 28 16:11:36 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 28 Dec 2019 16:11:36 -0500 Subject: mobile dev confusion In-Reply-To: <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: aaaahhhhhh .... I get it......yes...I've been using 9.05 Indy to make the builds. Lots has been cleared up today thanks to all of you. *Bows Head* On Sat, Dec 28, 2019 at 2:49 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Actually after some research, I've decided not to bother with x86 builds. > There are only one or two models that support it and those are very old. > The current user base is a fraction of one percent according to some > charts. Support for x86 chips on mobile devices apparently was dropped > some > years ago. > > One stackOverflow comment implied that x86 would be useful if we wanted to > support Chromebooks, but those machines work well with 32-bit Android apps > and LC doesn't officially support Chromebooks anyway. > > If anyone has other info, hopefully they'll chime in here. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 28, 2019 12:14:29 PM Tom Glod via use-livecode > wrote: > > > I'm so relieved. Thank you. > > > > It didn't make sense to me, but I saw no explanation about that part of > it > > anywhere. > > > > Full speed ahead. (ish) > > > > I am struggling a bit getting it to work in the emulator.... it seems > like > > I can only do ARM architecture on V7 or below in the emulator. And using > > an X86 emulator gives me the "NO_MATCHING_ABM" error when I hit test. > > > > But at least there are no permanent obstacles. > > > > :) Thanks again. > > > > On Sat, Dec 28, 2019 at 11:47 AM J. Landman Gay via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> LC uses the SDK primarily for its build tools, which allow the IDE to > >> create standalones for Android. The SDK does not affect the versions of > >> Android your app will require. For years we built apks using SDK 6, and > >> apps built using those tools still run on Android 10 today. > >> > >> A while back the SDK 6 build tools no longer worked with the current > >> version of LC and we had to update to SDK 8 for compatibility. I am > >> building apks with that SDK that run on all versions of Android from 4.x > >> on > >> up to 10. > >> > >> The Android versions you want to support are set in standalone settings. > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> On December 27, 2019 8:37:23 PM Tom Glod via use-livecode > >> wrote: > >> > >> > Hi folks, I'm following this tutorial > >> > > >> > > http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio > >> > > >> > and i've installed android 8.0 SDK as specified .... > >> > > >> > the distribution chart says that only 6% of devices have this version > of > >> > android. > >> > > >> > Does this mean only 6% of devices will be able to correctly install my > >> > application? > >> > > >> > ????????????? > >> > > >> > -- > >> > Tom Glod > >> > Founder & Developer > >> > MakeShyft R.D.A (www.makeshyft.com) > >> > Office:226-706-9339 > >> > Mobile:226-706-9793 > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode at lists.runrev.com > >> > Please visit this url to subscribe, unsubscribe and manage your > >> > subscription preferences: > >> > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Office:226-706-9339 > > Mobile:226-706-9793 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From jjs at krutt.org Sat Dec 28 17:03:18 2019 From: jjs at krutt.org (JJS) Date: Sat, 28 Dec 2019 23:03:18 +0100 Subject: mobile dev confusion In-Reply-To: <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: So in fact the only great thing now for x86 and x86-64 is the high speed emulator. Makes it strange right, there are almost no x86 or x86-64 real phones, but in Android Studio you see as of Android 8 and up only x86 system images and no ARM at all. I don't get it, where is the logic behind this. Op 28-12-2019 om 20:48 schreef J. Landman Gay via use-livecode: > Actually after some research, I've decided not to bother with x86 > builds. There are only one or two models that support it and those are > very old. The current user base is a fraction of one percent according > to some charts. Support for x86 chips on mobile devices apparently was > dropped some years ago. > > One stackOverflow comment implied that x86 would be useful if we > wanted to support Chromebooks, but those machines work well with > 32-bit Android apps and LC doesn't officially support Chromebooks anyway. > > If anyone has other info, hopefully they'll chime in here. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 28, 2019 12:14:29 PM Tom Glod via use-livecode > wrote: > >> I'm so relieved. Thank you. >> >> It didn't make sense to me, but I saw no explanation about that part >> of it >> anywhere. >> >> Full speed ahead. (ish) >> >> I am struggling a bit getting it to work in the emulator.... it seems >> like >> I can only do ARM architecture on V7 or below in the emulator. And using >> an X86 emulator gives me the "NO_MATCHING_ABM" error when I hit test. >> >> But at least there are no permanent obstacles. >> >> :) Thanks again. >> >> On Sat, Dec 28, 2019 at 11:47 AM J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> LC uses the SDK primarily for its build tools, which allow the IDE to >>> create standalones for Android. The SDK does not affect the versions of >>> Android your app will require. For years we built apks using SDK 6, and >>> apps built using those tools still run on Android 10 today. >>> >>> A while back the SDK 6 build tools no longer worked with the current >>> version of LC and we had to update to SDK 8 for compatibility. I am >>> building apks with that SDK that run on all versions of Android from >>> 4.x >>> on >>> up to 10. >>> >>> The Android versions you want to support are set in standalone >>> settings. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On December 27, 2019 8:37:23 PM Tom Glod via use-livecode >>> wrote: >>> >>> > Hi folks, I'm following this tutorial >>> > >>> > >>> http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio >>> > >>> > and i've installed android 8.0 SDK as specified .... >>> > >>> > the distribution chart says that only 6% of devices have this >>> version of >>> > android. >>> > >>> > Does this mean only 6% of devices will be able to correctly >>> install my >>> > application? >>> > >>> > ????????????? >>> > >>> > -- >>> > Tom Glod >>> > Founder & Developer >>> > MakeShyft R.D.A (www.makeshyft.com) >>> > Office:226-706-9339 >>> > Mobile:226-706-9793 >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> > subscription preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Tom Glod >> Founder & Developer >> MakeShyft R.D.A (www.makeshyft.com) >> Office:226-706-9339 >> Mobile:226-706-9793 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 28 17:17:11 2019 From: jjs at krutt.org (JJS) Date: Sat, 28 Dec 2019 23:17:11 +0100 Subject: mobile dev confusion In-Reply-To: References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: This is also a nice read: with some X86 System images you can use ARM to test, https://androidstudio.googleblog.com/2019/09/android-p-x86-system-images-google-play.html Op 28-12-2019 om 23:03 schreef JJS via use-livecode: > So in fact the only great thing now for x86 and x86-64 is the high > speed emulator. > > Makes it strange right, there are almost no x86 or x86-64 real phones, > but in Android Studio you see as of Android 8 and up only x86 system > images and no ARM at all. > > > I don't get it, where is the logic behind this. > > > > Op 28-12-2019 om 20:48 schreef J. Landman Gay via use-livecode: >> Actually after some research, I've decided not to bother with x86 >> builds. There are only one or two models that support it and those >> are very old. The current user base is a fraction of one percent >> according to some charts. Support for x86 chips on mobile devices >> apparently was dropped some years ago. >> >> One stackOverflow comment implied that x86 would be useful if we >> wanted to support Chromebooks, but those machines work well with >> 32-bit Android apps and LC doesn't officially support Chromebooks >> anyway. >> >> If anyone has other info, hopefully they'll chime in here. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On December 28, 2019 12:14:29 PM Tom Glod via use-livecode >> wrote: >> >>> I'm so relieved. Thank you. >>> >>> It didn't make sense to me, but I saw no explanation about that part >>> of it >>> anywhere. >>> >>> Full speed ahead. (ish) >>> >>> I am struggling a bit getting it to work in the emulator.... it >>> seems like >>> I can only do ARM architecture on V7 or below in the emulator. And >>> using >>> an X86 emulator gives me the "NO_MATCHING_ABM" error when I hit test. >>> >>> But at least there are no permanent obstacles. >>> >>> :) Thanks again. >>> >>> On Sat, Dec 28, 2019 at 11:47 AM J. Landman Gay via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> LC uses the SDK primarily for its build tools, which allow the IDE to >>>> create standalones for Android. The SDK does not affect the >>>> versions of >>>> Android your app will require. For years we built apks using SDK 6, >>>> and >>>> apps built using those tools still run on Android 10 today. >>>> >>>> A while back the SDK 6 build tools no longer worked with the current >>>> version of LC and we had to update to SDK 8 for compatibility. I am >>>> building apks with that SDK that run on all versions of Android >>>> from 4.x >>>> on >>>> up to 10. >>>> >>>> The Android versions you want to support are set in standalone >>>> settings. >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On December 27, 2019 8:37:23 PM Tom Glod via use-livecode >>>> wrote: >>>> >>>> > Hi folks, I'm following this tutorial >>>> > >>>> > >>>> http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio >>>> >>>> > >>>> > and i've installed android 8.0 SDK as specified .... >>>> > >>>> > the distribution chart says that only 6% of devices have this >>>> version of >>>> > android. >>>> > >>>> > Does this mean only 6% of devices will be able to correctly >>>> install my >>>> > application? >>>> > >>>> > ????????????? >>>> > >>>> > -- >>>> > Tom Glod >>>> > Founder & Developer >>>> > MakeShyft R.D.A (www.makeshyft.com) >>>> > Office:226-706-9339 >>>> > Mobile:226-706-9793 >>>> > _______________________________________________ >>>> > use-livecode mailing list >>>> > use-livecode at lists.runrev.com >>>> > Please visit this url to subscribe, unsubscribe and manage your >>>> > subscription preferences: >>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> -- >>> Tom Glod >>> Founder & Developer >>> MakeShyft R.D.A (www.makeshyft.com) >>> Office:226-706-9339 >>> Mobile:226-706-9793 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 28 18:26:12 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 28 Dec 2019 17:26:12 -0600 Subject: mobile dev confusion In-Reply-To: References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <16f4ed4de38.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I remember Panos mentioning that one of the primary reasons for including X86 was so we could use the faster emulator. I know I stopped using the emulator years ago because it was too slow to be useful. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 28, 2019 4:05:11 PM JJS via use-livecode wrote: > So in fact the only great thing now for x86 and x86-64 is the high speed > emulator. > > Makes it strange right, there are almost no x86 or x86-64 real phones, > but in Android Studio you see as of Android 8 and up only x86 system > images and no ARM at all. > > > I don't get it, where is the logic behind this. > > > > Op 28-12-2019 om 20:48 schreef J. Landman Gay via use-livecode: >> Actually after some research, I've decided not to bother with x86 >> builds. There are only one or two models that support it and those are >> very old. The current user base is a fraction of one percent according >> to some charts. Support for x86 chips on mobile devices apparently was >> dropped some years ago. >> >> One stackOverflow comment implied that x86 would be useful if we >> wanted to support Chromebooks, but those machines work well with >> 32-bit Android apps and LC doesn't officially support Chromebooks anyway. >> >> If anyone has other info, hopefully they'll chime in here. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On December 28, 2019 12:14:29 PM Tom Glod via use-livecode >> wrote: >> >>> I'm so relieved. Thank you. >>> >>> It didn't make sense to me, but I saw no explanation about that part >>> of it >>> anywhere. >>> >>> Full speed ahead. (ish) >>> >>> I am struggling a bit getting it to work in the emulator.... it seems >>> like >>> I can only do ARM architecture on V7 or below in the emulator. And using >>> an X86 emulator gives me the "NO_MATCHING_ABM" error when I hit test. >>> >>> But at least there are no permanent obstacles. >>> >>> :) Thanks again. >>> >>> On Sat, Dec 28, 2019 at 11:47 AM J. Landman Gay via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> LC uses the SDK primarily for its build tools, which allow the IDE to >>>> create standalones for Android. The SDK does not affect the versions of >>>> Android your app will require. For years we built apks using SDK 6, and >>>> apps built using those tools still run on Android 10 today. >>>> >>>> A while back the SDK 6 build tools no longer worked with the current >>>> version of LC and we had to update to SDK 8 for compatibility. I am >>>> building apks with that SDK that run on all versions of Android from >>>> 4.x >>>> on >>>> up to 10. >>>> >>>> The Android versions you want to support are set in standalone >>>> settings. >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On December 27, 2019 8:37:23 PM Tom Glod via use-livecode >>>> wrote: >>>> >>>> > Hi folks, I'm following this tutorial >>>> > >>>> > >>>> http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio >>>> > >>>> > and i've installed android 8.0 SDK as specified .... >>>> > >>>> > the distribution chart says that only 6% of devices have this >>>> version of >>>> > android. >>>> > >>>> > Does this mean only 6% of devices will be able to correctly >>>> install my >>>> > application? >>>> > >>>> > ????????????? >>>> > >>>> > -- >>>> > Tom Glod >>>> > Founder & Developer >>>> > MakeShyft R.D.A (www.makeshyft.com) >>>> > Office:226-706-9339 >>>> > Mobile:226-706-9793 >>>> > _______________________________________________ >>>> > use-livecode mailing list >>>> > use-livecode at lists.runrev.com >>>> > Please visit this url to subscribe, unsubscribe and manage your >>>> > subscription preferences: >>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> -- >>> Tom Glod >>> Founder & Developer >>> MakeShyft R.D.A (www.makeshyft.com) >>> Office:226-706-9339 >>> Mobile:226-706-9793 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 28 19:45:21 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 29 Dec 2019 00:45:21 +0000 Subject: mobile dev confusion In-Reply-To: <16f4ed4de38.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4ed4de38.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Worth trying again I reckon - the Android Virtual Device Manager in Android Studio plays very nicely with LC now. Terry... ?On 29/12/19, 10:27 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: I remember Panos mentioning that one of the primary reasons for including X86 was so we could use the faster emulator. I know I stopped using the emulator years ago because it was too slow to be useful. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 28, 2019 4:05:11 PM JJS via use-livecode wrote: > So in fact the only great thing now for x86 and x86-64 is the high speed > emulator. > > Makes it strange right, there are almost no x86 or x86-64 real phones, > but in Android Studio you see as of Android 8 and up only x86 system > images and no ARM at all. > > > I don't get it, where is the logic behind this. > > > > Op 28-12-2019 om 20:48 schreef J. Landman Gay via use-livecode: >> Actually after some research, I've decided not to bother with x86 >> builds. There are only one or two models that support it and those are >> very old. The current user base is a fraction of one percent according >> to some charts. Support for x86 chips on mobile devices apparently was >> dropped some years ago. >> >> One stackOverflow comment implied that x86 would be useful if we >> wanted to support Chromebooks, but those machines work well with >> 32-bit Android apps and LC doesn't officially support Chromebooks anyway. >> >> If anyone has other info, hopefully they'll chime in here. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On December 28, 2019 12:14:29 PM Tom Glod via use-livecode >> wrote: >> >>> I'm so relieved. Thank you. >>> >>> It didn't make sense to me, but I saw no explanation about that part >>> of it >>> anywhere. >>> >>> Full speed ahead. (ish) >>> >>> I am struggling a bit getting it to work in the emulator.... it seems >>> like >>> I can only do ARM architecture on V7 or below in the emulator. And using >>> an X86 emulator gives me the "NO_MATCHING_ABM" error when I hit test. >>> >>> But at least there are no permanent obstacles. >>> >>> :) Thanks again. >>> >>> On Sat, Dec 28, 2019 at 11:47 AM J. Landman Gay via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> LC uses the SDK primarily for its build tools, which allow the IDE to >>>> create standalones for Android. The SDK does not affect the versions of >>>> Android your app will require. For years we built apks using SDK 6, and >>>> apps built using those tools still run on Android 10 today. >>>> >>>> A while back the SDK 6 build tools no longer worked with the current >>>> version of LC and we had to update to SDK 8 for compatibility. I am >>>> building apks with that SDK that run on all versions of Android from >>>> 4.x >>>> on >>>> up to 10. >>>> >>>> The Android versions you want to support are set in standalone >>>> settings. >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On December 27, 2019 8:37:23 PM Tom Glod via use-livecode >>>> wrote: >>>> >>>> > Hi folks, I'm following this tutorial >>>> > >>>> > >>>> http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio >>>> > >>>> > and i've installed android 8.0 SDK as specified .... >>>> > >>>> > the distribution chart says that only 6% of devices have this >>>> version of >>>> > android. >>>> > >>>> > Does this mean only 6% of devices will be able to correctly >>>> install my >>>> > application? >>>> > >>>> > ????????????? >>>> > >>>> > -- >>>> > Tom Glod >>>> > Founder & Developer >>>> > MakeShyft R.D.A (www.makeshyft.com) >>>> > Office:226-706-9339 >>>> > Mobile:226-706-9793 >>>> > _______________________________________________ >>>> > use-livecode mailing list >>>> > use-livecode at lists.runrev.com >>>> > Please visit this url to subscribe, unsubscribe and manage your >>>> > subscription preferences: >>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> -- >>> Tom Glod >>> Founder & Developer >>> MakeShyft R.D.A (www.makeshyft.com) >>> Office:226-706-9339 >>> Mobile:226-706-9793 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sun Dec 29 08:30:13 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 29 Dec 2019 13:30:13 +0000 Subject: Polygon Side Does Note Match to Polygon rect In-Reply-To: <8E9F272B-1B40-4536-B21A-481DBC23C4A5@hyperhh.de> References: <8E9F272B-1B40-4536-B21A-481DBC23C4A5@hyperhh.de> Message-ID: Thanks Howard, I have a "design tools" stack, which I can toggle as a palette, focus on the top card of the stack I am building.. I'll add a card with this in a button "Make equilateral triangle" BR Obviously you want an evenly sided triangle with fixed width W? So use put 243 into W -- for example set points of grc 1 to "0,0,10,-10,20,0,0,0" -- these are start-values only set width of grc 1 to W set height of grc 1 to W*sin(pi/3) -- note: 243*sin(pi/3)=210 set loc of grc 1 to 150,150 -- adjust to your needs What's easier than that? From brahma at hindu.org Sun Dec 29 08:43:49 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 29 Dec 2019 13:43:49 +0000 Subject: mobile dev confusion In-Reply-To: <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <631317E4-BAF7-4C58-AB38-EBD576FDC667@hindu.org> Hmmm.. I conclude from this thread (where I do not use the similutor) that for the Google Play store we only need to build armv7 & arm64 @J. Gay right? Support for x86 chips on mobile devices apparently was dropped some years ago. From jjs at krutt.org Sun Dec 29 14:10:14 2019 From: jjs at krutt.org (JJS) Date: Sun, 29 Dec 2019 20:10:14 +0100 Subject: mobile dev confusion In-Reply-To: <631317E4-BAF7-4C58-AB38-EBD576FDC667@hindu.org> References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <631317E4-BAF7-4C58-AB38-EBD576FDC667@hindu.org> Message-ID: <2af77d9f-da2b-5342-0073-538682c328e2@krutt.org> Yes you are right Sannyasin. And on your desktop you can use the very fast x86 / x86-64 emulator which you can use directly via the test button in the ide(of course first load the emulator) Op 29-12-2019 om 14:43 schreef Sannyasin Brahmanathaswami via use-livecode: > Hmmm.. I conclude from this thread (where I do not use the similutor) that for the Google Play store we only need to build > > armv7 & arm64 > > @J. Gay > > right? > > Support for x86 chips on mobile devices apparently was dropped some > years ago. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 30 08:29:20 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 30 Dec 2019 13:29:20 +0000 Subject: mobile dev confusion In-Reply-To: <2af77d9f-da2b-5342-0073-538682c328e2@krutt.org> References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <631317E4-BAF7-4C58-AB38-EBD576FDC667@hindu.org> <2af77d9f-da2b-5342-0073-538682c328e2@krutt.org> Message-ID: <63B88770-76B3-47AE-9217-DBD751D9C55C@hindu.org> I go straight to my Moto6 device. It so fast. For some reason my "gut" doesn?t trust the emulators. In fact, I can never get to work on iOS, it always hangs, tell me I can't load etc. It would be a problem it if a) loaded the emulator b) failed the device. Takes 6min 24sec to load to iPhone Take 42 second to load to my Moto6 "used to be" back in early days of 2018. I could trust that 1. If it worked on the Moto6 2. it worked on iOS Now Apple with new "bent on innovation" and coming up with update every couple of weeks? it a "crap shoot" to know whether one module (stack) or another maybe be failing on iOS, and since the remoteDebugger is not working, it takes a loooong time to debug. I put a hard "breakpoint" in the scripts, but the Script Editor never opens? to let me step through thru to find out what line is failing. ( Maybe when the IDE in ready for Catalina, this problem with be solved. Brahmanathaswami Yes you are right Sannyasin. And on your desktop you can use the very fast x86 / x86-64 emulator which you can use directly via the test button in the ide(of course first load the emulator) From jjs at krutt.org Mon Dec 30 10:26:11 2019 From: jjs at krutt.org (JJS) Date: Mon, 30 Dec 2019 16:26:11 +0100 Subject: mobile dev confusion In-Reply-To: <63B88770-76B3-47AE-9217-DBD751D9C55C@hindu.org> References: <16f4d673ca8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16f4e0d5430.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <631317E4-BAF7-4C58-AB38-EBD576FDC667@hindu.org> <2af77d9f-da2b-5342-0073-538682c328e2@krutt.org> <63B88770-76B3-47AE-9217-DBD751D9C55C@hindu.org> Message-ID: <13b601be-9a41-3b95-6c13-75627c1d3ab2@krutt.org> Mostly i do to real device too. Because on emulator x86 / x86-64 i get strange images with every LC app where graphics are in, like mirrored or repeated buttons etcetera. Don't know exactly why or where the fault comes from, maybe it is something with accelerated rendering but have not figured out yet. If i deploy a simple stack with a button and a field to the emultator (all standard grey) then all looks ok. So for that reason i can't really use the Android Emulator Op 30-12-2019 om 14:29 schreef Sannyasin Brahmanathaswami via use-livecode: > I go straight to my Moto6 device. It so fast. For some reason my "gut" doesn?t trust the emulators. In fact, I can never get to work on iOS, it always hangs, tell me I can't load etc. It would be a problem it if > > a) loaded the emulator > b) failed the device. > > Takes 6min 24sec to load to iPhone > Take 42 second to load to my Moto6 > > "used to be" back in early days of 2018. I could trust that > > 1. If it worked on the Moto6 > 2. it worked on iOS > > Now Apple with new "bent on innovation" and coming up with update every couple of weeks? it a "crap shoot" to know whether one module (stack) or another maybe be failing on iOS, and since the remoteDebugger is not working, it takes a loooong time to debug. I put a hard "breakpoint" in the scripts, but the Script Editor never opens? to let me step through thru to find out what line is failing. ( > > Maybe when the IDE in ready for Catalina, this problem with be solved. > > Brahmanathaswami > > > Yes you are right Sannyasin. > > And on your desktop you can use the very fast x86 / x86-64 emulator > which you can use directly via the test button in the ide(of course > first load the emulator) > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 30 12:21:44 2019 From: mark at livecode.com (Mark Waddingham) Date: Mon, 30 Dec 2019 17:21:44 +0000 Subject: LiveCode won't recognize my stack In-Reply-To: References: Message-ID: <8674dd2eeea02f1c4ca4d19706b701a7@livecode.com> On 2019-12-27 22:51, Bill Vlahos via use-livecode wrote: > List, > > Version 9.x of LiveCode doesn?t recognize stacks unless the file name > ends with either .rev or .livecode. Previous versions (I don?t know > when this changed) were able to. Nothing has changed here in any recent version. > I use a stack file as the Preferences file for InfoWallet but the file > name is ?LicenseKey.IW?. When I execute the following command to read > custom properties in the stack it fails with an error. Type: Chunk: > can't find stack > > put the uDefaultWallet of stack "LicenseKey.IW" into vDefault This is most likely because you haven't got the stackFiles property set up, or the defaultFolder is not what you are expecting it to be - i.e. the engine cannot find the stack with filename "LicenseKey.IW" relative to the current folder. > I can also see this when opening a stack from LiveCode. the > LicenseKey.IW file is greyed out unless I look for All Files when then > opens it correctly. The IDE still uses the form of 'answer file' which specifies a creator/filetype and an extension. I suspect either one of: A) the creator/filetype is actually recognised by more recent versions of macOS (i.e. they are ignored completely - I don't recall a report against Mojave, but it is entirely possible Catalina no longer supports them) B) The file has just lost its creator/filetype and thus is being filtered out (this can happen if a file is archived via a format which doesn't support these attributes, or has transmitted through an FS which doesn't). > How can I open the stack file in LiveCode 9.5.1 without changing the > name of the file? Use All Files and select it that way, as you have been doing :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From dunbarx at aol.com Mon Dec 30 13:27:04 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 30 Dec 2019 18:27:04 +0000 (UTC) Subject: LiveCode won't recognize my stack In-Reply-To: <8674dd2eeea02f1c4ca4d19706b701a7@livecode.com> References: <8674dd2eeea02f1c4ca4d19706b701a7@livecode.com> Message-ID: <91711324.3206584.1577730424420@mail.yahoo.com> Hi. I have two monitors as well. And I use a key combination and a plug-in to reset the loc of the very stacks you mentioned, plus the SE. These change each time I save a stack.? The point being that I never have a problem saving, only that I have to reset the loc of the topStack and the others each time I do. More than worth it to have two monitors, though. Craig? -----Original Message----- From: Mark Waddingham via use-livecode To: How to use LiveCode Cc: Mark Waddingham Sent: Mon, Dec 30, 2019 12:22 pm Subject: Re: LiveCode won't recognize my stack On 2019-12-27 22:51, Bill Vlahos via use-livecode wrote: > List, > > Version 9.x of LiveCode doesn?t recognize stacks unless the file name > ends with either .rev or .livecode. Previous versions (I don?t know > when this changed) were able to. Nothing has changed here in any recent version. > I use a stack file as the Preferences file for InfoWallet but the file > name is ?LicenseKey.IW?. When I execute the following command to read > custom properties in the stack it fails with an error. Type: Chunk: > can't find stack > > put the uDefaultWallet of stack "LicenseKey.IW" into vDefault This is most likely because you haven't got the stackFiles property set up, or the defaultFolder is not what you are expecting it to be - i.e. the engine cannot find the stack with filename "LicenseKey.IW" relative to the current folder. > I can also see this when opening a stack from LiveCode. the > LicenseKey.IW file is greyed out unless I look for All Files when then > opens it correctly. The IDE still uses the form of 'answer file' which specifies a creator/filetype and an extension. I suspect either one of: ? A) the creator/filetype is actually recognised by more recent versions of macOS (i.e. they are ignored completely - I don't recall a report against Mojave, but it is entirely possible Catalina no longer supports them) ? B) The file has just lost its creator/filetype and thus is being filtered out (this can happen if a file is archived via a format which doesn't support these attributes, or has transmitted through an FS which doesn't). > How can I open the stack file in LiveCode 9.5.1 without changing the > name of the file? Use All Files and select it that way, as you have been doing :) 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 bobsneidar at iotecdigital.com Mon Dec 30 14:14:52 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 30 Dec 2019 19:14:52 +0000 Subject: LiveCode won't recognize my stack In-Reply-To: <91711324.3206584.1577730424420@mail.yahoo.com> References: <8674dd2eeea02f1c4ca4d19706b701a7@livecode.com> <91711324.3206584.1577730424420@mail.yahoo.com> Message-ID: My stacks wander a bit too. I wrote a routine to reposition my stacks to their last position when they were closed, because saving stacks in Windows has proven to be time consuming. But on the Mac and Windows, the restored position is always slightly off from the last position and I have never been able to come up with a reliable formula to account for this. Bob S > On Dec 30, 2019, at 10:27 , dunbarx--- via use-livecode wrote: > > Hi. > > I have two monitors as well. And I use a key combination and a plug-in to > reset the loc of the very stacks you mentioned, plus the SE. These change > each time I save a stack. > > The point being that I never have a problem saving, only that I have to > reset the loc of the topStack and the others each time I do. > > More than worth it to have two monitors, though. > > Craig From richmondmathewson at gmail.com Mon Dec 30 14:31:41 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Dec 2019 21:31:41 +0200 Subject: LiveCode won't recognize my stack In-Reply-To: References: <8674dd2eeea02f1c4ca4d19706b701a7@livecode.com> <91711324.3206584.1577730424420@mail.yahoo.com> Message-ID: I wander a bit as well, but as long as it isn't too much I'm no that fashed; and with my Macintosh I've got 3 monitors, so however far things wander aiblins it isnae farther than 'that'. Richmond. On 30.12.19 21:14, Bob Sneidar via use-livecode wrote: > My stacks wander a bit too. I wrote a routine to reposition my stacks to their last position when they were closed, because saving stacks in Windows has proven to be time consuming. But on the Mac and Windows, the restored position is always slightly off from the last position and I have never been able to come up with a reliable formula to account for this. > > Bob S > > >> On Dec 30, 2019, at 10:27 , dunbarx--- via use-livecode wrote: >> >> Hi. >> >> I have two monitors as well. And I use a key combination and a plug-in to >> reset the loc of the very stacks you mentioned, plus the SE. These change >> each time I save a stack. >> >> The point being that I never have a problem saving, only that I have to >> reset the loc of the topStack and the others each time I do. >> >> More than worth it to have two monitors, though. >> >> Craig > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 30 16:20:23 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Dec 2019 13:20:23 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: References: Message-ID: Bob Sneidar wrote: > ...saving stacks in Windows has proven to be time consuming. Curious. Haven't seen that, but there may be something specific there worth knowing about. Recipe/bug ID#? -- 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 Dec 30 18:47:51 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Dec 2019 17:47:51 -0600 Subject: Android adaptive icons Message-ID: I need to implement an adaptive app icon for Android, as described here: I'm not sure how to do this, or whether LC supports it. It seems that Android Studio will create the icons somehow, but we need to update the manifest as well? Has anyone managed this? Without an adaptive icon, the artwork is very tiny inside a large background. Also, the Play Store says it will no longer accept new apps without an adaptive icon. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Mon Dec 30 19:11:13 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 31 Dec 2019 00:11:13 +0000 Subject: LiveCode won't recognize my stack In-Reply-To: <91711324.3206584.1577730424420@mail.yahoo.com> References: <8674dd2eeea02f1c4ca4d19706b701a7@livecode.com> <91711324.3206584.1577730424420@mail.yahoo.com> Message-ID: <44881F5C-1DD5-43E9-8EDE-67F418BECCC7@hindu.org> Trashing prefs will bring back LC to the main monitor, no fiddling with loc of stacks. then, later in the week, after loading on Macbook Pro while at Java Caf?. LC loses track -- or something, does not always happen this way. Then back to multi-monitors. I learned to shut down my lap top *before* reconnecting. That helps? Would be nice to save out your current prefs to a json file or a LC array file, and load then again. Save time going through and fixing them each time you trash the LC prefs. The point being that I never have a problem saving, only that I have to reset the loc of the topStack and the others each time I do. From m.schonewille at economy-x-talk.com Mon Dec 30 19:29:17 2019 From: m.schonewille at economy-x-talk.com (Drs Mark Schonewille) Date: Tue, 31 Dec 2019 01:29:17 +0100 Subject: Second edition of Programming LiveCode for the Real Beginner Message-ID: <1ade19c8-8c6a-7e4d-ffc9-e01a3f9de285@economy-x-talk.com> Hi everyone,, I hope you have a great Chrsitmas and a great year behind you. This ear I've been busier than ever. One of my projects was the second edition of my book Programming LiveCode for the Real Beginner. https://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner The book has been updated to include the changes in recent versions of LiveCode. Important changes concern the properties inspector and the standalone application settings window. Large parts of the chapter about properties have been rewritten and several pictures have been updated. Almost no sample scripts needed to be updated, apart from a number of Unicode-related scripts. I've decided, however, to discuss both the unicodeEncode/unicodeDecode as well as the textEncode/textDecode functions. It seems to me that the old functions are still useful, even if only for the sake of backward compatibility. (Not so long ago, I had a project where direct conversion using uniEncode and uniDecode seemed the easiest route). Currently, we're in the process of updating the website. I have replaced the old (red) cover picture with a picture of the new, fresh, yellow cover. A few details still need to be adjusted. Soon, we will raise the price of the book. The price change is due to DHL's decision to increase the tarrif for books. The current price is 32 euro but we are forced to raise the price, prrobably by 4 euro to 36 euro. As long as the price on the website hasn't been changed, you can still purchase the book at the old price. IF you have any questions, please write to support at economy-x-talk.com. Don't use an e-mail address that is affiliated with Apple (for instance mac.com, apple.com, icloud.com; we won't be able to confirm your address and send you a book). The book is available as a paperback and not in an electronic format and we ship all over the world (with China as a possible exception; contact support if you're in China). -- Mark Schonewille Economy-x-Talk https://ecxtalk.nl https://www.nt2.nu Programming LiveCode for the Real Beginner http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner From tom at makeshyft.com Mon Dec 30 19:40:10 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 30 Dec 2019 19:40:10 -0500 Subject: Second edition of Programming LiveCode for the Real Beginner In-Reply-To: <1ade19c8-8c6a-7e4d-ffc9-e01a3f9de285@economy-x-talk.com> References: <1ade19c8-8c6a-7e4d-ffc9-e01a3f9de285@economy-x-talk.com> Message-ID: Right on Mark...wishing you success with the book. On Mon, Dec 30, 2019 at 7:30 PM Drs Mark Schonewille via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi everyone,, > > I hope you have a great Chrsitmas and a great year behind you. This ear > I've been busier than ever. One of my projects was the second edition of > my book Programming LiveCode for the Real Beginner. > > > https://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner > > The book has been updated to include the changes in recent versions of > LiveCode. Important changes concern the properties inspector and the > standalone application settings window. Large parts of the chapter about > properties have been rewritten and several pictures have been updated. > > Almost no sample scripts needed to be updated, apart from a number of > Unicode-related scripts. I've decided, however, to discuss both the > unicodeEncode/unicodeDecode as well as the textEncode/textDecode > functions. It seems to me that the old functions are still useful, even > if only for the sake of backward compatibility. (Not so long ago, I had > a project where direct conversion using uniEncode and uniDecode seemed > the easiest route). > > Currently, we're in the process of updating the website. I have replaced > the old (red) cover picture with a picture of the new, fresh, yellow > cover. A few details still need to be adjusted. Soon, we will raise the > price of the book. The price change is due to DHL's decision to increase > the tarrif for books. The current price is 32 euro but we are forced to > raise the price, prrobably by 4 euro to 36 euro. As long as the price on > the website hasn't been changed, you can still purchase the book at the > old price. > > IF you have any questions, please write to support at economy-x-talk.com. > Don't use an e-mail address that is affiliated with Apple (for instance > mac.com, apple.com, icloud.com; we won't be able to confirm your address > and send you a book). The book is available as a paperback and not in an > electronic format and we ship all over the world (with China as a > possible exception; contact support if you're in China). > > -- > Mark Schonewille > Economy-x-Talk > https://ecxtalk.nl > https://www.nt2.nu > > Programming LiveCode for the Real Beginner > > http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From bvlahos at mac.com Mon Dec 30 19:58:52 2019 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 30 Dec 2019 16:58:52 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: <8674dd2eeea02f1c4ca4d19706b701a7@livecode.com> References: <8674dd2eeea02f1c4ca4d19706b701a7@livecode.com> Message-ID: Mark, Thanks for commenting. This behavior changed between version 7 (and earlier) and version 8 (and later). When I am in LC version 7 or earlier and go File menu/Open Stack I am able to select my stack named ?LicenseKey.IW? without specifying ?All Files?. When I am in LC version 8 or 9 on the same computer opening the same ?LicenseKey.IW?, file it is grayed out on the Mac when Open Stack. On Windows the file is not visible until I select All Files. My program is correctly setting the defaultFolder but is getting the same result of not recognizing the file as a LiveCode stack when I build using LiveCode version 9.5.1. Any idea what might have changed between version 7 and 8 and how I can get the old behavior when I?m referencing the stack? Thank you, Bill Vlahos > On Dec 30, 2019, at 9:21 AM, Mark Waddingham via use-livecode wrote: > > On 2019-12-27 22:51, Bill Vlahos via use-livecode wrote: >> List, >> Version 9.x of LiveCode doesn?t recognize stacks unless the file name >> ends with either .rev or .livecode. Previous versions (I don?t know >> when this changed) were able to. > > Nothing has changed here in any recent version. > >> I use a stack file as the Preferences file for InfoWallet but the file >> name is ?LicenseKey.IW?. When I execute the following command to read >> custom properties in the stack it fails with an error. Type: Chunk: >> can't find stack >> put the uDefaultWallet of stack "LicenseKey.IW" into vDefault > > This is most likely because you haven't got the stackFiles property set up, or the defaultFolder is not what you are expecting it to be - i.e. the engine cannot find the stack with filename "LicenseKey.IW" relative to the current folder. > >> I can also see this when opening a stack from LiveCode. the >> LicenseKey.IW file is greyed out unless I look for All Files when then >> opens it correctly. > > The IDE still uses the form of 'answer file' which specifies a creator/filetype and an extension. I suspect either one of: > > A) the creator/filetype is actually recognised by more recent versions of macOS (i.e. they are ignored completely - I don't recall a report against Mojave, but it is entirely possible Catalina no longer supports them) > > B) The file has just lost its creator/filetype and thus is being filtered out (this can happen if a file is archived via a format which doesn't support these attributes, or has transmitted through an FS which doesn't). > >> How can I open the stack file in LiveCode 9.5.1 without changing the >> name of the file? > > Use All Files and select it that way, as you have been doing :) From ambassador at fourthworld.com Mon Dec 30 20:38:01 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Dec 2019 17:38:01 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: References: Message-ID: <6a84f07e-5c0a-a789-cf03-6d0a48e617e1@fourthworld.com> Bill Vlahos wrote: > My program is correctly setting the defaultFolder but is getting the > same result of not recognizing the file as a LiveCode stack when I > build using LiveCode version 9.5.1. > > Any idea what might have changed between version 7 and 8 and how I can > get the old behavior when I?m referencing the stack? I wonder if the change has to do with macOS' alteration of contents within the app bundle. What is the full path to the stack file, what is the wording of "the result", and what integer is returned from sysError() when the result is not empty? -- 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 m.schonewille at economy-x-talk.com Mon Dec 30 20:49:08 2019 From: m.schonewille at economy-x-talk.com (Drs Mark Schonewille) Date: Tue, 31 Dec 2019 02:49:08 +0100 Subject: Second edition of Programming LiveCode for the Real Beginner In-Reply-To: References: <1ade19c8-8c6a-7e4d-ffc9-e01a3f9de285@economy-x-talk.com> Message-ID: <784c742f-fa3c-1532-998b-eefd29d9ff32@economy-x-talk.com> Thanks Tom! Mark Schonewille Economy-x-Talk https://ecxtalk.nl https://www.nt2.nu Programming LiveCode for the Real Beginner http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner Op 12/31/2019 om 1:40 AM schreef Tom Glod via use-livecode: > Right on Mark...wishing you success with the book. > From bobsneidar at iotecdigital.com Tue Dec 31 13:30:54 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 31 Dec 2019 18:30:54 +0000 Subject: On-Rev portal Message-ID: <6B2A592A-57E5-441E-A416-237A06BD23D7@iotecdigital.com> Hi all. Silly me I haven't used my on-rev portal in so long I forgot the URL! Anyone got a quick second? Bob S From rdimola at evergreeninfo.net Tue Dec 31 13:58:06 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 31 Dec 2019 13:58:06 -0500 Subject: On-Rev portal In-Reply-To: <6B2A592A-57E5-441E-A416-237A06BD23D7@iotecdigital.com> References: <6B2A592A-57E5-441E-A416-237A06BD23D7@iotecdigital.com> Message-ID: <002801d5c00c$40018680$c0049380$@net> CPanel: https://xxxxx.on-rev.com:2083/ Substitute "xxxxx" for your server. (diesel, tio, jasmine, sage) 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 Bob Sneidar via use-livecode Sent: Tuesday, December 31, 2019 1:31 PM To: How to use LiveCode Cc: Bob Sneidar Subject: On-Rev portal Hi all. Silly me I haven't used my on-rev portal in so long I forgot the URL! Anyone got a quick second? 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 brahma at hindu.org Tue Dec 31 14:39:36 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 31 Dec 2019 19:39:36 +0000 Subject: Import SVG with Multi-Path and Two colors Message-ID: I would like to import an SVG that has multiple paths and which two colors. Using Illustrator or Inkscape, merge compound path make them all the same color But the following SVG imports fine as an image in LC and has multiple colors. Granted they are all circles, but can't the above by turned into this format? BR From bvlahos at mac.com Tue Dec 31 20:00:07 2019 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 31 Dec 2019 17:00:07 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: <6a84f07e-5c0a-a789-cf03-6d0a48e617e1@fourthworld.com> References: <6a84f07e-5c0a-a789-cf03-6d0a48e617e1@fourthworld.com> Message-ID: <84191B7C-AE47-4647-AAF2-B2815A7EACE8@mac.com> Richard, I?m running the different versions of LiveCode on the same Mac and looking at the same file so I don?t think the OS is affecting this. I?m just asking if there is a stack with the correct name and getting ?false? as the answer if using LC 9.5.1. If I ask for ?file? and not ?stack? then the result is ?true?. The path to the LicenseKey.IW file is correct at: /Volumes/HP c310w/InfoWallet 1.4/Info Files Here is the error message: Executing at 4:47:43 PM on Tuesday, December 31, 2019 Type: Chunk: can't find stack Object: stack '/Volumes/HP c310w/InfoWallet 1.4/Info Files/InfoWallet.app/Contents/MacOS/InfoWallet' Line Num: 26 Hint: populateFileList Comments: I think LC must have changed how they are validating ?stack? in version 8 compared to version 7. Bill > On Dec 30, 2019, at 5:38 PM, Richard Gaskin via use-livecode wrote: > > Bill Vlahos wrote: > > > My program is correctly setting the defaultFolder but is getting the > > same result of not recognizing the file as a LiveCode stack when I > > build using LiveCode version 9.5.1. > > > > Any idea what might have changed between version 7 and 8 and how I can > > get the old behavior when I?m referencing the stack? > > I wonder if the change has to do with macOS' alteration of contents within the app bundle. > > What is the full path to the stack file, what is the wording of "the result", and what integer is returned from sysError() when the result is not empty? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Dec 31 21:12:45 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 31 Dec 2019 18:12:45 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: <84191B7C-AE47-4647-AAF2-B2815A7EACE8@mac.com> References: <6a84f07e-5c0a-a789-cf03-6d0a48e617e1@fourthworld.com> <84191B7C-AE47-4647-AAF2-B2815A7EACE8@mac.com> Message-ID: On 12/31/19 5:00 PM, Bill Vlahos via use-livecode wrote: > Richard, > > I?m running the different versions of LiveCode on the same Mac and looking at the same file so I don?t think the OS is affecting this. > > I?m just asking if there is a stack with the correct name and getting ?false? as the answer if using LC 9.5.1. > If I ask for ?file? and not ?stack? then the result is ?true?. > > The path to the LicenseKey.IW file is correct at: /Volumes/HP c310w/InfoWallet 1.4/Info Files > > Here is the error message: > Executing at 4:47:43 PM on Tuesday, December 31, 2019 > Type: Chunk: can't find stack > Object: stack '/Volumes/HP c310w/InfoWallet 1.4/Info Files/InfoWallet.app/Contents/MacOS/InfoWallet' > Line Num: 26 > Hint: populateFileList It looks to me like the defaultFolder is not what you think it is. The error message seems to say it's looking in the same folder as the InfoWallet application, i.e., inside the InfoWallet.app folder. Also... looking for file and looking for stack are different actions. If you're asking for a stack then the stack has to be in memory. Asking for a file will look in the current defaultFolder. -- Mark Wieder ahsoftware at gmail.com